The -DskipTests is to skip the Java test. It has no effect on the type of grunt rule to run. (which takes care of building the webapp)
On Thu, Nov 5, 2015 at 3:30 AM, Fengdong Yu <fengdo...@everstring.com> wrote: > I finally succeed on the Ubuntu VM. not use your PR > > > > > > On Nov 5, 2015, at 9:40 AM, Corneau Damien <cornead...@gmail.com> wrote: > > > > I guess I will have to make an Ubuntu VM then > > > > On Thu, Nov 5, 2015 at 2:38 AM, Fengdong Yu <fengdo...@everstring.com > <mailto:fengdo...@everstring.com>> wrote: > > HI, > > > > > > I tested your changes. the same failure. > > > > > > > >> On Nov 4, 2015, at 11:04 PM, Corneau Damien <cornead...@gmail.com > <mailto:cornead...@gmail.com>> wrote: > >> > >> Hi Feng, > >> > >> Can you try this PR to build? > >> https://github.com/apache/incubator-zeppelin/pull/390 < > https://github.com/apache/incubator-zeppelin/pull/390> > >> > >> On Wed, Nov 4, 2015 at 12:01 PM, Fengdong Yu <fengdo...@everstring.com > <mailto:fengdo...@everstring.com>> wrote: > >> Thanks for quick response. I tried ./grunt test: > >> > >> > >> Azuryy-MacBook-Pro:zeppelin-web root# ./grunt test > >> Running "clean:server" (clean) task > >> Cleaning .tmp...OK > >> > >> Running "wiredep:app" (wiredep) task > >> > >> Running "wiredep:test" (wiredep) task > >> > >> Running "concurrent:test" (concurrent) task > >> > >> Running "copy:styles" (copy) task > >> Copied 7 files > >> > >> Done, without errors. > >> > >> > >> Execution Time (2015-11-04 11:00:44 UTC) > >> loading tasks 4ms ▇▇▇▇▇▇▇▇▇ 18% > >> copy:styles 17ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 77% > >> Total 22ms > >> > >> Running "autoprefixer:dist" (autoprefixer) task > >> File .tmp/styles/custom-font.css created. > >> File .tmp/styles/font-awesome.min.css created. > >> File .tmp/styles/home.css created. > >> File .tmp/styles/interpreter.css created. > >> File .tmp/styles/notebook.css created. > >> File .tmp/styles/paragraph.css created. > >> File .tmp/styles/simple-line-icons.css created. > >> > >> Running "connect:test" (connect) task > >> Started connect web server on http://localhost:9001 < > http://localhost:9001/> > >> > >> Running "karma:unit" (karma) task > >> INFO [karma]: Karma v0.12.37 server started at http://localhost:9002/ < > http://localhost:9002/> > >> INFO [launcher]: Starting browser PhantomJS > >> INFO [PhantomJS 1.9.8 (Mac OS X 0.0.0)]: Connected on socket > zi8olL1GfBUBolyiJ_NB with id 81227152 > >> Warning: Task "karma:unit" failed. Use --force to continue. > >> > >> Aborted due to warnings. > >> > >> > >> Execution Time (2015-11-04 11:00:43 UTC) > >> wiredep:app 116ms ▇▇▇▇▇▇ 4% > >> concurrent:test 1.2s > ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 38% > >> autoprefixer:dist 175ms ▇▇▇▇▇▇▇▇▇ 5% > >> karma:unit 1.7s > ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ > 52% > >> Total 3.3s > >> > >> > >> > On Nov 4, 2015, at 6:55 PM, Corneau Damien <cornead...@gmail.com > <mailto:cornead...@gmail.com>> wrote: > >> > > >> > Just tried the Branch on Mac and didn't had any problems. > >> > That karma error appears a lot on Ubuntu lately. > >> > > >> > You can try running *./grunt test* inside zeppelin-web folder > >> > > >> > However I just realized that there is no number of test passed shown > for me > >> > anymore (when I run ./grunt test). > >> > So we might have so kind of problem with karma, I will try to look > into it > >> > > >> > On Wed, Nov 4, 2015 at 11:35 AM, Fengdong Yu < > fengdo...@everstring.com <mailto:fengdo...@everstring.com>> > >> > wrote: > >> > > >> >> HI Team, > >> >> > >> >> I build Zeppelin-0.5.5 on Mac failed. can you tell me the reason, > Thanks > >> >> for your input. > >> >> > >> >> [INFO] > >> >> > ------------------------------------------------------------------------ > >> >> [INFO] Building Zeppelin: web Application 0.5.5-incubating-SNAPSHOT > >> >> [INFO] > >> >> > ------------------------------------------------------------------------ > >> >> [INFO] > >> >> [INFO] --- maven-checkstyle-plugin:2.13:check > (checkstyle-fail-build) @ > >> >> zeppelin-web --- > >> >> [INFO] > >> >> [INFO] > >> >> [INFO] --- maven-resources-plugin:2.7:copy-resources > (copy-resources) @ > >> >> zeppelin-web --- > >> >> [INFO] Using 'UTF-8' encoding to copy filtered resources. > >> >> [INFO] Copying 17 resources > >> >> [INFO] > >> >> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce) @ > zeppelin-web --- > >> >> [INFO] > >> >> [INFO] --- frontend-maven-plugin:0.0.23:install-node-and-npm > (install node > >> >> and npm) @ zeppelin-web --- > >> >> [INFO] Node v0.10.22 is already installed. > >> >> [INFO] Found NPM version 1.3.8 > >> >> [INFO] > >> >> [INFO] --- frontend-maven-plugin:0.0.23:npm (npm install) @ > zeppelin-web > >> >> --- > >> >> [INFO] Running 'npm install --color=false' in > >> >> /Users/Azuryy/gitbase/incubator-zeppelin/zeppelin-web > >> >> [ERROR] npm WARN package.json mu2@0.5.20 No repository field. > >> >> [INFO] > >> >> [INFO] > fsevents@1.0.3 install > >> >> > /Users/Azuryy/gitbase/incubator-zeppelin/zeppelin-web/node_modules/fsevents > >> >> [INFO] > node-pre-gyp install --fallback-to-build > >> >> [INFO] > >> >> [ERROR] node-pre-gyp http GET > >> >> > https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.3/fse-v1.0.3-node-v11-darwin-x64.tar.gz > < > https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.3/fse-v1.0.3-node-v11-darwin-x64.tar.gz > > > >> >> [ERROR] node-pre-gyp http 200 > >> >> > https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.3/fse-v1.0.3-node-v11-darwin-x64.tar.gz > < > https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.3/fse-v1.0.3-node-v11-darwin-x64.tar.gz > > > >> >> [INFO] [fsevents] Success: > >> >> > "/Users/Azuryy/gitbase/incubator-zeppelin/zeppelin-web/node_modules/fsevents/lib/binding/Release/node-v11-darwin-x64/fse.node" > >> >> is installed via remote > >> >> [ERROR] npm WARN unmet dependency > >> >> > /Users/Azuryy/gitbase/incubator-zeppelin/zeppelin-web/node_modules/fsevents/node_modules/fstream-ignore > >> >> requires fstream@'~0.1.17' but will load > >> >> [ERROR] npm WARN unmet dependency > >> >> > /Users/Azuryy/gitbase/incubator-zeppelin/zeppelin-web/node_modules/fsevents/node_modules/fstream, > >> >> [ERROR] npm WARN unmet dependency which is version 1.0.8 > >> >> [INFO] > >> >> [INFO] --- frontend-maven-plugin:0.0.23:bower (bower install) @ > >> >> zeppelin-web --- > >> >> [INFO] Running 'bower --allow-root install' in > >> >> /Users/Azuryy/gitbase/incubator-zeppelin/zeppelin-web > >> >> [ERROR] bower perfect-scrollbar extra-resolution Unnecessary > resolution: > >> >> perfect-scrollbar#~0.5.4 > >> >> [INFO] > >> >> [INFO] --- frontend-maven-plugin:0.0.23:grunt (grunt build) @ > zeppelin-web > >> >> --- > >> >> [INFO] Running 'grunt --no-color' in > >> >> /Users/Azuryy/gitbase/incubator-zeppelin/zeppelin-web > >> >> [INFO] Running "newer:jshint" (newer) task > >> >> [INFO] > >> >> [INFO] Running "newer:jshint:all" (newer) task > >> >> [INFO] No newer files to process. > >> >> [INFO] > >> >> [INFO] Running "newer:jshint:test" (newer) task > >> >> [INFO] No newer files to process. > >> >> [INFO] > >> >> [INFO] Running "clean:server" (clean) task > >> >> [INFO] Cleaning .tmp...OK > >> >> [INFO] > >> >> [INFO] Running "wiredep:app" (wiredep) task > >> >> [INFO] > >> >> [INFO] Running "wiredep:test" (wiredep) task > >> >> [INFO] > >> >> [INFO] Running "concurrent:test" (concurrent) task > >> >> [INFO] > >> >> [INFO] Running "copy:styles" (copy) task > >> >> [INFO] Copied 7 files > >> >> [INFO] > >> >> [INFO] Done, without errors. > >> >> [INFO] > >> >> [INFO] > >> >> [INFO] Execution Time (2015-11-04 10:28:17 UTC) > >> >> [INFO] loading tasks 3ms ▇▇▇▇▇▇▇▇ 17% > >> >> [INFO] copy:styles 14ms > ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 78% > >> >> [INFO] Total 18ms > >> >> [INFO] > >> >> [INFO] Running "autoprefixer:dist" (autoprefixer) task > >> >> [INFO] File .tmp/styles/custom-font.css created. > >> >> [INFO] File .tmp/styles/font-awesome.min.css created. > >> >> [INFO] File .tmp/styles/home.css created. > >> >> [INFO] File .tmp/styles/interpreter.css created. > >> >> [INFO] File .tmp/styles/notebook.css created. > >> >> [INFO] File .tmp/styles/paragraph.css created. > >> >> [INFO] File .tmp/styles/simple-line-icons.css created. > >> >> [INFO] > >> >> [INFO] Running "connect:test" (connect) task > >> >> [INFO] Started connect web server on http://localhost:9001 < > http://localhost:9001/> > >> >> [INFO] > >> >> [INFO] Running "karma:unit" (karma) task > >> >> [INFO] INFO [karma]: Karma v0.12.37 server started at > >> >> http://localhost:9002/ <http://localhost:9002/> > >> >> [INFO] INFO [launcher]: Starting browser PhantomJS > >> >> [INFO] INFO [PhantomJS 1.9.8 (Mac OS X 0.0.0)]: Connected on socket > >> >> QWjbWxzFsIpryVBUCj33 with id 24822851 > >> >> *[INFO] Warning: Task "karma:unit" failed. Use --force to continue.* > >> >> [INFO] > >> >> [INFO] Aborted due to warnings. > >> >> [INFO] > >> >> [INFO] > >> >> [INFO] Execution Time (2015-11-04 10:28:16 UTC) > >> >> [INFO] wiredep:app 131ms ▇▇ 3% > >> >> [INFO] concurrent:test 1.3s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 33% > >> >> [INFO] autoprefixer:dist 147ms ▇▇ 4% > >> >> [INFO] karma:unit 2.3s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 59% > >> >> [INFO] Total 3.8s > >> >> [INFO] > >> >> [INFO] > >> >> > ------------------------------------------------------------------------ > >> >> [INFO] Reactor Summary: > >> >> [INFO] > >> >> [INFO] Zeppelin ........................................... SUCCESS [ > >> >> 2.378 s] > >> >> [INFO] Zeppelin: Interpreter .............................. SUCCESS [ > >> >> 1.478 s] > >> >> [INFO] Zeppelin: Zengine .................................. SUCCESS [ > >> >> 0.913 s] > >> >> [INFO] Zeppelin: Spark dependencies ....................... SUCCESS [ > >> >> 22.164 s] > >> >> [INFO] Zeppelin: Spark .................................... SUCCESS [ > >> >> 4.716 s] > >> >> [INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [ > >> >> 0.241 s] > >> >> [INFO] Zeppelin: Angular interpreter ...................... SUCCESS [ > >> >> 0.152 s] > >> >> [INFO] Zeppelin: Shell interpreter ........................ SUCCESS [ > >> >> 0.155 s] > >> >> [INFO] Zeppelin: Hive interpreter ......................... SUCCESS [ > >> >> 1.168 s] > >> >> [INFO] Zeppelin: Apache Phoenix Interpreter ............... SUCCESS [ > >> >> 2.082 s] > >> >> [INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [ > >> >> 0.180 s] > >> >> [INFO] Zeppelin: Tajo interpreter ......................... SUCCESS [ > >> >> 0.288 s] > >> >> [INFO] Zeppelin: Flink .................................... SUCCESS [ > >> >> 0.803 s] > >> >> [INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [ > >> >> 0.206 s] > >> >> [INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [ > >> >> 0.176 s] > >> >> [INFO] Zeppelin: Lens interpreter ......................... SUCCESS [ > >> >> 0.827 s] > >> >> [INFO] Zeppelin: Cassandra ................................ SUCCESS [ > >> >> 2.273 s] > >> >> [INFO] Zeppelin: web Application .......................... FAILURE [ > >> >> 9.626 s] > >> >> [INFO] Zeppelin: Server ................................... SKIPPED > >> >> [INFO] Zeppelin: Packaging distribution ................... SKIPPED > >> >> [INFO] > >> >> > ------------------------------------------------------------------------ > >> >> [INFO] BUILD FAILURE > >> >> [INFO] > >> >> > ------------------------------------------------------------------------ > >> >> [INFO] Total time: 50.277 s > >> >> [INFO] Finished at: 2015-11-04T18:28:20+08:00 > >> >> [INFO] Final Memory: 76M/1546M > >> >> [INFO] > >> >> > ------------------------------------------------------------------------ > >> >> [ERROR] Failed to execute goal > >> >> com.github.eirslett:frontend-maven-plugin:0.0.23:grunt (grunt build) > on > >> >> project zeppelin-web: Failed to run task: 'grunt --no-color' failed. > (error > >> >> code 3) -> [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 < > 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 :zeppelin-web > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> > >> > > > > > >