trove unit tests disabled

Bug #1347567 reported by James Page on 2014-07-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-trove (Ubuntu)
High
Corey Bryant
Trusty
Undecided
Unassigned
Utopic
High
Corey Bryant

Bug Description

testr init && testr run || true
No handlers could be found for logger "trove.guestagent.backup.backupagent"
running=${PYTHON:-python} -m subunit.run discover ./trove/tests/unittests
======================================================================
FAIL: instance.test_instance_status.InstanceStatusTest.test_nova_server_build_reports_build
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/instance/test_instance_status.py", line 88, in test_nova_server_build_reports_build
    instance = SimpleInstance('dummy context', fake_db_info, fake_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: instance.test_instance_status.InstanceStatusTest.test_nova_server_error_reports_error
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/instance/test_instance_status.py", line 95, in test_nova_server_error_reports_error
    instance = SimpleInstance('dummy context', fake_db_info, fake_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: instance.test_instance_status.InstanceStatusTest.test_nova_server_reboot_reports_reboot
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/instance/test_instance_status.py", line 102, in test_nova_server_reboot_reports_reboot
    instance = SimpleInstance('dummy context', fake_db_info, fake_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: instance.test_instance_status.InstanceStatusTest.test_nova_server_resize_reports_resize
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/instance/test_instance_status.py", line 109, in test_nova_server_resize_reports_resize
    instance = SimpleInstance('dummy context', fake_db_info, fake_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: instance.test_instance_status.InstanceStatusTest.test_nova_server_verify_resize_reports_resize
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/instance/test_instance_status.py", line 116, in test_nova_server_verify_resize_reports_resize
    instance = SimpleInstance('dummy context', fake_db_info, fake_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: instance.test_instance_status.InstanceStatusTest.test_service_status_new_reports_build
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/instance/test_instance_status.py", line 130, in test_service_status_new_reports_build
    instance = SimpleInstance('dummy context', fake_db_info, fake_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: instance.test_instance_status.InstanceStatusTest.test_service_status_paused_reports_reboot
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/instance/test_instance_status.py", line 123, in test_service_status_paused_reports_reboot
    instance = SimpleInstance('dummy context', fake_db_info, fake_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: instance.test_instance_status.InstanceStatusTest.test_service_status_running_reports_active
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/instance/test_instance_status.py", line 137, in test_service_status_running_reports_active
    instance = SimpleInstance('dummy context', fake_db_info, fake_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: instance.test_instance_status.InstanceStatusTest.test_task_status_action_building_reports_build
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/instance/test_instance_status.py", line 60, in test_task_status_action_building_reports_build
    instance = SimpleInstance('dummy context', fake_db_info, fake_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: instance.test_instance_status.InstanceStatusTest.test_task_status_action_deleting_reports_shutdown
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/instance/test_instance_status.py", line 81, in test_task_status_action_deleting_reports_shutdown
    instance = SimpleInstance('dummy context', fake_db_info, fake_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: instance.test_instance_status.InstanceStatusTest.test_task_status_action_rebooting_reports_reboot
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/instance/test_instance_status.py", line 67, in test_task_status_action_rebooting_reports_reboot
    instance = SimpleInstance('dummy context', fake_db_info, fake_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: instance.test_instance_status.InstanceStatusTest.test_task_status_action_resizing_reports_resize
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/instance/test_instance_status.py", line 74, in test_task_status_action_resizing_reports_resize
    instance = SimpleInstance('dummy context', fake_db_info, fake_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: instance.test_instance_status.InstanceStatusTest.test_task_status_error_reports_error
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/instance/test_instance_status.py", line 53, in test_task_status_error_reports_error
    instance = SimpleInstance('dummy context', fake_db_info, fake_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: mgmt.test_models.TestMgmtInstanceTasks.test_public_exists_events
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/mgmt/test_models.py", line 367, in test_public_exists_events
    None)
  File "trove/extensions/mgmt/instances/models.py", line 70, in __init__
    datastore_status)
  File "trove/instance/models.py", line 488, in __init__
    super(BaseInstance, self).__init__(context, db_info, datastore_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: mgmt.test_models.TestNovaNotificationTransformer.test_tranformer
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/mgmt/test_models.py", line 180, in test_tranformer
    None)
  File "trove/extensions/mgmt/instances/models.py", line 70, in __init__
    datastore_status)
  File "trove/instance/models.py", line 488, in __init__
    super(BaseInstance, self).__init__(context, db_info, datastore_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: mgmt.test_models.TestNovaNotificationTransformer.test_tranformer_flavor_cache
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/mgmt/test_models.py", line 329, in test_tranformer_flavor_cache
    None)
  File "trove/extensions/mgmt/instances/models.py", line 70, in __init__
    datastore_status)
  File "trove/instance/models.py", line 488, in __init__
    super(BaseInstance, self).__init__(context, db_info, datastore_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: mgmt.test_models.TestNovaNotificationTransformer.test_tranformer_no_nova_instance
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/mgmt/test_models.py", line 302, in test_tranformer_no_nova_instance
    None)
  File "trove/extensions/mgmt/instances/models.py", line 70, in __init__
    datastore_status)
  File "trove/instance/models.py", line 488, in __init__
    super(BaseInstance, self).__init__(context, db_info, datastore_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================
FAIL: mgmt.test_models.TestNovaNotificationTransformer.test_tranformer_shutdown_instance
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd/openstack-trove-2014.2~b1/trove/tests/unittests/mgmt/test_models.py", line 278, in test_tranformer_shutdown_instance
    None)
  File "trove/extensions/mgmt/instances/models.py", line 70, in __init__
    datastore_status)
  File "trove/instance/models.py", line 488, in __init__
    super(BaseInstance, self).__init__(context, db_info, datastore_status)
  File "trove/instance/models.py", line 157, in __init__
    load_by_uuid(self.db_info.datastore_version_id))
  File "trove/datastore/models.py", line 399, in load_by_uuid
    raise exception.DatastoreVersionNotFound(version=uuid)
DatastoreVersionNotFound: Datastore version 'b00000b0-00b0-0b00-00b0-000b000000bb' cannot be found.
======================================================================

Related branches

James Page (james-page) on 2014-07-23
Changed in openstack-trove (Ubuntu Utopic):
importance: Undecided → High
status: New → Triaged
Changed in openstack-trove (Ubuntu Utopic):
assignee: nobody → Corey Bryant (corey.bryant)
Changed in openstack-trove (Ubuntu Utopic):
status: Triaged → In Progress
Changed in openstack-trove (Ubuntu Utopic):
status: In Progress → Fix Committed
Changed in openstack-trove (Ubuntu Trusty):
status: New → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openstack-trove - 2014.2~b3-0ubuntu1

---------------
openstack-trove (2014.2~b3-0ubuntu1) utopic; urgency=medium

  [ Corey Bryant ]
  * Enable unit test execution (LP: #1347567):
    - d/rules: Execute tests during package build.
    - d/p/skip-tests.patch: Add patch to skip broken tests.

  [ James Page ]
  * New upstream milestone release.
  * d/rules: Tidy surplus overrides.
 -- James Page <email address hidden> Thu, 25 Sep 2014 15:57:16 +0100

Changed in openstack-trove (Ubuntu Utopic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers