View Issue Details

IDProjectCategoryView StatusLast Update
0003243GNUnetotherpublic2019-07-07 19:24
ReporterFlorian Dold Assigned ToDue Date
PrioritynormalSeverityfeatureReproducibilityN/A
Status confirmedResolutionopen 
Product VersionGit master 
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 18: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 ModifiedUsernameFieldChange
2013-12-25 15:51Florian DoldNew Issue
2013-12-25 15:51Florian DoldStatusnew => assigned
2013-12-25 15:51Florian DoldAssigned To => Christian Grothoff
2013-12-25 18:16Christian GrothoffNote Added: 0007946
2013-12-25 18:17Christian GrothoffStatusassigned => confirmed
2013-12-25 18:17Christian GrothoffTarget Version => 0.10.1
2013-12-25 18:17Christian GrothoffAssigned ToChristian Grothoff =>
2014-01-30 14:52Christian GrothoffTarget Version0.10.1 =>
2019-06-05 17:02Christian GrothoffTarget Version => 0.11.6
2019-07-07 19:24Christian GrothoffTarget Version0.11.6 =>