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] FullClusterRestartIT testWatcherWithApiKey failing #77026

Closed
benwtrent opened this issue Aug 30, 2021 · 5 comments · Fixed by #82136
Closed

[CI] FullClusterRestartIT testWatcherWithApiKey failing #77026

benwtrent opened this issue Aug 30, 2021 · 5 comments · Fixed by #82136
Assignees
Labels
:Data Management/Watcher Team:Data Management Meta label for data/management team >test-failure Triaged test failures from CI

Comments

@benwtrent
Copy link
Member

java.lang.AssertionError: version increased: [true], executed: [false]

I am betting that now since 7.x is 7.16 and the previous version was 7.15, there is some logic that isn't bumping the version internally to the new minor, or we have something hard coded in the test.

Build scan:
https://gradle-enterprise.elastic.co/s/igfnmc5ttmkhg/tests/:x-pack:qa:full-cluster-restart:v7.15.0%23upgradedClusterTest/org.elasticsearch.xpack.restart.FullClusterRestartIT/testWatcherWithApiKey

Reproduction line:
./gradlew ':x-pack:qa:full-cluster-restart:v7.15.0#upgradedClusterTest' -Dtests.class="org.elasticsearch.xpack.restart.FullClusterRestartIT" -Dtests.method="testWatcherWithApiKey" -Dtests.seed=CA2C52B51F79FC27 -Dtests.bwc=true -Dtests.locale=bg -Dtests.timezone=Africa/Freetown -Druntime.java=8

Applicable branches:
7.x

Reproduces locally?:
Didn't try

Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.xpack.restart.FullClusterRestartIT&tests.test=testWatcherWithApiKey

Failure excerpt:

java.lang.AssertionError: version increased: [true], executed: [false]
Expected: is <true>
     but: was <false>

  at __randomizedtesting.SeedInfo.seed([CA2C52B51F79FC27:237798C3E04AED0E]:0)
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
  at org.junit.Assert.assertThat(Assert.java:956)
  at org.elasticsearch.xpack.restart.FullClusterRestartIT.lambda$testWatcherWithApiKey$2(FullClusterRestartIT.java:296)
  at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:1039)
  at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:1012)
  at org.elasticsearch.xpack.restart.FullClusterRestartIT.testWatcherWithApiKey(FullClusterRestartIT.java:287)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1750)
  at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:938)
  at com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:974)
  at com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:988)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
  at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
  at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
  at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
  at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
  at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
  at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
  at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:947)
  at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:832)
  at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:883)
  at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:894)
  at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
  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 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.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
  at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
  at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
  at java.lang.Thread.run(Thread.java:748)

@benwtrent benwtrent added :Data Management/Watcher >test-failure Triaged test failures from CI labels Aug 30, 2021
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Aug 30, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@benwtrent
Copy link
Member Author

This is caused by: #76977

Will be muting soon.

benwtrent added a commit to benwtrent/elasticsearch that referenced this issue Aug 30, 2021
@benwtrent
Copy link
Member Author

Ping @ywangd ^

@ywangd ywangd self-assigned this Aug 30, 2021
@ywangd
Copy link
Member

ywangd commented Aug 30, 2021

Thanks for the ping @benwtrent I self-assigned will take a look later.

@jakelandis
Copy link
Contributor

There is some evidence that this test (but not the exact trace) has errored a couple times from master. The version here is irrespective of the ES version and in the original message was actually fine . I think there is a timing / slow machine issue here and possibly some Watcher throttling in play. I submitted PR #82136 to bump the timeout up if that is the case.

jakelandis added a commit that referenced this issue Jan 4, 2022
Bump the timeout allowed for a Watch to execute.

closes #77026
jakelandis added a commit to jakelandis/elasticsearch that referenced this issue Jan 4, 2022
Bump the timeout allowed for a Watch to execute.

closes elastic#77026
jakelandis added a commit to jakelandis/elasticsearch that referenced this issue Jan 4, 2022
Bump the timeout allowed for a Watch to execute.

closes elastic#77026
jakelandis added a commit to jakelandis/elasticsearch that referenced this issue Jan 4, 2022
Bump the timeout allowed for a Watch to execute.

closes elastic#77026
astefan pushed a commit to astefan/elasticsearch that referenced this issue Jan 7, 2022
Bump the timeout allowed for a Watch to execute.

closes elastic#77026
astefan pushed a commit to astefan/elasticsearch that referenced this issue Jan 7, 2022
Bump the timeout allowed for a Watch to execute.

closes elastic#77026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Watcher Team:Data Management Meta label for data/management team >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants