Advertisement
Guest User

failed functionality test

a guest
Mar 28th, 2016
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.45 KB | None | 0 0
  1. vagrant@vagrant-ubuntu-trusty-64:/opt/stack/magnum$ tox -e functional-k8s -- --concurrency=1
  2. functional-k8s create: /opt/stack/magnum/.tox/functional-k8s
  3. functional-k8s installdeps: -r/opt/stack/magnum/requirements.txt, -r/opt/stack/magnum/test-requirements.txt
  4. functional-k8s develop-inst: /opt/stack/magnum
  5. functional-k8s installed: alembic==0.8.5,amqp==1.4.9,anyjson==0.3.3,appdirs==1.4.0,apt-xapian-index==0.45,astroid==1.3.8,automaton==1.2.0,Babel==2.2.0,backports.ssl-match-hostname==3.5.0.1,bandit==0.17.3,-e git+https://git.openstack.org/openstack/barbican@c8bf8ba53f92fe46f62011e214212fd03281c3c2#egg=barbican,bashate==0.4.0,beautifulsoup4==4.4.1,boto==2.39.0,cachetools==1.1.5,castellan==0.4.0,cffi==1.5.2,chardet==2.3.0,Cheetah==2.4.4,-e git://git.openstack.org/openstack/cinder.git@b78b032654ab6598b2ae21bfac6407fe7542f2fe#egg=cinder,cliff==2.0.0,cloud-init==0.7.5,cmd2==0.6.8,colorama==0.3.6,configobj==4.7.2,contextlib2==0.5.1,coverage==4.0.3,croniter==0.3.11,cryptography==1.3.1,ddt==1.0.1,debtcollector==1.3.0,decorator==4.0.9,discover==0.4.0,Django==1.8.10,django-appconf==1.0.1,django-babel==0.5.0,django-compressor==2.0,django-nose==1.4.3,django-openstack-auth==2.2.0,django-pyscss==2.0.2,doc8==0.6.0,docker-py==1.7.2,docutils==0.12,dogpile.cache==0.5.7,dogpile.core==0.4.1,ecdsa==0.13,enum34==1.1.2,eventlet==0.18.4,extras==0.0.3,fasteners==0.14.1,fixtures==1.4.0,flake8==2.2.4,flake8-docstrings==0.2.1.post1,funcsigs==0.4,functools32==3.2.3.post2,futures==3.0.5,futurist==0.13.0,git-review==1.25.0,gitdb==0.6.4,GitPython==1.0.2,-e git://git.openstack.org/openstack/glance.git@7962dc4d1f6de1e6be6178abe5621c72e759b78d#egg=glance,glance-store==0.13.0,google-api-python-client==1.5.0,greenlet==0.4.9,hacking==0.10.2,-e git://git.openstack.org/openstack/heat.git@2b815e51cd6036d1724794324b7131400b38f10b#egg=heat,-e git://git.openstack.org/openstack/horizon.git@7baeb7c93d30bfe1363a099f5ad7b482ddcc7469#egg=horizon,html5lib==0.999,httplib2==0.9.2,idna==2.1,ipaddress==1.0.16,iso8601==0.1.11,Jinja2==2.8,jsonpatch==1.13,jsonpointer==1.10,jsonschema==2.5.1,kazoo==2.2.1,keyring==3.5,-e git://git.openstack.org/openstack/keystone.git@4fe08f0742ec913f6919b165c5f90058278f847b#egg=keystone,keystoneauth1==2.4.0,keystonemiddleware==4.4.0,kombu==3.0.35,Landscape-Client==14.12,launchpadlib==1.10.2,lazr.restfulclient==0.13.3,lazr.uri==1.0.3,ldap3==1.0.4,libvirt-python==1.3.2,linecache2==1.0.0,logilab-common==1.1.0,logutils==0.3.3,lxml==3.5.0,-e git+https://git.openstack.org/openstack/magnum@0e71ed8272b1e34e59264dd986d29844a7aa1745#egg=magnum,Mako==1.0.4,MarkupSafe==0.23,mccabe==0.2.1,mock==1.3.0,monotonic==1.0,mox3==0.14.0,msgpack-python==0.4.7,MySQL-python==1.2.3,netaddr==0.7.18,netifaces==0.10.4,networkx==1.11,-e git://git.openstack.org/openstack/neutron.git@470087331e0d756e0328d38f3f884ab1356ffac2#egg=neutron,-e git://git.openstack.org/openstack/neutron-lbaas.git@bfd5c7153125bb6f66f56847ea75d38ed5251e92#egg=neutron_lbaas,neutron-lib==0.0.2,nodeenv==0.13.6,nose==1.3.7,nose-exclude==0.4.1,nosehtmloutput==0.0.5,nosexcover==1.0.10,-e git://git.openstack.org/openstack/nova.git@e80376e3796cc20a400db423b828a98de6f528e6#egg=nova,numpy==1.10.4,oauth==1.0.1,oauth2client==2.0.1,oauthlib==1.0.3,openstack.nose-plugin==0.11,openstackdocstheme==1.3.0,openstacksdk==0.8.2,os-brick==1.1.0,os-client-config==1.16.0,os-testr==0.6.0,os-win==0.2.3,oslo.cache==1.5.0,oslo.concurrency==3.7.0,oslo.config==3.9.0,oslo.context==2.2.0,oslo.db==4.7.0,oslo.i18n==3.5.0,oslo.log==3.3.0,oslo.messaging==4.6.0,oslo.middleware==3.8.0,oslo.policy==1.6.0,oslo.reports==1.7.0,oslo.rootwrap==4.1.0,oslo.serialization==2.4.0,oslo.service==1.8.0,oslo.utils==3.8.0,oslo.versionedobjects==1.8.0,oslo.vmware==2.5.0,oslosphinx==4.3.0,oslotest==2.4.0,osprofiler==1.2.0,ovs==2.4.0,PAM==0.4.2,paramiko==1.16.0,passlib==1.6.5,Paste==2.0.3,PasteDeploy==1.5.2,pathlib==1.0.1,pbr==1.8.1,pecan==1.0.5,pep257==0.7.0,pep8==1.5.7,pika==0.10.0,pika-pool==0.1.3,Pint==0.7.2,pluggy==0.3.1,positional==1.0.1,prettytable==0.7.2,psutil==1.2.1,psycopg2==2.6.1,py==1.4.31,pyasn1==0.1.9,pyasn1-modules==0.0.8,pycadf==2.2.0,pycparser==2.14,pycrypto==2.6.1,pycurl==7.19.3,pyflakes==0.8.1,Pygments==2.1.3,pygobject==3.12.0,pyinotify==0.9.6,PyKMIP==0.4.1,pylint==1.4.5,PyMySQL==0.7.2,pyOpenSSL==0.15.1,pyparsing==2.1.1,pyrsistent==0.11.12,pysaml2==4.0.2,pyScss==1.3.4,pysendfile==2.0.1,pyserial==2.6,python-apt===0.9.3.5ubuntu2,-e git://git.openstack.org/openstack/python-barbicanclient.git@459f68f38356a3e74ebc2447bbc1685178027681#egg=python_barbicanclient,python-ceilometerclient==2.3.0,python-cinderclient==1.6.0,python-dateutil==2.5.2,python-debian===0.1.21-nmu2ubuntu2,python-designateclient==2.0.0,python-editor==0.5,python-glanceclient==2.0.0,python-heatclient==1.0.0,python-ironicclient==1.2.0,python-keystoneclient==2.3.1,-e git://git.openstack.org/openstack/python-magnumclient.git@10362d594459d295308221f7819e96abad517390#egg=python_magnumclient,python-manilaclient==1.8.1,python-memcached==1.57,python-mimeparse==1.5.1,python-mistralclient==2.0.0,python-neutronclient==4.1.1,python-novaclient==3.3.0,python-openstackclient==2.2.0,python-saharaclient==0.13.0,python-senlinclient==0.4.0,python-subunit==1.2.0,python-swiftclient==3.0.0,python-troveclient==2.1.1,python-zaqarclient==1.0.0,pytz==2016.3,PyYAML==3.11,qpid-python==0.32,rcssmin==1.0.6,reno==1.6.1,repoze.lru==0.6,repoze.who==2.2,requests==2.9.1,requests-mock==0.7.0,requestsexceptions==1.1.3,restructuredtext-lint==0.14.2,retrying==1.3.3,rfc3986==0.3.1,rjsmin==1.0.12,Routes==2.2,rsa==3.3,rtslib-fb==2.1.58,ryu==4.0,SecretStorage==2.0.0,selenium==2.52.0,semantic-version==2.5.0,simplegeneric==0.8.1,simplejson==3.8.2,singledispatch==3.4.0.3,six==1.10.0,smmap==0.9.0,Sphinx==1.2.3,SQLAlchemy==1.0.12,sqlalchemy-migrate==0.10.0,sqlparse==0.1.19,ssh-import-id==3.21,stevedore==1.12.0,suds-jurko==0.6,taskflow==1.30.0,tempest-lib==1.0.0,Tempita==0.5.2,termcolor==1.1.0,testrepository==0.0.20,testresources==1.0.0,testscenarios==0.5.0,testtools==2.0.0,tooz==1.34.0,tox==2.3.1,traceback2==1.4.0,Twisted-Core==13.2.0,Twisted-Names==13.2.0,Twisted-Web==13.2.0,unicodecsv==0.14.1,unittest2==1.1.0,uritemplate==0.6,urllib3==1.14,uWSGI==2.0.12,virtualenv==14.0.6,voluptuous==0.8.8,wadllib==1.3.2,waitress==0.8.10,warlock==1.2.0,WebOb==1.6.0,websocket-client==0.35.0,websockify==0.8.0,WebTest==2.0.20,wrapt==1.10.6,WSME==0.8.0,xattr==0.8.0,XStatic==1.0.1,XStatic-Angular==1.3.7.0,XStatic-Angular-Bootstrap==0.11.0.2,XStatic-Angular-Gettext==2.1.0.2,XStatic-Angular-lrdragndrop==1.0.2.2,XStatic-Bootstrap-Datepicker==1.3.1.0,XStatic-Bootstrap-SCSS==3.2.0.0,XStatic-bootswatch==3.3.5.3,XStatic-D3==3.1.6.2,XStatic-Font-Awesome==4.3.0.0,XStatic-Hogan==2.0.0.2,XStatic-Jasmine==2.1.2.0,XStatic-jQuery==1.10.2.1,XStatic-JQuery-Migrate==1.2.1.1,XStatic-jquery-ui==1.11.0.1,XStatic-JQuery.quicksearch==2.0.3.1,XStatic-JQuery.TableSorter==2.14.5.1,XStatic-JSEncrypt==2.0.0.2,XStatic-mdi==1.1.70.1,XStatic-Rickshaw==1.5.0.0,XStatic-roboto-fontface==0.4.3.2,XStatic-smart-table==1.4.5.3,XStatic-Spin==1.2.5.2,XStatic-term.js==0.0.7.0,xvfbwrapper==0.2.8,zake==0.2.2,zope.interface==4.1.3
  6. functional-k8s runtests: PYTHONHASHSEED='3465921031'
  7. functional-k8s runtests: commands[0] | find . -type f -name *.pyc -delete
  8. functional-k8s runtests: commands[1] | bash tools/pretty_tox.sh --concurrency=1
  9. /usr/local/lib/python2.7/dist-packages/nose/plugins/manager.py:395: RuntimeWarning: Unable to load plugin openstack.nose_plugin = openstack.nose_plugin:Openstack: No module named nose_plugin
  10. RuntimeWarning)
  11. running testr
  12. running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
  13. OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
  14. OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
  15. ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./magnum/tests/unit}
  16. {0} unittest2.loader._FailedTest.magnum.tests.functional.k8s.test_k8s_python_client [0.000511s] ... FAILED
  17.  
  18. Captured traceback:
  19. ~~~~~~~~~~~~~~~~~~~
  20. Traceback (most recent call last):
  21. ImportError: Failed to import test module: magnum.tests.functional.k8s.test_k8s_python_client
  22. Traceback (most recent call last):
  23. File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
  24. module = self._get_module_from_name(name)
  25. File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
  26. __import__(name)
  27. File "magnum/tests/functional/k8s/test_k8s_python_client.py", line 15, in <module>
  28. from magnum.tests.functional.python_client_base import BayTest
  29. File "magnum/tests/functional/python_client_base.py", line 29, in <module>
  30. from magnum.tests.functional.common import base
  31. File "magnum/tests/functional/common/base.py", line 18, in <module>
  32. from tempest.common import credentials_factory as common_creds
  33. ImportError: No module named tempest.common
  34.  
  35.  
  36. {0} unittest2.loader._FailedTest.magnum.tests.functional.k8s.test_magnum_python_client [0.000301s] ... FAILED
  37.  
  38. Captured traceback:
  39. ~~~~~~~~~~~~~~~~~~~
  40. Traceback (most recent call last):
  41. ImportError: Failed to import test module: magnum.tests.functional.k8s.test_magnum_python_client
  42. Traceback (most recent call last):
  43. File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
  44. module = self._get_module_from_name(name)
  45. File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
  46. __import__(name)
  47. File "magnum/tests/functional/k8s/test_magnum_python_client.py", line 14, in <module>
  48. from magnum.tests.functional.python_client_base import BaseMagnumClient
  49. File "magnum/tests/functional/python_client_base.py", line 29, in <module>
  50. from magnum.tests.functional.common import base
  51. File "magnum/tests/functional/common/base.py", line 18, in <module>
  52. from tempest.common import credentials_factory as common_creds
  53. ImportError: No module named tempest.common
  54.  
  55.  
  56. {0} magnum.tests.functional.k8s.test_templates.TestTemplates.test_templates_list [0.130027s] ... ok
  57. Slowest Tests
  58. Test id Runtime (s)
  59. ---------------------------------------------------------------------------------- -----------
  60. magnum.tests.functional.k8s.test_templates.TestTemplates.test_templates_list 0.130
  61. unittest2.loader._FailedTest.magnum.tests.functional.k8s.test_k8s_python_client 0.001
  62. unittest2.loader._FailedTest.magnum.tests.functional.k8s.test_magnum_python_client 0.000
  63.  
  64. ==============================
  65. Failed 2 tests - output below:
  66. ==============================
  67.  
  68. unittest2.loader._FailedTest.magnum.tests.functional.k8s.test_k8s_python_client
  69. -------------------------------------------------------------------------------
  70.  
  71. Captured traceback:
  72. ~~~~~~~~~~~~~~~~~~~
  73. Traceback (most recent call last):
  74. ImportError: Failed to import test module: magnum.tests.functional.k8s.test_k8s_python_client
  75. Traceback (most recent call last):
  76. File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
  77. module = self._get_module_from_name(name)
  78. File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
  79. __import__(name)
  80. File "magnum/tests/functional/k8s/test_k8s_python_client.py", line 15, in <module>
  81. from magnum.tests.functional.python_client_base import BayTest
  82. File "magnum/tests/functional/python_client_base.py", line 29, in <module>
  83. from magnum.tests.functional.common import base
  84. File "magnum/tests/functional/common/base.py", line 18, in <module>
  85. from tempest.common import credentials_factory as common_creds
  86. ImportError: No module named tempest.common
  87.  
  88.  
  89.  
  90. unittest2.loader._FailedTest.magnum.tests.functional.k8s.test_magnum_python_client
  91. ----------------------------------------------------------------------------------
  92.  
  93. Captured traceback:
  94. ~~~~~~~~~~~~~~~~~~~
  95. Traceback (most recent call last):
  96. ImportError: Failed to import test module: magnum.tests.functional.k8s.test_magnum_python_client
  97. Traceback (most recent call last):
  98. File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
  99. module = self._get_module_from_name(name)
  100. File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
  101. __import__(name)
  102. File "magnum/tests/functional/k8s/test_magnum_python_client.py", line 14, in <module>
  103. from magnum.tests.functional.python_client_base import BaseMagnumClient
  104. File "magnum/tests/functional/python_client_base.py", line 29, in <module>
  105. from magnum.tests.functional.common import base
  106. File "magnum/tests/functional/common/base.py", line 18, in <module>
  107. from tempest.common import credentials_factory as common_creds
  108. ImportError: No module named tempest.common
  109.  
  110.  
  111.  
  112.  
  113. ======
  114. Totals
  115. ======
  116. Ran: 3 tests in 3.0000 sec.
  117. - Passed: 1
  118. - Skipped: 0
  119. - Expected Fail: 0
  120. - Unexpected Success: 0
  121. - Failed: 2
  122. Sum of execute time for each test: 0.1308 sec.
  123.  
  124. ==============
  125. Worker Balance
  126. ==============
  127. - Worker 0 (3 tests) => 0:00:00.135751
  128. ERROR: InvocationError: '/bin/bash tools/pretty_tox.sh --concurrency=1'
  129. ____________________________________________________________________________________________ summary ____________________________________________________________________________________________
  130. ERROR: functional-k8s: commands failed
  131. vagrant@vagrant-ubuntu-trusty-64:/opt/stack/magnum$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement