test_volume randomly fails on Python 3.4

Bug #1502229 reported by Victor Stinner
This bug report is a duplicate of:  Bug #1501745: gate-cinder-python34 failed. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned

Bug Description

For an unknown reason, "tox -e py34" randomly fails on the gates on test_volume. Example of failure:

2015-10-01 16:31:08.063 | ======================================================================
2015-10-01 16:31:08.063 | FAIL: cinder.tests.unit.test_volume.ConsistencyGroupTestCase.test_create_consistencygroup_from_src
2015-10-01 16:31:08.063 | ----------------------------------------------------------------------
2015-10-01 16:31:08.063 | Traceback (most recent call last):
2015-10-01 16:31:08.063 | File "/home/jenkins/workspace/gate-cinder-python34/.tox/py34/lib/python3.4/site-packages/mock/mock.py", line 1305, in patched
2015-10-01 16:31:08.063 | return func(*args, **keywargs)
2015-10-01 16:31:08.063 | File "/home/jenkins/workspace/gate-cinder-python34/cinder/tests/unit/test_volume.py", line 5088, in test_create_consistencygroup_from_src
2015-10-01 16:31:08.063 | self.assertEqual('consistencygroup.create.start', msg['event_type'])
2015-10-01 16:31:08.063 | File "/home/jenkins/workspace/gate-cinder-python34/.tox/py34/lib/python3.4/site-packages/testtools/testcase.py", line 350, in assertEqual
2015-10-01 16:31:08.064 | self.assertThat(observed, matcher, message)
2015-10-01 16:31:08.064 | File "/home/jenkins/workspace/gate-cinder-python34/.tox/py34/lib/python3.4/site-packages/testtools/testcase.py", line 435, in assertThat
2015-10-01 16:31:08.064 | raise mismatch_error
2015-10-01 16:31:08.064 | testtools.matchers._impl.MismatchError: 'consistencygroup.create.start' != 'volume.create.end'

Another example:

2015-10-02 15:07:35.950 | ======================================================================
2015-10-02 15:07:35.950 | FAIL: cinder.tests.unit.test_volume.ConsistencyGroupTestCase.test_create_consistencygroup_from_src
2015-10-02 15:07:35.951 | ----------------------------------------------------------------------
2015-10-02 15:07:35.951 | Traceback (most recent call last):
2015-10-02 15:07:35.951 | File "/home/jenkins/workspace/gate-cinder-python34/.tox/py34/lib/python3.4/site-packages/mock/mock.py", line 1305, in patched
2015-10-02 15:07:35.951 | return func(*args, **keywargs)
2015-10-02 15:07:35.951 | File "/home/jenkins/workspace/gate-cinder-python34/cinder/tests/unit/test_volume.py", line 5088, in test_create_consistencygroup_from_src
2015-10-02 15:07:35.951 | self.assertEqual('consistencygroup.create.start', msg['event_type'])
2015-10-02 15:07:35.951 | File "/home/jenkins/workspace/gate-cinder-python34/.tox/py34/lib/python3.4/site-packages/testtools/testcase.py", line 350, in assertEqual
2015-10-02 15:07:35.951 | self.assertThat(observed, matcher, message)
2015-10-02 15:07:35.951 | File "/home/jenkins/workspace/gate-cinder-python34/.tox/py34/lib/python3.4/site-packages/testtools/testcase.py", line 435, in assertThat
2015-10-02 15:07:35.951 | raise mismatch_error
2015-10-02 15:07:35.951 | testtools.matchers._impl.MismatchError: 'consistencygroup.create.start' != 'backup.createprogress'

Revision history for this message
Victor Stinner (vstinner) wrote :

I found at least 5 failures on 'consistencygroup.create.start' != 'volume.create.end'.

I used Kibana with the search query:

build_name:"gate-cinder-python34" AND build_status:"FAILURE" AND test_create_consistencygroup_from_src

Kibana: http://logstash.openstack.org/

Revision history for this message
Eric Harney (eharney) wrote :
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.