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

Don't exit script prematurely if test fails #802

Merged
merged 1 commit into from
Mar 19, 2021

Conversation

wongma7
Copy link
Contributor

@wongma7 wongma7 commented Mar 18, 2021

Is this a bug fix or adding new feature?

What is this PR about? / Why do we need it? The logging change I added in #789 is worthless if the test fails and script exits prematurely. Example: https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_aws-efs-csi-driver/370/pull-aws-efs-csi-driver-e2e/1372684986401951744

(Mixed feelings about bash right now but I don't want to literally go in a circle and revamp the scripts all over again 😢)

/cc @ayberk

TODO for myself: cherrypick in to efs copy of these scripts.
What testing is done?

@k8s-ci-robot k8s-ci-robot requested a review from ayberk March 18, 2021 23:45
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 18, 2021
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1744

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 81.789%

Totals Coverage Status
Change from base Build 1733: 0.0%
Covered Lines: 1756
Relevant Lines: 2147

💛 - Coveralls

@nckturner
Copy link

/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nckturner, wongma7

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

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 19, 2021
@k8s-ci-robot k8s-ci-robot merged commit e1dd893 into kubernetes-sigs:master Mar 19, 2021
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants