← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1871340] Re: neutron.tests.functional.agent.ovn.metadata.test_metadata_agent.TestMetadataAgent.test_agent_registration_at_chassis_create_event fails randomly

 

Reviewed:  https://review.opendev.org/718462
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ac5094daa660a98aa4b2d616312b4bbacc98d524
Submitter: Zuul
Branch:    master

commit ac5094daa660a98aa4b2d616312b4bbacc98d524
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Wed Apr 8 13:57:27 2020 +0000

    Wait until agent metadata is in SB chassis register
    
    Change-Id: I685c86e19fc1acc29fe048e8f7810006e0bb16a9
    Closes-Bug: #1871340


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1871340

Title:
  neutron.tests.functional.agent.ovn.metadata.test_metadata_agent.TestMetadataAgent.test_agent_registration_at_chassis_create_event
  fails randomly

Status in neutron:
  Fix Released

Bug description:
  Seemingly starting from the 1st of April
  neutron.tests.functional.agent.ovn.metadata.test_metadata_agent.TestMetadataAgent.test_agent_registration_at_chassis_create_event
  fails randomly in the gate with the error message:

  2020-04-06 08:55:57.302891 | controller | ==============================
  2020-04-06 08:55:57.302931 | controller | Failed 1 tests - output below:
  2020-04-06 08:55:57.302953 | controller | ==============================
  2020-04-06 08:55:57.302972 | controller |
  2020-04-06 08:55:57.302992 | controller | neutron.tests.functional.agent.ovn.metadata.test_metadata_agent.TestMetadataAgent.test_agent_registration_at_chassis_create_event
  2020-04-06 08:55:57.303012 | controller | ---------------------------------------------------------------------------------------------------------------------------------
  2020-04-06 08:55:57.303030 | controller |
  2020-04-06 08:55:57.303050 | controller | Captured traceback:
  2020-04-06 08:55:57.303069 | controller | ~~~~~~~~~~~~~~~~~~~
  2020-04-06 08:55:57.303088 | controller |     Traceback (most recent call last):
  2020-04-06 08:55:57.303107 | controller |
  2020-04-06 08:55:57.303126 | controller |       File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 182, in func
  2020-04-06 08:55:57.303145 | controller |     return f(self, *args, **kwargs)
  2020-04-06 08:55:57.303164 | controller |
  2020-04-06 08:55:57.303184 | controller |       File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/functional/agent/ovn/metadata/test_metadata_agent.py", line 220, in test_agent_registration_at_chassis_create_event
  2020-04-06 08:55:57.303203 | controller |     chassis.external_ids)
  2020-04-06 08:55:57.303223 | controller |
  2020-04-06 08:55:57.303242 | controller |       File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.6/site-packages/testtools/testcase.py", line 421, in assertIn
  2020-04-06 08:55:57.303261 | controller |     self.assertThat(haystack, Contains(needle), message)
  2020-04-06 08:55:57.303281 | controller |
  2020-04-06 08:55:57.303300 | controller |       File "/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional/lib/python3.6/site-packages/testtools/testcase.py", line 502, in assertThat
  2020-04-06 08:55:57.303319 | controller |     raise mismatch_error
  2020-04-06 08:55:57.303338 | controller |
  2020-04-06 08:55:57.303357 | controller |     testtools.matchers._impl.MismatchError: 'neutron:ovn-metadata-id' not in {'ovn-bridge-mappings': ''}

  Example log:
  https://99f8d9af3210ff587b09-7ad1a719016265adf2ccc36ef6645b87.ssl.cf2.rackcdn.com/702247/7/gate
  /neutron-functional/f42992a/job-output.txt

  Logstash:
  http://logstash.openstack.org/#/dashboard/file/logstash.json?query=message:%5C%22neutron
  :ovn-metadata-id%5C%22%20AND%20message:%5C%22ovn-bridge-
  mappings%5C%22%20AND%20voting:1&from=864000s

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1871340/+subscriptions


References