diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-04-04 16:43:12 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-04-04 17:48:30 +0200 |
commit | 0409655e64e43a022950748cca2494b9846af97a (patch) | |
tree | 6a97df08e39bfe2959a349974510d9dc6cb082b7 /selftest | |
parent | 806aae88306a3c724a162c39a930b40361724f42 (diff) |
process: Early return during process termination if no proc running
This avoids extra unneeded logging about killing with signal when
actually no signal is being sent.
Change-Id: I5b5dd78fe3301d8eef2ab93da3b37029268ae198
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/suite_test.ok | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/selftest/suite_test.ok b/selftest/suite_test.ok index 85e94b2..908f24f 100644 --- a/selftest/suite_test.ok +++ b/selftest/suite_test.ok @@ -96,14 +96,6 @@ tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] tst hello_world.py:[LINENR]: three [test_suite↪hello_world.py:[LINENR]] tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suite↪hello_world.py] ---- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL ---- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL --------------------------------------------------------------------- trial test_suite PASS --------------------------------------------------------------------- @@ -127,14 +119,6 @@ trial test_suite test_error.py tst test_error.py:[LINENR]: I am 'test_suite' / 'test_error.py:[LINENR]' [test_suite↪test_error.py:[LINENR]] [test_error.py:[LINENR]] tst test_error.py:[LINENR]: ERR: AssertionError: test_error.py:[LINENR]: assert False [test_suite↪test_error.py:[LINENR]] [test_error.py:[LINENR]: assert False] tst test_error.py:[LINENR]: Test FAILED (N.N sec) [test_suite↪test_error.py:[LINENR]] [test.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]] --------------------------------------------------------------------- trial test_suite FAIL --------------------------------------------------------------------- @@ -158,14 +142,6 @@ trial test_suite test_fail.py tst test_fail.py:[LINENR]: I am 'test_suite' / 'test_fail.py:[LINENR]' [test_suite↪test_fail.py:[LINENR]] [test_fail.py:[LINENR]] tst test_fail.py:[LINENR]: ERR: EpicFail: This failure is expected [test_suite↪test_fail.py:[LINENR]] [test_fail.py:[LINENR]] tst test_fail.py:[LINENR]: Test FAILED (N.N sec) [test_suite↪test_fail.py:[LINENR]] [test.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]] --------------------------------------------------------------------- trial test_suite FAIL --------------------------------------------------------------------- @@ -188,14 +164,6 @@ trial test_suite test_fail_raise.py ---------------------------------------------- tst test_fail_raise.py:[LINENR]: ERR: ExpectedFail: This failure is expected [test_suite↪test_fail_raise.py:[LINENR]] [test_fail_raise.py:[LINENR]: raise ExpectedFail('This failure is expected')] tst test_fail_raise.py:[LINENR]: Test FAILED (N.N sec) [test_suite↪test_fail_raise.py:[LINENR]] [test.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]] --------------------------------------------------------------------- trial test_suite FAIL --------------------------------------------------------------------- @@ -283,14 +251,6 @@ tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] [hello tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] tst hello_world.py:[LINENR]: three [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suite↪hello_world.py] [test.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]] --------------------------------------------------------------------- trial test_suite PASS --------------------------------------------------------------------- @@ -378,14 +338,6 @@ tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] [hello tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] tst hello_world.py:[LINENR]: three [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suite↪hello_world.py] [test.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]] --------------------------------------------------------------------- trial test_suite PASS --------------------------------------------------------------------- @@ -519,14 +471,6 @@ tst hello_world.py:[LINENR]: one [test_suite↪hello_world.py:[LINENR]] [hello tst hello_world.py:[LINENR]: two [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] tst hello_world.py:[LINENR]: three [test_suite↪hello_world.py:[LINENR]] [hello_world.py:[LINENR]] tst hello_world.py:[LINENR] Test passed (N.N sec) [test_suite↪hello_world.py] [test.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Scheduled to terminate 0 processes. [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGTERM [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGINT [process.py:[LINENR]] ---- ParallelTerminationStrategy: DBG: Starting to kill with SIGKILL [process.py:[LINENR]] --------------------------------------------------------------------- trial test_suite PASS --------------------------------------------------------------------- |