Madhan Neethiraj created RANGER-4562:
----------------------------------------
Summary: Build fails in security-admin test while installing npm
Key: RANGER-4562
URL: https://issues.apache.org/jira/browse/RANGER-4562
Project: Ranger
Issue Type: Bug
Components: admin
Reporter: Madhan Neethiraj
Build using {{mvn -Pranger-jdk11 -DskipTests=false clean compile package}}
fails in security-admin module while installing npm:
{noformat}
ranger-build | [INFO]
ranger-build | [INFO] --- frontend-maven-plugin:1.12.1:npm (npm install for
tests) @ security-admin-web ---
ranger-build | [INFO] Running 'npm install' in
/home/ranger/src/security-admin/target/jstest
ranger-build | [INFO]
ranger-build | [INFO] > [email protected] install
/home/ranger/src/security-admin/target/jstest/node_modules/phantomjs-prebuilt
ranger-build | [INFO] > node install.js
ranger-build | [INFO]
ranger-build | [INFO] PhantomJS not found on PATH
ranger-build | [INFO] Downloading
https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2
ranger-build | [INFO] Saving to
/tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
ranger-build | [INFO] Receiving...
ranger-build | [INFO]
ranger-build | [INFO] Error making request.
ranger-build | [INFO] Error: connect ETIMEDOUT 185.199.108.133:443
ranger-build | [INFO] at TCPConnectWrap.afterConnect [as oncomplete]
(net.js:1191:14)
ranger-build | [INFO]
ranger-build | [INFO] Please report this full log at
https://github.com/Medium/phantomjs
ranger-build | [INFO] npm WARN [email protected] No description
ranger-build | [INFO] npm WARN [email protected] No repository field.
ranger-build | [INFO] npm WARN [email protected] No license field.
ranger-build | [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY:
[email protected] (node_modules/fsevents):
ranger-build | [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY:
Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"}
(current: {"os":"linux","arch":"x64"})
ranger-build | [INFO]
ranger-build | [INFO] npm ERR! code ELIFECYCLE
ranger-build | [INFO] npm ERR! errno 1
ranger-build | [INFO] npm ERR! [email protected] install: `node
install.js`
ranger-build | [INFO] npm ERR! Exit status 1
ranger-build | [INFO] npm ERR!
ranger-build | [INFO] npm ERR! Failed at the [email protected]
install script.
ranger-build | [INFO] npm ERR! This is probably not a problem with npm.
There is likely additional logging output above.
ranger-build | [INFO]
ranger-build | [INFO] npm ERR! A complete log of this run can be found in:
ranger-build | [INFO] npm ERR!
/home/ranger/.npm/_logs/2023-11-25T19_25_13_719Z-debug.log
ranger-build | [INFO]
------------------------------------------------------------------------
{noformat}
[~mugdha.varadkar], [~ankita], [~pradeep], [~mehul] - can you please help
resolve this issue?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)