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

OSASINFRA-3435: openstack: Add CAPI-installer periodics #51618

Merged
merged 1 commit into from
May 7, 2024

Conversation

pierreprinetti
Copy link
Member

Reduce the frequency of regular Terraform-based jobs to adjust.

@openshift-ci openshift-ci bot requested review from gryf and mandre May 3, 2024 08:49
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 3, 2024
@pierreprinetti
Copy link
Member Author

/pj-rehearse periodic-ci-shiftstack-shiftstack-ci-main-capi-periodic-4.16-e2e-openstack-ovn-password

@openshift-ci-robot
Copy link
Contributor

@pierreprinetti: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@pierreprinetti pierreprinetti changed the title openstack: Add CAPI-installer periodics OSASINFRA-3435: openstack: Add CAPI-installer periodics May 3, 2024
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label May 3, 2024
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented May 3, 2024

@pierreprinetti: This pull request references OSASINFRA-3435 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.16.0" version, but no target version was set.

In response to this:

Reduce the frequency of regular Terraform-based jobs to adjust.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

ROTATE_CLOUD_CREDENTIALS: "true"
TEST_SUITE: openshift/conformance/parallel
workflow: openshift-e2e-openstack-ipi
- as: e2e-openstack-ovn-serial
Copy link
Contributor

Choose a reason for hiding this comment

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

if we already have e2e-openstack-ovn-parallel do we really need the serial one?
Is there such a big difference in the test suite that is ran?
I'm just trying to reducing that amount of jobs that will run.

Copy link
Member Author

Choose a reason for hiding this comment

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

The two suites run different tests. In particular: the "serial" suite runs tests that are susceptible to break each other, hence they're run without parallelisation. If I remember correctly, the rationale for having two suites (rather than running all serial-only, then all parallelisable tests) is that they're simply too many.

Coming back in scope of this particular PR: I am doublig the intervals of the Terraform-based jobs at the same time that I add the CAPI-based ones. The idea is that we should end up with the same exact number of jobs (except those that run very seldom, which I have not touched).

memory: 200Mi
tests:
- as: e2e-openstack-fips
minimum_interval: 56h
Copy link
Contributor

Choose a reason for hiding this comment

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

I see the new jobs have the same minimum_interval as the periodics without CAPI.
Is there a chance jobs with the same minimum_interval will run at the same time? we might see etcd issues if that is true. I suggest tweaking this a bit.

Copy link
Member Author

Choose a reason for hiding this comment

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

We designed minimum_interval to address this problem exactly: each job's interval will start after it's completed, rather than after it started. As a consequence, jobs delayed because they couldn't immediately acquire a lease are naturally moved forward until they find a stable spot.

@pierreprinetti
Copy link
Member Author

pierreprinetti commented May 3, 2024

Why isn't CAPI baked in?
/pj-rehearse periodic-ci-shiftstack-shiftstack-ci-main-capi-periodic-4.16-e2e-openstack-ovn-password

@openshift-ci-robot
Copy link
Contributor

@pierreprinetti: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@pierreprinetti
Copy link
Member Author

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 3, 2024
@pierreprinetti
Copy link
Member Author

/pj-rehearse periodic-ci-shiftstack-shiftstack-ci-main-capi-periodic-4.16-e2e-openstack-ovn-password

1 similar comment
@pierreprinetti
Copy link
Member Author

/pj-rehearse periodic-ci-shiftstack-shiftstack-ci-main-capi-periodic-4.16-e2e-openstack-ovn-password

@openshift-ci-robot
Copy link
Contributor

@pierreprinetti: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci openshift-ci bot removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 7, 2024
@pierreprinetti
Copy link
Member Author

/test ordered-prow-config
/pj-rehearse periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-ovn-serial

@openshift-ci-robot
Copy link
Contributor

@pierreprinetti: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

Reduce the frequency of regular Terraform-based jobs to adjust.

Add the OpenStack periodics under openshift/installer, because we can't
have them in shiftstack/shiftstack-ci until the CAPI providers are added
to the release payload.
@pierreprinetti
Copy link
Member Author

Fixed ordered-prow-config.
/pj-rehearse periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-ovn-serial

@openshift-ci-robot
Copy link
Contributor

@pierreprinetti: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

Copy link
Contributor

openshift-ci bot commented May 7, 2024

@pierreprinetti: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/rehearse/periodic-ci-shiftstack-shiftstack-ci-main-capi-periodic-4.16-e2e-openstack-ovn-password 2183e2b link unknown /pj-rehearse periodic-ci-shiftstack-shiftstack-ci-main-capi-periodic-4.16-e2e-openstack-ovn-password

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@pierreprinetti: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-additional-ipv6-network N/A periodic Periodic changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-externallb N/A periodic Periodic changed
periodic-ci-shiftstack-shiftstack-ci-main-periodic-4.16-e2e-openstack-nfv-mellanox N/A periodic Ci-operator config changed
periodic-ci-shiftstack-shiftstack-ci-main-periodic-4.16-e2e-openstack-csi-manila N/A periodic Ci-operator config changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-ovn-etcd-scaling N/A periodic Periodic changed
periodic-ci-shiftstack-shiftstack-ci-main-periodic-4.16-e2e-openstack-nfv-hwoffload N/A periodic Ci-operator config changed
periodic-ci-shiftstack-shiftstack-ci-main-periodic-4.16-e2e-openstack-proxy N/A periodic Ci-operator config changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-ccpmso N/A periodic Periodic changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-dualstack-v6primary N/A periodic Periodic changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-nfv-intel N/A periodic Periodic changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-csi-cinder N/A periodic Periodic changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-dualstack-upi N/A periodic Periodic changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-ccpmso-zone N/A periodic Periodic changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-proxy N/A periodic Periodic changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-ovn-password N/A periodic Periodic changed
periodic-ci-shiftstack-shiftstack-ci-main-periodic-4.16-e2e-openstack-additional-ipv6-network N/A periodic Ci-operator config changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-ovn-parallel N/A periodic Periodic changed
periodic-ci-shiftstack-shiftstack-ci-main-periodic-4.16-e2e-openstack-ovn-serial N/A periodic Ci-operator config changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-fips N/A periodic Periodic changed
periodic-ci-shiftstack-shiftstack-ci-main-periodic-4.16-e2e-openstack-ovn-password N/A periodic Ci-operator config changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-dualstack N/A periodic Periodic changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-csi-manila N/A periodic Periodic changed
periodic-ci-shiftstack-shiftstack-ci-main-periodic-4.16-e2e-openstack-fips N/A periodic Ci-operator config changed
periodic-ci-shiftstack-shiftstack-ci-main-periodic-4.16-e2e-openstack-csi-cinder N/A periodic Ci-operator config changed
periodic-ci-openshift-installer-master-altinfra-periodics-e2e-openstack-nfv-hwoffload N/A periodic Periodic changed

A total of 29 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse abort to abort all active rehearsals

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@pierreprinetti
Copy link
Member Author

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 7, 2024
@EmilienM
Copy link
Member

EmilienM commented May 7, 2024

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 7, 2024
Copy link
Contributor

@patrickdillon patrickdillon left a comment

Choose a reason for hiding this comment

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

/approve

I'm happy to add more ci testing to the altinfra image, but I would expect this to be a very short-lived temporary arrangement leading up to 4.16 GA. Once we get the capi installer in the release image, which will hopefully be any day, we will need to make further adjustments.

Comment on lines +144 to +156
- as: e2e-openstack-fips
minimum_interval: 56h
steps:
cluster_profile: openstack-vexxhost
env:
FEATURE_GATES: ClusterAPIInstall=true
FEATURE_SET: CustomNoUpgrade
FIPS_ENABLED: "true"
TEST_SUITE: experimental/reliability/minimal
pre:
- chain: ipi-openstack-pre
- ref: fips-check
workflow: openshift-e2e-openstack-ipi
Copy link
Contributor

Choose a reason for hiding this comment

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

This altinfra image is not fips compliant so you may need to set OPENSHIFT_INSTALL_SKIP_HOSTCRYPT_VALIDATION="true" to skip the installer host validation. We could do that in a followup pr once we observe failures.

Copy link
Contributor

openshift-ci bot commented May 7, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: EmilienM, patrickdillon, pierreprinetti

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-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 7, 2024
@pierreprinetti
Copy link
Member Author

/pj-rehearse ack

@openshift-ci-robot
Copy link
Contributor

@pierreprinetti: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label May 7, 2024
@pierreprinetti
Copy link
Member Author

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 7, 2024
@pierreprinetti
Copy link
Member Author

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 7, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit d294c39 into openshift:master May 7, 2024
18 checks passed
@pierreprinetti pierreprinetti deleted the os_capi_periodics branch May 7, 2024 15:21
acornett21 pushed a commit to acornett21/openshift-release that referenced this pull request May 8, 2024
Reduce the frequency of regular Terraform-based jobs to adjust.

Add the OpenStack periodics under openshift/installer, because we can't
have them in shiftstack/shiftstack-ci until the CAPI providers are added
to the release payload.
jbpratt pushed a commit to jbpratt/release that referenced this pull request May 30, 2024
Reduce the frequency of regular Terraform-based jobs to adjust.

Add the OpenStack periodics under openshift/installer, because we can't
have them in shiftstack/shiftstack-ci until the CAPI providers are added
to the release payload.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged
Projects
None yet
5 participants