You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Shane Ardell (JIRA)" <ji...@apache.org> on 2018/06/20 11:54:00 UTC

[jira] [Commented] (METRON-1605) Travis CI build fails when building Metron Alerts UI

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

Shane Ardell commented on METRON-1605:
--------------------------------------

This turned out to be an issue caused by user error. I failed to build the app before submitting my latest changes to the PR. Note that the node-zopfli error will still show up in the Travis logs, but it won't cause the build to fail.

> Travis CI build fails when building Metron Alerts UI
> ----------------------------------------------------
>
>                 Key: METRON-1605
>                 URL: https://issues.apache.org/jira/browse/METRON-1605
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Shane Ardell
>            Priority: Major
>
> The work in [PR #1004|https://github.com/apache/metron/pull/1004/files] currently has no conflicts with the master branch but fails whenever Travis builds. The Travis logs can be seen [here|https://travis-ci.org/apache/metron/builds/388356505?utm_source=github_status&utm_medium=notification]. Travis fails at the script that builds the UI app, and [the error instructs to update node and npm|https://travis-ci.org/apache/metron/builds/388356505#L3874-L3906]. A little further up in the logs, there is a [403 error when npm tries to retrieve node-zopfli|https://travis-ci.org/apache/metron/builds/388356505#L3305-L3306].
> I don't see anything specific to this pull request's Travis build that is different from other pull requests, and I'm able to run the maven build script from the docs locally without a problem.
> I would think the first step in resolving this is to upgrade the version of node and npm inside of the Travis build settings, but I'm basing this off of the error message. Apparently, [the node-zopfli error is a long-time issue|https://github.com/pierreinglebert/node-zopfli/issues/87], but the same error occurs in other Travis builds that are able to build the UI app and pass fine, so I'm unsure if it's actually related or not.



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