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] ClientTransformIndexerTests testPitInjection failing #81537

Closed
jrodewig opened this issue Dec 8, 2021 · 1 comment · Fixed by #81540
Closed

[CI] ClientTransformIndexerTests testPitInjection failing #81537

jrodewig opened this issue Dec 8, 2021 · 1 comment · Fixed by #81540
Assignees
Labels
:ml/Transform Transform Team:ML Meta label for the ML team >test-failure Triaged test failures from CI

Comments

@jrodewig
Copy link
Contributor

jrodewig commented Dec 8, 2021

Build scan:
https://gradle-enterprise.elastic.co/s/nlj3jeu6haqas/tests/:x-pack:plugin:transform:test/org.elasticsearch.xpack.transform.transforms.ClientTransformIndexerTests/testPitInjection

Reproduction line:
./gradlew ':x-pack:plugin:transform:test' --tests "org.elasticsearch.xpack.transform.transforms.ClientTransformIndexerTests.testPitInjection" -Dtests.seed=C4A3F105547083E4 -Dtests.locale=da-DK -Dtests.timezone=Asia/Shanghai -Druntime.java=17

Applicable branches:
master

Reproduces locally?:
Yes

Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.xpack.transform.transforms.ClientTransformIndexerTests&tests.test=testPitInjection

Failure excerpt:

java.lang.AssertionError: expected:<the_pit_id+> but was:<null>

  at __randomizedtesting.SeedInfo.seed([C4A3F105547083E4:7172E192C60E2634]:0)
  at org.junit.Assert.fail(Assert.java:88)
  at org.junit.Assert.failNotEquals(Assert.java:834)
  at org.junit.Assert.assertEquals(Assert.java:118)
  at org.junit.Assert.assertEquals(Assert.java:144)
  at org.elasticsearch.xpack.transform.transforms.ClientTransformIndexerTests.lambda$testPitInjection$2(ClientTransformIndexerTests.java:162)
  at org.elasticsearch.xpack.transform.transforms.ClientTransformIndexerTests.lambda$assertAsync$33(ClientTransformIndexerTests.java:512)
  at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:136)
  at org.elasticsearch.action.LatchedActionListener.onResponse(LatchedActionListener.java:30)
  at org.elasticsearch.xpack.transform.transforms.ClientTransformIndexer.lambda$doSearch$11(ClientTransformIndexer.java:499)
  at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:136)
  at org.elasticsearch.action.support.ContextPreservingActionListener.onResponse(ContextPreservingActionListener.java:31)
  at org.elasticsearch.xpack.transform.transforms.ClientTransformIndexerTests$PitMockClient.doExecute(ClientTransformIndexerTests.java:496)
  at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:380)
  at org.elasticsearch.xpack.core.ClientHelper.executeAsyncWithOrigin(ClientHelper.java:146)
  at org.elasticsearch.xpack.core.ClientHelper.executeWithHeadersAsync(ClientHelper.java:213)
  at org.elasticsearch.xpack.transform.transforms.ClientTransformIndexer.doSearch(ClientTransformIndexer.java:486)
  at org.elasticsearch.xpack.transform.transforms.ClientTransformIndexer.lambda$doNextSearch$0(ClientTransformIndexer.java:145)
  at org.elasticsearch.action.ActionListener$1.onResponse(ActionListener.java:136)
  at org.elasticsearch.xpack.transform.transforms.ClientTransformIndexer.injectPointInTimeIfNeeded(ClientTransformIndexer.java:413)
  at org.elasticsearch.xpack.transform.transforms.ClientTransformIndexer.doNextSearch(ClientTransformIndexer.java:143)
  at org.elasticsearch.xpack.transform.transforms.ClientTransformIndexerTests.lambda$testPitInjection$1(ClientTransformIndexerTests.java:161)
  at org.elasticsearch.xpack.transform.transforms.ClientTransformIndexerTests.assertAsync(ClientTransformIndexerTests.java:518)
  at org.elasticsearch.xpack.transform.transforms.ClientTransformIndexerTests.testPitInjection(ClientTransformIndexerTests.java:160)
  at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
  at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:568)
  at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1758)
  at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:946)
  at com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:982)
  at com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:996)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:44)
  at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
  at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:45)
  at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
  at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:375)
  at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:824)
  at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:475)
  at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:955)
  at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:840)
  at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:891)
  at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:902)
  at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:38)
  at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
  at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
  at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
  at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
  at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
  at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:47)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:375)
  at com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:831)
  at java.lang.Thread.run(Thread.java:833)

@jrodewig jrodewig added :ml/Transform Transform >test-failure Triaged test failures from CI labels Dec 8, 2021
@elasticmachine elasticmachine added the Team:ML Meta label for the ML team label Dec 8, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

@hendrikmuhs hendrikmuhs self-assigned this Dec 8, 2021
hendrikmuhs pushed a commit to hendrikmuhs/elasticsearch that referenced this issue Dec 8, 2021
elasticsearchmachine pushed a commit that referenced this issue Dec 8, 2021
fix test randomization issue when randomization turned off pit fixes
#81537
hendrikmuhs pushed a commit to hendrikmuhs/elasticsearch that referenced this issue Dec 8, 2021
…c#81540)

fix test randomization issue when randomization turned off pit fixes
elastic#81537
hendrikmuhs pushed a commit to hendrikmuhs/elasticsearch that referenced this issue Dec 8, 2021
…c#81540)

fix test randomization issue when randomization turned off pit fixes
elastic#81537
elasticsearchmachine pushed a commit that referenced this issue Dec 8, 2021
#81544)

fix test randomization issue when randomization turned off pit fixes
#81537
elasticsearchmachine pushed a commit that referenced this issue Dec 8, 2021
#81543)

fix test randomization issue when randomization turned off pit fixes
#81537
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:ml/Transform Transform Team:ML Meta label for the ML team >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants