← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1923412] Re: [stable/stein] Tempest fails with unrecognized arguments: --exclude-regex

 

Reviewed:  https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/788965
Committed: https://opendev.org/openstack/neutron-tempest-plugin/commit/5be4bea4bfaaa8732f5538ef1b34e072c5716a75
Submitter: "Zuul (22348)"
Branch:    master

commit 5be4bea4bfaaa8732f5538ef1b34e072c5716a75
Author: Bernard Cafarelli <bcafarel@xxxxxxxxxx>
Date:   Fri Apr 30 16:57:06 2021 +0200

    Rewrite stein jobs using tempest_exclude_regex
    
    As detailed in [0], these jobs can not use the parent master definition
    anymore, as tempest_exclude_regex should not be set (and legacy
    tempest_black_regex used instead).
    
    This integrates the master job definition directly, with that variable
    name change (and will be tested on a separate stein backport to confirm
    stein gates actually pass with it)
    
    [0] https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/786657
    
    Change-Id: I1f93d8ce3b9708ebcdd4408675012229964af032
    Closes-Bug: #1923412


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  [stable/stein] Tempest fails with unrecognized arguments: --exclude-
  regex

Status in neutron:
  Fix Released

Bug description:
  Stein neutron-tempest-plugin jobs with exclude regexes now fail 100%, for example:
  https://review.opendev.org/c/openstack/neutron/+/774258
  https://zuul.opendev.org/t/openstack/build/cf9c6880833041ffabd7726059875090

  all run-test: commands[1] | tempest run --regex '(^neutron_tempest_plugin.scenario)|(^tempest.api.compute.servers.test_attach_interfaces)|(^tempest.api.compute.servers.test_multiple_create)' --concurrency=3 '--exclude-regex=(^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)'
  usage: tempest run [-h] [--workspace WORKSPACE]
                     [--workspace-path WORKSPACE_PATH]
                     [--config-file CONFIG_FILE] [--smoke | --regex REGEX]
                     [--black-regex BLACK_REGEX]
                     [--whitelist-file WHITELIST_FILE]
                     [--blacklist-file BLACKLIST_FILE] [--load-list LOAD_LIST]
                     [--list-tests] [--concurrency CONCURRENCY]
                     [--parallel | --serial] [--save-state] [--subunit]
                     [--combine]
  tempest run: error: unrecognized arguments: --exclude-regex=(^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)
  ERROR: InvocationError for command /opt/stack/tempest/.tox/tempest/bin/tempest run --regex '(^neutron_tempest_plugin.scenario)|(^tempest.api.compute.servers.test_attach_interfaces)|(^tempest.api.compute.servers.test_multiple_create)' --concurrency=3 '--exclude-regex=(^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)' (exited with code 2)

  
  Most probably caused by https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/775257 change, jobs for stein should be updated to keep old parameter name

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


References