[Builder] Build failed in Jenkins: product-microgateway #2

cbuilder at wso2.org cbuilder at wso2.org
Wed Jun 13 00:21:16 PDT 2018


See <http://54.169.129.84:8080/jenkins/job/product-microgateway/2/display/redirect>

------------------------------------------
[...truncated 525.46 KB...]
[INFO] Building zip: <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/distribution/target/wso2am-micro-gw-1.0.0-SNAPSHOT.zip>
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ wso2am-micro-gw ---
[INFO] Installing <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/distribution/pom.xml> to <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/.repository/org/wso2/am/microgw/wso2am-micro-gw/1.0.0-SNAPSHOT/wso2am-micro-gw-1.0.0-SNAPSHOT.pom>
[INFO] Installing <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/distribution/target/wso2am-micro-gw-1.0.0-SNAPSHOT.zip> to <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/.repository/org/wso2/am/microgw/wso2am-micro-gw/1.0.0-SNAPSHOT/wso2am-micro-gw-1.0.0-SNAPSHOT.zip>
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Micro-GW - Test Integration 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/slf4j/slf4j-jdk14/1.7.22/slf4j-jdk14-1.7.22.pom
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/slf4j/slf4j-jdk14/1.7.22/slf4j-jdk14-1.7.22.pom
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/org/slf4j/slf4j-jdk14/1.7.22/slf4j-jdk14-1.7.22.pom (1008 B at 246.1 KB/sec)
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/apache/mina/mina-core/2.0.16/mina-core-2.0.16.pom
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/mina/mina-core/2.0.16/mina-core-2.0.16.pom
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/mina/mina-core/2.0.16/mina-core-2.0.16.pom (7 KB at 1528.6 KB/sec)
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/apache/mina/mina-parent/2.0.16/mina-parent-2.0.16.pom
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/mina/mina-parent/2.0.16/mina-parent-2.0.16.pom
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/mina/mina-parent/2.0.16/mina-parent-2.0.16.pom (33 KB at 8148.2 KB/sec)
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/awaitility/awaitility/3.0.0/awaitility-3.0.0.pom
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/awaitility/awaitility/3.0.0/awaitility-3.0.0.pom
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/org/awaitility/awaitility/3.0.0/awaitility-3.0.0.pom (4 KB at 762.5 KB/sec)
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/awaitility/awaitility-parent/3.0.0/awaitility-parent-3.0.0.pom
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/awaitility/awaitility-parent/3.0.0/awaitility-parent-3.0.0.pom
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/org/awaitility/awaitility-parent/3.0.0/awaitility-parent-3.0.0.pom (10 KB at 1369.0 KB/sec)
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.pom
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.pom
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.pom (820 B at 160.2 KB/sec)
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/objenesis/objenesis/2.5.1/objenesis-2.5.1.pom
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/objenesis/objenesis/2.5.1/objenesis-2.5.1.pom
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/org/objenesis/objenesis/2.5.1/objenesis-2.5.1.pom (3 KB at 453.3 KB/sec)
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/objenesis/objenesis-parent/2.5.1/objenesis-parent-2.5.1.pom
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/objenesis/objenesis-parent/2.5.1/objenesis-parent-2.5.1.pom
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/org/objenesis/objenesis-parent/2.5.1/objenesis-parent-2.5.1.pom (17 KB at 4033.9 KB/sec)
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/com/google/guava/guava/23.0/guava-23.0.jar
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/com/google/errorprone/error_prone_annotations/2.0.18/error_prone_annotations-2.0.18.jar
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/apache/mina/mina-core/2.0.16/mina-core-2.0.16.jar
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/slf4j/slf4j-jdk14/1.7.22/slf4j-jdk14-1.7.22.jar
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/ballerinalang/ballerina-http/0.974.0/ballerina-http-0.974.0.jar
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/awaitility/awaitility/3.0.0/awaitility-3.0.0.jar
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar
[INFO] Downloading: http://maven.wso2.org/nexus/content/repositories/releases/org/objenesis/objenesis/2.5.1/objenesis-2.5.1.jar
[INFO] Downloaded: http://maven.wso2.org/nexus/content/repositories/releases/org/ballerinalang/ballerina-http/0.974.0/ballerina-http-0.974.0.jar (403 KB at 23663.5 KB/sec)
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/com/google/guava/guava/23.0/guava-23.0.jar
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/com/google/errorprone/error_prone_annotations/2.0.18/error_prone_annotations-2.0.18.jar
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/slf4j/slf4j-jdk14/1.7.22/slf4j-jdk14-1.7.22.jar
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/org/slf4j/slf4j-jdk14/1.7.22/slf4j-jdk14-1.7.22.jar (9 KB at 1377.1 KB/sec)
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/mina/mina-core/2.0.16/mina-core-2.0.16.jar
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar (9 KB at 1225.2 KB/sec)
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/awaitility/awaitility/3.0.0/awaitility-3.0.0.jar
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/com/google/errorprone/error_prone_annotations/2.0.18/error_prone_annotations-2.0.18.jar (12 KB at 1310.5 KB/sec)
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar (4 KB at 377.8 KB/sec)
[INFO] Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/objenesis/objenesis/2.5.1/objenesis-2.5.1.jar
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar (52 KB at 3701.9 KB/sec)
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/org/awaitility/awaitility/3.0.0/awaitility-3.0.0.jar (91 KB at 6466.0 KB/sec)
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/org/objenesis/objenesis/2.5.1/objenesis-2.5.1.jar (54 KB at 3541.1 KB/sec)
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/mina/mina-core/2.0.16/mina-core-2.0.16.jar (637 KB at 39754.6 KB/sec)
[INFO] Downloaded: http://maven.wso2.org/nexus/content/groups/wso2-public/com/google/guava/guava/23.0/guava-23.0.jar (2554 KB at 91193.8 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ test-integration ---
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:unpack-dependencies (unpack-dependencies) @ test-integration ---
[INFO] Unpacking <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/.repository/org/ballerinalang/ballerina-builtin/0.974.0/ballerina-builtin-0.974.0-ballerina-binary-repo.zip> to <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/lib> with includes "" and excludes ""
[INFO] Unpacking <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/.repository/org/ballerinalang/ballerina-mime/0.974.0/ballerina-mime-0.974.0-ballerina-binary-repo.zip> to <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/lib> with includes "" and excludes ""
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ test-integration ---
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/src/main/resources>
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ test-integration ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ test-integration ---
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 10 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ test-integration ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] Compiling 15 source files to <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/test-classes>
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/.repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]>
SLF4J: Found binding in [jar:<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/.repository/org/slf4j/slf4j-simple/1.7.22/slf4j-simple-1.7.22.jar!/org/slf4j/impl/StaticLoggerBinder.class]>
SLF4J: Found binding in [jar:<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/.repository/org/slf4j/slf4j-jdk14/1.7.22/slf4j-jdk14-1.7.22.jar!/org/slf4j/impl/StaticLoggerBinder.class]>
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
[INFO] <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/src/test/java/org/wso2/micro/gateway/tests/util/HttpsClientRequest.java>: Some input files use unchecked or unsafe operations.
[INFO] <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/src/test/java/org/wso2/micro/gateway/tests/util/HttpsClientRequest.java>: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ test-integration ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/.repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]>
SLF4J: Found binding in [jar:<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/.repository/org/slf4j/slf4j-simple/1.7.22/slf4j-simple-1.7.22.jar!/org/slf4j/impl/StaticLoggerBinder.class]>
SLF4J: Found binding in [jar:<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/.repository/org/slf4j/slf4j-jdk14/1.7.22/slf4j-jdk14-1.7.22.jar!/org/slf4j/impl/StaticLoggerBinder.class]>
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
2018-06-13 07:20:36 INFO  ServerInstance:365 - Extracting micro-gw zip file.. 
2018-06-13 07:20:38 INFO  ServerInstance:165 - Server Home <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/micro-gwtmp1528874436917/wso2am-micro-gw-1.0.0-SNAPSHOT>
2018-06-13 07:20:38 INFO  Utils:142 - Port 9070 is closed and available for use
2018-06-13 07:20:38 INFO  ServerInstance:143 - Starting server..
2018-06-13 07:20:38 INFO  ServerInstance:152 - Waiting for port 9070 to open
2018-06-13 07:20:42 INFO  ServerLogReader:114 - could not find package wso2/gateway:*
2018-06-13 07:20:42 INFO  ServerLogReader:114 - ballerina: initiating service(s) in 'common_backend.bal'
2018-06-13 07:20:42 INFO  ServerLogReader:114 - ballerina: started HTTPS/WSS endpoint localhost:9076
2018-06-13 07:20:42 INFO  ServerLogReader:114 - ballerina: started HTTP/WS endpoint localhost:9070
2018-06-13 07:20:43 INFO  ServerInstance:154 - Server Started Successfully.

// Start Running AuthenticationFailureTestCase ...

2018-06-13 07:20:43 INFO  ServerInstance:365 - Extracting micro-gw zip file.. 
2018-06-13 07:20:45 INFO  ServerInstance:165 - Server Home <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/micro-gwtmp1528874443639/wso2am-micro-gw-1.0.0-SNAPSHOT>
2018-06-13 07:20:45 INFO  ServerInstance:365 - Extracting micro-gw zip file.. 
2018-06-13 07:20:46 INFO  ServerInstance:165 - Server Home <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/micro-gwtmp1528874445177/wso2am-micro-gw-1.0.0-SNAPSHOT>
2018-06-13 07:20:46 INFO  Utils:142 - Port 9090 is closed and available for use
2018-06-13 07:20:46 INFO  ServerInstance:143 - Starting server..
2018-06-13 07:20:46 INFO  ServerInstance:152 - Waiting for port 9090 to open
2018-06-13 07:20:50 INFO  ServerLogReader:114 - could not find package wso2/gateway:*
2018-06-13 07:20:51 INFO  ServerLogReader:114 - ballerina: initiating service(s) in 'pizza_shack_api.bal'
2018-06-13 07:20:51 INFO  ServerLogReader:114 - ballerina: started HTTPS/WSS endpoint localhost:9096
2018-06-13 07:20:51 INFO  ServerLogReader:114 - ballerina: started HTTP/WS endpoint localhost:9090
2018-06-13 07:20:51 INFO  ServerInstance:154 - Server Started Successfully.
2018-06-13 07:20:51 INFO  AuthenticationFailureTestCase:57 - testWithInvalidScopes: RUNNING
2018-06-13 07:20:51 INFO  Utils:142 - Port 9943 is closed and available for use
2018-06-13 07:20:51 INFO  ServerInstance:143 - Starting server..
2018-06-13 07:20:51 INFO  ServerInstance:152 - Waiting for port 9943 to open
2018-06-13 07:20:53 INFO  ServerLogReader:114 - ballerina: initiating service(s) in 'unauthorized.bal'
2018-06-13 07:20:53 INFO  ServerLogReader:114 - ballerina: started HTTP/WS endpoint 0.0.0.0:9943
2018-06-13 07:20:54 INFO  ServerInstance:154 - Server Started Successfully.
2018-06-13 07:20:55 INFO  ServerInstance:177 - Stopping server..
2018-06-13 07:20:55 INFO  ServerInstance:446 - Output of the PID extraction command : users:(("java",689,523))

2018-06-13 07:20:55 INFO  ServerInstance:466 - Server process id in Linux : 689
2018-06-13 07:20:55 INFO  Utils:139 - Successfully connected to the server on port 9943
2018-06-13 07:20:56 INFO  Utils:142 - Port 9943 is closed and available for use
2018-06-13 07:20:56 INFO  ServerInstance:206 - Server Stopped Successfully
2018-06-13 07:20:56 INFO  AuthenticationFailureTestCase:64 - testWithInvalidScopes: PASSED
2018-06-13 07:20:56 INFO  AuthenticationFailureTestCase:57 - testWithInvalidSubscription: RUNNING
2018-06-13 07:20:56 INFO  Utils:142 - Port 9943 is closed and available for use
2018-06-13 07:20:56 INFO  ServerInstance:143 - Starting server..
2018-06-13 07:20:56 INFO  ServerInstance:152 - Waiting for port 9943 to open
2018-06-13 07:20:57 INFO  ServerLogReader:114 - ballerina: initiating service(s) in 'invalid_subscription.bal'
2018-06-13 07:20:57 INFO  ServerLogReader:114 - ballerina: started HTTP/WS endpoint 0.0.0.0:9943
2018-06-13 07:20:58 INFO  ServerInstance:154 - Server Started Successfully.
2018-06-13 07:20:58 INFO  ServerInstance:177 - Stopping server..
2018-06-13 07:20:58 INFO  ServerInstance:446 - Output of the PID extraction command : users:(("java",754,523))

2018-06-13 07:20:58 INFO  ServerInstance:466 - Server process id in Linux : 754
2018-06-13 07:20:58 INFO  Utils:139 - Successfully connected to the server on port 9943
2018-06-13 07:20:59 INFO  Utils:142 - Port 9943 is closed and available for use
2018-06-13 07:20:59 INFO  ServerInstance:206 - Server Stopped Successfully
2018-06-13 07:20:59 INFO  AuthenticationFailureTestCase:64 - testWithInvalidSubscription: PASSED
2018-06-13 07:20:59 INFO  AuthenticationFailureTestCase:57 - testWithInvalidToken: RUNNING
2018-06-13 07:20:59 INFO  Utils:142 - Port 9943 is closed and available for use
2018-06-13 07:20:59 INFO  ServerInstance:143 - Starting server..
2018-06-13 07:20:59 INFO  ServerInstance:152 - Waiting for port 9943 to open
2018-06-13 07:21:01 INFO  ServerLogReader:114 - ballerina: initiating service(s) in 'unauthenticated.bal'
2018-06-13 07:21:01 INFO  ServerLogReader:114 - ballerina: started HTTP/WS endpoint 0.0.0.0:9943
2018-06-13 07:21:01 INFO  ServerInstance:154 - Server Started Successfully.
2018-06-13 07:21:01 INFO  ServerInstance:177 - Stopping server..
2018-06-13 07:21:01 INFO  ServerInstance:446 - Output of the PID extraction command : users:(("java",816,523))

2018-06-13 07:21:01 INFO  ServerInstance:466 - Server process id in Linux : 816
2018-06-13 07:21:01 INFO  Utils:139 - Successfully connected to the server on port 9943
2018-06-13 07:21:02 INFO  Utils:142 - Port 9943 is closed and available for use
2018-06-13 07:21:02 INFO  ServerInstance:206 - Server Stopped Successfully
2018-06-13 07:21:02 INFO  AuthenticationFailureTestCase:64 - testWithInvalidToken: PASSED
2018-06-13 07:21:02 INFO  AuthenticationFailureTestCase:57 - testWithoutAuthHeader: RUNNING
2018-06-13 07:21:02 ERROR ServerLogReader:116 - 2018-06-13 07:21:02,304 ERROR [wso2.gateway] - No authorization header was provided 
2018-06-13 07:21:02 INFO  AuthenticationFailureTestCase:64 - testWithoutAuthHeader: PASSED
2018-06-13 07:21:02 INFO  ServerInstance:177 - Stopping server..
2018-06-13 07:21:02 INFO  ServerInstance:446 - Output of the PID extraction command : users:(("java",624,543))

2018-06-13 07:21:02 INFO  ServerInstance:466 - Server process id in Linux : 624
2018-06-13 07:21:02 INFO  Utils:142 - Port 9090 is closed and available for use
2018-06-13 07:21:02 INFO  ServerInstance:206 - Server Stopped Successfully
2018-06-13 07:21:02 INFO  ServerInstance:177 - Stopping server..
2018-06-13 07:21:02 INFO  ServerInstance:446 - Output of the PID extraction command : users:(("java",559,537))

2018-06-13 07:21:02 INFO  ServerInstance:466 - Server process id in Linux : 559
2018-06-13 07:21:02 INFO  Utils:142 - Port 9070 is closed and available for use
2018-06-13 07:21:02 INFO  ServerInstance:206 - Server Stopped Successfully
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.777 sec - in TestSuite

Results :

Tests run: 4, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ test-integration ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/test-integration-1.0.0-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ test-integration ---
[INFO] Installing <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/test-integration-1.0.0-SNAPSHOT.jar> to <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/.repository/org/wso2/am/microgw/test-integration/1.0.0-SNAPSHOT/test-integration-1.0.0-SNAPSHOT.jar>
[INFO] Installing <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/pom.xml> to <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/.repository/org/wso2/am/microgw/test-integration/1.0.0-SNAPSHOT/test-integration-1.0.0-SNAPSHOT.pom>
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Micro Gateway - Parent ............................. SUCCESS [  1.114 s]
[INFO] Micro Gateway Components ........................... SUCCESS [  0.102 s]
[INFO] org.wso2.micro.gateway.core ........................ SUCCESS [ 39.388 s]
[INFO] Micro Gateway Code Generator ....................... SUCCESS [  8.369 s]
[INFO] WSO2 Micro Gateway - Distribution .................. SUCCESS [ 50.446 s]
[INFO] Micro-GW - Test Integration ........................ SUCCESS [ 28.206 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:15 min
[INFO] Finished at: 2018-06-13T07:21:04+00:00
[INFO] Final Memory: 58M/470M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/components/micro-gateway-core/pom.xml> to org.wso2.am.microgw/org.wso2.micro.gateway.core/1.0.0-SNAPSHOT/org.wso2.micro.gateway.core-1.0.0-SNAPSHOT.pom
[JENKINS] Archiving <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/components/micro-gateway-core/target/org.wso2.micro.gateway.core-1.0.0-SNAPSHOT.jar> to org.wso2.am.microgw/org.wso2.micro.gateway.core/1.0.0-SNAPSHOT/org.wso2.micro.gateway.core-1.0.0-SNAPSHOT.jar
[JENKINS] Archiving <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/components/micro-gateway-core/target/org.wso2.micro.gateway.core-1.0.0-SNAPSHOT-micro-gw-binary-repo.zip> to org.wso2.am.microgw/org.wso2.micro.gateway.core/1.0.0-SNAPSHOT/org.wso2.micro.gateway.core-1.0.0-SNAPSHOT-micro-gw-binary-repo.zip
[JENKINS] Archiving <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/components/micro-gateway-core/target/org.wso2.micro.gateway.core-1.0.0-SNAPSHOT-ballerina-gateway-sources.zip> to org.wso2.am.microgw/org.wso2.micro.gateway.core/1.0.0-SNAPSHOT/org.wso2.micro.gateway.core-1.0.0-SNAPSHOT-ballerina-gateway-sources.zip
[JENKINS] Archiving <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/pom.xml> to org.wso2.am.microgw/test-integration/1.0.0-SNAPSHOT/test-integration-1.0.0-SNAPSHOT.pom
[JENKINS] Archiving <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/test-integration-1.0.0-SNAPSHOT.jar> to org.wso2.am.microgw/test-integration/1.0.0-SNAPSHOT/test-integration-1.0.0-SNAPSHOT.jar
[JENKINS] Archiving <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/components/pom.xml> to org.wso2.am.microgw/components/1.0.0-SNAPSHOT/components-1.0.0-SNAPSHOT.pom
[JENKINS] Archiving <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/distribution/pom.xml> to org.wso2.am.microgw/wso2am-micro-gw/1.0.0-SNAPSHOT/wso2am-micro-gw-1.0.0-SNAPSHOT.pom
[JENKINS] Archiving <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/distribution/target/wso2am-micro-gw-1.0.0-SNAPSHOT.zip> to org.wso2.am.microgw/wso2am-micro-gw/1.0.0-SNAPSHOT/wso2am-micro-gw-1.0.0-SNAPSHOT.zip
[JENKINS] Archiving <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/pom.xml> to org.wso2.am.microgw/micro-gateway-parent/1.0.0-SNAPSHOT/micro-gateway-parent-1.0.0-SNAPSHOT.pom
[JENKINS] Archiving <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/components/micro-gateway-cli/pom.xml> to org.wso2.am.microgw/org.wso2.micro.gateway.cli/1.0.0-SNAPSHOT/org.wso2.micro.gateway.cli-1.0.0-SNAPSHOT.pom
[JENKINS] Archiving <http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/components/micro-gateway-cli/target/org.wso2.micro.gateway.cli-1.0.0-SNAPSHOT.jar> to org.wso2.am.microgw/org.wso2.micro.gateway.cli/1.0.0-SNAPSHOT/org.wso2.micro.gateway.cli-1.0.0-SNAPSHOT.jar
executing script 'Script - Kill Carbon Servers'
channel stopped
[product-microgateway] $ /bin/bash /tmp/build_step_template7660084756583474827.sh
There are some java processes that are not properly shutdown.
Get all running java processes...
816 org.ballerinalang.launcher.Main -Xbootclasspath/a: -Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/micro-gwtmp1528874445177/wso2am-micro-gw-1.0.0-SNAPSHOT/lib/platform/heap-dump.hprof> -Dballerina.home=<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/micro-gwtmp1528874445177/wso2am-micro-gw-1.0.0-SNAPSHOT/lib/platform> -Dballerina.version=0.974.0 -Djava.util.logging.config.class=org.ballerinalang.logging.util.LogConfigReader -Djava.util.logging.manager=org.ballerinalang.logging.BLogManager -Denable.nonblocking=false -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF8
624 org.ballerinalang.launcher.Main -Xbootclasspath/a: -Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/micro-gwtmp1528874443639/wso2am-micro-gw-1.0.0-SNAPSHOT/lib/platform/heap-dump.hprof> -Dballerina.home=<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/micro-gwtmp1528874443639/wso2am-micro-gw-1.0.0-SNAPSHOT/lib/platform> -Dballerina.version=0.974.0 -Djava.util.logging.config.class=org.ballerinalang.logging.util.LogConfigReader -Djava.util.logging.manager=org.ballerinalang.logging.BLogManager -Denable.nonblocking=false -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF8
689 org.ballerinalang.launcher.Main -Xbootclasspath/a: -Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/micro-gwtmp1528874445177/wso2am-micro-gw-1.0.0-SNAPSHOT/lib/platform/heap-dump.hprof> -Dballerina.home=<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/micro-gwtmp1528874445177/wso2am-micro-gw-1.0.0-SNAPSHOT/lib/platform> -Dballerina.version=0.974.0 -Djava.util.logging.config.class=org.ballerinalang.logging.util.LogConfigReader -Djava.util.logging.manager=org.ballerinalang.logging.BLogManager -Denable.nonblocking=false -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF8
754 org.ballerinalang.launcher.Main -Xbootclasspath/a: -Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/micro-gwtmp1528874445177/wso2am-micro-gw-1.0.0-SNAPSHOT/lib/platform/heap-dump.hprof> -Dballerina.home=<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/micro-gwtmp1528874445177/wso2am-micro-gw-1.0.0-SNAPSHOT/lib/platform> -Dballerina.version=0.974.0 -Djava.util.logging.config.class=org.ballerinalang.logging.util.LogConfigReader -Djava.util.logging.manager=org.ballerinalang.logging.BLogManager -Denable.nonblocking=false -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF8
559 org.ballerinalang.launcher.Main -Xbootclasspath/a: -Xms256m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/micro-gwtmp1528874436917/wso2am-micro-gw-1.0.0-SNAPSHOT/lib/platform/heap-dump.hprof> -Dballerina.home=<http://54.169.129.84:8080/jenkins/job/product-microgateway/ws/tests/target/micro-gwtmp1528874436917/wso2am-micro-gw-1.0.0-SNAPSHOT/lib/platform> -Dballerina.version=0.974.0 -Djava.util.logging.config.class=org.ballerinalang.logging.util.LogConfigReader -Djava.util.logging.manager=org.ballerinalang.logging.BLogManager -Denable.nonblocking=false -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF8
Get all ports listened by java processes...
The build job is failed by the Jenkins since there are some java processes which are not properly shut down after the build is finished. Therefore, please consider this if build is fail even maven build is completed successfully.
exit 100
Build step 'Execute managed script' marked build as failure
Archiving artifacts


More information about the Builder mailing list