[
https://issues.apache.org/jira/browse/FLAGON-384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837969#comment-16837969
]
Joshua Poore commented on FLAGON-384:
-------------------------------------
Tested builds in my test environment, builds and tests ran without issue.
my environment:
{code:java}
MacBook-Pro:incubator-flagon-useralejs-master jpoore$ node -v
v11.10.0
MacBook-Pro:incubator-flagon-useralejs-master jpoore$ npm -v
6.7.0
{code}
Notable section of output: Tests did not actually fail, because tests did not
run. gulp lint and build tasks failed to run due to syntax error:
/home/jenkins/jenkins-slave/workspace/useralejs-ci/node_modules/rollup-plugin-json/node_modules/rollup-pluginutils/node_modules/estree-walker/dist/estree-walker.umd.js:7
function walk(ast, \{ enter, leave }) {
^
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous>
(/home/jenkins/jenkins-slave/workspace/useralejs-ci/node_modules/rollup-plugin-json/node_modules/rollup-pluginutils/dist/pluginutils.cjs.js:6:20)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
Also, note that it looks like jenkins is running an ancient version of node on
a [new agent|[https://builds.apache.org/job/useralejs-ci/buildTimeTrend]]. See
comments below.
npm ERR! Linux 4.15.0-1029-gcp
npm ERR! argv
"/home/jenkins/jenkins-slave/workspace/useralejs-ci/node-v4.6.0-linux-x64/bin/node"
"/home/jenkins/jenkins-slave/workspace/useralejs-ci/node-v4.6.0-linux-x64/bin/npm"
"run" "test"
*npm ERR! node v4.6.0 # should be ~8.2.1*
*npm ERR! npm v2.15.9 # should be ~5.3.0*
npm ERR! code ELIFECYCLE
npm ERR! [email protected] pretest: `gulp lint`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] pretest script 'gulp lint'.
npm ERR! This is most likely a problem with the useralejs package
> useralejs Jenkins build is failing (#32-33)
> -------------------------------------------
>
> Key: FLAGON-384
> URL: https://issues.apache.org/jira/browse/FLAGON-384
> Project: Flagon
> Issue Type: Bug
> Components: UserALE.js
> Affects Versions: UserALE.js 1.0.0
> Reporter: Joshua Poore
> Assignee: Joshua Poore
> Priority: Trivial
> Fix For: UserALE.js 1.0.0
>
> Attachments: CIFail32useralejs
>
>
> [https://builds.apache.org/job/useralejs-ci/32/] [^CIFail32useralejs]
> Jenkins build failed after recent
> [commit|[https://github.com/apache/incubator-flagon-useralejs/commit/4bb5ebe8be228242861556c31ac6f4b78b929177]].
> This is weird because the commit exclusively incorporated changes to text
> referencing SensSoft, and links (Flagon–>SensSoft). This triggered a build
> test on Jenkins, which failed (see attachment).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)