random failures of neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| networking-ovn |
Critical
|
Maciej Jozefczyk |
Bug Description
Tempest test neutron_
2019-09-26 08:22:58.803569 | primary | {2} neutron_
2019-09-26 08:22:58.804121 | primary |
2019-09-26 08:22:58.804180 | primary | Captured traceback:
2019-09-26 08:22:58.804250 | primary | ~~~~~~~~~~~~~~~~~~~
2019-09-26 08:22:58.804331 | primary | b'Traceback (most recent call last):'
2019-09-26 08:22:58.804475 | primary | b' File "/opt/stack/
2019-09-26 08:22:58.804615 | primary | b' eventlet.
2019-09-26 08:22:58.804760 | primary | b' File "/usr/local/
2019-09-26 08:22:58.804834 | primary | b' hub.switch()'
2019-09-26 08:22:58.804967 | primary | b' File "/usr/local/
2019-09-26 08:22:58.805029 | primary | b' return self.greenlet.
2019-09-26 08:22:58.805085 | primary | b'eventlet.
2019-09-26 08:22:58.805108 | primary | b''
2019-09-26 08:22:58.805194 | primary | b'During handling of the above exception, another exception occurred:'
2019-09-26 08:22:58.805217 | primary | b''
2019-09-26 08:22:58.805271 | primary | b'Traceback (most recent call last):'
2019-09-26 08:22:58.805420 | primary | b' File "/opt/stack/
2019-09-26 08:22:58.805504 | primary | b' self._wait_
2019-09-26 08:22:58.805662 | primary | b' File "/opt/stack/
2019-09-26 08:22:58.805762 | primary | b' "status {!r}.".
2019-09-26 08:22:58.805899 | primary | b' File "/opt/stack/
2019-09-26 08:22:58.805940 | primary | b' raise exception'
2019-09-26 08:22:58.806074 | primary | b"RuntimeError: Timed out waiting for trunk 'a2867f25-
2019-09-26 08:22:58.806134 | primary | b''
2019-09-26 08:22:58.806161 | primary |
-------
While checking gates logs I found this error in neutron logs:
-------
Sep 26 08:21:51.753519 ubuntu-
Sep 26 08:21:52.172865 ubuntu-
Sep 26 08:21:52.176038 ubuntu-
Sep 26 08:21:52.338192 ubuntu-
Sep 26 08:21:52.338524 ubuntu-
Sep 26 08:21:52.338768 ubuntu-
Sep 26 08:21:52.339033 ubuntu-
Sep 26 08:21:52.339249 ubuntu-
Sep 26 08:21:52.339552 ubuntu-
Sep 26 08:21:52.339771 ubuntu-
Sep 26 08:21:52.340031 ubuntu-
Sep 26 08:21:52.340241 ubuntu-
Sep 26 08:21:52.340449 ubuntu-
Sep 26 08:21:52.340712 ubuntu-
Sep 26 08:21:52.340934 ubuntu-
Sep 26 08:21:52.341142 ubuntu-
Sep 26 08:21:52.341394 ubuntu-
Sep 26 08:21:52.341652 ubuntu-
Sep 26 08:21:52.341915 ubuntu-
Sep 26 08:21:52.342149 ubuntu-
Sep 26 08:21:52.342380 ubuntu-
Sep 26 08:21:52.342657 ubuntu-
Sep 26 08:21:52.342870 ubuntu-
Sep 26 08:21:52.343092 ubuntu-
Sep 26 08:21:52.343345 ubuntu-
Sep 26 08:21:52.343542 ubuntu-
Sep 26 08:21:52.343761 ubuntu-
Sep 26 08:21:52.344039 ubuntu-
Sep 26 08:21:52.344263 ubuntu-
Sep 26 08:21:52.344488 ubuntu-
Sep 26 08:21:52.344800 ubuntu-
Sep 26 08:21:52.345069 ubuntu-
Sep 26 08:21:52.345384 ubuntu-
Sep 26 08:21:52.345724 ubuntu-
Sep 26 08:21:52.347471 ubuntu-
Sep 26 08:21:52.348294 ubuntu-
Sep 26 08:21:52.348651 ubuntu-
Sep 26 08:21:52.348943 ubuntu-
Sep 26 08:21:52.349248 ubuntu-
Sep 26 08:21:52.349537 ubuntu-
Sep 26 08:21:52.349836 ubuntu-
Sep 26 08:21:52.350105 ubuntu-
Sep 26 08:21:52.350384 ubuntu-
description: | updated |
Changed in networking-ovn: | |
assignee: | nobody → Maciej Jozefczyk (maciej.jozefczyk) |
status: | New → In Progress |
Maciej Jozefczyk (maciejjozefczyk) wrote : | #1 |
Maciej Jozefczyk (maciejjozefczyk) wrote : | #2 |
Statistics taken from status.
networking-
Test Name Passes Failures Skips % Failures Mean Runtime
neutron_
networking-
neutron_
I think we should revert it
Related fix proposed to branch: master
Review: https:/
Related fix proposed to branch: stable/train
Review: https:/
Change abandoned by Jakub Libosvar (<email address hidden>) on branch: master
Review: https:/
Reason: This was supposed to go to stable/train
Changed in networking-ovn: | |
importance: | Undecided → Critical |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit 733e1d672648943
Author: Maciej Józefczyk <email address hidden>
Date: Mon Sep 30 15:41:54 2019 +0200
Temporary allow to fail Trunk rally tests
We have stability issues with Trunk driver optimalizations [0].
In meantime neutron rally jobs sync has been merged [1] that
enabled Trunk scenarios.
Lets allow those rally tests failures, rollback [0] and in meantime fix it.
[0] https:/
[1] https:/
Related-Bug: #1845479
Change-Id: Icf0f0f42f02180
OpenStack Infra (hudson-openstack) wrote : | #7 |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit 2e0832f7b8bfc31
Author: Maciej Józefczyk <email address hidden>
Date: Fri Sep 27 06:46:40 2019 +0000
Revert "Set binding profile directly from OVNTrunkDriver"
During recent days we many observed failures of
neutron_
It started to fail on a different asserts.
Lets revert this patch, as it is a regression, and work further on this issue.
This reverts commit 41f6d622abc65ca
Related-Bug: #1834637
Related-Bug: #1845479
Change-Id: I63acf0c809aa15
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 60ca3c7809cba35
Author: Jakub Libosvar <email address hidden>
Date: Fri Sep 27 12:23:09 2019 +0200
Revert "Set binding profile directly from OVNTrunkDriver"
During recent days we many observed failures of
neutron_
It started to fail on a different asserts.
Lets revert this patch, as it is a regression, and work further on this issue.
This reverts commit 41f6d622abc65ca
Related-Bug: #1834637
Related-Bug: #1845479
Change-Id: I244b937e916474
tags: | added: in-stable-train |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 4f2301a060ea8ce
Author: Maciej Józefczyk <email address hidden>
Date: Fri Sep 27 06:50:19 2019 +0000
Revert "Set binding profile directly from OVNTrunkDriver"
During recent days we many observed failures of
neutron_
It started to fail on a different asserts.
Lets revert this patch, as it is a regression, and work further on this issue.
This reverts commit 1d58b0e680ee3da
Related-Bug: #1834637
Related-Bug: #1845479
Change-Id: I55d224faead40d
tags: | added: in-stable-stein |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 3205f887fcc9a50
Author: Maciej Józefczyk <email address hidden>
Date: Fri Sep 27 06:47:10 2019 +0000
Revert "Set binding profile directly from OVNTrunkDriver"
During recent days we many observed failures of
neutron_
It started to fail on a different asserts.
Lets revert this patch, as it is a regression, and work further on this issue.
This reverts commit 1e2e424f5d90be3
Related-Bug: #1834637
Related-Bug: #1845479
Change-Id: I862751fabcd590
tags: | added: in-stable-rocky |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit 7bdf2eb824083b6
Author: Flavio Fernandes <email address hidden>
Date: Thu Sep 5 09:29:45 2019 +0000
Set binding profile directly from OVNTrunkDriver (redo)
Setting binding profile for Trunk subports takes
time - for 125 subports rally CreateAndListTrunks
scenario [0] takes about 150 seconds. We need to
bump up the perfomance because large number of
subports is widly used in Kuryr deployments.
To achieve that I changed setting the binding
profile to be saved directly to the neutron DB.
Instead calling port_update I update only related
fields in OVN NorthBound DB rows. That gave performance
improvement in trunk port creation:
from 101 sec to 35.6 for 95%ile
from 99 sec to 34.2 for 50%ile
The same thing has been done for Trunk deletion.
This reverts commit 2e0832f7b8bfc31
Change-Id: I6b659cbede25f2
Closes-Bug: #1834637
Related-Bug: #1845479
Co-authored-by: Maciej Józefczyk <email address hidden>
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-ovn (stable/train) | #12 |
Related fix proposed to branch: stable/train
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-ovn (stable/stein) | #13 |
Related fix proposed to branch: stable/stein
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-ovn (stable/rocky) | #14 |
Related fix proposed to branch: stable/rocky
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-ovn (stable/queens) | #15 |
Related fix proposed to branch: stable/queens
Review: https:/
tags: | added: networking-ovn-proactive-backport-potential |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit 5d59ec7a18f89e0
Author: Flavio Fernandes <email address hidden>
Date: Wed Oct 9 09:17:30 2019 +0000
Revert "Temporary allow to fail Trunk rally tests"
This reverts commit 733e1d672648943
That is no longer needed with the merge of
https:/
Change-Id: I85f3d51dd7066b
Closes-Bug: #1845479
Changed in networking-ovn: | |
status: | In Progress → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 1e20b9bf866e300
Author: Flavio Fernandes <email address hidden>
Date: Thu Sep 5 09:29:45 2019 +0000
Set binding profile directly from OVNTrunkDriver (redo)
Setting binding profile for Trunk subports takes
time - for 125 subports rally CreateAndListTrunks
scenario [0] takes about 150 seconds. We need to
bump up the perfomance because large number of
subports is widly used in Kuryr deployments.
To achieve that I changed setting the binding
profile to be saved directly to the neutron DB.
Instead calling port_update I update only related
fields in OVN NorthBound DB rows. That gave performance
improvement in trunk port creation:
from 101 sec to 35.6 for 95%ile
from 99 sec to 34.2 for 50%ile
The same thing has been done for Trunk deletion.
This reverts commit 2e0832f7b8bfc31
---
Also, merge squashed:
Enable ovs-vswitchd and ovsdb-server for rally
The ovs-vswitchd and ovsdb-server services were missing in the rally
definition. Usually the jobs inherts from our base class which enables
them but rally has a different job parent.
Change-Id: I6b659cbede25f2
Closes-Bug: #1834637
Related-Bug: #1845479
Co-authored-by: Maciej Józefczyk <email address hidden>
Co-authored-by: Lucas Alvares Gomes <email address hidden>
(cherry picked from commit 7bdf2eb824083b6
(cherry picked from commit 202e804c64c9c6d
(cherry picked from commit 7e725331dbaf584
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit c6dee38266b662a
Author: Flavio Fernandes <email address hidden>
Date: Thu Sep 5 09:29:45 2019 +0000
Set binding profile directly from OVNTrunkDriver (redo)
Setting binding profile for Trunk subports takes
time - for 125 subports rally CreateAndListTrunks
scenario [0] takes about 150 seconds. We need to
bump up the perfomance because large number of
subports is widly used in Kuryr deployments.
To achieve that I changed setting the binding
profile to be saved directly to the neutron DB.
Instead calling port_update I update only related
fields in OVN NorthBound DB rows. That gave performance
improvement in trunk port creation:
from 101 sec to 35.6 for 95%ile
from 99 sec to 34.2 for 50%ile
The same thing has been done for Trunk deletion.
This reverts commit 2e0832f7b8bfc31
Change-Id: I6b659cbede25f2
Closes-Bug: #1834637
Related-Bug: #1845479
Co-authored-by: Maciej Józefczyk <email address hidden>
(cherry picked from commit 1e20b9bf866e300
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 01d86c3c97b1962
Author: Flavio Fernandes <email address hidden>
Date: Thu Sep 5 09:29:45 2019 +0000
Set binding profile directly from OVNTrunkDriver (redo)
Setting binding profile for Trunk subports takes
time - for 125 subports rally CreateAndListTrunks
scenario [0] takes about 150 seconds. We need to
bump up the perfomance because large number of
subports is widly used in Kuryr deployments.
To achieve that I changed setting the binding
profile to be saved directly to the neutron DB.
Instead calling port_update I update only related
fields in OVN NorthBound DB rows. That gave performance
improvement in trunk port creation:
from 101 sec to 35.6 for 95%ile
from 99 sec to 34.2 for 50%ile
The same thing has been done for Trunk deletion.
This reverts commit 2e0832f7b8bfc31
Note: While this is a back-merge from Rocky, special care was
needed to account for the fact that in Queens release there
is only one port binding for a db_port. Thus no iteration over
db_
Change-Id: I6b659cbede25f2
Closes-Bug: #1834637
Related-Bug: #1845479
Co-authored-by: Maciej Józefczyk <email address hidden>
(cherry picked from commit 62eb828186f9248
tags: | added: in-stable-queens |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 62eb828186f9248
Author: Flavio Fernandes <email address hidden>
Date: Thu Sep 5 09:29:45 2019 +0000
Set binding profile directly from OVNTrunkDriver (redo)
Setting binding profile for Trunk subports takes
time - for 125 subports rally CreateAndListTrunks
scenario [0] takes about 150 seconds. We need to
bump up the perfomance because large number of
subports is widly used in Kuryr deployments.
To achieve that I changed setting the binding
profile to be saved directly to the neutron DB.
Instead calling port_update I update only related
fields in OVN NorthBound DB rows. That gave performance
improvement in trunk port creation:
from 101 sec to 35.6 for 95%ile
from 99 sec to 34.2 for 50%ile
The same thing has been done for Trunk deletion.
This reverts commit 2e0832f7b8bfc31
Change-Id: I6b659cbede25f2
Closes-Bug: #1834637
Related-Bug: #1845479
Co-authored-by: Maciej Józefczyk <email address hidden>
(cherry picked from commit c6dee38266b662a
Example run: /storage. gra1.cloud. ovh.net/ v1/AUTH_ dcaab5e32b234d5 6b626f72581e364 4c/zuul_ opendev_ logs_c46/ 683928/ 1/check/ networking- ovn-tempest- dsvm-ovs- release- python3/ c46ac38/ job-output. txt
https:/
Example error: /storage. gra1.cloud. ovh.net/ v1/AUTH_ dcaab5e32b234d5 6b626f72581e364 4c/zuul_ opendev_ logs_c46/ 683928/ 1/check/ networking- ovn-tempest- dsvm-ovs- release- python3/ c46ac38/ logs/screen- q-svc.txt. gz
https:/