"test_port_ip_update_revises" fails in py37 intermittently

Bug #1819740 reported by Rodolfo Alonso
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Rodolfo Alonso

Bug Description

Error log [1]:
Traceback (most recent call last):
  File "/home/zuul/src/git.openstack.org/openstack/neutron/neutron/tests/base.py", line 174, in func
    return f(self, *args, **kwargs)
  File "/home/zuul/src/git.openstack.org/openstack/neutron/neutron/tests/unit/services/revisions/test_revision_plugin.py", line 170, in test_port_ip_update_revises
    response = self._update('ports', port['port']['id'], new)
  File "/home/zuul/src/git.openstack.org/openstack/neutron/neutron/tests/unit/db/test_db_base_plugin_v2.py", line 603, in _update
    self.assertEqual(expected_code, res.status_int)
  File "/home/zuul/src/git.openstack.org/openstack/neutron/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 411, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/home/zuul/src/git.openstack.org/openstack/neutron/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 200 != 400

[1] http://logs.openstack.org/79/633979/26/check/openstack-tox-py37/e7878ff/testr_results.html.gz

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Changed in neutron:
status: New → Confirmed
tags: added: gate-failure
Changed in neutron:
importance: Undecided → High
Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/642869
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=44382ac446d32e6300a732f968be0fbc843630e2
Submitter: Zuul
Branch: master

commit 44382ac446d32e6300a732f968be0fbc843630e2
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Mar 12 19:27:42 2019 +0000

    Specify tenant_id in TestRevisionPlugin objects

    In order to avoid interferences between other tests, the objects
    created in TestRevisionPlugin will be created for random
    tenant IDs, generated during the execution of each test.

    Change-Id: Ica7fe2379c7b1ce516ae7b0cd3959cff88a0b895
    Closes-Bug: #1819740

Changed in neutron:
status: In Progress → Fix Released
tags: added: neutron-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 14.0.0.0rc1

This issue was fixed in the openstack/neutron 14.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/650260

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/650261

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/650262

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/queens)

Reviewed: https://review.openstack.org/650261
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=cc1412f76a139265fb474308947f34545584f8f1
Submitter: Zuul
Branch: stable/queens

commit cc1412f76a139265fb474308947f34545584f8f1
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Mar 12 19:27:42 2019 +0000

    Specify tenant_id in TestRevisionPlugin objects

    In order to avoid interferences between other tests, the objects
    created in TestRevisionPlugin will be created for random
    tenant IDs, generated during the execution of each test.

    Change-Id: Ica7fe2379c7b1ce516ae7b0cd3959cff88a0b895
    Closes-Bug: #1819740
    (cherry picked from commit 44382ac446d32e6300a732f968be0fbc843630e2)

tags: added: in-stable-queens
tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/pike)

Reviewed: https://review.openstack.org/650262
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=4651fac9cb8d4ae955bffe2c982722d1fe5f8f4c
Submitter: Zuul
Branch: stable/pike

commit 4651fac9cb8d4ae955bffe2c982722d1fe5f8f4c
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Mar 12 19:27:42 2019 +0000

    Specify tenant_id in TestRevisionPlugin objects

    In order to avoid interferences between other tests, the objects
    created in TestRevisionPlugin will be created for random
    tenant IDs, generated during the execution of each test.

    Change-Id: Ica7fe2379c7b1ce516ae7b0cd3959cff88a0b895
    Closes-Bug: #1819740
    (cherry picked from commit 44382ac446d32e6300a732f968be0fbc843630e2)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/rocky)

Reviewed: https://review.openstack.org/650260
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7590f3f591c346b34808836e7a747e6115a95ad8
Submitter: Zuul
Branch: stable/rocky

commit 7590f3f591c346b34808836e7a747e6115a95ad8
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Mar 12 19:27:42 2019 +0000

    Specify tenant_id in TestRevisionPlugin objects

    In order to avoid interferences between other tests, the objects
    created in TestRevisionPlugin will be created for random
    tenant IDs, generated during the execution of each test.

    Change-Id: Ica7fe2379c7b1ce516ae7b0cd3959cff88a0b895
    Closes-Bug: #1819740
    (cherry picked from commit 44382ac446d32e6300a732f968be0fbc843630e2)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 11.0.7

This issue was fixed in the openstack/neutron 11.0.7 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 13.0.3

This issue was fixed in the openstack/neutron 13.0.3 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 12.0.6

This issue was fixed in the openstack/neutron 12.0.6 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.