oslo_messaging.tests.drivers.test_impl_rabbit.TestSendReceive.test_send_receive sometime fails

Bug #1475502 reported by Mehdi Abaakouk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.messaging
Fix Released
Undecided
Mehdi Abaakouk

Bug Description

Sometimes this tests fail in gate:

Traceback (most recent call last):
  File "oslo_messaging/tests/drivers/test_impl_rabbit.py", line 477, in test_send_receive
    self.assertAlmostEqual(0.5, time.time() - start, 1)
  File "/home/jenkins/workspace/gate-oslo.messaging-python27/.tox/py27/local/lib/python2.7/site-packages/unittest2/case.py", line 883, in assertAlmostEqual
    raise self.failureException(msg)
AssertionError: 0.5 != 0.5819158554077148 within 1 places

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

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

Changed in oslo.messaging:
assignee: nobody → Mehdi Abaakouk (sileht)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.messaging (master)

Reviewed: https://review.openstack.org/202897
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=91705a1d916706727ca771515f8ba5d769646689
Submitter: Jenkins
Branch: master

commit 91705a1d916706727ca771515f8ba5d769646689
Author: Mehdi Abaakouk <email address hidden>
Date: Fri Jul 17 08:29:28 2015 +0200

    tests: adjusts an expected time for gate

    Sometimes the gate fails because a test take a bit more time than
    expected, this change adjusts this.

    Closes-bug: #1475502
    Change-Id: I7396c9de82aab18e84c0e08cc1f6f0903884130a

Changed in oslo.messaging:
status: In Progress → Fix Committed
Changed in oslo.messaging:
milestone: none → 2.0.0
status: Fix Committed → Fix Released
Revision history for this message
ChangBo Guo(gcb) (glongwave) wrote :

I hit this again in Py34 test.

http://logs.openstack.org/55/261155/1/check/gate-oslo.messaging-python34/bbb5dc7/testr_results.html.gz

ft20.183: oslo_messaging.tests.drivers.test_impl_rabbit.TestSendReceive.test_send_receive(single_sender,with_context,zero,reply_failure,expected_failure,no_timeout)_StringException: Empty attachments:
  stderr
  stdout

Traceback (most recent call last):
  File "/home/jenkins/workspace/gate-oslo.messaging-python34/oslo_messaging/tests/drivers/test_impl_rabbit.py", line 472, in test_send_receive
    self.assertTrue(timeout <= dt < (timeout + 0.100), dt)
  File "/home/jenkins/workspace/gate-oslo.messaging-python34/.tox/py34/lib/python3.4/site-packages/unittest2/case.py", line 702, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true : 0.716376781463623

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.