[Openstack-devel] Bug#681582: glance: FTBFS: RuntimeError: Command ./bin/glance-control api start /tmp/test.69432/etc/api.conf --pid-file=/tmp/test.69432/api.pid --capture-output --await-child=1 did not succeed. Returned an exit code of 0.

Jakub Wilk jwilk at debian.org
Sat Jul 14 13:38:00 UTC 2012


Source: glance
Version: 2012.1.1-1
Severity: serious
Justification: fails to build from source

glance FTBFS:
| bash run_tests.sh -N
| TestApi
|     test_delete_not_existing                                    OK
|     test_duplicate_image_upload                                 OK
|     test_filtered_images                                        OK
|     test_get_head_simple_post                                   OK
|     test_limited_images                                         OK
|     test_ordered_images                                         OK
|     test_queued_process_flow                                    OK
|     test_size_greater_2G_mysql                                  OK
|     test_traceback_not_consumed                                 OK
|     test_unsupported_default_store                              ERROR
|     test_version_variations                                     OK
| TestBinGlance
|     test_add_clear                                              OK
|     test_add_copying_from                                       OK
|     test_add_list_delete_list                                   OK
|     test_add_list_update_list                                   OK
|     test_add_location_with_checksum                             OK
|     test_add_location_without_checksum                          OK
|     test_add_no_name                                            OK
|     test_add_with_location                                      OK
|     test_add_with_location_and_id                               OK
|     test_add_with_location_and_stdin                            OK
|     test_add_with_owner_admin                                   OK
|     test_add_with_owner_non_admin                               OK
|     test_killed_image_not_in_index                              OK
|     test_protected_image                                        OK
|     test_results_filtering                                      OK
|     test_results_pagination                                     OK
|     test_results_sorting                                        OK
|     test_show_image_format                                      OK
|     test_update_copying_from                                    OK
|     test_update_location                                        OK
| TestBinGlanceAuth
|     test_index_with_https_auth                                  OK
| TestBinGlanceCacheManage
|     test_cache_index                                            OK
|     test_no_cache_enabled                                       OK
|     test_queue                                                  OK
| TestImageCacheManageSqlite
|     test_cache_manage_delete_cached_images                      OK
|     test_cache_manage_get_cached_images                         OK
|     test_queue_and_prefetch                                     OK
|     test_user_not_authorized                                    OK
| TestImageCacheManageXattr
|     test_cache_manage_delete_cached_images                      OK
|     test_cache_manage_get_cached_images                         OK
|     test_queue_and_prefetch                                     OK
|     test_user_not_authorized                                    OK
| TestImageCacheSqlite
|     test_cache_middleware_transparent                           OK
|     test_cache_remote_image                                     OK
| TestImageCacheXattr
|     test_cache_middleware_transparent                           OK
|     test_cache_remote_image                                     OK
| TestClientExceptions
|     test_expectation_failed                                     OK
|     test_rate_limited                                           OK
|     test_rate_limited_retry                                     OK
|     test_server_error                                           OK
|     test_service_unavailable                                    OK
|     test_service_unavailable_retry                              OK
| TestClientRedirects
|     test_get_with_max_redirects                                 OK
|     test_get_with_one_redirect                                  OK
|     test_get_with_one_redirect_query_string                     OK
|     test_get_without_redirect                                   OK
|     test_post_redirect                                          OK
|     test_redirect_to_new_host                                   OK
| TestCopyToFile
|     test_copy_from_file                                         OK
|     test_copy_from_http                                         OK
|     test_copy_from_s3                                           SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_copy_from_swift                                        SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
| TestLogging
|     test_logrotate                                              OK
|     test_no_verbose_no_debug                                    OK
|     test_verbose_debug                                          OK
| TestMiscellaneous
|     test_api_response_when_image_deleted_from_filesystem        OK
|     test_api_treats_size_as_a_normal_property                   OK
|     test_exception_not_eaten_from_registry_to_api               OK
| TestMultiprocessing
|     test_interrupt_avoids_respawn_storm                         ERROR
|     test_multiprocessing                                        OK
| TestRBD
|     test_delete_not_existing                                    SKIP: GLANCE_TEST_RBD_CONF environ not set.
|     test_duplicate_image_upload                                 SKIP: GLANCE_TEST_RBD_CONF environ not set.
|     test_filtered_images                                        SKIP: GLANCE_TEST_RBD_CONF environ not set.
|     test_get_head_simple_post                                   SKIP: GLANCE_TEST_RBD_CONF environ not set.
|     test_limited_images                                         SKIP: GLANCE_TEST_RBD_CONF environ not set.
|     test_ordered_images                                         SKIP: GLANCE_TEST_RBD_CONF environ not set.
|     test_queued_process_flow                                    SKIP: GLANCE_TEST_RBD_CONF environ not set.
|     test_size_greater_2G_mysql                                  SKIP: GLANCE_TEST_RBD_CONF environ not set.
|     test_traceback_not_consumed                                 SKIP: GLANCE_TEST_RBD_CONF environ not set.
|     test_unsupported_default_store                              SKIP: GLANCE_TEST_RBD_CONF environ not set.
|     test_version_variations                                     SKIP: GLANCE_TEST_RBD_CONF environ not set.
| TestRespawn
|     test_bouncing                                               OK
|     test_respawn                                                OK
| TestS3
|     test_copy_from_http                                         SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_copy_from_s3                                           SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_copy_from_swift                                        SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_delete_not_existing                                    SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_duplicate_image_upload                                 SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_filtered_images                                        SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_get_head_simple_post                                   SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_limited_images                                         SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_ordered_images                                         SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_queued_process_flow                                    SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_remote_image                                           SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_size_greater_2G_mysql                                  SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_traceback_not_consumed                                 SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_unsupported_default_store                              SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_version_variations                                     SKIP: GLANCE_TEST_S3_CONF environ not set.
| TestScrubber
|     test_delayed_delete                                         OK
|     test_immediate_delete                                       OK
| TestSqlite
|     test_big_int_mapping                                        OK
| TestSSL
|     test_certificate_validation                                 OK
|     test_delete_not_existing                                    OK
|     test_duplicate_image_upload                                 OK
|     test_filtered_images                                        OK
|     test_get_head_simple_post                                   OK
|     test_limited_images                                         OK
|     test_ordered_images                                         OK
|     test_queued_process_flow                                    OK
|     test_size_greater_2G_mysql                                  OK
|     test_traceback_not_consumed                                 OK
|     test_version_variations                                     OK
| TestSwift
|     test_add_large_object_manifest_uneven_size                  SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_copy_from_http                                         SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_copy_from_s3                                           SKIP: GLANCE_TEST_S3_CONF environ not set.
|     test_copy_from_swift                                        SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_delete_not_existing                                    SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_duplicate_image_upload                                 SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_filtered_images                                        SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_get_head_simple_post                                   SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_large_objects                                          SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_limited_images                                         SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_ordered_images                                         SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_queued_process_flow                                    SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_remote_image                                           SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_size_greater_2G_mysql                                  SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_traceback_not_consumed                                 SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_unsupported_default_store                              SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
|     test_version_variations                                     SKIP: GLANCE_TEST_SWIFT_CONF environ not set.
| TestContextMiddleware
|     test_header_parsing                                         OK
|     test_is_admin_flag                                          OK
| TestGlanceAPI
|     test_add_image_bad_store                                    OK
|     test_add_image_basic_file_store                             OK
|     test_add_image_no_location_no_content_type                  OK
|     test_add_image_no_location_no_image_as_body                 OK
|     test_add_image_size_too_big                                 OK
|     test_add_image_unauthorized                                 OK
|     test_add_member                                             OK
|     test_add_public_image_unauthorized                          OK
|     test_bad_checksum_prevents_image_creation                   OK
|     test_bad_container_format                                   OK
|     test_bad_disk_format                                        OK
|     test_bad_image_size                                         OK
|     test_delete_image                                           OK
|     test_delete_image_unauthorized                              OK
|     test_delete_member                                          OK
|     test_delete_non_exists_image                                OK
|     test_delete_protected_image                                 OK
|     test_delete_queued_image                                    OK
|     test_disable_purge_props                                    OK
|     test_etag_equals_checksum_header                            OK
|     test_get_details_filter_changes_since                       OK
|     test_get_details_invalid_marker                             OK
|     test_get_image_members                                      OK
|     test_get_image_members_not_existing                         OK
|     test_get_images_detailed_unauthorized                       OK
|     test_get_images_unauthorized                                OK
|     test_get_index_sort_name_asc                                OK
|     test_get_member_images                                      OK
|     test_image_is_checksummed                                   OK
|     test_image_meta                                             OK
|     test_image_meta_unauthorized                                OK
|     test_post_image_content_missing_container_type              OK
|     test_post_image_content_missing_disk_format                 OK
|     test_publicize_image_unauthorized                           OK
|     test_put_image_content_missing_container_type               OK
|     test_put_image_content_missing_disk_format                  OK
|     test_register_and_upload                                    OK
|     test_replace_members                                        OK
|     test_show_image_basic                                       OK
|     test_show_image_unauthorized                                OK
|     test_show_non_exists_image                                  OK
|     test_store_location_not_revealed                            OK
| TestImageSerializer
|     test_image_send_notification                                OK
|     test_image_send_notification_error                          OK
|     test_meta                                                   OK
|     test_show                                                   OK
|     test_show_notify                                            OK
| TestRegistryAPI
|     test_add_member                                             OK
|     test_create_image                                           OK
|     test_create_image_with_bad_container_format                 OK
|     test_create_image_with_bad_disk_format                      OK
|     test_create_image_with_bad_id                               OK
|     test_create_image_with_bad_status                           OK
|     test_create_image_with_min_disk                             OK
|     test_create_image_with_min_disk_default                     OK
|     test_create_image_with_min_ram                              OK
|     test_create_image_with_min_ram_default                      OK
|     test_create_image_with_mismatched_formats                   OK
|     test_delete_image                                           OK
|     test_delete_image_not_existing                              OK
|     test_delete_image_public_not_owned                          OK
|     test_delete_member                                          OK
|     test_get_details                                            OK
|     test_get_details_filter_changes_since                       OK
|     test_get_details_filter_container_format                    OK
|     test_get_details_filter_disk_format                         OK
|     test_get_details_filter_min_disk                            OK
|     test_get_details_filter_min_ram                             OK
|     test_get_details_filter_name                                OK
|     test_get_details_filter_property                            OK
|     test_get_details_filter_public_false                        OK
|     test_get_details_filter_public_none                         OK
|     test_get_details_filter_public_true                         OK
|     test_get_details_filter_size_max                            OK
|     test_get_details_filter_size_min                            OK
|     test_get_details_filter_size_min_max                        OK
|     test_get_details_filter_status                              OK
|     test_get_details_invalid_marker                             OK
|     test_get_details_limit_marker                               OK
|     test_get_details_sort_name_asc                              OK
|     test_get_image_members                                      OK
|     test_get_image_members_not_existing                         OK
|     test_get_index                                              OK
|     test_get_index_bad_sort_dir                                 OK
|     test_get_index_bad_sort_key                                 OK
|     test_get_index_filter_name                                  OK
|     test_get_index_limit                                        OK
|     test_get_index_limit_marker                                 OK
|     test_get_index_limit_negative                               OK
|     test_get_index_limit_non_int                                OK
|     test_get_index_malformed_marker                             OK
|     test_get_index_marker                                       OK
|     test_get_index_sort_container_format_desc                   OK
|     test_get_index_sort_created_at_asc                          OK
|     test_get_index_sort_default_created_at_desc                 OK
|     test_get_index_sort_disk_format_asc                         OK
|     test_get_index_sort_name_asc                                OK
|     test_get_index_sort_size_asc                                OK
|     test_get_index_sort_status_desc                             OK
|     test_get_index_sort_updated_at_desc                         OK
|     test_get_index_unknown_marker                               OK
|     test_get_member_images                                      OK
|     test_get_root                                               OK
|     test_replace_members                                        OK
|     test_show                                                   OK
|     test_show_invalid                                           OK
|     test_show_unknown                                           OK
|     test_update_image                                           OK
|     test_update_image_not_existing                              OK
|     test_update_image_with_bad_container_format                 OK
|     test_update_image_with_bad_disk_format                      OK
|     test_update_image_with_bad_status                           OK
|     test_update_image_with_mismatched_formats                   OK
| TestRegistryDb
|     test_bad_sql_connection                                     OK
| TestKeystoneAuthPlugin
|     test_invalid_auth_url                                       OK
|     test_required_creds                                         OK
|     test_v1_auth                                                OK
|     test_v2_auth                                                OK
| CliOptsTestCase
|     test_bool_arg                                               OK
|     test_bool_arg_inverse                                       OK
|     test_bool_default                                           OK
|     test_config_file                                            OK
|     test_float_arg                                              OK
|     test_float_default                                          OK
|     test_help                                                   OK
|     test_int_arg                                                OK
|     test_int_default                                            OK
|     test_list_arg                                               OK
|     test_list_default                                           OK
|     test_multistr_arg                                           OK
|     test_multistr_default                                       OK
|     test_str_arg                                                OK
|     test_str_default                                            OK
|     test_version                                                OK
| CommonOptsTestCase
|     test_debug_verbose                                          OK
|     test_logging_opts                                           OK
| ConfigFileOptsTestCase
|     test_float_default                                          OK
|     test_float_value                                            OK
|     test_float_value_override                                   OK
|     test_int_default                                            OK
|     test_int_value                                              OK
|     test_int_value_override                                     OK
|     test_list_default                                           OK
|     test_list_value                                             OK
|     test_list_value_override                                    OK
|     test_multistr_default                                       OK
|     test_multistr_value                                         OK
|     test_multistr_values_append                                 OK
|     test_str_default                                            OK
|     test_str_value                                              OK
|     test_str_value_override                                     OK
| FindConfigFilesTestCase
|     test_find_config_files                                      OK
| LeftoversTestCase
|     test_leftovers                                              OK
| OptDumpingTestCase
|     test_log_opt_values                                         OK
| OptGroupsTestCase
|     test_arg_group                                              OK
|     test_arg_group_by_name                                      OK
|     test_arg_group_in_config_file                               OK
|     test_arg_group_with_default                                 OK
| OverridesTestCase
|     test_default_override                                       OK
|     test_group_no_default_override                              OK
|     test_no_default_override                                    OK
|     test_override                                               OK
| ReparseTestCase
|     test_reparse                                                OK
| SadPathTestCase
|     test_already_parsed                                         OK
|     test_bad_cli_arg                                            OK
|     test_bad_float_arg                                          OK
|     test_bad_int_arg                                            OK
|     test_conf_file_bad_bool                                     OK
|     test_conf_file_bad_float                                    OK
|     test_conf_file_bad_int                                      OK
|     test_conf_file_not_found                                    OK
|     test_error_duplicate                                        OK
|     test_error_duplicate_short                                  OK
|     test_error_duplicate_with_different_dest                    OK
|     test_no_such_group                                          OK
|     test_ok_duplicate                                           OK
|     test_set_default_unknown_attr                               OK
|     test_set_default_unknown_group                              OK
|     test_set_override_unknown_attr                              OK
|     test_set_override_unknown_group                             OK
|     test_str_sub_from_group                                     OK
|     test_unknown_attr                                           OK
|     test_unknown_group_attr                                     OK
| TemplateSubstitutionTestCase
|     test_str_sub_arg_from_arg                                   OK
|     test_str_sub_arg_from_config_file                           OK
|     test_str_sub_arg_from_default                               OK
|     test_str_sub_config_file_from_arg                           OK
|     test_str_sub_config_file_from_config_file                   OK
|     test_str_sub_config_file_from_default                       OK
|     test_str_sub_default_from_arg                               OK
|     test_str_sub_default_from_config_file                       OK
|     test_str_sub_default_from_default                           OK
|     test_str_sub_group_from_default                             OK
| TestBadClients
|     test_bad_address                                            OK
|     test_ssl_no_cert_file                                       OK
|     test_ssl_no_key_file                                        OK
|     test_ssl_non_existing_ca_file                               OK
|     test_ssl_non_existing_cert_file                             OK
|     test_ssl_non_existing_key_file                              OK
|     test_ssl_optional_ca_file                                   OK
| TestClient
|     test_add_image_already_exists                               OK
|     test_add_image_basic                                        OK
|     test_add_image_with_bad_iso_properties                      OK
|     test_add_image_with_bad_status                              OK
|     test_add_image_with_bad_store                               OK
|     test_add_image_with_image_data_as_file_with_sendfile        SKIP: sendfile not supported
|     test_add_image_with_image_data_as_file_without_sendfile     OK
|     test_add_image_with_image_data_as_iterable                  OK
|     test_add_image_with_image_data_as_string                    OK
|     test_add_image_with_image_data_as_string_and_no_size        OK
|     test_add_image_with_iso_properties                          OK
|     test_add_image_with_properties                              OK
|     test_add_image_without_location_or_raw_data                 OK
|     test_add_member                                             OK
|     test_added_image_notdoubled                                 OK
|     test_delete_image                                           OK
|     test_delete_image_not_existing                              OK
|     test_delete_member                                          OK
|     test_get_image                                              OK
|     test_get_image_bad_filters_with_other_params                OK
|     test_get_image_details                                      OK
|     test_get_image_details_by_base_attribute                    OK
|     test_get_image_details_by_property                          OK
|     test_get_image_details_invalid_marker                       OK
|     test_get_image_details_marker_limit                         OK
|     test_get_image_details_with_changes_since                   OK
|     test_get_image_index                                        OK
|     test_get_image_index_by_base_attribute                      OK
|     test_get_image_index_by_property                            OK
|     test_get_image_index_invalid_marker                         OK
|     test_get_image_index_limit                                  OK
|     test_get_image_index_marker                                 OK
|     test_get_image_index_marker_limit                           OK
|     test_get_image_index_sort_container_format_desc             OK
|     test_get_image_iso_meta                                     OK
|     test_get_image_members_not_existing                         OK
|     test_get_image_meta                                         OK
|     test_get_image_non_existing                                 OK
|     test_get_image_not_existing                                 OK
|     test_get_member_images                                      OK
|     test_replace_members                                        OK
|     test_roundtrip_image_with_image_data_as_iterable            OK
|     test_update_image                                           OK
|     test_update_image_not_existing                              OK
| TestConfigureClientFromURL
|     test_no_port_no_ssl_no_doc_root                             OK
|     test_port_ssl_doc_root                                      OK
| TestRegistryClient
|     test_add_image_already_exists                               OK
|     test_add_image_basic                                        OK
|     test_add_image_with_acceptably_long_name                    OK
|     test_add_image_with_bad_status                              OK
|     test_add_image_with_excessively_long_name                   OK
|     test_add_image_with_properties                              OK
|     test_add_member                                             OK
|     test_create_image_with_null_min_disk_min_ram                OK
|     test_delete_image                                           OK
|     test_delete_image_not_existing                              OK
|     test_delete_member                                          OK
|     test_get_image                                              OK
|     test_get_image_details                                      OK
|     test_get_image_details_by_container_format                  OK
|     test_get_image_details_by_disk_format                       OK
|     test_get_image_details_by_name                              OK
|     test_get_image_details_by_property                          OK
|     test_get_image_details_by_status                            OK
|     test_get_image_details_invalid_marker                       OK
|     test_get_image_details_marker_limit                         OK
|     test_get_image_details_sort_disk_format_asc                 OK
|     test_get_image_details_with_changes_since                   OK
|     test_get_image_details_with_maximum_size                    OK
|     test_get_image_details_with_minimum_size                    OK
|     test_get_image_index                                        OK
|     test_get_image_index_by_name                                OK
|     test_get_image_index_invalid_marker                         OK
|     test_get_image_index_limit                                  OK
|     test_get_image_index_limit_None                             OK
|     test_get_image_index_marker                                 OK
|     test_get_image_index_marker_limit                           OK
|     test_get_image_members                                      OK
|     test_get_image_members_not_existing                         OK
|     test_get_image_non_existing                                 OK
|     test_get_index_sort_container_format_desc                   OK
|     test_get_index_sort_created_at_asc                          OK
|     test_get_index_sort_disk_format_asc                         OK
|     test_get_index_sort_name_asc                                OK
|     test_get_index_sort_size_asc                                OK
|     test_get_index_sort_status_desc                             OK
|     test_get_index_sort_updated_at_desc                         OK
|     test_get_member_images                                      OK
|     test_replace_members                                        OK
|     test_update_image                                           OK
|     test_update_image_not_existing                              OK
|     test_update_image_with_acceptably_long_name                 OK
|     test_update_image_with_excessively_long_name                OK
| TestPasteApp
|     test_load_paste_app                                         OK
|     test_load_paste_app_with_conf_name                          OK
|     test_load_paste_app_with_paste_config_file                  OK
|     test_load_paste_app_with_paste_flavor                       OK
| TestContext
|     test_anon_private                                           OK
|     test_anon_private_owned                                     OK
|     test_anon_public                                            OK
|     test_anon_public_owned                                      OK
|     test_anon_shared                                            OK
|     test_auth_private                                           OK
|     test_auth_private_owned                                     OK
|     test_auth_private_unowned                                   OK
|     test_auth_public                                            OK
|     test_auth_public_owned                                      OK
|     test_auth_public_unowned                                    OK
|     test_auth_sharable                                          OK
|     test_auth_sharable_admin                                    OK
|     test_auth_sharable_can_share                                OK
|     test_auth_sharable_cannot_share                             OK
|     test_auth_sharable_owned                                    OK
|     test_empty_private                                          OK
|     test_empty_private_owned                                    OK
|     test_empty_public                                           OK
|     test_empty_public_owned                                     OK
|     test_empty_shared                                           OK
| TestPagingOrder
|     test_sort_by_created_at_asc                                 OK
|     test_sort_by_created_at_desc                                OK
|     test_sort_by_disk_asc                                       OK
|     test_sort_by_disk_desc                                      OK
|     test_sort_by_id_asc                                         OK
|     test_sort_by_id_desc                                        OK
| TestRegistryDb
|     test_image_get                                              OK
|     test_image_get_all                                          OK
|     test_image_get_all_marker                                   OK
|     test_image_get_all_marker_deleted                           OK
|     test_image_get_all_marker_deleted_showing_deleted           OK
|     test_image_get_all_marker_deleted_showing_deleted_as_admin  OK
|     test_image_get_allow_deleted                                OK
|     test_image_get_disallow_deleted                             OK
|     test_image_get_force_allow_deleted                          OK
| TestRegistryDbWithSameTime
|     test_image_get                                              OK
|     test_image_get_all                                          OK
|     test_image_get_all_marker                                   OK
|     test_image_get_all_marker_deleted                           OK
|     test_image_get_all_marker_deleted_showing_deleted           OK
|     test_image_get_all_marker_deleted_showing_deleted_as_admin  OK
|     test_image_get_allow_deleted                                OK
|     test_image_get_disallow_deleted                             OK
|     test_image_get_force_allow_deleted                          OK
| TestStore
|     test_add                                                    OK
|     test_add_already_existing                                   OK
|     test_add_file_too_big                                       OK
|     test_add_other_failure                                      OK
|     test_add_storage_full                                       OK
|     test_add_storage_write_denied                               OK
|     test_delete                                                 OK
|     test_delete_non_existing                                    OK
|     test_get                                                    OK
|     test_get_non_existing                                       OK
| TestHttpStore
|     test_http_delete_raise_error                                OK
|     test_http_get                                               OK
|     test_http_schedule_delete_swallows_error                    OK
|     test_https_get                                              OK
| TestImageCacheNoDep
|     test_get_caching_iter_when_open_fails                       OK
|     test_get_caching_iter_when_write_fails                      OK
| TestImageCacheSqlite
|     test_clean_stalled                                          OK
|     test_delete                                                 OK
|     test_delete_all                                             OK
|     test_get_image_size                                         OK
|     test_is_cached                                              OK
|     test_open_for_read                                          OK
|     test_prune                                                  OK
|     test_queue                                                  OK
|     test_read                                                   OK
| TestImageCacheXattr
|     test_clean_stalled                                          OK
|     test_delete                                                 OK
|     test_delete_all                                             OK
|     test_get_image_size                                         OK
|     test_is_cached                                              OK
|     test_open_for_read                                          OK
|     test_prune                                                  OK
|     test_queue                                                  OK
|     test_read                                                   OK
| TestMigrations
|     test_no_data_loss_2_to_3_to_2                               OK
|     test_version_control_existing_db                            OK
|     test_walk_versions                                          OK
| AuthorsTestCase
|     test_authors_up_to_date                                     OK
| UtilsTestCase
|     test_bool_from_string                                       OK
|     test_empty_metadata_headers                                 OK
|     test_encryption                                             OK
|     test_import_class_or_object                                 OK
|     test_isotime                                                OK
| TestInvalidNotifier
|     test_cannot_create                                          OK
| TestLoggingNotifier
|     test_erorr                                                  OK
|     test_info                                                   OK
|     test_warn                                                   OK
| TestNoopNotifier
|     test_error                                                  OK
|     test_info                                                   OK
|     test_warn                                                   OK
| TestQpidNotifier
|     test_error                                                  SKIP: qpid not installed
|     test_info                                                   SKIP: qpid not installed
|     test_warn                                                   SKIP: qpid not installed
| TestRabbitContentType
|     test_content_type_passed                                    OK
| TestRabbitNotifier
|     test_connection_error_on_connect_reconnects                 OK
|     test_connection_error_on_send_message_reconnects            OK
|     test_error                                                  OK
|     test_info                                                   OK
|     test_timeout_on_connect_reconnects                          OK
|     test_timeout_on_send_message_reconnects                     OK
|     test_unknown_error_on_connect_raises                        OK
|     test_unknown_error_on_send_message_raises                   OK
|     test_warn                                                   OK
| TestStore
|     test_add                                                    OK
|     test_add_already_existing                                   OK
|     test_add_host_variations                                    OK
|     test_delete                                                 OK
|     test_delete_non_existing                                    OK
|     test_get                                                    OK
|     test_get_non_existing                                       OK
|     test_get_s3_bad_location                                    OK
|     test_get_s3_good_location                                   OK
|     test_no_access_key                                          OK
|     test_no_host                                                OK
|     test_no_secret_key                                          OK
| TestSkipExamples
|     test_001_increase_test_counter                              OK
|     test_002_increase_test_counter                              OK
|     test_003_verify_test_counter                                OK
|     test_skip_if_example                                        SKIP: Example usage of @utils.skip_if()
|     test_skip_test_example                                      SKIP: Example usage of @utils.skip_test()
|     test_skip_unless_example                                    SKIP: Example usage of @utils.skip_unless()
| TestStoreLocation
|     test_bad_store_scheme                                       OK
|     test_filesystem_store_location                              OK
|     test_get_location_from_uri_back_to_uri                      OK
|     test_get_store_from_scheme                                  OK
|     test_http_store_location                                    OK
|     test_s3_store_location                                      OK
|     test_swift_store_location                                   OK
| TestChunkReader
|     test_read_all_data                                          OK
| TestStoreAuthV1
|     test_add                                                    OK
|     test_add_already_existing                                   OK
|     test_add_auth_url_variations                                OK
|     test_add_large_object                                       OK
|     test_add_large_object_zero_size                             OK
|     test_add_no_container_and_create                            OK
|     test_add_no_container_no_create                             OK
|     test_delete                                                 OK
|     test_delete_non_existing                                    OK
|     test_get                                                    OK
|     test_get_non_existing                                       OK
|     test_get_size                                               OK
|     test_get_with_http_auth                                     OK
|     test_no_auth_address                                        OK
|     test_no_key                                                 OK
|     test_no_user                                                OK
| TestStoreAuthV2
|     test_add                                                    OK
|     test_add_already_existing                                   OK
|     test_add_auth_url_variations                                OK
|     test_add_large_object                                       OK
|     test_add_large_object_zero_size                             OK
|     test_add_no_container_and_create                            OK
|     test_add_no_container_no_create                             OK
|     test_delete                                                 OK
|     test_delete_non_existing                                    OK
|     test_get                                                    OK
|     test_get_non_existing                                       OK
|     test_get_size                                               OK
|     test_get_with_http_auth                                     OK
|     test_no_auth_address                                        OK
|     test_no_key                                                 OK
|     test_no_user                                                OK
| TestIso8601Time
|     test_compare                                                OK
|     test_compare_micros                                         OK
|     test_east_normalize                                         OK
|     test_east_roundtrip                                         OK
|     test_now_roundtrip                                          OK
|     test_offset_east                                            OK
|     test_offset_east_micros                                     OK
|     test_offset_west                                            OK
|     test_offset_west_micros                                     OK
|     test_west_normalize                                         OK
|     test_west_roundtrip                                         OK
|     test_zulu                                                   OK
|     test_zulu_micros                                            OK
|     test_zulu_normalize                                         OK
|     test_zulu_roundtrip                                         OK
| TestUtils
|     test_generate_uuid_format                                   OK
|     test_generate_uuid_unique                                   OK
|     test_is_uuid_like_fails                                     OK
|     test_is_uuid_like_success                                   OK
| VersionsTest
|     test_client_handles_versions                                OK
|     test_get_version_list                                       OK
| JSONRequestDeserializerTest
|     test_default_no_body                                        OK
|     test_default_with_body                                      OK
|     test_from_json                                              OK
|     test_has_body_has_content_length                            OK
|     test_has_body_no_content_length                             OK
|     test_has_body_zero_content_length                           OK
|     test_no_body_no_content_length                              OK
| JSONResponseSerializerTest
|     test_default                                                OK
|     test_to_json                                                OK
| RequestTest
|     test_content_type_accept_default                            OK
|     test_content_type_from_accept_json                          OK
|     test_content_type_from_accept_json_xml_quality              OK
|     test_content_type_from_accept_xml                           OK
|     test_content_type_from_accept_xml_json                      OK
|     test_content_type_missing                                   OK
|     test_content_type_unsupported                               OK
|     test_content_type_with_charset                              OK
| ResourceTest
|     test_dispatch                                               OK
|     test_dispatch_default                                       OK
|     test_dispatch_no_default                                    OK
|     test_get_action_args                                        OK
| TestHelpers
|     test_data_passed_properly_through_headers                   OK
|     test_headers_are_unicode                                    OK
|
| ======================================================================
| ERROR: test_unsupported_default_store (glance.tests.functional.test_api.TestApi)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/glance-lDB4eq/glance-2012.1.1/glance/tests/utils.py", line 192, in wrapped
|     func(*a, **kwargs)
|   File "/build/glance-lDB4eq/glance-2012.1.1/glance/tests/functional/test_api.py", line 1318, in test_unsupported_default_store
|     **self.__dict__.copy())
|   File "/build/glance-lDB4eq/glance-2012.1.1/glance/tests/functional/__init__.py", line 502, in start_server
|     **kwargs)
|   File "/build/glance-lDB4eq/glance-2012.1.1/glance/tests/functional/__init__.py", line 157, in start
|     context=overridden)
|   File "/build/glance-lDB4eq/glance-2012.1.1/glance/tests/utils.py", line 269, in execute
|     raise RuntimeError(msg)
| RuntimeError: Command ./bin/glance-control api start /tmp/test.69432/etc/api.conf --pid-file=/tmp/test.69432/api.pid --capture-output --await-child=1 did not succeed. Returned an exit code of 0.
|
| STDOUT: Unable to increase file descriptor limit.  Running as non-root?
| Starting glance-api with /tmp/test.69432/etc/api.conf
|
|
| STDERR:
|
| CONTEXT: ==Core config==
| [DEFAULT]
| verbose = True
| debug = True
| filesystem_store_datadir=/tmp/test.69432/images
| default_store = shouldnotexist
| bind_host = 0.0.0.0
| bind_port = 57509
| key_file =
| cert_file =
| metadata_encryption_key = 012345678901234567890123456789ab
| registry_host = 0.0.0.0
| registry_port = 59143
| log_file = /tmp/test.69432/api.log
| s3_store_host = s3.amazonaws.com
| s3_store_access_key =
| s3_store_secret_key =
| s3_store_bucket =
| swift_store_auth_address =
| swift_store_user =
| swift_store_key =
| swift_store_container =
| swift_store_large_object_size = 5120
| swift_store_large_object_chunk_size = 200
| rbd_store_chunk_size = 4
| rbd_store_user =
| rbd_store_pool =
| rbd_store_ceph_conf =
| delayed_delete = False
| owner_is_tenant = True
| workers = 0
| scrub_time = 5
| scrubber_datadir = /tmp/test.69432/scrubber
| image_cache_dir = /tmp/test.69432/cache
| image_cache_driver = sqlite
| policy_file = /tmp/test.69432/policy.json
| policy_default_rule = default
| [paste_deploy]
| flavor =
|
| ==Paste config==
| [pipeline:glance-api]
| pipeline = versionnegotiation context apiv1app
|
| [pipeline:glance-api-caching]
| pipeline = versionnegotiation context cache apiv1app
|
| [pipeline:glance-api-cachemanagement]
| pipeline = versionnegotiation context cache cache_manage apiv1app
|
| [pipeline:glance-api-fakeauth]
| pipeline = versionnegotiation fakeauth context apiv1app
|
| [app:apiv1app]
| paste.app_factory = glance.common.wsgi:app_factory
| glance.app_factory = glance.api.v1.router:API
|
| [filter:versionnegotiation]
| paste.filter_factory = glance.common.wsgi:filter_factory
| glance.filter_factory =
|  glance.api.middleware.version_negotiation:VersionNegotiationFilter
|
| [filter:cache]
| paste.filter_factory = glance.common.wsgi:filter_factory
| glance.filter_factory = glance.api.middleware.cache:CacheFilter
|
| [filter:cache_manage]
| paste.filter_factory = glance.common.wsgi:filter_factory
| glance.filter_factory = glance.api.middleware.cache_manage:CacheManageFilter
|
| [filter:context]
| paste.filter_factory = glance.common.wsgi:filter_factory
| glance.filter_factory = glance.common.context:ContextMiddleware
|
| [filter:fakeauth]
| paste.filter_factory = glance.common.wsgi:filter_factory
| glance.filter_factory = glance.tests.utils:FakeAuthMiddleware
|
|
| ======================================================================
| ERROR: test_interrupt_avoids_respawn_storm (glance.tests.functional.test_multiprocessing.TestMultiprocessing)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/glance-lDB4eq/glance-2012.1.1/glance/tests/functional/test_multiprocessing.py", line 62, in test_interrupt_avoids_respawn_storm
|     execute(cmd, raise_error=True)
|   File "/build/glance-lDB4eq/glance-2012.1.1/glance/tests/utils.py", line 269, in execute
|     raise RuntimeError(msg)
| RuntimeError: Command kill -INT 12450 12451 12452 12660 12661 12662 13377 13378 13379 13395 13396 did not succeed. Returned an exit code of 1.
|
| STDOUT:
|
| STDERR: /bin/sh: 1: kill: No such process
|
|
|
| ----------------------------------------------------------------------
| Ran 639 tests in 612.730s
|
| FAILED (SKIP=52, errors=2)
| make[1]: *** [override_dh_auto_test] Error 1

-- 
Jakub Wilk





More information about the Openstack-devel mailing list