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

   ## What changes were proposed in this pull request?
   
   If dependencies are not available in local repo, Maven logs download 
progress for each:
   
   ```
   [INFO] Downloading from apache.snapshots: 
https://repository.apache.org/snapshots/com/github/spotbugs/spotbugs-maven-plugin/4.2.0/spotbugs-maven-plugin-4.2.0.pom
   [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/com/github/spotbugs/spotbugs-maven-plugin/4.2.0/spotbugs-maven-plugin-4.2.0.pom
   [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/com/github/spotbugs/spotbugs-maven-plugin/4.2.0/spotbugs-maven-plugin-4.2.0.pom
 (33 kB at 1.3 MB/s)
   [INFO] Downloading from apache.snapshots: 
https://repository.apache.org/snapshots/com/github/hazendaz/base-parent/27/base-parent-27.pom
   [INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/com/github/hazendaz/base-parent/27/base-parent-27.pom
   [INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/com/github/hazendaz/base-parent/27/base-parent-27.pom
 (87 kB at 7.9 MB/s)
   ```
   
   
https://github.com/apache/ratis/actions/runs/7074176463/job/19254929774#step:5:49
   
   This may unnecessarily increase log by more than 1000 lines currently ([from 
~1800](https://github.com/apache/ratis/actions/runs/7134686428/job/19429987244#step:5:1818)
 [to 
~3000](https://github.com/apache/ratis/actions/runs/7074176463/job/19254929774#step:5:3078)).
   
   CI uses Github Actions cache for Maven dependencies, so this is only 
noticeable in case of cache miss (usually on POM change or in forks).
   
   https://issues.apache.org/jira/browse/RATIS-1959
   
   ## How was this patch tested?
   
   CI build in fork with cache miss:
   
   ```
   Cache not found for input keys: 
maven-repo-edc44bba0b03b489af4e8788b210a64e0b74f4870fe3570470bb3a34fc6ece76-build,
 maven-repo-edc44bba0b03b489af4e8788b210a64e0b74f4870fe3570470bb3a34fc6ece76, 
maven-repo-
   ```
   
   
https://github.com/adoroszlai/ratis/actions/runs/7149655412/job/19472089995#step:3:12
   
   but build output only ~1800 lines:
   
   
https://github.com/adoroszlai/ratis/actions/runs/7149655412/job/19472089995#step:5:1806


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

Reply via email to