-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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] GeoIpDownloaderStatsIT testStats failing #87035
Comments
Pinging @elastic/es-data-management (Team:Data Management) |
I've seen this one fail repeatedly on my local machine. Almost all of the time seems to be pulling the databases from Sort of related -- we're wrapping the InputStream from the HttpURLConnection with a BufferedInputStream with an 8 KB buffer. But it never seems to pull back more than 1378 bytes at a time because HttpURLConnection::available always returns 0. That's not a huge deal because our code |
Actually I think that last comment might have been more relevant than I realized. This test is not supposed to be hitting https://storage.googleapis.com/ at all. It's supposed to pull smaller versions of the databases from localhost. I was looking into #90837 when I ran into this. That one fails when the "geoip_endpoint" property has not been set, so I had disabled it locally. That resulted in falling back to googleapis.com. I'm wondering if whatever caused that to happen for #90837 also caused this. |
Actually there's evidence in the logs associated with this ticket:
If the test fixture were set up correctly then it would pull from |
I took a look at the recent failure and it seems like the test that timed out because it didn't try to download from localhost in
Backport: #93459 |
Build scan:
https://gradle-enterprise.elastic.co/s/ndzzouplmtgfe/tests/:modules:ingest-geoip:internalClusterTest/org.elasticsearch.ingest.geoip.GeoIpDownloaderStatsIT/testStats
Reproduction line:
./gradlew ':modules:ingest-geoip:internalClusterTest' --tests "org.elasticsearch.ingest.geoip.GeoIpDownloaderStatsIT.testStats" -Dtests.seed=FB06B6504F00972 -Dtests.locale=en-IN -Dtests.timezone=America/Halifax -Druntime.java=17
Applicable branches:
master
Reproduces locally?:
No
Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.ingest.geoip.GeoIpDownloaderStatsIT&tests.test=testStats
Failure excerpt:
The text was updated successfully, but these errors were encountered: