Created
March 16, 2016 23:30
-
-
Save cp16net/1167f206fdd4f91dd986 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@packer-ubuntu-1404-server-vagrant:~$ redstack int-tests --group=couchdb_supported | |
/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 | |
RUNNING TEST ARGS : ['/opt/stack/trove-integration/scripts/../tests//integration/int_tests.py', '--verbose', '--logging-clear-handlers', '--group=couchdb_supported'] | |
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 0x7f63be67a3d0>, <nose.plugins.logcapture.LogCapture object at 0x7f63be67a410>, <nose.plugins.deprecated.Deprecated object at 0x7f63be67a810>, <nose.plugins.skip.Skip object at 0x7f63be60cad0>] | |
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.02 | |
start_nova_network | |
Starts the Nova Network Service. | |
Starts the Nova Network Service. OK 1.03 | |
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.02 | |
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 5.99 | |
create_instance_name OK 0.00 | |
test_find_flavor OK 0.30 | |
Flavors | |
setUp OK 0.58 | |
confirm_flavors_lists_nearly_identical OK 0.50 | |
test_flavor_get_attrs OK 0.26 | |
test_flavor_list_attrs OK 0.27 | |
test_flavor_list_datastore_version_associated_flavors OK 0.57 | |
test_flavor_not_found OK 0.29 | |
Versions | |
Test listing all versions and verify the current version. | |
Sets up the client. OK 0.18 | |
test_list_versions_index OK 0.01 | |
test_no_slash_no_version OK 0.01 | |
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.82 | |
Create a configuration group for a new initialized instance.SKIP: No groups defined. | |
Create an instance with initial properties. OK 12.85 | |
Waiting for all instances to become active. OK 100.78 | |
Add data to the initialized instance. SKIP: DO NOT COMMIT THIS JUST SKIP BECAUSE I'M LOST. | |
Validate the initialized instance data and properties. SKIP: DO NOT COMMIT THIS JUST SKIP BECAUSE I'M LOST. | |
Delete the initialized instance. OK 20.94 | |
Delete the initial configuration group. SKIP: Cleanup is not required. | |
BackupGroup | |
Test Backup and Restore functionality. | |
Add data to instance for restore verification. ERROR | |
Verify data in instance. ERROR | |
Check that create backup is started successfully. OK 2.21 | |
Ensure a restore fails while the backup is running. FAIL | |
Ensure any instance action fails while backup is running. FAIL | |
Ensure create backup fails when another backup is running. OK 0.78 | |
Ensure delete backup fails while it is running. FAIL | |
Check that the backup completes successfully. ERROR | |
Test backup show. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Ensure backup show fails for an unauthorized user. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Test list backups. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Test list backups and filter by datastore. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Test list backups and filter by unknown datastore. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Test list backups and filter by different datastore. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Test backup list for instance. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Check that restoring an instance from a backup starts. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Wait until restoring an instance from a backup completes. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Verify data in restored instance. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Test deleting the restored instance. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Ensure deleting an unknown backup fails. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Ensure deleting backup by an unauthorized user fails. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Test deleting the backup. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Test that backup children are deleted. SKIP: Failure in <function backup_create_completed at 0x7f63bf12f320> | |
Ensure create backup fails with invalid instance id. OK 0.11 | |
Ensure create backup fails with unknown instance id. OK 0.44 | |
DatabaseActionsGroup | |
Create an instance with initial databases. OK 12.23 | |
Create databases on an existing instance. ERROR | |
List the created databases. SKIP: Failure in <function create_databases at 0x7f63beddbb90> | |
Ensure creating a database with blank specification fails. SKIP: Failure in <function create_databases at 0x7f63beddbb90> | |
Ensure creating a database with blank name fails. SKIP: Failure in <function create_databases at 0x7f63beddbb90> | |
Ensure creating an existing database fails. SKIP: Failure in <function create_databases at 0x7f63beddbb90> | |
Delete the created databases. SKIP: Failure in <function create_databases at 0x7f63beddbb90> | |
Delete non-existing databases. ERROR | |
Ensure creating a system database fails. OK 0.45 | |
Ensure deleting a system database fails. FAIL | |
Waiting for all instances to become active. OK 110.82 | |
Add data to the initialized instance. SKIP: DO NOT COMMIT THIS JUST SKIP BECAUSE I'M LOST. | |
Validate the initialized instance data and properties. SKIP: DO NOT COMMIT THIS JUST SKIP BECAUSE I'M LOST. | |
Delete the initialized instance. OK 20.99 | |
GuestLogGroup | |
Test Guest Log functionality. | |
Test that log-list works for admin user. OK 7.19 | |
Ensure log-disable on SYS log fails. OK 0.39 | |
Ensure log-disable on unexposed log fails for auth client. OK 0.42 | |
Ensure log-discard on unexposed log fails for auth client. OK 0.36 | |
Ensure log-enable on SYS log fails. OK 0.45 | |
Ensure log-enable on unexposed log fails for auth client. OK 0.37 | |
Ensure log-generator by unauth client with publish fails. SKIP: No exposed user log names defined. | |
Ensure log-generator by unauth client on USER log fails. SKIP: No exposed user log names defined. | |
Test that log-list works. OK 0.46 | |
Ensure log-list by unauth client on USER log fails. OK 0.12 | |
Ensure log-publish on unexposed log fails for auth client. OK 0.38 | |
Test that log-show works on USER log. SKIP: No exposed user log names defined. | |
Test log-enable on USER log. SKIP: No exposed user log names defined. | |
Test that flipping restart-required log-enable works. OK 0.00 | |
Test restart datastore if required. OK 0.00 | |
Wait for restart to complete. OK 0.00 | |
Test log-publish on USER log. SKIP: No exposed user log names defined. | |
Add data for second log-publish on USER log. ERROR | |
Verify data for second log-publish on USER log. ERROR | |
Test log-publish again on USER log. SKIP: No exposed user log names defined. | |
Test log-generator on USER log. SKIP: No exposed user log names defined. | |
Test log-generator with publish on USER log. SKIP: No exposed user log names defined. | |
Test log-generator on USER log with passed-in Swift client. SKIP: No exposed user log names defined. | |
Add more data for log-generator row-by-row test on USER log.ERROR | |
Verify data for log-generator row-by-row test on USER log. ERROR | |
Test log-generator on USER log row-by-row. SKIP: No exposed user log names defined. | |
Test log-save on USER log. SKIP: No exposed user log names defined. | |
Test log-save on USER log with publish. SKIP: No exposed user log names defined. | |
Test log-discard on USER log. SKIP: No exposed user log names defined. | |
Test log-disable on USER log. SKIP: No exposed user log names defined. | |
Test restart datastore again if required. OK 0.00 | |
Wait for restart to complete again. OK 0.00 | |
Test that log-show works for SYS log. OK 0.69 | |
Test log-publish on SYS log. OK 0.65 | |
Test log-publish again on SYS log. OK 0.70 | |
Test log-generator on SYS log. OK 0.79 | |
Test log-generator with publish on SYS log. OK 0.82 | |
Test log-generator on SYS log with passed-in Swift client. OK 0.52 | |
Test log-save on SYS log. OK 2.14 | |
Test log-save on SYS log with publish. OK 1.68 | |
Test log-discard on SYS log. OK 0.64 | |
Ensure log-show by unauth client on USER log fails. SKIP: No exposed user log names defined. | |
Ensure log-show on unexposed log fails for auth client. OK 0.35 | |
InstanceActionsGroup | |
Restart an existing instance. OK 21.10 | |
Resize attached volume. OK 42.16 | |
Resize instance flavor. OK 242.30 | |
RootActionsGroup | |
Check the root has never been enabled on the instance. OK 0.79 | |
Ensure disable fails if root was never enabled. ERROR | |
Enable root (without specifying a password). OK 0.68 | |
Check the root is now enabled. OK 0.46 | |
Backup the root-enabled instance. OK 2.26 | |
Restore the root-enabled instance. OK 0.96 | |
Ensure an attempt to delete the root user fails. OK 0.13 | |
Enable root (with a given password). ERROR | |
Check the root is still enabled. SKIP: Failure in <function enable_root_with_password at 0x7f63bed1b668> | |
Disable root. ERROR | |
Check the root is still marked as enabled after disable. SKIP: Failure in <function disable_root at 0x7f63bed1b758> | |
Wait until restoring a root-enabled instance completes. OK 120.63 | |
Check the root is also enabled on the restored instance. FAIL | |
Delete root restored instances. OK 41.41 | |
UserActionsGroup | |
Create an instance with initial users. OK 12.09 | |
Create user databases on an existing instance. OK 0.72 | |
Create users on an existing instance. OK 1.84 | |
Show created users. FAIL | |
List the created users. FAIL | |
Ensure creating a user with blank specification fails. OK 0.20 | |
Ensure creating a user with blank name fails. OK 0.28 | |
Ensure creating a user with blank password fails. OK 0.25 | |
Ensure creating an existing user fails. OK 0.13 | |
Ensure updating a user with blank name fails. OK 0.16 | |
Ensure updating a user with an existing name fails. FAIL | |
Update an existing user. FAIL | |
Delete the created users. FAIL | |
Delete non-existing users. FAIL | |
Ensure updating a non-existing user fails. FAIL | |
Ensure deleting a non-existing user fails. FAIL | |
Ensure creating a system user fails. OK 0.14 | |
Ensure showing a system user fails. OK 0.64 | |
Ensure updating a system user fails. OK 0.73 | |
Ensure deleting a system user fails. OK 0.25 | |
Delete the user databases. OK 2.29 | |
Waiting for all instances to become active. OK 70.82 | |
Validate the initialized instance data and properties. SKIP: DO NOT COMMIT THIS JUST SKIP BECAUSE I'M LOST. | |
Delete the initialized instance. OK 21.15 | |
ModuleGroup | |
Test Module functionality. | |
Ensure create module with invalid datastore fails. OK 5.29 | |
Ensure create module with invalid datastore_version fails. OK 0.14 | |
Ensure create module with invalid type fails. OK 0.13 | |
Ensure create module with missing datastore fails. OK 0.15 | |
Ensure create all tenant module for non-admin fails. OK 0.13 | |
Ensure create auto_apply module for non-admin fails. OK 0.13 | |
Ensure create hidden module for non-admin fails. OK 0.13 | |
Delete all previous test modules. OK 2.71 | |
Check that create module works. OK 1.34 | |
Check that create module with binary contents works. OK 0.35 | |
Check that create module with other binary contents works. OK 0.28 | |
Check that list modules works. OK 0.16 | |
Check that create module works with all admin options. OK 0.28 | |
Check that create module works with hidden option. OK 0.18 | |
Check that create module works with auto option. OK 0.19 | |
Check that create module works with live-update option. OK 0.19 | |
Check that create module with datastore works. OK 0.22 | |
Check that create module with ds version works. OK 0.22 | |
Check that create 'all' tenants with datastore module works.OK 0.22 | |
Ensure that show invisible module for non-admin fails. OK 0.16 | |
Ensure that list module for unauth user fails. OK 0.14 | |
Check that create with same name on different tenant works. OK 0.21 | |
Check that list modules for admin works. OK 0.16 | |
Check that list modules skips invisible modules. OK 0.16 | |
Check that list modules by datastore works. OK 0.18 | |
Check that list modules by all datastores works. OK 0.14 | |
Ensure create with duplicate info fails. OK 0.15 | |
Check that show module works. OK 0.14 | |
Check that update module works. OK 0.20 | |
Check that update module with same contents works. OK 0.20 | |
Check that update module works for auto apply toggle. OK 0.57 | |
Check that update module works for all tenant toggle. OK 0.61 | |
Check that update module works for invisible toggle. OK 0.75 | |
Ensure update module to all tenant for non-admin fails. OK 0.15 | |
Ensure any update module to all tenant for non-admin fails. OK 0.14 | |
Ensure update module to all tenant off for non-admin fails. OK 0.14 | |
Ensure update module to auto_apply for non-admin fails. OK 0.15 | |
Ensure any update module to auto_apply for non-admin fails. OK 0.16 | |
Ensure update module to auto_apply off for non-admin fails. OK 0.16 | |
Ensure update module to invisible for non-admin fails. OK 0.14 | |
Ensure any update module to invisible for non-admin fails. OK 0.15 | |
Ensure update module to invisible off for non-admin fails. OK 0.17 | |
Ensure update module for unauth user fails. OK 0.14 | |
Ensure that show module for unauth user fails. OK 0.16 | |
ModuleInstanceGroup | |
Test Instance Module functionality. | |
Check that the instance has no modules associated. OK 0.62 | |
Check that the module hasn't been applied to any instances. OK 0.17 | |
Check that the instance has no modules applied. OK 0.34 | |
Check that module-apply works. ERROR | |
Ensure that deleting an applied module fails. SKIP: Failure in <function module_apply at 0x7f63bedba6e0> | |
Check that the instance has one module associated. SKIP: Failure in <function module_apply at 0x7f63bedba6e0> | |
Check that module-query works. SKIP: Failure in <function module_apply at 0x7f63bedba6e0> | |
Check that creating an instance with modules works. SKIP: Failure in <function module_apply at 0x7f63bedba6e0> | |
Check that module-remove works. SKIP: Failure in <function module_apply at 0x7f63bedba6e0> | |
Check that the instance has no modules applied after remove.SKIP: Failure in <function module_apply at 0x7f63bedba6e0> | |
Wait for create instance with modules to finish. SKIP: Failure in <function module_apply at 0x7f63bedba6e0> | |
Check that module-query works on new instance. SKIP: Failure in <function module_apply at 0x7f63bedba6e0> | |
Check that module-retrieve works on new instance. SKIP: Failure in <function module_apply at 0x7f63bedba6e0> | |
Check that module-query works for admin. SKIP: Failure in <function module_apply at 0x7f63bedba6e0> | |
Check that module-retrieve works for admin. SKIP: Failure in <function module_apply at 0x7f63bedba6e0> | |
Ensure that module-delete on auto-applied module fails. SKIP: Failure in <function module_apply at 0x7f63bedba6e0> | |
Check that instance with module can be deleted. SKIP: Failure in <function module_apply at 0x7f63bedba6e0> | |
ModuleDeleteGroup | |
Test Module Delete functionality. | |
Ensure delete non-existent module fails. OK 0.75 | |
Ensure delete module by unauth user fails. OK 0.29 | |
Ensure delete hidden module by non-admin user fails. OK 0.13 | |
Ensure delete all tenant module by non-admin user fails. OK 0.13 | |
Ensure delete auto-apply module by non-admin user fails. OK 0.16 | |
Check that delete module works. OK 0.60 | |
Check that delete module works for admin. OK 4.29 | |
Delete all remaining test modules. OK 0.15 | |
InstanceDeleteGroup | |
Delete an existing instance. OK 21.70 | |
====================================================================== | |
ERROR: proboscis.case.MethodTest (add_data_for_backup) | |
---------------------------------------------------------------------- | |
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/backup_group.py", line 49, in add_data_for_backup | |
self.test_runner.run_add_data_for_backup() | |
File "/opt/stack/trove/trove/tests/scenario/runners/backup_runners.py", line 67, in run_add_data_for_backup | |
self.assert_add_data_for_backup(self.backup_host) | |
File "/opt/stack/trove/trove/tests/scenario/runners/backup_runners.py", line 73, in assert_add_data_for_backup | |
self.test_helper.add_data(DataType.large, host) | |
File "/opt/stack/trove/trove/tests/scenario/helpers/test_helper.py", line 181, in add_data | |
*args, **kwargs) | |
File "/opt/stack/trove/trove/tests/scenario/helpers/test_helper.py", line 208, in _perform_data_action | |
(data_fn_name, self.__class__.__name__, ex)) | |
RuntimeError: Error calling add_large_data from class CouchdbHelper - Error calling add_large_data from class CouchdbHelper: 'user' | |
-------------------- >> begin captured stdout << --------------------- | |
[REPORT] Found host 10.0.0.21 for instance 40437ac9-e458-4534-8081-9fe0b7f8eed7. | |
--------------------- >> end captured stdout << ---------------------- | |
-------------------- >> begin captured logging << -------------------- | |
trove.common.strategies.strategy: DEBUG: Looking for strategy backup_runners.CouchdbBackupRunner in trove.tests.scenario.runners | |
trove.common.strategies.strategy: DEBUG: Looking for strategy backup_runners.BackupRunner in trove.tests.scenario.runners | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:35357/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-troveclient" | |
troveclient.compat.client: DEBUG: REQ BODY: {"auth": {"tenantName": "alt_demo", "passwordCredentials": {"username": "alt_demo", "password": "3de4922d8b6ac5a1aad9"}}} | |
troveclient.compat.client: DEBUG: RESP:{'status': '200', 'content-length': '4135', 'vary': 'X-Auth-Token', 'server': 'Apache/2.4.7 (Ubuntu)', 'date': 'Tue, 15 Mar 2016 21:10:31 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-bdd774ce-337e-4f4a-bbe2-08fa97e85b34'} {"access": {"token": {"issued_at": "2016-03-15T21:10:32.497070Z", "expires": "2016-03-15T22:10:32Z", "id": "12b14a24efd840b097d0d66f8043a54a", "tenant": {"description": "", "enabled": true, "id": "ba331f71a50c496095ef57ac20fe515f", "name": "alt_demo"}, "audit_ids": ["6E2cZNLdQPqugEEWVXnzsg"]}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://192.168.121.53:8774/v2.1/ba331f71a50c496095ef57ac20fe515f", "region": "RegionOne", "internalURL": "http://192.168.121.53:8774/v2.1/ba331f71a50c496095ef57ac20fe515f", "id": "650fd124906b482fb70d3f30aae01c9f", "publicURL": "http://192.168.121.53:8774/v2.1/ba331f71a50c496095ef57ac20fe515f"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://192.168.121.53:8776/v2/ba331f71a50c496095ef57ac20fe515f", "region": "RegionOne", "internalURL": "http://192.168.121.53:8776/v2/ba331f71a50c496095ef57ac20fe515f", "id": "21caf13bc588411bb47c8ddaf4cda2aa", "publicURL": "http://192.168.121.53:8776/v2/ba331f71a50c496095ef57ac20fe515f"}], "endpoints_links": [], "type": "volumev2", "name": "cinderv2"}, {"endpoints": [{"adminURL": "http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f", "region": "RegionOne", "internalURL": "http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f", "id": "08eaaeabf65c467ca7dd670060eb8602", "publicURL": "http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f"}], "endpoints_links": [], "type": "database", "name": "trove"}, {"endpoints": [{"adminURL": "http://192.168.121.53:9292", "region": "RegionOne", "internalURL": "http://192.168.121.53:9292", "id": "349083c3d18c45f2aa389f145b33a787", "publicURL": "http://192.168.121.53:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://192.168.121.53:8774/v2/ba331f71a50c496095ef57ac20fe515f", "region": "RegionOne", "internalURL": "http://192.168.121.53:8774/v2/ba331f71a50c496095ef57ac20fe515f", "id": "a7d5357f78c14efd921e45e598fb927f", "publicURL": "http://192.168.121.53:8774/v2/ba331f71a50c496095ef57ac20fe515f"}], "endpoints_links": [], "type": "compute_legacy", "name": "nova_legacy"}, {"endpoints": [{"adminURL": "http://192.168.121.53:8000/v1", "region": "RegionOne", "internalURL": "http://192.168.121.53:8000/v1", "id": "2cf0e03db7fc4b998156f1eaf728e4e9", "publicURL": "http://192.168.121.53:8000/v1"}], "endpoints_links": [], "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"adminURL": "http://192.168.121.53:8776/v1/ba331f71a50c496095ef57ac20fe515f", "region": "RegionOne", "internalURL": "http://192.168.121.53:8776/v1/ba331f71a50c496095ef57ac20fe515f", "id": "1281e3f8c55e402c9b6c1cdb86d63bf5", "publicURL": "http://192.168.121.53:8776/v1/ba331f71a50c496095ef57ac20fe515f"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://192.168.121.53:8004/v1/ba331f71a50c496095ef57ac20fe515f", "region": "RegionOne", "internalURL": "http://192.168.121.53:8004/v1/ba331f71a50c496095ef57ac20fe515f", "id": "5fe9bee2f3d94aab97bb7063f3d4d917", "publicURL": "http://192.168.121.53:8004/v1/ba331f71a50c496095ef57ac20fe515f"}], "endpoints_links": [], "type": "orchestration", "name": "heat"}, {"endpoints": [{"adminURL": "http://192.168.121.53:8080", "region": "RegionOne", "internalURL": "http://192.168.121.53:8080/v1/AUTH_ba331f71a50c496095ef57ac20fe515f", "id": "4a5c657bb4d44391b7a8fe16bafa3849", "publicURL": "http://192.168.121.53:8080/v1/AUTH_ba331f71a50c496095ef57ac20fe515f"}], "endpoints_links": [], "type": "object-store", "name": "swift"}, {"endpoints": [{"adminURL": "http://192.168.121.53:35357/v2.0", "region": "RegionOne", "internalURL": "http://192.168.121.53:5000/v2.0", "id": "1ba775e5bac5471aa1e37d860d234c5d", "publicURL": "http://192.168.121.53:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "alt_demo", "roles_links": [], "id": "5ba0a264ec6f42ac819dd14a53b5e2c6", "roles": [{"name": "Member"}, {"name": "anotherrole"}], "name": "alt_demo"}, "metadata": {"is_admin": 0, "roles": ["61a6f4d72e1d494ea720f8eaebae8455", "d064238d5dad4321957580bfa34167f2"]}}} | |
trove.common.strategies.strategy: DEBUG: Looking for strategy couchdb_helper.CouchdbHelper in trove.tests.scenario.helpers | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7 -X GET -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: 12b14a24efd840b097d0d66f8043a54a" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:10:37 GMT', 'status': '200', 'content-length': '783', 'content-type': 'application/json', 'content-location': u'http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7'} {"instance": {"status": "ACTIVE", "updated": "2016-03-15T21:08:12", "name": "TEST_1cb840c7-a4f4-45da-8d95-6cd92bc74682", "links": [{"href": "https://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7", "rel": "self"}, {"href": "https://192.168.121.53:8779/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7", "rel": "bookmark"}], "created": "2016-03-15T21:08:06", "ip": ["10.0.0.21"], "id": "40437ac9-e458-4534-8081-9fe0b7f8eed7", "volume": {"used": 0.01, "size": 1}, "flavor": {"id": "10", "links": [{"href": "https://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/flavors/10", "rel": "self"}, {"href": "https://192.168.121.53:8779/flavors/10", "rel": "bookmark"}]}, "datastore": {"version": "1.6.1", "type": "couchdb"}}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: proboscis.case.MethodTest (verify_data_for_backup) | |
---------------------------------------------------------------------- | |
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/backup_group.py", line 55, in verify_data_for_backup | |
self.test_runner.run_verify_data_for_backup() | |
File "/opt/stack/trove/trove/tests/scenario/runners/backup_runners.py", line 76, in run_verify_data_for_backup | |
self.assert_verify_backup_data(self.backup_host) | |
File "/opt/stack/trove/trove/tests/scenario/runners/backup_runners.py", line 82, in assert_verify_backup_data | |
self.test_helper.verify_data(DataType.large, host) | |
File "/opt/stack/trove/trove/tests/scenario/helpers/test_helper.py", line 197, in verify_data | |
*args, **kwargs) | |
File "/opt/stack/trove/trove/tests/scenario/helpers/test_helper.py", line 208, in _perform_data_action | |
(data_fn_name, self.__class__.__name__, ex)) | |
RuntimeError: Error calling verify_large_data from class CouchdbHelper - Error calling verify_large_data from class CouchdbHelper: 'user' | |
====================================================================== | |
ERROR: proboscis.case.MethodTest (backup_create_completed) | |
---------------------------------------------------------------------- | |
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/backup_group.py", line 95, in backup_create_completed | |
self.test_runner.run_backup_create_completed() | |
File "/opt/stack/trove/trove/tests/scenario/runners/backup_runners.py", line 157, in run_backup_create_completed | |
self._verify_backup(self.backup_info.id) | |
File "/opt/stack/trove/trove/tests/scenario/runners/backup_runners.py", line 169, in _verify_backup | |
poll_until(_result_is_active, time_out=self.TIMEOUT_BACKUP_CREATE) | |
File "/opt/stack/trove/trove/common/utils.py", line 216, in poll_until | |
sleep_time=sleep_time, time_out=time_out).wait() | |
File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 121, in wait | |
return hubs.get_hub().switch() | |
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 294, in switch | |
return self.greenlet.switch() | |
File "/usr/local/lib/python2.7/dist-packages/oslo_service/loopingcall.py", line 136, in _run_loop | |
result = func(*self.args, **self.kw) | |
File "/opt/stack/trove/trove/common/utils.py", line 196, in poll_and_check | |
obj = retriever() | |
File "/opt/stack/trove/trove/tests/scenario/runners/backup_runners.py", line 161, in _result_is_active | |
backup = self.auth_client.backups.get(backup_id) | |
File "/opt/stack/python-troveclient/troveclient/v1/backups.py", line 39, in get | |
"backup") | |
File "/opt/stack/python-troveclient/troveclient/base.py", line 169, in _get | |
resp, body = self.api.client.get(url) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 237, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 231, in _cs_request | |
return request() | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 221, in request | |
**kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 209, in _time_request | |
resp, body = self.request(url, method, **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 187, in request | |
raise exceptions.from_response(resp, body) | |
NotFound: Resource 00595a55-5997-4875-bd8e-2d76cb5b3d4c cannot be found. (HTTP 404) | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/backups/00595a55-5997-4875-bd8e-2d76cb5b3d4c -X GET -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: 12b14a24efd840b097d0d66f8043a54a" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:10:43 GMT', 'status': '404', 'content-length': '108', 'content-type': 'application/json; charset=UTF-8'} {"itemNotFound": {"message": "Resource 00595a55-5997-4875-bd8e-2d76cb5b3d4c cannot be found.", "code": 404}} | |
oslo.service.loopingcall: ERROR: Fixed interval looping call 'trove.common.utils.poll_and_check' failed | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/oslo_service/loopingcall.py", line 136, in _run_loop | |
result = func(*self.args, **self.kw) | |
File "/opt/stack/trove/trove/common/utils.py", line 196, in poll_and_check | |
obj = retriever() | |
File "/opt/stack/trove/trove/tests/scenario/runners/backup_runners.py", line 161, in _result_is_active | |
backup = self.auth_client.backups.get(backup_id) | |
File "/opt/stack/python-troveclient/troveclient/v1/backups.py", line 39, in get | |
"backup") | |
File "/opt/stack/python-troveclient/troveclient/base.py", line 169, in _get | |
resp, body = self.api.client.get(url) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 237, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 231, in _cs_request | |
return request() | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 221, in request | |
**kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 209, in _time_request | |
resp, body = self.request(url, method, **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 187, in request | |
raise exceptions.from_response(resp, body) | |
NotFound: Resource 00595a55-5997-4875-bd8e-2d76cb5b3d4c cannot be found. (HTTP 404) | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: proboscis.case.MethodTest (create_databases) | |
---------------------------------------------------------------------- | |
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 43, in create_databases | |
self.test_runner.run_databases_create() | |
File "/opt/stack/trove/trove/tests/scenario/runners/database_actions_runners.py", line 44, in run_databases_create | |
self.instance_info.id, databases, expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/database_actions_runners.py", line 50, in assert_databases_create | |
self.auth_client.databases.create(instance_id, serial_databases_def) | |
File "/opt/stack/python-troveclient/troveclient/v1/databases.py", line 39, in create | |
resp, body = self.api.client.post(url, body=body) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 243, in post | |
return self._cs_request(url, 'POST', **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 231, in _cs_request | |
return request() | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 221, in request | |
**kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 209, in _time_request | |
resp, body = self.request(url, method, **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 187, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: An error occurred communicating with the guest: Unexpected error while running command. | |
Command: curl -X GET http://os_admin:9hchKwQyducNxjUfCNUvQVmuapQdFtpzrZ8q@localhost:5984/_all_dbs | |
Exit code: 7 | |
Stdout: u'' | |
Stderr: u' % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 5984: Connection refused\n'. (HTTP 400) | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/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: 0da9076c046a490b9f8bab1b8ba6db34" | |
troveclient.compat.client: DEBUG: REQ BODY: {"databases": [{"name": "db1"}, {"name": "db2"}, {"name": "db3"}]} | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:10:56 GMT', 'status': '400', 'content-length': '587', 'content-type': 'application/json; charset=UTF-8'} {"badRequest": {"message": "An error occurred communicating with the guest: Unexpected error while running command.\nCommand: curl -X GET http://os_admin:9hchKwQyducNxjUfCNUvQVmuapQdFtpzrZ8q@localhost:5984/_all_dbs\nExit code: 7\nStdout: u''\nStderr: u' % Total % Received % Xferd Average Speed Time Time Time Current\\n Dload Upload Total Spent Left Speed\\n\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 5984: Connection refused\\n'.", "code": 400}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: proboscis.case.MethodTest (delete_nonexisting_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 77, in delete_nonexisting_database | |
self.test_runner.run_nonexisting_database_delete() | |
File "/opt/stack/trove/trove/tests/scenario/runners/database_actions_runners.py", line 173, in run_nonexisting_database_delete | |
self.instance_info.id, db_def['name'], expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/database_actions_runners.py", line 162, in assert_database_delete | |
for database in self.auth_client.databases.list(instance_id): | |
File "/opt/stack/python-troveclient/troveclient/v1/databases.py", line 54, in list | |
return self._paginated(url, "databases", limit, marker) | |
File "/opt/stack/python-troveclient/troveclient/base.py", line 70, in _paginated | |
resp, body = self.api.client.get(url) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 237, in get | |
return self._cs_request(url, 'GET', **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 231, in _cs_request | |
return request() | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 221, in request | |
**kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 209, in _time_request | |
resp, body = self.request(url, method, **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 187, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: An error occurred communicating with the guest: Unexpected error while running command. | |
Command: curl -X GET http://os_admin:9hchKwQyducNxjUfCNUvQVmuapQdFtpzrZ8q@localhost:5984/_all_dbs | |
Exit code: 7 | |
Stdout: u'' | |
Stderr: u' % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 5984: Connection refused\n'. (HTTP 400) | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/databases/db1rnd DELETE -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: 0da9076c046a490b9f8bab1b8ba6db34" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:10:57 GMT', 'status': '202', 'content-length': '0', 'content-type': 'application/json'} | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/databases -X GET -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: 0da9076c046a490b9f8bab1b8ba6db34" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:10:57 GMT', 'status': '400', 'content-length': '587', 'content-type': 'application/json; charset=UTF-8'} {"badRequest": {"message": "An error occurred communicating with the guest: Unexpected error while running command.\nCommand: curl -X GET http://os_admin:9hchKwQyducNxjUfCNUvQVmuapQdFtpzrZ8q@localhost:5984/_all_dbs\nExit code: 7\nStdout: u''\nStderr: u' % Total % Received % Xferd Average Speed Time Time Time Current\\n Dload Upload Total Spent Left Speed\\n\\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 5984: Connection refused\\n'.", "code": 400}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: proboscis.case.MethodTest (test_add_data) | |
---------------------------------------------------------------------- | |
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/guest_log_group.py", line 130, in test_add_data | |
self.test_runner.run_test_add_data() | |
File "/opt/stack/trove/trove/tests/scenario/runners/guest_log_runners.py", line 487, in run_test_add_data | |
self.test_helper.add_data(DataType.micro, self.get_instance_host()) | |
File "/opt/stack/trove/trove/tests/scenario/helpers/test_helper.py", line 181, in add_data | |
*args, **kwargs) | |
File "/opt/stack/trove/trove/tests/scenario/helpers/test_helper.py", line 208, in _perform_data_action | |
(data_fn_name, self.__class__.__name__, ex)) | |
RuntimeError: Error calling add_micro_data from class CouchdbHelper - Error calling add_micro_data from class CouchdbHelper: 'user' | |
-------------------- >> begin captured stdout << --------------------- | |
[REPORT] Found host 10.0.0.21 for instance 40437ac9-e458-4534-8081-9fe0b7f8eed7. | |
--------------------- >> end captured stdout << ---------------------- | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7 -X GET -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: a90029ebcfc74b7aad13585c10f79174" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:13:20 GMT', 'status': '200', 'content-length': '783', 'content-type': 'application/json', 'content-location': u'http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7'} {"instance": {"status": "ACTIVE", "updated": "2016-03-15T21:11:49", "name": "TEST_1cb840c7-a4f4-45da-8d95-6cd92bc74682", "links": [{"href": "https://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7", "rel": "self"}, {"href": "https://192.168.121.53:8779/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7", "rel": "bookmark"}], "created": "2016-03-15T21:08:06", "ip": ["10.0.0.21"], "id": "40437ac9-e458-4534-8081-9fe0b7f8eed7", "volume": {"used": 0.01, "size": 1}, "flavor": {"id": "10", "links": [{"href": "https://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/flavors/10", "rel": "self"}, {"href": "https://192.168.121.53:8779/flavors/10", "rel": "bookmark"}]}, "datastore": {"version": "1.6.1", "type": "couchdb"}}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: proboscis.case.MethodTest (test_verify_data) | |
---------------------------------------------------------------------- | |
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/guest_log_group.py", line 135, in test_verify_data | |
self.test_runner.run_test_verify_data() | |
File "/opt/stack/trove/trove/tests/scenario/runners/guest_log_runners.py", line 490, in run_test_verify_data | |
self.test_helper.verify_data(DataType.micro, self.get_instance_host()) | |
File "/opt/stack/trove/trove/tests/scenario/helpers/test_helper.py", line 197, in verify_data | |
*args, **kwargs) | |
File "/opt/stack/trove/trove/tests/scenario/helpers/test_helper.py", line 208, in _perform_data_action | |
(data_fn_name, self.__class__.__name__, ex)) | |
RuntimeError: Error calling verify_micro_data from class CouchdbHelper - Error calling verify_micro_data from class CouchdbHelper: 'user' | |
-------------------- >> begin captured stdout << --------------------- | |
[REPORT] Found host 10.0.0.21 for instance 40437ac9-e458-4534-8081-9fe0b7f8eed7. | |
--------------------- >> end captured stdout << ---------------------- | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7 -X GET -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: a90029ebcfc74b7aad13585c10f79174" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:13:21 GMT', 'status': '200', 'content-length': '783', 'content-type': 'application/json', 'content-location': u'http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7'} {"instance": {"status": "ACTIVE", "updated": "2016-03-15T21:11:49", "name": "TEST_1cb840c7-a4f4-45da-8d95-6cd92bc74682", "links": [{"href": "https://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7", "rel": "self"}, {"href": "https://192.168.121.53:8779/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7", "rel": "bookmark"}], "created": "2016-03-15T21:08:06", "ip": ["10.0.0.21"], "id": "40437ac9-e458-4534-8081-9fe0b7f8eed7", "volume": {"used": 0.01, "size": 1}, "flavor": {"id": "10", "links": [{"href": "https://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/flavors/10", "rel": "self"}, {"href": "https://192.168.121.53:8779/flavors/10", "rel": "bookmark"}]}, "datastore": {"version": "1.6.1", "type": "couchdb"}}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: proboscis.case.MethodTest (test_add_data_again) | |
---------------------------------------------------------------------- | |
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/guest_log_group.py", line 160, in test_add_data_again | |
self.test_runner.run_test_add_data_again() | |
File "/opt/stack/trove/trove/tests/scenario/runners/guest_log_runners.py", line 547, in run_test_add_data_again | |
self.test_helper.add_data(DataType.micro2, self.get_instance_host()) | |
File "/opt/stack/trove/trove/tests/scenario/helpers/test_helper.py", line 181, in add_data | |
*args, **kwargs) | |
File "/opt/stack/trove/trove/tests/scenario/helpers/test_helper.py", line 208, in _perform_data_action | |
(data_fn_name, self.__class__.__name__, ex)) | |
RuntimeError: Error calling add_micro2_data from class CouchdbHelper - Error calling add_micro2_data from class CouchdbHelper: 'user' | |
-------------------- >> begin captured stdout << --------------------- | |
[REPORT] Found host 10.0.0.21 for instance 40437ac9-e458-4534-8081-9fe0b7f8eed7. | |
--------------------- >> end captured stdout << ---------------------- | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7 -X GET -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: a90029ebcfc74b7aad13585c10f79174" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:13:21 GMT', 'status': '200', 'content-length': '783', 'content-type': 'application/json', 'content-location': u'http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7'} {"instance": {"status": "ACTIVE", "updated": "2016-03-15T21:11:49", "name": "TEST_1cb840c7-a4f4-45da-8d95-6cd92bc74682", "links": [{"href": "https://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7", "rel": "self"}, {"href": "https://192.168.121.53:8779/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7", "rel": "bookmark"}], "created": "2016-03-15T21:08:06", "ip": ["10.0.0.21"], "id": "40437ac9-e458-4534-8081-9fe0b7f8eed7", "volume": {"used": 0.01, "size": 1}, "flavor": {"id": "10", "links": [{"href": "https://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/flavors/10", "rel": "self"}, {"href": "https://192.168.121.53:8779/flavors/10", "rel": "bookmark"}]}, "datastore": {"version": "1.6.1", "type": "couchdb"}}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: proboscis.case.MethodTest (test_verify_data_again) | |
---------------------------------------------------------------------- | |
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/guest_log_group.py", line 165, in test_verify_data_again | |
self.test_runner.run_test_verify_data_again() | |
File "/opt/stack/trove/trove/tests/scenario/runners/guest_log_runners.py", line 550, in run_test_verify_data_again | |
self.test_helper.verify_data(DataType.micro2, self.get_instance_host()) | |
File "/opt/stack/trove/trove/tests/scenario/helpers/test_helper.py", line 197, in verify_data | |
*args, **kwargs) | |
File "/opt/stack/trove/trove/tests/scenario/helpers/test_helper.py", line 208, in _perform_data_action | |
(data_fn_name, self.__class__.__name__, ex)) | |
RuntimeError: Error calling verify_micro2_data from class CouchdbHelper - Error calling verify_micro2_data from class CouchdbHelper: 'user' | |
-------------------- >> begin captured stdout << --------------------- | |
[REPORT] Found host 10.0.0.21 for instance 40437ac9-e458-4534-8081-9fe0b7f8eed7. | |
--------------------- >> end captured stdout << ---------------------- | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7 -X GET -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: a90029ebcfc74b7aad13585c10f79174" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:13:22 GMT', 'status': '200', 'content-length': '783', 'content-type': 'application/json', 'content-location': u'http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7'} {"instance": {"status": "ACTIVE", "updated": "2016-03-15T21:11:49", "name": "TEST_1cb840c7-a4f4-45da-8d95-6cd92bc74682", "links": [{"href": "https://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7", "rel": "self"}, {"href": "https://192.168.121.53:8779/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7", "rel": "bookmark"}], "created": "2016-03-15T21:08:06", "ip": ["10.0.0.21"], "id": "40437ac9-e458-4534-8081-9fe0b7f8eed7", "volume": {"used": 0.01, "size": 1}, "flavor": {"id": "10", "links": [{"href": "https://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/flavors/10", "rel": "self"}, {"href": "https://192.168.121.53:8779/flavors/10", "rel": "bookmark"}]}, "datastore": {"version": "1.6.1", "type": "couchdb"}}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: proboscis.case.MethodTest (disable_root_before_enabled) | |
---------------------------------------------------------------------- | |
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/root_actions_group.py", line 42, in disable_root_before_enabled | |
self.test_runner.run_disable_root_before_enabled() | |
File "/opt/stack/trove/trove/tests/scenario/runners/root_actions_runners.py", line 48, in run_disable_root_before_enabled | |
self.instance_info.id, expected_exception, expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/root_actions_runners.py", line 53, in assert_root_disable_failure | |
self.auth_client.root.delete, instance_id) | |
File "/opt/stack/trove/trove/tests/scenario/runners/test_runners.py", line 210, in assert_raises | |
*cmd_args, **cmd_kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/proboscis/asserts.py", line 181, in assert_raises | |
exception_type) | |
File "/usr/local/lib/python2.7/dist-packages/proboscis/compatability/exceptions_2_6.py", line 19, in capture_exception | |
body_func() | |
File "/usr/local/lib/python2.7/dist-packages/proboscis/asserts.py", line 180, in <lambda> | |
lambda : function(*args, **kwargs), | |
File "/opt/stack/python-troveclient/troveclient/v1/root.py", line 63, in delete | |
self.disable_instance_root(instance) | |
File "/opt/stack/python-troveclient/troveclient/v1/root.py", line 67, in disable_instance_root | |
self._disable_root(self.instances_url % base.getid(instance)) | |
File "/opt/stack/python-troveclient/troveclient/v1/root.py", line 70, in _disable_root | |
resp, body = self.api.client.delete(url) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 249, in delete | |
return self._cs_request(url, 'DELETE', **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 231, in _cs_request | |
return request() | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 221, in request | |
**kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 209, in _time_request | |
resp, body = self.request(url, method, **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 187, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: The server could not comply with the request since it is either malformed or otherwise incorrect. (HTTP 400) | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/root DELETE -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: 8eaa4485ab64468ab9db14d949dd0e50" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:18:37 GMT', 'status': '400', 'content-length': '141', 'content-type': 'application/json; charset=UTF-8'} {"badRequest": {"message": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "code": 400}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: proboscis.case.MethodTest (enable_root_with_password) | |
---------------------------------------------------------------------- | |
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/root_actions_group.py", line 75, in enable_root_with_password | |
self.test_runner.run_enable_root_with_password() | |
File "/opt/stack/trove/trove/tests/scenario/runners/root_actions_runners.py", line 81, in run_enable_root_with_password | |
self.instance_info.id, password, expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/root_actions_runners.py", line 63, in assert_root_create | |
instance_id, root_password) | |
File "/opt/stack/python-troveclient/troveclient/v1/root.py", line 38, in create_instance_root | |
root_password) | |
File "/opt/stack/python-troveclient/troveclient/v1/root.py", line 52, in _enable_root | |
body={"password": root_password}) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 243, in post | |
return self._cs_request(url, 'POST', **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 231, in _cs_request | |
return request() | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 221, in request | |
**kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 209, in _time_request | |
resp, body = self.request(url, method, **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 187, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: An error occurred communicating with the guest: enable_root_with_password() got an unexpected keyword argument 'root_password' | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply | |
incoming.message)) | |
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _dispatch | |
return self._do_dispatch(endpoint, method, ctxt, args) | |
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch | |
result = func(ctxt, **new_args) | |
File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 117, in wrapper | |
return f(*args, **kwargs) | |
TypeError: enable_root_with_password() got an unexpected keyword argument 'root_password' | |
. (HTTP 400) | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/root -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: 8eaa4485ab64468ab9db14d949dd0e50" | |
troveclient.compat.client: DEBUG: REQ BODY: {"password": "RootTestPass"} | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:18:42 GMT', 'status': '400', 'content-length': '895', 'content-type': 'application/json; charset=UTF-8'} {"badRequest": {"message": "An error occurred communicating with the guest: enable_root_with_password() got an unexpected keyword argument 'root_password'\nTraceback (most recent call last):\n\n File \"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py\", line 138, in _dispatch_and_reply\n incoming.message))\n\n File \"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py\", line 183, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n\n File \"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py\", line 127, in _do_dispatch\n result = func(ctxt, **new_args)\n\n File \"/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py\", line 117, in wrapper\n return f(*args, **kwargs)\n\nTypeError: enable_root_with_password() got an unexpected keyword argument 'root_password'\n.", "code": 400}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: proboscis.case.MethodTest (disable_root) | |
---------------------------------------------------------------------- | |
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/root_actions_group.py", line 86, in disable_root | |
self.test_runner.run_disable_root() | |
File "/opt/stack/trove/trove/tests/scenario/runners/root_actions_runners.py", line 87, in run_disable_root | |
self.assert_root_disable(self.instance_info.id, expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/root_actions_runners.py", line 90, in assert_root_disable | |
self.auth_client.root.delete(instance_id) | |
File "/opt/stack/python-troveclient/troveclient/v1/root.py", line 63, in delete | |
self.disable_instance_root(instance) | |
File "/opt/stack/python-troveclient/troveclient/v1/root.py", line 67, in disable_instance_root | |
self._disable_root(self.instances_url % base.getid(instance)) | |
File "/opt/stack/python-troveclient/troveclient/v1/root.py", line 70, in _disable_root | |
resp, body = self.api.client.delete(url) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 249, in delete | |
return self._cs_request(url, 'DELETE', **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 231, in _cs_request | |
return request() | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 221, in request | |
**kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 209, in _time_request | |
resp, body = self.request(url, method, **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 187, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: The server could not comply with the request since it is either malformed or otherwise incorrect. (HTTP 400) | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/root DELETE -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: 8eaa4485ab64468ab9db14d949dd0e50" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:18:43 GMT', 'status': '400', 'content-length': '141', 'content-type': 'application/json; charset=UTF-8'} {"badRequest": {"message": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "code": 400}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
ERROR: proboscis.case.MethodTest (module_apply) | |
---------------------------------------------------------------------- | |
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/module_group.py", line 351, in module_apply | |
self.test_runner.run_module_apply() | |
File "/opt/stack/trove/trove/tests/scenario/runners/module_runners.py", line 751, in run_module_apply | |
self.main_test_module) | |
File "/opt/stack/trove/trove/tests/scenario/runners/module_runners.py", line 758, in assert_module_apply | |
instance_id, [module.id]) | |
File "/opt/stack/python-troveclient/troveclient/v1/instances.py", line 315, in module_apply | |
resp, body = self.api.client.post(url, body=body) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 243, in post | |
return self._cs_request(url, 'POST', **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 231, in _cs_request | |
return request() | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 221, in request | |
**kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 209, in _time_request | |
resp, body = self.request(url, method, **kwargs) | |
File "/opt/stack/python-troveclient/troveclient/compat/client.py", line 187, in request | |
raise exceptions.from_response(resp, body) | |
BadRequest: An error occurred communicating with the guest: No driver implemented for module type 'ping' | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply | |
incoming.message)) | |
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _dispatch | |
return self._do_dispatch(endpoint, method, ctxt, args) | |
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch | |
result = func(ctxt, **new_args) | |
File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 117, in wrapper | |
return f(*args, **kwargs) | |
File "/home/vagrant/trove/trove/guestagent/datastore/manager.py", line 649, in module_apply | |
module_type) | |
ModuleTypeNotFound: No driver implemented for module type 'ping' | |
. (HTTP 400) | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/modules -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: 70e3ae233598479e904e575e7f695f79" | |
troveclient.compat.client: DEBUG: REQ BODY: {"modules": [{"id": "155137d2-a4d5-4ec2-809e-042b21df26e4"}]} | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:23:50 GMT', 'status': '400', 'content-length': '953', 'content-type': 'application/json; charset=UTF-8'} {"badRequest": {"message": "An error occurred communicating with the guest: No driver implemented for module type 'ping'\nTraceback (most recent call last):\n\n File \"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py\", line 138, in _dispatch_and_reply\n incoming.message))\n\n File \"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py\", line 183, in _dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n\n File \"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py\", line 127, in _do_dispatch\n result = func(ctxt, **new_args)\n\n File \"/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py\", line 117, in wrapper\n return f(*args, **kwargs)\n\n File \"/home/vagrant/trove/trove/guestagent/datastore/manager.py\", line 649, in module_apply\n module_type)\n\nModuleTypeNotFound: No driver implemented for module type 'ping'\n.", "code": 400}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
FAIL: proboscis.case.MethodTest (restore_instance_from_not_completed_backup) | |
---------------------------------------------------------------------- | |
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/backup_group.py", line 67, in restore_instance_from_not_completed_backup | |
self.test_runner.run_restore_instance_from_not_completed_backup() | |
File "/opt/stack/trove/trove/tests/scenario/runners/backup_runners.py", line 131, in run_restore_instance_from_not_completed_backup | |
self._restore_from_backup, self.backup_info.id) | |
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.Conflict'> to be raised. | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances -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: 12b14a24efd840b097d0d66f8043a54a" | |
troveclient.compat.client: DEBUG: REQ BODY: {"instance": {"volume": {"size": 1}, "restorePoint": {"backupRef": "00595a55-5997-4875-bd8e-2d76cb5b3d4c"}, "flavorRef": "https://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/flavors/10", "name": "TEST_1cb840c7-a4f4-45da-8d95-6cd92bc74682_restore", "datastore": {"version": "1.6.1", "type": "couchdb"}}} | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:10:41 GMT', 'status': '200', 'content-length': '755', 'content-type': 'application/json'} {"instance": {"status": "BUILD", "updated": "2016-03-15T21:10:40", "name": "TEST_1cb840c7-a4f4-45da-8d95-6cd92bc74682_restore", "links": [{"href": "https://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/a637b525-a6d0-4024-a5a1-dc321641bcd1", "rel": "self"}, {"href": "https://192.168.121.53:8779/instances/a637b525-a6d0-4024-a5a1-dc321641bcd1", "rel": "bookmark"}], "created": "2016-03-15T21:10:40", "id": "a637b525-a6d0-4024-a5a1-dc321641bcd1", "volume": {"size": 1}, "flavor": {"id": "10", "links": [{"href": "https://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/flavors/10", "rel": "self"}, {"href": "https://192.168.121.53:8779/flavors/10", "rel": "bookmark"}]}, "datastore": {"version": "1.6.1", "type": "couchdb"}}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
FAIL: proboscis.case.MethodTest (instance_action_right_after_backup_create) | |
---------------------------------------------------------------------- | |
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/backup_group.py", line 74, in instance_action_right_after_backup_create | |
self.test_runner.run_instance_action_right_after_backup_create() | |
File "/opt/stack/trove/trove/tests/scenario/runners/backup_runners.py", line 138, in run_instance_action_right_after_backup_create | |
self.instance_info.id, 1) | |
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.UnprocessableEntity'> to be raised. | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/action -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: 12b14a24efd840b097d0d66f8043a54a" | |
troveclient.compat.client: DEBUG: REQ BODY: {"resize": {"flavorRef": 1}} | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:10:41 GMT', 'status': '202', 'content-length': '0', 'content-type': 'application/json'} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
FAIL: proboscis.case.MethodTest (backup_delete_while_backup_running) | |
---------------------------------------------------------------------- | |
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/backup_group.py", line 88, in backup_delete_while_backup_running | |
self.test_runner.run_backup_delete_while_backup_running() | |
File "/opt/stack/trove/trove/tests/scenario/runners/backup_runners.py", line 154, in run_backup_delete_while_backup_running | |
self.auth_client.backups.delete, backup.id) | |
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.UnprocessableEntity'> to be raised. | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/backups -X GET -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: 12b14a24efd840b097d0d66f8043a54a" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:10:42 GMT', 'status': '200', 'content-length': '553', 'content-type': 'application/json', 'content-location': u'http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/backups'} {"backups": [{"status": "COMPLETED", "updated": "2016-03-15T21:10:40", "description": "test description", "datastore": {"version": "1.6.1", "type": "couchdb", "version_id": "bce08122-ae5e-4eb9-9385-6bae29070f72"}, "id": "00595a55-5997-4875-bd8e-2d76cb5b3d4c", "size": 0.01, "name": "backup_test", "created": "2016-03-15T21:10:39", "instance_id": "40437ac9-e458-4534-8081-9fe0b7f8eed7", "parent_id": null, "locationRef": "http://192.168.121.53:8080/v1/AUTH_ba331f71a50c496095ef57ac20fe515f/database_backups/00595a55-5997-4875-bd8e-2d76cb5b3d4c.gz.enc"}]} | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/backups/00595a55-5997-4875-bd8e-2d76cb5b3d4c DELETE -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: 12b14a24efd840b097d0d66f8043a54a" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:10:43 GMT', 'status': '202', 'content-length': '0', 'content-type': 'application/json'} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
FAIL: proboscis.case.MethodTest (delete_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 87, in delete_system_database | |
self.test_runner.run_system_database_delete() | |
File "/opt/stack/trove/trove/tests/scenario/runners/database_actions_runners.py", line 186, in run_system_database_delete | |
expected_exception, expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/database_actions_runners.py", line 193, in assert_database_delete_failure | |
instance_id, database_name) | |
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/40437ac9-e458-4534-8081-9fe0b7f8eed7/databases/_users DELETE -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: 0da9076c046a490b9f8bab1b8ba6db34" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:10:58 GMT', 'status': '202', 'content-length': '0', 'content-type': 'application/json'} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
FAIL: proboscis.case.MethodTest (check_root_enabled_after_restore) | |
---------------------------------------------------------------------- | |
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/root_actions_group.py", line 103, in check_root_enabled_after_restore | |
self.test_runner.run_check_root_enabled_after_restore(instance_id) | |
File "/opt/stack/trove/trove/tests/scenario/runners/root_actions_runners.py", line 112, in run_check_root_enabled_after_restore | |
self.assert_root_enabled(restored_instance_id, expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/root_actions_runners.py", line 75, in assert_root_enabled | |
"The root has not been enabled on the " | |
File "/opt/stack/trove/trove/tests/scenario/runners/root_actions_runners.py", line 42, in _assert_root_state | |
self.assert_equal(expected_state, actual_state, message) | |
File "/opt/stack/trove/trove/tests/scenario/runners/test_runners.py", line 133, in assert_equal | |
asserts.assert_equal(expected, actual, message=message) | |
AssertionError: The root has not been enabled on the instance yet.: 'False' (expected 'True'). | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/c7b4fa8e-814e-4d4b-a4e4-90a18217cc31/root -X GET -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: 8eaa4485ab64468ab9db14d949dd0e50" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:20:43 GMT', 'status': '200', 'content-length': '22', 'content-type': 'application/json', 'content-location': u'http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/c7b4fa8e-814e-4d4b-a4e4-90a18217cc31/root'} {"rootEnabled": false} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
FAIL: proboscis.case.MethodTest (show_user) | |
---------------------------------------------------------------------- | |
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/user_actions_group.py", line 58, in show_user | |
self.test_runner.run_user_show() | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 59, in run_user_show | |
self.instance_info.id, user_def, expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 69, in assert_user_show | |
self._assert_user_matches(queried_user, expected_user_def) | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 77, in _assert_user_matches | |
"Mismatch of databases for user: %s" % user_name) | |
File "/opt/stack/trove/trove/tests/scenario/runners/test_runners.py", line 122, in assert_list_elements_equal | |
return cls.assert_equal(sorted(expected), sorted(actual), message) | |
File "/opt/stack/trove/trove/tests/scenario/runners/test_runners.py", line 133, in assert_equal | |
asserts.assert_equal(expected, actual, message=message) | |
AssertionError: Mismatch of databases for user: user2: '[{'name': 'db1'}]' (expected '[]'). | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user1%40127%2e0%2e0%2e1 -X GET -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: 5eccdf7faba14a7f892ad46d8a67e1b0" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:21:40 GMT', 'status': '200', 'content-length': '58', 'content-type': 'application/json', 'content-location': u'http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user1%40127%2e0%2e0%2e1'} {"user": {"host": null, "name": "user1", "databases": []}} | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user2%400%2e0%2e0%2e0 -X GET -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: 5eccdf7faba14a7f892ad46d8a67e1b0" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:21:41 GMT', 'status': '200', 'content-length': '58', 'content-type': 'application/json', 'content-location': u'http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user2%400%2e0%2e0%2e0'} {"user": {"host": null, "name": "user2", "databases": []}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
FAIL: proboscis.case.MethodTest (list_users) | |
---------------------------------------------------------------------- | |
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/user_actions_group.py", line 64, in list_users | |
self.test_runner.run_users_list() | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 81, in run_users_list | |
self.instance_info.id, self.user_defs, expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 97, in assert_users_list | |
self._assert_user_matches(listed_users[user_name], user_def) | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 77, in _assert_user_matches | |
"Mismatch of databases for user: %s" % user_name) | |
File "/opt/stack/trove/trove/tests/scenario/runners/test_runners.py", line 122, in assert_list_elements_equal | |
return cls.assert_equal(sorted(expected), sorted(actual), message) | |
File "/opt/stack/trove/trove/tests/scenario/runners/test_runners.py", line 133, in assert_equal | |
asserts.assert_equal(expected, actual, message=message) | |
AssertionError: Mismatch of databases for user: user2: '[{'name': 'db1'}]' (expected '[]'). | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users -X GET -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: 5eccdf7faba14a7f892ad46d8a67e1b0" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:21:42 GMT', 'status': '200', 'content-length': '157', 'content-type': 'application/json', 'content-location': u'http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users'} {"users": [{"host": "%", "name": "lite", "databases": []}, {"host": "%", "name": "user1", "databases": []}, {"host": "%", "name": "user2", "databases": []}]} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
FAIL: proboscis.case.MethodTest (update_user_with_existing_name) | |
---------------------------------------------------------------------- | |
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/user_actions_group.py", line 100, in update_user_with_existing_name | |
self.test_runner.run_user_update_with_existing_name() | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 209, in run_user_update_with_existing_name | |
expected_exception, expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 219, in assert_user_attribute_update_failure | |
user_name, update_attribites, user_host) | |
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/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user1%40127%2e0%2e0%2e1 PUT -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: 5eccdf7faba14a7f892ad46d8a67e1b0" | |
troveclient.compat.client: DEBUG: REQ BODY: {"user": {"name": "user1"}} | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:21:45 GMT', 'status': '202', 'content-length': '0', 'content-type': 'application/json'} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
FAIL: proboscis.case.MethodTest (update_user_attributes) | |
---------------------------------------------------------------------- | |
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/user_actions_group.py", line 106, in update_user_attributes | |
self.test_runner.run_user_attribute_update() | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 246, in run_user_attribute_update | |
update_attribites, expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 265, in assert_user_attribute_update | |
self.assert_users_list(instance_id, self.user_defs, 200) | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 96, in assert_users_list | |
user_name) | |
File "/opt/stack/trove/trove/tests/scenario/runners/test_runners.py", line 103, in assert_true | |
asserts.assert_true(condition, message=message) | |
AssertionError: User not included in the 'user-list' output: user1upd | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user1%40127%2e0%2e0%2e1 PUT -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: 5eccdf7faba14a7f892ad46d8a67e1b0" | |
troveclient.compat.client: DEBUG: REQ BODY: {"user": {"password": "password2", "name": "user1upd"}} | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:21:47 GMT', 'status': '202', 'content-length': '0', 'content-type': 'application/json'} | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user1upd%40127%2e0%2e0%2e1 -X GET -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: 5eccdf7faba14a7f892ad46d8a67e1b0" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:21:47 GMT', 'status': '200', 'content-length': '61', 'content-type': 'application/json', 'content-location': u'http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user1upd%40127%2e0%2e0%2e1'} {"user": {"host": null, "name": "user1upd", "databases": []}} | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users -X GET -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: 5eccdf7faba14a7f892ad46d8a67e1b0" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:21:49 GMT', 'status': '200', 'content-length': '157', 'content-type': 'application/json', 'content-location': u'http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users'} {"users": [{"host": "%", "name": "lite", "databases": []}, {"host": "%", "name": "user1", "databases": []}, {"host": "%", "name": "user2", "databases": []}]} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
FAIL: proboscis.case.MethodTest (delete_user) | |
---------------------------------------------------------------------- | |
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/user_actions_group.py", line 112, in delete_user | |
self.test_runner.run_user_delete() | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 270, in run_user_delete | |
self.instance_info.id, user_def, expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 280, in assert_user_delete | |
instance_id, user_name, user_host) | |
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.NotFound'> to be raised. | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user1upd%40127%2e0%2e0%2e1 DELETE -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: 5eccdf7faba14a7f892ad46d8a67e1b0" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:21:50 GMT', 'status': '202', 'content-length': '0', 'content-type': 'application/json'} | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user1upd%40127%2e0%2e0%2e1 -X GET -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: 5eccdf7faba14a7f892ad46d8a67e1b0" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:21:51 GMT', 'status': '200', 'content-length': '61', 'content-type': 'application/json', 'content-location': u'http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user1upd%40127%2e0%2e0%2e1'} {"user": {"host": null, "name": "user1upd", "databases": []}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
FAIL: proboscis.case.MethodTest (show_nonexisting_user) | |
---------------------------------------------------------------------- | |
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/user_actions_group.py", line 117, in show_nonexisting_user | |
self.test_runner.run_nonexisting_user_show() | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 292, in run_nonexisting_user_show | |
expected_exception, expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 300, in assert_user_show_failure | |
self.auth_client.users.get, instance_id, user_name, user_host) | |
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.NotFound'> to be raised. | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user1rnd -X GET -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: 5eccdf7faba14a7f892ad46d8a67e1b0" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:21:51 GMT', 'status': '200', 'content-length': '61', 'content-type': 'application/json', 'content-location': u'http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user1rnd'} {"user": {"host": null, "name": "user1rnd", "databases": []}} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
FAIL: proboscis.case.MethodTest (update_nonexisting_user) | |
---------------------------------------------------------------------- | |
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/user_actions_group.py", line 122, in update_nonexisting_user | |
self.test_runner.run_nonexisting_user_update() | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 321, in run_nonexisting_user_update | |
exceptions.NotFound, expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 219, in assert_user_attribute_update_failure | |
user_name, update_attribites, user_host) | |
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.NotFound'> to be raised. | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user1rnd PUT -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: 5eccdf7faba14a7f892ad46d8a67e1b0" | |
troveclient.compat.client: DEBUG: REQ BODY: {"user": {"name": "user1rnd"}} | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:21:53 GMT', 'status': '202', 'content-length': '0', 'content-type': 'application/json'} | |
--------------------- >> end captured logging << --------------------- | |
====================================================================== | |
FAIL: proboscis.case.MethodTest (delete_nonexisting_user) | |
---------------------------------------------------------------------- | |
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/user_actions_group.py", line 127, in delete_nonexisting_user | |
self.test_runner.run_nonexisting_user_delete() | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 329, in run_nonexisting_user_delete | |
expected_exception, expected_http_code) | |
File "/opt/stack/trove/trove/tests/scenario/runners/user_actions_runners.py", line 338, in assert_user_delete_failure | |
instance_id, user_name, user_host) | |
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.NotFound'> to be raised. | |
-------------------- >> begin captured logging << -------------------- | |
troveclient.compat.client: DEBUG: REQ: curl -i http://192.168.121.53:8779/v1.0/ba331f71a50c496095ef57ac20fe515f/instances/40437ac9-e458-4534-8081-9fe0b7f8eed7/users/user1rnd DELETE -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: 5eccdf7faba14a7f892ad46d8a67e1b0" | |
troveclient.compat.client: DEBUG: RESP:{'date': 'Tue, 15 Mar 2016 21:21:54 GMT', 'status': '202', 'content-length': '0', 'content-type': 'application/json'} | |
--------------------- >> end captured logging << --------------------- | |
---------------------------------------------------------------------- | |
Ran 225 tests in 989.243s | |
FAILED (SKIP=57, errors=13, failures=13) | |
Slowest 5 tests took 645.35 secs: | |
242.30 proboscis.case.MethodTest (instance_resize_flavor) | |
120.63 proboscis.case.MethodTest (wait_for_restored_instance) | |
110.82 proboscis.case.MethodTest (wait_for_instances) | |
100.78 proboscis.case.MethodTest (wait_for_instances) | |
70.82 proboscis.case.MethodTest (wait_for_instances) | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment