test_live_migration_with_trunk fails intermittently

Bug #1924258 reported by Balazs Gibizer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Lajos Katona

Bug Description

The recently merged test_live_migration_with_trunk [1] test case seems to be unstable. It failed 84 times since it was merged[2].

See an example faiure in [3].

2021-04-15 08:42:11.382920 | controller |
2021-04-15 08:42:11.382943 | controller | Captured traceback:
2021-04-15 08:42:11.382964 | controller | ~~~~~~~~~~~~~~~~~~~
2021-04-15 08:42:11.382983 | controller | Traceback (most recent call last):
2021-04-15 08:42:11.383012 | controller |
2021-04-15 08:42:11.383032 | controller | File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 89, in wrapper
2021-04-15 08:42:11.383052 | controller | return func(*func_args, **func_kwargs)
2021-04-15 08:42:11.383071 | controller |
2021-04-15 08:42:11.383096 | controller | File "/opt/stack/tempest/tempest/common/utils/__init__.py", line 70, in wrapper
2021-04-15 08:42:11.383117 | controller | return f(*func_args, **func_kwargs)
2021-04-15 08:42:11.383136 | controller |
2021-04-15 08:42:11.383156 | controller | File "/opt/stack/tempest/tempest/api/compute/admin/test_live_migration.py", line 284, in test_live_migration_with_trunk
2021-04-15 08:42:11.383191 | controller | self.assertEqual('ACTIVE', parent['status'])
2021-04-15 08:42:11.383212 | controller |
2021-04-15 08:42:11.383231 | controller | File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/testtools/testcase.py", line 415, in assertEqual
2021-04-15 08:42:11.383250 | controller | self.assertThat(observed, matcher, message)
2021-04-15 08:42:11.383269 | controller |
2021-04-15 08:42:11.383289 | controller | File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/testtools/testcase.py", line 502, in assertThat
2021-04-15 08:42:11.383313 | controller | raise mismatch_error
2021-04-15 08:42:11.383351 | controller |
2021-04-15 08:42:11.383371 | controller | testtools.matchers._impl.MismatchError: 'ACTIVE' != 'DOWN'
2021-04-15 08:42:11.383391 | controller |

[1] https://review.opendev.org/c/openstack/tempest/+/774689
[2] http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22in%20test_live_migration_with_trunk%5C%22
[3] https://7c0b724b0ddcf96ebb58-1f01c4de10139c366cbd7ac49c7ab3d8.ssl.cf2.rackcdn.com/777155/4/check/nova-live-migration/e365094/job-output.txt

Changed in tempest:
assignee: nobody → Lajos Katona (lajos-katona)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tempest/+/786465

Changed in tempest:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.opendev.org/c/openstack/tempest/+/786465
Committed: https://opendev.org/openstack/tempest/commit/5c1068488ee3a0204bf1155b0a4bd45b89fddae4
Submitter: "Zuul (22348)"
Branch: master

commit 5c1068488ee3a0204bf1155b0a4bd45b89fddae4
Author: elajkat <email address hidden>
Date: Thu Apr 15 17:45:34 2021 +0200

    Add waiter for test_live_migration_with_trunk

    Add waiter for parent_port status check

    Change-Id: Ia2b292d0e8bca016b8c81b2a41c35536a8a959bd
    Closes-Bug: #1924258

Changed in tempest:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tempest train-last

This issue was fixed in the openstack/tempest train-last release.

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.