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 failing because for flaky dependencies resolution #8714

Closed
xiangfu0 opened this issue May 16, 2022 · 1 comment
Closed

CI failing because for flaky dependencies resolution #8714

xiangfu0 opened this issue May 16, 2022 · 1 comment

Comments

@xiangfu0
Copy link
Contributor

Sample run:
https://github.com/apache/pinot/runs/6431105558?check_suite_focus=true

Is there any retry mechanism for dependencies download resolution?

Error:  Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process (process-resource-bundles) on project pinot-batch-ingestion-standalone: Execution process-resource-bundles of goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process failed: Failed to resolve dependencies for one or more projects in the reactor. Reason: No versions are present in the repository for the artifact with a range [1.41.0,1.41.0]
Error:    io.grpc:grpc-core:jar:null
Error:  
Error:  from the specified remote repositories:
Error:    apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true),
Error:    central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
Error:  Path to dependency: 
Error:  	1) org.apache.pinot:pinot-batch-ingestion-standalone:jar:0.11.0-SNAPSHOT
Error:  	2) org.apache.pinot:pinot-common:jar:0.11.0-SNAPSHOT
Error:  	3) io.grpc:grpc-netty-shaded:jar:1.41.0
Error:  
Error:  
Error:  -> [Help 1]
Error:  Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process (process-resource-bundles) on project pinot-minion: Execution process-resource-bundles of goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process failed: Failed to resolve dependencies for one or more projects in the reactor. Reason: No versions are present in the repository for the artifact with a range [1.41.0,1.41.0]
Error:    io.grpc:grpc-core:jar:null
Error:  
Error:  from the specified remote repositories:
Error:    apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true),
Error:    central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
Error:  Path to dependency: 
Error:  	1) org.apache.pinot:pinot-minion:jar:0.11.0-SNAPSHOT
Error:  	2) org.apache.pinot:pinot-core:jar:0.11.0-SNAPSHOT
Error:  	3) org.apache.pinot:pinot-segment-local:jar:0.11.0-SNAPSHOT
Error:  	4) org.apache.pinot:pinot-common:jar:0.11.0-SNAPSHOT
Error:  	5) io.grpc:grpc-netty-shaded:jar:1.41.0
Error:  
Error:  
Error:  -> [Help 1]
Error:  Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process (process-resource-bundles) on project pinot-batch-ingestion-spark: Execution process-resource-bundles of goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process failed: Failed to resolve dependencies for one or more projects in the reactor. Reason: No versions are present in the repository for the artifact with a range [1.41.0,1.41.0]
Error:    io.grpc:grpc-core:jar:null
Error:  
Error:  from the specified remote repositories:
Error:    apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true),
Error:    central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
Error:  Path to dependency: 
Error:  	1) org.apache.pinot:pinot-batch-ingestion-spark:jar:0.11.0-SNAPSHOT
Error:  	2) org.apache.pinot:pinot-common:jar:0.11.0-SNAPSHOT
Error:  	3) io.grpc:grpc-netty-shaded:jar:1.41.0
Error:  
Error:  
Error:  -> [Help 1]
Error:  Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process (process-resource-bundles) on project pinot-batch-ingestion-hadoop: Execution process-resource-bundles of goal org.apache.maven.plugins:maven-remote-resources-plugin:1.6.0:process failed: Failed to resolve dependencies for one or more projects in the reactor. Reason: No versions are present in the repository for the artifact with a range [1.41.0,1.41.0]
Error:    io.grpc:grpc-core:jar:null
Error:  
Error:  from the specified remote repositories:
Error:    apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true),
Error:    central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
Error:  Path to dependency: 
Error:  	1) org.apache.pinot:pinot-batch-ingestion-hadoop:jar:0.11.0-SNAPSHOT
Error:  	2) org.apache.pinot:pinot-common:jar:0.11.0-SNAPSHOT
Error:  	3) io.grpc:grpc-netty-shaded:jar:1.41.0
Error:  
Error:  
Error:  -> [Help 1]
Error:  
Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
Error:  Re-run Maven using the -X switch to enable full debug logging.
Error:  
Error:  For more information about the errors and possible solutions, please read the following articles:
Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
Error:  
Error:  After correcting the problems, you can resume the build with the command
Error:    mvn <args> -rf :pinot-batch-ingestion-standalone
+ exit 1
Error: Process completed with exit code 1.
@gortiz
Copy link
Contributor

gortiz commented Jul 1, 2022

It seems that this is a common problem when running in GHA due to some particularities of Azure. See actions/runner-images#1499.

Several projects (for example, pulsar) decided to include these JVM options by default, so I guess we can try to do the same.

Edit: it seems we already use these options

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

3 participants