Skip to content

Instantly share code, notes, and snippets.

@termie
Last active August 29, 2015 13:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save termie/9358833 to your computer and use it in GitHub Desktop.
Save termie/9358833 to your computer and use it in GitHub Desktop.
getting updated testr from source install for tox
getting useful testr exception output
tox -epy27 nova.tests.integrated
# ctrl-c after it has made it through the dependencies
source .tox/py27/bin/activate
pip install --allow-external bzr --allow-unverified bzr bzr
pip install -e bzr+lp:testrepository#egg=testrepository
(nova)termie@champs:~/p/nova % tox -epy27 -- --parallel --subunit nova.tests.integrated | subunit2pyunit [stop_deprecated_warnings] 16:45:28
py27 develop-inst-nodeps: /Users/termie/p/nova
py27 runtests: commands[0] | python -m nova.openstack.common.lockutils python setup.py test --slowest --testr-args=--parallel --subunit nova.tests.integrated
[pbr] Excluding argparse: Python 2.6 only dependency
running test
Non-zero exit code (2) from test listing.
error: testr failed (3)
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ./nova/tests --list
--- import errors ---
nova.tests.integrated.test_api_samples
nova.tests.integrated.test_extensions
nova.tests.integrated.test_login
nova.tests.integrated.test_multiprocess_api
nova.tests.integrated.test_servers
nova.tests.integrated.test_xml
nova.tests.integrated.v3.test_access_ips
nova.tests.integrated.v3.test_admin_actions
nova.tests.integrated.v3.test_admin_password
nova.tests.integrated.v3.test_agents
nova.tests.integrated.v3.test_aggregates
nova.tests.integrated.v3.test_attach_interfaces
nova.tests.integrated.v3.test_availability_zone
nova.tests.integrated.v3.test_cells
nova.tests.integrated.v3.test_certificates
nova.tests.integrated.v3.test_config_drive
nova.tests.integrated.v3.test_console_output
nova.tests.integrated.v3.test_consoles
nova.tests.integrated.v3.test_deferred_delete
nova.tests.integrated.v3.test_evacuate
nova.tests.integrated.v3.test_extended_availability_zone
nova.tests.integrated.v3.test_extended_server_attributes
nova.tests.integrated.v3.test_extended_status
nova.tests.integrated.v3.test_extended_volumes
nova.tests.integrated.v3.test_extension_info
nova.tests.integrated.v3.test_flavor_access
nova.tests.integrated.v3.test_flavor_extraspecs
nova.tests.integrated.v3.test_flavor_manage
nova.tests.integrated.v3.test_flavor_rxtx
nova.tests.integrated.v3.test_flavors
nova.tests.integrated.v3.test_hide_server_addresses
nova.tests.integrated.v3.test_hosts
nova.tests.integrated.v3.test_hypervisors
nova.tests.integrated.v3.test_instance_actions
nova.tests.integrated.v3.test_keypairs
nova.tests.integrated.v3.test_lock_server
nova.tests.integrated.v3.test_migrate_server
nova.tests.integrated.v3.test_migrations
nova.tests.integrated.v3.test_multinic
nova.tests.integrated.v3.test_pause_server
nova.tests.integrated.v3.test_pci
nova.tests.integrated.v3.test_quota_sets
nova.tests.integrated.v3.test_remote_consoles
nova.tests.integrated.v3.test_rescue
nova.tests.integrated.v3.test_scheduler_hints
nova.tests.integrated.v3.test_security_groups
nova.tests.integrated.v3.test_server_diagnostics
nova.tests.integrated.v3.test_server_metadata
nova.tests.integrated.v3.test_server_usage
nova.tests.integrated.v3.test_servers
nova.tests.integrated.v3.test_servers_ips
nova.tests.integrated.v3.test_services
nova.tests.integrated.v3.test_shelve
nova.tests.integrated.v3.test_suspend_server
nova.tests.integrated.v3.test_user_dataERROR: InvocationError: '/Users/termie/p/nova/.tox/py27/bin/python -m nova.openstack.common.lockutils python setup.py test --slowest --testr-args=--parallel --subunit nova.tests.integrated'
___________________________________ summary ____________________________________
ERROR: py27: commands failed
----------------------------------------------------------------------
Ran 0 tests in 6.256s
OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment