Skip to content

Conversation

@patrickdillon
Copy link
Contributor

  1. Attempts to capture log bundles if install fails
  2. Enables trace-level debugging and captures .openshift_install.log in deprovision

cc @wking @abhinavdahiya

@patrickdillon
Copy link
Contributor Author

/test pj-rehearse

In the event of an installation failure, log bundles were not being added to artifacts dir. This commit attempts to identify a log bundle by pattern matching and discards any errors if the file doesn't exist.
…tep.

This commit adds .openshift_install.log to $SHARED_DIR in install so it
can be appended to in deprovision,  enables trace level debugging and writes
.openshift_install.log,from deprovision to the artifacts. This will be
useful for debugging any deprovisioning failures.
Terraform is not used to destroy the vSphere cluster so this environment variable is not helping. Remove for clarity.
@patrickdillon patrickdillon force-pushed the steps-increase-debugging branch from cca7241 to 06c8d90 Compare March 25, 2020 14:15
@abhinavdahiya
Copy link
Contributor

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, patrickdillon

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 Mar 25, 2020
@openshift-merge-robot openshift-merge-robot merged commit 158eb0b into openshift:master Mar 25, 2020
@openshift-ci-robot
Copy link
Contributor

@patrickdillon: Updated the following 2 configmaps:

  • step-registry configmap in namespace ci at cluster default using the following files:
    • key ipi-deprovision-deprovision-commands.sh using file ci-operator/step-registry/ipi/deprovision/deprovision/ipi-deprovision-deprovision-commands.sh
    • key ipi-deprovision-vsphere-commands.sh using file ci-operator/step-registry/ipi/deprovision/vsphere/ipi-deprovision-vsphere-commands.sh
    • key ipi-install-install-commands.sh using file ci-operator/step-registry/ipi/install/install/ipi-install-install-commands.sh
  • step-registry configmap in namespace ci at cluster app.ci using the following files:
    • key ipi-deprovision-deprovision-commands.sh using file ci-operator/step-registry/ipi/deprovision/deprovision/ipi-deprovision-deprovision-commands.sh
    • key ipi-deprovision-vsphere-commands.sh using file ci-operator/step-registry/ipi/deprovision/vsphere/ipi-deprovision-vsphere-commands.sh
    • key ipi-install-install-commands.sh using file ci-operator/step-registry/ipi/install/install/ipi-install-install-commands.sh
Details

In response to this:

  1. Attempts to capture log bundles if install fails
  2. Enables trace-level debugging and captures .openshift_install.log in deprovision

cc @wking @abhinavdahiya

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.

@openshift-ci-robot
Copy link
Contributor

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

Test name Commit Details Rerun command
ci/rehearse/openshift/installer/master/e2e-aws-steps 06c8d90 link /test pj-rehearse
ci/rehearse/openshift/installer/master/e2e-vsphere-steps 06c8d90 link /test pj-rehearse
ci/prow/pj-rehearse 06c8d90 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.

wking added a commit to wking/openshift-release that referenced this pull request Mar 30, 2020
Steve found this opaque [1], so shift the cp into the 'set +e' block
instead.  The '|| :' syntax was originally from 20157f6 (Capture
log bundle in install step, 2020-03-24, openshift#7899).

[1]: https://github.com/openshift/release/pull/7936/files#r400512879
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.

4 participants