Project

General

Profile

Actions

action #127046

open

t: os-autoinst - qemu keeps running when test runs into timelimit size:M

Added by tinita over 1 year ago. Updated over 1 year ago.

Status:
Workable
Priority:
Low
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2023-04-01
Due date:
% Done:

0%

Estimated time:

Description

Observation

We use OpenQA::Test::TimeLimit to limit test runtimes.
When the limit is exceeded for t/14-isotovideo.t for example, then /usr/bin/qemu-system-i386 keeps running, and the next test will die.

Acceptance Criteria

  • AC1: Terminating a test will cleanup everything including running child processes

Suggestions

  • Send SIGTERM instead, or send SIGTERM first and SIGKILL only after another timeout?
  • Use a process group for all processes created so the group can be killed atomically similar to the openqa worker which uses this approach already
  • Maybe isotovideo is what's killed and can't propagate the signal

Related issues 1 (0 open1 closed)

Related to openQA Project (public) - action #157339: os-autoinst t/14-isotovideo.t is again taking too long (>20s on my setup) size:MResolvedybonatakis2024-03-15

Actions
Actions

Also available in: Atom PDF