View Issue Details

IDProjectCategoryView StatusLast Update
0001799GNUnetDHT servicepublic2011-10-31 12:00
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PriorityurgentSeveritymajorReproducibilitysometimes
Status closedResolutionfixed 
Summary0001799: test-dht-twopeer fails
DescriptionThe testcase fails to find the desired content with the 'get' operation.
Oddly enough, this does not seem to happen on all systems, but on several (including spec, the i386-buildbot and others).

With the latest debug output modifications, the output now is:

$ ./test_dht_twopeer
Sep 19 22:46:52-595572 test-dht-twopeer-19282 WARNING Found file size 3481426 for hostkeys, expect hostkeys to be size 914
Sep 19 22:46:52-595596 test-dht-twopeer-19282 WARNING Will read 3809 hostkeys from file
..........?
Sep 19 22:48:46-366631 test-dht-twopeer-19282 ERROR Too many attempts failed, ending test!
Error: GET attempt failed, ending test!

The peers are clearly connected, and while sometimes peer selection fails due to the peer-Bloomfilter (I suspect on 2nd attempt before GET is completely cancelled and re-started), this does not explain the persistent failure.
Steps To ReproduceRun 'test_dht_twopeer' on the right system.
Additional Information$ gnunet-statistics -c /tmp/test-dht-twopeer/0/gnunet-testing-* -s core
 core # encrypted bytes given to transport : 21002
 core # bytes encrypted : 19522
 core # transmissions delayed due to corking : 12
 core # bytes of messages of type 144 received : 2596
 core # peer status changes : 26
 core # bytes of payload decrypted : 19190
 core # bytes decrypted : 19522
 core # bytes of messages of type 86 received : 16594
 core # established sessions : 1
 core # Session keys confirmed via PONG : 1
 core # PONG messages decrypted : 1
 core # PONG messages received : 1
 core # PONG messages created : 1
 core # PING messages decrypted : 1
 core # PING messages received : 1
 core # SET_KEY messages decrypted : 1
 core # session keys received : 1
 core # SET_KEY and PING messages created : 1
 core # SET_KEY messages deferred (need public key) : 0
 core # peers connected (transport) : 1
 core # neighbour entries allocated : 1
 core # connection requests received : 1
 core # discarded lower priority CORE_SEND requests : 0
 core # discarded CORE_SEND requests : 0


$ gnunet-statistics -c /tmp/test-dht-twopeer/0/gnunet-testing-* -s dht
 dht # pending messages sent : 10
 dht # pending messages scheduled : 10
 dht # DHT ROUTE Requests Forwarded : 10
 dht # requests routed to less close peer hop 1 : 10
 dht # forward counts of 1 : 5
 dht # DHT ROUTE Requests Seen : 10
 dht # DHT GET Requests Handled : 10
 dht # failed to select peer : 5
 dht # peer blocked from selection by Bloom filter : 5
 dht # forward counts of 2 : 5
 dht # DHT Peers known : 1
 dht # Disconnects received : 0
 dht # HELLO Messages given to transport : 0
 dht # DHT GET Responses Initiated : 0
 dht # DHT GET Responses Received : 0
 dht # DHT FIND_PEER Responses Ignored (bloom match) : 0
 dht # DHT FIND_PEER Responses Initiated : 0
 dht # DHT FIND_PEER Responses Received : 0
 dht # DHT PUT Requests Initiated : 0
 dht # DHT GET Requests Initiated : 0
 dht # DHT FIND_PEER Requests Initiated : 0
 dht # DHT FIND_PEER Requests Handled : 0
 dht # DHT PUT Data Inserts : 0
 dht # DHT PUT Requests Handled : 0
 dht # DHT ROUTE RESULT Requests Forwarded : 0
 dht # DHT ROUTE RESULT Sent to Client : 0
 dht # DHT ROUTE RESULT Requests Seen : 0
 dht # DHT ROUTE Requests Forwarded to Closest Known Peer: 0
TagsNo tags attached.

Activities

Christian Grothoff

2011-09-19 22:54

manager   ~0004621

Some of the other DHT tests are also failing, likely related:

Sep 19 12:17:48-829894 test-dht-twopeer-put-get-28163 WARNING Found file size 3481426 for hostkeys, expect hostkeys to be size 914
Sep 19 12:17:48-830317 test-dht-twopeer-put-get-28163 WARNING Will read 3809 hostkeys from file
FAIL: test_dht_twopeer_put_get
Sep 19 12:18:27-713594 test-dht-twopeer-get-put-28203 WARNING Found file size 3481426 for hostkeys, expect hostkeys to be size 914
Sep 19 12:18:27-713990 test-dht-twopeer-get-put-28203 WARNING Will read 3809 hostkeys from file
FAIL: test_dht_twopeer_get_put
Sep 19 12:19:16-726884 test-dht-twopeer-put-get-28243 WARNING Found file size 3481426 for hostkeys, expect hostkeys to be size 914
Sep 19 12:19:16-727306 test-dht-twopeer-put-get-28243 WARNING Will read 3809 hostkeys from file
FAIL: test_dht_twopeer_path_tracking

Christian Grothoff

2011-09-28 21:29

manager   ~0004633

Passes on my system(s) now.

Issue History

Date Modified Username Field Change
2011-09-19 22:53 Christian Grothoff New Issue
2011-09-19 22:53 Christian Grothoff Status new => assigned
2011-09-19 22:53 Christian Grothoff Assigned To => mrwiggles
2011-09-19 22:54 Christian Grothoff Note Added: 0004621
2011-09-28 21:29 Christian Grothoff Note Added: 0004633
2011-09-28 21:29 Christian Grothoff Status assigned => resolved
2011-09-28 21:29 Christian Grothoff Resolution open => fixed
2011-09-28 21:29 Christian Grothoff Assigned To mrwiggles => Christian Grothoff
2011-10-31 12:00 Christian Grothoff Status resolved => closed