You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/02/05 19:12:42 UTC

[GitHub] [pulsar] devinbost opened a new issue #6231: Intermittent Maven build errors - Could not resolve dependencies

devinbost opened a new issue #6231: Intermittent Maven build errors - Could not resolve dependencies
URL: https://github.com/apache/pulsar/issues/6231
 
 
   We're occasionally getting build errors that look like this:
   
   ```[ERROR] Failed to execute goal on project buildtools: Could not resolve dependencies for project org.apache.pulsar:buildtools:jar:2.6.0-SNAPSHOT: Could not transfer artifact org.apache-extras.beanshell:bsh:jar:2.0b6 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/apache-extras/beanshell/bsh/2.0b6/bsh-2.0b6.jar 503 between bytes timeout -> [Help 1]```
   
   ```[ERROR] Failed to execute goal on project pulsar-presto-distribution: Could not resolve dependencies for project org.apache.pulsar:pulsar-presto-distribution:jar:2.6.0-SNAPSHOT: Could not transfer artifact org.eclipse.jetty:jetty-io:jar:9.4.11.v20180605 from/to central (https://repo.maven.apache.org/maven2): Failed to transfer file https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-io/9.4.11.v20180605/jetty-io-9.4.11.v20180605.jar with status code 500 -> [Help 1]
   ```
   
   Here's a third case (with an image of where it appeared):
   
   ![image](https://user-images.githubusercontent.com/7418031/73874421-b87b8200-4810-11ea-9c45-b2cac6f807f3.png)
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact

Posted by GitBox <gi...@apache.org>.
devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact
URL: https://github.com/apache/pulsar/issues/6231#issuecomment-582637178
 
 
   @aahmed-se Here's one example: https://github.com/apache/pulsar/pull/6202/checks?check_run_id=428218118

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact

Posted by GitBox <gi...@apache.org>.
devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact
URL: https://github.com/apache/pulsar/issues/6231#issuecomment-582604064
 
 
   @aahmed-se 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact

Posted by GitBox <gi...@apache.org>.
devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact
URL: https://github.com/apache/pulsar/issues/6231#issuecomment-582601984
 
 
   I wasn't sure if this should have been labeled as a bug or not since it's just showing up in the build tests.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact

Posted by GitBox <gi...@apache.org>.
devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact
URL: https://github.com/apache/pulsar/issues/6231#issuecomment-582604021
 
 
   ```
   OCPC-LM31977:pulsar dbost$ mvn --version
   Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
   Maven home: /Users/dbost/src/apache-maven-3.6.3
   Java version: 1.8.0_201, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home/jre
   Default locale: en_US, platform encoding: UTF-8
   OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact

Posted by GitBox <gi...@apache.org>.
devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact
URL: https://github.com/apache/pulsar/issues/6231#issuecomment-582607940
 
 
   @aahmed-se Thanks for the information. This was also happening in Github CI though. Is there a place where the Maven version is set for building the project in the Github CI Actions? 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] aahmed-se commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact

Posted by GitBox <gi...@apache.org>.
aahmed-se commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact
URL: https://github.com/apache/pulsar/issues/6231#issuecomment-582640077
 
 
   Here is the example for setting up maven to a specific vesion
   https://github.com/apache/pulsar/blob/4a2bceb35f83a11d037845731642cf0cc667809f/.github/workflows/ci-license.yaml#L37
   
   The error in your link is not related that's just a repo timeout.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] aahmed-se commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact

Posted by GitBox <gi...@apache.org>.
aahmed-se commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact
URL: https://github.com/apache/pulsar/issues/6231#issuecomment-582605644
 
 
   Try with should be using 3.6.1, believe versions after that have issues

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] aahmed-se commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact

Posted by GitBox <gi...@apache.org>.
aahmed-se commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact
URL: https://github.com/apache/pulsar/issues/6231#issuecomment-582608328
 
 
   where is github ci do you see this ?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] aahmed-se edited a comment on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact

Posted by GitBox <gi...@apache.org>.
aahmed-se edited a comment on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact
URL: https://github.com/apache/pulsar/issues/6231#issuecomment-582640077
 
 
   Here is the example for setting up maven to a specific vesion
   https://github.com/apache/pulsar/blob/4a2bceb35f83a11d037845731642cf0cc667809f/.github/workflows/ci-license.yaml#L43
   
   The error in your link is not related that's just a repo timeout.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact

Posted by GitBox <gi...@apache.org>.
devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact
URL: https://github.com/apache/pulsar/issues/6231#issuecomment-583499768
 
 
   I created an issue with Github Community here: https://github.community/t5/GitHub-Actions/Getting-Maven-quot-Could-not-transfer-artifact-quot-with-500/m-p/45556#M6259

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact

Posted by GitBox <gi...@apache.org>.
devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact
URL: https://github.com/apache/pulsar/issues/6231#issuecomment-583213476
 
 
   @aahmed-se How do we fix the repo timeout? I got it again...
   `[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.0.1:add-source (default) on project flink: Execution default of goal net.alchim31.maven:scala-maven-plugin:4.0.1:add-source failed: Plugin net.alchim31.maven:scala-maven-plugin:4.0.1 or one of its dependencies could not be resolved: Could not transfer artifact org.apache.maven:maven-compat:jar:3.3.9 from/to central (https://repo.maven.apache.org/maven2): Failed to transfer file https://repo.maven.apache.org/maven2/org/apache/maven/maven-compat/3.3.9/maven-compat-3.3.9.jar with status code 500 -> [Help 1]`
   (https://github.com/apache/pulsar/pull/6202/checks?check_run_id=431040196)
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] aahmed-se commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact

Posted by GitBox <gi...@apache.org>.
aahmed-se commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact
URL: https://github.com/apache/pulsar/issues/6231#issuecomment-582602579
 
 
   @devinbost wha's your maven version ?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [pulsar] devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact

Posted by GitBox <gi...@apache.org>.
devinbost commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact
URL: https://github.com/apache/pulsar/issues/6231#issuecomment-583493884
 
 
   Here's another one:
   
   `[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project buildtools: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: Plugin org.apache.maven.plugins:maven-surefire-plugin:2.19.1 or one of its dependencies could not be resolved: Could not transfer artifact org.apache.maven.surefire:maven-surefire-common:jar:2.19.1 from/to central (https://repo.maven.apache.org/maven2): Failed to transfer file https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven-surefire-common/2.19.1/maven-surefire-common-2.19.1.jar with status code 500 -> [Help 1]`
   (https://github.com/apache/pulsar/pull/6202/checks?check_run_id=432260374)
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services