Steps to reproduce:
- prepare a debug VM for qtxmlpatterns, dev branch, Ubuntu 20.04, armv7 target
- ssh into the VM and run tst_xmlpatterns as such:
There is a 30s wait and then the whole session is killed.
I run the individual test with high verbosity and got:
Even higher verbosity:
I also run it under strace:
The last part of the strace log is:
Notice a 30s delay, followed by kill(-1). According to man 2 kill:
If pid equals -1, then sig is sent to every process for which the calling process has permission to send signal
Why is the test framework calling kill(-1)? Additionally I noticed very weird behaviour: if I hit ENTER during the 30s wait, then the test just continues (but fails), without any process getting killed.
EDIT: this seems to be happening only on non-native builds. Native build on Ubuntu 20.04 x86_64 doesn't seem to have that problem.