Skip to content

Instantly share code, notes, and snippets.

@cp16net
Created March 17, 2016 06:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cp16net/5db48034bb9c459571a7 to your computer and use it in GitHub Desktop.
Save cp16net/5db48034bb9c459571a7 to your computer and use it in GitHub Desktop.
vagrant@packer-ubuntu-1404-server-vagrant:~$ redstack int-tests --group=couchdb_supported --stop
/opt/stack/trove-integration/scripts ~
*******************************************************************************
Running Trove Integration Tests...
*******************************************************************************
python -B /opt/stack/trove-integration/scripts/../tests//integration/int_tests.py --verbose --logging-clear-handlers --group=couchdb_supported --stop
RUNNING TEST ARGS : ['/opt/stack/trove-integration/scripts/../tests//integration/int_tests.py', '--verbose', '--logging-clear-handlers', '--group=couchdb_supported', '--stop']
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
nose.plugins.manager: DEBUG: Configuring plugins
nose.plugins.manager: DEBUG: Plugins enabled: [<nose.plugins.capture.Capture object at 0x7f7e90525c50>, <nose.plugins.logcapture.LogCapture object at 0x7f7e90525c90>, <nose.plugins.deprecated.Deprecated object at 0x7f7e904c00d0>, <nose.plugins.skip.Skip object at 0x7f7e9024b390>]
No handlers could be found for logger "nose.core"
start_glance_registry
Starts the Glance Registry.
Starts the Glance Registry. OK 1.02
start_glance_api
Starts the Glance API.
Starts the Glance API. OK 1.03
start_nova_network
Starts the Nova Network Service.
Starts the Nova Network Service. OK 1.02
start_compute
Starts the Nova Compute Service.
Starts the Nova Compute Service. OK 1.02
start_scheduler
Starts the Scheduler Service.
Starts the Scheduler Service. OK 1.02
start_nova_api
Starts the Nova Compute Service.
Starts the Nova Compute Service. OK 1.03
start_trove_api
Starts the Trove Service.
Starts the Trove Service. OK 1.02
InstanceSetup
Makes sure the client can hit the ReST service.
Sets up the client. OK 0.33
create_instance_name OK 0.00
test_find_flavor OK 0.31
Flavors
setUp OK 0.42
confirm_flavors_lists_nearly_identical OK 0.46
test_flavor_get_attrs OK 0.28
test_flavor_list_attrs OK 0.31
test_flavor_list_datastore_version_associated_flavors OK 0.58
test_flavor_not_found OK 0.30
Versions
Test listing all versions and verify the current version.
Sets up the client. OK 0.19
test_list_versions_index OK 0.00
test_no_slash_no_version OK 0.00
test_no_slash_with_version OK 0.00
test_request_bogus_version OK 0.00
test_request_no_version OK 0.00
test_with_slash_no_version OK 0.00
test_with_slash_with_version OK 0.00
InstanceCreateGroup
Create an empty instance. OK 11.86
Create a configuration group for a new initialized instance.SKIP: No groups defined.
Create an instance with initial properties. OK 12.65
Waiting for all instances to become active. OK 150.43
Add data to the initialized instance. OK 1.02
Validate the initialized instance data and properties. OK 2.23
Delete the initialized instance. OK 20.90
Delete the initial configuration group. SKIP: Cleanup is not required.
DatabaseActionsGroup
Create an instance with initial databases. OK 11.89
Create databases on an existing instance. OK 0.88
List the created databases. OK 1.45
Ensure creating a database with blank specification fails. OK 0.12
Ensure creating a database with blank name fails. OK 0.12
Ensure creating an existing database fails. OK 0.13
Delete the created databases. OK 2.40
Delete non-existing databases. OK 0.81
Ensure creating a system database fails. FAIL
======================================================================
FAIL: proboscis.case.MethodTest (create_system_database)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/usr/local/lib/python2.7/dist-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/usr/local/lib/python2.7/dist-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/opt/stack/trove/trove/tests/scenario/groups/database_actions_group.py", line 82, in create_system_database
self.test_runner.run_system_database_create()
File "/opt/stack/trove/trove/tests/scenario/runners/database_actions_runners.py", line 146, in run_system_database_create
expected_exception, expected_http_code)
File "/opt/stack/trove/trove/tests/scenario/runners/database_actions_runners.py", line 133, in assert_databases_create_failure
serial_databases_def)
File "/opt/stack/trove/trove/tests/scenario/runners/test_runners.py", line 210, in assert_raises
*cmd_args, **cmd_kwargs)
AssertionError: Expected an exception of type <class 'troveclient.compat.exceptions.BadRequest'> to be raised.
-------------------- >> begin captured logging << --------------------
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/5c2b0afb-c79c-407a-9e0a-95a6d89ca1bb/databases -X POST -H "X-Auth-Project-Id: alt_demo" -H "User-Agent: python-troveclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 3fb5a296c3be4e3281c2d8439209b564"
troveclient.compat.client: DEBUG: REQ BODY: {"databases": [{"name": "_users"}, {"name": "_replicator"}]}
troveclient.compat.client: DEBUG: RESP:{'date': 'Wed, 16 Mar 2016 04:50:15 GMT', 'status': '202', 'content-length': '0', 'content-type': 'application/json'}
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 41 tests in 227.831s
FAILED (SKIP=2, failures=1)
Slowest 5 tests took 207.72 secs:
150.43 proboscis.case.MethodTest (wait_for_instances)
20.90 proboscis.case.MethodTest (delete_initialized_instance)
12.65 proboscis.case.MethodTest (create_initialized_instance)
11.89 proboscis.case.MethodTest (create_initialized_instance)
11.86 proboscis.case.MethodTest (create_empty_instance)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment