adoroszlai opened a new pull request, #12086:
URL: https://github.com/apache/ozone/pull/12086

   ## What changes were proposed in this pull request?
   
   Requests to Maven Central are rate-limited, and builds/tests intermittently 
fail due to download failures.  To understand what is being downloaded, enable 
display of transfer progress.
   
   `get_version` still prints the requested version property value to stdout, 
and regular output goes to stderr (but only in CI, because the command needs to 
be run twice).
   
   `actions/setup-java` adds the `-ntp` option (== `--no-transfer-progress`) by 
default, so once we don't need the output, we can disable it for CI by a 
one-line change in `setup-java-with-cache`.
   
   https://issues.apache.org/jira/browse/HDDS-17854
   
   ## How was this patch tested?
   
   CI:
   https://github.com/adoroszlai/ozone/actions/runs/44306536135
   
   Examples:
   
   ```
   [INFO] --- pmd:3.28.0:pmd (pmd) @ ozone-dev-support ---
   ...
   [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/skins/maven-fluido-skin/2.0.0-M9/maven-fluido-skin-2.0.0-M9.jar
   [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/skins/maven-fluido-skin/2.0.0-M9/maven-fluido-skin-2.0.0-M9.jar
 (355 kB at 7.6 MB/s)
   ```
   
   ```
   [INFO] --- compiler:3.16.0:compile (default-compile) @ ozone-main ---
   [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/com/google/errorprone/error_prone_core/2.42.0/error_prone_core-2.42.0.pom
   [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/com/google/errorprone/error_prone_core/2.42.0/error_prone_core-2.42.0.pom
 (18 kB at 419 kB/s)
   [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/com/google/errorprone/error_prone_parent/2.42.0/error_prone_parent-2.42.0.pom
   [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/com/google/errorprone/error_prone_parent/2.42.0/error_prone_parent-2.42.0.pom
 (16 kB at 995 kB/s)
   ...
   ```
   


-- 
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]

Reply via email to