You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by GitBox <gi...@apache.org> on 2021/11/04 22:54:29 UTC

[GitHub] [ambari] sziszo opened a new pull request #3321: AMBARI-25695 Pull request tests fail due to Maven 3.8.x blocks http repositories (santal)

sziszo opened a new pull request #3321:
URL: https://github.com/apache/ambari/pull/3321


   ## What changes were proposed in this pull request?
   
   Tests for ambari-infra and ambari-logsearch cannot be perfomed because the http repositories have been blocked since Maven 3.8.1.
   command: 
   `$ mvn -am test -Dmaven.artifact.threads=10 -Drat.skip`
   output:
   ```
   [INFO] Reactor Summary for ambari-infra 2.7.5.0.0:
   [INFO] 
   [INFO] ambari-infra ....................................... SUCCESS [  1.126 s]
   [INFO] Ambari Infra Solr Client ........................... SUCCESS [  6.155 s]
   [INFO] Ambari Infra Solr Plugin ........................... FAILURE [  0.585 s]
   [INFO] Ambari Infra Manager ............................... SKIPPED
   [INFO] Ambari Infra Assembly .............................. SKIPPED
   [INFO] Ambari Infra Manager Integration Tests ............. SKIPPED
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  8.192 s
   [INFO] Finished at: 2021-10-29T07:58:03Z
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal on project ambari-infra-solr-plugin: Could not resolve dependencies for project org.apache.ambari:ambari-infra-solr-plugin:jar:2.7.5.0.0: Failed to collect dependencies at org.apache.solr:solr-core:jar:7.7.3 -> org.restlet.jee:org.restlet:jar:2.3.0: Failed to read artifact descriptor for org.restlet.jee:org.restlet:jar:2.3.0: Could not transfer artifact org.restlet.jee:org.restlet:pom:2.3.0 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [maven-restlet (http://maven.restlet.org, default, releases+snapshots)] -> [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/DependencyResolutionException
   [ERROR] 
   [ERROR] After correcting the problems, you can resume the build with the command
   [ERROR]   mvn <args> -rf :ambari-infra-solr-plugin
   
   ```
    
   ## How was this patch tested?
   
   manually tested
   
   


-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ambari] aonishuk edited a comment on pull request #3321: AMBARI-25695 Pull request tests fail due to Maven 3.8.x blocks http repositories (santal)

Posted by GitBox <gi...@apache.org>.
aonishuk edited a comment on pull request #3321:
URL: https://github.com/apache/ambari/pull/3321#issuecomment-961798060


   I was able to build ambari-admin successfully from latest branch-2.7. Probably some env issue on jenkins
   ```
   mvn -T 2C -am test -pl ambari-admin -Dmaven.artifact.threads=10 -Drat.skip
   ```
   ```
   [INFO] ------------------------------------------------------------------------
   [INFO] Reactor Summary for Ambari Main 2.7.5.0.0:
   [INFO] 
   [INFO] Ambari Main ........................................ SUCCESS [  0.327 s]
   [INFO] Apache Ambari Project POM .......................... SUCCESS [  0.008 s]
   [INFO] Ambari Admin View .................................. SUCCESS [  4.759 s]
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  5.614 s (Wall Clock)
   [INFO] Finished at: 2021-11-05T12:52:25+02:00
   [INFO] ------------------------------------------------------------------------
   ```
   
   I also tried to use the latest maven 3.8.3 and the build was still successful.
   
   
   For me command output looks like this:
   ```
   user@user:~/ambari_apache$ yarn install --ignore-engines --pure-lockfile
   yarn install v1.22.11
   info No lockfile found.
   [1/4] Resolving packages...
   [2/4] Fetching packages...
   [3/4] Linking dependencies...
   [4/4] Building fresh packages...
   Done in 0.06s.
   ```
   
   Also jenkins logs we have this command fail:
   ```
   [ERROR] error /home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3321/ambari-admin/src/main/resources/ui/admin-web/node_modules/karma-phantomjs-launcher/node_modules/phantomjs: Command failed.
   [ERROR] Exit code: 1
   [ERROR] Command: sh
   [ERROR] Arguments: -c node install.js
   [ERROR] Directory: /home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3321/ambari-admin/src/main/resources/ui/admin-web/node_modules/karma-phantomjs-launcher/node_modules/phantomjs
   [ERROR] Output:
   [ERROR] PhantomJS not found on PATH
   [INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
   [ERROR] Download already available at /tmp/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2
   [ERROR] Verified checksum of previously downloaded file
   [ERROR] Extracting tar contents (via spawned process)
   [ERROR] Removing /home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3321/ambari-admin/src/main/resources/ui/admin-web/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom
   [ERROR] Copying extracted folder /tmp/phantomjs/phantomjs-1.9.8-linux-x86_64.tar.bz2-extract-1636066898711/phantomjs-1.9.8-linux-x86_64 -> /home/jenkins/jenkins-agent/workspace/bari-PreCommit-GitHub-PR_PR-3321/ambari-admin/src/main/resources/ui/admin-web/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom
   [ERROR] Install exited unexpectedly
   ```
   Maybe this is the root cause.  


-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ambari] hapylestat merged pull request #3321: AMBARI-25695 Pull request tests fail due to Maven 3.8.x blocks http repositories (santal)

Posted by GitBox <gi...@apache.org>.
hapylestat merged pull request #3321:
URL: https://github.com/apache/ambari/pull/3321


   


-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ambari] aonishuk edited a comment on pull request #3321: AMBARI-25695 Pull request tests fail due to Maven 3.8.x blocks http repositories (santal)

Posted by GitBox <gi...@apache.org>.
aonishuk edited a comment on pull request #3321:
URL: https://github.com/apache/ambari/pull/3321#issuecomment-961798060






-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ambari] aonishuk commented on pull request #3321: AMBARI-25695 Pull request tests fail due to Maven 3.8.x blocks http repositories (santal)

Posted by GitBox <gi...@apache.org>.
aonishuk commented on pull request #3321:
URL: https://github.com/apache/ambari/pull/3321#issuecomment-961798060


   I was able to build ambari-admin successfully from latest branch-2.7. Probably some env issue on jenkins
   ```
   [INFO] ------------------------------------------------------------------------
   [INFO] Reactor Summary for Ambari Main 2.7.5.0.0:
   [INFO] 
   [INFO] Ambari Main ........................................ SUCCESS [  0.327 s]
   [INFO] Apache Ambari Project POM .......................... SUCCESS [  0.008 s]
   [INFO] Ambari Admin View .................................. SUCCESS [  4.759 s]
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  5.614 s (Wall Clock)
   [INFO] Finished at: 2021-11-05T12:52:25+02:00
   [INFO] ------------------------------------------------------------------------
   ```


-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ambari] sziszo commented on pull request #3321: AMBARI-25695 Pull request tests fail due to Maven 3.8.x blocks http repositories (santal)

Posted by GitBox <gi...@apache.org>.
sziszo commented on pull request #3321:
URL: https://github.com/apache/ambari/pull/3321#issuecomment-961518442


   @payert @hapylestat  Could you please review this PR?


-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ambari] aonishuk edited a comment on pull request #3321: AMBARI-25695 Pull request tests fail due to Maven 3.8.x blocks http repositories (santal)

Posted by GitBox <gi...@apache.org>.
aonishuk edited a comment on pull request #3321:
URL: https://github.com/apache/ambari/pull/3321#issuecomment-961798060


   I was able to build ambari-admin successfully from latest branch-2.7. Probably some env issue on jenkins
   ```
   mvn -T 2C -am test -pl ambari-admin -Dmaven.artifact.threads=10 -Drat.skip
   ```
   ```
   [INFO] ------------------------------------------------------------------------
   [INFO] Reactor Summary for Ambari Main 2.7.5.0.0:
   [INFO] 
   [INFO] Ambari Main ........................................ SUCCESS [  0.327 s]
   [INFO] Apache Ambari Project POM .......................... SUCCESS [  0.008 s]
   [INFO] Ambari Admin View .................................. SUCCESS [  4.759 s]
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  5.614 s (Wall Clock)
   [INFO] Finished at: 2021-11-05T12:52:25+02:00
   [INFO] ------------------------------------------------------------------------
   ```
   
   I also tried to use the latest maven 3.8.3 and the build was still successful.
   
   
   If we cannot reproduce it I wonder if we have access to ssh to that jenkins node and run 'yarn install --ignore-engines --pure-lockfile' manually and see what exactly the error is. For me it looks like this:
   ```
   user@user:~/ambari_apache$ yarn install --ignore-engines --pure-lockfile
   yarn install v1.22.11
   info No lockfile found.
   [1/4] Resolving packages...
   [2/4] Fetching packages...
   [3/4] Linking dependencies...
   [4/4] Building fresh packages...
   Done in 0.06s.
   ```


-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ambari] aonishuk commented on pull request #3321: AMBARI-25695 Pull request tests fail due to Maven 3.8.x blocks http repositories (santal)

Posted by GitBox <gi...@apache.org>.
aonishuk commented on pull request #3321:
URL: https://github.com/apache/ambari/pull/3321#issuecomment-961798060






-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ambari] aonishuk edited a comment on pull request #3321: AMBARI-25695 Pull request tests fail due to Maven 3.8.x blocks http repositories (santal)

Posted by GitBox <gi...@apache.org>.
aonishuk edited a comment on pull request #3321:
URL: https://github.com/apache/ambari/pull/3321#issuecomment-961798060


   I was able to build ambari-admin successfully from latest branch-2.7. Probably some env issue on jenkins
   ```
   mvn -T 2C -am test -pl ambari-admin -Dmaven.artifact.threads=10 -Drat.skip
   ```
   ```
   [INFO] ------------------------------------------------------------------------
   [INFO] Reactor Summary for Ambari Main 2.7.5.0.0:
   [INFO] 
   [INFO] Ambari Main ........................................ SUCCESS [  0.327 s]
   [INFO] Apache Ambari Project POM .......................... SUCCESS [  0.008 s]
   [INFO] Ambari Admin View .................................. SUCCESS [  4.759 s]
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  5.614 s (Wall Clock)
   [INFO] Finished at: 2021-11-05T12:52:25+02:00
   [INFO] ------------------------------------------------------------------------
   ```


-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ambari] aonishuk edited a comment on pull request #3321: AMBARI-25695 Pull request tests fail due to Maven 3.8.x blocks http repositories (santal)

Posted by GitBox <gi...@apache.org>.
aonishuk edited a comment on pull request #3321:
URL: https://github.com/apache/ambari/pull/3321#issuecomment-961798060


   I was able to build ambari-admin successfully from latest branch-2.7. Probably some env issue on jenkins
   ```
   mvn -T 2C -am test -pl ambari-admin -Dmaven.artifact.threads=10 -Drat.skip
   ```
   ```
   [INFO] ------------------------------------------------------------------------
   [INFO] Reactor Summary for Ambari Main 2.7.5.0.0:
   [INFO] 
   [INFO] Ambari Main ........................................ SUCCESS [  0.327 s]
   [INFO] Apache Ambari Project POM .......................... SUCCESS [  0.008 s]
   [INFO] Ambari Admin View .................................. SUCCESS [  4.759 s]
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  5.614 s (Wall Clock)
   [INFO] Finished at: 2021-11-05T12:52:25+02:00
   [INFO] ------------------------------------------------------------------------
   ```
   
   I also tried to use the latest maven 3.8.3 and the build was still successful.


-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ambari] sziszo commented on pull request #3321: AMBARI-25695 Pull request tests fail due to Maven 3.8.x blocks http repositories (santal)

Posted by GitBox <gi...@apache.org>.
sziszo commented on pull request #3321:
URL: https://github.com/apache/ambari/pull/3321#issuecomment-961518442






-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ambari] aonishuk edited a comment on pull request #3321: AMBARI-25695 Pull request tests fail due to Maven 3.8.x blocks http repositories (santal)

Posted by GitBox <gi...@apache.org>.
aonishuk edited a comment on pull request #3321:
URL: https://github.com/apache/ambari/pull/3321#issuecomment-961798060






-- 
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: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org