View Issue Details

IDProjectCategoryView StatusLast Update
0003243GNUnetotherpublic2019-06-05 19:02
ReporterFlorian DoldAssigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status confirmedResolutionopen 
Product VersionSVN HEAD 
Target Version0.11.6Fixed in Version 
Summary0003243: 'make check' succeeds despite crashing services
DescriptionSome crashes (e.g. 0003242) occur at the very end of a test case, and do not cause it to fail.

Wouldn't it make sense to have a mechanism that checks for these failures? Otherwise, crashes during service shut down are easily missed.

I don't see a quick fix for this, but I think we should ensure that a test only passes if none of the services crashed.
TagsNo tags attached.

Activities

Christian Grothoff

2013-12-25 19:16

manager   ~0007946

We could check for generated 'core' files as a last "special" test, which will work on systems where core dumps are enabled. Alternatively, gnunet-service-arm could be modified to check for crashes and create a marker file "core.service" to indicate that 'service' crashed. That'd not cover helpers, but still cover much more than we cover today. A shell script that simply does `ls core.*` and return the inverse status would almost work, except that we have 'core.h' in src/core/. We'd then need to call that test script at the end of all of our 'make check' runs.

Issue History

Date Modified Username Field Change
2013-12-25 16:51 Florian Dold New Issue
2013-12-25 16:51 Florian Dold Status new => assigned
2013-12-25 16:51 Florian Dold Assigned To => Christian Grothoff
2013-12-25 19:16 Christian Grothoff Note Added: 0007946
2013-12-25 19:17 Christian Grothoff Status assigned => confirmed
2013-12-25 19:17 Christian Grothoff Target Version => 0.10.1
2013-12-25 19:17 Christian Grothoff Assigned To Christian Grothoff =>
2014-01-30 15:52 Christian Grothoff Target Version 0.10.1 =>
2019-06-05 19:02 Christian Grothoff Target Version => 0.11.6