View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012038CMakeCTestpublic2011-04-03 17:302016-06-10 14:31
Reportersamuel nobs 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 2.8.4 
Target VersionFixed in Version 
Summary0012038: SIGKILL sent when process times out
Descriptionwhen a test process times out, ctest sends a SIGSTOP followed by a SIGKILL to terminate the process. this is a bit harsh, since the process will not be able to clean up resources like lock files, hence making following test potentially fail when trying to acquire said resources.

it would be way more graceful to first send a SIGTERM, giving the process some time to reminate sensibly, and then send a SIGKILL after some time in case the process really insist on continuing to run
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0026027)
samuel nobs (reporter)
2011-04-03 18:23

or replace SIGKILL completely with SIGTERM (that's what i've done using a patch on my cmake checkout)
(0026035)
Brad King (manager)
2011-04-04 10:35

When a test times out that means it is misbehaving. The parent process wants it to just be gone.

Tests should be written to run with a state that is as local as possible so that it can always be reset when the tests start again.
(0041827)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2011-04-03 17:30 samuel nobs New Issue
2011-04-03 18:23 samuel nobs Note Added: 0026027
2011-04-04 10:32 Brad King Assigned To => Brad King
2011-04-04 10:32 Brad King Status new => assigned
2011-04-04 10:35 Brad King Note Added: 0026035
2011-04-04 10:35 Brad King Assigned To Brad King =>
2011-04-04 10:35 Brad King Status assigned => backlog
2016-06-10 14:28 Kitware Robot Note Added: 0041827
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team