Skip to content

[CI] Failure in WatcherStatsTests.testStartedStats #29867

@elasticmachine

Description

@elasticmachine

Original comment by @droberts195:

The test failed in this build: LINK REDACTED

The REPRO command is:

gradlew :x-pack-elasticsearch:plugin:watcher:test \
  -Dtests.seed=2CB17D5634142025 \
  -Dtests.class=org.elasticsearch.xpack.watcher.transport.action.stats.WatcherStatsTests \
  -Dtests.method="testStartedStats" \
  -Dtests.security.manager=true \
  -Dtests.locale=es-SV \
  -Dtests.timezone=America/Barbados

This did not reproduce locally for me.

The exception is:

10:52:13    > Throwable LINK REDACTED: java.lang.AssertionError: Expected watcher to be started, but state was [Tuple [v1=node_t0, v2=STOPPED]]
10:52:13    > Expected: every item is is <STARTED>
10:52:13    >      but: an item was <STOPPED>
10:52:13    > 	at __randomizedtesting.SeedInfo.seed([2CB17D5634142025:CE7953EBF56DFD42]:0)
10:52:13    > 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
10:52:13    > 	at org.elasticsearch.xpack.watcher.test.AbstractWatcherIntegrationTestCase.lambda$startWatcher$6(AbstractWatcherIntegrationTestCase.java:505)
10:52:13    > 	at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:731)
10:52:13    > 	at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:705)
10:52:13    > 	at org.elasticsearch.xpack.watcher.test.AbstractWatcherIntegrationTestCase.startWatcher(AbstractWatcherIntegrationTestCase.java:491)
10:52:13    > 	at org.elasticsearch.xpack.watcher.test.AbstractWatcherIntegrationTestCase._setup(AbstractWatcherIntegrationTestCase.java:210)
10:52:13    > 	at java.lang.Thread.run(Thread.java:748)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions