[Bug 1960847] Re: lxc autopkgtests failures with cgroupv2 on jammy

2022-03-21 Thread Po-Hsu Lin
** Changed in: ubuntu-kernel-tests
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960847

Title:
  lxc autopkgtests failures with cgroupv2 on jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1960847/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1960847] Re: lxc autopkgtests failures with cgroupv2 on jammy

2022-02-21 Thread Po-Hsu Lin
** Changed in: ubuntu-kernel-tests
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960847

Title:
  lxc autopkgtests failures with cgroupv2 on jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1960847/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1960847] Re: lxc autopkgtests failures with cgroupv2 on jammy

2022-02-15 Thread Po-Hsu Lin
https://lists.ubuntu.com/archives/kernel-team/2022-February/128112.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960847

Title:
  lxc autopkgtests failures with cgroupv2 on jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1960847/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1960847] Re: lxc autopkgtests failures with cgroupv2 on jammy

2022-02-15 Thread Po-Hsu Lin
We used to run the lxc tests via autopkgtest command directly from the
archive.

This has been changed for our test granularity improvement to make it easier to 
review the result about 6 months ago and the outcome is pretty good until now:
https://git.launchpad.net/~canonical-kernel-team/+git/autotest-client-tests/commit/?id=f914a916508e9c866e013837408a28e777ce1a82
By running sub-tests one-by-one we will be able to know which one is failing 
easily without checking the overall test report from "exercise" script.

The lxc-pkg-ubuntu git repo was used as the test script source at that
time since it's the upstream source. We didn't expect there will be such
an issue like package version mismatch (bug 1960094) due to the upload
delay back then, it's been corrected now.

Please don't hesitate to let us know if there is any other option to improve 
this.
Thank you!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960847

Title:
  lxc autopkgtests failures with cgroupv2 on jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1960847/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1960847] Re: lxc autopkgtests failures with cgroupv2 on jammy

2022-02-15 Thread Po-Hsu Lin
Thanks for the hint Stéphane,

I found the fix here:
https://github.com/lxc/lxc-pkg-ubuntu/commit/a9b80060f910e133fe899bd89ff9182b4a4d02e9


** Changed in: ubuntu-kernel-tests
 Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

** Changed in: ubuntu-kernel-tests
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960847

Title:
  lxc autopkgtests failures with cgroupv2 on jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1960847/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1960847] Re: lxc autopkgtests failures with cgroupv2 on jammy

2022-02-15 Thread Stéphane Graber
Marking this invalid against LXC as the code in the archive for package
testing is handling this case properly already.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960847

Title:
  lxc autopkgtests failures with cgroupv2 on jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1960847/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1960847] Re: lxc autopkgtests failures with cgroupv2 on jammy

2022-02-15 Thread Stéphane Graber
The autopkgtest script in the Ubuntu package has:

# Skip some tests due to cgroup v2 incompatibility
if [ -e /sys/fs/cgroup/system.slice/memory.current ]; then

[ "$testbin" = "lxc-test-apparmor-mount" ] && \
ignore "$STRING" && continue

[ "$testbin" = "lxc-test-autostart" ] && \
ignore "$STRING" && continue

[ "$testbin" = "lxc-test-no-new-privs" ] && \
ignore "$STRING" && continue

[ "$testbin" = "lxc-test-unpriv" ] && \
ignore "$STRING" && continue
fi


And it did clear autopkgtest very recently in jammy. Closing this issue.

I think a lot of the recent issues we've been getting with kernel
testing of LXC is because you're not actually running the same
autopkgtest and packages that we are in the main archive.

This caused library/binary mismatches in a recent issue and now is
causing issues because of the difference in test script (the on in lxc-
ci is lagging behind in this case which isn't a problem as the LXC CI
environment runs hybrid cgroupv1 on purpose).

** Changed in: lxc (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960847

Title:
  lxc autopkgtests failures with cgroupv2 on jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1960847/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs