View Issue Details

IDProjectCategoryView StatusLast Update
0001986GNUnetcadet servicepublic2012-12-09 16:52
ReporterChristian Grothoff Assigned ToBart Polot  
PrioritylowSeverityfeatureReproducibilityrandom
Status closedResolutionfixed 
Product Version0.9.0 
Target Version0.9.3Fixed in Version0.9.3 
Summary0001986: mesh API is not robust enough against service / connection failures
DescriptionLRN reported issues with mesh whenever the first connection between the mesh API and the service failed (due to 0001975). Naturally, for proper robustness, the mesh API should fully tolerate mesh service crashes / connection failures and simply "keep going" (reconnect, reinitialize state, etc.).

I don't have details on the issue (IRC logs of 11'2011 might give some), but certainly it would be nice to have some testcase that includes simulating connection failures.
Additional InformationMy best idea for testing this is doing it system-wide: we should have an (optional!) fail-sometimes mode that we insert into libgnunetutil.so. If the respective option is enabled, client/server connections should be 'randomly' shut down (by literally doing a 'shutdown(RW)' call on the socket "just for fun"). If all tests still reliably pass in that test mode (for different failure frequencies), the service APIs should be reasonably robust.
TagsNo tags attached.

Activities

Bart Polot

2012-02-24 15:52

reporter   ~0005502

Doesnt crash anymore, but we should still have a testcase to check different crash scenarios.

Issue History

Date Modified Username Field Change
2011-12-06 15:35 Christian Grothoff New Issue
2011-12-06 15:35 Christian Grothoff Status new => assigned
2011-12-06 15:35 Christian Grothoff Assigned To => Bart Polot
2011-12-23 11:01 Christian Grothoff Target Version 0.9.1 => 0.9.2
2012-02-23 14:31 Christian Grothoff Target Version 0.9.2 => 0.9.3
2012-02-24 15:51 Bart Polot Severity crash => feature
2012-02-24 15:52 Bart Polot Note Added: 0005502
2012-02-24 15:52 Bart Polot Category mesh service => testing library
2012-02-24 15:52 Bart Polot Target Version 0.9.3 =>
2012-05-03 01:23 Christian Grothoff Priority normal => low
2012-09-27 20:31 Christian Grothoff Category testing library => mesh service
2012-11-06 23:36 Christian Grothoff Target Version => 0.9.5
2012-12-09 16:52 Christian Grothoff Status assigned => resolved
2012-12-09 16:52 Christian Grothoff Fixed in Version => 0.9.3
2012-12-09 16:52 Christian Grothoff Resolution open => fixed
2012-12-09 16:52 Christian Grothoff Status resolved => closed
2012-12-09 16:52 Christian Grothoff Target Version 0.9.5 => 0.9.3
2014-05-09 18:34 Christian Grothoff Category mesh service => cadet service