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

[CI] GetPipelineRequestTests.testEqualsAndHashcode fails on master #62343

Closed
dakrone opened this issue Sep 14, 2020 · 2 comments · Fixed by #62348
Closed

[CI] GetPipelineRequestTests.testEqualsAndHashcode fails on master #62343

dakrone opened this issue Sep 14, 2020 · 2 comments · Fixed by #62348
Assignees
Labels
:Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team >test-failure Triaged test failures from CI

Comments

@dakrone
Copy link
Member

dakrone commented Sep 14, 2020

Build scan:
https://gradle-enterprise.elastic.co/s/jr5nbkgcsbkxg

Repro line:

./gradlew ':x-pack:plugin:logstash:test' --tests "org.elasticsearch.xpack.logstash.action.GetPipelineRequestTests.testEqualsAndHashcode" -Dtests.seed=4228CC62F41F1E04 -Dtests.security.manager=true -Dtests.locale=en-AU -Dtests.timezone=Africa/Lubumbashi -Druntime.java=11

Reproduces locally?:
Yep

Applicable branches:
Master

Failure history:
I think related to the merging of #53350?

Failure excerpt:

  2> REPRODUCE WITH: ./gradlew ':x-pack:plugin:logstash:test' --tests "org.elasticsearch.xpack.logstash.action.GetPipelineRequestTests.testEqualsAndHashcode" -Dtests.seed=4228CC62F41F1E04 -Dtests.security.manager=true -Dtests.locale=en-AU -Dtests.timezone=Africa/Lubumbashi -Druntime.java=11
  2> java.lang.AssertionError: GetPipelineRequest mutation should not be equal to original
    Expected: not <org.elasticsearch.xpack.logstash.action.GetPipelineRequest@20>
         but: was <org.elasticsearch.xpack.logstash.action.GetPipelineRequest@20>
        at __randomizedtesting.SeedInfo.seed([4228CC62F41F1E04:3327B4AF3BF8572B]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.junit.Assert.assertThat(Assert.java:956)
        at org.elasticsearch.test.EqualsHashCodeTestUtils.checkEqualsAndHashCode(EqualsHashCodeTestUtils.java:82)
        at org.elasticsearch.test.AbstractWireTestCase.testEqualsAndHashcode(AbstractWireTestCase.java:60)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
@dakrone dakrone added :Core/Infra/Core Core issues without another label >test-failure Triaged test failures from CI labels Sep 14, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Core)

@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Sep 14, 2020
@williamrandolph
Copy link
Contributor

williamrandolph commented Sep 14, 2020

I found the edge case I missed and will PR a fix in the next half hour.

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

Successfully merging a pull request may close this issue.

3 participants