Hi Luke, it seems something is not quite right with your tempest environment - you have import errors at startup [1] This might be happening because of missing dependencies, or, if you have applied some custom patches to tempest trunk, possibly those are causing some problems.
Salvatore [1] http://paste.openstack.org/show/84406/ On 18 June 2014 18:01, Luke Gorrie <l...@snabb.co> wrote: > On 18 June 2014 15:48, Salvatore Orlando <sorla...@nicira.com> wrote: > >> Hi Luke, >> >> That kind of message usually shows up in unit tests job when there is >> some syntax error or circular import. But I think that it's not your case. >> Usually you see an "import error" message towards the end of the >> "garbage". >> >> If you can point me to a failing log of your CI I can have a look at it >> and see if I can help you. >> > > Thanks, Salvatore! > > I have a log here: http://88.198.8.227:81/html/ci-logs/problem-1.log > > and on this machine I can reproduce the problem using the steps in the bug > that I referenced above: > > ci@egg:/tmp$ mkdir bug > ci@egg:/tmp$ cd !$ > cd bug > ci@egg:/tmp/bug$ git clone https://github.com/openstack/tempest.git > Cloning into 'tempest'... > remote: Reusing existing pack: 35264, done. > remote: Counting objects: 229, done. > remote: Compressing objects: 100% (221/221), done. > remote: Total 35493 (delta 105), reused 25 (delta 8) > Receiving objects: 100% (35493/35493), 8.51 MiB | 1.61 MiB/s, done. > Resolving deltas: 100% (25835/25835), done. > Checking connectivity... done. > ci@egg:/tmp/bug$ cd tempest > ci@egg:/tmp/bug/tempest$ sudo pip install -r requirements.txt > Requirement already satisfied (use --upgrade to upgrade): > pbr>=0.6,!=0.7,<1.0 in /usr/local/lib/python2.7/dist-packages (from -r > requirements.txt (line 1)) > Requirement already satisfied (use --upgrade to upgrade): anyjson>=0.3.3 > in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 2)) > Requirement already satisfied (use --upgrade to upgrade): httplib2>=0.7.5 > in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line > 3)) > Requirement already satisfied (use --upgrade to upgrade): > jsonschema>=2.0.0,<3.0.0 in /usr/local/lib/python2.7/dist-packages (from -r > requirements.txt (line 4)) > Requirement already satisfied (use --upgrade to upgrade): > testtools>=0.9.34 in /usr/local/lib/python2.7/dist-packages (from -r > requirements.txt (line 5)) > Requirement already satisfied (use --upgrade to upgrade): lxml>=2.3 in > /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 6)) > Requirement already satisfied (use --upgrade to upgrade): > boto>=2.12.0,!=2.13.0 in /usr/local/lib/python2.7/dist-packages (from -r > requirements.txt (line 7)) > Requirement already satisfied (use --upgrade to upgrade): paramiko>=1.13.0 > in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line > 8)) > Requirement already satisfied (use --upgrade to upgrade): netaddr>=0.7.6 > in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line > 9)) > Requirement already satisfied (use --upgrade to upgrade): > python-glanceclient>=0.9.0 in /opt/stack/python-glanceclient (from -r > requirements.txt (line 10)) > Requirement already satisfied (use --upgrade to upgrade): > python-keystoneclient>=0.8.0 in /opt/stack/python-keystoneclient (from -r > requirements.txt (line 11)) > Requirement already satisfied (use --upgrade to upgrade): > python-novaclient>=2.17.0 in /opt/stack/python-novaclient (from -r > requirements.txt (line 12)) > Requirement already satisfied (use --upgrade to upgrade): > python-neutronclient>=2.3.4,<3 in /opt/stack/python-neutronclient (from -r > requirements.txt (line 13)) > Requirement already satisfied (use --upgrade to upgrade): > python-cinderclient>=1.0.6 in /opt/stack/python-cinderclient (from -r > requirements.txt (line 14)) > Requirement already satisfied (use --upgrade to upgrade): > python-heatclient>=0.2.9 in /opt/stack/python-heatclient (from -r > requirements.txt (line 15)) > Requirement already satisfied (use --upgrade to upgrade): > python-ironicclient in /usr/local/lib/python2.7/dist-packages (from -r > requirements.txt (line 16)) > Requirement already satisfied (use --upgrade to upgrade): > python-saharaclient>=0.6.0 in /usr/local/lib/python2.7/dist-packages (from > -r requirements.txt (line 17)) > Requirement already satisfied (use --upgrade to upgrade): > python-swiftclient>=2.0.2 in /opt/stack/python-swiftclient (from -r > requirements.txt (line 18)) > Requirement already satisfied (use --upgrade to upgrade): > testresources>=0.2.4 in /usr/local/lib/python2.7/dist-packages (from -r > requirements.txt (line 19)) > Requirement already satisfied (use --upgrade to upgrade): > testrepository>=0.0.18 in /usr/local/lib/python2.7/dist-packages (from -r > requirements.txt (line 20)) > Requirement already satisfied (use --upgrade to upgrade): > oslo.config>=1.2.0 in /usr/local/lib/python2.7/dist-packages (from -r > requirements.txt (line 21)) > Requirement already satisfied (use --upgrade to upgrade): six>=1.6.0 in > /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 22)) > Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.9 > in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line > 23)) > Requirement already satisfied (use --upgrade to upgrade): fixtures>=0.3.14 > in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line > 24)) > Requirement already satisfied (use --upgrade to upgrade): > testscenarios>=0.4 in /usr/local/lib/python2.7/dist-packages (from -r > requirements.txt (line 25)) > Requirement already satisfied (use --upgrade to upgrade): pip>=1.4 in > /usr/local/lib/python2.7/dist-packages/pip-1.5.6-py2.7.egg (from > pbr>=0.6,!=0.7,<1.0->-r requirements.txt (line 1)) > Requirement already satisfied (use --upgrade to upgrade): extras in > /usr/local/lib/python2.7/dist-packages (from testtools>=0.9.34->-r > requirements.txt (line 5)) > Requirement already satisfied (use --upgrade to upgrade): python-mimeparse > in /usr/local/lib/python2.7/dist-packages (from testtools>=0.9.34->-r > requirements.txt (line 5)) > Requirement already satisfied (use --upgrade to upgrade): Babel>=1.3 in > /usr/local/lib/python2.7/dist-packages (from python-glanceclient>=0.9.0->-r > requirements.txt (line 10)) > Requirement already satisfied (use --upgrade to upgrade): > PrettyTable>=0.7,<0.8 in /usr/local/lib/python2.7/dist-packages (from > python-glanceclient>=0.9.0->-r requirements.txt (line 10)) > Requirement already satisfied (use --upgrade to upgrade): pyOpenSSL>=0.11 > in /usr/lib/python2.7/dist-packages (from python-glanceclient>=0.9.0->-r > requirements.txt (line 10)) > Requirement already satisfied (use --upgrade to upgrade): > warlock>=1.0.1,<2 in /usr/local/lib/python2.7/dist-packages (from > python-glanceclient>=0.9.0->-r requirements.txt (line 10)) > Requirement already satisfied (use --upgrade to upgrade): requests>=1.1 in > /usr/lib/python2.7/dist-packages (from python-keystoneclient>=0.8.0->-r > requirements.txt (line 11)) > Requirement already satisfied (use --upgrade to upgrade): > simplejson>=2.0.9 in /usr/lib/python2.7/dist-packages (from > python-novaclient>=2.17.0->-r requirements.txt (line 12)) > Requirement already satisfied (use --upgrade to upgrade): cliff>=1.4.3 in > /usr/local/lib/python2.7/dist-packages (from > python-neutronclient>=2.3.4,<3->-r requirements.txt (line 13)) > Requirement already satisfied (use --upgrade to upgrade): PyYAML>=3.1.0 in > /usr/lib/python2.7/dist-packages (from python-heatclient>=0.2.9->-r > requirements.txt (line 15)) > Requirement already satisfied (use --upgrade to upgrade): > python-subunit>=0.0.10 in /usr/local/lib/python2.7/dist-packages (from > testrepository>=0.0.18->-r requirements.txt (line 20)) > Requirement already satisfied (use --upgrade to upgrade): pytz>=0a in > /usr/local/lib/python2.7/dist-packages (from > Babel>=1.3->python-glanceclient>=0.9.0->-r requirements.txt (line 10)) > Requirement already satisfied (use --upgrade to upgrade): > jsonpatch>=0.10,<2 in /usr/local/lib/python2.7/dist-packages (from > warlock>=1.0.1,<2->python-glanceclient>=0.9.0->-r requirements.txt (line > 10)) > Requirement already satisfied (use --upgrade to upgrade): cmd2>=0.6.7 in > /usr/local/lib/python2.7/dist-packages (from > cliff>=1.4.3->python-neutronclient>=2.3.4,<3->-r requirements.txt (line 13)) > Requirement already satisfied (use --upgrade to upgrade): pyparsing>=2.0.1 > in /usr/local/lib/python2.7/dist-packages (from > cliff>=1.4.3->python-neutronclient>=2.3.4,<3->-r requirements.txt (line 13)) > Requirement already satisfied (use --upgrade to upgrade): stevedore>=0.14 > in /usr/local/lib/python2.7/dist-packages (from > cliff>=1.4.3->python-neutronclient>=2.3.4,<3->-r requirements.txt (line 13)) > Requirement already satisfied (use --upgrade to upgrade): jsonpointer>=1.0 > in /usr/local/lib/python2.7/dist-packages (from > jsonpatch>=0.10,<2->warlock>=1.0.1,<2->python-glanceclient>=0.9.0->-r > requirements.txt (line 10)) > Cleaning up... > ci@egg:/tmp/bug/tempest$ testr init > ci@egg:/tmp/bug/tempest$ testr list-tests > running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ > OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ > OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \ > OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \ > ${PYTHON:-python} -m subunit.run discover -t ./ > ${OS_TEST_PATH:-./tempest/test_discover} --list > Non-zero exit code (2) from test listing. stdout='\xb3)\x01@b > @Wtempest.api.baremetal.test_api_discovery.TestApiDiscovery.test_api_versions[gate,smoke]... > > I elided the last line -- it is actually around 290K characters long (!). > > > > _______________________________________________ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev