Skip to content

Conversation

@hamzy
Copy link
Contributor

@hamzy hamzy commented Jun 19, 2020

The wait command can return an error code causing the pipeline failure to exit the shell

@hamzy hamzy force-pushed the fix-wait-for-install-complete branch from d914e77 to 0ebd419 Compare June 19, 2020 16:24
@hamzy hamzy force-pushed the fix-wait-for-install-complete branch from 0ebd419 to 175e0d2 Compare June 19, 2020 17:51
@openshift-ci-robot
Copy link
Contributor

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

Test name Commit Details Rerun command
ci/rehearse/release-openshift-ocp-installer-e2e-openstack-ppc64le-4.4 0ebd4192b0e04df5e6b57941a1e6751f12159a90 link /test pj-rehearse

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

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.

@jaypoulz
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 19, 2020
@hamzy
Copy link
Contributor Author

hamzy commented Jun 19, 2020

/assign @adduarte

OS_DEBUG=1 TF_LOG=trace openshift-install --dir=/tmp/artifacts/installer create cluster --log-level=debug &
PID_OPENSHIFT_INSTALL=$!
echo "PID_OPENSHIFT_INSTALL=${PID_OPENSHIFT_INSTALL}"
Copy link
Member

Choose a reason for hiding this comment

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

Why drop this from up here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For consistency around the wait. And so that it doesn't get lost from the copy files code block.

# wait for installer create cluster and return its status
# disable errexit on pipeline failures for the wait command
set +e
Copy link
Member

Choose a reason for hiding this comment

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

Note to self: the RC handling which we're fixing up here was born with the template in #8271.

@wking
Copy link
Member

wking commented Jun 19, 2020

/lgtm

This seems fine to fix the current logic, but we should have a bug about root-causing and resolving the need for a wait-for install-complete fallback.

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hamzy, jaypoulz, wking

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

The pull request process is described here

Details 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-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 19, 2020
@openshift-merge-robot openshift-merge-robot merged commit 3ab78ed into openshift:master Jun 19, 2020
@openshift-ci-robot
Copy link
Contributor

@hamzy: Updated the following 4 configmaps:

  • prow-job-cluster-launch-installer-openstack-e2e-ppc64le configmap in namespace ci at cluster app.ci using the following files:
    • key cluster-launch-installer-openstack-e2e-ppc64le.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-openstack-e2e-ppc64le.yaml
  • prow-job-cluster-launch-installer-openstack-e2e-ppc64le configmap in namespace ci at cluster build01 using the following files:
    • key cluster-launch-installer-openstack-e2e-ppc64le.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-openstack-e2e-ppc64le.yaml
  • prow-job-cluster-launch-installer-openstack-e2e-ppc64le configmap in namespace ci at cluster build02 using the following files:
    • key cluster-launch-installer-openstack-e2e-ppc64le.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-openstack-e2e-ppc64le.yaml
  • prow-job-cluster-launch-installer-openstack-e2e-ppc64le configmap in namespace ci at cluster api.ci using the following files:
    • key cluster-launch-installer-openstack-e2e-ppc64le.yaml using file ci-operator/templates/openshift/installer/cluster-launch-installer-openstack-e2e-ppc64le.yaml
Details

In response to this:

The wait command can return an error code causing the pipeline failure to exit the shell

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.

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.

6 participants