Skip to content

Instantly share code, notes, and snippets.

@vipulsabhaya
Created January 12, 2013 00:16
Show Gist options
  • Save vipulsabhaya/4515136 to your computer and use it in GitHub Desktop.
Save vipulsabhaya/4515136 to your computer and use it in GitHub Desktop.
*******************************************************************************
Running Reddwarf Integration Tests...
*******************************************************************************
python -B /home/ubuntu/reddwarf-integration/scripts/../tests//integration/int_tests.py --verbose --logging-clear-handlers --group=blackbox
RUNNING TEST ARGS : ['/home/ubuntu/reddwarf-integration/scripts/../tests//integration/int_tests.py', '--verbose', '--logging-clear-handlers', '--group=blackbox']
/usr/lib/python2.7/dist-packages/nose/plugins/manager.py:405: UserWarning: Module tests was already imported from /mnt/opt/reddwarf-integration/tests/integration/tests/__init__.py, but /usr/lib/python2.7/dist-packages is being added to sys.path
import pkg_resources
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.01
start_nova_network
Starts the Nova Network Service.
Starts the Nova Network Service. OK 1.02
start_compute
Starts the Nova Compute Service.
Starts the Nova Compute Service. OK 1.02
start_scheduler
Starts the Scheduler Service.
Starts the Scheduler Service. OK 1.01
start_nova_api
Starts the Nova Compute Service.
Starts the Nova Compute Service. OK 1.01
start_reddwarf_api
Starts the Reddwarf Service.
Starts the Reddwarf Service. OK 1.02
Flavors
setUp OK 0.35
confirm_flavors_lists_nearly_identical OK 1.27
test_flavor_get_attrs OK 0.13
test_flavor_list_attrs OK 0.14
test_flavor_not_found OK 0.06
Versions
Test listing all versions and verify the current version
Sets up the client. OK 0.11
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
InstanceSetup
Makes sure the client can hit the ReST service.
Sets up the client. OK 0.23
create_instance_name OK 0.00
test_find_flavor OK 0.13
CreateInstance
Test to create a Database Instance
test_create OK 0.21
test_create_failure_with_empty_volume OK 0.00
test_create_failure_with_no_name OK 0.06
test_create_failure_with_no_volume_size OK 0.00
test_create_failure_with_spaces_for_name OK 0.05
test_instance_size_too_big OK 0.05
test_mgmt_get_instance_on_create OK 0.00
AfterInstanceCreation
test_database_create_after_create OK 0.16
test_database_delete_after_create OK 0.17
test_database_index_after_create OK 0.19
test_instance_delete_right_after_create OK 0.18
test_resize_instance_after_create OK 0.17
test_resize_volume_after_create OK 0.19
test_root_create_root_user_after_create OK 0.18
test_root_is_root_enabled_after_create OK 0.17
test_users_create_after_create OK 0.17
test_users_delete_after_create OK 0.17
test_users_index_after_create OK 0.17
WaitForGuestInstallationToFinish
test_instance_created OK 336.86
TestGuestProcess
check_hwinfo_before_tests OK 0.00
grab_diagnostics_before_tests OK 0.00
TestAfterInstanceCreatedGuestData
test_databases OK 0.58
test_users OK 0.56
TestInstanceListing
Test the listing of the instance information
setUp OK 0.10
test_get_instance OK 0.40
test_get_instance_status OK 0.42
test_get_legacy_status OK 0.47
test_get_legacy_status_notfound OK 0.06
test_index_list OK 0.18
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 6.72
RestartTests
Tests restarting MySQL.
test_set_up OK 0.67
Make sure MySQL is accessible before restarting. OK 0.50
Restart MySQL via the REST when it should fail, assert it does.FAIL
Restart MySQL via the REST API successfully. OK 27.30
ResizeInstanceTest
setup OK 1.03
test_instance_resize_same_size_should_fail OK 0.26
test_status_changed_to_resize OK 2.28
test_instance_returns_to_active_after_resize OK 153.08
Resize should not delete users. OK 0.20
test_make_sure_mysql_is_running_after_resize OK 1.56
test_resize_down OK 184.50
resize_should_not_delete_users
runTest OK 0.00
StopTests
Tests which involve stopping MySQL.
test_set_up OK 0.76
Make sure MySQL is accessible before restarting. OK 0.82
Stops MySQL. ERROR
test_instance_get_shows_volume_info_while_mysql_is_down SKIP: Failure in <function test_stop_mysql at 0x272c410>
Restart MySQL via the REST API successfully when MySQL is down.OK 26.51
TestMysqlAccess
Ensure we aren't allowed access with os_admin and wrong password.OK 0.90
Ensure we aren't allowed access with root and wrong password.OK 0.82
TestDatabases
setUp OK 0.23
test_cannot_create_taboo_database_names OK 0.17
test_create_database OK 6.27
test_create_database_list OK 0.43
test_delete_database OK 5.67
test_cannot_delete_taboo_database_names OK 0.16
test_delete_database_on_missing_instance OK 0.06
test_fails_when_creating_a_db_twice OK 0.60
test_create_database_list_system OK 0.43
test_create_database_on_missing_instance OK 0.06
test_database_name_too_long OK 0.05
test_invalid_database_name OK 0.05
test_pagination OK 7.15
TestUsers
setUp OK 5.63
test_create_users OK 9.90
test_create_users_list OK 0.55
test_cannot_create_root_user OK 0.05
test_create_users_list_system OK 0.50
test_fails_when_creating_user_twice OK 0.45
test_delete_users OK 7.76
test_invalid_password OK 0.06
test_invalid_username OK 0.05
test_pagination OK 7.41
test_username_too_long OK 0.05
tearDown OK 0.44
TestRoot
setUp OK 0.21
test_create_user_os_admin_failure OK 0.05
test_delete_user_os_admin_failure OK 0.05
Test that root is disabled OK 0.18
test_enable_root OK 0.67
test_enabled_timestamp OK 0.00
Even if root was enabled, the user root cannot be deleted. OK 0.06
test_root_not_in_users_list OK 0.58
Test that root is now enabled. OK 0.19
test_reset_root OK 0.63
Test that after root was reset it's still enabled. OK 0.18
Verifies in the management api that the timestamp exists OK 0.18
DeleteInstance
Delete the created instance
test_volume_is_deleted SKIP: Cannot test volume is deleted from db.
test_delete OK 9.97
AdditionalDeleteInstanceTests
Run some more tests on the deleted instance.
Makes sure the queue is cleaned up. SKIP: We need delete_queue in RPC oslo code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment