Pass the correct subnet to the port creation function in "test_port_ip_update_revises"

Bug #1828865 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Rodolfo Alonso

Bug Description

We are hitting sometimes a problem in "test_port_ip_update_revises" [1]. This happens because the port created doesn't belong to the previously created subnet. We need to enforce that the port is created in the subnet specifically created in this test.

[1] http://logs.openstack.org/69/650269/12/check/openstack-tox-lower-constraints/7adf36e/testr_results.html.gz

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

Fix proposed to branch: master
Review: https://review.opendev.org/658866

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
status: New → In Progress
summary: - Force random new IP in "test_port_ip_update_revises"
+ Pass the correct subnet to the port creation function in
+ "test_port_ip_update_revises"
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 872dd7f48400f0ee059876b01d4034aa75f97787
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon May 13 17:06:44 2019 +0000

    Use created subnet in port generator in "test_port_ip_update_revises"

    We are hitting sometimes a problem in "test_port_ip_update_revises" [1].
    This happens because the port created doesn't belong to the previously
    created subnet. We need to enforce that the port is created in the
    subnet specifically created in this test.

    [1]http://logs.openstack.org/69/650269/12/check/openstack-tox-lower-constraints/7adf36e/testr_results.html.gz

    Change-Id: I399f100fe30b6a03248cef5e6026204d4d1ffb2e
    Closes-Bug: #1828865

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 proposed to neutron (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/680662

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.opendev.org/680663

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.opendev.org/680664

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

Reviewed: https://review.opendev.org/680663
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=3d249a80160693fccaca56cb193c160d9487548c
Submitter: Zuul
Branch: stable/rocky

commit 3d249a80160693fccaca56cb193c160d9487548c
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon May 13 17:06:44 2019 +0000

    Use created subnet in port generator in "test_port_ip_update_revises"

    We are hitting sometimes a problem in "test_port_ip_update_revises" [1].
    This happens because the port created doesn't belong to the previously
    created subnet. We need to enforce that the port is created in the
    subnet specifically created in this test.

    [1]http://logs.openstack.org/69/650269/12/check/openstack-tox-lower-constraints/7adf36e/testr_results.html.gz

    Conflicts:
        neutron/tests/unit/services/revisions/test_revision_plugin.py

    Change-Id: I399f100fe30b6a03248cef5e6026204d4d1ffb2e
    Closes-Bug: #1828865
    (cherry picked from commit 872dd7f48400f0ee059876b01d4034aa75f97787)

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

Reviewed: https://review.opendev.org/680664
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=05a07662bba4cab3d5089f8c64a0da7cd087f14c
Submitter: Zuul
Branch: stable/queens

commit 05a07662bba4cab3d5089f8c64a0da7cd087f14c
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon May 13 17:06:44 2019 +0000

    Use created subnet in port generator in "test_port_ip_update_revises"

    We are hitting sometimes a problem in "test_port_ip_update_revises" [1].
    This happens because the port created doesn't belong to the previously
    created subnet. We need to enforce that the port is created in the
    subnet specifically created in this test.

    [1]http://logs.openstack.org/69/650269/12/check/openstack-tox-lower-constraints/7adf36e/testr_results.html.gz

    Conflicts:
        neutron/tests/unit/services/revisions/test_revision_plugin.py

    Change-Id: I399f100fe30b6a03248cef5e6026204d4d1ffb2e
    Closes-Bug: #1828865
    (cherry picked from commit 872dd7f48400f0ee059876b01d4034aa75f97787)

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

Reviewed: https://review.opendev.org/680662
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=0a30dba67055b871ffc56c06206c9a139cf91944
Submitter: Zuul
Branch: stable/stein

commit 0a30dba67055b871ffc56c06206c9a139cf91944
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon May 13 17:06:44 2019 +0000

    Use created subnet in port generator in "test_port_ip_update_revises"

    We are hitting sometimes a problem in "test_port_ip_update_revises" [1].
    This happens because the port created doesn't belong to the previously
    created subnet. We need to enforce that the port is created in the
    subnet specifically created in this test.

    [1]http://logs.openstack.org/69/650269/12/check/openstack-tox-lower-constraints/7adf36e/testr_results.html.gz

    Conflicts:
        neutron/tests/unit/services/revisions/test_revision_plugin.py

    Change-Id: I399f100fe30b6a03248cef5e6026204d4d1ffb2e
    Closes-Bug: #1828865
    (cherry picked from commit 872dd7f48400f0ee059876b01d4034aa75f97787)

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

This issue was fixed in the openstack/neutron 15.0.0.0b1 development milestone.

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

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

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

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

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

This issue was fixed in the openstack/neutron 12.1.1 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.