Skip to content

[CI] BasicWatcherTests#testPutWatchWithNegativeSchedule failure  #29997

Closed
@elasticmachine

Description

@elasticmachine

Original comment by @davidkyle:

java.lang.AssertionError: Expected watcher to be started, but state was [Tuple [v1=node_sm0, v2=STARTED], Tuple [v1=node_sd1, v2=STARTED], Tuple [v1=node_sd3, v2=STARTED], Tuple [v1=node_sd2, v2=STOPPED]]
Expected: every item is is <STARTED>
     but: an item was <STOPPED>
	at __randomizedtesting.SeedInfo.seed([CCFE7F7B7BF0353A:49A59D6F1069F01D]:0)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.junit.Assert.assertThat(Assert.java:956)
	at org.elasticsearch.xpack.watcher.test.AbstractWatcherIntegrationTestCase.lambda$startWatcher$6(AbstractWatcherIntegrationTestCase.java:473)
	at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:734)
	at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:708)
	at org.elasticsearch.xpack.watcher.test.AbstractWatcherIntegrationTestCase.startWatcher(AbstractWatcherIntegrationTestCase.java:459)
	at org.elasticsearch.xpack.watcher.test.AbstractWatcherIntegrationTestCase._setup(AbstractWatcherIntegrationTestCase.java:209)

This appears very similar to LINK REDACTED as in both cases the assertion failure is in AbstractWatcherIntegrationTestCase.startWatcher

Does not reproduce

./gradlew :x-pack-elasticsearch:plugin:watcher:test \
  -Dtests.seed=CCFE7F7B7BF0353A \
  -Dtests.class=org.elasticsearch.xpack.watcher.test.integration.BasicWatcherTests \
  -Dtests.method="testPutWatchWithNegativeSchedule" \
  -Dtests.security.manager=true \
  -Dtests.locale=ar-EG \
  -Dtests.timezone=America/Ojinaga

LINK REDACTED

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions