Flaky RunCoverageTest tests #5477
Unanswered
adhiamboperes
asked this question in
Q&A (Other)
Replies: 1 comment 4 replies
-
To add to this (if useful), even recently encountered this scenario, but it doesn't occur with the proper shard implementation for the respective tests. Without or with low With |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CI fails sometimes. I am flagging this because @Rd4dev reported this issue in #5453, so that can serve as a starting point for the investigation.
Based on part of the stacktrace:
there seems to be a memory issue, causing errors extracting remotejdk11, which the Bazel setup requires to run.
This is all just speculation at this point, I don't have enough information to file an issue, so I am going to dump it here.
These are the failing tests:
testRunCoverage_ignoreCaseMarkdownArgument_returnsCoverageData(org.oppia.android.scripts.coverage.RunCoverageTest)
java.lang.IllegalStateException: Expected non-zero exit code (not 1) for command: [bazel, coverage, //coverage/test/java/com/example:TwoSumTest, --instrumentation_filter=//coverage/...].
testRunCoverage_sharedAndLocalTestsHtmlFormat_returnsCoverageData(org.oppia.android.scripts.coverage.RunCoverageTest)
java.lang.IllegalStateException: Expected non-zero exit code (not 36) for command: [bazel, query, --noshow_progress, --keep_going, set(app/sharedTest/java/com/example/TwoSumTest.kt app/test/java/com/example/TwoSumLocalTest.kt)].
testRunCoverage_sampleTestsMarkdownFormat_returnsCoverageData(org.oppia.android.scripts.coverage.RunCoverageTest)
java.lang.IllegalStateException: Expected non-zero exit code (not 1) for command: [bazel, coverage, //coverage/test/java/com/example:TwoSumTest, --instrumentation_filter=//coverage/...].
testRunCoverage_sampleTestsDefaultFormat_returnsCoverageData(org.oppia.android.scripts.coverage.RunCoverageTest)
java.lang.IllegalStateException: Expected non-zero exit code (not 1) for command: [bazel, coverage, //coverage/test/java/com/example:TwoSumTest, --instrumentation_filter=//coverage/...].
There was a corresponding Exit code 134(timeout) on gradle, so all this could just be a CI flake overall. I should be able to update if this happens again.
Beta Was this translation helpful? Give feedback.
All reactions