Github user nickwallen commented on the issue:

    https://github.com/apache/metron/pull/1226
  
    Thanks for pointing out what it looks-like when a build fails.  The Travis 
output does not seem to indicate which test failed and why.  Did I miss it? How 
are we going to know why it failed?
    ```
    [ERROR] npm ERR! errno 1
    [ERROR] npm ERR! [email protected] cypress:run: `cypress run`
    [ERROR] npm ERR! Exit status 1
    [ERROR] npm ERR! 
    [ERROR] npm ERR! Failed at the [email protected] cypress:run 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!     
/home/travis/.npm/_logs/2018-10-04T12_14_48_510Z-debug.log
    [ERROR] ERROR: "cypress:run" exited with 1.
    [ERROR] npm ERR! code ELIFECYCLE
    [ERROR] npm ERR! errno 1
    [ERROR] npm ERR! [email protected] cypress:ci: `run-p --race start 
cypress:run`
    [ERROR] npm ERR! Exit status 1
    [ERROR] npm ERR! 
    [ERROR] npm ERR! Failed at the [email protected] cypress:ci 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!     
/home/travis/.npm/_logs/2018-10-04T12_14_48_594Z-debug.log
    [ERROR] npm ERR! code ELIFECYCLE
    [ERROR] npm ERR! errno 1
    [ERROR] npm ERR! [email protected] testCI: `ng test --watch=false 
--browsers=ChromeHeadless && npm run cypress:ci`
    [ERROR] npm ERR! Exit status 1
    [ERROR] npm ERR! 
    [ERROR] npm ERR! Failed at the [email protected] testCI 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!     
/home/travis/.npm/_logs/2018-10-04T12_14_48_607Z-debug.log
    [INFO] [?25h
    [INFO] 
------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO] 
    [INFO] metron-config ...................................... SUCCESS [03:59 
min]
    [INFO] metron-alerts ...................................... FAILURE [05:50 
min]
    [INFO] 
------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] 
------------------------------------------------------------------------
    [INFO] Total time: 09:50 min
    [INFO] Finished at: 2018-10-04T12:14:48+00:00
    [INFO] Final Memory: 26M/268M
    [INFO] 
------------------------------------------------------------------------
    [ERROR] Failed to execute goal 
com.github.eirslett:frontend-maven-plugin:1.3:npm (npm testCI) on project 
metron-alerts: Failed to run task: 'npm run testCI' failed. (error code 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 :metron-alerts
    ```


---

Reply via email to