Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cf-dev] [Hudson] Build failed in Hudson: californium.core #157

See <https://hudson.eclipse.org/californium/job/californium.core/157/changes>

Changes:

[Matthias Kovatsch] Allow but ignore out-of-order blocks for blockwise notifications.

------------------------------------------
[...truncated 1174 lines...]
<-----   CON [MID=23988], 2.05, observe(5)    // lost
<-----   CON [MID=23988], 2.05, observe(5)    // lost
<-----   CON [MID=23988], 2.05, observe(5)    // lost
<-----   CON [MID=23988], 2.05, observe(5)    // lost

Establish an observe relation. Cancellation after timeout. During the timeouts, the resource still changes.
298 INFO [CoapResource]: Successfully established observe relation between /127.0.0.1:33821#0c and resource /obs - (org.eclipse.californium.core.CoapResource.java:688) addObserveRelation() in thread pool-17-thread-3 at (2016-01-15 06:19:15)
Resource changed: First notification 1177870208
Resource changed: Second notification -160286438
Resource changed: Third notification -183509620
298 INFO [ObserveLayer$NotificationController]: Notification 0c timed out. Cancel all relations with source /127.0.0.1:33821 - (org.eclipse.californium.core.network.stack.ObserveLayer$NotificationController.java:225) onTimeout() in thread pool-17-thread-3 at (2016-01-15 06:19:16)
CON [MID=7002], GET, /obs, observe(0)    ----->
<-----   ACK [MID=7002], 2.05, observe(5)    
Observe relation established
<-----   CON [MID=23989], 2.05, observe(6)    // lost 
<-----   CON [MID=23989], 2.05, observe(6)    // lost (1. retransmission)
<-----   CON [MID=23989], 2.05, observe(7)    // lost (2. retransmission)
<-----   CON [MID=23989], 2.05, observe(8)    // lost (3. retransmission)
<-----   CON [MID=23989], 2.05, observe(8)    // lost (4. retransmission)

Establish an observe relation. Cancellation due to a reject from the client
292 INFO [CoapResource]: Successfully established observe relation between /127.0.0.1:56324#0d and resource /obs - (org.eclipse.californium.core.CoapResource.java:688) addObserveRelation() in thread pool-17-thread-1 at (2016-01-15 06:19:16)
Resource changed: First notification 582186964-
Reject notification
CON [MID=7003], GET, /obs, observe(0)    ----->
<-----   ACK [MID=7003], 2.05, observe(8)    
Observe relation established
<-----   CON [MID=23990], 2.05, observe(9)    // lost 
<-----   CON [MID=23990], 2.05, observe(9)    
RST [MID=23990], 0                        ----->

Observe with blockwise
317 INFO [CoapResource]: Successfully established observe relation between /127.0.0.1:38092#0e and resource /obs - (org.eclipse.californium.core.CoapResource.java:688) addObserveRelation() in thread pool-17-thread-17 at (2016-01-15 06:19:16)
Resource changed: -1373017824-293115094-2040974116-2097473818-1385241335-425199397-338171747-66029
Resource changed: 90591994549763611119169029771001853139194619691494082415-2120937549-1102898729-1
CON [MID=7004], GET, /obs, observe(0)    ----->
<-----   ACK [MID=7004], 2.05, 2:0/1/32, observe(9)    
Observe relation established
CON [MID=7005], GET, /obs, 2:1/0/32    ----->
<-----   ACK [MID=7005], 2.05, 2:1/1/32    
CON [MID=7006], GET, /obs, 2:2/0/32    ----->
<-----   ACK [MID=7006], 2.05, 2:2/0/32    
<-----   CON [MID=23991], 2.05, 2:0/1/32, observe(10)    
   === changed ===
ACK [MID=23991], 0                        ----->
CON [MID=7007], GET, /obs, 2:1/0/32    ----->
<-----   ACK [MID=7007], 2.05, 2:1/1/32    
CON [MID=7008], GET, /obs, 2:2/0/32    ----->
<-----   ACK [MID=7008], 2.05, 2:2/0/32    
<-----   CON [MID=23992], 2.05, 2:0/1/32, observe(11)    
   === changed ===
RST [MID=23992], 0                        ----->

Establish an observe relation and receive NON notifications
302 INFO [CoapResource]: Successfully established observe relation between /127.0.0.1:44609#11 and resource /obs - (org.eclipse.californium.core.CoapResource.java:688) addObserveRelation() in thread pool-17-thread-4 at (2016-01-15 06:19:17)
Resource changed: First notification -151783579
Resource changed: Second notification 631478681-
Resource changed: Third notification -793289315
Reject notification
NON [MID=7009], GET, /obs, observe(0)    ----->
<-----   NON [MID=23993], 2.05, observe(11)    
Observe relation established
<-----   NON [MID=23994], 2.05, observe(12)    
<-----   CON [MID=23995], 2.05, observe(13)    
ACK [MID=23995], 0                        ----->
<-----   NON [MID=23996], 2.05, observe(14)    
RST [MID=23996], 0                        ----->

Establish an observe relation and receive NON notifications
304 INFO [CoapResource]: Successfully established observe relation between /127.0.0.1:49060#12 and resource /obs - (org.eclipse.californium.core.CoapResource.java:688) addObserveRelation() in thread pool-17-thread-6 at (2016-01-15 06:19:17)
Resource changed: First notification 8882516081
Resource changed: Second notification 5134977851
Resource changed: Third notification -639477032
Resource changed: Fourth notification 2032867209
Reject notification
NON [MID=7010], GET, /obs, 2:0/0/32, observe(0)    ----->
<-----   NON [MID=23997], 2.05, 2:0/0/32, observe(14)    
Observe relation established
<-----   NON [MID=23998], 2.05, observe(15)    
<-----   CON [MID=23999], 2.05, observe(16)    
ACK [MID=23999], 0                        ----->
<-----   NON [MID=24000], 2.05, observe(17)    
<-----   NON [MID=24001], 2.05, observe(18)    
RST [MID=24001], 0                        ----->

Establish an observe relation to a quickly changing resource and do no longer respond
320 INFO [CoapResource]: Successfully established observe relation between /127.0.0.1:44920#13 and resource /obs - (org.eclipse.californium.core.CoapResource.java:688) addObserveRelation() in thread pool-17-thread-20 at (2016-01-15 06:19:17)
Resource changed: First notification -200900033
Resource changed: Second notification 1806567087
Resource changed: NON notification 1 1575930776
Resource changed: NON notification 2 -529793008
Resource changed: NON notification 3 1785673218
Resource changed: NON notification 4 2013753275
306 INFO [ObserveLayer$NotificationController]: Notification 13 timed out. Cancel all relations with source /127.0.0.1:44920 - (org.eclipse.californium.core.network.stack.ObserveLayer$NotificationController.java:225) onTimeout() in thread pool-17-thread-8 at (2016-01-15 06:19:18)
CON [MID=7011], GET, /obs, observe(0)    ----->
<-----   ACK [MID=7011], 2.05, observe(18)    
Observe relation established
<-----   NON [MID=24002], 2.05, observe(19)    
<-----   CON [MID=24003], 2.05, observe(20)    
<-----   CON [MID=24003], 2.05, observe(21)    
<-----   CON [MID=24003], 2.05, observe(22)    
<-----   CON [MID=24003], 2.05, observe(23)    
<-----   CON [MID=24003], 2.05, observe(24)    
   server cancels the relation


 1 INFO [CoapServer]: Destroy server - (org.eclipse.californium.core.CoapServer.java:220) destroy() in thread main at (2016-01-15 06:19:18)
 1 INFO [CoapEndpoint]: Destroying endpoint at address 0.0.0.0/0.0.0.0:58482 - (org.eclipse.californium.core.network.CoapEndpoint.java:222) destroy() in thread main at (2016-01-15 06:19:18)
 1 INFO [CoapEndpoint]: Stopping endpoint at address 0.0.0.0/0.0.0.0:58482 - (org.eclipse.californium.core.network.CoapEndpoint.java:311) stop() in thread main at (2016-01-15 06:19:18)
 1 WARNING [CoapServer]: Server executor did not shutdown in time - (org.eclipse.californium.core.CoapServer.java:227) destroy() in thread main at (2016-01-15 06:19:23)
End ObserveServerSideTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.85 sec - in org.eclipse.californium.core.test.lockstep.ObserveServerSideTest
Running org.eclipse.californium.core.test.CoapTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.eclipse.californium.core.test.CoapTest
Running org.eclipse.californium.core.test.maninmiddle.LossyBlockwiseTransferTest

Start LossyBlockwiseTransferTest
 1 INFO [CoapEndpoint]: Starting endpoint at 0.0.0.0/0.0.0.0:0 - (org.eclipse.californium.core.network.CoapEndpoint.java:71) start() in thread main at (2016-01-15 06:19:23)
 1 INFO [CoapServer]: Starting server - (org.eclipse.californium.core.CoapServer.java:180) start() in thread main at (2016-01-15 06:19:23)
 1 INFO [CoapEndpoint]: Starting endpoint at 0.0.0.0/0.0.0.0:0 - (org.eclipse.californium.core.network.CoapEndpoint.java:192) start() in thread main at (2016-01-15 06:19:23)
Client at 41389, middle at 35373, server at 38703
uri: coap://localhost:35373/test
Start man in the middle
Man in the middle will drop packets [5, 6, 8, 9, 15]
Drop packet 5 (burst 1)
Drop packet 6 (burst 2)
343 INFO [Matcher]: Duplicate ongoing request: CON-GET    MID=27950, Token=0f80, OptionSet={"Uri-Port":35373, "Uri-Path":"test", "Block2":"(szx=1/32, m=false, num=2)"}, no payload - (org.eclipse.californium.core.network.Matcher.java:272) receiveRequest() in thread pool-18-thread-3 at (2016-01-15 06:19:23)
Drop packet 8 (burst 3)
Drop packet 9 (burst 4)
346 INFO [Matcher]: Duplicate ongoing request: CON-GET    MID=27950, Token=0f80, OptionSet={"Uri-Port":35373, "Uri-Path":"test", "Block2":"(szx=1/32, m=false, num=2)"}, no payload - (org.eclipse.californium.core.network.Matcher.java:272) receiveRequest() in thread pool-18-thread-6 at (2016-01-15 06:19:23)
Drop packet 15 (burst 1)
345 INFO [Matcher]: Duplicate ongoing request: CON-GET    MID=27952, Token=0f80, OptionSet={"Uri-Port":35373, "Uri-Path":"test", "Block2":"(szx=1/32, m=false, num=4)"}, no payload - (org.eclipse.californium.core.network.Matcher.java:272) receiveRequest() in thread pool-18-thread-5 at (2016-01-15 06:19:24)
Received 250 bytes
Man in the middle will drop packets [0, 4, 5, 6, 7, 9, 10, 13, 14, 14]
Drop packet 0 (burst 1)
Drop packet 4 (burst 1)
Drop packet 5 (burst 2)
Drop packet 6 (burst 3)
Drop packet 7 (burst 4)
354 INFO [Matcher]: Duplicate ongoing request: CON-GET    MID=27957, Token=5ef6f2, OptionSet={"Uri-Port":35373, "Uri-Path":"test", "Block2":"(szx=1/32, m=false, num=1)"}, no payload - (org.eclipse.californium.core.network.Matcher.java:272) receiveRequest() in thread pool-18-thread-14 at (2016-01-15 06:19:25)
Drop packet 13 (burst 1)
Drop packet 14 (burst 2)
356 INFO [Matcher]: Duplicate ongoing request: CON-GET    MID=27959, Token=5ef6f2, OptionSet={"Uri-Port":35373, "Uri-Path":"test", "Block2":"(szx=1/32, m=false, num=3)"}, no payload - (org.eclipse.californium.core.network.Matcher.java:272) receiveRequest() in thread pool-18-thread-16 at (2016-01-15 06:19:25)
Received 250 bytes
Man in the middle will drop packets [1, 2, 3, 3, 4, 7, 10, 13, 15, 15]
Drop packet 1 (burst 1)
Drop packet 2 (burst 2)
Drop packet 3 (burst 3)
Drop packet 4 (burst 4)
362 INFO [Matcher]: Duplicate request: CON-GET    MID=27964, Token=442a0e46bc415b, OptionSet={"Uri-Port":35373, "Uri-Path":"test"}, no payload - (org.eclipse.californium.core.network.Matcher.java:256) receiveRequest() in thread pool-18-thread-22 at (2016-01-15 06:19:26)
Drop packet 10 (burst 1)
348 INFO [Matcher]: Duplicate ongoing request: CON-GET    MID=27966, Token=442a0e46bc415b, OptionSet={"Uri-Port":35373, "Uri-Path":"test", "Block2":"(szx=1/32, m=false, num=2)"}, no payload - (org.eclipse.californium.core.network.Matcher.java:272) receiveRequest() in thread pool-18-thread-8 at (2016-01-15 06:19:26)
Drop packet 13 (burst 1)
Drop packet 15 (burst 2)
341 INFO [Matcher]: Duplicate ongoing request: CON-GET    MID=27967, Token=442a0e46bc415b, OptionSet={"Uri-Port":35373, "Uri-Path":"test", "Block2":"(szx=1/32, m=false, num=3)"}, no payload - (org.eclipse.californium.core.network.Matcher.java:272) receiveRequest() in thread pool-18-thread-2 at (2016-01-15 06:19:27)
Received 250 bytes
Man in the middle will drop packets [0, 4, 5, 6, 8, 9, 9, 13, 13, 14]
Drop packet 0 (burst 1)
Drop packet 4 (burst 1)
Drop packet 5 (burst 2)
Drop packet 6 (burst 3)
363 INFO [Matcher]: Duplicate ongoing request: CON-GET    MID=27973, Token=695f46f8, OptionSet={"Uri-Port":35373, "Uri-Path":"test", "Block2":"(szx=1/32, m=false, num=1)"}, no payload - (org.eclipse.californium.core.network.Matcher.java:272) receiveRequest() in thread pool-18-thread-23 at (2016-01-15 06:19:27)
Drop packet 8 (burst 4)
353 INFO [Matcher]: Duplicate ongoing request: CON-GET    MID=27973, Token=695f46f8, OptionSet={"Uri-Port":35373, "Uri-Path":"test", "Block2":"(szx=1/32, m=false, num=1)"}, no payload - (org.eclipse.californium.core.network.Matcher.java:272) receiveRequest() in thread pool-18-thread-13 at (2016-01-15 06:19:28)
Drop packet 13 (burst 1)
Drop packet 14 (burst 2)
Received 250 bytes
Man in the middle will drop packets [0, 1, 2, 6, 7, 7, 9, 12, 15, 15]
Drop packet 0 (burst 1)
Drop packet 1 (burst 2)
Drop packet 2 (burst 3)
Drop packet 6 (burst 1)
Drop packet 7 (burst 2)
360 INFO [Matcher]: Duplicate ongoing request: CON-GET    MID=27981, Token=00d44e7782a3, OptionSet={"Uri-Port":35373, "Uri-Path":"test", "Block2":"(szx=1/32, m=false, num=1)"}, no payload - (org.eclipse.californium.core.network.Matcher.java:272) receiveRequest() in thread pool-18-thread-20 at (2016-01-15 06:19:29)
Drop packet 9 (burst 3)
347 INFO [Matcher]: Duplicate ongoing request: CON-GET    MID=27981, Token=00d44e7782a3, OptionSet={"Uri-Port":35373, "Uri-Path":"test", "Block2":"(szx=1/32, m=false, num=1)"}, no payload - (org.eclipse.californium.core.network.Matcher.java:272) receiveRequest() in thread pool-18-thread-7 at (2016-01-15 06:19:29)
Drop packet 12 (burst 3)
Drop packet 15 (burst 3)
Received 250 bytes
Man in the middle will drop packets [0, 1, 1, 1, 2, 4, 4, 6, 7, 7]
Drop packet 0 (burst 1)
Drop packet 1 (burst 2)
Drop packet 2 (burst 3)
Drop packet 4 (burst 4)
346 INFO [Matcher]: Duplicate request: CON-GET    MID=27988, Token=eb3e094382f7, OptionSet={"Uri-Port":35373, "Uri-Path":"test"}, no payload - (org.eclipse.californium.core.network.Matcher.java:256) receiveRequest() in thread pool-18-thread-6 at (2016-01-15 06:19:30)
Received 250 bytes

 1 INFO [CoapServer]: Destroy server - (org.eclipse.californium.core.CoapServer.java:220) destroy() in thread main at (2016-01-15 06:19:30)
 1 INFO [CoapEndpoint]: Destroying endpoint at address 0.0.0.0/0.0.0.0:38703 - (org.eclipse.californium.core.network.CoapEndpoint.java:222) destroy() in thread main at (2016-01-15 06:19:30)
 1 INFO [CoapEndpoint]: Stopping endpoint at address 0.0.0.0/0.0.0.0:38703 - (org.eclipse.californium.core.network.CoapEndpoint.java:311) stop() in thread main at (2016-01-15 06:19:30)
 1 INFO [CoapEndpoint]: Destroying endpoint at address 0.0.0.0/0.0.0.0:41389 - (org.eclipse.californium.core.network.CoapEndpoint.java:90) destroy() in thread main at (2016-01-15 06:19:30)
 1 INFO [CoapEndpoint]: Stopping endpoint at address 0.0.0.0/0.0.0.0:41389 - (org.eclipse.californium.core.network.CoapEndpoint.java:311) stop() in thread main at (2016-01-15 06:19:30)
End LossyBlockwiseTransferTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.613 sec - in org.eclipse.californium.core.test.maninmiddle.LossyBlockwiseTransferTest

Results :

Failed tests: 
  MemoryLeakingHashMapTest.testServer:85->testObserveBlockwise:316 expected:<0> but was:<1>

Tests run: 37, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Californium (Cf) ................................... SUCCESS [  5.519 s]
[INFO] Californium (Cf) Core .............................. FAILURE [01:48 min]
[INFO] Californium (Cf) Proxy ............................. SKIPPED
[INFO] Californium (Cf) OSGi Bundle ....................... SKIPPED
[INFO] Cf-PlugtestClient .................................. SKIPPED
[INFO] Cf-PlugtestChecker ................................. SKIPPED
[INFO] Cf-PlugtestServer .................................. SKIPPED
[INFO] Cf-HelloWorldClient ................................ SKIPPED
[INFO] Cf-HelloWorldServer ................................ SKIPPED
[INFO] Cf-CoCoA-Client .................................... SKIPPED
[INFO] Cf-SecureServer .................................... SKIPPED
[INFO] Cf-ExampleCrossProxy ............................... SKIPPED
[INFO] Cf Benchmark Server ................................ SKIPPED
[INFO] Cf Observe Benchmark Client ........................ SKIPPED
[INFO] Cf Demo Applications ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:00 min
[INFO] Finished at: 2016-01-15T06:19:31-05:00
[INFO] Final Memory: 38M/1932M
[INFO] ------------------------------------------------------------------------
[INFO] o.h.m.e.h.MavenExecutionResultHandler - Build failed with exception(s)
[INFO] o.h.m.e.h.MavenExecutionResultHandler - [1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project californium-core: There are test failures.

Please refer to /jobs/genie.californium/californium.core/workspace/californium-core/target/surefire-reports for the individual test results.
[DEBUG] Closing connection to remote
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project californium-core: There are test failures.
[ERROR] 
[ERROR] Please refer to /jobs/genie.californium/californium.core/workspace/californium-core/target/surefire-reports for the individual test results.
[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 :californium-core
[DEBUG] Waiting for process to finish
[DEBUG] Result: 1
Recording test results
Archiving artifacts

--
This message is automatically generated by Hudson. 
For more information on Hudson, see: http://hudson-ci.org/


Back to the top