Closed
Description
Encountered on a PR build https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+pull-request-2/15205/ (multiple tests failing testLocalExporterWithAlertingDisabled
, testLocalAlertsRemoval
and testDisabledLocalExporterAlertsRemoval
Build scan:
https://gradle-enterprise.elastic.co/s/or4i6aw2kxx6u
Repro line:
./gradlew ':x-pack:plugin:monitoring:test' --tests "org.elasticsearch.xpack.monitoring.action.TransportMonitoringMigrateAlertsActionTests.testLocalExporterWithAlertingDisabled" -Dtests.seed=74901503919A9EEE -Dtests.security.manager=true -Dtests.locale=el-GR -Dtests.timezone=Pacific/Pitcairn -Druntime.java=8
Reproduces locally?: No
Applicable branches: 7.11
Failure excerpt:
Expected: is <true>
but: was <false>
at __randomizedtesting.SeedInfo.seed([74901503919A9EEE:45FE8D342B81AB19]:0)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.junit.Assert.assertThat(Assert.java:956)
at org.junit.Assert.assertThat(Assert.java:923)
at org.elasticsearch.xpack.monitoring.test.MonitoringIntegTestCase.assertIndicesExists(MonitoringIntegTestCase.java:209)
at org.elasticsearch.xpack.monitoring.test.MonitoringIntegTestCase.lambda$awaitIndexExists$3(MonitoringIntegTestCase.java:204)
at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:1016)
at org.elasticsearch.xpack.monitoring.test.MonitoringIntegTestCase.awaitIndexExists(MonitoringIntegTestCase.java:204)
at org.elasticsearch.xpack.monitoring.action.TransportMonitoringMigrateAlertsActionTests.waitForWatcherIndices(TransportMonitoringMigrateAlertsActionTests.java:592)
at org.elasticsearch.xpack.monitoring.action.TransportMonitoringMigrateAlertsActionTests.ensureInitialLocalResources(TransportMonitoringMigrateAlertsActionTests.java:473)
at org.elasticsearch.xpack.monitoring.action.TransportMonitoringMigrateAlertsActionTests.testLocalAlertsRemoval(TransportMonitoringMigrateAlertsActionTests.java:139)