tiborm commented on issue #1350: METRON-2023 [UI] Covering Grok Parser Creation with Cypress tests URL: https://github.com/apache/metron/pull/1350#issuecomment-469712052 @sardell Our build jobs started to fail at some point. The cause of the failure was that mvn install was unable to execute unzipping in Cypress post install script without a mysterious error. Few other guys experienced similar [issues](https://github.com/cypress-io/cypress/issues/3515). I found no other way to fix failing mvn install step other than removing maven-frontend-plugin and migrating to bash scripts. I intentionally left a branch which contains all changes (tests, simplified test server, npm script normalization, removal of extra dependencies, node/npm version bump etc.) and still failing. Because nvm install step failing all other build job fails too most of the time. U can check it here: https://travis-ci.org/tiborm/metron/builds/500373545 I found no reason for using maven-frontend-plugin. - It creates a very uncommon execution environment to our build and our tests (node, npm installed by it an also all the following npm scripts). I doubt that any npm module developer tests their install/build process against having this plugin around it. - It adds extra complexity to the UI projects compared to node version manager supported by Travis natively (even in a language: java setup). - I also experienced that it slows down the test execution on my local machine. I found cypress reacted on the issue at the time I writeing this. But not yet proven fix out there.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
