neutron-dynamic-plugin tempest jobs fail on stable/train branch

Bug #1877146 reported by Bernard Cafarelli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Bernard Cafarelli

Bug Description

Sample review with failure:
https://review.opendev.org/#/c/725790/
https://1220c88f5f3f7dc2943f-5c9bf716eadc2e193f03b25f937f429b.ssl.cf1.rackcdn.com/725790/1/check/neutron-dynamic-routing-dsvm-tempest-api/19f9000/job-output.txt

2020-05-06 09:12:36.370490 | primary | all-plugin run-test: commands[3] | tempest run --regex '^neutron_dynamic_routing.tests.tempest.api\.' --concurrency=4
2020-05-06 09:12:40.817171 | primary |
2020-05-06 09:12:40.817256 | primary | =========================
2020-05-06 09:12:40.817278 | primary | Failures during discovery
2020-05-06 09:12:40.817303 | primary | =========================
2020-05-06 09:12:40.817322 | primary | --- import errors ---
2020-05-06 09:12:40.817342 | primary | Failed to import test module: neutron_dynamic_routing.tests.tempest.api.test_bgp_speaker_extensions
2020-05-06 09:12:40.817362 | primary | Traceback (most recent call last):
2020-05-06 09:12:40.817382 | primary | File "/usr/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
2020-05-06 09:12:40.817401 | primary | module = self._get_module_from_name(name)
2020-05-06 09:12:40.817420 | primary | File "/usr/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
2020-05-06 09:12:40.817440 | primary | __import__(name)
2020-05-06 09:12:40.817459 | primary | File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/api/test_bgp_speaker_extensions.py", line 21, in <module>
2020-05-06 09:12:40.817478 | primary | from neutron_tempest_plugin.api import base
2020-05-06 09:12:40.817498 | primary | ModuleNotFoundError: No module named 'neutron_tempest_plugin'
2020-05-06 09:12:40.817519 | primary |
2020-05-06 09:12:40.817538 | primary | Failed to import test module: neutron_dynamic_routing.tests.tempest.api.test_bgp_speaker_extensions_negative
2020-05-06 09:12:40.817557 | primary | Traceback (most recent call last):
2020-05-06 09:12:40.817575 | primary | File "/usr/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
2020-05-06 09:12:40.817594 | primary | module = self._get_module_from_name(name)
2020-05-06 09:12:40.817613 | primary | File "/usr/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
2020-05-06 09:12:40.817635 | primary | __import__(name)
2020-05-06 09:12:40.817654 | primary | File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/api/test_bgp_speaker_extensions_negative.py", line 21, in <module>
2020-05-06 09:12:40.817673 | primary | from neutron_dynamic_routing.tests.tempest.api import test_bgp_speaker_extensions as test_base # noqa
2020-05-06 09:12:40.817692 | primary | File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/api/test_bgp_speaker_extensions.py", line 21, in <module>
2020-05-06 09:12:40.817711 | primary | from neutron_tempest_plugin.api import base
2020-05-06 09:12:40.817730 | primary | ModuleNotFoundError: No module named 'neutron_tempest_plugin'
2020-05-06 09:12:40.817748 | primary |
2020-05-06 09:12:40.817767 | primary | Failed to import test module: neutron_dynamic_routing.tests.tempest.scenario.basic.test_4byte_asn
2020-05-06 09:12:40.817786 | primary | Traceback (most recent call last):
2020-05-06 09:12:40.817804 | primary | File "/usr/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
2020-05-06 09:12:40.817823 | primary | module = self._get_module_from_name(name)
2020-05-06 09:12:40.817842 | primary | File "/usr/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
2020-05-06 09:12:40.817861 | primary | __import__(name)
2020-05-06 09:12:40.817879 | primary | File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/scenario/basic/test_4byte_asn.py", line 17, in <module>
2020-05-06 09:12:40.817898 | primary | from neutron_dynamic_routing.tests.tempest.scenario import base
2020-05-06 09:12:40.817934 | primary | File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/scenario/base.py", line 26, in <module>
2020-05-06 09:12:40.817954 | primary | from neutron_tempest_plugin.api import base
2020-05-06 09:12:40.817973 | primary | ModuleNotFoundError: No module named 'neutron_tempest_plugin'
2020-05-06 09:12:40.817992 | primary |
2020-05-06 09:12:40.818011 | primary | Failed to import test module: neutron_dynamic_routing.tests.tempest.scenario.basic.test_basic
2020-05-06 09:12:40.818029 | primary | Traceback (most recent call last):
2020-05-06 09:12:40.818048 | primary | File "/usr/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
2020-05-06 09:12:40.818066 | primary | module = self._get_module_from_name(name)
2020-05-06 09:12:40.818085 | primary | File "/usr/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
2020-05-06 09:12:40.818104 | primary | __import__(name)
2020-05-06 09:12:40.818122 | primary | File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/scenario/basic/test_basic.py", line 21, in <module>
2020-05-06 09:12:40.818142 | primary | from neutron_dynamic_routing.tests.tempest.scenario import base as s_base
2020-05-06 09:12:40.818161 | primary | File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/scenario/base.py", line 26, in <module>
2020-05-06 09:12:40.818179 | primary | from neutron_tempest_plugin.api import base
2020-05-06 09:12:40.818198 | primary | ModuleNotFoundError: No module named 'neutron_tempest_plugin'
2020-05-06 09:12:40.818216 | primary |
2020-05-06 09:12:40.818234 | primary | Failed to import test module: neutron_dynamic_routing.tests.tempest.scenario.ipv4.test_ipv4
2020-05-06 09:12:40.818253 | primary | Traceback (most recent call last):
2020-05-06 09:12:40.818272 | primary | File "/usr/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
2020-05-06 09:12:40.818290 | primary | module = self._get_module_from_name(name)
2020-05-06 09:12:40.818313 | primary | File "/usr/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
2020-05-06 09:12:40.818332 | primary | __import__(name)
2020-05-06 09:12:40.818350 | primary | File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/scenario/ipv4/test_ipv4.py", line 20, in <module>
2020-05-06 09:12:40.818369 | primary | from neutron_dynamic_routing.tests.tempest.scenario import base
2020-05-06 09:12:40.818388 | primary | File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/scenario/base.py", line 26, in <module>
2020-05-06 09:12:40.818407 | primary | from neutron_tempest_plugin.api import base
2020-05-06 09:12:40.818425 | primary | ModuleNotFoundError: No module named 'neutron_tempest_plugin'
2020-05-06 09:12:40.818443 | primary |
2020-05-06 09:12:40.818475 | primary | Failed to import test module: neutron_dynamic_routing.tests.tempest.scenario.ipv6.test_ipv6
2020-05-06 09:12:40.818494 | primary | Traceback (most recent call last):
2020-05-06 09:12:40.818513 | primary | File "/usr/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
2020-05-06 09:12:40.818532 | primary | module = self._get_module_from_name(name)
2020-05-06 09:12:40.818551 | primary | File "/usr/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
2020-05-06 09:12:40.818569 | primary | __import__(name)
2020-05-06 09:12:40.818588 | primary | File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/scenario/ipv6/test_ipv6.py", line 20, in <module>
2020-05-06 09:12:40.818607 | primary | from neutron_dynamic_routing.tests.tempest.scenario import base
2020-05-06 09:12:40.818626 | primary | File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/scenario/base.py", line 26, in <module>
2020-05-06 09:12:40.818644 | primary | from neutron_tempest_plugin.api import base
2020-05-06 09:12:40.818663 | primary | ModuleNotFoundError: No module named 'neutron_tempest_plugin'
2020-05-06 09:12:40.818681 | primary |
2020-05-06 09:12:40.818699 | primary | ================================================================================
2020-05-06 09:12:40.818718 | primary | The above traceback was encountered during test discovery which imports all the found test modules in the specified test_path.
2020-05-06 09:12:40.930894 | primary | ERROR: InvocationError for command /opt/stack/new/tempest/.tox/all-plugin/bin/tempest run --regex '^neutron_dynamic_routing.tests.tempest.api\.' --concurrency=4 (exited with code 100)

This may be related to recent change to skip plugin installation https://review.opendev.org/#/c/725774/1

Revision history for this message
Bernard Cafarelli (bcafarel) wrote :

Re-reading the logs it may just need a job update to use all plugin (that was needed for other stadium projects when pushing https://review.opendev.org/#/c/725774 ), I will send a test review for that

Revision history for this message
Bernard Cafarelli (bcafarel) wrote :
Changed in neutron:
status: New → In Progress
assignee: nobody → Bernard Cafarelli (bcafarel)
Miguel Lavalle (minsel)
Changed in neutron:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-dynamic-routing (stable/train)

Reviewed: https://review.opendev.org/725920
Committed: https://git.openstack.org/cgit/openstack/neutron-dynamic-routing/commit/?id=5300489469c926c447cec64fcdf61ec4682fcdde
Submitter: Zuul
Branch: stable/train

commit 5300489469c926c447cec64fcdf61ec4682fcdde
Author: Bernard Cafarelli <email address hidden>
Date: Wed May 6 18:13:53 2020 +0200

    Set INSTALL_TEMPEST for train tempest jobs

    The legacy tempest jobs in this branch do not work after
    Ia7238c2044053d77b559de544c22909c50e1a11f merged, and still need the old
    all-plugin tempest tox target.

    Proper fix would be to port the jobs to zuulv3, but in the meantime,
    this simpler workaround sets INSTALL_TEMPEST to restore old behaviour.

    This also drops the job running against os-ken master, not needed in
    stable branch

    Change-Id: I8298f8798492942bb1dea88fcc7940785f2dc0b2
    Resolves-Bug: #1877146

tags: added: in-stable-train
Changed in neutron:
status: In Progress → Fix Released
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.