<commit_before>- job:
    name: devstack-plugin-ceph-tempest-base
    parent: tempest-full
    description: |
      Base integration tests that runs with the ceph devstack plugin.
      Former names for this job where:
        * legacy-tempest-dsvm-full-devstack-plugin-ceph
        * gate-tempest-dsvm-full-devstack-plugin-ceph-ubuntu-xenial
      The original job included support for an un-used tempest-conf.sh:
        # If an in-repo configuration exists, source it.  This will likely
        # override DEVSTACK_GATE_TEMPEST_REGEX to further refine the set of
        # tests being run.
    required-projects:
      - openstack/cinder-tempest-plugin
      - openstack/devstack-plugin-ceph
    timeout: 7200
    vars:
      devstack_plugins:
        devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
      devstack_localrc:
        ENABLE_FILE_INJECTION: false
        TEMPEST_PLUGINS: '/opt/stack/cinder-tempest-plugin'
        ENABLE_VOLUME_MULTIATTACH: false
        TEMPEST_RUN_VALIDATION: false
      tox_envlist: all
      tempest_test_regex: |
              (^tempest\.(api|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance)|(^cinder_tempest_plugin))
      tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/devstack-plugin-ceph"].src_dir }}/tempest_blacklist.txt'

- job:
    name: devstack-plugin-ceph-tempest
    parent: devstack-plugin-ceph-tempest-base
    description: |
      Integration tests that runs with the ceph devstack plugin.
    branches:
      - stable/ocata
      - stable/pike
      - stable/queens
      - stable/rocky

- job:
    name: devstack-plugin-ceph-tempest
    parent: devstack-plugin-ceph-tempest-base
    description: |
      Integration tests that runs with the ceph devstack plugin.

      This job enable the multiattach feature enable from stein on.

    # This job runs with multiattach enable from stable/stein on.
    branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
    vars:
      devstack_localrc:
        ENABLE_VOLUME_MULTIATTACH: true

- job:
    name: devstack-plugin-ceph-tempest-py3-base
    parent: tempest-full-py3
    description: |
      Base integration tests that runs with the ceph devstack plugin and py3.
      Former names for this job where:
        * legacy-tempest-dsvm-py35-full-devstack-plugin-ceph
        * gate-tempest-dsvm-py35-full-devstack-plugin-ceph-ubuntu-xenial-nv
      The original job included support for an un-used tempest-dsvm-ceph-rc
      hosted at /opt/stack/new/nova/devstack/tempest-dsvm-ceph-rc.
    required-projects:
      - openstack/cinder-tempest-plugin
      - openstack/devstack-plugin-ceph
    timeout: 7200
    vars:
      devstack_localrc:
        ENABLE_FILE_INJECTION: false
        TEMPEST_PLUGINS: '/opt/stack/cinder-tempest-plugin'
        ENABLE_VOLUME_MULTIATTACH: false
        TEMPEST_RUN_VALIDATION: false
      devstack_plugins:
        devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
      tox_envlist: all
      tempest_test_regex: |
              (^tempest\.(api|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance)|(^cinder_tempest_plugin))
      tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/devstack-plugin-ceph"].src_dir }}/tempest_blacklist.txt'

- job:
    name: devstack-plugin-ceph-tempest-py3
    parent: devstack-plugin-ceph-tempest-py3-base
    description: |
      Integration tests that runs with the ceph devstack plugin and py3.
    branches:
      - stable/ocata
      - stable/pike
      - stable/queens
      - stable/rocky

- job:
    name: devstack-plugin-ceph-tempest-py3
    parent: devstack-plugin-ceph-tempest-py3-base
    description: |
      Integration tests that runs with the ceph devstack plugin and py3.

      This job enable the multiattach feature enable from stein on.

    # This job runs with multiattach enable from stable/stein on.
    branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
    vars:
      devstack_localrc:
        ENABLE_VOLUME_MULTIATTACH: true

- project-template:
    name: devstack-plugin-ceph-tempest-jobs
    description: |
      Runs devstack-plugin-ceph-tempest jobs.
    check:
      jobs:
        - devstack-plugin-ceph-tempest:
            voting: false
            irrelevant-files:
              - ^.*\.rst$
              - ^doc/.*$
        - devstack-plugin-ceph-tempest-py3:
            voting: false
            irrelevant-files:
              - ^.*\.rst$
              - ^doc/.*$

- project:
    templates:
      - devstack-plugin-ceph-tempest-jobs
    check:
      jobs:
        - openstack-tox-bashate
        - manila-tempest-minimal-dsvm-cephfs-native:
            voting: false
        - manila-tempest-minimal-dsvm-cephfs-nfs:
            voting: false
    gate:
      jobs:
        - openstack-tox-bashate
    experimental:
      jobs:
        - manila-tempest-minimal-dsvm-cephfs-native-centos-7:
            voting: false
        - manila-tempest-minimal-dsvm-cephfs-nfs-centos-7:
            voting: false
<commit_msg>Add stable versions of devstack-plugin-ceph-tempest-py3<commit_after>- job:
    name: devstack-plugin-ceph-tempest-base
    parent: tempest-full
    description: |
      Base integration tests that runs with the ceph devstack plugin.
      Former names for this job where:
        * legacy-tempest-dsvm-full-devstack-plugin-ceph
        * gate-tempest-dsvm-full-devstack-plugin-ceph-ubuntu-xenial
      The original job included support for an un-used tempest-conf.sh:
        # If an in-repo configuration exists, source it.  This will likely
        # override DEVSTACK_GATE_TEMPEST_REGEX to further refine the set of
        # tests being run.
    required-projects:
      - openstack/cinder-tempest-plugin
      - openstack/devstack-plugin-ceph
    timeout: 7200
    vars:
      devstack_plugins:
        devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
      devstack_localrc:
        ENABLE_FILE_INJECTION: false
        TEMPEST_PLUGINS: '/opt/stack/cinder-tempest-plugin'
        ENABLE_VOLUME_MULTIATTACH: false
        TEMPEST_RUN_VALIDATION: false
      tox_envlist: all
      tempest_test_regex: |
              (^tempest\.(api|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance)|(^cinder_tempest_plugin))
      tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/devstack-plugin-ceph"].src_dir }}/tempest_blacklist.txt'

- job:
    name: devstack-plugin-ceph-tempest
    parent: devstack-plugin-ceph-tempest-base
    description: |
      Integration tests that runs with the ceph devstack plugin.
    branches:
      - stable/ocata
      - stable/pike
      - stable/queens
      - stable/rocky

- job:
    name: devstack-plugin-ceph-tempest
    parent: devstack-plugin-ceph-tempest-base
    description: |
      Integration tests that runs with the ceph devstack plugin.

      This job enable the multiattach feature enable from stein on.

    # This job runs with multiattach enable from stable/stein on.
    branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
    vars:
      devstack_localrc:
        ENABLE_VOLUME_MULTIATTACH: true

- job:
    name: devstack-plugin-ceph-tempest-py3-base
    parent: tempest-full-py3
    description: |
      Base integration tests that runs with the ceph devstack plugin and py3.
      Former names for this job where:
        * legacy-tempest-dsvm-py35-full-devstack-plugin-ceph
        * gate-tempest-dsvm-py35-full-devstack-plugin-ceph-ubuntu-xenial-nv
      The original job included support for an un-used tempest-dsvm-ceph-rc
      hosted at /opt/stack/new/nova/devstack/tempest-dsvm-ceph-rc.
    required-projects:
      - openstack/cinder-tempest-plugin
      - openstack/devstack-plugin-ceph
    timeout: 7200
    vars:
      devstack_localrc:
        ENABLE_FILE_INJECTION: false
        TEMPEST_PLUGINS: '/opt/stack/cinder-tempest-plugin'
        ENABLE_VOLUME_MULTIATTACH: false
        TEMPEST_RUN_VALIDATION: false
      devstack_plugins:
        devstack-plugin-ceph: https://opendev.org/openstack/devstack-plugin-ceph
      tox_envlist: all
      tempest_test_regex: |
              (^tempest\.(api|scenario\.test_encrypted_cinder_volumes|scenario\.test_volume|scenario\.test_shelve_instance)|(^cinder_tempest_plugin))
      tempest_test_blacklist: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/devstack-plugin-ceph"].src_dir }}/tempest_blacklist.txt'

- job:
    name: devstack-plugin-ceph-tempest-py3
    parent: devstack-plugin-ceph-tempest-py3-base
    description: |
      Integration tests that runs with the ceph devstack plugin and py3.
    branches:
      - stable/ocata
      - stable/pike
      - stable/queens
      - stable/rocky

- job:
    name: devstack-plugin-ceph-tempest-py3
    parent: devstack-plugin-ceph-tempest-py3-base
    description: |
      Integration tests that runs with the ceph devstack plugin and py3.

      This job enable the multiattach feature enable from stein on.

    # This job runs with multiattach enable from stable/stein on.
    branches: ^(?!stable/(ocata|pike|queens|rocky)).*$
    vars:
      devstack_localrc:
        ENABLE_VOLUME_MULTIATTACH: true

- job:
    name: devstack-plugin-ceph-tempest-stein-py3
    parent: devstack-plugin-ceph-tempest-py3
    override-checkout: stable/stein

- job:
    name: devstack-plugin-ceph-tempest-rocky-py3
    parent: devstack-plugin-ceph-tempest-py3
    nodeset: openstack-single-node-xenial
    override-checkout: stable/rocky
    vars:
      devstack_localrc:
        ENABLE_VOLUME_MULTIATTACH: false

- job:
    name: devstack-plugin-ceph-tempest-queens-py3
    parent: devstack-plugin-ceph-tempest-py3
    nodeset: openstack-single-node-xenial
    override-checkout: stable/queens
    vars:
      devstack_localrc:
        ENABLE_VOLUME_MULTIATTACH: false

- project-template:
    name: devstack-plugin-ceph-tempest-jobs
    description: |
      Runs devstack-plugin-ceph-tempest jobs.
    check:
      jobs:
        - devstack-plugin-ceph-tempest:
            voting: false
            irrelevant-files:
              - ^.*\.rst$
              - ^doc/.*$
        - devstack-plugin-ceph-tempest-py3:
            voting: false
            irrelevant-files:
              - ^.*\.rst$
              - ^doc/.*$

- project:
    templates:
      - devstack-plugin-ceph-tempest-jobs
    check:
      jobs:
        - openstack-tox-bashate
        - manila-tempest-minimal-dsvm-cephfs-native:
            voting: false
        - manila-tempest-minimal-dsvm-cephfs-nfs:
            voting: false
    gate:
      jobs:
        - openstack-tox-bashate
    experimental:
      jobs:
        - manila-tempest-minimal-dsvm-cephfs-native-centos-7:
            voting: false
        - manila-tempest-minimal-dsvm-cephfs-nfs-centos-7:
            voting: false
        - devstack-plugin-ceph-tempest-stein-py3
        - devstack-plugin-ceph-tempest-rocky-py3
        - devstack-plugin-ceph-tempest-queens-py3
{'fraction_non_alphanumeric': 0.09689329131022062, 'fraction_numerical': 0.005222872579918956, 'mean_word_length': 2.4979527559055117, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '553437', 'n_tokens_mistral': 3759, 'n_tokens_neox': 3666, 'n_words': 666}