Docker based integration testing now works on CI. The three failures: - Riak client driver does not work on Java 9, this is fixed upstream but not released yet, see https://github.com/netty/netty/pull/6356 - MySQL EntityStore tests fail to clean up data, will fix this shortly - PostgreSQL Index/Query is broken ... see POLYGENE-222
So we should expect another build failure email from the Java 8 job with the latter two in a few. Finally, we have the tooling for proper coverage on CI, yay \o/ Apache Jenkins Server a écrit : > See > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/65/display/redirect?page=changes> > > Changes: > > [paulmerlin] build: remove unnecessary default test dependencies > > [paulmerlin] build & docker-tests: revamp how Docker availability is detected > > ------------------------------------------ > [...truncated 1.24 MB...] > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/extensions/entitystore-jclouds/src/main/java/org/apache/polygene/entitystore/jclouds/JCloudsMapEntityStoreConfiguration.java>:49: > warning: no @return > @Optional Property<String> container(); > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/libraries/circuitbreaker/src/main/java/org/apache/polygene/library/circuitbreaker/jmx/CircuitBreakerManagement.java>:56: > warning: no @throws for javax.management.JMException > void registerCircuitBreakers() > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/libraries/circuitbreaker/src/main/java/org/apache/polygene/library/circuitbreaker/jmx/CircuitBreakerManagement.java>:62: > warning: no @throws for javax.management.JMException > void unregisterCircuitBreakers() > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/extensions/entitystore-leveldb/src/main/java/org/apache/polygene/entitystore/leveldb/LevelDBEntityStoreConfiguration.java>:39: > warning: no @return > Property<String> flavour(); > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/libraries/locking/src/main/java/org/apache/polygene/library/locking/WriteLockConcern.java>:63: > warning: no @param for lock > protected void lock(Lock lock) > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/core/api/src/main/java/org/apache/polygene/api/metrics/MetricsHealthCheck.java>:56: > warning: no @param for message > public static Result unhealthy(String message) { > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/core/api/src/main/java/org/apache/polygene/api/metrics/MetricsHealthCheck.java>:64: > warning: no @param for message > public static Result exception(String message, Throwable exception) { > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/core/api/src/main/java/org/apache/polygene/api/metrics/MetricsHealthCheck.java>:64: > warning: no @param for exception > public static Result exception(String message, Throwable exception) { > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/libraries/shiro-core/src/main/java/org/apache/polygene/library/shiro/domain/passwords/PasswordRealmConfiguration.java>:35: > warning: no @return > Property<String> hashAlgorithmName(); > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/libraries/shiro-core/src/main/java/org/apache/polygene/library/shiro/domain/passwords/PasswordRealmConfiguration.java>:41: > warning: no @return > Property<Integer> hashIterationsCount(); > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/libraries/uowfile/src/main/java/org/apache/polygene/library/uowfile/plural/HasUoWFiles.java>:38: > warning: no @param for key > File attachedFile( T key ); > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/libraries/uowfile/src/main/java/org/apache/polygene/library/uowfile/plural/HasUoWFiles.java>:38: > warning: no @return > File attachedFile( T key ); > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/libraries/uowfile/src/main/java/org/apache/polygene/library/uowfile/plural/HasUoWFiles.java>:43: > warning: no @return > Iterable<File> attachedFiles(); > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/extensions/entitystore-redis/src/main/java/org/apache/polygene/entitystore/redis/RedisEntityStoreConfiguration.java>:40: > warning: no @return > Property<String> host(); > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/extensions/entitystore-redis/src/main/java/org/apache/polygene/entitystore/redis/RedisEntityStoreConfiguration.java>:48: > warning: no @return > Property<Integer> port(); > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/extensions/entitystore-redis/src/main/java/org/apache/polygene/entitystore/redis/RedisEntityStoreConfiguration.java>:56: > warning: no @return > Property<Integer> timeout(); > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/extensions/entitystore-redis/src/main/java/org/apache/polygene/entitystore/redis/RedisEntityStoreConfiguration.java>:62: > warning: no @return > Property<String> password(); > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/extensions/entitystore-redis/src/main/java/org/apache/polygene/entitystore/redis/RedisEntityStoreConfiguration.java>:70: > warning: no @return > Property<Integer> database(); > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/libraries/restlet/src/main/java/org/apache/polygene/library/restlet/serialization/FormRepresentation.java>:106: > warning: no description for @throws > * @throws IOException > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/libraries/restlet/src/main/java/org/apache/polygene/library/restlet/serialization/JsonRepresentation.java>:88: > warning: no description for @throws > * @throws IOException > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/libraries/restlet/src/main/java/org/apache/polygene/library/restlet/serialization/PolygeneConverter.java>:65: > warning: no @param for <T> > protected <T> Representation create( MediaType mediaType, T source ) > ^ > <https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/libraries/restlet/src/main/java/org/apache/polygene/library/restlet/serialization/PolygeneConverter.java>:79: > warning: no @param for <T> > protected <T> Representation create( Representation source, Class<T> > objectClass ) > ^ > > 56 warnings > :core:api:honkerCheck > :core:api:check > :core:bootstrap:honkerCheck > :core:bootstrap:check > :core:runtime:honkerCheck > :core:runtime:check > :core:spi:honkerCheck > :core:spi:check > :core:testsupport:honkerCheck > :core:testsupport:check > :extensions:cache-ehcache:honkerCheck > :extensions:cache-ehcache:check > :extensions:cache-memcache:honkerCheck > :extensions:cache-memcache:check > :extensions:entitystore-cassandra:honkerCheck > :extensions:entitystore-cassandra:check > :extensions:entitystore-file:honkerCheck > :extensions:entitystore-file:check > :extensions:entitystore-geode:honkerCheck > :extensions:entitystore-geode:check > :extensions:entitystore-hazelcast:honkerCheck > :extensions:entitystore-hazelcast:check > :extensions:entitystore-jclouds:honkerCheck > :extensions:entitystore-jclouds:check > :extensions:entitystore-jdbm:honkerCheck > :extensions:entitystore-jdbm:check > :extensions:entitystore-leveldb:honkerCheck > :extensions:entitystore-leveldb:check > :extensions:entitystore-memory:honkerCheck > :extensions:entitystore-memory:check > :extensions:entitystore-mongodb:honkerCheck > :extensions:entitystore-mongodb:check > :extensions:entitystore-preferences:honkerCheck > :extensions:entitystore-preferences:check > :extensions:entitystore-redis:honkerCheck > :extensions:entitystore-redis:check > :extensions:entitystore-riak:honkerCheck > :extensions:entitystore-sql:honkerCheck > :extensions:indexing-elasticsearch:honkerCheck > :extensions:indexing-elasticsearch:check > :extensions:indexing-rdf:honkerCheck > :extensions:indexing-rdf:check > :extensions:indexing-solr:honkerCheck > :extensions:indexing-solr:check > :extensions:indexing-sql:honkerCheck > :extensions:metrics-codahale:honkerCheck > :extensions:metrics-codahale:check > :extensions:migration:honkerCheck > :extensions:migration:check > :extensions:reindexer:honkerCheck > :extensions:reindexer:check > :extensions:valueserialization-jackson:honkerCheck > :extensions:valueserialization-jackson:check > :extensions:valueserialization-orgjson:honkerCheck > :extensions:valueserialization-orgjson:check > :extensions:valueserialization-stax:honkerCheck > :extensions:valueserialization-stax:check > :internals:testsupport-internal:check UP-TO-DATE > :libraries:alarm:honkerCheck > :libraries:alarm:check > :libraries:circuitbreaker:honkerCheck > :libraries:circuitbreaker:check > :libraries:constraints:honkerCheck > :libraries:constraints:check > :libraries:fileconfig:honkerCheck > :libraries:fileconfig:check > :libraries:http:honkerCheck > :libraries:http:check > :libraries:invocation-cache:honkerCheck > :libraries:invocation-cache:check > :libraries:jmx:honkerCheck > :libraries:jmx:check > :libraries:lang-groovy:honkerCheck > :libraries:lang-groovy:check > :libraries:lang-javascript:honkerCheck > :libraries:lang-javascript:check > :libraries:locking:honkerCheck > :libraries:locking:check > :libraries:logging:honkerCheck > :libraries:logging:check > :libraries:metrics:honkerCheck > :libraries:metrics:check > :libraries:osgi:honkerCheck > :libraries:osgi:check > :libraries:rdf:honkerCheck > :libraries:rdf:check > :libraries:rest:honkerCheck > :libraries:rest:check > :libraries:rest-client:honkerCheck > :libraries:rest-client:check > :libraries:rest-common:honkerCheck > :libraries:rest-common:check > :libraries:rest-server:honkerCheck > :libraries:rest-server:check > :libraries:restlet:honkerCheck > :libraries:restlet:check > :libraries:scripting:honkerCheck > :libraries:scripting:check > :libraries:servlet:honkerCheck > :libraries:servlet:check > :libraries:shiro-core:honkerCheck > :libraries:shiro-core:check > :libraries:shiro-web:honkerCheck > :libraries:shiro-web:check > :libraries:spring:honkerCheck > :libraries:spring:check > :libraries:sql:honkerCheck > :libraries:sql:check > :libraries:sql-bonecp:honkerCheck > :libraries:sql-bonecp:check > :libraries:sql-dbcp:honkerCheck > :libraries:sql-dbcp:check > :libraries:sql-liquibase:honkerCheck > :libraries:sql-liquibase:check > :libraries:uid:honkerCheck > :libraries:uid:check > :libraries:uowfile:honkerCheck > :libraries:uowfile:check > :samples:dci:check > :samples:forum:check > :samples:rental:check UP-TO-DATE > :samples:sql-support:check UP-TO-DATE > :samples:swing:check UP-TO-DATE > :tests:performance:compilePerfJava > :tests:performance:compilePerfJava - is not incremental (e.g. outputs have > changed, no previous execution, etc.). > warning: [options] bootstrap class path not set in conjunction with -source > 1.8 > 1 warning > :tests:performance:check > :tests:regression:check UP-TO-DATE > :tools:envisage:honkerCheck > :tools:envisage:check > :tools:model-detail:honkerCheck > :tools:model-detail:check > :tutorials:cargo:check > :tutorials:composites:check > :tutorials:hello:check > :tutorials:introduction:check UP-TO-DATE > :tutorials:services:check > :tutorials:introduction:tenminutes:check UP-TO-DATE > :tutorials:introduction:thirtyminutes:check UP-TO-DATE > :tutorials:introduction:twominutes:check UP-TO-DATE > > FAILURE: Build completed with 3 failures. > > 1: Task failed with an exception. > ----------- > * What went wrong: > Execution failed for task ':extensions:entitystore-riak:test'. >> There were failing tests. See the report at: >> file://<https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/extensions/entitystore-riak/build/reports/tests/test/index.html> > > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. > ============================================================================== > > 2: Task failed with an exception. > ----------- > * What went wrong: > Execution failed for task ':extensions:entitystore-sql:test'. >> There were failing tests. See the report at: >> file://<https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/extensions/entitystore-sql/build/reports/tests/test/index.html> > > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. > ============================================================================== > > 3: Task failed with an exception. > ----------- > * What went wrong: > Execution failed for task ':extensions:indexing-sql:test'. >> There were failing tests. See the report at: >> file://<https://builds.apache.org/job/Polygene(JavaEdition)-develop-java9-check/ws/extensions/indexing-sql/build/reports/tests/test/index.html> > > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. > ============================================================================== > > BUILD FAILED > > Total time: 13 mins 12.901 secs > Build step 'Invoke Gradle script' changed build result to FAILURE > Build step 'Invoke Gradle script' marked build as failure > Recording test results
