Skip to content

TokenAuthIntegTests testExpiredTokensDeletedAfterExpiration failure #56903

@davidkyle

Description

@davidkyle

Build scan:
https://gradle-enterprise.elastic.co/s/ashtsylpihoek

Repro line:

./gradlew ':x-pack:plugin:security:test' --tests "org.elasticsearch.xpack.security.authc.TokenAuthIntegTests.testExpiredTokensDeletedAfterExpiration" \
  -Dtests.seed=46B9C42D9927439 \
  -Dtests.security.manager=true \
  -Dtests.locale=es \
  -Dtests.timezone=America/Lower_Princes \
  -Dcompiler.java=14 \
  -Druntime.java=11

Reproduces locally?:
No

Applicable branches:
7.7

Failure history:
Rare, once in the last 30 days so I will not mute the test today

Possibly related to #55816

Failure excerpt:

java.lang.AssertionError: 
Expected: <0>
     but: was <1>
	at __randomizedtesting.SeedInfo.seed([46B9C42D9927439:54A885BE2D43B28]: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.TokenAuthIntegTests.testExpiredTokensDeletedAfterExpiration(TokenAuthIntegTests.java:226)

Metadata

Metadata

Assignees

Labels

:Security/AuthenticationLogging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc)>test-failureTriaged test failures from CITeam:SecurityMeta label for security team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions