[openstack-dev] [Mistral] Error on running tox

Renat Akhmerov rakhmerov at mirantis.com
Thu Mar 13 08:09:35 UTC 2014


Ok, awesome. Btw, when I was writing tests for Data Flow I didn’t make assumptions about order of tasks. You can take a look at how it’s achieved.

Renat Akhmerov
@ Mirantis Inc.



On 13 Mar 2014, at 02:04, Manas Kelshikar <manas at stackstorm.com> wrote:

> Works ok if I directly run nosetests from the virtual environment or even in the IDE. I see this error only when I run tox.
> 
> In anycase after looking at the specific testcases I can tell that the test makes some ordering assumptions which may not be required. I will send out a patch soon and we can move the conversation to the review.
> 
> Thanks!
> 
> 
> On Wed, Mar 12, 2014 at 11:00 AM, Manas Kelshikar <manas at stackstorm.com> wrote:
> I pasted only for python 2.6 but exact same errors with 2.7. Also, I posted this question after I nuked my entire dev folder so this was being run on a new environment.
> 
> /Manas
> 
> 
> On Wed, Mar 12, 2014 at 4:44 AM, Renat Akhmerov <rakhmerov at mirantis.com> wrote:
> I would just try to recreate virtual environments. We haven’t been able to reproduce this problem so far.
> 
> Renat Akhmerov
> @ Mirantis Inc.
> 
> 
> 
> On 12 Mar 2014, at 16:32, Nikolay Makhotkin <nmakhotkin at mirantis.com> wrote:
> 
>> maybe something wrong with python2.6? 
>> 
>> .tox/py26/lib/python2.6/site-packages/mock.py", line 1201, in patched
>> 
>> what if you try it on py27?
>> 
>> 
>> On Wed, Mar 12, 2014 at 10:08 AM, Renat Akhmerov <rakhmerov at mirantis.com> wrote:
>> Ok. I might be related with oslo.messaging change that we merged in yesterday but I don’t see at this point how exactly.
>> 
>> Renat Akhmerov
>> @ Mirantis Inc.
>> 
>> 
>> 
>> On 12 Mar 2014, at 12:38, Manas Kelshikar <manas at stackstorm.com> wrote:
>> 
>>> Yes it is 100% reproducible.
>>> 
>>> Was hoping it was environmental i.e. missing some dependency etc. but since that does not seem to be the case I shall debug locally and report back.
>>> 
>>> Thanks!
>>> 
>>> 
>>> On Tue, Mar 11, 2014 at 9:54 PM, Renat Akhmerov <rakhmerov at mirantis.com> wrote:
>>> Hm.. Interesting. CI wasn’t able to reveal this for some reason.
>>> 
>>> My first guess is that there’s a race condition somewhere. Did you try to debug it? And is this error 100% repeatable?
>>> 
>>> Renat Akhmerov
>>> @ Mirantis Inc.
>>> 
>>> 
>>> 
>>> On 12 Mar 2014, at 11:18, Manas Kelshikar <manas at stackstorm.com> wrote:
>>> 
>>>> I see this error when I run tox. I pulled down a latest copy of master and tried to setup the environment. Any ideas?
>>>> 
>>>> See http://paste.openstack.org/show/73213/ for details. Any help is appreciated.
>>>> 
>>>> 
>>>> 
>>>> Thanks,
>>>> 
>>>> Manas
>>>> 
>>>> _______________________________________________
>>>> OpenStack-dev mailing list
>>>> OpenStack-dev at lists.openstack.org
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>> 
>>> 
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>> 
>>> 
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>> 
>> 
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>> 
>> 
>> 
>> 
>> -- 
>> Best Regards,
>> Nikolay
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140313/632b7867/attachment.html>


More information about the OpenStack-dev mailing list