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

TransportChangePasswordActionTests#testIncorrectPasswordHashingAlgorithm fails with assertion error. #31696

Closed
jtibshirani opened this issue Jun 29, 2018 · 1 comment
Assignees
Labels
:Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) >test-failure Triaged test failures from CI

Comments

@jtibshirani
Copy link
Contributor

The failure reliably reproduces for me locally, and may be related to the recent change to password hashing: #31234.


Link to the build: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-unix-compatibility/os=oraclelinux/2527/console

Command to reproduce:

./gradlew :x-pack:plugin:security:test \
  -Dtests.seed=E93A5B2F1C4967B6 \
  -Dtests.class=org.elasticsearch.xpack.security.action.user.TransportChangePasswordActionTests \
  -Dtests.method="testIncorrectPasswordHashingAlgorithm" \
  -Dtests.security.manager=true \
  -Dtests.locale=fr-LU \
  -Dtests.timezone=America/Guadeloupe

Relevant excerpt from the logs:

FAILURE 1.15s | TransportChangePasswordActionTests.testIncorrectPasswordHashingAlgorithm <<< FAILURES!
   > Throwable #1: java.lang.AssertionError: 
   > Expected: an instance of java.lang.IllegalArgumentException
   >      but: null
   >    at __randomizedtesting.SeedInfo.seed([B944BC5A5B893131:84873E560B50D358]:0)
   >    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
   >    at org.elasticsearch.xpack.security.action.user.TransportChangePasswordActionTests.testIncorrectPasswordHashingAlgorithm(TransportChangePasswordActionTests.java:184)
   >    at java.lang.Thread.run(Thread.java:748)

@jtibshirani jtibshirani added the >test-failure Triaged test failures from CI label Jun 29, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security

@jtibshirani jtibshirani added the :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) label Jun 29, 2018
@jkakavas jkakavas self-assigned this Jun 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

3 participants