Skip to content

Instantly share code, notes, and snippets.

@cescoffier
Created June 30, 2015 07:52
Show Gist options
  • Save cescoffier/958e16a3202fe871c003 to your computer and use it in GitHub Desktop.
Save cescoffier/958e16a3202fe871c003 to your computer and use it in GitHub Desktop.
worker#ruby.md
## worker - ruby
* Status: FAILURE
* Execution time: 7128 ms
* Run File: /Users/clement/Projects/vert.x/vertx-integration-tests/vertx-examples-it/target/it/core-examples/core-worker-run.json
### Run and Execution
* Run: worker
* Execution: ruby
* Execution time: 7128 ms
* Run total time: 28359 ms
### Error and Failures
```
RunFailureException: The post-run script did not succeed. Text `Exception` found in the error stream
org.apache.maven.shared.scriptinterpreter.RunFailureException: The post-run script did not succeed. Text `Exception` found in the error stream
at org.apache.maven.shared.scriptinterpreter.ScriptRunner.executeRun(ScriptRunner.java:270)
at org.apache.maven.shared.scriptinterpreter.ScriptRunner.run(ScriptRunner.java:177)
at io.vertx.it.plugin.Execution.execute(Execution.java:118)
at io.vertx.it.plugin.Run.execute(Run.java:59)
at io.vertx.it.plugin.VertxITMojo.execute(VertxITMojo.java:133)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
```
### Outputs
**Standard Output**:
```
[Main] Running in vert.x-eventloop-thread-2
[Worker] Starting in vert.x-worker-thread-0
[Worker] Consuming data in vert.x-worker-thread-1
```
** Standard Error**:
```
Thread Thread[vert.x-eventloop-thread-2,5,main] has been blocked for 2498 ms, time limit is 2000
Thread Thread[vert.x-eventloop-thread-2,5,main] has been blocked for 3503 ms, time limit is 2000
Succeeded in deploying verticle
Unhandled exception
org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `to_string' for "HELLO VERT.X":String
at RUBY.Mod___VertxInternalVert__1(main_verticle.rb:8)
at RUBY.send(file:/Users/clement/Projects/vert.x/vertx-stack/stack-dist/target/vertx-full/lib/vertx-lang-ruby-3.1.0-20150623.233900-2.jar!/vertx/event_bus.rb:48)
at org.jruby.gen.InterfaceImpl1154591167.handle(org/jruby/gen/InterfaceImpl1154591167.gen:13)
```
**Post-Run Script**:
```
Running post-run script: /Users/clement/Projects/vert.x/vertx-integration-tests/vertx-examples-it/target/it/core-examples/worker-check.groovy
java.lang.AssertionError: Text `Exception` found in the error stream
at io.vertx.it.plugin.GroovyScriptHelper.ensureTextNotContainedInErrorStream(GroovyScriptHelper.java:94)
at io.vertx.it.plugin.GroovyScriptHelper$ensureTextNotContainedInErrorStream$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at Script1.run(Script1.groovy:2)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:589)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:627)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:598)
at org.apache.maven.shared.scriptinterpreter.GroovyScriptInterpreter.evaluateScript(GroovyScriptInterpreter.java:83)
at org.apache.maven.shared.scriptinterpreter.ScriptRunner.executeRun(ScriptRunner.java:249)
at org.apache.maven.shared.scriptinterpreter.ScriptRunner.run(ScriptRunner.java:177)
at io.vertx.it.plugin.Execution.execute(Execution.java:118)
at io.vertx.it.plugin.Run.execute(Run.java:59)
at io.vertx.it.plugin.VertxITMojo.execute(VertxITMojo.java:133)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment