Skip to content

[CI] ApiKeyIntegTests#testExpiredApiKeysBehaviorWhenKeysExpired1WeekBeforeAnd1DayBefore fails #41747

@cbuescher

Description

@cbuescher

On 7.x: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.x+multijob-unix-compatibility/os=centos-6/143/console

Cannot reproduce locally:

./gradlew :x-pack:plugin:security:test --tests "org.elasticsearch.xpack.security.authc.ApiKeyIntegTests.testExpiredApiKeysBehaviorWhenKeysExpired1WeekBeforeAnd1DayBefore" \
  -Dtests.seed=84E00A79A9BD633 \
  -Dtests.security.manager=true \
  -Dtests.locale=ar-SD \
  -Dtests.timezone=Asia/Makassar \
  -Dcompiler.java=12 \
  -Druntime.java=8
java.lang.AssertionError: 
Expected: is <3>
     but: was <2>
	at __randomizedtesting.SeedInfo.seed([84E00A79A9BD633:D7D332CC16CF3C5A]: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.security.authc.ApiKeyIntegTests.testExpiredApiKeysBehaviorWhenKeysExpired1WeekBeforeAnd1DayBefore(ApiKeyIntegTests.java:366)

Metadata

Metadata

Assignees

Labels

:Security/SecuritySecurity issues without another label>test-failureTriaged test failures from CI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions