Skip to content

Commit a46a548

Browse files
committed
[zuul] Add tempest tests
This is a first pass, creating a tempest job based on neutron-operator. This change runs the neutron tempest tests to establish that the environment is configured correctly for tempest tests. Later revisions will add in telemetry tempest jobs.
1 parent 688452f commit a46a548

File tree

1 file changed

+55
-2
lines changed

1 file changed

+55
-2
lines changed

zuul.d/projects.yaml

Lines changed: 55 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,58 @@
11
---
2+
# copied from neutron-operator: https://github.com/openstack-k8s-operators/neutron-operator/blob/main/zuul.d/jobs.yaml
3+
# Something similar exists in nova-operator, which uses podified-multinode-edpm-deployment-crc-3comp as a parent: https://github.com/openstack-k8s-operators/nova-operator/blob/main/.zuul.yaml#L116
4+
- job:
5+
name: telemetry-operator-tempest-multinode
6+
parent: podified-multinode-edpm-deployment-crc
7+
dependencies: ["openstack-k8s-operators-content-provider"]
8+
vars:
9+
# May need to add telemetry to this.
10+
# * `cifmw_tempest_container`: (String) Name of the tempest container. Default to `openstack-tempest`
11+
# https://github.com/openstack-k8s-operators/ci-framework/blob/a32669366a32b494b692d5dc73de044fd089a38a/roles/tempest/README.md?plain=1#L14
12+
cifmw_tempest_container: openstack-tempest-all
13+
#* `cifmw_tempest_tempestconf_profile`: (Dictionary) List of settings to be overwritten in tempest.conf.
14+
# https://github.com/openstack-k8s-operators/ci-framework/blob/a32669366a32b494b692d5dc73de044fd089a38a/roles/tempest/README.md?plain=1#L21C4-L21C37
15+
# Assumption: the config vars passed here are from tempest, and I can follow the tempest configs from upstream/devstack-based deployments to populate this for telemetry
16+
cifmw_tempest_tempestconf_profile:
17+
overrides:
18+
compute-feature-enabled.vnc_console: true
19+
validation.run_validation: true
20+
# NOTE(gibi): This is a WA to force the publicURL as otherwise
21+
# tempest gets configured with adminURL and that causes test
22+
# instability.
23+
identity.v3_endpoint_type: public
24+
identity.v2_admin_endpoint_type: public
25+
# NOTE(efoley): First step is to get ANY tempest jobs running to confirm a working config
26+
cifmw_tempest_tests_allowed: # need to see ciframwework roles that use these vars, to see how to enable telemetry
27+
- neutron_tempest_plugin.api
28+
- neutron_tempest_plugin.scenario
29+
# To check metadata with and without config drive
30+
- tempest.scenario.test_server_basic_ops.TestServerBasicOps.test_server_basic_ops
31+
cifmw_tempest_tests_skipped:
32+
# https://issues.redhat.com/browse/OSPRH-3099
33+
- test_list_pagination_page_reverse_with_href_links
34+
- test_list_pagination_with_href_links
35+
# https://review.opendev.org/892839
36+
- neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest
37+
# missing https://review.opendev.org/882818 in antelope
38+
- test_qos_dscp_create_and_update
39+
# Limit job runtime
40+
- NetworkSecGroupTest
241
- project:
342
name: openstack-k8s-operators/telemetry-operator
4-
templates:
5-
- podified-multinode-edpm-pipeline
43+
# templates:
44+
# - podified-multinode-edpm-pipeline
45+
# this pipeline contains: github-check:
46+
# jobs:
47+
# - openstack-k8s-operators-content-provider
48+
# - podified-multinode-edpm-deployment-crc: &content_providere_edpm
49+
# dependencies:
50+
# - openstack-k8s-operators-content-provider
51+
# - podified-multinode-hci-deployment-crc: *content_providere_edpm
52+
53+
# Do I have the content provider available somewhere?
54+
# I can also temperorily inherit from one of the end-to-end deployments; which is the ci-framework tempest job.
55+
jobs:
56+
- openstack-k8s-operators-content-provider
57+
# The dependency on the content provider is baked into the job definition.
58+
- telemetry-operator-tempest-multinode

0 commit comments

Comments
 (0)