Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultipleAdRealmIT#testCanAuthenticateAgainstBothRealms is failing #33425

Closed
jakelandis opened this issue Sep 5, 2018 · 2 comments · Fixed by #47266
Closed

MultipleAdRealmIT#testCanAuthenticateAgainstBothRealms is failing #33425

jakelandis opened this issue Sep 5, 2018 · 2 comments · Fixed by #47266
Assignees
Labels
:Security/Security Security issues without another label >test-failure Triaged test failures from CI

Comments

@jakelandis
Copy link
Contributor

Reproduce (master and 6.x):

./gradlew :x-pack:qa:third-party:active-directory:test  -Dtests.class=org.elasticsearch.xpack.security.authc.ldap.MultipleAdRealmIT -Dtests.method="testCanAuthenticateAgainstBothRealms" -Dtests.security.manager=true -Dtests.locale=en-IE -Dtests.timezone=Asia/Amman -Dcompiler.java=10 -Druntime.java=8

Failure:

ERROR   7.20s | MultipleAdRealmIT.testCanAuthenticateAgainstBothRealms <<< FAILURES!
   > Throwable #1: ElasticsearchSecurityException[unable to authenticate user [Natasha Romanoff] for action [indices:data/write/index]]
   >    at __randomizedtesting.SeedInfo.seed([D87F1070EEC3E5AF:D756EFB4222A869B]:0)

Full error log: https://gist.github.com/jakelandis/b989c6915173526f9cd01e3924e04dbd

Note - this was experienced running locally and independently confirmed (not run via CI)

@jakelandis jakelandis added >test-failure Triaged test failures from CI :Security/Security Security issues without another label labels Sep 5, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security

@jakelandis
Copy link
Contributor Author

relevant local setup:

$JAVA10_HOME/bin/java -version

java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)

$JAVA8_HOME/bin/java -version

java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)

vagrant --version

Vagrant 2.1.2

@tvernum tvernum self-assigned this Sep 6, 2018
jkakavas added a commit to jkakavas/elasticsearch that referenced this issue Sep 28, 2019
Fixes multiple Active Directory related tests that run against the
samba fixture. Some were failing since we changed the realm settings
format in 7.0 and a few were slightly broken in other ways.
We can move to cleanup the tests in a follow up but this work fits
better to be done with or after we move the tests from a Samba
based fixture to a real(-ish) Microsoft Active Directory based
fixture.

Resolves: elastic#33425, elastic#35738
jkakavas added a commit that referenced this issue Oct 1, 2019
Fixes multiple Active Directory related tests that run against the
samba fixture. Some were failing since we changed the realm settings
format in 7.0 and a few were slightly broken in other ways.
We can move to cleanup the tests in a follow up but this work fits
better to be done with or after we move the tests from a Samba
based fixture to a real(-ish) Microsoft Active Directory based
fixture.

Resolves: #33425, #35738
jkakavas added a commit that referenced this issue Oct 1, 2019
Fixes multiple Active Directory related tests that run against the
samba fixture. Some were failing since we changed the realm settings
format in 7.0 and a few were slightly broken in other ways.
We can move to cleanup the tests in a follow up but this work fits
better to be done with or after we move the tests from a Samba
based fixture to a real(-ish) Microsoft Active Directory based
fixture.

Resolves: #33425, #35738
jkakavas added a commit to jkakavas/elasticsearch that referenced this issue Oct 1, 2019
Fixes multiple Active Directory related tests that run against the
samba fixture. Some were failing since we changed the realm settings
format in 7.0 and a few were slightly broken in other ways.
We can move to cleanup the tests in a follow up but this work fits
better to be done with or after we move the tests from a Samba
based fixture to a real(-ish) Microsoft Active Directory based
fixture.

Resolves: elastic#33425, elastic#35738
jkakavas added a commit that referenced this issue Oct 2, 2019
Fixes multiple Active Directory related tests that run against the
samba fixture. Some were failing since we changed the realm settings
format in 7.0 and a few were slightly broken in other ways.
We can move to cleanup the tests in a follow up but this work fits
better to be done with or after we move the tests from a Samba
based fixture to a real(-ish) Microsoft Active Directory based
fixture.

Resolves: #33425, #35738
jkakavas added a commit to jkakavas/elasticsearch that referenced this issue Oct 2, 2019
Fixes multiple Active Directory related tests that run against the
samba fixture. Some were failing since we changed the realm settings
format in 7.0 and a few were slightly broken in other ways.
We can move to cleanup the tests in a follow up but this work fits
better to be done with or after we move the tests from a Samba
based fixture to a real(-ish) Microsoft Active Directory based
fixture.

Resolves: elastic#33425, elastic#35738
jkakavas added a commit that referenced this issue Oct 2, 2019
Fixes multiple Active Directory related tests that run against the
samba fixture. Some were failing since we changed the realm settings
format in 7.0 and a few were slightly broken in other ways.
We can move to cleanup the tests in a follow up but this work fits
better to be done with or after we move the tests from a Samba
based fixture to a real(-ish) Microsoft Active Directory based
fixture.

Resolves: #33425, #35738
jkakavas added a commit to jkakavas/elasticsearch that referenced this issue Oct 2, 2019
Fixes multiple Active Directory related tests that run against the
samba fixture. Some were failing since we changed the realm settings
format in 7.0 and a few were slightly broken in other ways.
We can move to cleanup the tests in a follow up but this work fits
better to be done with or after we move the tests from a Samba
based fixture to a real(-ish) Microsoft Active Directory based
fixture.

Resolves: elastic#33425, elastic#35738
jkakavas added a commit to jkakavas/elasticsearch that referenced this issue Oct 2, 2019
Fixes multiple Active Directory related tests that run against the
samba fixture. Some were failing since we changed the realm settings
format in 7.0 and a few were slightly broken in other ways.
We can move to cleanup the tests in a follow up but this work fits
better to be done with or after we move the tests from a Samba
based fixture to a real(-ish) Microsoft Active Directory based
fixture.

Resolves: elastic#33425, elastic#35738
jkakavas added a commit that referenced this issue Oct 3, 2019
Fixes multiple Active Directory related tests that run against the
samba fixture. Some were failing since we changed the realm settings
format in 7.0 and a few were slightly broken in other ways.
We can move to cleanup the tests in a follow up but this work fits
better to be done with or after we move the tests from a Samba
based fixture to a real(-ish) Microsoft Active Directory based
fixture.

Resolves: #33425, #35738
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Security/Security Security issues without another label >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants