Friendly Jira Robot created ERT-497:
---------------------------------------
Summary: Node.js, bower and npm need some love from Hudson [EBZ#514029]
Key: ERT-497
URL:
https://issues.jboss.org/browse/ERT-497
Project: Eclipse Release Train
Issue Type: Task
Components: Community
Reporter: Friendly Jira Robot
In order to provide tests for Node.js, bower, npm and debugger functionality in
webtools.jsdt project, RedDeer-based integration tests are provided. However, during the
inclusion of the tests into JSDT project's tests feature it appeares that none of
Node.js, bower and npm utilities are available on Hudson slaves. This makes impossible to
add RedDeer-based integration tests into the build process including the Gerrit Hudson job
for JSDT project. See:
- Bug #508353 - Include plug-in jsdt.integration.tests into
org.eclipse.wst.jsdt_tests.feature
-
https://git.eclipse.org/r/#/c/89463/ - Gerrit change that includes the integration tests
into JSDT project's tests feature
-
https://hudson.eclipse.org/webtools/job/jsdt-gerrit/663/console - Hudson's build log
with integration tests failing because of absence of mentioned utilities
The example reasons of failures are:
!ENTRY org.eclipse.wst.jsdt.js.node 4 0 2017-03-21 21:10:08.358
!MESSAGE Unable to run Node.js program. Verify you have a configured Node.js runtime
environment in your system and try again.
21:10:17.689 ERROR [WorkbenchTestable][RunTestMethod] Test
org.eclipse.wst.jsdt.integration.tests.nodejs.NodeJSLauncherTest.testNodeJSAppIsDebugging
throws exception:
21:15:18.296 ERROR [WorkbenchTestable][RequirementsRunner] Exception in test:
testDependeciesDownload
default(org.eclipse.wst.jsdt.integration.tests.bower.BowerUpdateTest)
org.jboss.reddeer.common.exception.WaitTimeoutExpiredException: Timeout after: 10 s.:
console contains 'angularjs#1.4.4 bower_components/angularjs'
/bin/bash: line 1: bower: command not found
In order to have Node.js, bower, npm and debugger support JSDT requires from users to have
the following versions of mentioned utilities to be installed:
$ node --version
v6.9.5 (or newer)
$ bower --version
1.8.0 (or newer)
$ npm --version
3.10.10 (or newer)
We'd like to have Node.js, bower and npm utilities to be available in Hudson slaves to
make possible the integration tests to be executed during the build.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)