Skip to content

ci-operator/step-registry/openshift/e2e/test: Background and wait for openshift-tests #17007

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

Merged

Conversation

wking
Copy link
Member

@wking wking commented Mar 21, 2021

The end-to-end step originated without the background/wait pattern in a2fd8c3 (#6965). But as described in 4472ace (#2680), we want the background-and-wait pattern to make openshift-tests a child process that will receive TERMs via this step's existing trap handler. openshift-tests can take hours, and when the step gets a TERM, we want to quickly pass that through to the slow children, so they exit, so the step can exit, so we have plenty of time for asset uploading and subsequent gather and teardown steps. That gives us the resources we need to figure out why the test was abnormally slow.

… openshift-tests

The end-to-end step originated without the background/wait pattern in
a2fd8c3 (step-registry: add Origin E2E test step, 2020-01-31, openshift#6965).
But as described in 4472ace
(ci-operator/templates/openshift/installer: Restore backgrounded
'create cluster', 2019-01-23, openshift#2680), we want the background-and-wait
pattern to make openshift-tests a child process that will receive
TERMs via this step's existing 'trap' handler.  openshift-tests can
take hours, and when the step gets a TERM, we want to quickly pass
that through to the slow children, so they exit, so the step can exit,
so we have plenty of time for asset uploading and subsequent gather
and teardown steps.  That gives us the resources we need to figure out
why the test was abnormally slow.
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 21, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 22, 2021

@wking: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/rehearse/openshift/cluster-network-operator/master/e2e-vsphere-ovn aaa4979 link /test pj-rehearse
ci/rehearse/openshift/cluster-api-provider-kubevirt/master/e2e-kubevirt aaa4979 link /test pj-rehearse
ci/rehearse/openshift/oc/release-4.2/e2e-cmd aaa4979 link /test pj-rehearse
ci/rehearse/openshift/cluster-samples-operator/master/e2e-aws-jenkins aaa4979 link /test pj-rehearse
ci/rehearse/openshift/cluster-network-operator/master/e2e-azure-ovn-dualstack aaa4979 link /test pj-rehearse
ci/rehearse/openshift/cluster-network-operator/master/e2e-ovn-step-registry aaa4979 link /test pj-rehearse
ci/rehearse/openshift/cluster-network-operator/master/e2e-ovn-ipsec-step-registry aaa4979 link /test pj-rehearse
ci/rehearse/openshift/cluster-authentication-operator/master/e2e-aws-single-node aaa4979 link /test pj-rehearse
ci/rehearse/openshift/cluster-api-provider-azure/master/e2e-upgrade aaa4979 link /test pj-rehearse
ci/rehearse/openshift/cluster-network-operator/master/e2e-gcp-ovn-upgrade aaa4979 link /test pj-rehearse
ci/rehearse/openshift/machine-api-operator/master/e2e-vsphere-operator aaa4979 link /test pj-rehearse
ci/prow/pj-rehearse aaa4979 link /test pj-rehearse
ci/rehearse/openshift/cluster-api-provider-openstack/master/e2e-upgrade aaa4979 link /test pj-rehearse

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.

Copy link
Member

@vrutkovs vrutkovs left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 22, 2021
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vrutkovs, wking

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-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit a53dba2 into openshift:master Mar 22, 2021
@openshift-ci-robot
Copy link
Contributor

@wking: Updated the following 2 configmaps:

  • step-registry configmap in namespace ci at cluster api.ci using the following files:
    • key openshift-e2e-test-commands.sh using file ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh
  • step-registry configmap in namespace ci at cluster app.ci using the following files:
    • key openshift-e2e-test-commands.sh using file ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh

In response to this:

The end-to-end step originated without the background/wait pattern in a2fd8c3 (#6965). But as described in 4472ace (#2680), we want the background-and-wait pattern to make openshift-tests a child process that will receive TERMs via this step's existing trap handler. openshift-tests can take hours, and when the step gets a TERM, we want to quickly pass that through to the slow children, so they exit, so the step can exit, so we have plenty of time for asset uploading and subsequent gather and teardown steps. That gives us the resources we need to figure out why the test was abnormally slow.

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.

@wking wking deleted the e2e-step-background-wait branch March 22, 2021 16:03
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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants