[
https://issues.apache.org/jira/browse/TEZ-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15605739#comment-15605739
]
Sreenath Somarajapuram commented on TEZ-3470:
---------------------------------------------
[~asanjar]
bq. 1) We are in process of contrbuting Phantomjs patches for Power to the
community, in meanwhile, to download PhantomJS v2.1.1 (source code and
binaries) for Power please go to
https://github.com/ibmsoe/phantomjs/releases/tag/2.1.1
- I had tried using the PhantomJS build available @
https://github.com/ibmsoe/phantomjs/releases/tag/2.1.1. But on trying to use it
for running the UTs, it just fails without any proper error. Have you observed
this before. Or is there any file that could give more info on why its failing?
- UTs are running in Mac, CentOS & Ubuntu but not PPC
This is the message that we get in the console.
{code}
Building..Building...Built project successfully. Stored in
"/grid/0/jenkins/src/tez/tez-ui/src/main/webapp/tmp/class-tests_dist-56zWpLdo.tmp".
not ok 1 PhantomJS 2.1 - Browser "phantomjs
/grid/0/jenkins/src/tez/tez-ui/src/main/webapp/node_modules/testem/assets/phantom.js
http://localhost:7357/8708/tests/index.html?hidepassed" exited unexpectedly
with exit code 0.
1..1
# tests 1
# pass 0
# skip 0
# fail 1
npm ERR! Linux 3.10.0-327.el7.ppc64le
npm ERR! argv "/grid/0/jenkins/src/tez/tez-ui/src/main/webapp/node/node"
"/grid/0/jenkins/src/tez/tez-ui/src/main/webapp/node/node_modules/npm/bin/npm-cli"
"run" "test:mvn"
npm ERR! node v5.7.0
npm ERR! npm v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! [email protected] test:mvn: `TMPDIR=tmp node/node
./node_modules/ember-cli/bin/ember test`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test:mvn script 'TMPDIR=tmp node/node
./node_modules/ember-cli/bin/ember test'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the tez-ui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember test
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs tez-ui
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls tez-ui
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /grid/0/jenkins/src/tez/tez-ui/src/main/webapp/npm-debug.log
{code}
And this is the content of npm-debug.log
{code}
...
10 verbose lifecycle [email protected]~test:mvn: CWD:
/grid/0/jenkins/src/tez/tez-ui/src/main/webapp
11 silly lifecycle [email protected]~test:mvn: Args: [ '-c',
11 silly lifecycle 'TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember
test' ]
12 silly lifecycle [email protected]~test:mvn: Returned: code: 1 signal: null
13 info lifecycle [email protected]~test:mvn: Failed to exec test:mvn script
14 verbose stack Error: [email protected] test:mvn: `TMPDIR=tmp node/node
./node_modules/ember-cli/bin/ember test`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous>
(/grid/0/jenkins/src/tez/tez-ui/src/main/webapp/node/node_modules/npm/lib/utils/lifecycle.js:232:16)
14 verbose stack at emitTwo (events.js:100:13)
14 verbose stack at EventEmitter.emit (events.js:185:7)
14 verbose stack at ChildProcess.<anonymous>
(/grid/0/jenkins/src/tez/tez-ui/src/main/webapp/node/node_modules/npm/lib/utils/spawn.js:24:14)
14 verbose stack at emitTwo (events.js:100:13)
14 verbose stack at ChildProcess.emit (events.js:185:7)
14 verbose stack at maybeClose (internal/child_process.js:827:16)
14 verbose stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:211:5)
15 verbose pkgid [email protected]
16 verbose cwd /grid/0/jenkins/src/tez/tez-ui/src/main/webapp
17 error Linux 3.10.0-327.el7.ppc64le
18 error argv "/grid/0/jenkins/src/tez/tez-ui/src/main/webapp/node/node"
"/grid/0/jenkins/src/tez/tez-ui/src/main/webapp/node/node_modules/npm/bin/npm-cli"
"run" "test:mvn"
19 error node v5.7.0
20 error npm v3.6.0
21 error code ELIFECYCLE
22 error [email protected] test:mvn: `TMPDIR=tmp node/node
./node_modules/ember-cli/bin/ember test`
22 error Exit status 1
23 error Failed at the [email protected] test:mvn script 'TMPDIR=tmp node/node
./node_modules/ember-cli/bin/ember test'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the tez-ui package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error TMPDIR=tmp node/node ./node_modules/ember-cli/bin/ember test
23 error You can get information on how to open an issue for this project with:
23 error npm bugs tez-ui
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls tez-ui
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
{code}
> Tez UI: Make the build work in IBM PPC
> --------------------------------------
>
> Key: TEZ-3470
> URL: https://issues.apache.org/jira/browse/TEZ-3470
> Project: Apache Tez
> Issue Type: Bug
> Affects Versions: 0.8.3
> Reporter: Sreenath Somarajapuram
> Assignee: Sreenath Somarajapuram
> Labels: TezUI
> Attachments: TEZ-3470.1.patch, TEZ-3470.2.patch, TEZ-3470.3.patch,
> TEZ-3470.wip.1.patch
>
>
> Current versions of frontend-maven-plugin, node & npm used by the build is
> not functioning as expected in IBM PPC. Following version works, and the
> build must be changed to used the same in a PPC.
> - frontend-maven-plugin : v1.1
> - node : v5.7.0
> - npm : 3.6.0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)