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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to