← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2037034] Re: Neutron tempest plugin zuul job definitions uses deprecated regex syntax

 

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

commit 97409c6992f87f323e135933945ecf8bc03eece3
Author: yatinkarel <ykarel@xxxxxxxxxx>
Date:   Fri Sep 22 11:41:17 2023 +0530

    Use RE2 compatible regex for branches
    
    Zuul has deprecated the usage of negative regex[1],
    this patch switches the branches regex to the supported
    one.
    
    [1] https://zuul-ci.org/docs/zuul/latest/project-config.html#regex
    
    Closes-Bug: #2037034
    Change-Id: I66dcb56ab5ba9cfdefbeb25f1d01871ea0d0d362


** 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/2037034

Title:
  Neutron tempest plugin zuul job definitions uses deprecated regex
  syntax

Status in neutron:
  Fix Released

Bug description:
  Details about deprecation are in
  https://lists.opendev.org/archives/list/service-
  announce@xxxxxxxxxxxxxxxxx/thread/C2NADWASR3BFJI3J45ZCNKOZBJETF6NE/

  We have issue in the neutron-tempest-plugin jobs:

  Zuul encountered a deprecated syntax while parsing its configuration
  in the repo openstack/neutron-tempest-plugin on branch master.  The
  problem was:

    All regular expressions must conform to RE2 syntax, but an
    expression using the deprecated Perl-style syntax has been detected.
    Adjust the configuration to conform to RE2 syntax.
    
    The RE2 syntax error is: invalid perl operator: (?!

  The problem appears in the following job stanza:

    job:
        name: neutron-tempest-plugin-base-nested-switch
        parent: neutron-tempest-plugin-base
        abstract: true
        branches: ^(?!stable/(train|ussuri|victoria|wallaby|xena|yoga|zed)).*$
        # Comment nodeset and vars to switch back to non nested nodes
        nodeset: neutron-nested-virt-ubuntu-jammy
        vars: &nested_virt_vars
          devstack_localrc:
            LIBVIRT_TYPE: kvm
            LIBVIRT_CPU_MODE: host-passthrough
            CIRROS_VERSION: 0.6.2
            DEFAULT_IMAGE_NAME: cirros-0.6.2-x86_64-disk
            DEFAULT_IMAGE_FILE_NAME: cirros-0.6.2-x86_64-disk.img
    
    # Base nested switch job for yoga and zed

    in "openstack/neutron-tempest-plugin/zuul.d/base-nested-
  switch.yaml@master", line 22, column 3

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



References