bazelbuild / bazel

a fast, scalable, multi-language and extensible build system
https://bazel.build
Apache License 2.0
23.3k stars 4.1k forks source link

Bazel CI Flaky com.google.devtools.build.lib.bazel.rules.android.AndroidNdkRepositoryTest$WithPlatforms testUnsupportedNdkVersion #20312

Open sgowroji opened 1 year ago

sgowroji commented 1 year ago

https://buildkite.com/organizations/bazel/analytics/suites/bazel-bazel/tests/01880a39-d753-7216-b63d-c10604d35361?branch=master

Platform : BAZELCI_TASK=ubuntu2004

Test details:

TEST_TARGET=//src/test/java/com/google/devtools/build/lib/bazel/rules/android:AndroidTests
TEST_NAME=testUnsupportedNdkVersion
bazel test //src/test/java/com/google/devtools/build/lib/bazel/rules/android:AndroidTests --test_filter=testUnsupportedNdkVersion

Logs:

java.lang.Exception: Test cancelled
    at com.google.testing.junit.runner.model.TestCaseNode.testInterrupted(TestCaseNode.java:89)
    at com.google.testing.junit.runner.model.TestSuiteNode.testInterrupted(TestSuiteNode.java:71)
    at com.google.testing.junit.runner.model.TestSuiteNode.testInterrupted(TestSuiteNode.java:71)
    at com.google.testing.junit.runner.model.TestSuiteNode.testInterrupted(TestSuiteNode.java:71)
    at com.google.testing.junit.runner.model.TestSuiteNode.testInterrupted(TestSuiteNode.java:71)
    at com.google.testing.junit.runner.model.TestSuiteModel.testRunInterrupted(TestSuiteModel.java:150)
    at com.google.testing.junit.runner.internal.junit4.JUnit4TestXmlListener$WriteXmlSignalHandler.handle(JUnit4TestXmlListener.java:118)
    at com.google.testing.junit.runner.internal.SignalHandlers$2.handle(SignalHandlers.java:62)
    at com.google.testing.junit.runner.internal.SignalHandlers$2.handle(SignalHandlers.java:65)
    at jdk.unsupported/sun.misc.Signal$InternalMiscHandler.handle(Signal.java:198)
    at java.base/jdk.internal.misc.Signal$1.run(Signal.java:220)
    at java.base/java.lang.Thread.run(Thread.java:829)

CC Greenteam @fweikert

sgowroji commented 1 year ago

Similar flaky tests under AndroidNdkRepository are :

Description Instances Most recent instance
com.google.devtools.build.lib.bazel.rules.android.AndroidNdkRepositoryTest$WithPlatforms testUnsupportedNdkVersion 5 Thu 23 Nov 2023 at 12:41 UTC
com.google.devtools.build.lib.bazel.rules.android.AndroidNdkRepositoryTest$WithPlatforms testMissingPlatformsDirectory 5 Thu 23 Nov 2023 at 12:41 UTC
com.google.devtools.build.lib.bazel.rules.android.AndroidNdkRepositoryTest$WithPlatforms testApiLevelHighestVersionDetection 5 Thu 23 Nov 2023 at 12:41 UTC
com.google.devtools.build.lib.bazel.rules.android.AndroidNdkRepositoryTest$WithoutPlatforms testInvalidNdkReleaseTxt 5 Thu 23 Nov 2023 at 12:41 UTC
com.google.devtools.build.lib.bazel.rules.android.AndroidNdkRepositoryTest$WithoutPlatforms testUnsupportedNdkVersion 4 Thu 23 Nov 2023 at 12:41 UTC
com.google.devtools.build.lib.bazel.rules.android.AndroidNdkRepositoryTest$WithoutPlatforms testMiscLibraries 4 Thu 23 Nov 2023 at 12:41 UTC
com.google.devtools.build.lib.bazel.rules.android.AndroidNdkRepositoryTest$WithPlatforms testMiscLibraries 4 Thu 23 Nov 2023 at 12:41 UTC
com.google.devtools.build.lib.bazel.rules.android.AndroidNdkRepositoryTest$WithoutPlatforms testInvalidNdkSourceProperties 4 Thu 23 Nov 2023 at 12:41 UTC
com.google.devtools.build.lib.bazel.rules.android.AndroidNdkRepositoryTest$WithoutPlatforms testApiLevelHighestVersionDetection 4 Thu 23 Nov 2023 at 12:41 UTC
com.google.devtools.build.lib.bazel.rules.android.AndroidNdkRepositoryTest$WithPlatforms testInvalidNdkSourceProperties 4 Thu 23 Nov 2023 at 12:41 UTC
com.google.devtools.build.lib.bazel.rules.android.AndroidNdkRepositoryTest$WithoutPlatforms testMissingPlatformsDirectory 4 Thu 23 Nov 2023 at 12:41 UTC
com.google.devtools.build.lib.bazel.rules.android.AndroidNdkRepositoryTest$WithPlatforms testInvalidNdkReleaseTxt 4 Thu 23 Nov 2023 at 12:41 UTC