Skip to content

[CI] InternalAutoDateHistogramTests#testReduceRandom reproducable failure #32215

@cbuescher

Description

@cbuescher

Failure: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+periodic/6700/console

Reproducable locally with this seed:

REPRODUCE WITH: ./gradlew :server:test \
  -Dtests.seed=6345BDE5AED7493F \
  -Dtests.class=org.elasticsearch.search.aggregations.bucket.histogram.InternalAutoDateHistogramTests \
  -Dtests.method="testReduceRandom" \
  -Dtests.security.manager=true \
  -Dtests.locale=lv \
  -Dtests.timezone=HST

Error:

java.lang.AssertionError: expected:<{1532036050000=59, 1532036051000=58, 1532036052000=3, 1532036053000=71, 1532036054000=20, 1532036055000=48, 1532036110000=100, 1532036170000=49, 1532036230000=92}> but was:<{1532036050000=259, 1532036080000=0, 1532036110000=100, 1532036140000=0, 1532036170000=49, 1532036200000=0, 1532036230000=92}>
	at __randomizedtesting.SeedInfo.seed([6345BDE5AED7493F:A37811F4888AD069]:0)
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.elasticsearch.search.aggregations.bucket.histogram.InternalAutoDateHistogramTests.assertReduced(InternalAutoDateHistogramTests.java:107)
	at org.elasticsearch.search.aggregations.bucket.histogram.InternalAutoDateHistogramTests.assertReduced(InternalAutoDateHistogramTests.java:45)
	at org.elasticsearch.test.InternalAggregationTestCase.testReduceRandom(InternalAggregationTestCase.java:264)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1713)
	at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:907)

Other seeds seem to be okay, so I don't think the test needs to be muted right away.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions