← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2028145] [NEW] Method skip_if_no_extension_enabled_in_l3_agents in neutron_tempest_plugin.scenario.base module fails on skipping test

 

Public bug reported:

When method
neutron_tempest_plugin.scenario.base.BaseTempestTestCase.skip_if_no_extension_enabled_in_l3_agents
needs to skip test due to missing extension in the L3 agent it fails
with error:

setUpClass (neutron_tempest_plugin.scenario.test_port_forwardings.PortForwardingTestJSON)
-----------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):

      File "/opt/stack/tempest/tempest/test.py", line 206, in setUpClass
    raise value.with_traceback(trace)

      File "/opt/stack/tempest/tempest/test.py", line 199, in setUpClass
    cls.resource_setup()

      File "/opt/stack/neutron-tempest-plugin/neutron_tempest_plugin/scenario/test_port_forwardings.py", line 40, in resource_setup
    cls.skip_if_no_extension_enabled_in_l3_agents("port_forwarding")

      File "/opt/stack/neutron-tempest-plugin/neutron_tempest_plugin/scenario/base.py", line 266, in skip_if_no_extension_enabled_in_l3_agents
    cls.skipTest("No L3 agent with '%s' extension enabled found." %

    TypeError: TestCase.skipTest() missing 1 required positional
argument: 'reason'

** Affects: neutron
     Importance: Medium
         Status: Confirmed

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2028145

Title:
  Method skip_if_no_extension_enabled_in_l3_agents in
  neutron_tempest_plugin.scenario.base module fails on skipping test

Status in neutron:
  Confirmed

Bug description:
  When method
  neutron_tempest_plugin.scenario.base.BaseTempestTestCase.skip_if_no_extension_enabled_in_l3_agents
  needs to skip test due to missing extension in the L3 agent it fails
  with error:

  setUpClass (neutron_tempest_plugin.scenario.test_port_forwardings.PortForwardingTestJSON)
  -----------------------------------------------------------------------------------------

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):

        File "/opt/stack/tempest/tempest/test.py", line 206, in setUpClass
      raise value.with_traceback(trace)

        File "/opt/stack/tempest/tempest/test.py", line 199, in setUpClass
      cls.resource_setup()

        File "/opt/stack/neutron-tempest-plugin/neutron_tempest_plugin/scenario/test_port_forwardings.py", line 40, in resource_setup
      cls.skip_if_no_extension_enabled_in_l3_agents("port_forwarding")

        File "/opt/stack/neutron-tempest-plugin/neutron_tempest_plugin/scenario/base.py", line 266, in skip_if_no_extension_enabled_in_l3_agents
      cls.skipTest("No L3 agent with '%s' extension enabled found." %

      TypeError: TestCase.skipTest() missing 1 required positional
  argument: 'reason'

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2028145/+subscriptions