Skip to content

[CI] AuthenticationTests testMaybeRewriteForOlderVersionWithCrossClusterAccessRewritesAuthenticationInMetadata failing #139167

@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:core:test" --tests "org.elasticsearch.xpack.core.security.authc.AuthenticationTests.testMaybeRewriteForOlderVersionWithCrossClusterAccessRewritesAuthenticationInMetadata" -Dtests.seed=54C5A4E7AB34B1F7 -Dtests.locale=kk-KZ -Dtests.timezone=Asia/Pyongyang -Druntime.java=25

Applicable branches:
main

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.lang.AssertionError: 
Expected: <Authentication[effectiveSubject=Subject{version=9234000, user=User[username=_xpack_security,roles=[],fullName=null,email=null,metadata={}], realm={Realm[__attach.__attach] on Node[akvtHS]}, type=USER, metadata={}},type=INTERNAL]>
     but: was <Authentication[effectiveSubject=Subject{version=8500061, user=User[username=_xpack_security,roles=[],fullName=null,email=null,metadata={}], realm={Realm[__attach.__attach] on Node[akvtHS]}, type=USER, metadata={}},type=INTERNAL]>

Issue Reasons:

  • [main] 3 failures in test testMaybeRewriteForOlderVersionWithCrossClusterAccessRewritesAuthenticationInMetadata (0.5% fail rate in 588 executions)
  • [main] 2 failures in step part-2 (0.5% fail rate in 372 executions)
  • [main] 2 failures in pipeline elasticsearch-pull-request (0.5% fail rate in 376 executions)

Note:
This issue was created using new test triage automation. Please report issues or feedback to es-delivery.

Metadata

Metadata

Assignees

Labels

:Security/SecuritySecurity issues without another label>test-failureTriaged test failures from CITeam:SecurityMeta label for security teamlow-riskAn open issue or test failure that is a low risk to future releases

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions