tempest failure cinder.tests.api.contrib.test_hosts.HostTestCase.test_list_hosts_with_zone

Bug #1292643 reported by Edward Hope-Morley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
git-harry
Icehouse
Fix Released
Undecided
Unassigned
tempest
Invalid
Undecided
Unassigned
Revision history for this message
Mauro S M Rodrigues (maurorodrigues) wrote :

Nothing to do with tempest, those are cinder unit tests.
Adding cinder team, removing tempest

Changed in tempest:
status: New → Invalid
Revision history for this message
git-harry (git-harry) wrote :
Download full text (6.7 KiB)

I have seen a failure with the same test, the link in the bug description is dead. Below is an extract of my logs.

It looks to be due to the length of time the test are taking to run. The logs show that the service status is unavailable which indicates that more than 60 seconds passed between when the module was loaded and when the tests were run.

2014-03-24 14:15:27.572 | ======================================================================
2014-03-24 14:15:27.572 | FAIL: cinder.tests.api.contrib.test_hosts.HostTestCase.test_list_hosts_with_zone
2014-03-24 14:15:27.572 | tags: worker-0
2014-03-24 14:15:27.572 | ----------------------------------------------------------------------
2014-03-24 14:15:27.572 | Empty attachments:
2014-03-24 14:15:27.573 | pythonlogging:''
2014-03-24 14:15:27.573 | stderr
2014-03-24 14:15:27.573 | stdout
2014-03-24 14:15:27.573 |
2014-03-24 14:15:27.573 | pythonlogging:''-1: {{{
2014-03-24 14:15:27.573 | found extension EntryPoint.parse('qpid = oslo.messaging._drivers.impl_qpid:QpidDriver')
2014-03-24 14:15:27.573 | found extension EntryPoint.parse('zmq = oslo.messaging._drivers.impl_zmq:ZmqDriver')
2014-03-24 14:15:27.573 | found extension EntryPoint.parse('kombu = oslo.messaging._drivers.impl_rabbit:RabbitDriver')
2014-03-24 14:15:27.573 | found extension EntryPoint.parse('rabbit = oslo.messaging._drivers.impl_rabbit:RabbitDriver')
2014-03-24 14:15:27.573 | found extension EntryPoint.parse('fake = oslo.messaging._drivers.impl_fake:FakeDriver')
2014-03-24 14:15:27.573 | found extension EntryPoint.parse('cinder.openstack.common.notifier.no_op_notifier = oslo.messaging.notify._impl_noop:NoOpDriver')
2014-03-24 14:15:27.574 | found extension EntryPoint.parse('cinder.openstack.common.notifier.log_notifier = oslo.messaging.notify._impl_log:LogDriver')
2014-03-24 14:15:27.574 | found extension EntryPoint.parse('cinder.openstack.common.notifier.test_notifier = oslo.messaging.notify._impl_test:TestDriver')
2014-03-24 14:15:27.574 | found extension EntryPoint.parse('cinder.openstack.common.notifier.rpc_notifier2 = oslo.messaging.notify._impl_messaging:MessagingV2Driver')
2014-03-24 14:15:27.574 | found extension EntryPoint.parse('cinder.openstack.common.notifier.rpc_notifier = oslo.messaging.notify._impl_messaging:MessagingDriver')
2014-03-24 14:15:27.574 | found extension EntryPoint.parse('log = oslo.messaging.notify._impl_log:LogDriver')
2014-03-24 14:15:27.574 | found extension EntryPoint.parse('messagingv2 = oslo.messaging.notify._impl_messaging:MessagingV2Driver')
2014-03-24 14:15:27.574 | found extension EntryPoint.parse('noop = oslo.messaging.notify._impl_noop:NoOpDriver')
2014-03-24 14:15:27.574 | found extension EntryPoint.parse('routing = oslo.messaging.notify._impl_routing:RoutingDriver')
2014-03-24 14:15:27.574 | found extension EntryPoint.parse('test = oslo.messaging.notify._impl_test:TestDriver')
2014-03-24 14:15:27.574 | found extension EntryPoint.parse('messaging = oslo.messaging.notify._impl_messaging:MessagingDriver')
2014-03-24 14:15:27.574 | }}}
2014-03-24 14:15:27.574 |
2014-03-24 14:15:27.575 | Traceback (most recent call last):
2014-03-24 14:15:27.575 | File "cinder/tests/api/contrib/te...

Read more...

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/84125

Changed in cinder:
assignee: nobody → git-harry (git-harry)
status: New → In Progress
Mike Perez (thingee)
Changed in cinder:
milestone: none → next
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/84125
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=4465cd20b42c0db0efd405b57d9dc141bf6ed918
Submitter: Jenkins
Branch: master

commit 4465cd20b42c0db0efd405b57d9dc141bf6ed918
Author: git-harry <email address hidden>
Date: Mon Mar 31 13:59:56 2014 +0100

    Fixes HostTestCase failures due to slow test run

    Status check in _list_hosts() fails if tests take longer than the
    service_down_time.

    Stubbing utcnow() guarantees that status check passes for tests.

    Change-Id: I188443730ce077a8117812f1089db36ece184e7a
    Closes-Bug: 1292643

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: next → none
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/140450

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/icehouse)

Reviewed: https://review.openstack.org/140450
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=97a7e20322499ffc748346d6ff1446d3a03e32d6
Submitter: Jenkins
Branch: stable/icehouse

commit 97a7e20322499ffc748346d6ff1446d3a03e32d6
Author: git-harry <email address hidden>
Date: Mon Mar 31 13:59:56 2014 +0100

    Fixes HostTestCase failures due to slow test run

    Status check in _list_hosts() fails if tests take longer than the
    service_down_time.

    Stubbing utcnow() guarantees that status check passes for tests.

    Change-Id: I188443730ce077a8117812f1089db36ece184e7a
    Closes-Bug: 1292643
    (cherry picked from commit 4465cd20b42c0db0efd405b57d9dc141bf6ed918)

tags: added: in-stable-icehouse
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.