On Thu, Mar 12, 2015 at 6:43 PM, Trevor Vaughan <[email protected]>
wrote:

> This file appears to be the issue according to the binary search (neat
> tool BTW)
>
> The culprit is
> /home/thanos/Work/puppet/spec/integration/agent/logging_spec.rb.
>
> However, when I run that file by hand, it works just fine.
>
> The issues do specifically seem to be related to the Package tests from
> what I can tell.
>
> For completeness:
>
> Fedora 20
> Ruby 2.0.0-p353
>

Can you gist the actual invocation and failure? (In the case where there
are just two specs files together that cause a failure.)

I tried:

be rspec spec/integration/agent/logging_spec.rb
spec/unit/type/package_spec.rb

And it was happy. (Full disclosure: this was on osx not f20.)

Kylo


> Thanks,
>
> Trevor
>
> On Thu, Mar 12, 2015 at 3:14 PM, Kylo Ginsberg <[email protected]>
> wrote:
>
>> On Thu, Mar 12, 2015 at 9:01 AM, Trevor Vaughan <[email protected]>
>> wrote:
>>
>>> No, if I run parallel::spec, I actually get different errors, so I
>>> stopped trying to use it.
>>>
>>> I just ran with a clean ruby 2.0.0-p353 with the same results.
>>>
>>
>> As Henrik mentioned, it could be a spec order problem.
>>
>> If you run:
>>
>> bundle exec rake ci:spec
>>
>> then you should get a shiny spec_order.txt.
>>
>> Then you can run: util/binary_search_specs.rb <full path to failing spec>
>>
>> And it will (usually) tell you the test that makes the failing spec fail.
>> (The 'usually' caveat is because there can be spec failures that require
>> specific ordering between > 2 spec files, and this tool only handles the
>> case for 2 spec files. The > 2 case is super duper fun.)
>>
>> Clearly, this needs to be in our docs, PR coming.
>>
>> Kylo
>>
>>
>>> Not quite sure what's going on.
>>>
>>> I'll poke around some more later since you can't seem to reproduce.
>>>
>>> Trevor
>>>
>>> On Thu, Mar 12, 2015 at 11:57 AM, Henrik Lindberg <
>>> [email protected]> wrote:
>>>
>>>> On 2015-12-03 16:40, Trevor Vaughan wrote:
>>>>
>>>>> Hi Henrik,
>>>>>
>>>>> I purged all of my gems removed my Gemfile.lock file and then ran
>>>>> bundle
>>>>> install followed by bundle update with the same result.
>>>>>
>>>>>
>>>> Does it work if you run the failing tests in isolation? (If so it could
>>>> be an ordering problem).
>>>>
>>>> I just ran this on master:
>>>>
>>>> * bundle update
>>>> * bundle exec rake parallel:spec[4]
>>>>
>>>> => 18768 examples, 0 failures, 44 pending
>>>>
>>>> - henrik
>>>>
>>>>  Thanks,
>>>>>
>>>>> Trevor
>>>>>
>>>>> On Thu, Mar 12, 2015 at 11:11 AM, Henrik Lindberg
>>>>> <[email protected] <mailto:[email protected]
>>>>> >>
>>>>> wrote:
>>>>>
>>>>>     On 2015-12-03 14:10, Trevor Vaughan wrote:
>>>>>
>>>>>         Hi all,
>>>>>
>>>>>         Some of the package spec tests are failing for me under Ruby
>>>>> 1.9.3.
>>>>>
>>>>>         The offending commit appears to be:
>>>>>
>>>>>         commit 8eb9557420bd10cfb268c55a626981__36338c9b79
>>>>>         Merge: 0abb9a9 11bba86
>>>>>         Author: Henrik Lindberg <henrik.lindberg@cloudsmith.__com
>>>>>         <mailto:[email protected]>
>>>>>         <mailto:henrik.lindberg@__cloudsmith.com
>>>>>         <mailto:[email protected]>>>
>>>>>         Date:   Thu Mar 5 22:50:14 2015 +0100
>>>>>
>>>>>               Merge branch 'stable'
>>>>>               Conflicts:
>>>>>                   lib/puppet/parser/scope.rb
>>>>>                   lib/puppet/type/package.rb
>>>>>                   spec/unit/type/package_spec.rb
>>>>>               Changed be_true matcher to be_truthy because of rspec
>>>>>         version change
>>>>>
>>>>>         Ruby Version: ruby-1.9.3-p551
>>>>>         Gemfile: Stock in Puppet core
>>>>>         Branch: master (stable is fine)
>>>>>
>>>>>
>>>>>     You probably do not have rspec 3 which is now required on master.
>>>>>     Try a 'bundle update'
>>>>>
>>>>>     - henrik
>>>>>
>>>>>         Thanks,
>>>>>
>>>>>         Trevor
>>>>>
>>>>>         --
>>>>>         Trevor Vaughan
>>>>>         Vice President, Onyx Point, Inc
>>>>>         (410) 541-6699 <tel:%28410%29%20541-6699>
>>>>>         [email protected] <mailto:[email protected]>
>>>>>         <mailto:[email protected] <mailto:[email protected]
>>>>> >__>
>>>>>
>>>>>         -- This account not approved for unencrypted proprietary
>>>>>         information --
>>>>>
>>>>>         --
>>>>>         You received this message because you are subscribed to the
>>>>> Google
>>>>>         Groups "Puppet Developers" group.
>>>>>         To unsubscribe from this group and stop receiving emails from
>>>>>         it, send
>>>>>         an email to puppet-dev+unsubscribe@__googlegroups.com
>>>>>         <mailto:puppet-dev%[email protected]>
>>>>>         <mailto:[email protected]
>>>>>         <mailto:puppet-dev%[email protected]>>.
>>>>>         To view this discussion on the web visit
>>>>>         https://groups.google.com/d/__msgid/puppet-dev/CANs%__
>>>>> 2BFoXR9dtAJ5x4qk4vwrK14CRGxyT___mLucay%3D9oXe-kQU9PQ%40mail.
>>>>> __gmail.com
>>>>>         <https://groups.google.com/d/msgid/puppet-dev/CANs%
>>>>> 2BFoXR9dtAJ5x4qk4vwrK14CRGxyT_mLucay%3D9oXe-kQU9PQ%40mail.gmail.com>
>>>>>         <https://groups.google.com/d/__msgid/puppet-dev/CANs%__
>>>>> 2BFoXR9dtAJ5x4qk4vwrK14CRGxyT___mLucay%3D9oXe-kQU9PQ%40mail.
>>>>> __gmail.com?utm_medium=email&__utm_source=footer
>>>>>         <https://groups.google.com/d/msgid/puppet-dev/CANs%
>>>>> 2BFoXR9dtAJ5x4qk4vwrK14CRGxyT_mLucay%3D9oXe-kQU9PQ%40mail.
>>>>> gmail.com?utm_medium=email&utm_source=footer>>.
>>>>>         For more options, visit https://groups.google.com/d/__optout
>>>>>         <https://groups.google.com/d/optout>.
>>>>>
>>>>>
>>>>>
>>>>>     --
>>>>>
>>>>>     Visit my Blog "Puppet on the Edge"
>>>>>     http://puppet-on-the-edge.__blogspot.se/
>>>>>     <http://puppet-on-the-edge.blogspot.se/>
>>>>>
>>>>>     --
>>>>>     You received this message because you are subscribed to the Google
>>>>>     Groups "Puppet Developers" group.
>>>>>     To unsubscribe from this group and stop receiving emails from it,
>>>>>     send an email to puppet-dev+unsubscribe@__googlegroups.com
>>>>>     <mailto:puppet-dev%[email protected]>.
>>>>>     To view this discussion on the web visit
>>>>>     https://groups.google.com/d/__msgid/puppet-dev/mdsab4%24uit%
>>>>> __241%40ger.gmane.org
>>>>>     <https://groups.google.com/d/msgid/puppet-dev/mdsab4%24uit%
>>>>> 241%40ger.gmane.org>.
>>>>>     For more options, visit https://groups.google.com/d/__optout
>>>>>     <https://groups.google.com/d/optout>.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Trevor Vaughan
>>>>> Vice President, Onyx Point, Inc
>>>>> (410) 541-6699
>>>>> [email protected] <mailto:[email protected]>
>>>>>
>>>>> -- This account not approved for unencrypted proprietary information --
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Puppet Developers" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected]
>>>>> <mailto:[email protected]>.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/puppet-dev/CANs%
>>>>> 2BFoVKj5nYqz2Ogbn-LZi%3DMbpTOPftKr%2Bz6gCpmD9Ss-rkLA%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/puppet-dev/CANs%
>>>>> 2BFoVKj5nYqz2Ogbn-LZi%3DMbpTOPftKr%2Bz6gCpmD9Ss-
>>>>> rkLA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Visit my Blog "Puppet on the Edge"
>>>> http://puppet-on-the-edge.blogspot.se/
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Puppet Developers" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>> msgid/puppet-dev/mdsd13%24jle%241%40ger.gmane.org.
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Trevor Vaughan
>>> Vice President, Onyx Point, Inc
>>> (410) 541-6699
>>> [email protected]
>>>
>>> -- This account not approved for unencrypted proprietary information --
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Puppet Developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/puppet-dev/CANs%2BFoUYF05HJRoNmmTxhj%3DvVHsn6Tz4hduCnib2vSX4NnyHpg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/puppet-dev/CANs%2BFoUYF05HJRoNmmTxhj%3DvVHsn6Tz4hduCnib2vSX4NnyHpg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Kylo Ginsberg | [email protected] | irc: kylo | twitter: @kylog
>>
>> *PuppetConf 2015 <http://2015.puppetconf.com/> is coming to Portland,
>> Oregon! Join us October 5-9.*
>> *Register now to take advantage of the Early Adopter discount
>> <https://www.eventbrite.com/e/puppetconf-2015-october-5-9-tickets-13115894995?discount=EarlyAdopter>
>>  *
>> *—**save $349!*
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/puppet-dev/CALsUZFHZz1Sz7STSdMeRq8dVnTz-S%3DxBU7bawN_6qCbfS5q_jw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/puppet-dev/CALsUZFHZz1Sz7STSdMeRq8dVnTz-S%3DxBU7bawN_6qCbfS5q_jw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Trevor Vaughan
> Vice President, Onyx Point, Inc
> (410) 541-6699
> [email protected]
>
> -- This account not approved for unencrypted proprietary information --
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-dev/CANs%2BFoVNK0rxT5GMp%3DqDxx9ZrK_LtNpP4gTEzrKG-WeZUYqjJg%40mail.gmail.com
> <https://groups.google.com/d/msgid/puppet-dev/CANs%2BFoVNK0rxT5GMp%3DqDxx9ZrK_LtNpP4gTEzrKG-WeZUYqjJg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Kylo Ginsberg | [email protected] | irc: kylo | twitter: @kylog

*PuppetConf 2015 <http://2015.puppetconf.com/> is coming to Portland,
Oregon! Join us October 5-9.*
*Register now to take advantage of the Early Adopter discount
<https://www.eventbrite.com/e/puppetconf-2015-october-5-9-tickets-13115894995?discount=EarlyAdopter>
*
*—**save $349!*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CALsUZFFHtkNaKbgFiduGva1FY_giYTMQbuLbfb0Vu0npi37kgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to