Details
-
Bug
-
Resolution: Done
-
Critical
-
1.2.7.Final, 1.2.8.Final
-
None
Description
apiman-gateway-platforms-vertx3 tests fail while running full build: mvn clean package
[INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building apiman-gateway-platforms-vertx3 1.2.8-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6:clean (default-clean) @ apiman-gateway-platforms-vertx3 --- [INFO] Deleting /root/apiman/gateway/platforms/vertx3/vertx3/target [INFO] Deleting /root/apiman/gateway/platforms/vertx3/vertx3 (includes = [www-test/**, src/main/webapp/app/**, src/main/webapp/WEB-INF/deploy/**, src/main/webapp/WEB-INF/lib/**, src/main/webapp/WEB-INF/classes/**, **/*.JUnit/**], excludes = []) [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:add-source (add-source) @ apiman-gateway-platforms-vertx3 --- [INFO] Source directory: /root/apiman/gateway/platforms/vertx3/vertx3/src/main/generated added. [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ apiman-gateway-platforms-vertx3 --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ apiman-gateway-platforms-vertx3 --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 54 source files to /root/apiman/gateway/platforms/vertx3/vertx3/target/classes Jul 04, 2016 6:53:57 PM io.vertx.codegen.CodeGenProcessor getCodeGenerators INFO: Loaded java code generator Jul 04, 2016 6:53:57 PM io.vertx.codegen.CodeGenProcessor getCodeGenerators INFO: Loaded java code generator Jul 04, 2016 6:53:57 PM io.vertx.codegen.CodeGenProcessor getCodeGenerators INFO: Loaded java code generator Jul 04, 2016 6:53:57 PM io.vertx.codegen.CodeGenProcessor getCodeGenerators INFO: Loaded Proxy code generator Jul 04, 2016 6:53:58 PM io.vertx.codegen.CodeGenProcessor getCodeGenerators INFO: Loaded Proxy code generator Jul 04, 2016 6:53:58 PM io.vertx.codegen.CodeGenProcessor getCodeGenerators INFO: Loaded Proxy code generator Jul 04, 2016 6:53:58 PM io.vertx.codegen.CodeGenProcessor getCodeGenerators INFO: Loaded JavaScript code generator Jul 04, 2016 6:53:58 PM io.vertx.codegen.CodeGenProcessor lambda$process$69 INFO: Generated model io.apiman.gateway.platforms.vertx3.io.VertxApiRequest: asciidoc/dataobjects.adoc Jul 04, 2016 6:53:58 PM io.vertx.codegen.CodeGenProcessor lambda$process$69 INFO: Generated model io.apiman.gateway.platforms.vertx3.io.VertxApiResponse: asciidoc/dataobjects.adoc Jul 04, 2016 6:53:58 PM io.vertx.codegen.CodeGenProcessor lambda$process$69 INFO: Generated model io.apiman.gateway.platforms.vertx3.io.VertxPolicyFailure: asciidoc/dataobjects.adoc Jul 04, 2016 6:53:58 PM io.vertx.codegen.CodeGenProcessor lambda$process$69 INFO: Generated model io.apiman.gateway.platforms.vertx3.services.PolicyToIngestorService: resources/apiman-vertx-services-js/policy_to_ingestor_service.js Jul 04, 2016 6:53:58 PM io.vertx.codegen.CodeGenProcessor lambda$process$69 INFO: Generated model io.apiman.gateway.platforms.vertx3.services.IngestorToPolicyService: resources/apiman-vertx-services-js/ingestor_to_policy_service.js unhandled type java.lang.Object unhandled type java.lang.Object [INFO] /root/apiman/gateway/platforms/vertx3/vertx3/src/main/generated/io/apiman/gateway/platforms/vertx3/services/IngestorToPolicyServiceVertxEBProxy.java: Some input files use unchecked or unsafe operations. [INFO] /root/apiman/gateway/platforms/vertx3/vertx3/src/main/generated/io/apiman/gateway/platforms/vertx3/services/IngestorToPolicyServiceVertxEBProxy.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforcer-transitives-check) @ apiman-gateway-platforms-vertx3 --- [INFO] Flag 'useClassesFromLastBuild' is set. Try to use existing output folder. [INFO] Analyze dependencies of artifact 'io.apiman:apiman-gateway-platforms-vertx3:jar:1.2.8-SNAPSHOT'. [INFO] No illegal transitive dependencies found in 'io.apiman:apiman-gateway-platforms-vertx3:jar:1.2.8-SNAPSHOT'. [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ apiman-gateway-platforms-vertx3 --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ apiman-gateway-platforms-vertx3 --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 9 source files to /root/apiman/gateway/platforms/vertx3/vertx3/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ apiman-gateway-platforms-vertx3 --- [INFO] Surefire report directory: /root/apiman/gateway/platforms/vertx3/vertx3/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Running io.apiman.gateway.platforms.vertx3.components.jdbc.JdbcTestSuite Successfully connected! Successfully connected! Successfully reset DB! Successfully connected! Successfully connected! Successfully reset DB! Successfully connected! Successfully connected here! Successfully connected! Successfully reset DB! Successfully connected! Successfully connected here! Successfully connected! Successfully reset DB! Successfully connected! Successfully connected! Successfully connected! Successfully reset DB! Successfully connected! Successfully connected! Jul 04, 2016 6:54:03 PM io.vertx.core.impl.ContextImpl SEVERE: Unhandled exception java.lang.AssertionError: Not equals : 1896-07-28T00:00:00.000+01:24 != 1896-07-27T23:24:00.000+01:24 at io.vertx.ext.unit.impl.TestContextImpl.reportAssertionError(TestContextImpl.java:394) at io.vertx.ext.unit.impl.TestContextImpl.assertEquals(TestContextImpl.java:300) at io.vertx.ext.unit.impl.TestContextImpl.assertEquals(TestContextImpl.java:287) at io.apiman.gateway.platforms.vertx3.components.jdbc.suitetests.NestedQueryTest.lambda$null$0(NestedQueryTest.java:97) at io.apiman.gateway.platforms.vertx3.components.jdbc.SpecHelpers$1.handle(SpecHelpers.java:50) at io.apiman.gateway.platforms.vertx3.components.jdbc.SpecHelpers$1.handle(SpecHelpers.java:45) at io.apiman.gateway.platforms.vertx3.components.jdbc.VertxJdbcConnection.lambda$query$0(VertxJdbcConnection.java:52) at io.vertx.core.impl.FutureImpl.checkCallHandler(FutureImpl.java:135) at io.vertx.core.impl.FutureImpl.setHandler(FutureImpl.java:100) at io.vertx.core.impl.ContextImpl.lambda$null$14(ContextImpl.java:305) at io.vertx.core.impl.ContextImpl.lambda$wrapTask$16(ContextImpl.java:335) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) at java.lang.Thread.run(Thread.java:745) Successfully connected! Successfully reset DB! Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.932 sec <<< FAILURE! - in io.apiman.gateway.platforms.vertx3.components.jdbc.JdbcTestSuite shouldHandleMultipleExecuteAndQueryOperations(io.apiman.gateway.platforms.vertx3.components.jdbc.suitetests.NestedQueryTest) Time elapsed: 0.072 sec <<< FAILURE! java.lang.AssertionError: Not equals : 1896-07-28T00:00:00.000+01:24 != 1896-07-27T23:24:00.000+01:24 at io.vertx.ext.unit.impl.TestContextImpl.reportAssertionError(TestContextImpl.java:394) at io.vertx.ext.unit.impl.TestContextImpl.assertEquals(TestContextImpl.java:300) at io.vertx.ext.unit.impl.TestContextImpl.assertEquals(TestContextImpl.java:287) at io.apiman.gateway.platforms.vertx3.components.jdbc.suitetests.NestedQueryTest.lambda$null$0(NestedQueryTest.java:97) Results : Failed tests: NestedQueryTest.lambda$null$0:97 Not equals : 1896-07-28T00:00:00.000+01:24 != 1896-07-27T23:24:00.000+01:24 Tests run: 6, Failures: 1, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] apiman ............................................. SUCCESS [ 2.848 s] [INFO] apiman-common ...................................... SUCCESS [ 0.082 s] [INFO] apiman-common-auth ................................. SUCCESS [ 5.638 s] [INFO] apiman-common-util ................................. SUCCESS [ 4.175 s] [INFO] apiman-common-config ............................... SUCCESS [ 3.111 s] [INFO] apiman-common-net .................................. SUCCESS [ 3.658 s] [INFO] apiman-common-plugin ............................... SUCCESS [ 3.246 s] [INFO] apiman-common-servlet .............................. SUCCESS [ 2.594 s] [INFO] apiman-common-logging .............................. SUCCESS [ 0.025 s] [INFO] apiman-common-logging-core ......................... SUCCESS [ 2.984 s] [INFO] apiman-gateway ..................................... SUCCESS [ 0.193 s] [INFO] apiman-gateway-engine .............................. SUCCESS [ 0.110 s] [INFO] apiman-gateway-engine-beans ........................ SUCCESS [ 5.110 s] [INFO] apiman-gateway-engine-core ......................... SUCCESS [ 10.749 s] [INFO] apiman-common-logging-slf4j ........................ SUCCESS [ 1.832 s] [INFO] apiman-common-logging-log4j2 ....................... SUCCESS [ 1.660 s] [INFO] apiman-distro ...................................... SUCCESS [ 0.071 s] [INFO] apiman-distro-data ................................. SUCCESS [ 0.251 s] [INFO] apiman-manager ..................................... SUCCESS [ 0.685 s] [INFO] apiman-manager-api ................................. SUCCESS [ 0.125 s] [INFO] apiman-manager-api-beans ........................... SUCCESS [ 7.695 s] [INFO] apiman-distro-ddl .................................. SUCCESS [ 5.664 s] [INFO] apiman-manager-api-config .......................... SUCCESS [ 1.864 s] [INFO] apiman-manager-api-core ............................ SUCCESS [ 5.314 s] [INFO] apiman-gateway-api ................................. SUCCESS [ 0.026 s] [INFO] apiman-gateway-api-rest ............................ SUCCESS [ 1.894 s] [INFO] apiman-manager-api-gateway ......................... SUCCESS [ 3.522 s] [INFO] apiman-manager-api-export-import-api ............... SUCCESS [ 3.713 s] [INFO] apiman-manager-api-security ........................ SUCCESS [ 2.385 s] [INFO] apiman-manager-api-rest ............................ SUCCESS [ 5.156 s] [INFO] apiman-test ........................................ SUCCESS [ 0.031 s] [INFO] apiman-test-common ................................. SUCCESS [ 3.627 s] [INFO] apiman-manager-api-migrator ........................ SUCCESS [ 3.917 s] [INFO] apiman-manager-api-rest-impl ....................... SUCCESS [ 4.939 s] [INFO] apiman-manager-api-jpa ............................. SUCCESS [ 8.741 s] [INFO] apiman-manager-api-es .............................. SUCCESS [ 6.214 s] [INFO] apiman-manager-api-jdbc ............................ SUCCESS [ 4.248 s] [INFO] apiman-manager-api-hawkular ........................ SUCCESS [ 2.547 s] [INFO] apiman-manager-api-war ............................. SUCCESS [ 3.474 s] [INFO] apiman-manager-api-ispn ............................ SUCCESS [ 2.183 s] [INFO] apiman-manager-api-war-wildfly8 .................... SUCCESS [ 2.930 s] [INFO] apiman-manager-ui .................................. SUCCESS [ 0.618 s] [INFO] apiman-manager-ui-war .............................. SUCCESS [ 38.200 s] [INFO] apiman-manager-ui-war-wildfly8 ..................... SUCCESS [ 1.425 s] [INFO] apiman-gateway-engine-ispn ......................... SUCCESS [ 2.812 s] [INFO] apiman-gateway-engine-es ........................... SUCCESS [ 3.597 s] [INFO] apiman-gateway-engine-hawkular ..................... SUCCESS [ 2.008 s] [INFO] apiman-gateway-engine-jdbc ......................... SUCCESS [ 4.415 s] [INFO] apiman-gateway-engine-influxdb ..................... SUCCESS [ 2.021 s] [INFO] apiman-test-policies ............................... SUCCESS [ 2.657 s] [INFO] apiman-gateway-engine-policies ..................... SUCCESS [ 17.019 s] [INFO] apiman-gateway-platforms ........................... SUCCESS [ 0.152 s] [INFO] apiman-gateway-platforms-servlet ................... SUCCESS [ 8.568 s] [INFO] apiman-gateway-api-rest-impl ....................... SUCCESS [ 2.130 s] [INFO] apiman-gateway-platforms-war ....................... SUCCESS [ 2.488 s] [INFO] apiman-gateway-platforms-war-wildfly8 .............. SUCCESS [ 0.008 s] [INFO] apiman-gateway-platforms-war-wildfly8-api .......... SUCCESS [ 0.843 s] [INFO] apiman-gateway-platforms-war-wildfly8-gateway ...... SUCCESS [ 0.658 s] [INFO] apiman-distro-es ................................... SUCCESS [ 4.246 s] [INFO] apiman-distro-wildfly9 ............................. SUCCESS [ 5.003 s] [INFO] apiman-distro-wildfly10 ............................ SUCCESS [ 3.077 s] [INFO] apiman-distro-eap7 ................................. SUCCESS [ 2.709 s] [INFO] apiman-manager-api-war-tomcat8 ..................... SUCCESS [ 5.221 s] [INFO] apiman-manager-ui-war-tomcat8 ...................... SUCCESS [ 1.280 s] [INFO] apiman-gateway-platforms-war-tomcat8 ............... SUCCESS [ 0.034 s] [INFO] apiman-gateway-platforms-war-tomcat8-api ........... SUCCESS [ 3.433 s] [INFO] apiman-gateway-platforms-war-tomcat8-gateway ....... SUCCESS [ 0.496 s] [INFO] apiman-distro-tomcat8 .............................. SUCCESS [ 3.349 s] [INFO] apiman-distro-wildfly8 ............................. SUCCESS [ 4.565 s] [INFO] apiman-manager-api-micro ........................... SUCCESS [ 5.691 s] [INFO] apiman-manager-test ................................ SUCCESS [ 0.152 s] [INFO] apiman-manager-test-api ............................ SUCCESS [01:07 min] [INFO] apiman-gateway-engine-osgi ......................... SUCCESS [ 1.899 s] [INFO] apiman-gateway-engine-prometheus ................... SUCCESS [ 3.970 s] [INFO] apiman-gateway-platforms-vertx3-common ............. SUCCESS [ 3.252 s] [INFO] apiman-gateway-engine-vertx-eb-inmemory ............ SUCCESS [ 2.151 s] [INFO] apiman-gateway-platforms-war-micro ................. SUCCESS [ 2.792 s] [INFO] apiman-gateway-platforms-vertx3 .................... FAILURE [ 9.010 s] [INFO] apiman-gateway-test ................................ SKIPPED [INFO] apiman-test-suite .................................. SKIPPED [INFO] apiman-tools ....................................... SKIPPED [INFO] apiman-tools-ddl ................................... SKIPPED [INFO] apiman-tools-i18n .................................. SKIPPED [INFO] apiman-tools-jdbc .................................. SKIPPED [INFO] apiman-tools-ldap .................................. SKIPPED [INFO] apiman-tools-services .............................. SKIPPED [INFO] apiman-tools-server-all ............................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 05:52 min [INFO] Finished at: 2016-07-04T18:54:04+03:00 [INFO] Final Memory: 107M/241M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project apiman-gateway-platforms-vertx3: There are test failures. [ERROR] [ERROR] Please refer to /root/apiman/gateway/platforms/vertx3/vertx3/target/surefire-reports for the individual test results. [ERROR] -> [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :apiman-gateway-platforms-vertx3