Skip to content

Update Apache mirror host to downloads.apache.org#17585

Merged
cryptoe merged 1 commit intoapache:masterfrom
Akshat-Jain:debug-IT-failures
Jan 7, 2025
Merged

Update Apache mirror host to downloads.apache.org#17585
cryptoe merged 1 commit intoapache:masterfrom
Akshat-Jain:debug-IT-failures

Conversation

@Akshat-Jain
Copy link
Copy Markdown
Contributor

@Akshat-Jain Akshat-Jain commented Dec 18, 2024

Description

We currently point APACHE_ARCHIVE_MIRROR_HOST to https://archive.apache.org/.

https://archive.apache.org/dist/ says the following: THEY MAY BE UNSUPPORTED AND UNSAFE TO USE. Current releases can be found on our download server. (download server being https://downloads.apache.org/)

We had a lot of flaky standard ITs because of transient networking issues, which were surfacing as Error while posting dynamic config errors because of a bug introduced recently, discussed here.

While switching to https://downloads.apache.org doesn't seem to solve the flakiness issue (as one of the standard ITs on this PR is still failing with Error while posting dynamic config error because of exhausting all 3 retries for running base-setup.sh), we should move to it as it's recommended, and might potentially help reduce flakiness to some extent.


This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

@Akshat-Jain Akshat-Jain changed the title [Draft] Debugging flaky IT failures Update Apache mirror host to downloads.apache.org Dec 20, 2024
@Akshat-Jain Akshat-Jain marked this pull request as ready for review December 20, 2024 11:46
@cryptoe cryptoe merged commit 5247c87 into apache:master Jan 7, 2025
@adarshsanjeev adarshsanjeev added this to the 32.0.0 milestone Jan 16, 2025
gianm added a commit to gianm/druid that referenced this pull request Sep 19, 2025
In apache#17585 the download url was changed from archive.apache.org to
downloads.apache.org, due to the fact that downloads.apache.org is
more recommended.

However, currently, downloads.apache.org only has ZooKeeper 3.8.5, which
was released today and not yet available on Docker Hub (which we also need).
Therefore, to get our tests running again, we need to revert back to
archive.apache.org.
gianm added a commit to gianm/druid that referenced this pull request Sep 19, 2025
In apache#17585 the download url was changed from archive.apache.org to
downloads.apache.org, due to the fact that downloads.apache.org is
more recommended.

However, currently, downloads.apache.org only has ZooKeeper 3.8.5, which
was released today and not yet available on Docker Hub (which we also need).
Therefore, to get our tests running again, we need to revert back to
archive.apache.org.
gianm added a commit that referenced this pull request Sep 19, 2025
* Use archive.apache.org for integration test dependencies.

In #17585 the download url was changed from archive.apache.org to
downloads.apache.org, due to the fact that downloads.apache.org is
more recommended.

However, currently, downloads.apache.org only has ZooKeeper 3.8.5, which
was released today and not yet available on Docker Hub (which we also need).
Therefore, to get our tests running again, we need to revert back to
archive.apache.org.

* Need /dist in the url.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants