lxc container should be deleted after the lxc test on s390x

Bug #1788574 reported by Po-Hsu Lin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Po-Hsu Lin

Bug Description

As we won't re-deploy s390x instances, the left-over lxc containers from the lxc test should be deleted after the test.

So that the next round can be started cleanly.

It's about the "reboot" container created in the lxc-test-api-reboot test.
The leftover was caused by bug 1776381

If we have that bug fix, this one can be closed too.

ubuntu@s2lp4:~$ sudo lxc list
+------+-------+------+------+------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------+-------+------+------+------+-----------+
ubuntu@s2lp4:~$

ubuntu@s2lp4:~$ sudo lxc-ls
reboot

Po-Hsu Lin (cypressyew)
summary: - lxc container should be deleted after the lxc test
+ lxc container should be deleted after the lxc test on s390x
Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
status: New → Confirmed
Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-lxc
tags: added: s390x
Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: Confirmed → In Progress
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

FAIL: lxc-tests: lxc-test-api-reboot (0s)
---
api_reboot.c: 49: main: Container "reboot" is defined
---

Found on s390x metal instances of: bionic/linux 4.15.0-150.15, bionic/fips 4.15.0-1065.73

tags: added: 4.15 bionic fips sru-20210531 sru-20210621
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

We have applied the following patches but we are still seeing the failures:

https://kernel.ubuntu.com/git/ubuntu/autotest-client-tests.git/commit/ubuntu_lxc/exercise?id=1a50e77ca803fd3c9167e0680c8811bfaeae29d2
https://kernel.ubuntu.com/git/ubuntu/autotest-client-tests.git/commit/ubuntu_lxc/exercise?id=298cd01ebf796a7b6dd72da964f242bd5bc820cc

It turns out that for the series after artful we don't run the local script 'exercise', we run 'autopkgtest lxc -- null' instead.

Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Regression tests hinted. Need to revert hints when fix is applied/working.

tags: added: hinted
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Patch applied, test restarted for B-4.15 s390x and it's now hanging with the old bug 1776381

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

I am closing this, for the failure on B-4.15 s390x please refer to bug 1776381

If you are still seeing the Container "reboot" is defined error, please open a new bug.

Changed in ubuntu-kernel-tests:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.