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

Multiple test failures related to openldap #42672

Closed
pgomulka opened this issue May 29, 2019 · 5 comments
Closed

Multiple test failures related to openldap #42672

pgomulka opened this issue May 29, 2019 · 5 comments
Labels
:Delivery/Build Build or test infrastructure :Security/Security Security issues without another label Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI

Comments

@pgomulka
Copy link
Contributor

On 6.8 intake build there were multiple failures related to openldap
https://scans.gradle.com/s/zdiv57ecxvhxw

Error Message
Expected the actual value for port 636 to be in system property test.fixtures.openldap.tcp.636
Stacktrace
java.lang.AssertionError: Expected the actual value for port 636 to be in system property test.fixtures.openldap.tcp.636
	at __randomizedtesting.SeedInfo.seed([8E80842EF7F9652:C78C4FBFF0809A5C]:0)
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:712)
	at org.elasticsearch.test.OpenLdapTests.getFromProperty(OpenLdapTests.java:301)
	at org.elasticsearch.test.OpenLdapTests.<clinit>(OpenLdapTests.java:51)
	at 

does not reproduce for me

./gradlew :x-pack:qa:openldap-tests:unitTest -Dtests.seed=8E80842EF7F9652 -Dtests.class=org.elasticsearch.xpack.security.authc.ldap.OpenLdapUserSearchSessionFactoryTests -Dtests.method="testUserSearchWithBindUserOpenLDAP" -Dtests.security.manager=true -Dtests.locale=ar-MA -Dtests.timezone=EET -Dcompiler.java=12 -Druntime.java=8
@pgomulka pgomulka added >test-failure Triaged test failures from CI :Security/Security Security issues without another label labels May 29, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security

@jkakavas jkakavas added the :Delivery/Build Build or test infrastructure label May 30, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@jkakavas
Copy link
Member

Hey @mark-vieira , could this have to do something with your changes to the TestFixturesPlugin in #42649 yesterday?

These ports should have been set as system properties by TestFixturesPlugin#configureServiceInfoForTask

@mark-vieira
Copy link
Contributor

#42649 wasn't backported to 6.8 so that would be unrelated here.

Looks like the 6.8 intake builds have been fine since that one failure so I think this was just some kind of Docker compose hiccup. I'm going to close this for now. Feel free to reopen if this occurs again.

@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
@craigtaverner
Copy link
Contributor

Happened once today https://gradle-enterprise.elastic.co/s/vnzhyefc6muno/tests/:x-pack:qa:openldap-tests:test/org.elasticsearch.xpack.security.authc.ldap.OpenLdapUserSearchSessionFactoryTests/testUserSearchWithBindUserOpenLDAP?top-execution=1

Since this only happened once, and this issue is from 2019, I will not open the issue again unless I see a second failure.

Also it did not reproduce locally with:

./gradlew ':x-pack:qa:openldap-tests:test' --tests "org.elasticsearch.xpack.security.authc.ldap.OpenLdapUserSearchSessionFactoryTests.testUserSearchWithBindUserOpenLDAP" -Dtests.seed=E02AE52B2910766D -Dtests.locale=es-US -Dtests.timezone=MIT -Druntime.java=17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure :Security/Security Security issues without another label Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

5 participants