Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- trove-try@opw-shaifali:~/trove-integration/scripts$ gedit /etc/trove/test.conf
- The program 'gedit' is currently not installed. You can install it by typing:
- sudo apt-get install gedit
- trove-try@opw-shaifali:~/trove-integration/scripts$ vim /etc/trove/test.conf
- trove-try@opw-shaifali:~/trove-integration/scripts$ vim /etc/trove/test.conf
- trove-try@opw-shaifali:~/trove-integration/scripts$ cat /etc/trove/test.conf
- {
- "dbaas_url":"http://23.253.159.102:8779/v1.0",
- "version_url":"http://23.253.159.102:8779",
- "trove_auth_url":"http://23.253.159.102:35357/v2.0/tokens",
- "trove_client_insecure":false,
- "auth_strategy":null,
- "trove_client_region_name": null,
- "nova_client": {
- "url":"http://23.253.159.102:8774/v1.1",
- "auth_url":"http://23.253.159.102:35357/v2.0",
- "nova_service_type":"compute",
- "volume_service_type":"volume"
- },
- "flavors": null,
- "white_box":false,
- "start_services": true,
- "test_mgmt":false,
- "use_local_ovz":false,
- "use_venv":false,
- "glance_code_root":"/opt/stack/glance",
- "glance_api_conf":"/vagrant/conf/glance-api.conf",
- "glance_reg_conf":"/vagrant/conf/glance-reg.conf",
- "glance_images_directory": "/glance_images",
- "glance_image": "debian-squeeze-x86_64-openvz.tar.gz",
- "instance_flavor_name":"m1.rd-tiny",
- "instance_bigger_flavor_name":"m1.rd-smaller",
- "instance_eph_flavor_name":"eph.rd-tiny",
- "instance_bigger_eph_flavor_name":"eph.rd-smaller",
- "report_directory":"/home/trove-try/trove-integration/scripts/../report/",
- "usr_bin_dir":"/usr/local/bin",
- "nova_code_root":"/opt/stack/nova",
- "nova_conf":"/home/vagrant/nova.conf",
- "keystone_code_root":"/opt/stack/keystone",
- "keystone_conf":"/etc/keystone/keystone.conf",
- "keystone_use_combined":true,
- "trove_code_root":"/opt/stack/trove",
- "trove_conf":"/tmp/trove.conf",
- "trove_version":"v1.0",
- "trove_api_updated":"2012-08-01T00:00:00Z",
- "trove_volume_support":true,
- "trove_max_accepted_volume_size": 1000,
- "trove_max_instances_per_user": 55,
- "trove_max_volumes_per_user": 100,
- "use_reaper":false,
- "users": [
- { "auth_user":"admin",
- "auth_key":"3de4922d8b6ac5a1aad9",
- "tenant":"admin",
- "tenant_id":"6a238837ba4a42b19b1fbfc991dae04c",
- "requirements": {
- "is_admin":true,
- "services": ["trove"]
- }
- },
- { "auth_user":"alt_demo",
- "auth_key":"3de4922d8b6ac5a1aad9",
- "tenant":"alt_demo",
- "tenant_id":"b0b03841876242e2b75dd3ca57217513",
- "requirements": {
- "is_admin":false,
- "services": ["trove"]
- }
- },
- { "auth_user":"demo",
- "auth_key":"3de4922d8b6ac5a1aad9",
- "tenant":"demo",
- "tenant_id":"6eb88263e2284106822adaf0b2d7f457",
- "requirements": {
- "is_admin":false,
- "services": ["nova", "trove"]
- }
- }
- ],
- "root_removed_from_instance_api": true,
- "root_timestamp_disabled": false,
- "openvz_disabled": true,
- "management_api_disabled": true,
- "dbaas_image": 1,
- "dns_driver":"trove.dns.rsdns.driver.RsDnsDriver",
- "dns_instance_entry_factory":"trove.dns.rsdns.driver.RsDnsInstanceEntryFactory",
- "trove_dns_support": false,
- "databases_page_size": 20,
- "instances_page_size": 20,
- "users_page_size": 20,
- "rabbit_runs_locally": true,
- "dbaas_datastore": "mysql",
- "dbaas_datastore_version": "5.5",
- "neutron_enabled": false,
- "shared_network": "%shared_network%",
- "shared_network_subnet": "%shared_network_subnet%", "sentinel": null
- }
- trove-try@opw-shaifali:~/trove-integration/scripts$
- trove-try@opw-shaifali:~/trove-integration/scripts$ ./redstack int-tests
- *******************************************************************************
- Running Trove Integration Tests...
- *******************************************************************************
- python -B /home/trove-try/trove-integration/scripts/../tests//integration/int_tests.py --verbose --logging-clear-handlers --group=blackbox
- RUNNING TEST ARGS : ['/home/trove-try/trove-integration/scripts/../tests//integration/int_tests.py', '--verbose', '--logging-clear-handlers', '--group=blackbox']
- 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 0x4232310>, <nose.plugins.logcapture.LogCapture object at 0x4232350>, <nose.plugins.deprecated.Deprecated object at 0x4232750>, <nose.plugins.skip.Skip object at 0x45f41d0>]
- No handlers could be found for logger "nose.core"
- start_glance_registry
- Starts the Glance Registry.
- Starts the Glance Registry. OK 1.05
- start_glance_api
- Starts the Glance API.
- Starts the Glance API. OK 1.04
- start_nova_network
- Starts the Nova Network Service.
- Starts the Nova Network Service. OK 1.04
- start_compute
- Starts the Nova Compute Service.
- Starts the Nova Compute Service. OK 1.04
- start_scheduler
- Starts the Scheduler Service.
- Starts the Scheduler Service. OK 1.04
- start_nova_api
- Starts the Nova Compute Service.
- Starts the Nova Compute Service. OK 1.04
- start_trove_api
- Starts the Trove Service.
- Starts the Trove Service. OK 1.04
- InstanceSetup
- Makes sure the client can hit the ReST service.
- Sets up the client. OK 0.20
- create_instance_name OK 0.00
- test_find_flavor OK 0.15
- Datastores
- setUp OK 0.18
- test_datastore_get OK 0.09
- test_datastore_list_attrs OK 0.01
- test_datastore_not_found OK 0.01
- test_datastore_with_no_active_versions_is_hidden OK 0.01
- test_datastore_with_no_active_versions_is_visible_for_admin OK 0.07
- DatastoreVersions
- setUp OK 0.17
- test_datastore_version_get_attrs OK 0.02
- test_datastore_version_get_by_uuid OK 0.01
- test_datastore_version_get_by_uuid_attrs OK 0.01
- test_datastore_version_invalid_uuid OK 0.01
- test_datastore_version_list_attrs OK 0.01
- test_datastore_version_list_by_uuid OK 0.01
- test_datastore_version_not_found OK 0.02
- Flavors
- setUp OK 0.26
- confirm_flavors_lists_nearly_identical OK 0.24
- test_flavor_get_attrs OK 0.03
- test_flavor_list_attrs OK 0.09
- test_flavor_not_found OK 0.01
- Versions
- Test listing all versions and verify the current version.
- Sets up the client. OK 0.09
- test_list_versions_index OK 0.00
- test_no_slash_no_version OK 0.00
- test_no_slash_with_version OK 0.00
- test_request_bogus_version OK 0.00
- test_request_no_version OK 0.00
- test_with_slash_no_version OK 0.00
- test_with_slash_with_version OK 0.00
- CreateInstanceQuotaTest
- test_create_instances_total_volume_exceeded OK 0.14
- test_create_too_many_instances OK 0.07
- test_instance_size_too_big OK 0.05
- test_update_quota_invalid_resource_should_fail OK 0.03
- test_update_quota_volume_should_fail_volume_not_supported SKIP: Volume support needs to be disabled
- CreateInstance
- Test to create a Database Instance
- test_create OK 0.28
- AfterInstanceCreation
- test_database_create_after_create OK 0.07
- test_database_delete_after_create OK 0.02
- test_database_index_after_create OK 0.02
- test_instance_delete_right_after_create OK 0.06
- test_resize_instance_after_create OK 0.02
- test_resize_volume_after_create OK 0.02
- test_root_create_root_user_after_create OK 0.02
- test_root_is_root_enabled_after_create OK 0.02
- test_users_create_after_create OK 0.17
- test_users_delete_after_create OK 0.02
- test_users_index_after_create OK 0.02
- WaitForGuestInstallationToFinish
- test_instance_created OK 274.47
- SecurityGroupsTest
- setUp OK 0.02
- test_created_security_group OK 0.00
- test_get_security_group OK 0.01
- test_list_security_group OK 0.02
- SecurityGroupsRulesTest
- setUp OK 0.02
- test_create_security_group_rule OK 1.12
- test_delete_security_group_rule OK 1.11
- tearDown OK 0.00
- TestGuestProcess
- check_hwinfo_before_tests OK 0.00
- grab_diagnostics_before_tests OK 0.00
- TestAfterInstanceCreatedGuestData
- test_databases OK 0.50
- test_users OK 0.50
- TestInstanceListing
- Test the listing of the instance information.
- setUp OK 0.13
- test_get_instance OK 0.40
- test_get_instance_status OK 0.25
- test_get_legacy_status OK 0.25
- test_get_legacy_status_notfound OK 0.01
- test_index_list OK 0.08
- test_volume_found OK 0.26
- TestInstanceUpdate
- Test the updation of the instance information.
- setUp OK 0.10
- test_update_name OK 0.55
- test_update_name_to_invalid_instance OK 0.01
- TestMysqlAccess
- Ensure we aren't allowed access with os_admin and wrong password.OK 0.95
- Ensure we aren't allowed access with root and wrong password.OK 0.53
- TestDatabases
- setUp OK 0.18
- test_cannot_create_taboo_database_names OK 0.08
- test_create_database OK 5.72
- test_create_database_list OK 0.60
- test_delete_database OK 5.58
- test_cannot_delete_taboo_database_names OK 0.02
- test_delete_database_on_missing_instance OK 0.01
- test_fails_when_creating_a_db_twice OK 0.69
- test_create_database_list_system OK 0.51
- test_create_database_on_missing_instance OK 0.01
- test_database_name_too_long OK 0.01
- test_invalid_database_name OK 0.01
- test_pagination OK 7.45
- TestUsers
- setUp OK 6.01
- test_cannot_change_rootpassword OK 0.22
- test_create_users OK 11.01
- test_create_users_list OK 1.00
- test_cannot_create_root_user OK 0.16
- test_create_users_list_system OK 1.05
- test_get_one_user OK 3.00
- test_fails_when_creating_user_twice OK 0.88
- test_delete_users OK 8.11
- test_hostnames_default_if_not_present OK 1.61
- test_hostnames_make_users_unique OK 1.94
- test_hostname_ipv4_restriction OK 0.16
- test_delete_nonexistent_user OK 0.28
- test_invalid_password OK 0.16
- test_invalid_username OK 0.16
- test_pagination OK 12.34
- test_updateduser_name_newhost_unique OK 3.43
- test_updateduser_newhost_invalid OK 2.57
- test_updateduser_newname_host_unique OK 3.43
- test_updateduser_newname_newhost_unique OK 3.55
- test_updateuser_emptyhost OK 1.16
- test_updateuser_nochanges OK 1.17
- test_username_too_long OK 0.08
- tearDown OK 0.15
- TestRoot
- setUp OK 0.18
- test_create_user_os_admin_failure OK 0.22
- test_delete_user_os_admin_failure OK 0.01
- Test that root is disabled. OK 0.13
- test_enable_root OK 0.50
- test_enabled_timestamp OK 0.00
- Even if root was enabled, the user root cannot be deleted. OK 0.01
- test_root_not_in_users_list OK 3.58
- Test that root is now enabled. OK 0.07
- test_reset_root OK 0.51
- Test that after root was reset it's still enabled. OK 0.07
- Verifies in the management api that the timestamp exists. OK 0.07
- TestUserAccessPasswordChange
- setUp OK 0.09
- test_change_password_bogus_user OK 0.14
- test_change_password_nonexistent_user OK 0.49
- test_create_user_and_dbs OK 1.97
- test_initial_connection OK 0.53
- test_change_password OK 1.27
- test_change_password_back OK 2.52
- test_change_password_twice OK 2.30
- tearDown OK 1.05
- TestUserAccessPositive
- setUp OK 0.09
- test_create_user_and_dbs OK 2.03
- test_no_access OK 8.07
- test_grant_full_access OK 9.61
- test_grant_ghostdbs OK 20.57
- test_grant_ghostusers OK 8.29
- test_grant_idempotence OK 12.72
- test_revoke_all_access OK 15.58
- test_revoke_ghostdbs OK 20.99
- test_revoke_ghostusers OK 8.06
- test_revoke_non_idempotence OK 13.62
- test_revoke_one_database OK 15.63
- test_grant_full_access_ignore_databases OK 12.23
- tearDown OK 11.78
- TestUserAccessNegative
- setUp OK 0.09
- test_create_duplicate_user_and_dbs OK 2.36
- test_neg_duplicate_useraccess OK 13.07
- test_re_create_user OK 17.66
- test_user_allspaces OK 0.52
- test_user_empty_no_host OK 0.42
- test_user_empty_with_host OK 0.30
- test_user_nametoolong OK 0.35
- test_user_withperiod OK 8.23
- tearDown OK 12.12
- create_user
- Create a test user so that subsequent tests can log in.
- Create a test user so that subsequent tests can log in. OK 10.99
- ResizeInstanceTest
- setup OK 0.76
- test_instance_resize_same_size_should_fail OK 0.16
- test_status_changed_to_resize OK 5.53
- test_instance_returns_to_active_after_resize FAIL
- test_resize_instance_usage_event_sent SKIP: Failure in <function test_instance_returns_to_active_after_resize at 0x40421b8>
- Resize should not delete users. SKIP: Failure in <function test_instance_returns_to_active_after_resize at 0x40421b8>
- test_make_sure_mysql_is_running_after_resize SKIP: Failure in <function test_instance_returns_to_active_after_resize at 0x40421b8>
- test_instance_has_new_flavor_after_resize SKIP: Failure in <function test_instance_returns_to_active_after_resize at 0x40421b8>
- test_resize_down SKIP: Failure in <function test_instance_returns_to_active_after_resize at 0x40421b8>
- test_resize_instance_down_usage_event_sent SKIP: Failure in <function test_instance_returns_to_active_after_resize at 0x40421b8>
- test_instance_resize_to_ephemeral_in_volume_support_should_failERROR
- resize_should_not_delete_users
- runTest OK 0.00
- StopTests
- Tests which involve stopping MySQL.
- test_set_up OK 5.50
- Make sure MySQL is accessible before restarting. FAIL
- Stops MySQL. SKIP: Failure in <function test_ensure_mysql_is_running at 0x403b6e0>
- test_instance_get_shows_volume_info_while_mysql_is_down SKIP: Failure in <function test_ensure_mysql_is_running at 0x403b6e0>
- Restart MySQL via the REST API successfully when MySQL is down.ERROR
- CreateBackups
- Test create backup for a given instance. ERROR
- Test create backup with unknown instance. OK 0.01
- Test create backup with unknown instance. OK 0.03
- AfterBackupCreation
- Test create backup when another backup is running. OK 0.11
- Test delete backup when it is running. ERROR
- Test any instance action while backup is running. OK 0.08
- WaitForBackupCreateToFinish
- test_backup_created ERROR
- ListBackups
- Test get backup. SKIP: Failure in <function test_backup_created at 0x3f8a500>
- Test list backups. SKIP: Failure in <function test_backup_created at 0x3f8a500>
- test list backups and filter by datastore. SKIP: Failure in <function test_backup_created at 0x3f8a500>
- test list backups and filter by datastore. SKIP: Failure in <function test_backup_created at 0x3f8a500>
- test list backups and filter by datastore. SKIP: Failure in <function test_backup_created at 0x3f8a500>
- Test backup list for instance. SKIP: Failure in <function test_backup_created at 0x3f8a500>
- IncrementalBackups
- test_create_db SKIP: Failure in <function test_backup_created at 0x3f8a500>
- test_create_incremental_backup SKIP: Failure in <function test_backup_created at 0x3f8a500>
- RestoreUsingBackup
- test_restore_incremental SKIP: Failure in <function test_backup_created at 0x3f8a500>
- WaitForRestoreToFinish
- test_instance_restored_incremental SKIP: Failure in <function test_backup_created at 0x3f8a500>
- VerifyRestore
- test_database_restored_incremental SKIP: Failure in <function test_backup_created at 0x3f8a500>
- DeleteRestoreInstance
- test_delete_restored_instance_incremental ERROR
- RestoreUsingBackup
- test_restore SKIP: Failure in <function test_backup_created at 0x3f8a500>
- WaitForRestoreToFinish
- test_instance_restored SKIP: Failure in <function test_backup_created at 0x3f8a500>
- DeleteRestoreInstance
- test_delete_restored_instance ERROR
- DeleteBackups
- Test delete unknown backup. OK 0.03
- Test another user cannot delete backup. ERROR
- Test backup deletion. ERROR
- Test backup children are deleted. SKIP: Incremental Backup not created
- CreateConfigurations
- Test create configuration with invalild value type. OK 0.02
- Test create configurations with invalid values. OK 0.02
- Test create configuration with value out of bounds. OK 0.03
- Test get expected configurations parameters. OK 0.03
- test_expected_get_configuration_parameter OK 0.02
- test_valid_configurations_create OK 0.05
- test_appending_to_existing_configuration OK 1.05
- AfterConfigurationsCreation
- test_assign_configuration_to_invalid_instance OK 0.01
- test_assign_configuration_to_invalid_instance_using_patch OK 0.01
- test_assign_configuration_to_valid_instance ERROR
- test_assign_configuration_to_instance_with_config SKIP: Failure in <function test_assign_configuration_to_valid_instance at 0x3faa230>
- test_get_configuration_details_from_instance_validation SKIP: Failure in <function test_assign_configuration_to_valid_instance at 0x3faa230>
- test_assign_name_to_instance_using_patch OK 5.25
- ListConfigurations
- test_changing_configuration_with_nondynamic_parameter OK 0.09
- test_waiting_for_instance_in_restart_required FAIL
- test_restart_service_should_return_active SKIP: Failure in <function test_waiting_for_instance_in_restart_required at 0x3faa9b0>
- test_get_configuration_details_from_instance_validation SKIP: Failure in <function test_waiting_for_instance_in_restart_required at 0x3faa9b0>
- test_configurations_list OK 0.02
- test_compare_list_and_details_timestamps OK 0.05
- test_configurations_list_for_instance ERROR
- test_get_default_configuration_on_instance OK 0.16
- StartInstanceWithConfiguration
- test_start_instance_with_configuration OK 0.27
- WaitForConfigurationInstanceToFinish
- test_instance_with_configuration_active FAIL
- test_get_configuration_details_from_instance_validation SKIP: Failure in <function test_instance_with_configuration_active at 0x3faad70>
- DeleteConfigurations
- test_delete_invalid_configuration_not_found OK 0.01
- test_delete_configuration_parameter_with_mgmt_api OK 0.12
- test_unable_delete_instance_configurations FAIL
- test_unassign_configuration_from_instances SKIP: Failure in <function test_unable_delete_instance_configurations at 0x3fb20c8>
- test_assign_in_wrong_state SKIP: Failure in <function test_unable_delete_instance_configurations at 0x3fb20c8>
- test_no_instances_on_configuration SKIP: Failure in <function test_unable_delete_instance_configurations at 0x3fb20c8>
- test_restart_service_after_unassign_return_active SKIP: Failure in <function test_unable_delete_instance_configurations at 0x3fb20c8>
- test_restart_service_should_return_active SKIP: Failure in <function test_unable_delete_instance_configurations at 0x3fb20c8>
- test_assign_config_and_name_to_instance_using_patch SKIP: Failure in <function test_unable_delete_instance_configurations at 0x3fb20c8>
- test_unassign_configuration_after_patch FAIL
- test_delete_unassigned_configuration ERROR
- test_delete_configuration_instance SKIP: Failure in <function test_delete_unassigned_configuration at 0x3fb27d0>
- test_unassign_configuration_from_invalid_instance_using_patchOK 0.01
- CreateReplicationSlave
- test_create_db_on_master ERROR
- test_create_slave OK 0.09
- WaitForCreateSlaveToFinish
- Wait until the instance is created and set up as slave.
- test_slave_created
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement