Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the tempest var to test_operator #738

Merged

Conversation

raukadah
Copy link
Contributor

@raukadah raukadah commented Apr 9, 2024

Since we are already test_operator in all the edpm jobs.Let's use it here also.

Note: it also includes a workaround for https://issues.redhat.com/browse/OSPCIX-487

@openshift-ci openshift-ci bot requested review from frenzyfriday and viroel April 9, 2024 12:39
@raukadah raukadah force-pushed the test_operator branch 2 times, most recently from 79a57f0 to 2541659 Compare April 9, 2024 12:46
@raukadah raukadah requested a review from lpiwowar April 9, 2024 12:47
@@ -6,8 +6,8 @@
vars:
cifmw_operator_build_golang_ct: "docker.io/library/golang:1.20"
cifmw_operator_build_golang_alt_ct: "quay.rdoproject.org/openstack-k8s-operators/golang:1.20"
cifmw_tempest_tempestconf_profile:
overrides:
cifmw_test_operator_tempest_config:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't seem right, you want to replace the variable meant for tempestconf, but cifmw_test_operator_tempest_config is the config for the whole operator, see it's default:
https://github.com/openstack-k8s-operators/ci-framework/blob/main/roles/test_operator/defaults/main.yml#L45

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, the correct var is cifmw_tempest_tempestconf_config.

@@ -21,14 +21,14 @@
# tempest gets configured with adminURL and that causes test
# instability.
identity.v3_endpoint_type: public
cifmw_tempest_tests_allowed:
cifmw_test_operator_tempest_include_list:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both include and exclude list accept strings not list:)

cifmw_test_operator_tempest_include_list: |
  tempest.scenario
  tempest.scenario.test_minimum_basic.TestMinimumBasicScenario

cifmw_tempest_tempestconf_profile:
overrides:
cifmw_tempest_tempestconf_config:
overrides: |
compute-feature-enabled.vnc_console: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The correct syntax is without the colon:

compute-feature-enabled.vnc_console true

# NOTE(gibi): enable only the high level scenario tests to keep the
# job run time reasonable
- tempest.scenario
# Plus an extra live migration test until we have cinder volumes / ceph
# to run the live migration scenario tests with it
- tempest.api.compute.admin.test_live_migration.LiveAutoBlockMigrationV225Test
cifmw_tempest_tests_skipped:
cifmw_test_operator_tempest_exclude_list:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/6418185b6e134656ac2b685e111c1e22

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 08m 25s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 14m 51s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 25m 10s
openstack-operator-tempest-multinode FAILURE in 1h 19m 40s

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/3dc75d792af9463dbd9042ee953d5c8f

✔️ openstack-k8s-operators-content-provider SUCCESS in 31m 23s
podified-multinode-edpm-deployment-crc RETRY_LIMIT in 10m 43s
cifmw-crc-podified-edpm-baremetal RETRY_LIMIT in 2m 41s
openstack-operator-tempest-multinode RETRY_LIMIT in 12m 42s

@raukadah
Copy link
Contributor Author

recheck

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/9e49635e40f34d9aad51c0436a66043b

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 52m 03s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 09m 18s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 16m 17s
openstack-operator-tempest-multinode FAILURE in 1h 34m 17s

zuul.d/jobs.yaml Outdated
tempest.api.compute.admin.test_live_migration.LiveAutoBlockMigrationV225Test.test_live_block_migration_with_attached_volume
# Note(Chandan): Drop it once https://issues.redhat.com/browse/OSPCIX-487 fixes
cifmw_test_operator_tempest_extra_rpms:
- python3-testscenarios
Copy link
Contributor

@karelyatin karelyatin Sep 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for this to work we need to have rdo repos setup in container images, which i think we don't

can try with url instead https://trunk.rdoproject.org/centos9-antelope/deps/latest/noarch/python3-testscenarios-0.5.0-21.el9s.noarch.rpm

@karelyatin
Copy link
Contributor

Let's get it in if the CI passes, workaround can be reverted once we have a new promotion with tempest fix included

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/4d4c7b8080bb41a1a7e6b696a32f0891

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 12m 49s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 12m 45s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 23m 58s
openstack-operator-tempest-multinode FAILURE in 1h 31m 29s

# while cinder/nova is not configured to talk to barbican
# re-enable this when that support is added
# NOTE(gibi): This is a WA to force the publicURL as otherwise
# tempest gets configured with adminURL and that causes test
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as moving to test operator would also need to add for mtu test to pass
cifmw_test_operator_tempest_network_attachments:
- ctlplane

Copy link

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/openstack-k8s-operators/openstack-operator for 738,10843d2d47294a2b1b587aad5a37be944ce5b58c

Copy link

Zuul encountered a syntax error while parsing its
configuration in the repo openstack-k8s-operators/openstack-operator on branch main. The
problem was:

while scanning a block scalar
in "openstack-k8s-operators/openstack-operator/zuul.d/jobs.yaml@main", line 53, column 1
did not find expected comment or line break
in "openstack-k8s-operators/openstack-operator/zuul.d/jobs.yaml@main", line 53, column 2

Since we are already test_operator in all the edpm jobs.
Let's use it here also.

Signed-off-by: Chandan Kumar (raukadah) <[email protected]>
Copy link
Contributor

@lpiwowar lpiwowar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tempest.scenario.test_server_volume_attachment.TestServerVolumeAttachmentScenario
tempest.scenario.test_instances_with_cinder_volumes.TestInstancesWithCinderVolumes
tempest.api.compute.admin.test_live_migration.LiveAutoBlockMigrationV225Test.test_live_block_migration_with_attached_volume
# TODO (rlandy) remove when https://issues.redhat.com/browse/OSPCIX-126 is fixed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just wondering when whether we want to unskip this test since the linked ticked is fixed.

@fao89
Copy link
Contributor

fao89 commented Sep 19, 2024

/approve

Copy link
Contributor

openshift-ci bot commented Sep 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fao89, lpiwowar, raukadah

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit aadcf92 into openstack-k8s-operators:main Sep 19, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants