[ 
https://issues.apache.org/jira/browse/RANGER-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16736884#comment-16736884
 ] 

Pradeep Agrawal commented on RANGER-2255:
-----------------------------------------

[~Koncz]/Zsombor Gegesy: Build is failing for me with the following error:
{code:java}
[INFO] Extracting tar contents (via spawned process)

[ERROR] Error extracting archive

[ERROR] Phantom installation failed { Error: Command failed: tar jxf 
/tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2

[ERROR] tar (child): bzip2: Cannot exec: No such file or directory

[ERROR] tar (child): Error is not recoverable: exiting now

[ERROR] tar: Child returned status 2

[ERROR] tar: Error is not recoverable: exiting now

[ERROR]

[ERROR]     at ChildProcess.exithandler (child_process.js:276:12)

[ERROR]     at emitTwo (events.js:126:13)

[ERROR]     at ChildProcess.emit (events.js:214:7)

[ERROR]     at maybeClose (internal/child_process.js:915:16)

[ERROR]     at Socket.stream.socket.on (internal/child_process.js:336:11)

[ERROR]     at emitOne (events.js:116:13)

[ERROR]     at Socket.emit (events.js:211:7)

[ERROR]     at Pipe._handle.close [as _onclose] (net.js:561:12)

[ERROR]   killed: false,

[ERROR]   code: 2,

[ERROR]   signal: null,

[ERROR]   cmd: 'tar jxf /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2' } 
Error: Command failed: tar jxf 
/tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2

[ERROR] tar (child): bzip2: Cannot exec: No such file or directory

[ERROR] tar (child): Error is not recoverable: exiting now

[ERROR] tar: Child returned status 2

[ERROR] tar: Error is not recoverable: exiting now

[ERROR]

[ERROR]     at ChildProcess.exithandler (child_process.js:276:12)

[ERROR]     at emitTwo (events.js:126:13)

[ERROR]     at ChildProcess.emit (events.js:214:7)

[ERROR]     at maybeClose (internal/child_process.js:915:16)

[ERROR]     at Socket.stream.socket.on (internal/child_process.js:336:11)

[ERROR]     at emitOne (events.js:116:13)

[ERROR]     at Socket.emit (events.js:211:7)

[ERROR]     at Pipe._handle.close [as _onclose] (net.js:561:12)

[WARNING] npm WARN security-admin@2.0.0 No description

[WARNING] npm WARN security-admin@2.0.0 No repository field.

[WARNING] npm WARN security-admin@2.0.0 No license field.

[WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 
(node_modules/fsevents):

[WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform 
for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: 
{"os":"linux","arch":"x64"})

[ERROR]

[ERROR] npm ERR! code ELIFECYCLE

[ERROR] npm ERR! errno 1

[ERROR] npm ERR! phantomjs-prebuilt@2.1.16 install: `node install.js`

[ERROR] npm ERR! Exit status 1

[ERROR] npm ERR!

[ERROR] npm ERR! Failed at the phantomjs-prebuilt@2.1.16 install script.

[ERROR] npm ERR! This is probably not a problem with npm. There is likely 
additional logging output above.

[ERROR]

[ERROR] npm ERR! A complete log of this run can be found in:

[ERROR] npm ERR!     /root/.npm/_logs/2019-01-08T08_37_19_072Z-debug.log

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Skipping ranger

[INFO] This project has been banned from the build due to previous failures.

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Skipping ranger

[INFO] This project has been banned from the build due to previous failures.

[INFO] ------------------------------------------------------------------------

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] ranger ............................................. SUCCESS [  2.037 s]

[INFO] Jdbc SQL Connector ................................. SUCCESS [  1.962 s]

[INFO] Credential Support ................................. SUCCESS [  3.551 s]

[INFO] Audit Component .................................... SUCCESS [  4.429 s]

[INFO] Common library for Plugins ......................... SUCCESS [  8.583 s]

[INFO] Installer Support Component ........................ SUCCESS [  1.103 s]

[INFO] Credential Builder ................................. SUCCESS [  2.857 s]

[INFO] Embedded Web Server Invoker ........................ SUCCESS [  2.144 s]

[INFO] Key Management Service ............................. SUCCESS [  5.090 s]

[INFO] ranger-plugin-classloader .......................... SUCCESS [  1.642 s]

[INFO] HBase Security Plugin Shim ......................... SUCCESS [  9.623 s]

[INFO] HBase Security Plugin .............................. SUCCESS [  6.574 s]

[INFO] Hdfs Security Plugin ............................... SUCCESS [  6.651 s]

[INFO] Hive Security Plugin ............................... SUCCESS [ 12.996 s]

[INFO] Knox Security Plugin Shim .......................... SUCCESS [  3.095 s]

[INFO] Knox Security Plugin ............................... SUCCESS [  6.859 s]

[INFO] Storm Security Plugin .............................. SUCCESS [  4.530 s]

[INFO] YARN Security Plugin ............................... SUCCESS [  3.484 s]

[INFO] Ranger Util ........................................ SUCCESS [  2.882 s]

[INFO] Unix Authentication Client ......................... SUCCESS [  1.511 s]

[INFO] Security Admin Web Application ..................... FAILURE [ 19.421 s]

[INFO] KAFKA Security Plugin .............................. SKIPPED

[INFO] SOLR Security Plugin ............................... SKIPPED

[INFO] NiFi Security Plugin ............................... SKIPPED

[INFO] NiFi Registry Security Plugin ...................... SKIPPED

[INFO] Unix User Group Synchronizer ....................... SKIPPED

[INFO] Ldap Config Check Tool ............................. SKIPPED

[INFO] Unix Authentication Service ........................ SKIPPED

[INFO] KMS Security Plugin ................................ SKIPPED

[INFO] Tag Synchronizer ................................... SKIPPED

[INFO] Hdfs Security Plugin Shim .......................... SKIPPED

[INFO] Hive Security Plugin Shim .......................... SKIPPED

[INFO] YARN Security Plugin Shim .......................... SKIPPED

[INFO] Storm Security Plugin shim ......................... SKIPPED

[INFO] KAFKA Security Plugin Shim ......................... SKIPPED

[INFO] SOLR Security Plugin Shim .......................... SKIPPED

[INFO] Atlas Security Plugin Shim ......................... SKIPPED

[INFO] KMS Security Plugin Shim ........................... SKIPPED

[INFO] ranger-examples .................................... SKIPPED

[INFO] Ranger Examples - Conditions and ContextEnrichers .. SKIPPED

[INFO] Ranger Examples - SampleApp ........................ SKIPPED

[INFO] Ranger Examples - Ranger Plugin for SampleApp ...... SKIPPED

[INFO] Ranger Tools ....................................... SKIPPED

[INFO] Atlas Security Plugin .............................. SKIPPED

[INFO] Sqoop Security Plugin .............................. SKIPPED

[INFO] Sqoop Security Plugin Shim ......................... SKIPPED

[INFO] Kylin Security Plugin .............................. SKIPPED

[INFO] Kylin Security Plugin Shim ......................... SKIPPED

[INFO] Elasticsearch Security Plugin Shim ................. SKIPPED

[INFO] Elasticsearch Security Plugin ...................... SKIPPED

[INFO] Unix Native Authenticator .......................... SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 01:52 min

[INFO] Finished at: 2019-01-08T08:37:19Z

[INFO] Final Memory: 91M/1556M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal 
com.github.eirslett:frontend-maven-plugin:1.6:npm (npm install) on project 
security-admin-web: Failed to run task: 'npm install' failed. 
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit 
value: 1) -> [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/MojoFailureException

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :security-admin-web


{code}

> Add JavaScript unit tests
> -------------------------
>
>                 Key: RANGER-2255
>                 URL: https://issues.apache.org/jira/browse/RANGER-2255
>             Project: Ranger
>          Issue Type: Wish
>          Components: admin
>    Affects Versions: 0.7.0, 2.0.0, 1.2.1
>            Reporter: Csaba Koncz
>            Assignee: Csaba Koncz
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> It would be nice if the admin-ui project would have JavaScript unit tests.
> As with RANGER-2220 JavaScript minification was introduced, that can lead to 
> new type of loading errors that were not seen before.
> It would be nice if there was an automatic check that validates the minified 
> output.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to