fix(e2e): Add cleanup trap to prevent false positives in CI test runs#1227
fix(e2e): Add cleanup trap to prevent false positives in CI test runs#1227istio-testing merged 4 commits intoistio-ecosystem:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1227 +/- ##
==========================================
+ Coverage 77.39% 77.54% +0.14%
==========================================
Files 44 44
Lines 2823 2823
==========================================
+ Hits 2185 2189 +4
+ Misses 529 526 -3
+ Partials 109 108 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The e2e test script was storing the Ginkgo exit code but could still exit unexpectedly before cleanup, causing CI to mark incomplete test runs as successful (false positives). Signed-off-by: Francisco Herrera <fjglira@gmail.com>
TEMPORARY FAILURE: check failure test on CI Signed-off-by: Francisco Herrera <fjglira@gmail.com>
This reverts commit 5346be9. Signed-off-by: Francisco Herrera <fjglira@gmail.com>
* upstream/main: fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
* upstream/main: fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
* upstream/main: fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
* upstream/main: fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
* upstream/main: fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
* upstream/main: Enhance Documentation: convert markdown file to AsciiDocs (istio-ecosystem#1118) fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
* upstream/main: Enhance Documentation: convert markdown file to AsciiDocs (istio-ecosystem#1118) fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
* upstream/main: Enhance Documentation: convert markdown file to AsciiDocs (istio-ecosystem#1118) fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
* upstream/main: Enhance Documentation: convert markdown file to AsciiDocs (istio-ecosystem#1118) fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
* upstream/main: Enhance Documentation: convert markdown file to AsciiDocs (istio-ecosystem#1118) fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
* upstream/main: Enhance Documentation: convert markdown file to AsciiDocs (istio-ecosystem#1118) fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
* upstream/main: Enhance Documentation: convert markdown file to AsciiDocs (istio-ecosystem#1118) fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
* upstream/main: Enhance Documentation: convert markdown file to AsciiDocs (istio-ecosystem#1118) fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
* upstream/main: Enhance Documentation: convert markdown file to AsciiDocs (istio-ecosystem#1118) fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
|
In response to a cherrypick label: new pull request created: #1232 |
|
/cherry-pick release-1.26 |
|
In response to a cherrypick label: #1227 failed to apply on top of branch "release-1.26": |
|
In response to a cherrypick label: new issue created for failed cherrypick: #1406 |
|
@FilipB: #1227 failed to apply on top of branch "release-1.26": DetailsIn response to this:
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-sigs/prow repository. |
|
In response to a cherrypick label: #1227 failed to apply on top of branch "release-1.27": |
|
@FilipB: new issue created for failed cherrypick: #1407 DetailsIn response to this:
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-sigs/prow repository. |
|
In response to a cherrypick label: new issue created for failed cherrypick: #1408 |
…istio-ecosystem#1227) * fix(e2e): Add cleanup trap to prevent false positives in CI test runs The e2e test script was storing the Ginkgo exit code but could still exit unexpectedly before cleanup, causing CI to mark incomplete test runs as successful (false positives). Signed-off-by: Francisco Herrera <fjglira@gmail.com> * TEMPORARY FAILURE TEMPORARY FAILURE: check failure test on CI Signed-off-by: Francisco Herrera <fjglira@gmail.com> * Fix lint Fix lint messages Signed-off-by: Francisco Herrera <fjglira@gmail.com> * Revert "TEMPORARY FAILURE" This reverts commit 5346be9. Signed-off-by: Francisco Herrera <fjglira@gmail.com> --------- Signed-off-by: Francisco Herrera <fjglira@gmail.com> Signed-off-by: Filip Brychta <fbrychta@redhat.com>
…#1227) * fix(e2e): Add cleanup trap to prevent false positives in CI test runs The e2e test script was storing the Ginkgo exit code but could still exit unexpectedly before cleanup, causing CI to mark incomplete test runs as successful (false positives). Signed-off-by: Francisco Herrera <fjglira@gmail.com> * TEMPORARY FAILURE TEMPORARY FAILURE: check failure test on CI Signed-off-by: Francisco Herrera <fjglira@gmail.com> * Fix lint Fix lint messages Signed-off-by: Francisco Herrera <fjglira@gmail.com> * Revert "TEMPORARY FAILURE" This reverts commit 5346be9. Signed-off-by: Francisco Herrera <fjglira@gmail.com> --------- Signed-off-by: Francisco Herrera <fjglira@gmail.com> Signed-off-by: Filip Brychta <fbrychta@redhat.com>
* upstream/release-1.26: Make linter happy Make sure to skip cleanup of operator in e2e (istio-ecosystem#1351) fix(e2e): Add cleanup trap to prevent false positives in CI test runs (istio-ecosystem#1227)
…istio-ecosystem#1227) * fix(e2e): Add cleanup trap to prevent false positives in CI test runs The e2e test script was storing the Ginkgo exit code but could still exit unexpectedly before cleanup, causing CI to mark incomplete test runs as successful (false positives). Signed-off-by: Francisco Herrera <fjglira@gmail.com> * TEMPORARY FAILURE TEMPORARY FAILURE: check failure test on CI Signed-off-by: Francisco Herrera <fjglira@gmail.com> * Fix lint Fix lint messages Signed-off-by: Francisco Herrera <fjglira@gmail.com> * Revert "TEMPORARY FAILURE" This reverts commit 5346be9. Signed-off-by: Francisco Herrera <fjglira@gmail.com> --------- Signed-off-by: Francisco Herrera <fjglira@gmail.com> Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
The e2e test script was storing the Ginkgo exit code but could still exit unexpectedly before cleanup, causing CI to mark incomplete test runs as successful (false positives).
What type of PR is this?
What this PR does / why we need it:
Problem:
The e2e test script was storing the Ginkgo exit code, but could still exit unexpectedly before cleanup, causing CI to mark incomplete test runs as successful (false positives).
Solution:
cleanup()function withtrap cleanup EXIT INT TERMto ensure uninstall always runsResult:
Which issue(s) this PR fixes:
Fixes #1226
Related Issue/PR #
Additional information: