Skip to content

TransformIntegrationTests#testSearchTransform can fail with an assertion error #37882

@jtibshirani

Description

@jtibshirani

Unfortunately the failure doesn't reproduce for me locally.


Link to the build: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+intake/1189

Command to reproduce:

./gradlew :x-pack:plugin:watcher:unitTest \
  -Dtests.seed=7025F52611D9E3C2 \
  -Dtests.class=org.elasticsearch.xpack.watcher.transform.TransformIntegrationTests \
  -Dtests.method="testSearchTransform" \
  -Dtests.security.manager=true \
  -Dtests.locale=el-CY \
  -Dtests.timezone=US/Michigan \
  -Dcompiler.java=11 \
  -Druntime.java=8

Relevant excerpt from the logs:

09:57:34 FAILURE 1.65s J3 | TransformIntegrationTests.testSearchTransform <<< FAILURES!
09:57:34    > Throwable #1: java.lang.AssertionError: could not find watch [_id2] to trigger
09:57:34    > Expected: is <true>
09:57:34    >      but: was <false>
09:57:34    > 	at __randomizedtesting.SeedInfo.seed([7025F52611D9E3C2:20E5361838A201DD]:0)
09:57:34    > 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
09:57:34    > 	at org.elasticsearch.xpack.watcher.test.AbstractWatcherIntegrationTestCase$TimeWarp.trigger(AbstractWatcherIntegrationTestCase.java:569)
09:57:34    > 	at org.elasticsearch.xpack.watcher.test.AbstractWatcherIntegrationTestCase$TimeWarp.trigger(AbstractWatcherIntegrationTestCase.java:559)
09:57:34    > 	at org.elasticsearch.xpack.watcher.transform.TransformIntegrationTests.testSearchTransform(TransformIntegrationTests.java:186)
09:57:34    > 	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