Advertisement
shaifali

test-cases failed for trove

Oct 21st, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.53 KB | None | 0 0
  1. trove-try@opw-shaifali:~/trove-integration/scripts$ gedit /etc/trove/test.conf
  2. The program 'gedit' is currently not installed. You can install it by typing:
  3. sudo apt-get install gedit
  4. trove-try@opw-shaifali:~/trove-integration/scripts$ vim /etc/trove/test.conf
  5. trove-try@opw-shaifali:~/trove-integration/scripts$ vim /etc/trove/test.conf
  6. trove-try@opw-shaifali:~/trove-integration/scripts$ cat /etc/trove/test.conf
  7. {
  8. "dbaas_url":"http://23.253.159.102:8779/v1.0",
  9. "version_url":"http://23.253.159.102:8779",
  10. "trove_auth_url":"http://23.253.159.102:35357/v2.0/tokens",
  11. "trove_client_insecure":false,
  12. "auth_strategy":null,
  13. "trove_client_region_name": null,
  14.  
  15. "nova_client": {
  16. "url":"http://23.253.159.102:8774/v1.1",
  17. "auth_url":"http://23.253.159.102:35357/v2.0",
  18. "nova_service_type":"compute",
  19. "volume_service_type":"volume"
  20. },
  21.  
  22. "flavors": null,
  23.  
  24. "white_box":false,
  25. "start_services": true,
  26. "test_mgmt":false,
  27. "use_local_ovz":false,
  28. "use_venv":false,
  29. "glance_code_root":"/opt/stack/glance",
  30. "glance_api_conf":"/vagrant/conf/glance-api.conf",
  31. "glance_reg_conf":"/vagrant/conf/glance-reg.conf",
  32. "glance_images_directory": "/glance_images",
  33. "glance_image": "debian-squeeze-x86_64-openvz.tar.gz",
  34. "instance_flavor_name":"m1.rd-tiny",
  35. "instance_bigger_flavor_name":"m1.rd-smaller",
  36. "instance_eph_flavor_name":"eph.rd-tiny",
  37. "instance_bigger_eph_flavor_name":"eph.rd-smaller",
  38. "report_directory":"/home/trove-try/trove-integration/scripts/../report/",
  39. "usr_bin_dir":"/usr/local/bin",
  40. "nova_code_root":"/opt/stack/nova",
  41. "nova_conf":"/home/vagrant/nova.conf",
  42. "keystone_code_root":"/opt/stack/keystone",
  43. "keystone_conf":"/etc/keystone/keystone.conf",
  44. "keystone_use_combined":true,
  45. "trove_code_root":"/opt/stack/trove",
  46. "trove_conf":"/tmp/trove.conf",
  47. "trove_version":"v1.0",
  48. "trove_api_updated":"2012-08-01T00:00:00Z",
  49. "trove_volume_support":true,
  50. "trove_max_accepted_volume_size": 1000,
  51. "trove_max_instances_per_user": 55,
  52. "trove_max_volumes_per_user": 100,
  53. "use_reaper":false,
  54. "users": [
  55. { "auth_user":"admin",
  56. "auth_key":"3de4922d8b6ac5a1aad9",
  57. "tenant":"admin",
  58. "tenant_id":"6a238837ba4a42b19b1fbfc991dae04c",
  59. "requirements": {
  60. "is_admin":true,
  61. "services": ["trove"]
  62. }
  63. },
  64. { "auth_user":"alt_demo",
  65. "auth_key":"3de4922d8b6ac5a1aad9",
  66. "tenant":"alt_demo",
  67. "tenant_id":"b0b03841876242e2b75dd3ca57217513",
  68. "requirements": {
  69. "is_admin":false,
  70. "services": ["trove"]
  71. }
  72. },
  73. { "auth_user":"demo",
  74. "auth_key":"3de4922d8b6ac5a1aad9",
  75. "tenant":"demo",
  76. "tenant_id":"6eb88263e2284106822adaf0b2d7f457",
  77. "requirements": {
  78. "is_admin":false,
  79. "services": ["nova", "trove"]
  80. }
  81. }
  82. ],
  83. "root_removed_from_instance_api": true,
  84. "root_timestamp_disabled": false,
  85. "openvz_disabled": true,
  86. "management_api_disabled": true,
  87. "dbaas_image": 1,
  88. "dns_driver":"trove.dns.rsdns.driver.RsDnsDriver",
  89. "dns_instance_entry_factory":"trove.dns.rsdns.driver.RsDnsInstanceEntryFactory",
  90. "trove_dns_support": false,
  91. "databases_page_size": 20,
  92. "instances_page_size": 20,
  93. "users_page_size": 20,
  94. "rabbit_runs_locally": true,
  95. "dbaas_datastore": "mysql",
  96. "dbaas_datastore_version": "5.5",
  97. "neutron_enabled": false,
  98. "shared_network": "%shared_network%",
  99. "shared_network_subnet": "%shared_network_subnet%", "sentinel": null
  100. }
  101. trove-try@opw-shaifali:~/trove-integration/scripts$
  102. trove-try@opw-shaifali:~/trove-integration/scripts$ ./redstack int-tests
  103. *******************************************************************************
  104. Running Trove Integration Tests...
  105. *******************************************************************************
  106. python -B /home/trove-try/trove-integration/scripts/../tests//integration/int_tests.py --verbose --logging-clear-handlers --group=blackbox
  107. RUNNING TEST ARGS : ['/home/trove-try/trove-integration/scripts/../tests//integration/int_tests.py', '--verbose', '--logging-clear-handlers', '--group=blackbox']
  108. nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
  109. nose.plugins.manager: DEBUG: Configuring plugins
  110. 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>]
  111. No handlers could be found for logger "nose.core"
  112. start_glance_registry
  113. Starts the Glance Registry.
  114. Starts the Glance Registry. OK 1.05
  115. start_glance_api
  116. Starts the Glance API.
  117. Starts the Glance API. OK 1.04
  118. start_nova_network
  119. Starts the Nova Network Service.
  120. Starts the Nova Network Service. OK 1.04
  121. start_compute
  122. Starts the Nova Compute Service.
  123. Starts the Nova Compute Service. OK 1.04
  124. start_scheduler
  125. Starts the Scheduler Service.
  126. Starts the Scheduler Service. OK 1.04
  127. start_nova_api
  128. Starts the Nova Compute Service.
  129. Starts the Nova Compute Service. OK 1.04
  130. start_trove_api
  131. Starts the Trove Service.
  132. Starts the Trove Service. OK 1.04
  133. InstanceSetup
  134. Makes sure the client can hit the ReST service.
  135. Sets up the client. OK 0.20
  136. create_instance_name OK 0.00
  137. test_find_flavor OK 0.15
  138. Datastores
  139. setUp OK 0.18
  140. test_datastore_get OK 0.09
  141. test_datastore_list_attrs OK 0.01
  142. test_datastore_not_found OK 0.01
  143. test_datastore_with_no_active_versions_is_hidden OK 0.01
  144. test_datastore_with_no_active_versions_is_visible_for_admin OK 0.07
  145. DatastoreVersions
  146. setUp OK 0.17
  147. test_datastore_version_get_attrs OK 0.02
  148. test_datastore_version_get_by_uuid OK 0.01
  149. test_datastore_version_get_by_uuid_attrs OK 0.01
  150. test_datastore_version_invalid_uuid OK 0.01
  151. test_datastore_version_list_attrs OK 0.01
  152. test_datastore_version_list_by_uuid OK 0.01
  153. test_datastore_version_not_found OK 0.02
  154. Flavors
  155. setUp OK 0.26
  156. confirm_flavors_lists_nearly_identical OK 0.24
  157. test_flavor_get_attrs OK 0.03
  158. test_flavor_list_attrs OK 0.09
  159. test_flavor_not_found OK 0.01
  160. Versions
  161. Test listing all versions and verify the current version.
  162. Sets up the client. OK 0.09
  163. test_list_versions_index OK 0.00
  164. test_no_slash_no_version OK 0.00
  165. test_no_slash_with_version OK 0.00
  166. test_request_bogus_version OK 0.00
  167. test_request_no_version OK 0.00
  168. test_with_slash_no_version OK 0.00
  169. test_with_slash_with_version OK 0.00
  170. CreateInstanceQuotaTest
  171. test_create_instances_total_volume_exceeded OK 0.14
  172. test_create_too_many_instances OK 0.07
  173. test_instance_size_too_big OK 0.05
  174. test_update_quota_invalid_resource_should_fail OK 0.03
  175. test_update_quota_volume_should_fail_volume_not_supported SKIP: Volume support needs to be disabled
  176. CreateInstance
  177. Test to create a Database Instance
  178. test_create OK 0.28
  179. AfterInstanceCreation
  180. test_database_create_after_create OK 0.07
  181. test_database_delete_after_create OK 0.02
  182. test_database_index_after_create OK 0.02
  183. test_instance_delete_right_after_create OK 0.06
  184. test_resize_instance_after_create OK 0.02
  185. test_resize_volume_after_create OK 0.02
  186. test_root_create_root_user_after_create OK 0.02
  187. test_root_is_root_enabled_after_create OK 0.02
  188. test_users_create_after_create OK 0.17
  189. test_users_delete_after_create OK 0.02
  190. test_users_index_after_create OK 0.02
  191. WaitForGuestInstallationToFinish
  192. test_instance_created OK 274.47
  193. SecurityGroupsTest
  194. setUp OK 0.02
  195. test_created_security_group OK 0.00
  196. test_get_security_group OK 0.01
  197. test_list_security_group OK 0.02
  198. SecurityGroupsRulesTest
  199. setUp OK 0.02
  200. test_create_security_group_rule OK 1.12
  201. test_delete_security_group_rule OK 1.11
  202. tearDown OK 0.00
  203. TestGuestProcess
  204. check_hwinfo_before_tests OK 0.00
  205. grab_diagnostics_before_tests OK 0.00
  206. TestAfterInstanceCreatedGuestData
  207. test_databases OK 0.50
  208. test_users OK 0.50
  209. TestInstanceListing
  210. Test the listing of the instance information.
  211. setUp OK 0.13
  212. test_get_instance OK 0.40
  213. test_get_instance_status OK 0.25
  214. test_get_legacy_status OK 0.25
  215. test_get_legacy_status_notfound OK 0.01
  216. test_index_list OK 0.08
  217. test_volume_found OK 0.26
  218. TestInstanceUpdate
  219. Test the updation of the instance information.
  220. setUp OK 0.10
  221. test_update_name OK 0.55
  222. test_update_name_to_invalid_instance OK 0.01
  223. TestMysqlAccess
  224. Ensure we aren't allowed access with os_admin and wrong password.OK 0.95
  225. Ensure we aren't allowed access with root and wrong password.OK 0.53
  226. TestDatabases
  227. setUp OK 0.18
  228. test_cannot_create_taboo_database_names OK 0.08
  229. test_create_database OK 5.72
  230. test_create_database_list OK 0.60
  231. test_delete_database OK 5.58
  232. test_cannot_delete_taboo_database_names OK 0.02
  233. test_delete_database_on_missing_instance OK 0.01
  234. test_fails_when_creating_a_db_twice OK 0.69
  235. test_create_database_list_system OK 0.51
  236. test_create_database_on_missing_instance OK 0.01
  237. test_database_name_too_long OK 0.01
  238. test_invalid_database_name OK 0.01
  239. test_pagination OK 7.45
  240. TestUsers
  241. setUp OK 6.01
  242. test_cannot_change_rootpassword OK 0.22
  243. test_create_users OK 11.01
  244. test_create_users_list OK 1.00
  245. test_cannot_create_root_user OK 0.16
  246. test_create_users_list_system OK 1.05
  247. test_get_one_user OK 3.00
  248. test_fails_when_creating_user_twice OK 0.88
  249. test_delete_users OK 8.11
  250. test_hostnames_default_if_not_present OK 1.61
  251. test_hostnames_make_users_unique OK 1.94
  252. test_hostname_ipv4_restriction OK 0.16
  253. test_delete_nonexistent_user OK 0.28
  254. test_invalid_password OK 0.16
  255. test_invalid_username OK 0.16
  256. test_pagination OK 12.34
  257. test_updateduser_name_newhost_unique OK 3.43
  258. test_updateduser_newhost_invalid OK 2.57
  259. test_updateduser_newname_host_unique OK 3.43
  260. test_updateduser_newname_newhost_unique OK 3.55
  261. test_updateuser_emptyhost OK 1.16
  262. test_updateuser_nochanges OK 1.17
  263. test_username_too_long OK 0.08
  264. tearDown OK 0.15
  265. TestRoot
  266. setUp OK 0.18
  267. test_create_user_os_admin_failure OK 0.22
  268. test_delete_user_os_admin_failure OK 0.01
  269. Test that root is disabled. OK 0.13
  270. test_enable_root OK 0.50
  271. test_enabled_timestamp OK 0.00
  272. Even if root was enabled, the user root cannot be deleted. OK 0.01
  273. test_root_not_in_users_list OK 3.58
  274. Test that root is now enabled. OK 0.07
  275. test_reset_root OK 0.51
  276. Test that after root was reset it's still enabled. OK 0.07
  277. Verifies in the management api that the timestamp exists. OK 0.07
  278. TestUserAccessPasswordChange
  279. setUp OK 0.09
  280. test_change_password_bogus_user OK 0.14
  281. test_change_password_nonexistent_user OK 0.49
  282. test_create_user_and_dbs OK 1.97
  283. test_initial_connection OK 0.53
  284. test_change_password OK 1.27
  285. test_change_password_back OK 2.52
  286. test_change_password_twice OK 2.30
  287. tearDown OK 1.05
  288. TestUserAccessPositive
  289. setUp OK 0.09
  290. test_create_user_and_dbs OK 2.03
  291. test_no_access OK 8.07
  292. test_grant_full_access OK 9.61
  293. test_grant_ghostdbs OK 20.57
  294. test_grant_ghostusers OK 8.29
  295. test_grant_idempotence OK 12.72
  296. test_revoke_all_access OK 15.58
  297. test_revoke_ghostdbs OK 20.99
  298. test_revoke_ghostusers OK 8.06
  299. test_revoke_non_idempotence OK 13.62
  300. test_revoke_one_database OK 15.63
  301. test_grant_full_access_ignore_databases OK 12.23
  302. tearDown OK 11.78
  303. TestUserAccessNegative
  304. setUp OK 0.09
  305. test_create_duplicate_user_and_dbs OK 2.36
  306. test_neg_duplicate_useraccess OK 13.07
  307. test_re_create_user OK 17.66
  308. test_user_allspaces OK 0.52
  309. test_user_empty_no_host OK 0.42
  310. test_user_empty_with_host OK 0.30
  311. test_user_nametoolong OK 0.35
  312. test_user_withperiod OK 8.23
  313. tearDown OK 12.12
  314. create_user
  315. Create a test user so that subsequent tests can log in.
  316. Create a test user so that subsequent tests can log in. OK 10.99
  317. ResizeInstanceTest
  318. setup OK 0.76
  319. test_instance_resize_same_size_should_fail OK 0.16
  320. test_status_changed_to_resize OK 5.53
  321. test_instance_returns_to_active_after_resize FAIL
  322. test_resize_instance_usage_event_sent SKIP: Failure in <function test_instance_returns_to_active_after_resize at 0x40421b8>
  323. Resize should not delete users. SKIP: Failure in <function test_instance_returns_to_active_after_resize at 0x40421b8>
  324. test_make_sure_mysql_is_running_after_resize SKIP: Failure in <function test_instance_returns_to_active_after_resize at 0x40421b8>
  325. test_instance_has_new_flavor_after_resize SKIP: Failure in <function test_instance_returns_to_active_after_resize at 0x40421b8>
  326. test_resize_down SKIP: Failure in <function test_instance_returns_to_active_after_resize at 0x40421b8>
  327. test_resize_instance_down_usage_event_sent SKIP: Failure in <function test_instance_returns_to_active_after_resize at 0x40421b8>
  328. test_instance_resize_to_ephemeral_in_volume_support_should_failERROR
  329. resize_should_not_delete_users
  330. runTest OK 0.00
  331. StopTests
  332. Tests which involve stopping MySQL.
  333. test_set_up OK 5.50
  334. Make sure MySQL is accessible before restarting. FAIL
  335. Stops MySQL. SKIP: Failure in <function test_ensure_mysql_is_running at 0x403b6e0>
  336. test_instance_get_shows_volume_info_while_mysql_is_down SKIP: Failure in <function test_ensure_mysql_is_running at 0x403b6e0>
  337. Restart MySQL via the REST API successfully when MySQL is down.ERROR
  338. CreateBackups
  339. Test create backup for a given instance. ERROR
  340. Test create backup with unknown instance. OK 0.01
  341. Test create backup with unknown instance. OK 0.03
  342. AfterBackupCreation
  343. Test create backup when another backup is running. OK 0.11
  344. Test delete backup when it is running. ERROR
  345. Test any instance action while backup is running. OK 0.08
  346. WaitForBackupCreateToFinish
  347. test_backup_created ERROR
  348. ListBackups
  349. Test get backup. SKIP: Failure in <function test_backup_created at 0x3f8a500>
  350. Test list backups. SKIP: Failure in <function test_backup_created at 0x3f8a500>
  351. test list backups and filter by datastore. SKIP: Failure in <function test_backup_created at 0x3f8a500>
  352. test list backups and filter by datastore. SKIP: Failure in <function test_backup_created at 0x3f8a500>
  353. test list backups and filter by datastore. SKIP: Failure in <function test_backup_created at 0x3f8a500>
  354. Test backup list for instance. SKIP: Failure in <function test_backup_created at 0x3f8a500>
  355. IncrementalBackups
  356. test_create_db SKIP: Failure in <function test_backup_created at 0x3f8a500>
  357. test_create_incremental_backup SKIP: Failure in <function test_backup_created at 0x3f8a500>
  358. RestoreUsingBackup
  359. test_restore_incremental SKIP: Failure in <function test_backup_created at 0x3f8a500>
  360. WaitForRestoreToFinish
  361. test_instance_restored_incremental SKIP: Failure in <function test_backup_created at 0x3f8a500>
  362. VerifyRestore
  363. test_database_restored_incremental SKIP: Failure in <function test_backup_created at 0x3f8a500>
  364. DeleteRestoreInstance
  365. test_delete_restored_instance_incremental ERROR
  366. RestoreUsingBackup
  367. test_restore SKIP: Failure in <function test_backup_created at 0x3f8a500>
  368. WaitForRestoreToFinish
  369. test_instance_restored SKIP: Failure in <function test_backup_created at 0x3f8a500>
  370. DeleteRestoreInstance
  371. test_delete_restored_instance ERROR
  372. DeleteBackups
  373. Test delete unknown backup. OK 0.03
  374. Test another user cannot delete backup. ERROR
  375. Test backup deletion. ERROR
  376. Test backup children are deleted. SKIP: Incremental Backup not created
  377. CreateConfigurations
  378. Test create configuration with invalild value type. OK 0.02
  379. Test create configurations with invalid values. OK 0.02
  380. Test create configuration with value out of bounds. OK 0.03
  381. Test get expected configurations parameters. OK 0.03
  382. test_expected_get_configuration_parameter OK 0.02
  383. test_valid_configurations_create OK 0.05
  384. test_appending_to_existing_configuration OK 1.05
  385. AfterConfigurationsCreation
  386. test_assign_configuration_to_invalid_instance OK 0.01
  387. test_assign_configuration_to_invalid_instance_using_patch OK 0.01
  388. test_assign_configuration_to_valid_instance ERROR
  389. test_assign_configuration_to_instance_with_config SKIP: Failure in <function test_assign_configuration_to_valid_instance at 0x3faa230>
  390. test_get_configuration_details_from_instance_validation SKIP: Failure in <function test_assign_configuration_to_valid_instance at 0x3faa230>
  391. test_assign_name_to_instance_using_patch OK 5.25
  392. ListConfigurations
  393. test_changing_configuration_with_nondynamic_parameter OK 0.09
  394. test_waiting_for_instance_in_restart_required FAIL
  395. test_restart_service_should_return_active SKIP: Failure in <function test_waiting_for_instance_in_restart_required at 0x3faa9b0>
  396. test_get_configuration_details_from_instance_validation SKIP: Failure in <function test_waiting_for_instance_in_restart_required at 0x3faa9b0>
  397. test_configurations_list OK 0.02
  398. test_compare_list_and_details_timestamps OK 0.05
  399. test_configurations_list_for_instance ERROR
  400. test_get_default_configuration_on_instance OK 0.16
  401. StartInstanceWithConfiguration
  402. test_start_instance_with_configuration OK 0.27
  403. WaitForConfigurationInstanceToFinish
  404. test_instance_with_configuration_active FAIL
  405. test_get_configuration_details_from_instance_validation SKIP: Failure in <function test_instance_with_configuration_active at 0x3faad70>
  406. DeleteConfigurations
  407. test_delete_invalid_configuration_not_found OK 0.01
  408. test_delete_configuration_parameter_with_mgmt_api OK 0.12
  409. test_unable_delete_instance_configurations FAIL
  410. test_unassign_configuration_from_instances SKIP: Failure in <function test_unable_delete_instance_configurations at 0x3fb20c8>
  411. test_assign_in_wrong_state SKIP: Failure in <function test_unable_delete_instance_configurations at 0x3fb20c8>
  412. test_no_instances_on_configuration SKIP: Failure in <function test_unable_delete_instance_configurations at 0x3fb20c8>
  413. test_restart_service_after_unassign_return_active SKIP: Failure in <function test_unable_delete_instance_configurations at 0x3fb20c8>
  414. test_restart_service_should_return_active SKIP: Failure in <function test_unable_delete_instance_configurations at 0x3fb20c8>
  415. test_assign_config_and_name_to_instance_using_patch SKIP: Failure in <function test_unable_delete_instance_configurations at 0x3fb20c8>
  416. test_unassign_configuration_after_patch FAIL
  417. test_delete_unassigned_configuration ERROR
  418. test_delete_configuration_instance SKIP: Failure in <function test_delete_unassigned_configuration at 0x3fb27d0>
  419. test_unassign_configuration_from_invalid_instance_using_patchOK 0.01
  420. CreateReplicationSlave
  421. test_create_db_on_master ERROR
  422. test_create_slave OK 0.09
  423. WaitForCreateSlaveToFinish
  424. Wait until the instance is created and set up as slave.
  425. test_slave_created
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement