linux autopkgtest kills sshd in testbed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King | ||
Yakkety |
Fix Released
|
Medium
|
Colin Ian King |
Bug Description
The current linux autopkgtests in yakkety are caught in an eternal "temporary failure" retry loop. They stopped timing out, but in the middle of the tests they kill sshd.
Tail of test output:
09:01:00 DEBUG| [stdout] preparing apparmor_
09:01:00 DEBUG| [stdout]
09:01:40 ERROR| [stderr] Run libapparmor testsuite (with python3) ... ok
09:01:40 ERROR| [stderr] test_parser_
09:01:48 DEBUG| [stdout] preparing apparmor_
09:01:48 DEBUG| [stdout]
09:19:27 ERROR| [stderr] Run parser regression tests ... ok
09:19:27 ERROR| [stderr] test_regression
09:19:33 DEBUG| [stdout] preparing apparmor_
09:19:33 DEBUG| [stdout]
Killed
Killed
Connection to 10.220.42.236 closed by remote host.
Exit request sent.
autopkgtest [09:24:42]: ERROR: testbed failure: testbed auxverb failed with exit code 255
Console output during the test:
Ubuntu 16.10 autopkgtest ttyS0
autopkgtest login: [ 3512.996305] AppArmor: change_hat: Invalid input '^open'
[ 3513.000678] AppArmor: change_hat: Invalid input '^'[ 3513.013965] AppArmor: change_hat: Invalid input, NULL hat and NULL magic
[ 3513.019831] AppArmor: change_hat: Invalid input, NULL hat and NULL magic
[ 3513.024872] AppArmor: change_hat: Invalid input '^open'AppArmor: change_hat: Invalid input '^'
[ 3513.026539] AppArmor: change_hat: Invalid input '^'[ 3638.281408] Out of memory: Kill process 587 (rsyslogd) score 8 or sacrifice child
[ 3638.284907] Killed process 587 (rsyslogd) total-vm:107460kB, anon-rss:67892kB, file-rss:2548kB, shmem-rss:0kB
[ 3638.306990] Out of memory: Kill process 300 (systemd-journal) score 2 or sacrifice child
[ 3638.308985] Killed process 300 (systemd-journal) total-vm:46184kB, anon-rss:460kB, file-rss:3752kB, shmem-rss:15412kB
[ 3638.319337] Out of memory: Kill process 2636 (autotest-local) score 1 or sacrifice child
[ 3638.320394] Killed process 10325 (autotest-local) total-vm:18092kB, anon-rss:7296kB, file-rss:3544kB, shmem-rss:0kB
[ 3638.345419] Out of memory: Kill process 2636 (autotest-local) score 1 or sacrifice child
[ 3638.347095] Killed process 2638 (autotest-local) total-vm:17836kB, anon-rss:7160kB, file-rss:1752kB, shmem-rss:0kB
[ 3638.368917] Out of memory: Kill process 2636 (autotest-local) score 1 or sacrifice child
[ 3638.369954] Killed process 2637 (autotest-local) total-vm:17836kB, anon-rss:7160kB, file-rss:1684kB, shmem-rss:0kB
[ 3638.479196] Out of memory: Kill process 2636 (autotest-local) score 1 or sacrifice child
[ 3638.482968] Killed process 2636 (autotest-local) total-vm:17836kB, anon-rss:7248kB, file-rss:5864kB, shmem-rss:0kB
[ 3638.501050] Out of memory: Kill process 10619 (python) score 1 or sacrifice child
[ 3638.502022] Killed process 14752 (make) total-vm:6052kB, anon-rss:196kB, file-rss:2032kB, shmem-rss:0kB
[ 3638.511243] Out of memory: Kill process 10619 (python) score 1 or sacrifice child
[ 3638.512224] Killed process 10619 (python) total-vm:16752kB, anon-rss:5836kB, file-rss:6148kB, shmem-rss:0kB
[ 3638.525104] Out of memory: Kill process 3382 (python) score 0 or sacrifice child
[ 3638.526060] Killed process 3382 (python) total-vm:21296kB, anon-rss:3732kB, file-rss:4080kB, shmem-rss:0kB
[ 3638.545114] Out of memory: Kill process 553 (haveged) score 0 or sacrifice child
[ 3638.546068] Killed process 553 (haveged) total-vm:8028kB, anon-rss:4780kB, file-rss:1468kB, shmem-rss:0kB
[ 3638.573449] Out of memory: Kill process 10373 (sshd) score 0 or sacrifice child
[ 3638.574353] Killed process 11430 (sshd) total-vm:14444kB, anon-rss:1712kB, file-rss:2960kB, shmem-rss:0kB
[ 3638.591696] Out of memory: Kill process 10373 (sshd) score 0 or sacrifice child
[ 3638.595493] Killed process 10373 (sshd) total-vm:13460kB, anon-rss:752kB, file-rss:5476kB, shmem-rss:4kB
[ 3638.605938] Out of memory: Kill process 898 (sshd) score 0 or sacrifice child
[ 3638.607617] Killed process 911 (sshd) total-vm:13804kB, anon-rss:1120kB, file-rss:3184kB, shmem-rss:0kB
[ 3638.626950] Out of memory: Kill process 898 (sshd) score 0 or sacrifice child
[ 3638.627839] Killed process 898 (sshd) total-vm:13460kB, anon-rss:744kB, file-rss:5436kB, shmem-rss:4kB
[ 3638.641735] Out of memory: Kill process 900 (systemd) score 0 or sacrifice child
[ 3638.643448] Killed process 901 ((sd-pam)) total-vm:10360kB, anon-rss:1300kB, file-rss:48kB, shmem-rss:0kB
[ 3638.652509] Out of memory: Kill process 900 (systemd) score 0 or sacrifice child
[ 3638.653656] Killed process 900 (systemd) total-vm:9288kB, anon-rss:640kB, file-rss:4928kB, shmem-rss:0kB
[ 3638.665935] Out of memory: Kill process 11431 (bash) score 0 or sacrifice child
[ 3638.666823] Killed process 10819 (dmesg) total-vm:4236kB, anon-rss:84kB, file-rss:880kB, shmem-rss:0kB
[ 3638.675625] Out of memory: Kill process 11431 (bash) score 0 or sacrifice child
[ 3638.676541] Killed process 11431 (bash) total-vm:6656kB, anon-rss:1460kB, file-rss:2956kB, shmem-rss:0kB
[ 3638.691069] Out of memory: Kill process 9626 (bash) score 0 or sacrifice child
[ 3638.694953] Killed process 10187 (link_subset) total-vm:2420kB, anon-rss:72kB, file-rss:752kB, shmem-rss:0kB
While the test ran, I was logged in via ssh and ran "dmesg -w". Tail:
egression/
[ 3638.404240] audit: type=1400 audit(147617781
[ 3638.404254] audit: type=1400 audit(147617781
[ 3638.404267] audit: type=1400 audit(147617781
[ 3638.404280] audit: type=1400 audit(147617781
[ 3638.404293] audit: type=1400 audit(147617781
[ 3638.404306] audit: type=1400 audit(147617781
[ 3638.404318] audit: type=1400 audit(147617781
[ 3638.404330] audit: type=1400 audit(147617781
[ 3638.404342] audit: type=1400 audit(147617781
[ 3638.404354] audit: type=1400 audit(147617781
[ 3638.404365] audit: type=1400 audit(147617781
[ 3638.404377] audit: type=1400 audit(147617781
[ 3638.404390] audit: type=1400 audit(147617781
[ 3638.404419] audit: type=1400 audit(147617781
[ 3638.404438] audit: type=1400 audit(147617781
[ 3638.404452] audit: type=1400 audit(147617781
[ 3638.404465] audit: type=1400 audit(147617781
The many DENIED are just expected errors from the AppArmor tests, and the "broken pipe" is from ssh when the testbed side kills sshd (presumably due to OOM?)
tags: | added: autopkgtest bot-stop-nagging yakkety |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Yakkety): | |
assignee: | nobody → Colin Ian King (colin-king) |
Would it be possible for you to test the latest upstream kernel? Refer to https:/ /wiki.ubuntu. com/KernelMainl ineBuilds . Please test the latest v4.8 kernel[0].
If this bug is fixed in the mainline kernel, please add the following tag 'kernel- fixed-upstream' .
If the mainline kernel does not fix this bug, please add the tag: 'kernel- bug-exists- upstream' .
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".
Thanks in advance.
[0] http:// kernel. ubuntu. com/~kernel- ppa/mainline/ v4.8