[riot-commits] [RIOT-OS/RIOT] aee9f0: testrunner: use SIGKILL only as last resort

Leandro Lanzieri noreply at github.com
Tue Apr 28 20:15:18 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: aee9f09386a1a7dc9fb73dd622831bba729ea38d
      https://github.com/RIOT-OS/RIOT/commit/aee9f09386a1a7dc9fb73dd622831bba729ea38d
  Author: Martine S. Lenders <mail at martine-lenders.eu>
  Date:   2020-04-28 (Tue, 28 Apr 2020)

  Changed paths:
    M dist/pythonlibs/testrunner/spawn.py

  Log Message:
  -----------
  testrunner: use SIGKILL only as last resort

When the child has a clean-up step (closing files, killing
sub-processes, deleting operational files, etc.), this currently is not
executed by the test, as the `testrunner` just does a hard `SIGKILL`
for the child's PPID. This change makes this a `SIGTERM` and only uses
`SIGKILL` if there are still processes lingering a second after the
`SIGTERM`.


  Commit: fe09fd3502f037dcee248976deefc56a074e79c6
      https://github.com/RIOT-OS/RIOT/commit/fe09fd3502f037dcee248976deefc56a074e79c6
  Author: Leandro Lanzieri <leandro.lanzieri at haw-hamburg.de>
  Date:   2020-04-28 (Tue, 28 Apr 2020)

  Changed paths:
    M dist/pythonlibs/testrunner/spawn.py

  Log Message:
  -----------
  Merge pull request #13891 from miri64/testrunner/fix/SIGKILL-last-resort

testrunner: use SIGKILL only as last resort


Compare: https://github.com/RIOT-OS/RIOT/compare/b543fbd69d50...fe09fd3502f0


More information about the commits mailing list