Skip to content
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][Java] Download logs are noisy in java-jars job #42228

Closed
kou opened this issue Jun 20, 2024 · 1 comment
Closed

[CI][Java] Download logs are noisy in java-jars job #42228

kou opened this issue Jun 20, 2024 · 1 comment

Comments

@kou
Copy link
Member

kou commented Jun 20, 2024

Describe the enhancement requested

https://github.com/ursacomputing/crossbow/actions/runs/9594213517/job/26457788792#step:6:17

Downloading from central: https://repo.maven.apache.org/maven2/com/gradle/develocity-maven-extension/1.21.4/develocity-maven-extension-1.21.4.pom
Progress (1): 1.4/1.4 kB
Progress (1): 1.4 kB    
                    
Downloaded from central: https://repo.maven.apache.org/maven2/com/gradle/develocity-maven-extension/1.21.4/develocity-maven-extension-1.21.4.pom (1.4 kB at 7.3 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/com/gradle/develocity-maven-extension/1.21.4/develocity-maven-extension-1.21.4.jar
Progress (1): 0/18 MB
Progress (1): 0/18 MB
Progress (1): 0/18 MB
Progress (1): 0/18 MB
Progress (1): 0/18 MB
Progress (1): 0/18 MB
Progress (1): 0/18 MB
Progress (1): 0/18 MB
Progress (1): 0/18 MB
Progress (1): 0/18 MB
Progress (1): 0/18 MB
Progress (1): 0/18 MB
Progress (1): 0/18 MB
Progress (1): 0/18 MB
Progress (1): 0.1/18 MB
Progress (1): 0.1/18 MB
Progress (1): 0.1/18 MB
Progress (1): 0.1/18 MB
Progress (1): 0.1/18 MB
Progress (1): 0.1/18 MB
Progress (1): 0.2/18 MB
Progress (1): 0.2/18 MB
Progress (1): 0.2/18 MB
Progress (1): 0.2/18 MB
Progress (1): 0.2/18 MB
Progress (1): 0.2/18 MB
Progress (1): 0.3/18 MB
Progress (1): 0.3/18 MB
Progress (1): 0.3/18 MB
Progress (1): 0.3/18 MB
...

Component(s)

Continuous Integration, Java

@kou kou changed the title [CI][Java] Download logs are noisy [CI][Java] Download logs are noisy in java-jars job Jun 20, 2024
kou added a commit that referenced this issue Jun 21, 2024
)

### Rationale for this change

Transfer progress log is meaningless and noisy in CI log.

### What changes are included in this PR?

Use the `--no-transfer-progress` option that is available Maven 3.6.1: https://maven.apache.org/ref/3.6.1/maven-embedder/cli.html

Other approach is using `-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn` like other our scripts do.

I chose `--no-transfer-progress` because it's shorter.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: #42228

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
@kou
Copy link
Member Author

kou commented Jun 21, 2024

Done by #42230

@kou kou closed this as completed Jun 21, 2024
@kou kou added this to the 17.0.0 milestone Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant