test_wait_for_volume_attachment_not_present fails with StopIteration

Bug #1914620 reported by Lee Yarwood
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Confirmed
Low
Unassigned

Bug Description

https://508bfdd6cb746245b8c8-09824a3c0d7e7424a39a97849bbb2f33.ssl.cf2.rackcdn.com/710040/4/check/openstack-tox-py36/e9ff1a1/testr_results.html

ft1.3: tempest.tests.common.test_waiters.TestVolumeWaiters.test_wait_for_volume_attachment_not_presenttesttools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/zuul/src/opendev.org/openstack/tempest/tempest/tests/common/test_waiters.py", line 385, in test_wait_for_volume_attachment_not_present
    uuids.attachment_id)
  File "/home/zuul/src/opendev.org/openstack/tempest/tempest/common/waiters.py", line 317, in wait_for_volume_attachment_remove
    'seconds', attachment_id, volume_id, time.time() - start)
  File "/usr/lib/python3.6/logging/__init__.py", line 1636, in info
    self.log(INFO, msg, *args, **kwargs)
  File "/usr/lib/python3.6/logging/__init__.py", line 1674, in log
    self.logger.log(level, msg, *args, **kwargs)
  File "/usr/lib/python3.6/logging/__init__.py", line 1374, in log
    self._log(level, msg, args, **kwargs)
  File "/usr/lib/python3.6/logging/__init__.py", line 1443, in _log
    exc_info, func, extra, sinfo)
  File "/usr/lib/python3.6/logging/__init__.py", line 1413, in makeRecord
    sinfo)
  File "/usr/lib/python3.6/logging/__init__.py", line 256, in __init__
    ct = time.time()
  File "/usr/lib/python3.6/unittest/mock.py", line 939, in __call__
    return _mock_self._mock_call(*args, **kwargs)
  File "/usr/lib/python3.6/unittest/mock.py", line 1001, in _mock_call
    result = next(effect)
StopIteration

Revision history for this message
Martin Kopec (mkopec) wrote :

yeah, it's happening very rarely, maybe it's just a random python issue. Let's keep this for a while to see if it's happening more often. I'm also gonna check the test if there is anything we can write differently to avoid an issue like this.

Revision history for this message
Martin Kopec (mkopec) wrote :
Revision history for this message
Martin Kopec (mkopec) wrote :

No failures since the last comment, failure rate still at 0.63%. Let's mark this as Confirmed with a Low importance as this is happening very rarely and let's monitor it.

Changed in tempest:
importance: Undecided → Low
status: New → Confirmed
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.