Bug 34593 - Test process module
Test process module
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: UMC
unspecified
All Linux
: P5 normal (vote)
: ---
Assigned To: Dmitry Galkin
Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-17 10:46 CEST by Philipp Hahn
Modified: 2023-03-25 06:43 CET (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
Test UMC top (17.65 KB, patch)
2014-06-11 13:07 CEST, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2014-04-17 10:46:26 CEST
The UMC backend module for prcoesses should be testes through something like umc-command: kill, force-kill

It's probably best to create a customized process from the test-script itself, which can then be safely killed.
Comment 1 Dmitry Galkin univentionstaff 2014-04-23 17:08:46 CEST
r49549:

 * 60_umc-system/22_umc-service-proc-killing: test UMC
   process killing (Bug #34593)
 * 60_umc-system/TestUMCSystemModule.py: added method
   to make top/query request
Comment 2 Philipp Hahn univentionstaff 2014-06-11 13:06:32 CEST
OK: r49549 r50348
OK: SIGTERM
OK: SIGKILL
FAIL: Please add a test for a process ignoring SIGTERM; see patch
FYI: Some comments as patch — feel free to pick and include

Otherwise excellent work!
Comment 3 Philipp Hahn univentionstaff 2014-06-11 13:07:25 CEST
Created attachment 5949 [details]
Test UMC top

b7cd99c Bug #34593 ucs-test/UMC/top: Masked SIGTERM
eb75c06 Bug #34593 ucs-test/UMC/top: use fork()
65804ab Bug #34593 ucs-test/UMC/top: Common code
02f4720 Bug #34593 ucs-test/UMC/top: signal
1b0a5d2 Bug #34593 ucs-test/UMC/top: Error details
5e8d933 Bug #34593 ucs-test/UMC/top: Document wait4()
Comment 4 Dmitry Galkin univentionstaff 2014-06-13 15:24:18 CEST
r51054:

  * 60_umc-system/22_umc-service-proc-killing:
    test extension and update after the review (Bug #34593)
Comment 5 Philipp Hahn univentionstaff 2014-06-16 09:46:20 CEST
OK: r51054
OK: /usr/share/ucs-test/60_umc-system/22_umc-service-proc-killing -vvvf