ubuntu_lxc: lxc-test-unpriv failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Invalid
|
Undecided
|
Unassigned | ||
linux-aws-5.11 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
19:59:18 INFO | START ubuntu_
19:59:18 DEBUG| Persistent state client.
19:59:18 DEBUG| Persistent state client.
19:59:18 DEBUG| Waiting for pid 72752 for 900 seconds
19:59:18 WARNI| System python is too old, crash handling disabled
19:59:18 DEBUG| Running '/tmp/lxc-
19:59:18 ERROR| [stderr] userdel: user lxcunpriv is currently used by process 54461
19:59:18 ERROR| [stderr] /usr/sbin/deluser: `/sbin/userdel lxcunpriv' returned error code 8. Exiting.
19:59:18 ERROR| [stderr] sudo: unable to change directory to /home/lxcunpriv: No such file or directory
19:59:18 ERROR| [stderr] sudo: unable to execute /bin/sh: No such file or directory
19:59:18 ERROR| [stderr] sudo: unable to change directory to /home/lxcunpriv: No such file or directory
19:59:18 ERROR| [stderr] sudo: unable to execute /bin/sh: No such file or directory
19:59:18 ERROR| [stderr] sed: can't read /run/lxc/nics: No such file or directory
19:59:18 ERROR| Exception escaping from test:
Traceback (most recent call last):
File "/home/
_call_
File "/home/
return func(*args, **dargs)
File "/home/
postprocess
File "/home/
self.
File "/home/
utils.
File "/home/
verbose=
File "/home/
"Command returned non-zero exit status")
CmdError: Command </tmp/lxc-
* Command:
/tmp/
Exit status: 2
Duration: 0.152723073959
stderr:
userdel: user lxcunpriv is currently used by process 54461
/usr/sbin/deluser: `/sbin/userdel lxcunpriv' returned error code 8. Exiting.
sudo: unable to change directory to /home/lxcunpriv: No such file or directory
sudo: unable to execute /bin/sh: No such file or directory
sudo: unable to change directory to /home/lxcunpriv: No such file or directory
sudo: unable to execute /bin/sh: No such file or directory
sed: can't read /run/lxc/nics: No such file or directory
19:59:18 ERROR| child process failed
19:59:18 DEBUG| Traceback (most recent call last):
19:59:18 DEBUG| File "/home/
19:59:18 DEBUG| l()
19:59:18 DEBUG| File "/home/
19:59:18 DEBUG| l = lambda: test.runtest(self, url, tag, args, dargs)
19:59:18 DEBUG| File "/home/
19:59:18 DEBUG| job.sysinfo.
19:59:18 DEBUG| File "/home/
19:59:18 DEBUG| mytest._exec(args, dargs)
19:59:18 DEBUG| File "/home/
19:59:18 DEBUG| _call_test_
19:59:18 DEBUG| File "/home/
19:59:18 DEBUG| return func(*args, **dargs)
19:59:18 DEBUG| File "/home/
19:59:18 DEBUG| postprocess_
19:59:18 DEBUG| File "/home/
19:59:18 DEBUG| self.run_
19:59:18 DEBUG| File "/home/
19:59:18 DEBUG| utils.system_
19:59:18 DEBUG| File "/home/
19:59:18 DEBUG| verbose=verbose, args=args).stdout
19:59:18 DEBUG| File "/home/
19:59:18 DEBUG| "Command returned non-zero exit status")
19:59:18 DEBUG| CmdError: Command </tmp/lxc-
19:59:18 DEBUG| * Command:
19:59:18 DEBUG| /tmp/lxc-
19:59:18 DEBUG| Exit status: 2
19:59:18 DEBUG| Duration: 0.152723073959
19:59:18 DEBUG|
19:59:18 DEBUG| stderr:
19:59:18 DEBUG| userdel: user lxcunpriv is currently used by process 54461
19:59:18 DEBUG| /usr/sbin/deluser: `/sbin/userdel lxcunpriv' returned error code 8. Exiting.
19:59:18 DEBUG| sudo: unable to change directory to /home/lxcunpriv: No such file or directory
19:59:18 DEBUG| sudo: unable to execute /bin/sh: No such file or directory
19:59:18 DEBUG| sudo: unable to change directory to /home/lxcunpriv: No such file or directory
19:59:18 DEBUG| sudo: unable to execute /bin/sh: No such file or directory
19:59:18 DEBUG| sed: can't read /run/lxc/nics: No such file or directory
19:59:20 INFO | ERROR ubuntu_
* Command:
/
Exit status: 2
Duration: 0.152723073959
stderr:
userdel: user lxcunpriv is currently used by process 54461
/usr/
sudo: unable to change directory to /home/lxcunpriv: No such file or directory
sudo: unable to execute /bin/sh: No such file or directory
sudo: unable to change directory to /home/lxcunpriv: No such file or directory
sudo: unable to execute /bin/sh: No such file or directory
sed: can't read /run/lxc/nics: No such file or directory
19:59:20 INFO | END ERROR ubuntu_
tags: | added: 5.11 aws focal sru-20210906 ubuntu-lxc |
This failure seems to be caused by the hanging lxc-test- apparmor- mount test, which got killed by the 900 seconds timeout setting on these 3 instances (c3.xlarge, t3.medium, t3a.2xlarge)
Normally this test will take about 30 seconds to run. But somehow it hangs in this case.
I have the test restarted on these 3 failing instance and they're all green now.