Create upstream CI faults jobs

Reorganize jobs:

  - new faults jobs that execute scenario+faults+scenario tests
  - rename some job names

Change-Id: Ic3493edae66df736ff29e3c3e82774e2649cef9d
This commit is contained in:
Federico Ressi
2019-11-13 07:08:22 +01:00
parent 6cd67c01db
commit 82e37f84ca
6 changed files with 43 additions and 56 deletions

View File

@@ -133,15 +133,18 @@ setenv =
OS_TEST_PATH={toxinidir}/tobiko/tests/scenario/neutron OS_TEST_PATH={toxinidir}/tobiko/tests/scenario/neutron
[testenv:os-faults] [testenv:faults]
envdir = {toxworkdir}/scenario envdir = {toxworkdir}/scenario
deps = {[testenv:scenario]deps} deps = {[testenv:scenario]deps}
passenv = {[testenv:scenario]passenv} passenv = {[testenv:scenario]passenv}
setenv = setenv =
{[testenv:scenario]setenv} {[testenv:scenario]setenv}
OS_TEST_PATH={toxinidir}/tobiko/tests/os_faults TOBIKO_PREVENT_CREATE=true
commands = stestr run --serial {posargs} commands =
stestr run --serial \
--test-path '{toxinidir}/tobiko/tests/faults' {posargs}
stestr run --combine {posargs}
[testenv:venv] [testenv:venv]

View File

@@ -18,17 +18,15 @@
- tobiko-devstack-functional - tobiko-devstack-functional
- tobiko-devstack-scenario - tobiko-devstack-scenario
- tobiko-devstack-scenario-centos-7 - tobiko-devstack-faults
- tobiko-devstack-scenario-centos-7-queens - tobiko-devstack-faults-centos-7
- tobiko-devstack-scenario-centos-7-rocky - tobiko-devstack-faults-centos-7-queens
- tobiko-devstack-scenario-centos-7-stein - tobiko-devstack-faults-ubuntu-bionic
- tobiko-devstack-scenario-centos-7-train
- tobiko-devstack-scenario-ubuntu-bionic
- tobiko-tripleo-functional - tobiko-tripleo-functional
- tobiko-tripleo-scenario - tobiko-tripleo-scenario
- tobiko-tripleo-upgrade-scenario - tobiko-tripleo-faults
- tobiko-tripleo-faults-scenario - tobiko-tripleo-upgrade
gate: gate:
jobs: jobs:

View File

@@ -144,6 +144,7 @@
- ^infrared/ - ^infrared/
- ^releasenotes/ - ^releasenotes/
- ^report/ - ^report/
- ^tobiko/tests/faults/
- ^tobiko/tests/scenario/ - ^tobiko/tests/scenario/
- ^tobiko/tests/unit/ - ^tobiko/tests/unit/
@@ -162,6 +163,7 @@
- ^infrared/ - ^infrared/
- ^releasenotes/ - ^releasenotes/
- ^report/ - ^report/
- ^tobiko/tests/faults/
- ^tobiko/tests/functional/ - ^tobiko/tests/functional/
- ^tobiko/tests/unit/ - ^tobiko/tests/unit/
@@ -203,8 +205,26 @@
- job: - job:
name: tobiko-devstack-scenario-centos-7 name: tobiko-devstack-faults
voting: false
parent: tobiko-devstack-scenario-multinode parent: tobiko-devstack-scenario-multinode
description: |
Base Tobiko devstack job to execute scenario+faults+scenario test cases.
vars:
tox_envlist: scenario,faults
irrelevant-files:
- ^.*\.rst$
- ^doc/
- ^infrared/
- ^releasenotes/
- ^report/
- ^tobiko/tests/functional/
- ^tobiko/tests/unit/
- job:
name: tobiko-devstack-faults-centos-7
parent: tobiko-devstack-faults
nodeset: openstack-three-node-centos-7 nodeset: openstack-three-node-centos-7
voting: false voting: false
vars: vars:
@@ -214,52 +234,17 @@
- job: - job:
name: tobiko-devstack-scenario-centos-7-queens name: tobiko-devstack-faults-centos-7-queens
parent: tobiko-devstack-scenario-centos-7 parent: tobiko-devstack-faults-centos-7
override-checkout: stable/queens override-checkout: stable/queens
voting: false voting: false
- job: - job:
name: tobiko-devstack-scenario-centos-7-rocky name: tobiko-devstack-faults-ubuntu-bionic
parent: tobiko-devstack-scenario-centos-7 parent: tobiko-devstack-faults
override-checkout: stable/rocky
voting: false
- job:
name: tobiko-devstack-scenario-centos-7-stein
parent: tobiko-devstack-scenario-centos-7
override-checkout: stable/stein
voting: false
- job:
name: tobiko-devstack-scenario-centos-7-train
parent: tobiko-devstack-scenario-centos-7
override-checkout: stable/train
voting: false
- job:
name: tobiko-devstack-scenario-fedora-latest
parent: tobiko-devstack-scenario-multinode
nodeset: openstack-three-node-fedora-latest
voting: false
vars:
devstack_localrc:
# Add dns-domain-ports,dns-integration extensions again when bug
# https://bugzilla.redhat.com/show_bug.cgi?id=1695647
# will be fixed for Fedora
NETWORK_API_EXTENSIONS: address-scope,agent,allowed-address-pairs,auto-allocated-topology,availability_zone,binding,default-subnetpools,dhcp_agent_scheduler,dvr,empty-string-filtering,ext-gw-mode,external-net,extra_dhcp_opt,extraroute,filter-validation,fip-port-details,flavors,ip-substring-filtering,l3-flavors,l3-ha,l3_agent_scheduler,logging,metering,multi-provider,net-mtu,net-mtu-writable,network-ip-availability,network_availability_zone,pagination,port-security,project-id,provider,qos,qos-bw-minimum-ingress,qos-fip,quotas,quota_details,rbac-policies,router,router_availability_zone,security-group,port-mac-address-regenerate,port-security-groups-filtering,segment,service-type,sorting,standard-attr-description,standard-attr-revisions,standard-attr-segment,standard-attr-timestamp,standard-attr-tag,subnet_allocation,trunk,trunk-details,uplink-status-propagation
devstack_services:
q-dns: false
- job:
name: tobiko-devstack-scenario-ubuntu-bionic
parent: tobiko-devstack-scenario-multinode
nodeset: openstack-three-node-bionic nodeset: openstack-three-node-bionic
voting: false
vars: vars:
devstack_services: devstack_services:
tls-proxy: true tls-proxy: true

View File

@@ -23,6 +23,7 @@
- multinode-standalone.yml - multinode-standalone.yml
- tobiko.yml - tobiko.yml
- job: - job:
name: tobiko-tripleo-functional name: tobiko-tripleo-functional
description: Functional testing Tobiko TripleO job description: Functional testing Tobiko TripleO job
@@ -36,13 +37,13 @@
name: tobiko-tripleo-scenario name: tobiko-tripleo-scenario
description: Scenario testing Tobiko TripleO job description: Scenario testing Tobiko TripleO job
parent: tobiko-tripleo parent: tobiko-tripleo
voting: false voting: true
vars: vars:
tox_envlist: scenario tox_envlist: scenario
- job: - job:
name: tobiko-tripleo-upgrade-scenario name: tobiko-tripleo-upgrade
description: Scenario testing Tobiko TripleO upgrade job description: Scenario testing Tobiko TripleO upgrade job
parent: tobiko-tripleo-scenario parent: tobiko-tripleo-scenario
voting: false voting: false
@@ -56,9 +57,9 @@
- job: - job:
name: tobiko-tripleo-faults-scenario name: tobiko-tripleo-faults
description: OS faults and scenario testing Tobiko TripleO job description: OS faults and scenario testing Tobiko TripleO job
parent: tobiko-tripleo parent: tobiko-tripleo
voting: false voting: false
vars: vars:
tox_envlist: os-faults,scenario tox_envlist: scenario,faults