Maybe sit in a 30 second loop trying (assuming it is either ConnectionRefused or some other rejection from Riak) a "non-failing query" in the set up?
On Sat, Feb 25, 2017 at 11:09 PM, Paul Merlin <[email protected]> wrote: > Hum, Riak ES tests fail on Java 8 because of a timing issue. > The Riak docker image does not allow to be notified once the server is > ready to accept requests and we run the tests too early. > > I'll look into that, maybe just raise the timeout. > > Other failures are as expected. > > Apache Jenkins Server a écrit : > > See <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-check/266/display/redirect?page=changes> > > > > Changes: > > > > [paulmerlin] build: remove unnecessary default test dependencies > > > > [paulmerlin] build & docker-tests: revamp how Docker availability is > detected > > > > [paulmerlin] build: fix build system documentation with recent changes > > > > ------------------------------------------ > > [...truncated 448.11 KB...] > > <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-check/ws/libraries/sql/src/main/java/ > org/apache/polygene/library/sql/common/Databases.java>:105: warning: no > @param for statementVisitor > > public void query( String sql, StatementVisitor statementVisitor, > ResultSetVisitor resultSetVisitor ) > > ^ > > <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-check/ws/libraries/sql/src/main/java/ > org/apache/polygene/library/sql/common/Databases.java>:105: warning: no > @param for resultSetVisitor > > public void query( String sql, StatementVisitor statementVisitor, > ResultSetVisitor resultSetVisitor ) > > ^ > > <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-check/ws/libraries/sql/src/main/java/ > org/apache/polygene/library/sql/common/Databases.java>:105: warning: no > @throws for java.sql.SQLException > > public void query( String sql, StatementVisitor statementVisitor, > ResultSetVisitor resultSetVisitor ) > > ^ > > <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-check/ws/libraries/sql/src/main/java/ > org/apache/polygene/library/sql/common/Databases.java>:39: warning: no > @param for source > > public Databases( DataSource source ) > > ^ > > <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-check/ws/libraries/sql/src/main/java/ > org/apache/polygene/library/sql/common/SQLConfiguration.java>:38: > warning: no @return > > Property<String> schemaName(); > > ^ > > <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-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-java8-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-java8-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-java8-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-java8-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-java8-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-java8-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-java8-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:compileVhostTestJava > > :libraries:http:compileVhostTestJava - is not incremental (e.g. outputs > have changed, no previous execution, etc.). > > <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-check/ws/libraries/http/src/vhost-test/ > java/org/apache/polygene/library/http/dns/LocalManagedDnsDescriptor.java>:22: > warning: NameService is internal proprietary API and may be removed in a > future release > > import sun.net.spi.nameservice.NameService; > > ^ > > <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-check/ws/libraries/http/src/vhost-test/ > java/org/apache/polygene/library/http/dns/LocalManagedDnsDescriptor.java>:23: > warning: NameServiceDescriptor is internal proprietary API and may be > removed in a future release > > import sun.net.spi.nameservice.NameServiceDescriptor; > > ^ > > <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-check/ws/libraries/http/src/vhost-test/ > java/org/apache/polygene/library/http/dns/LocalManagedDns.java>:28: > warning: NameService is internal proprietary API and may be removed in a > future release > > import sun.net.spi.nameservice.NameService; > > ^ > > <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-check/ws/libraries/http/src/vhost-test/ > java/org/apache/polygene/library/http/dns/LocalManagedDnsDescriptor.java>:26: > warning: NameServiceDescriptor is internal proprietary API and may be > removed in a future release > > implements NameServiceDescriptor > > ^ > > <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-check/ws/libraries/http/src/vhost-test/ > java/org/apache/polygene/library/http/dns/LocalManagedDnsDescriptor.java>:30: > warning: NameService is internal proprietary API and may be removed in a > future release > > private static final NameService nameService = new LocalManagedDns(); > > ^ > > <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-check/ws/libraries/http/src/vhost-test/ > java/org/apache/polygene/library/http/dns/LocalManagedDnsDescriptor.java>:32: > warning: NameService is internal proprietary API and may be removed in a > future release > > public NameService createNameService() > > ^ > > <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-check/ws/libraries/http/src/vhost-test/ > java/org/apache/polygene/library/http/dns/LocalManagedDns.java>:31: > warning: NameService is internal proprietary API and may be removed in a > future release > > implements NameService > > ^ > > <https://builds.apache.org/job/Polygene(JavaEdition)- > develop-java8-check/ws/libraries/http/src/vhost-test/ > java/org/apache/polygene/library/http/dns/LocalManagedDns.java>:34: > warning: NameService is internal proprietary API and may be removed in a > future release > > private static final NameService DEFAULT_DNS = new > DNSJavaNameServiceDescriptor().createNameService(); > > ^ > > 8 warnings > > :libraries:http:processVhostTestResources > > :libraries:http:vhostTestClasses > > :libraries:http:vhostTest > > :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.). > > :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-java8-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-java8-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-java8-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: 19 mins 54.122 secs > > Build step 'Invoke Gradle script' changed build result to FAILURE > > Build step 'Invoke Gradle script' marked build as failure > > Recording test results > -- Niclas Hedhman, Software Developer http://polygene.apache.org <http://zest.apache.org> - New Energy for Java
