[Builder] Build failed in Jenkins: Ballerina Platform » ballerina » Ballerina - Examples Test #3221

cbuilder at wso2.org cbuilder at wso2.org
Tue Jan 8 19:30:14 PST 2019


See <https://wso2.org/jenkins/job/ballerina-platform/job/ballerina/org.ballerinalang$examples-test/3221/display/redirect>

------------------------------------------
[...truncated 34.10 KB...]
    ./target/websocket-proxy-server.balx
Compiling source
    ballerina-examples/websocket-chat-application:0.0.1

Running tests
    ballerina-examples/websocket-chat-application:0.0.1
	No tests found

Generating executable
    ./target/websocket-chat-application.balx
Compiling source
    ballerina-examples/header-based-routing:0.0.1

Running tests
    ballerina-examples/header-based-routing:0.0.1
[ballerina/http] started HTTP/WS endpoint 0.0.0.0:9090
	[pass] testFunc

	1 passing
	0 failing
	0 skipped

Generating executable
    ./target/header-based-routing.balx
Compiling source
    ballerina-examples/passthrough:0.0.1

Running tests
    ballerina-examples/passthrough:0.0.1
	No tests found

Generating executable
    ./target/passthrough.balx
Compiling source
    ballerina-examples/content-based-routing:0.0.1

Running tests
    ballerina-examples/content-based-routing:0.0.1
[ballerina/http] started HTTP/WS endpoint 0.0.0.0:9090
	[pass] testFunc

	1 passing
	0 failing
	0 skipped

Generating executable
    ./target/content-based-routing.balx
Compiling source
    ballerina-examples/http-circuit-breaker:0.0.1

Running tests
    ballerina-examples/http-circuit-breaker:0.0.1
[ballerina/http] started HTTP/WS endpoint 0.0.0.0:8080
[ballerina/http] started HTTP/WS endpoint 0.0.0.0:9090
2019-01-09 03:28:39,812 INFO  [ballerina/http] - CircuitBreaker failure threshold exceeded. Circuit tripped from CLOSE to OPEN state. 
Reached
	[pass] testFunc

	1 passing
	0 failing
	0 skipped

Generating executable
    ./target/http-circuit-breaker.balx
Compiling source
    ballerina-examples/http-load-balancer:0.0.1

Running tests
    ballerina-examples/http-load-balancer:0.0.1
[ballerina/http] started HTTP/WS endpoint 0.0.0.0:8080
[ballerina/http] started HTTP/WS endpoint 0.0.0.0:9090
	[pass] testFunc

	1 passing
	0 failing
	0 skipped

Generating executable
    ./target/http-load-balancer.balx
Compiling source
    ballerina-examples/http-retry:0.0.1

Running tests
    ballerina-examples/http-retry:0.0.1
[ballerina/http] started HTTP/WS endpoint 0.0.0.0:8080
[ballerina/http] started HTTP/WS endpoint 0.0.0.0:9090
2019-01-09 03:28:46,114 INFO  [ballerina-examples/http-retry] - Request received from the client to delayed service. 
2019-01-09 03:28:51,141 INFO  [ballerina-examples/http-retry] - Request received from the client to delayed service. 
2019-01-09 03:28:51,144 ERROR [ballerina-examples/http-retry] - Error sending response from mock service : {ballerina/http}HTTPError {message:"Connection between remote client and host is closed"} 
2019-01-09 03:28:56,146 ERROR [ballerina-examples/http-retry] - Error sending response from mock service : {ballerina/http}HTTPError {message:"Connection between remote client and host is closed"} 
2019-01-09 03:28:59,149 INFO  [ballerina-examples/http-retry] - Request received from the client to delayed service. 
2019-01-09 03:29:04,153 ERROR [ballerina-examples/http-retry] - Error sending response from mock service : {ballerina/http}HTTPError {message:"Connection between remote client and host is closed"} 
2019-01-09 03:29:13,158 INFO  [ballerina-examples/http-retry] - Request received from the client to healthy service. 
	[pass] testFunc

	1 passing
	0 failing
	0 skipped

Generating executable
    ./target/http-retry.balx
Compiling source
    ballerina-examples/http-timeout:0.0.1

Running tests
    ballerina-examples/http-timeout:0.0.1
	No tests found

Generating executable
    ./target/http-timeout.balx
Compiling source
    ballerina-examples/websub-internal-hub-sample:0.0.1

Running tests
    ballerina-examples/websub-internal-hub-sample:0.0.1
	No tests found

Generating executable
    ./target/websub-internal-hub-sample.balx
Compiling source
    ballerina-examples/websub-service-integration-sample:0.0.1

Running tests
    ballerina-examples/websub-service-integration-sample:0.0.1
	No tests found

Generating executable
    ./target/websub-service-integration-sample.balx
Compiling source
    ballerina-examples/directory-listener:0.0.1

Running tests
    ballerina-examples/directory-listener:0.0.1
	No tests found

Generating executable
    ./target/directory-listener.balx
Compiling source
    ballerina-examples/h2-client:0.0.1

Running tests
    ballerina-examples/h2-client:0.0.1
	No tests found

Generating executable
    ./target/h2-client.balx
Compiling source
    ballerina-examples/mysql-client:0.0.1

Running tests
    ballerina-examples/mysql-client:0.0.1
	No tests found

Generating executable
    ./target/mysql-client.balx
Compiling source
    ballerina-examples/grpc-unary-blocking:0.0.1

Running tests
    ballerina-examples/grpc-unary-blocking:0.0.1
[ballerina/grpc] started HTTP/WS endpoint 0.0.0.0:9090
2019-01-09 03:29:31,023 INFO  [ballerina-examples/grpc-unary-blocking] - Server received hello from WSO2 
2019-01-09 03:29:31,026 INFO  [ballerina-examples/grpc-unary-blocking] - Server received header value: Request Header Value 
	[pass] testUnaryBlockingService

	1 passing
	0 failing
	0 skipped

Generating executable
    ./target/grpc-unary-blocking.balx
Compiling source
    ballerina-examples/grpc-unary-non-blocking:0.0.1

Running tests
    ballerina-examples/grpc-unary-non-blocking:0.0.1
[ballerina/grpc] started HTTP/WS endpoint 0.0.0.0:9090
Connected successfully
2019-01-09 03:29:35,190 INFO  [ballerina-examples/grpc-unary-non-blocking] - Server received hello from WSO2 
Server Complete Sending Response.
	[pass] testUnaryNonBlockingClient

	1 passing
	0 failing
	0 skipped

Generating executable
    ./target/grpc-unary-non-blocking.balx
Compiling source
    ballerina-examples/grpc-server-streaming:0.0.1

Running tests
    ballerina-examples/grpc-server-streaming:0.0.1
[ballerina/grpc] started HTTP/WS endpoint 0.0.0.0:9090
Connected successfully
2019-01-09 03:29:39,047 INFO  [ballerina-examples/grpc-server-streaming] - Server received hello from Sam 
2019-01-09 03:29:39,053 INFO  [ballerina-examples/grpc-server-streaming] - Send reply: Hi Sam 
2019-01-09 03:29:39,054 INFO  [ballerina-examples/grpc-server-streaming] - Send reply: Hey Sam 
2019-01-09 03:29:39,055 INFO  [ballerina-examples/grpc-server-streaming] - Send reply: GM Sam 
Server Complete Sending Response.
	[fail] testServerStreamingService:
	    error: Assertion Failed!: expected '3' but found '2' {}
	    	at ballerina/test:createBallerinaError(assert.bal:42)
	    	ballerina/test:assertEquals(assert.bal:83)
	    	ballerina-examples/grpc-server-streaming:0.0.1:testServerStreamingService(tests/grpc_server_streaming_test.bal:32)

	0 passing
	1 failing
	0 skipped

[ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
	at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
	at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
	at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:804)
	at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:751)
	at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:313)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	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:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
	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:498)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:181)
	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:498)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:133)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:68)
	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
	at hudson.remoting.Request$2.run(Request.java:336)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)


More information about the Builder mailing list