Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cf-dev] Build failed in Jenkins: 2.0.x #527

See <https://ci.eclipse.org/californium/job/2.0.x/527/display/redirect?page=changes>

Changes:

[Simon Bernard] #748 : check digitalSignature only if keyusage extension is used

[Simon Bernard] #748: use a certificate without digitalSignature in keyusage for test

------------------------------------------
[...truncated 1.53 KB...]
[INFO] Californium (Cf) Demo Certificates                                 [jar]
[INFO] element-connector                                               [bundle]
[INFO] Scandium (Sc) Core                                              [bundle]
[INFO] element-connector-tcp                                           [bundle]
[INFO] Californium (Cf) Core                                           [bundle]
[INFO] Californium (Cf) Demo Applications                                 [pom]
[INFO] Cf-NAT                                                             [jar]
[INFO] Californium (Cf) Integration Tests                                 [jar]
[INFO] Californium (Cf) Proxy                                          [bundle]
[INFO] Californium (Cf) OSGi                                           [bundle]
[INFO] Sc-DTLS-Example-Server                                             [jar]
[INFO] Sc-DTLS-Example-Client                                             [jar]
[INFO] Cf-PlugtestClient                                                  [jar]
[INFO] Cf-PlugtestChecker                                                 [jar]
[INFO] Cf-PlugtestServer                                                  [jar]
[INFO] Cf-ExtendedPlugtestClient                                          [jar]
[INFO] Cf-ExtendedPlugtestServer                                          [jar]
[INFO] Cf-HelloWorldClient                                                [jar]
[INFO] Cf-HelloWorldServer                                                [jar]
[INFO] Cf-SimpleFileServer                                                [jar]
[INFO] Cf-CoCoAClient                                                     [jar]
[INFO] Cf-SecureServer                                                    [jar]
[INFO] Cf-ExampleCrossProxy                                               [jar]
[INFO] Cf-BenchmarkServer                                                 [jar]
[INFO] Cf-ObserveBenchmarkClient                                          [jar]
[INFO] oscore-cf                                                          [jar]
[INFO] 
[INFO] -------------------< org.eclipse.californium:parent >-------------------
[INFO] Building Californium (Cf) Parent 2.0.0-SNAPSHOT                   [1/27]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-snapshots) @ parent ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- maven-javadoc-plugin:3.0.0:jar (attach-javadocs) @ parent ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ parent ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ parent ---
[INFO] Installing /jobs/genie.californium/2.0.x/workspace/pom.xml to /opt/public/hipp/homes/genie.californium/.m2/repository/org/eclipse/californium/parent/2.0.0-SNAPSHOT/parent-2.0.0-SNAPSHOT.pom
[INFO] 
[INFO] -----------------< org.eclipse.californium:demo-certs >-----------------
[INFO] Building Californium (Cf) Demo Certificates 2.0.0-SNAPSHOT        [2/27]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ demo-certs ---
[INFO] Deleting /jobs/genie.californium/2.0.x/workspace/demo-certs/target
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ demo-certs ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-snapshots) @ demo-certs ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ demo-certs ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources to certs
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ demo-certs ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ demo-certs ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.californium/2.0.x/workspace/demo-certs/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ demo-certs ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ demo-certs ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ demo-certs ---
[INFO] Building jar: /jobs/genie.californium/2.0.x/workspace/demo-certs/target/demo-certs-2.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-javadoc-plugin:3.0.0:jar (attach-javadocs) @ demo-certs ---
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ demo-certs ---
[INFO] Building jar: /jobs/genie.californium/2.0.x/workspace/demo-certs/target/demo-certs-2.0.0-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ demo-certs ---
[INFO] Installing /jobs/genie.californium/2.0.x/workspace/demo-certs/target/demo-certs-2.0.0-SNAPSHOT.jar to /opt/public/hipp/homes/genie.californium/.m2/repository/org/eclipse/californium/demo-certs/2.0.0-SNAPSHOT/demo-certs-2.0.0-SNAPSHOT.jar
[INFO] Installing /jobs/genie.californium/2.0.x/workspace/demo-certs/pom.xml to /opt/public/hipp/homes/genie.californium/.m2/repository/org/eclipse/californium/demo-certs/2.0.0-SNAPSHOT/demo-certs-2.0.0-SNAPSHOT.pom
[INFO] Installing /jobs/genie.californium/2.0.x/workspace/demo-certs/target/demo-certs-2.0.0-SNAPSHOT-sources.jar to /opt/public/hipp/homes/genie.californium/.m2/repository/org/eclipse/californium/demo-certs/2.0.0-SNAPSHOT/demo-certs-2.0.0-SNAPSHOT-sources.jar
[INFO] 
[INFO] -------------< org.eclipse.californium:element-connector >--------------
[INFO] Building element-connector 2.0.0-SNAPSHOT                         [3/27]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ element-connector ---
[INFO] Deleting /jobs/genie.californium/2.0.x/workspace/element-connector/target
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ element-connector ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-no-snapshots) @ element-connector ---
[INFO] Skipping Rule Enforcement.
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ element-connector ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ element-connector ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 41 source files to /jobs/genie.californium/2.0.x/workspace/element-connector/target/classes
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.16:check (default) @ element-connector ---
[INFO] Checking unresolved references to net.sf.androidscents.signature:android-api-level-16:4.1.2_r5
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ element-connector ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /jobs/genie.californium/2.0.x/workspace/element-connector/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ element-connector ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 27 source files to /jobs/genie.californium/2.0.x/workspace/element-connector/target/test-classes
[INFO] /jobs/genie.californium/2.0.x/workspace/element-connector/src/test/java/org/eclipse/californium/elements/util/AbstractDatagramSocketImpl.java: /jobs/genie.californium/2.0.x/workspace/element-connector/src/test/java/org/eclipse/californium/elements/util/AbstractDatagramSocketImpl.java uses or overrides a deprecated API.
[INFO] /jobs/genie.californium/2.0.x/workspace/element-connector/src/test/java/org/eclipse/californium/elements/util/AbstractDatagramSocketImpl.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ element-connector ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.eclipse.californium.elements.util.DatagramReaderTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 s - in org.eclipse.californium.elements.util.DatagramReaderTest
[INFO] Running org.eclipse.californium.elements.util.LeastRecentlyUsedCacheTest
[ERROR] Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.004 s <<< FAILURE! - in org.eclipse.californium.elements.util.LeastRecentlyUsedCacheTest
[ERROR] testFindNoneUniqueSucceedsEvenFirstEvicted(org.eclipse.californium.elements.util.LeastRecentlyUsedCacheTest)  Time elapsed: 0.001 s  <<< FAILURE!
java.lang.AssertionError
	at org.eclipse.californium.elements.util.LeastRecentlyUsedCacheTest.testFindNoneUniqueSucceedsEvenFirstEvicted(LeastRecentlyUsedCacheTest.java:185)

[INFO] Running org.eclipse.californium.elements.util.SslContextUtilConfigurationTest
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.2 s - in org.eclipse.californium.elements.util.SslContextUtilConfigurationTest
[INFO] Running org.eclipse.californium.elements.util.Asn1DerDecoderTest
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.241 s - in org.eclipse.californium.elements.util.Asn1DerDecoderTest
[INFO] Running org.eclipse.californium.elements.util.StringUtilTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.eclipse.californium.elements.util.StringUtilTest
[INFO] Running org.eclipse.californium.elements.util.SslContextUtilCredentialsTest
[INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 s - in org.eclipse.californium.elements.util.SslContextUtilCredentialsTest
[INFO] Running org.eclipse.californium.elements.util.Base64Test
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in org.eclipse.californium.elements.util.Base64Test
[INFO] Running org.eclipse.californium.elements.util.SslContextUtilTrustTest
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 s - in org.eclipse.californium.elements.util.SslContextUtilTrustTest
[INFO] Running org.eclipse.californium.elements.DtlsEndpointContextMatcherTest
05:35:57.182 WARN [EndpointContextUtil]: strict context, DTLS_EPOCH: "2" != "1" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.189 WARN [EndpointContextUtil]: strict context, DTLS_SESSION_ID: "null" != "session" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.189 WARN [EndpointContextUtil]: strict context, DTLS_EPOCH: "null" != "1" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.189 WARN [EndpointContextUtil]: strict context, DTLS_CIPHER: "null" != "CIPHER" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.190 WARN [EndpointContextUtil]: relaxed context, DTLS_SESSION_ID: "new session" != "session" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.191 WARN [EndpointContextUtil]: strict context, DTLS_EPOCH: "2" != "1" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.191 WARN [EndpointContextUtil]: strict context, DTLS_SESSION_ID: "new session" != "session" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.193 WARN [EndpointContextUtil]: relaxed context, DTLS_SESSION_ID: "new session" != "session" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.193 WARN [EndpointContextUtil]: relaxed context, DTLS_SESSION_ID: "null" != "session" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.193 WARN [EndpointContextUtil]: relaxed context, DTLS_CIPHER: "null" != "CIPHER" (o.e.c.e.EndpointContextUtil.match:55)
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 s - in org.eclipse.californium.elements.DtlsEndpointContextMatcherTest
[INFO] Running org.eclipse.californium.elements.auth.PreSharedKeyIdentityTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.eclipse.californium.elements.auth.PreSharedKeyIdentityTest
[INFO] Running org.eclipse.californium.elements.auth.RawPublicKeyIdentityTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.275 s - in org.eclipse.californium.elements.auth.RawPublicKeyIdentityTest
[INFO] Running org.eclipse.californium.elements.PrincipalEndpointContextMatcherTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.eclipse.californium.elements.PrincipalEndpointContextMatcherTest
[INFO] Running org.eclipse.californium.elements.UdpEndpointContextMatcherTest
05:35:57.484 WARN [EndpointContextUtil]: udp plain, PLAIN: "" != "null" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.485 WARN [EndpointContextUtil]: udp plain, PLAIN: "null" != "" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.485 WARN [EndpointContextUtil]: udp plain, PLAIN: "" != "null" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.486 WARN [EndpointContextUtil]: udp plain, PLAIN: "null" != "" (o.e.c.e.EndpointContextUtil.match:55)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.eclipse.californium.elements.UdpEndpointContextMatcherTest
[INFO] Running org.eclipse.californium.elements.EndpointContextUtilTest
05:35:57.489 WARN [EndpointContextUtil]: test-3, DTLS_SESSION_ID: "new session" != "session" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.489 WARN [EndpointContextUtil]: test-4, DTLS_SESSION_ID: "new session" != "null" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.489 WARN [EndpointContextUtil]: test-4, DTLS_CIPHER: "CIPHER" != "null" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.490 WARN [EndpointContextUtil]: test-3, DTLS_SESSION_ID: "new session" != "session" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.490 WARN [EndpointContextUtil]: test-4, DTLS_SESSION_ID: "new session" != "null" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.490 WARN [EndpointContextUtil]: test-4, DTLS_CIPHER: "CIPHER" != "null" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.490 WARN [EndpointContextUtil]: test-4, UNKNOWN: "null" != "secret" (o.e.c.e.EndpointContextUtil.match:55)
05:35:57.491 WARN [EndpointContextUtil]: test-5, UNKNOWN: "secret" != "topsecret" (o.e.c.e.EndpointContextUtil.match:55)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.eclipse.californium.elements.EndpointContextUtilTest
[INFO] Running org.eclipse.californium.elements.UDPConnectorTest
05:35:57.963 WARN [UDPConnector]: UDPConnector (localhost/127.0.0.1:8216) drops 0 bytes to localhost/127.0.0.1:8217 (o.e.c.e.UDPConnector$Sender.work:361)
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.899 s - in org.eclipse.californium.elements.UDPConnectorTest
[INFO] Running org.eclipse.californium.elements.TcpEndpointContextMatcherTest
05:35:58.396 WARN [EndpointContextUtil]: tcp context, CONNECTION_ID: "ID2" != "ID1" (o.e.c.e.EndpointContextUtil.match:55)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.eclipse.californium.elements.TcpEndpointContextMatcherTest
[INFO] Running org.eclipse.californium.elements.TlsEndpointContextMatcherTest
05:35:58.399 WARN [EndpointContextUtil]: tls context, CONNECTION_ID: "ID2" != "ID1" (o.e.c.e.EndpointContextUtil.match:55)
05:35:58.399 WARN [EndpointContextUtil]: tls context, DTLS_SESSION_ID: "S2" != "S1" (o.e.c.e.EndpointContextUtil.match:55)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.eclipse.californium.elements.TlsEndpointContextMatcherTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   LeastRecentlyUsedCacheTest.testFindNoneUniqueSucceedsEvenFirstEvicted:185
[INFO] 
[ERROR] Tests run: 113, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Californium (Cf) Parent 2.0.0-SNAPSHOT ............. SUCCESS [  6.221 s]
[INFO] Californium (Cf) Demo Certificates ................. SUCCESS [  6.294 s]
[INFO] element-connector .................................. FAILURE [ 19.501 s]
[INFO] Scandium (Sc) Core ................................. SKIPPED
[INFO] element-connector-tcp .............................. SKIPPED
[INFO] Californium (Cf) Core .............................. SKIPPED
[INFO] Californium (Cf) Demo Applications ................. SKIPPED
[INFO] Cf-NAT ............................................. SKIPPED
[INFO] Californium (Cf) Integration Tests ................. SKIPPED
[INFO] Californium (Cf) Proxy ............................. SKIPPED
[INFO] Californium (Cf) OSGi .............................. SKIPPED
[INFO] Sc-DTLS-Example-Server ............................. SKIPPED
[INFO] Sc-DTLS-Example-Client ............................. SKIPPED
[INFO] Cf-PlugtestClient .................................. SKIPPED
[INFO] Cf-PlugtestChecker ................................. SKIPPED
[INFO] Cf-PlugtestServer .................................. SKIPPED
[INFO] Cf-ExtendedPlugtestClient .......................... SKIPPED
[INFO] Cf-ExtendedPlugtestServer .......................... SKIPPED
[INFO] Cf-HelloWorldClient ................................ SKIPPED
[INFO] Cf-HelloWorldServer ................................ SKIPPED
[INFO] Cf-SimpleFileServer ................................ SKIPPED
[INFO] Cf-CoCoAClient ..................................... SKIPPED
[INFO] Cf-SecureServer .................................... SKIPPED
[INFO] Cf-ExampleCrossProxy ............................... SKIPPED
[INFO] Cf-BenchmarkServer ................................. SKIPPED
[INFO] Cf-ObserveBenchmarkClient .......................... SKIPPED
[INFO] oscore-cf 2.0.0-SNAPSHOT ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39.752 s
[INFO] Finished at: 2018-09-18T05:35:58-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project element-connector: There are test failures.
[ERROR] 
[ERROR] Please refer to /jobs/genie.californium/2.0.x/workspace/element-connector/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[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 :element-connector
Build step 'Invoke top-level Maven targets' marked build as failure


Back to the top