Recent Changes - Search:

edit SideBar

Testing

One of the steps in Building is to run

  mvn3 clean install

which runs tests.

Failures

Below is a discussion of test failures.

Tests run: 16, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 22.305 sec <<< FAILURE! - in io.vertx.test.core.StarterTest
testRunVerticleWithConfFile(io.vertx.test.core.StarterTest)  Time elapsed: 2.225 sec  <<< ERROR!
java.lang.IllegalStateException: failed to create a child event loop
        at sun.nio.ch.IOUtil.makePipe(Native Method)
        at sun.nio.ch.KQueueSelectorImpl.<init>(KQueueSelectorImpl.java:84)
        at sun.nio.ch.KQueueSelectorProvider.openSelector(KQueueSelectorProvider.java:42)
        at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:126)
        at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:120)
        at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:87)
        at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:64)
        at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:49)
        at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:61)
        at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:52)
        at io.vertx.core.impl.VertxImpl.<init>(VertxImpl.java:126)
        at io.vertx.core.impl.VertxImpl.<init>(VertxImpl.java:115)
        at io.vertx.core.impl.VertxFactoryImpl.vertx(VertxFactoryImpl.java:42)
        at io.vertx.core.Vertx.vertx(Vertx.java:89)
        at io.vertx.core.Starter.startVertx(Starter.java:253)
        at io.vertx.core.Starter.runVerticle(Starter.java:276)
        at io.vertx.core.Starter.run(Starter.java:130)
        at io.vertx.core.Starter.run(Starter.java:120)
        at io.vertx.test.core.StarterTest$MyStarter.run(StarterTest.java:320)
        at io.vertx.test.core.StarterTest.testRunVerticleWithConfFile(StarterTest.java:168)

testRunVerticleWithMainVerticleInManifestNoArgs(io.vertx.test.core.StarterTest)  Time elapsed: 2.223 sec  <<< ERROR!
java.lang.IllegalStateException: failed to create a child event loop
        at sun.nio.ch.IOUtil.makePipe(Native Method)
        at sun.nio.ch.KQueueSelectorImpl.<init>(KQueueSelectorImpl.java:84)
        at sun.nio.ch.KQueueSelectorProvider.openSelector(KQueueSelectorProvider.java:42)
        at io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:126)
        at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:120)
        at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:87)
        at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:64)
        at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:49)
        at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:61)
        at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:52)
        at io.vertx.core.impl.VertxImpl.<init>(VertxImpl.java:126)
        at io.vertx.core.impl.VertxImpl.<init>(VertxImpl.java:115)
        at io.vertx.core.impl.VertxFactoryImpl.vertx(VertxFactoryImpl.java:42)
        at io.vertx.core.Vertx.vertx(Vertx.java:89)
        at io.vertx.core.Starter.startVertx(Starter.java:253)
        at io.vertx.core.Starter.runVerticle(Starter.java:276)
        at io.vertx.core.Starter.run(Starter.java:130)
        at io.vertx.core.Starter.run(Starter.java:120)
        at io.vertx.test.core.StarterTest$MyStarter.run(StarterTest.java:320)
        at io.vertx.test.core.StarterTest.testRunVerticleWithMainVerticleInManifestNoArgs(StarterTest.java:123)
 

Searching around, it seems like it could be a ulimit problem, or it could be an anti-virus issue.

In my case, rebooting seemed to help.

Back to Vert.x

Edit - History - Print - Recent Changes - Search
Page last modified on November 09, 2015, at 11:22 PM