Skip to content

SearchGroupsResolverInMemoryTests.testSearchTimeoutIsFailure failure #32913

@jpountz

Description

@jpountz

https://internal-ci.elastic.co/job/elastic+x-pack-elasticsearch+5.6+multijob-windows-compatibility/2212/consoleFull

2> REPRODUCE WITH: gradlew :x-pack-elasticsearch:plugin:test -Dtests.seed=28488DDB3C12DD9F -Dtests.class=org.elasticsearch.xpack.security.authc.ldap.SearchGroupsResolverInMemoryTests -Dtests.method="testSearchTimeoutIsFailure" -Dtests.security.manager=true -Dtests.locale=en-ZA -Dtests.timezone=Etc/GMT-12
02:14:39   1> [2018-08-16T12:14:38,755][INFO ][o.e.x.s.a.l.SearchGroupsResolverInMemoryTests] [testSearchTimeoutIsFailure]: before test
02:14:39 
02:14:39 
02:14:39   1> [2018-08-16T12:14:39,515][INFO ][o.e.x.s.a.l.SearchGroupsResolverInMemoryTests] [testSearchTimeoutIsFailure]: after test
02:14:39 
02:14:39 FAILURE 0.79s J2 | SearchGroupsResolverInMemoryTests.testSearchTimeoutIsFailure <<< FAILURES!
02:14:39    > Throwable #1: junit.framework.AssertionFailedError: Expected exception ExecutionException
02:14:39    > 	at __randomizedtesting.SeedInfo.seed([28488DDB3C12DD9F:D162EF9B2CB525A9]:0)
02:14:39    > 	at org.apache.lucene.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2704)
02:14:39    > 	at org.elasticsearch.xpack.security.authc.ldap.SearchGroupsResolverInMemoryTests.testSearchTimeoutIsFailure(SearchGroupsResolverInMemoryTests.java:74)
02:14:39    > 	at java.lang.Thread.run(Thread.java:748)

I am not disabling the test yet as I couldn't find a previous occurrence of this failure. Also the seed doesn't reproduce.

I'm assigning you @tvernum based on the history of this test but feel free to reassign if you are not the right person to handle it!

The test complains that the code doesn't throw an exception as expected.

Metadata

Metadata

Assignees

Labels

:Security/AuthenticationLogging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc)>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