Can we create a "starter" that uses a countdown latch to wait until the
back end starts?

Not sure if this is possible but thought I would ask.

Claude

On Tue, Dec 12, 2017 at 11:37 AM, Andy Seaborne <a...@apache.org> wrote:

> It's a bit of a nuisance.  It's been happening every so often.
>
> We can try bumping it to 90s ... I agree we need to be reasonable as
> well (and it may be a rare bug in start up somewhere).
>
> In the past, for other timeouts on the ASF Jenkins system, it's not been
> missing by a bit but by a lot - seconds to minutes - presumably because
> something else on the server is very intensive, maybe compounded by VMs.
>
> From seeing some infra chatter, I get the impression that Jenkins has
> been having a hard time recently, with increased load, and one of the
> datacenters going out.
>
>      Andy
>
> On 09/12/17 11:43, ajs6f wrote:
> > Looks like Elasticsearch startup went over a minute and that timed out
> the build.
> >
> > We set that to 60 seconds:
> >
> > https://github.com/apache/jena/blob/master/jena-text-es/pom.xml#L136
> >
> > Is it worth bumping that up to 90? I don't want to let CI jobs sit in
> process too long on a shared server, but thirty seconds more seems
> reasonable.
> >
> > ajs6f
> >
> >> On Dec 9, 2017, at 6:38 AM, Apache Jenkins Server <
> jenk...@builds.apache.org> wrote:
> >>
> >> See <https://builds.apache.org/job/Jena_Development_Deploy/
> 1465/display/redirect?page=changes>
> >>
> >> Changes:
> >>
> >> [andy] JENA-1430: Read quads for ja:data by filename
> >>
> >> [ajs6f] JENA-1430: Quad loading for in-memory assemblers
> >>
> >> [ajs6f] Correcting dataset type in Fuseki example
> >>
> >> [ajs6f] Better, clearer handling of mixed assembling
> >>
> >> [andy] Put in compatibility for ja:DatasetTxnMem.
> >>
> >> [andy] Improve the message.
> >>
> >> [andy] Use stream.
> >>
> >> [andy] Fix URI
> >>
> >> ------------------------------------------
> >> [...truncated 316.26 KB...]
> >> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @
> jena-text ---
> >> [INFO] Installing <https://builds.apache.org/
> job/Jena_Development_Deploy/ws/jena-text/target/jena-text-
> 3.6.0-SNAPSHOT.jar> to /home/jenkins/jenkins-slave/
> maven-repositories/1/org/apache/jena/jena-text/3.6.0-
> SNAPSHOT/jena-text-3.6.0-SNAPSHOT.jar
> >> [INFO] Installing <https://builds.apache.org/
> job/Jena_Development_Deploy/ws/jena-text/pom.xml> to
> /home/jenkins/jenkins-slave/maven-repositories/1/org/
> apache/jena/jena-text/3.6.0-SNAPSHOT/jena-text-3.6.0-SNAPSHOT.pom
> >> [INFO] Installing <https://builds.apache.org/
> job/Jena_Development_Deploy/ws/jena-text/target/jena-text-
> 3.6.0-SNAPSHOT-sources.jar> to /home/jenkins/jenkins-slave/
> maven-repositories/1/org/apache/jena/jena-text/3.6.0-
> SNAPSHOT/jena-text-3.6.0-SNAPSHOT-sources.jar
> >> [INFO] Installing <https://builds.apache.org/
> job/Jena_Development_Deploy/ws/jena-text/target/jena-text-
> 3.6.0-SNAPSHOT-javadoc.jar> to /home/jenkins/jenkins-slave/
> maven-repositories/1/org/apache/jena/jena-text/3.6.0-
> SNAPSHOT/jena-text-3.6.0-SNAPSHOT-javadoc.jar
> >> [INFO]
> >> [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @
> jena-text ---
> >> [INFO] Downloading from apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/maven-metadata.xml
> >> [INFO] Downloaded from apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/maven-metadata.xml
> (1.2 kB at 2.0 kB/s)
> >> [INFO] Uploading to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/jena-
> text-3.6.0-20171209.113552-28.jar
> >> [INFO] Uploaded to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/jena-
> text-3.6.0-20171209.113552-28.jar (96 kB at 75 kB/s)
> >> [INFO] Uploading to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/jena-
> text-3.6.0-20171209.113552-28.pom
> >> [INFO] Uploaded to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/jena-
> text-3.6.0-20171209.113552-28.pom (5.5 kB at 5.1 kB/s)
> >> [INFO] Downloading from apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/maven-metadata.xml
> >> [INFO] Downloaded from apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/maven-metadata.xml (424 B at 751 B/s)
> >> [INFO] Uploading to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/maven-metadata.xml
> >> [INFO] Uploaded to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/maven-metadata.xml
> (1.2 kB at 1.1 kB/s)
> >> [INFO] Uploading to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/maven-metadata.xml
> >> [INFO] Uploaded to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/maven-metadata.xml (424 B at 379 B/s)
> >> [INFO] Uploading to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/jena-
> text-3.6.0-20171209.113552-28-sources.jar
> >> [INFO] Uploaded to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/jena-
> text-3.6.0-20171209.113552-28-sources.jar (75 kB at 59 kB/s)
> >> [INFO] Uploading to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/maven-metadata.xml
> >> [INFO] Uploaded to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/maven-metadata.xml
> (1.2 kB at 1.1 kB/s)
> >> [INFO] Uploading to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/jena-
> text-3.6.0-20171209.113552-28-javadoc.jar
> >> [INFO] Uploaded to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/jena-
> text-3.6.0-20171209.113552-28-javadoc.jar (253 kB at 174 kB/s)
> >> [INFO] Uploading to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/maven-metadata.xml
> >> [INFO] Uploaded to apache.snapshots.https:
> https://repository.apache.org/content/repositories/
> snapshots/org/apache/jena/jena-text/3.6.0-SNAPSHOT/maven-metadata.xml
> (1.2 kB at 1.1 kB/s)
> >> [JENKINS] Archiving disabled
> >> [INFO]
> >> [INFO] ------------------------------------------------------------
> ------------
> >> [INFO] Building Apache Jena - SPARQL Text Search - Elasticsearch
> 3.6.0-SNAPSHOT
> >> [INFO] ------------------------------------------------------------
> ------------
> >> [INFO]
> >> [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @
> jena-text-es ---
> >> [INFO] Deleting <https://builds.apache.org/job/Jena_Development_Deploy/
> ws/jena-text-es/target>
> >> [INFO]
> >> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce) @
> jena-text-es ---
> >> [INFO]
> >> [INFO] --- apache-rat-plugin:0.12:check (rat-checks) @ jena-text-es ---
> >> [INFO] Enabled default license matchers.
> >> [INFO] Will parse SCM ignores for exclusions...
> >> [INFO] Parsing exclusions from <https://builds.apache.org/
> job/Jena_Development_Deploy/ws/jena-text-es/.gitignore>
> >> [INFO] Finished adding exclusions from SCM ignore files.
> >> [INFO] 61 implicit excludes (use -debug for more details).
> >> [INFO] Exclude: **/hs_err_pid*.log
> >> [INFO] Exclude: **/.project
> >> [INFO] Exclude: **/.settings/**
> >> [INFO] Exclude: **/.classpath
> >> [INFO] Exclude: **/README.*
> >> [INFO] Exclude: **/META-INF/services/*
> >> [INFO] Exclude: **/src-examples/data/*
> >> [INFO] Exclude: **/dist/ABOUT
> >> [INFO] Exclude: **/SEE_FUSEKI2
> >> [INFO] Exclude: **/src/main/webapp/css/*
> >> [INFO] Exclude: **/src/main/webapp/fonts/*
> >> [INFO] Exclude: **/src/main/webapp/js/**/*
> >> [INFO] Exclude: **/vocabularies/*
> >> [INFO] Exclude: **/Vocabularies/*
> >> [INFO] Exclude: **/src/main/**/*.html
> >> [INFO] Exclude: **/src/**/package-info.java
> >> [INFO] Exclude: **/DEPENDENCIES
> >> [INFO] Exclude: **/*.txt
> >> [INFO] Exclude: **/*.md
> >> [INFO] Exclude: **/META-INF/services/*
> >> [INFO] Exclude: **/src/test/resources/**/*
> >> [INFO] Exclude: **/testing/**/*
> >> [INFO] Exclude: **/log4j.properties
> >> [INFO] Exclude: **/log4j-testing.properties
> >> [INFO] Exclude: **/derby.log
> >> [INFO] Exclude: **/DB/**/*
> >> [INFO] Exclude: **/tdb*.cfg
> >> [INFO] Exclude: **/run/**/*
> >> [INFO] Exclude: **/*.classpath
> >> [INFO] Exclude: **/target/**/*
> >> [INFO] Exclude: **/dependency-reduced-pom.xml
> >> [INFO] Exclude: .travis.yml
> >> [INFO] Exclude: jena-examples/**
> >> [INFO] 20 resources included (use -debug for more details)
> >> [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0,
> generated: 0, approved: 16 licenses.
> >> [INFO]
> >> [INFO] --- maven-remote-resources-plugin:1.5:process
> (process-resource-bundles) @ jena-text-es ---
> >> [INFO]
> >> [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @
> jena-text-es ---
> >> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> >> [INFO] Copying 4 resources
> >> [INFO] Copying 3 resources
> >> [INFO]
> >> [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @
> jena-text-es ---
> >> [INFO] Changes detected - recompiling the module!
> >> [INFO] Compiling 9 source files to <https://builds.apache.org/
> job/Jena_Development_Deploy/ws/jena-text-es/target/classes>
> >> [INFO]
> >> [INFO] --- maven-resources-plugin:2.7:testResources
> (default-testResources) @ jena-text-es ---
> >> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> >> [INFO] Copying 1 resource
> >> [INFO] Copying 3 resources
> >> [INFO]
> >> [INFO] --- maven-compiler-plugin:3.5.1:testCompile
> (default-testCompile) @ jena-text-es ---
> >> [INFO] Changes detected - recompiling the module!
> >> [INFO] Compiling 2 source files to <https://builds.apache.org/
> job/Jena_Development_Deploy/ws/jena-text-es/target/test-classes>
> >> [INFO]
> >> [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @
> jena-text-es ---
> >> [INFO] Tests are skipped.
> >> [INFO]
> >> [INFO] --- maven-surefire-plugin:2.19.1:test (unit-tests) @
> jena-text-es ---
> >> [JENKINS] Recording test results
> >> [INFO]
> >> [INFO] --- maven-jar-plugin:3.0.0:jar (default-jar) @ jena-text-es ---
> >> [INFO] Building jar: <https://builds.apache.org/
> job/Jena_Development_Deploy/ws/jena-text-es/target/jena-
> text-es-3.6.0-SNAPSHOT.jar>
> >> [INFO]
> >> [INFO] --- maven-site-plugin:3.5.1:attach-descriptor
> (attach-descriptor) @ jena-text-es ---
> >> [INFO]
> >> [INFO] --- maven-source-plugin:3.0.0:jar-no-fork (attach-sources) @
> jena-text-es ---
> >> [INFO] Building jar: <https://builds.apache.org/
> job/Jena_Development_Deploy/ws/jena-text-es/target/jena-
> text-es-3.6.0-SNAPSHOT-sources.jar>
> >> [INFO]
> >> [INFO] --- maven-javadoc-plugin:2.10.3:jar (attach-javadocs) @
> jena-text-es ---
> >> [INFO]
> >> 1 warning
> >> [WARNING] Javadoc Warnings
> >> [WARNING] javadoc: warning - Error fetching URL:
> http://jena.apache.org/documentation/javadoc/elephas/
> >> [INFO] Building jar: <https://builds.apache.org/
> job/Jena_Development_Deploy/ws/jena-text-es/target/jena-
> text-es-3.6.0-SNAPSHOT-javadoc.jar>
> >> [INFO]
> >> [INFO] --- elasticsearch-maven-plugin:5.2:runforked
> (start-elasticsearch) @ jena-text-es ---
> >> [INFO] Using Elasticsearch [0] configuration:
> com.github.alexcojocaru.mojo.elasticsearch.v2.
> InstanceConfiguration@b059e6e[id=0,baseDir=<https://builds.
> apache.org/job/Jena_Development_Deploy/ws/jena-
> text-es/target/elasticsearch0,httpPort=9400,transportPort=9500,pathData=
> <null>,pathLogs=<null>]>
> >> [INFO] Starting Elasticsearch [0] in directory '<
> https://builds.apache.org/job/Jena_Development_Deploy/
> ws/jena-text-es/target/elasticsearch0'> with arguments
> './bin/elasticsearch -p pid -Ecluster.name=elasticsearch -Ehttp.port=9400
> -Etransport.tcp.port=9500 -Eaction.auto_create_index=false
> -Ehttp.cors.enabled=true'
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [JENKINS] Archiving disabled
> >> [INFO] ------------------------------------------------------------
> ------------
> >> [INFO] Reactor Summary:
> >> [INFO]
> >> [INFO] Apache Jena ........................................ SUCCESS [
> 15.939 s]
> >> [INFO] Apache Jena - Shadowed external libraries .......... SUCCESS [
> 16.705 s]
> >> [INFO] Apache Jena - IRI .................................. SUCCESS [
> 21.252 s]
> >> [INFO] Apache Jena - Base Common Environment .............. SUCCESS
> [01:31 min]
> >> [INFO] Apache Jena - Core ................................. SUCCESS
> [01:38 min]
> >> [INFO] Apache Jena - ARQ (SPARQL 1.1 Query Engine) ........ SUCCESS
> [01:38 min]
> >> [INFO] Apache Jena - RDF Connection ....................... SUCCESS [
> 25.626 s]
> >> [INFO] Apache Jena - TDB1 (Native Triple Store) ........... SUCCESS [
> 45.183 s]
> >> [INFO] Apache Jena - Database Operation Environment ....... SUCCESS [
> 9.096 s]
> >> [INFO] Apache Jena - DBOE Base ............................ SUCCESS [
> 19.970 s]
> >> [INFO] Apache Jena - DBOE Transactions .................... SUCCESS [
> 18.343 s]
> >> [INFO] Apache Jena - DBOE Indexes ......................... SUCCESS [
> 16.568 s]
> >> [INFO] Apache Jena - DBOE Index test suite ................ SUCCESS [
> 16.737 s]
> >> [INFO] Apache Jena - DBOE Transactional Datastructures .... SUCCESS [
> 35.950 s]
> >> [INFO] Apache Jena - TDB2 ................................. SUCCESS [
> 39.423 s]
> >> [INFO] Apache Jena - Libraries POM ........................ SUCCESS [
> 6.244 s]
> >> [INFO] Apache Jena - Command line tools ................... SUCCESS [
> 54.854 s]
> >> [INFO] Apache Jena - SPARQL Text Search ................... SUCCESS [
> 37.219 s]
> >> [INFO] Apache Jena - SPARQL Text Search - Elasticsearch ... FAILURE
> [01:10 min]
> >> [INFO] Apache Jena - SPARQL Spatial Search ................ SKIPPED
> >> [INFO] Apache Jena - Fuseki - A SPARQL 1.1 Server ......... SKIPPED
> >> [INFO] Apache Jena - Fuseki Server Engine ................. SKIPPED
> >> [INFO] Apache Jena - Fuseki Embedded Server ............... SKIPPED
> >> [INFO] Apache Jena - Fuseki WAR File ...................... SKIPPED
> >> [INFO] Apache Jena - Fuseki Server Standalone Jar ......... SKIPPED
> >> [INFO] Apache Jena - Fuseki Basic Server .................. SKIPPED
> >> [INFO] Apache Jena - Fuseki Binary Distribution ........... SKIPPED
> >> [INFO] Apache Jena - Integration Testing .................. SKIPPED
> >> [INFO] Apache Jena - Distribution ......................... SKIPPED
> >> [INFO] Apache Jena - Fuseki1 .............................. SKIPPED
> >> [INFO] Apache Jena - Data Tables for RDF and SPARQL ....... SKIPPED
> >> [INFO] Apache Jena - SDB (SQL based triple store) ......... SKIPPED
> >> [INFO] Apache Jena - Maven Plugins, including schemagen ... SKIPPED
> >> [INFO] Apache Jena - Security Permissions ................. SKIPPED
> >> [INFO] Apache Jena - Extras ............................... SKIPPED
> >> [INFO] Apache Jena - Extras - Query Builder ............... SKIPPED
> >> [INFO] Apache Jena - JDBC Parent .......................... SKIPPED
> >> [INFO] Apache Jena - JDBC Core API ........................ SKIPPED
> >> [INFO] Apache Jena - JDBC Remote Endpoint Driver .......... SKIPPED
> >> [INFO] Apache Jena - JDBC In-Memory Driver ................ SKIPPED
> >> [INFO] Apache Jena - JDBC TDB Driver ...................... SKIPPED
> >> [INFO] Apache Jena - JDBC Driver Bundle ................... SKIPPED
> >> [INFO] Apache Jena - Elephas .............................. SKIPPED
> >> [INFO] Apache Jena - Elephas - Common API ................. SKIPPED
> >> [INFO] Apache Jena - Elephas - I/O ........................ SKIPPED
> >> [INFO] Apache Jena - Elephas - Map/Reduce ................. SKIPPED
> >> [INFO] Apache Jena - Elephas - Statistics Demo App ........ SKIPPED
> >> [INFO] Apache Jena - OSGi ................................. SKIPPED
> >> [INFO] Apache Jena - OSGi bundle .......................... SKIPPED
> >> [INFO] Apache Jena - OSGi Karaf features .................. SKIPPED
> >> [INFO] ------------------------------------------------------------
> ------------
> >> [INFO] BUILD FAILURE
> >> [INFO] ------------------------------------------------------------
> ------------
> >> [INFO] Total time: 13:30 min
> >> [INFO] Finished at: 2017-12-09T11:37:52Z
> >> [INFO] Final Memory: 122M/3343M
> >> [INFO] ------------------------------------------------------------
> ------------
> >> [ERROR] Failed to execute goal com.github.alexcojocaru:
> elasticsearch-maven-plugin:5.2:runforked (start-elasticsearch) on project
> jena-text-es: Condition returned by method "waitToStart" in class
> com.github.alexcojocaru.mojo.elasticsearch.v2.client.Monitor was not
> fulfilled within 60 seconds. -> [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/
> MojoExecutionException
> >> [ERROR]
> >> [ERROR] After correcting the problems, you can resume the build with
> the command
> >> [ERROR]   mvn <goals> -rf :jena-text-es
> >> channel stopped
> >> [INFO] Stopping the Elasticsearch process at application shutdown ...
> >> [INFO] ... the Elasticsearch process has stopped. Exit code: 143
> >> [INFO] Elasticsearch [0] stopped with exit code 143
> >
>



-- 
I like: Like Like - The likeliest place on the web
<http://like-like.xenei.com>
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to