curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Curator-3.0 #10
Date Tue, 01 Sep 2015 13:51:16 GMT
See <https://builds.apache.org/job/Curator-3.0/10/changes>

Changes:

[randgalt] First pass at new (optional) definition of state LOST

[randgalt] Continued work on new LOST behavior. Added some tests. To get correct behavior
it's necessary to not retry connection failures. Retrying connection failures was never a
good idea and here's a good opportunity to fix it as this requires client action to enable

[randgalt] license

[randgalt] more tests

[randgalt] minor reformat

[randgalt] wip

[randgalt] Fixed testRetry() for new LOST behavior

[randgalt] removed some test code

[randgalt] major refactoring. Abstracting old/new behavior into a pluggable ConnectionHandlingPolicy.
Also, IMPORTANT, made the new behavior the default. This needs to be discussed but it's a
major improvement and we should default to it.

[randgalt] further refactoring. Abstracted old framework-level connection handling into ClassicInternalConnectionHandler.
Probably more to do here

[randgalt] Curator has a big problem with thread interrupted states getting cleared. There
are several issues on this (CURATOR-208, CURATOR-205, CURATOR-228, CURATOR-109

[randgalt] When the connection timeout elapses and there is more than one server in the connection
string, reset the connection and try again

[randgalt] Longer connection timeout needed

[randgalt] More refinement of classic/new connection handling. Reworked how the retry policy
is invoked for each. New behavior is now confirmed to be: wait for connection timeout only
once. Some tests will need work due to this

[randgalt] more work on repairing tests for new connection handling

[randgalt] more work on repairing tests for new connection handling

[randgalt] doc

[randgalt] doc

[randgalt] The true session timeout is a negotiated value between client and server. The new
session timeout handling should use the negotiated value if available

[randgalt] code for useSessionTimeoutMs was wrong

[randgalt] Instead of closing the ZK instance and setting LOST directly, use the new testing
API in 3.5 injectSessionExpiration(). This causes the ZK instance to close and LOST to get
posted but has the benefit of sending a session expiration to all watchers

[randgalt] updated doc

[randgalt] minor typo

[randgalt] Use the negotiated session timeout in checkTimeouts()

[randgalt] Use negotiated session timeout in processEvents()

------------------------------------------
[...truncated 81 lines...]
[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ curator-test ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 17 source files to <https://builds.apache.org/job/Curator-3.0/ws/curator-test/target/classes>
[WARNING] <https://builds.apache.org/job/Curator-3.0/ws/curator-test/src/main/java/org/apache/curator/test/WatchersDebug.java>:
<https://builds.apache.org/job/Curator-3.0/ws/curator-test/src/main/java/org/apache/curator/test/WatchersDebug.java>
uses unchecked or unsafe operations.
[WARNING] <https://builds.apache.org/job/Curator-3.0/ws/curator-test/src/main/java/org/apache/curator/test/WatchersDebug.java>:
Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] >>> clirr-maven-plugin:2.6.1:check (default) > compile @ curator-test >>>
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ curator-test ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ curator-test ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ curator-test ---
[INFO] Nothing to compile - all classes are up to date
[WARNING] Failed to getClass for org.codehaus.mojo.clirr.ClirrCheckMojo
[CHECKSTYLE] No report found for mojo check[INFO] 
[INFO] <<< clirr-maven-plugin:2.6.1:check (default) < compile @ curator-test <<<
[INFO] 
[INFO] --- clirr-maven-plugin:2.6.1:check (default) @ curator-test ---
[INFO] artifact org.apache.curator:curator-test: checking for updates from Nexus

[INFO] artifact org.apache.curator:curator-test: checking for updates from central
[INFO] Comparing to version: 2.8.0
[INFO] Succeeded with 0 errors; 0 warnings; and 0 other changes.
[CHECKSTYLE] No report found for mojo check[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @ curator-test ---

[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ curator-test
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/Curator-3.0/ws/curator-test/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ curator-test ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ curator-test ---
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ curator-test ---
[INFO] Building jar: <https://builds.apache.org/job/Curator-3.0/ws/curator-test/target/curator-test-3.0.0-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ curator-test ---
[INFO] 
[INFO] --- maven-license-plugin:1.9.0:check (license) @ curator-test ---
[INFO] Checking licenses...
[CHECKSTYLE] No report found for mojo check
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Curator Client 3.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ curator-client ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ curator-client ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ curator-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ curator-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 40 source files to <https://builds.apache.org/job/Curator-3.0/ws/curator-client/target/classes>
[INFO] 
[INFO] >>> clirr-maven-plugin:2.6.1:check (default) > compile @ curator-client
>>>
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ curator-client ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ curator-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources to META-INF
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ curator-client ---
[INFO] Nothing to compile - all classes are up to date
[WARNING] Failed to getClass for org.codehaus.mojo.clirr.ClirrCheckMojo
[CHECKSTYLE] No report found for mojo check[INFO] 
[INFO] <<< clirr-maven-plugin:2.6.1:check (default) < compile @ curator-client
<<<
[INFO] 
[INFO] --- clirr-maven-plugin:2.6.1:check (default) @ curator-client ---
[INFO] artifact org.apache.curator:curator-client: checking for updates from Nexus

[INFO] artifact org.apache.curator:curator-client: checking for updates from central
[INFO] Comparing to version: 2.8.0
[INFO] Succeeded with 0 errors; 0 warnings; and 0 other changes.
[CHECKSTYLE] No report found for mojo check[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @ curator-client ---

[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ curator-client
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ curator-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to <https://builds.apache.org/job/Curator-3.0/ws/curator-client/target/test-classes>
[WARNING] <https://builds.apache.org/job/Curator-3.0/ws/curator-client/src/test/java/org/apache/curator/TestEnsurePath.java>:
<https://builds.apache.org/job/Curator-3.0/ws/curator-client/src/test/java/org/apache/curator/TestEnsurePath.java>
uses or overrides a deprecated API.
[WARNING] <https://builds.apache.org/job/Curator-3.0/ws/curator-client/src/test/java/org/apache/curator/TestEnsurePath.java>:
Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ curator-client ---
[INFO] Surefire report directory: <https://builds.apache.org/job/Curator-3.0/ws/curator-client/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.curator.TestSessionFailRetryLoop
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.533 sec - in org.apache.curator.TestSessionFailRetryLoop
Running org.apache.curator.ensemble.exhibitor.TestExhibitorEnsembleProvider
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.683 sec - in org.apache.curator.ensemble.exhibitor.TestExhibitorEnsembleProvider
Running org.apache.curator.utils.TestZKPaths
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.415 sec - in org.apache.curator.utils.TestZKPaths
Running org.apache.curator.utils.TestCloseableScheduledExecutorService
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.449 sec - in org.apache.curator.utils.TestCloseableScheduledExecutorService
Running org.apache.curator.utils.TestCloseableExecutorService
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.487 sec - in org.apache.curator.utils.TestCloseableExecutorService
Running org.apache.curator.TestRetryLoop
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.934 sec - in org.apache.curator.TestRetryLoop
Running org.apache.curator.TestEnsurePath
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.657 sec - in org.apache.curator.TestEnsurePath

Results :

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

[JENKINS] Recording test results
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ curator-client ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ curator-client ---
[INFO] 
[INFO] --- maven-license-plugin:1.9.0:check (license) @ curator-client ---
[INFO] Checking licenses...
[INFO] Missing header in: <https://builds.apache.org/job/Curator-3.0/ws/curator-client/src/main/java/org/apache/curator/connection/ClassicConnectionHandlingPolicy.java>
[INFO] Missing header in: <https://builds.apache.org/job/Curator-3.0/ws/curator-client/src/main/java/org/apache/curator/connection/ConnectionHandlingPolicy.java>
[INFO] Missing header in: <https://builds.apache.org/job/Curator-3.0/ws/curator-client/src/main/java/org/apache/curator/connection/StandardConnectionHandlingPolicy.java>
[CHECKSTYLE] No report found for mojo check
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Curator ..................................... SUCCESS [  4.191 s]
[INFO] Curator Testing .................................... SUCCESS [  5.062 s]
[INFO] Curator Client ..................................... FAILURE [01:15 min]
[INFO] Curator Framework .................................. SKIPPED
[INFO] Curator Recipes .................................... SKIPPED
[INFO] Curator Service Discovery .......................... SKIPPED
[INFO] Curator Examples ................................... SKIPPED
[INFO] Curator Service Discovery Server ................... SKIPPED
[INFO] Curator RPC Proxy .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:28 min
[INFO] Finished at: 2015-09-01T13:52:25+00:00
[INFO] Final Memory: 40M/704M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.mycila.maven-license-plugin:maven-license-plugin:1.9.0:check
(license) on project curator-client: Some files do not have the expected license header ->
[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 :curator-client
[JENKINS] Archiving <https://builds.apache.org/job/Curator-3.0/ws/curator-x-rpc/pom.xml>
to org.apache.curator/curator-x-rpc/3.0.0-SNAPSHOT/curator-x-rpc-3.0.0-SNAPSHOT.pom
Sending artifact delta relative to Curator-3.0 » Curator RPC Proxy #9
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 7300 bytes
Compression is 0.0%
Took 0.3 sec
[JENKINS] Archiving <https://builds.apache.org/job/Curator-3.0/ws/curator-client/pom.xml>
to org.apache.curator/curator-client/3.0.0-SNAPSHOT/curator-client-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Curator-3.0/ws/curator-client/target/curator-client-3.0.0-SNAPSHOT.jar>
to org.apache.curator/curator-client/3.0.0-SNAPSHOT/curator-client-3.0.0-SNAPSHOT.jar
Sending artifact delta relative to Curator-3.0 » Curator Client #9
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 83435 bytes
Compression is 0.0%
Took 59 ms
[JENKINS] Archiving <https://builds.apache.org/job/Curator-3.0/ws/curator-framework/pom.xml>
to org.apache.curator/curator-framework/3.0.0-SNAPSHOT/curator-framework-3.0.0-SNAPSHOT.pom
Sending artifact delta relative to Curator-3.0 » Curator Framework #9
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 2613 bytes
Compression is 0.0%
Took 36 ms
[JENKINS] Archiving <https://builds.apache.org/job/Curator-3.0/ws/curator-x-discovery-server/pom.xml>
to org.apache.curator/curator-x-discovery-server/3.0.0-SNAPSHOT/curator-x-discovery-server-3.0.0-SNAPSHOT.pom
Sending artifact delta relative to Curator-3.0 » Curator Service Discovery Server #9
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 4377 bytes
Compression is 0.0%
Took 26 ms
[JENKINS] Archiving <https://builds.apache.org/job/Curator-3.0/ws/curator-examples/pom.xml>
to org.apache.curator/curator-examples/3.0.0-SNAPSHOT/curator-examples-3.0.0-SNAPSHOT.pom
Sending artifact delta relative to Curator-3.0 » Curator Examples #9
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 2223 bytes
Compression is 0.0%
Took 26 ms
[JENKINS] Archiving <https://builds.apache.org/job/Curator-3.0/ws/curator-test/pom.xml>
to org.apache.curator/curator-test/3.0.0-SNAPSHOT/curator-test-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Curator-3.0/ws/curator-test/target/curator-test-3.0.0-SNAPSHOT.jar>
to org.apache.curator/curator-test/3.0.0-SNAPSHOT/curator-test-3.0.0-SNAPSHOT.jar
Sending artifact delta relative to Curator-3.0 » Curator Testing #9
Archived 2 artifacts
Archive block size is 32768
Received 0 blocks and 47929 bytes
Compression is 0.0%
Took 0.22 sec
[JENKINS] Archiving <https://builds.apache.org/job/Curator-3.0/ws/curator-recipes/pom.xml>
to org.apache.curator/curator-recipes/3.0.0-SNAPSHOT/curator-recipes-3.0.0-SNAPSHOT.pom
Sending artifact delta relative to Curator-3.0 » Curator Recipes #9
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 2810 bytes
Compression is 0.0%
Took 0.19 sec
[JENKINS] Archiving <https://builds.apache.org/job/Curator-3.0/ws/pom.xml> to org.apache.curator/apache-curator/3.0.0-SNAPSHOT/apache-curator-3.0.0-SNAPSHOT.pom
[JENKINS] Archiving <https://builds.apache.org/job/Curator-3.0/ws/target/apache-curator-3.0.0-SNAPSHOT-site.xml>
to org.apache.curator/apache-curator/3.0.0-SNAPSHOT/apache-curator-3.0.0-SNAPSHOT-site.xml
Sending artifact delta relative to Curator-3.0 » Apache Curator #9
Archived 2 artifacts
Archive block size is 32768
Received 1 blocks and 3298 bytes
Compression is 90.9%
Took 0.1 sec
[JENKINS] Archiving <https://builds.apache.org/job/Curator-3.0/ws/curator-x-discovery/pom.xml>
to org.apache.curator/curator-x-discovery/3.0.0-SNAPSHOT/curator-x-discovery-3.0.0-SNAPSHOT.pom
Sending artifact delta relative to Curator-3.0 » Curator Service Discovery #9
Archived 1 artifacts
Archive block size is 32768
Received 0 blocks and 2753 bytes
Compression is 0.0%
Took 0.46 sec
Sending e-mails to: dev@curator.apache.org
channel stopped

Mime
View raw message