Tempest gate fails due to missing library

Bug #1762176 reported by Shachar Snapiri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DragonFlow
Fix Released
Undecided
Shachar Snapiri

Bug Description

Tempest gate fails due to a missing dependency library - neutron-tempest-plugin.
Tests fail as follows:
Failed to import test module: neutron_dynamic_routing.tests.tempest.api.test_bgp_speaker_extensions Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path module = self._get_module_from_name(name) File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name __import__(name) File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/api/test_bgp_speaker_extensions.py", line 21, in <module> from neutron_tempest_plugin.api import base ImportError: No module named neutron_tempest_plugin.api

Changed in dragonflow:
assignee: nobody → Shachar Snapiri (snapiri)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to dragonflow (master)

Reviewed: https://review.openstack.org/558420
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=bc8e40553c4ec9c182711d2888d62c2629985447
Submitter: Zuul
Branch: master

commit bc8e40553c4ec9c182711d2888d62c2629985447
Author: Shachar Snapiri <email address hidden>
Date: Tue Apr 3 11:01:44 2018 +0300

    Add neutron_tempest_plugin to tempest dependencies

    This is required for the bgp tests to succeed.
    Without it, tests fail as follows:
    Failed to import test module: neutron_dynamic_routing.tests.tempest.api.test_bgp_speaker_extensions
    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
        module = self._get_module_from_name(name)
      File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
        __import__(name)
      File "/opt/stack/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/tempest/api/test_bgp_speaker_extensions.py", line 21, in <module>
        from neutron_tempest_plugin.api import base
    ImportError: No module named neutron_tempest_plugin.api

    Resolves-Bug: #1762176
    Change-Id: I1d15fe4b1aa43cbb40c85ba448702e3f72052573

Changed in dragonflow:
status: New → Fix Released
Revision history for this message
Omer Anson (omer-anson) wrote :

From a double commit:

 * https://review.openstack.org/519310 syncs the code from neutron project to neutron-tempest-plugin repo and it is better to depend on new one in order to avoid the breakage.

* https://review.openstack.org/#/c/521346 transforms the bgp tempest tests to use the new repo.

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.