Skip to content

Commit

Permalink
[zuul] Add tempest tests
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
elfiesmelfie committed Jan 22, 2024
1 parent 688452f commit 1a23ad7
Showing 1 changed file with 56 additions and 2 deletions.
58 changes: 56 additions & 2 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
---
# copied from neutron-operator: https://github.com/openstack-k8s-operators/neutron-operator/blob/main/zuul.d/jobs.yaml
# 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
- job:
name: telemetry-operator-tempest-multinode
parent: podified-multinode-edpm-deployment-crc
dependencies: ["openstack-k8s-operators-content-provider"]
vars:
# May need to add telemetry to this.
# * `cifmw_tempest_container`: (String) Name of the tempest container. Default to `openstack-tempest`
# https://github.com/openstack-k8s-operators/ci-framework/blob/a32669366a32b494b692d5dc73de044fd089a38a/roles/tempest/README.md?plain=1#L14
cifmw_tempest_container: openstack-tempest-all
#* `cifmw_tempest_tempestconf_profile`: (Dictionary) List of settings to be overwritten in tempest.conf.
# https://github.com/openstack-k8s-operators/ci-framework/blob/a32669366a32b494b692d5dc73de044fd089a38a/roles/tempest/README.md?plain=1#L21C4-L21C37
# 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
cifmw_tempest_tempestconf_profile:
overrides:
compute-feature-enabled.vnc_console: true
validation.run_validation: true
# NOTE(gibi): This is a WA to force the publicURL as otherwise
# tempest gets configured with adminURL and that causes test
# instability.
identity.v3_endpoint_type: public
identity.v2_admin_endpoint_type: public
# NOTE(efoley): First step is to get ANY tempest jobs running to confirm a working config
cifmw_tempest_tests_allowed: # need to see ciframwework roles that use these vars, to see how to enable telemetry
- neutron_tempest_plugin.api
- neutron_tempest_plugin.scenario
# To check metadata with and without config drive
- tempest.scenario.test_server_basic_ops.TestServerBasicOps.test_server_basic_ops
cifmw_tempest_tests_skipped:
# https://issues.redhat.com/browse/OSPRH-3099
- test_list_pagination_page_reverse_with_href_links
- test_list_pagination_with_href_links
# https://review.opendev.org/892839
- neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest
# missing https://review.opendev.org/882818 in antelope
- test_qos_dscp_create_and_update
# Limit job runtime
- NetworkSecGroupTest
- project:
name: openstack-k8s-operators/telemetry-operator
templates:
- podified-multinode-edpm-pipeline
# templates:
# - podified-multinode-edpm-pipeline
# this pipeline contains: github-check:
# jobs:
# - openstack-k8s-operators-content-provider
# - podified-multinode-edpm-deployment-crc: &content_providere_edpm
# dependencies:
# - openstack-k8s-operators-content-provider
# - podified-multinode-hci-deployment-crc: *content_providere_edpm

# Do I have the content provider available somewhere?
# I can also temperorily inherit from one of the end-to-end deployments; which is the ci-framework tempest job.
jobs:
github-check:
- openstack-k8s-operators-content-provider
# The dependency on the content provider is baked into the job definition.
- telemetry-operator-tempest-multinode

0 comments on commit 1a23ad7

Please sign in to comment.