d3de47fff0
Last Nova has stopped supporting python versions smaller than version 3.6. This is creating troubles to use CentOS 7 with devstack because support for Python 3 and CentOS 7 is still not merged This has been required as below change is still not merged: - https://review.opendev.org/688799/ Change-Id: Ia3a15b8fe2badbcb0831136a85eeddc7c65fb524
249 lines
7.1 KiB
YAML
249 lines
7.1 KiB
YAML
- job:
|
|
name: tobiko-devstack-base
|
|
parent: devstack
|
|
abstract: true
|
|
nodeset: openstack-single-node-bionic
|
|
description: |
|
|
Base Tobiko devstack job.
|
|
|
|
This job provides the base for both the single and multi-node
|
|
test setup. To run a multi-node test inherit from tobiko-devstack and
|
|
set the nodeset to a multi-node one.
|
|
required-projects:
|
|
- openstack/devstack-gate
|
|
- openstack/heat
|
|
- openstack/neutron
|
|
- x/tobiko
|
|
timeout: 7200
|
|
vars:
|
|
devstack_localrc:
|
|
MULTI_HOST: 0
|
|
LOG_COLOR: false
|
|
NETWORK_API_EXTENSIONS: address-scope,agent,allowed-address-pairs,auto-allocated-topology,availability_zone,binding,default-subnetpools,dhcp_agent_scheduler,dns-domain-ports,dns-integration,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_plugins:
|
|
heat: https://opendev.org/openstack/heat.git
|
|
neutron: https://opendev.org/openstack/neutron.git
|
|
tobiko: https://opendev.org/x/tobiko.git
|
|
devstack_services:
|
|
heat: true
|
|
h-api: true
|
|
h-api-cfn: true
|
|
h-eng: true
|
|
n-cpu: true
|
|
# NOTE(slaweq): we need to enable it as "legacy" service because for Fedora job
|
|
# it has to be disabled. If it would be disabled as "neutron-dns: false" then it
|
|
# devstack would consider that neutron-legacy isn't used and would not load proper
|
|
# files
|
|
q-dns: true
|
|
neutron-qos: true
|
|
neutron-segments: true
|
|
neutron-trunk: true
|
|
neutron-uplink-status-propagation: true
|
|
tempest: false
|
|
tls-proxy: false
|
|
# NOTE(slaweq): Swift can't run with python3 currently
|
|
s-account: false
|
|
s-container: false
|
|
s-object: false
|
|
s-proxy: false
|
|
# NOTE(slaweq): without Swift, c-bak cannot run (in the Gate at least)
|
|
c-bak: false
|
|
devstack_local_conf:
|
|
post-config:
|
|
$NEUTRON_CONF:
|
|
QUOTAS:
|
|
quota_router: 100
|
|
quota_floatingip: 500
|
|
quota_security_group: 100
|
|
quota_security_group_rule: 1000
|
|
$NOVA_CONF:
|
|
quota:
|
|
instances: 20
|
|
test_results_stage_name: test_results
|
|
zuul_copy_output:
|
|
'{{ devstack_log_dir }}/tobiko*.log': logs
|
|
'{{ stage_dir }}/stackviz': logs
|
|
extensions_to_txt:
|
|
conf: true
|
|
log: true
|
|
yaml: true
|
|
yml: true
|
|
tobiko_user: stack
|
|
tobiko_dir: /opt/stack/tobiko
|
|
tobiko_log_file: /opt/stack/logs/tobiko.log
|
|
test_report_dir: /opt/stack/logs
|
|
|
|
pre-run: playbooks/tobiko-devstack-pre-run.yaml
|
|
run: playbooks/tobiko-devstack-run.yaml
|
|
post-run: playbooks/tobiko-devstack-post-run.yaml
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/
|
|
- ^infrared/
|
|
- ^releasenotes/
|
|
- ^report/
|
|
- ^tobiko/tests/unit/
|
|
|
|
|
|
- job:
|
|
name: tobiko-devstack-octavia
|
|
parent: tobiko-devstack-base
|
|
abstract: true
|
|
description: |
|
|
Base Tobiko devstack job to be used with Octavia.
|
|
|
|
required-projects:
|
|
- openstack/barbican
|
|
- openstack/diskimage-builder
|
|
- openstack/octavia
|
|
- openstack/octavia-lib
|
|
- openstack/python-barbicanclient
|
|
- openstack/tripleo-image-elements
|
|
timeout: 7800
|
|
vars:
|
|
devstack_plugins:
|
|
octavia: https://opendev.org/openstack/octavia
|
|
devstack_services:
|
|
# Octavia
|
|
octavia: true
|
|
o-cw: true
|
|
o-hk: true
|
|
o-hm: true
|
|
o-api: true
|
|
zuul_copy_output:
|
|
'/var/log/dib-build/': logs
|
|
'/var/log/octavia-tenant-traffic.log': logs
|
|
'/var/log/octavia-amphora.log': logs
|
|
extensions_to_txt:
|
|
conf: true
|
|
log: true
|
|
yaml: true
|
|
yml: true
|
|
|
|
|
|
- job:
|
|
name: tobiko-devstack
|
|
parent: tobiko-devstack-octavia
|
|
abstract: true
|
|
|
|
|
|
- job:
|
|
name: tobiko-devstack-functional
|
|
parent: tobiko-devstack
|
|
description: |
|
|
Base Tobiko devstack job to execute functional tests.
|
|
vars:
|
|
tox_envlist: functional
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/
|
|
- ^infrared/
|
|
- ^releasenotes/
|
|
- ^report/
|
|
- ^tobiko/tests/faults/
|
|
- ^tobiko/tests/scenario/
|
|
- ^tobiko/tests/unit/
|
|
|
|
|
|
- job:
|
|
name: tobiko-devstack-scenario
|
|
parent: tobiko-devstack
|
|
description: |
|
|
Integration test that runs all tests against DevStack provided cloud
|
|
vars:
|
|
tox_envlist: scenario
|
|
irrelevant-files:
|
|
- ^.*\.rst$
|
|
- ^doc/
|
|
- ^infrared/
|
|
- ^releasenotes/
|
|
- ^report/
|
|
- ^tobiko/tests/faults/
|
|
- ^tobiko/tests/functional/
|
|
- ^tobiko/tests/unit/
|
|
|
|
|
|
- job:
|
|
name: tobiko-devstack-scenario-multinode
|
|
parent: tobiko-devstack-scenario
|
|
abstract: true
|
|
description: Base Tobiko devstack job with multinode.
|
|
vars:
|
|
topology: multinode
|
|
devstack_localrc:
|
|
ENABLE_FILE_INJECTION: true
|
|
MULTI_HOST: 1
|
|
devstack_services:
|
|
n-cpu: false
|
|
group-vars:
|
|
subnode:
|
|
devstack_services:
|
|
c-vol: true
|
|
dstat: true
|
|
heat: false
|
|
h-api: false
|
|
h-api-cfn: false
|
|
h-eng: false
|
|
n-api-meta: true
|
|
placement-client: true
|
|
n-cpu: true
|
|
neutron-agent: true
|
|
peakmem_tracker: true
|
|
q-agt: true
|
|
q-l3: true
|
|
q-meta: true
|
|
tls-proxy: false
|
|
|
|
|
|
- job:
|
|
name: tobiko-devstack-faults
|
|
parent: tobiko-devstack-scenario-multinode
|
|
abstract: true
|
|
description: |
|
|
Base Tobiko devstack job to execute scenario+faults+scenario test cases.
|
|
vars:
|
|
tobiko_run_faults: true
|
|
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
|
|
voting: false
|
|
|
|
|
|
- job:
|
|
name: tobiko-devstack-faults-centos-7-train
|
|
parent: tobiko-devstack-faults-centos-7
|
|
override-checkout: stable/train
|
|
voting: false
|
|
|
|
|
|
- job:
|
|
name: tobiko-devstack-faults-centos-7-queens
|
|
parent: tobiko-devstack-faults-centos-7
|
|
override-checkout: stable/queens
|
|
voting: false
|
|
|
|
|
|
- job:
|
|
name: tobiko-devstack-faults-ubuntu-bionic
|
|
parent: tobiko-devstack-faults
|
|
nodeset: openstack-three-node-bionic
|
|
voting: true
|
|
vars:
|
|
devstack_services:
|
|
tls-proxy: true
|
|
group-vars:
|
|
subnode:
|
|
devstack_services:
|
|
tls-proxy: true
|