The attempt to merge lp:~rackspace-titan/glance/glance-clear-lp766295 into lp:glance failed. Below is the output from the failed tests. running test running egg_info creating glance.egg-info writing glance.egg-info/PKG-INFO writing top-level names to glance.egg-info/top_level.txt writing dependency_links to glance.egg-info/dependency_links.txt writing manifest file 'glance.egg-info/SOURCES.txt' reading manifest file 'glance.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'ChangeLog' writing manifest file 'glance.egg-info/SOURCES.txt' running build_ext We test the following: ... ERROR We test the following: ... ok Test for LP Bugs #736295, #767203 ... ok We test the following sequential series of actions: ... ok A test against the actual datastore backend for the registry ... ok A test that errors coming from the POST API do not ... ok Test logging output proper when verbose and debug ... ok Test logging output proper when verbose and debug ... ok A test for LP bug #704854 -- Exception thrown by registry ... ok Tests raises BadRequest for invalid store header ... ok Tests to add a basic image in the file store ... ok Tests creates a queued image for no body and no loc header ... ok Test that the image contents are checksummed properly ... ok test_bad_container_format (tests.unit.test_api.TestGlanceAPI) ... ok test_bad_disk_format (tests.unit.test_api.TestGlanceAPI) ... ok test_delete_image (tests.unit.test_api.TestGlanceAPI) ... ok test_delete_non_exists_image (tests.unit.test_api.TestGlanceAPI) ... ok Here, we try to delete an image that is in the queued state. ... ok Test that the ETag header matches the x-image-meta-checksum ... ok Test that the image contents are checksummed properly ... ok Test for HEAD /images/ ... ok test_show_image_basic (tests.unit.test_api.TestGlanceAPI) ... ok test_show_non_exists_image (tests.unit.test_api.TestGlanceAPI) ... ok Tests that the /images POST registry API creates the image ... ok Tests proper exception is raised if a bad disk_format is set ... ok Tests proper exception is raised if a bad disk_format is set ... ok Tests proper exception is raised if a bad status is set ... ok Tests that exception raised for bad matching disk and container ... ok Tests that the /images DELETE registry API deletes the image ... ok Tests proper exception is raised if attempt to delete non-existing ... ok Tests that the /images/detail registry API returns ... ok Tests that the /images registry API returns list of ... ok Tests that the root registry API returns "index", ... ok Tests that the /images PUT registry API updates the image ... ok Tests proper exception is raised if attempt to update non-existing ... ok Tests that exception raised trying to set a bad container_format ... ok Tests that exception raised trying to set a bad disk_format ... ok Tests that exception raised trying to set a bad status ... ok Tests that exception raised for bad matching disk and container ... ok Test ClientConnectionError raised ... ok Tests proper exception is raised if image with ID already exists ... ok Tests that we can add image metadata and returns the new id ... ok Tests a bad status is set to a proper one by server ... ok Tests BadRequest raised when supplying bad store name in meta ... ok Tests can add image by passing image data as file ... ok Tests can add image by passing image data as string ... ok Tests add image by passing image data as string w/ no size attr ... ok Tests that we can add image metadata with properties ... ok Tests client returns image as queued ... ok Tests that image metadata is deleted properly ... ok Tests cannot delete non-existing image ... ok Test a simple file backend retrieval works as expected ... ok Tests that the detailed info about public images returned ... ok Test correct set of public image returned ... ok Tests that the detailed info about an image returned ... ok Tests that NotFound is raised when getting a non-existing image ... ok Test retrieval of a non-existing image returns a 404 ... ok Tests that the /images PUT registry API updates the image ... ok Tests non existing image update doesn't work ... ok Tests proper exception is raised if image with ID already exists ... ok Tests that we can add image metadata and returns the new id ... ok Tests proper exception is raised if a bad status is set ... ok Tests that we can add image metadata with properties ... ok Tests that image metadata is deleted properly ... ok Tests cannot delete non-existing image ... ok Tests that the detailed info about an image returned ... ok Tests that the detailed info about public images returned ... ok Test correct set of public image returned ... ok Tests that NotFound is raised when getting a non-existing image ... ok Tests that the /images PUT registry API updates the image ... ok Tests non existing image update doesn't work ... ok test_common_options (tests.unit.test_config.TestConfig) ... ok test_parse_options (tests.unit.test_config.TestConfig) ... Usage: setup.py [options] setup.py: error: no such option: --unknown ok Test that we can add an image via the filesystem backend ... ok Tests that adding an image with an existing identifier ... ok Test we can delete an existing image in the filesystem store ... ok Test that trying to delete a file that doesn't exist ... ok Test a "normal" retrieval of an image in chunks ... ok Test that trying to retrieve a file that doesn't exist ... ok Here, we test that in the case when we moved a column "type" from the ... ok Walks all version scripts for each tested database, ensuring ... ok test_http_get (tests.unit.test_stores.TestHTTPBackend) ... ok test_https_get (tests.unit.test_stores.TestHTTPBackend) ... ok test_get (tests.unit.test_stores.TestS3Backend) ... ok Test that we can add an image via the swift backend ... ok Tests that adding an image with an existing identifier ... ok Tests that adding options without auth address raises ... ok Tests that adding an image with a non-existing container ... ok Tests that adding an image with a non-existing container ... ok Tests that adding options without user raises ... ok Test we can delete an existing image in the swift store ... ok Test that trying to delete a swift that doesn't exist ... ok Test a "normal" retrieval of an image in chunks ... ok Test retrieval of an image with wrong expected_size param ... ok Test that trying to retrieve a swift that doesn't exist ... ok Tests that adding options without key raises ... ok Test that the parse_swift_tokens function returns ... ok Tests that boolean headers like is_public can be set ... ok Verifies that data is the same after being passed through headers ... ok Verifies that the headers returned by conversion code are unicode. ... ok ====================================================================== ERROR: We test the following: ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpsLSiuF/tests/functional/__init__.py", line 57, in wrapped func(*a, **kwargs) File "/tmp/tmpsLSiuF/tests/functional/test_bin_glance.py", line 199, in test_add_clear exitcode, out, err = execute(cmd) File "/tmp/tmpsLSiuF/tests/utils.py", line 45, in execute raise RuntimeError(msg) RuntimeError: Command bin/glance --port=41899 clear did not succeed. Returned an exit code of 1. STDOUT: Delete all images? [Y/n] Not deleting any images STDERR: -------------------- >> begin captured logging << -------------------- migrate.versioning.repository: DEBUG: Loading repository glance/registry/db/migrate_repo... migrate.versioning.script.base: DEBUG: Loading script glance/registry/db/migrate_repo/versions/001_add_images_table.py... migrate.versioning.script.base: DEBUG: Script glance/registry/db/migrate_repo/versions/001_add_images_table.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script glance/registry/db/migrate_repo/versions/002_add_image_properties_table.py... migrate.versioning.script.base: DEBUG: Script glance/registry/db/migrate_repo/versions/002_add_image_properties_table.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script glance/registry/db/migrate_repo/versions/003_sqlite_downgrade.sql... migrate.versioning.script.base: DEBUG: Script glance/registry/db/migrate_repo/versions/003_sqlite_downgrade.sql loaded successfully migrate.versioning.script.base: DEBUG: Loading script glance/registry/db/migrate_repo/versions/003_sqlite_upgrade.sql... migrate.versioning.script.base: DEBUG: Script glance/registry/db/migrate_repo/versions/003_sqlite_upgrade.sql loaded successfully migrate.versioning.script.base: DEBUG: Loading script glance/registry/db/migrate_repo/versions/003_add_disk_format.py... migrate.versioning.script.base: DEBUG: Script glance/registry/db/migrate_repo/versions/003_add_disk_format.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script glance/registry/db/migrate_repo/versions/004_add_checksum.py... migrate.versioning.script.base: DEBUG: Script glance/registry/db/migrate_repo/versions/004_add_checksum.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script glance/registry/db/migrate_repo/versions/005_size_big_integer.py... migrate.versioning.script.base: DEBUG: Script glance/registry/db/migrate_repo/versions/005_size_big_integer.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script glance/registry/db/migrate_repo/versions/006_mysql_downgrade.sql... migrate.versioning.script.base: DEBUG: Script glance/registry/db/migrate_repo/versions/006_mysql_downgrade.sql loaded successfully migrate.versioning.script.base: DEBUG: Loading script glance/registry/db/migrate_repo/versions/006_sqlite_downgrade.sql... migrate.versioning.script.base: DEBUG: Script glance/registry/db/migrate_repo/versions/006_sqlite_downgrade.sql loaded successfully migrate.versioning.script.base: DEBUG: Loading script glance/registry/db/migrate_repo/versions/006_key_to_name.py... migrate.versioning.script.base: DEBUG: Script glance/registry/db/migrate_repo/versions/006_key_to_name.py loaded successfully migrate.versioning.script.base: DEBUG: Loading script glance/registry/db/migrate_repo/versions/006_sqlite_upgrade.sql... migrate.versioning.script.base: DEBUG: Script glance/registry/db/migrate_repo/versions/006_sqlite_upgrade.sql loaded successfully migrate.versioning.script.base: DEBUG: Loading script glance/registry/db/migrate_repo/versions/006_mysql_upgrade.sql... migrate.versioning.script.base: DEBUG: Script glance/registry/db/migrate_repo/versions/006_mysql_upgrade.sql loaded successfully migrate.versioning.repository: DEBUG: Repository glance/registry/db/migrate_repo loaded successfully migrate.versioning.repository: DEBUG: Config: {'db_settings': {'__name__': 'db_settings', 'required_dbs': '[]', 'version_table': 'migrate_version', 'repository_id': 'Glance Migrations'}} --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 100 tests in 15.929s FAILED (errors=1)