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] GeoIpUpgradeIT testGeoIpDownloader failing #96129

Closed
kingherc opened this issue May 16, 2023 · 6 comments
Closed

[CI] GeoIpUpgradeIT testGeoIpDownloader failing #96129

kingherc opened this issue May 16, 2023 · 6 comments
Assignees
Labels
:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team >test-failure Triaged test failures from CI

Comments

@kingherc
Copy link
Contributor

kingherc commented May 16, 2023

From Tim Vernum:
It looks like something changes that now causes the GeoIPDownloader to run in the upgrade tests, when it didn't before.
I'm trying to see if I can track it down (else I'll just mute the test)

Build scan:
https://gradle-enterprise.elastic.co/s/xvui7goynb3wi/tests/:x-pack:qa:rolling-upgrade:v7.17.11%23upgradedClusterTest/org.elasticsearch.upgrades.GeoIpUpgradeIT/testGeoIpDownloader

Reproduction line:

./gradlew ':x-pack:qa:rolling-upgrade:v7.17.11#upgradedClusterTest' -Dtests.class="org.elasticsearch.upgrades.GeoIpUpgradeIT" -Dtests.method="testGeoIpDownloader" -Dtests.seed=4474E0B205A9EE78 -Dtests.bwc=true -Dtests.locale=mk -Dtests.timezone=Europe/Lisbon -Druntime.java=20

Applicable branches:
7.17 main, but seems to be upgrading from 7.17 in most cases

Reproduces locally?:
Didn't try

Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.upgrades.GeoIpUpgradeIT&tests.test=testGeoIpDownloader

Failure excerpt:

java.lang.AssertionError: 
Expected: a string containing "failed_downloads\":0"
     but: was "{"stats":{"successful_downloads":0,"failed_downloads":1,"total_download_time":0,"databases_count":0,"skipped_updates":0,"expired_databases":0},"nodes":{}}"

  at __randomizedtesting.SeedInfo.seed([4474E0B205A9EE78:7F87CC10F00B7F80]:0)
  at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
  at org.junit.Assert.assertThat(Assert.java:956)
  at org.junit.Assert.assertThat(Assert.java:923)
  at org.elasticsearch.upgrades.GeoIpUpgradeIT.lambda$testGeoIpDownloader$1(GeoIpUpgradeIT.java:33)
  at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:1158)
  at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:1131)
  at org.elasticsearch.upgrades.GeoIpUpgradeIT.testGeoIpDownloader(GeoIpUpgradeIT.java:29)
  at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
  at java.lang.reflect.Method.invoke(Method.java:578)
  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.tests.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:48)
  at org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
  at org.apache.lucene.tests.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:45)
  at org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
  at org.apache.lucene.tests.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:390)
  at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:843)
  at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:490)
  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.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
  at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
  at org.apache.lucene.tests.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.tests.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
  at org.apache.lucene.tests.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:43)
  at org.apache.lucene.tests.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:44)
  at org.apache.lucene.tests.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:60)
  at org.apache.lucene.tests.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:390)
  at com.carrotsearch.randomizedtesting.ThreadLeakControl.lambda$forkTimeoutingTask$0(ThreadLeakControl.java:850)
  at java.lang.Thread.run(Thread.java:1623)

@kingherc kingherc added :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team >test-failure Triaged test failures from CI labels May 16, 2023
@elasticsearchmachine
Copy link
Collaborator

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

kingherc added a commit to kingherc/elasticsearch that referenced this issue May 16, 2023
elasticsearchmachine pushed a commit that referenced this issue May 16, 2023
@tvernum
Copy link
Contributor

tvernum commented May 16, 2023

@joemcelroy @jimczi
It looks like this could be due to #96104 (it looks like it might have undone #95621)

Ah, I see that it explicitly acknowledges that it undoes the change in #95621, in which case we at least need to update the test (though it would be good to know what the plan is for fixing that regression).

@joemcelroy
Copy link
Member

Hey @tvernum,

Yes short term we have undone this change but we plan to address it in this issue in the linked issue. Thanks for flagging!

@joemcelroy
Copy link
Member

We are also going to remove the geoip processor, so that tests can be re-enabled. https://github.com/elastic/elasticsearch/pull/96159/files

@kingherc
Copy link
Contributor Author

@joemcelroy feel free to re-enable tests when appropriate and close the issue.

@HiDAl
Copy link
Contributor

HiDAl commented Jun 29, 2023

Closing the ticket since all the related work is done and the test has not failed in the last weeks

@HiDAl HiDAl closed this as completed Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

5 participants