ubuntu_lxc hang on Impish 5.13 with api_test.py test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned | ||
python3-lxc (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The ubuntu_lxc test will timeout on some Impish test systems:
* baltar.ppc64el.9
* kernel03.s390x.zvm
* kuzzle.arm64
* rizzo.amd64
* s2lp4.s390x.lpar
It didn't hang on some instances because:
* dryden.ppc64el - test setup failed at the very beginning
* scobee-kernel.arm64 - unable to fetch GPG key on this maas (bug 1939871)
* vought.amd64 - unable to fetch GPG key on this maas (bug 1939871)
* appleton-
The test log shows the api_test.py test timeout and getting nuked:
START ubuntu_
Persistent state client.
Persistent state client.
Waiting for pid 98177 for 900 seconds
System python is too old, crash handling disabled
Running 'python3 /usr/share/
Using image from local cache
Unpacking the rootfs
---
You just created an Ubuntu xenial s390x (20211106_07:55) container.
To enable SSH, run: apt install openssh-server
No default root or user password are set by LXC.
Timer expired (900 sec.), nuking pid 98177
However, the process is still running:
$ ps aux | grep lxc
root 1857 0.0 0.5 27720 11588 pts/0 S 02:19 0:00 /usr/bin/python2 -u autotest/
root 1858 0.0 0.5 27720 11588 pts/0 S 02:19 0:00 /usr/bin/python2 -u autotest/
root 2980 0.0 0.0 225104 1640 ? Ssl 02:21 0:00 /usr/bin/lxcfs /var/lib/lxcfs
lxc-dns+ 3223 0.0 0.1 14572 2436 ? S 02:21 0:00 dnsmasq --conf-
root 103371 0.0 0.5 19304 11728 pts/0 S 02:31 0:01 python3 /usr/share/
root 103423 0.0 0.3 19304 7304 ? Ss 02:32 0:00 [lxc monitor] /var/lib/lxc ae2b9000-
ubuntu 106780 0.0 0.1 8548 2368 pts/1 S+ 03:09 0:00 grep --color=auto lxc
Thus causing the whole test suite to hand, and eventually being killed by the jenkins timeout setting.
I tried to run this test manually on a KVM node, it will hang with "Getting the IP addresses":
$ time sudo /usr/share/
Getting instance for '5b086620-
Creating rootfs using 'download', arch=amd64
Using image from local cache
Unpacking the rootfs
---
You just created an Ubuntu xenial amd64 (20211123_16:46) container.
To enable SSH, run: apt install openssh-server
No default root or user password are set by LXC.
Testing the configuration
Testing the networking
Starting the container
Getting the interface names
Getting the IP addresses
tags: | added: impish sru-20211108 ubuntu-lxc |
description: | updated |
description: | updated |
summary: |
- ubuntu_lxc hang on Impish 5.13 (api_test.py) + ubuntu_lxc hang on Impish 5.13 with api_test.py test |
tags: | added: jammy sru-20230320 |
tags: | added: oracle |
This is expected due to the change in impish to cgroups2. This is really a test issue, not an issue with lxc.