adoroszlai opened a new pull request, #6111: URL: https://github.com/apache/ozone/pull/6111
## What changes were proposed in this pull request? Fix intermittent failure downloading `bzip2` due to `Network is unreachable`. The fix is similar to HDDS-10157: download from GitHub in CI. The tarballs from these two sources are a bit different: contents are in `bzip2-bzip2-1.0.8/` in the one from GitHub, `bzip2-1.0.8/` in the original one. So an additional `move` Ant task renames the GitHub-specific dir to the original one. `failonerror=false` ensures it passes with the original tarball, too. https://issues.apache.org/jira/browse/HDDS-10228 ## How was this patch tested? Tested locally for the original URL: ``` # install dependencies $ mvn -DskipTests -am -pl :hdds-rocks-native clean install ... # test $ mvn -Drocks_tools_native -pl :hdds-rocks-native clean generate-sources ... [INFO] BUILD SUCCESS $ ls -1 hadoop-hdds/rocks-native/target/bzip2 bzip2-1.0.8 bzip2-v1.0.8.tar.gz ``` CI (with the CI-specific URL): https://github.com/adoroszlai/ozone/actions/runs/7681371921/job/20934591236 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
