[openstack-dev] mock 1.3 breaking all of Kilo in Sid (and other cases of this kind)

Matt Riedemann mriedem at linux.vnet.ibm.com
Tue Aug 25 18:59:28 UTC 2015



On 8/25/2015 10:04 AM, Thomas Goirand wrote:
> On 08/25/2015 03:42 PM, Thomas Goirand wrote:
>> Hi,
>> [...]
>> Anyway, the result is that mock 1.3 broke 9 packages at least in Kilo,
>> currently in Sid [1]. Maybe, as packages gets rebuilt, I'll get more bug
>> reports. This really, is a depressing situation.
>> [...]
>
> Some ppl on IRC explained to me what the situation was, which is that
> the mock API has been wrongly used, and some tests were in fact wrongly
> passing, so indeed, this is one of the rare cases where breaking the API
> probably made sense.
>
> As it doesn't bring anything to repair these tests, I'm just not running
> them in Kilo from now on, using something like this:
>
> --subunit 'tests\.unit\.(?!.*foo.*)
>
> Please comment if you think that's the wrong way to go. Also, has some
> of these been repaired in the stable/kilo branch?

I seem to remember some projects backporting the test fixes to 
stable/kilo but ultimately we just capped mock on the stable branches to 
avoid this issue there.

>
> Cheers,
>
> Thomas Goirand (zigo)
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

-- 

Thanks,

Matt Riedemann




More information about the OpenStack-dev mailing list