The test_create_delete_snapshot changes actually revealed something here. Looks like we are getting backup.createprogress notifications in a test which shouldn't deal with backup.
Maybe the backup tests are leaking something?
http://logs.openstack.org/85/147185/2/check/gate-cinder-python27/ceb7d84/console.html
2015-03-12 15:37:51.378 | cinder.tests.test_volume.VolumeTestCase.test_create_delete_snapshot 2015-03-12 15:37:51.378 | ------------------------------------------------------------------- 2015-03-12 15:37:51.378 | 2015-03-12 15:37:51.378 | Captured traceback: 2015-03-12 15:37:51.378 | ~~~~~~~~~~~~~~~~~~~ 2015-03-12 15:37:51.378 | Traceback (most recent call last): 2015-03-12 15:37:51.378 | File "cinder/tests/test_volume.py", line 2488, in test_create_delete_snapshot 2015-03-12 15:37:51.378 | self.assertEqual(msg['event_type'], 'snapshot.delete.end') 2015-03-12 15:37:51.378 | File "/home/jenkins/workspace/gate-cinder-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual 2015-03-12 15:37:51.379 | self.assertThat(observed, matcher, message) 2015-03-12 15:37:51.379 | File "/home/jenkins/workspace/gate-cinder-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat 2015-03-12 15:37:51.379 | raise mismatch_error 2015-03-12 15:37:51.379 | testtools.matchers._impl.MismatchError: 'backup.createprogress' != 'snapshot.delete.end'
The test_create_ delete_ snapshot changes actually revealed something here. Looks like we are getting backup. createprogress notifications in a test which shouldn't deal with backup.
Maybe the backup tests are leaking something?
http:// logs.openstack. org/85/ 147185/ 2/check/ gate-cinder- python27/ ceb7d84/ console. html
2015-03-12 15:37:51.378 | cinder. tests.test_ volume. VolumeTestCase. test_create_ delete_ snapshot ------- ------- ------- ------- ------- ------- ------- ------- ---- tests/test_ volume. py", line 2488, in test_create_ delete_ snapshot l(msg[' event_type' ], 'snapshot. delete. end') jenkins/ workspace/ gate-cinder- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 350, in assertEqual (observed, matcher, message) jenkins/ workspace/ gate-cinder- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 435, in assertThat matchers. _impl.MismatchE rror: 'backup. createprogress' != 'snapshot. delete. end'
2015-03-12 15:37:51.378 | -------
2015-03-12 15:37:51.378 |
2015-03-12 15:37:51.378 | Captured traceback:
2015-03-12 15:37:51.378 | ~~~~~~~~~~~~~~~~~~~
2015-03-12 15:37:51.378 | Traceback (most recent call last):
2015-03-12 15:37:51.378 | File "cinder/
2015-03-12 15:37:51.378 | self.assertEqua
2015-03-12 15:37:51.378 | File "/home/
2015-03-12 15:37:51.379 | self.assertThat
2015-03-12 15:37:51.379 | File "/home/
2015-03-12 15:37:51.379 | raise mismatch_error
2015-03-12 15:37:51.379 | testtools.