[Touch-packages] [Bug 1969905] Re: lxc-test-no-new-privs in ubuntu_lxc failed on F-s390x zVM (lxc 1:4.0.12-0ubuntu1~20.04.1 )
OK I misread Stefan's comment, checking the report again, it's using the consistent version (1:4.0.12-0ubuntu1~20.04.1)) for both lxc and test cases (source) on that s390x zVM. Please find attachment for the full test log. I will switch the bug status back to New. ** Attachment added: "test-110.log" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1969905/+attachment/5582419/+files/test-110.log ** Changed in: lxc (Ubuntu) Status: Invalid => New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1969905 Title: lxc-test-no-new-privs in ubuntu_lxc failed on F-s390x zVM (lxc 1:4.0.12-0ubuntu1~20.04.1 ) Status in ubuntu-kernel-tests: New Status in lxc package in Ubuntu: New Bug description: Issue found on F 5.4.0-108.122 s390x node kernel04 Test failed with: Running '/tmp/lxc-pkg-ubuntu/src/tests/lxc-test-no-new-privs' + DONE=0 + trap cleanup EXIT SIGHUP SIGINT SIGTERM + '[' '!' -d /etc/lxc ']' + lxc-create -t busybox -n c1 + echo 'lxc.no_new_privs = 1' + lxc-start -n c1 ++ lxc-info -n c1 -p -H + p1=65479 + '[' 65479 '!=' -1 ']' + lxc-attach -n c1 --clear-env -- mkdir -p /home/ubuntu + lxc-attach -n c1 --clear-env -- /bin/sh -c 'cat <> /etc/passwd ubuntu:x:1000:1000:ubuntu:/home/ubuntu:/bin/sh EOF' + lxc-attach -n c1 --clear-env --uid 1000 --gid 1000 -- ping -c 1 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ping: permission denied (are you root?) + lxc-stop -n c1 -k + sed -i 's/lxc.no_new_privs = 1/lxc.no_new_privs = 0/' /var/lib/lxc/c1/config + lxc-start -n c1 + lxc-attach -n c1 --clear-env --uid 1000 --gid 1000 -- ping -c 1 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ping: sendto: Network is unreachable Managed to ping localhost + echo 'Managed to ping localhost' + false + cleanup + cd / + lxc-destroy -n c1 -f FAIL + '[' 0 -eq 0 ']' + echo FAIL + exit 1 It's worthy to note that this test has passed with 5.4.0-106.120 + lxc 1:4.0.6-0ubuntu1~20.04.1 The test output is a bit different, I think it's because of this commit: https://github.com/lxc/lxc/commit/f6a53ad2c593ade2320cc357abd15e01e22b6f8d To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1969905/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1969905] Re: lxc-test-no-new-privs in ubuntu_lxc failed on F-s390x zVM (lxc 1:4.0.12-0ubuntu1~20.04.1 )
Tried this on a Focal AMD64 instance, and it passed with 1:4.0.12-0ubuntu1~20.04.1 Stefan is right, the tool was not updated on that s390x SUT. Sorry for the noise, this is a manually provisioned system and this -proposed stuff must be something leftover from the past. ** Changed in: lxc (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1969905 Title: lxc-test-no-new-privs in ubuntu_lxc failed on F-s390x zVM (lxc 1:4.0.12-0ubuntu1~20.04.1 ) Status in ubuntu-kernel-tests: New Status in lxc package in Ubuntu: Invalid Bug description: Issue found on F 5.4.0-108.122 s390x node kernel04 Test failed with: Running '/tmp/lxc-pkg-ubuntu/src/tests/lxc-test-no-new-privs' + DONE=0 + trap cleanup EXIT SIGHUP SIGINT SIGTERM + '[' '!' -d /etc/lxc ']' + lxc-create -t busybox -n c1 + echo 'lxc.no_new_privs = 1' + lxc-start -n c1 ++ lxc-info -n c1 -p -H + p1=65479 + '[' 65479 '!=' -1 ']' + lxc-attach -n c1 --clear-env -- mkdir -p /home/ubuntu + lxc-attach -n c1 --clear-env -- /bin/sh -c 'cat <> /etc/passwd ubuntu:x:1000:1000:ubuntu:/home/ubuntu:/bin/sh EOF' + lxc-attach -n c1 --clear-env --uid 1000 --gid 1000 -- ping -c 1 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ping: permission denied (are you root?) + lxc-stop -n c1 -k + sed -i 's/lxc.no_new_privs = 1/lxc.no_new_privs = 0/' /var/lib/lxc/c1/config + lxc-start -n c1 + lxc-attach -n c1 --clear-env --uid 1000 --gid 1000 -- ping -c 1 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ping: sendto: Network is unreachable Managed to ping localhost + echo 'Managed to ping localhost' + false + cleanup + cd / + lxc-destroy -n c1 -f FAIL + '[' 0 -eq 0 ']' + echo FAIL + exit 1 It's worthy to note that this test has passed with 5.4.0-106.120 + lxc 1:4.0.6-0ubuntu1~20.04.1 The test output is a bit different, I think it's because of this commit: https://github.com/lxc/lxc/commit/f6a53ad2c593ade2320cc357abd15e01e22b6f8d To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1969905/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1969905] Re: lxc-test-no-new-privs in ubuntu_lxc failed on F-s390x zVM (lxc 1:4.0.12-0ubuntu1~20.04.1 )
Turns out that is a SUT which does not get freshly provisioned and had proposed enabled. And there is a newer lxc in proposed. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1969905 Title: lxc-test-no-new-privs in ubuntu_lxc failed on F-s390x zVM (lxc 1:4.0.12-0ubuntu1~20.04.1 ) Status in ubuntu-kernel-tests: New Status in lxc package in Ubuntu: New Bug description: Issue found on F 5.4.0-108.122 s390x node kernel04 Test failed with: Running '/tmp/lxc-pkg-ubuntu/src/tests/lxc-test-no-new-privs' + DONE=0 + trap cleanup EXIT SIGHUP SIGINT SIGTERM + '[' '!' -d /etc/lxc ']' + lxc-create -t busybox -n c1 + echo 'lxc.no_new_privs = 1' + lxc-start -n c1 ++ lxc-info -n c1 -p -H + p1=65479 + '[' 65479 '!=' -1 ']' + lxc-attach -n c1 --clear-env -- mkdir -p /home/ubuntu + lxc-attach -n c1 --clear-env -- /bin/sh -c 'cat <> /etc/passwd ubuntu:x:1000:1000:ubuntu:/home/ubuntu:/bin/sh EOF' + lxc-attach -n c1 --clear-env --uid 1000 --gid 1000 -- ping -c 1 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ping: permission denied (are you root?) + lxc-stop -n c1 -k + sed -i 's/lxc.no_new_privs = 1/lxc.no_new_privs = 0/' /var/lib/lxc/c1/config + lxc-start -n c1 + lxc-attach -n c1 --clear-env --uid 1000 --gid 1000 -- ping -c 1 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ping: sendto: Network is unreachable Managed to ping localhost + echo 'Managed to ping localhost' + false + cleanup + cd / + lxc-destroy -n c1 -f FAIL + '[' 0 -eq 0 ']' + echo FAIL + exit 1 It's worthy to note that this test has passed with 5.4.0-106.120 + lxc 1:4.0.6-0ubuntu1~20.04.1 The test output is a bit different, I think it's because of this commit: https://github.com/lxc/lxc/commit/f6a53ad2c593ade2320cc357abd15e01e22b6f8d To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1969905/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1969905] Re: lxc-test-no-new-privs in ubuntu_lxc failed on F-s390x zVM (lxc 1:4.0.12-0ubuntu1~20.04.1 )
Hi Christian, we just found that it's because we have universe -proposed enabled on that node only. (Which should be disabled for our SRU test) On other instances they're still using the old test case from 1:4.0.6-0ubuntu1~20.04.1. I can give it a try on AMD64 instance. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1969905 Title: lxc-test-no-new-privs in ubuntu_lxc failed on F-s390x zVM (lxc 1:4.0.12-0ubuntu1~20.04.1 ) Status in ubuntu-kernel-tests: New Status in lxc package in Ubuntu: New Bug description: Issue found on F 5.4.0-108.122 s390x node kernel04 Test failed with: Running '/tmp/lxc-pkg-ubuntu/src/tests/lxc-test-no-new-privs' + DONE=0 + trap cleanup EXIT SIGHUP SIGINT SIGTERM + '[' '!' -d /etc/lxc ']' + lxc-create -t busybox -n c1 + echo 'lxc.no_new_privs = 1' + lxc-start -n c1 ++ lxc-info -n c1 -p -H + p1=65479 + '[' 65479 '!=' -1 ']' + lxc-attach -n c1 --clear-env -- mkdir -p /home/ubuntu + lxc-attach -n c1 --clear-env -- /bin/sh -c 'cat <> /etc/passwd ubuntu:x:1000:1000:ubuntu:/home/ubuntu:/bin/sh EOF' + lxc-attach -n c1 --clear-env --uid 1000 --gid 1000 -- ping -c 1 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ping: permission denied (are you root?) + lxc-stop -n c1 -k + sed -i 's/lxc.no_new_privs = 1/lxc.no_new_privs = 0/' /var/lib/lxc/c1/config + lxc-start -n c1 + lxc-attach -n c1 --clear-env --uid 1000 --gid 1000 -- ping -c 1 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ping: sendto: Network is unreachable Managed to ping localhost + echo 'Managed to ping localhost' + false + cleanup + cd / + lxc-destroy -n c1 -f FAIL + '[' 0 -eq 0 ']' + echo FAIL + exit 1 It's worthy to note that this test has passed with 5.4.0-106.120 + lxc 1:4.0.6-0ubuntu1~20.04.1 The test output is a bit different, I think it's because of this commit: https://github.com/lxc/lxc/commit/f6a53ad2c593ade2320cc357abd15e01e22b6f8d To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1969905/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1969905] Re: lxc-test-no-new-privs in ubuntu_lxc failed on F-s390x zVM (lxc 1:4.0.12-0ubuntu1~20.04.1 )
And that only fails on s390x? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1969905 Title: lxc-test-no-new-privs in ubuntu_lxc failed on F-s390x zVM (lxc 1:4.0.12-0ubuntu1~20.04.1 ) Status in ubuntu-kernel-tests: New Status in lxc package in Ubuntu: New Bug description: Issue found on F 5.4.0-108.122 s390x node kernel04 Test failed with: Running '/tmp/lxc-pkg-ubuntu/src/tests/lxc-test-no-new-privs' + DONE=0 + trap cleanup EXIT SIGHUP SIGINT SIGTERM + '[' '!' -d /etc/lxc ']' + lxc-create -t busybox -n c1 + echo 'lxc.no_new_privs = 1' + lxc-start -n c1 ++ lxc-info -n c1 -p -H + p1=65479 + '[' 65479 '!=' -1 ']' + lxc-attach -n c1 --clear-env -- mkdir -p /home/ubuntu + lxc-attach -n c1 --clear-env -- /bin/sh -c 'cat <> /etc/passwd ubuntu:x:1000:1000:ubuntu:/home/ubuntu:/bin/sh EOF' + lxc-attach -n c1 --clear-env --uid 1000 --gid 1000 -- ping -c 1 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ping: permission denied (are you root?) + lxc-stop -n c1 -k + sed -i 's/lxc.no_new_privs = 1/lxc.no_new_privs = 0/' /var/lib/lxc/c1/config + lxc-start -n c1 + lxc-attach -n c1 --clear-env --uid 1000 --gid 1000 -- ping -c 1 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ping: sendto: Network is unreachable Managed to ping localhost + echo 'Managed to ping localhost' + false + cleanup + cd / + lxc-destroy -n c1 -f FAIL + '[' 0 -eq 0 ']' + echo FAIL + exit 1 It's worthy to note that this test has passed with 5.4.0-106.120 + lxc 1:4.0.6-0ubuntu1~20.04.1 The test output is a bit different, I think it's because of this commit: https://github.com/lxc/lxc/commit/f6a53ad2c593ade2320cc357abd15e01e22b6f8d To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1969905/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1969905] Re: lxc-test-no-new-privs in ubuntu_lxc failed on F-s390x zVM (lxc 1:4.0.12-0ubuntu1~20.04.1 )
** Tags added: 5.4 focal s390x sru-20220321 ubuntu-lxc ** Also affects: lxc (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1969905 Title: lxc-test-no-new-privs in ubuntu_lxc failed on F-s390x zVM (lxc 1:4.0.12-0ubuntu1~20.04.1 ) Status in ubuntu-kernel-tests: New Status in lxc package in Ubuntu: New Bug description: Issue found on F 5.4.0-108.122 s390x node kernel04 Test failed with: Running '/tmp/lxc-pkg-ubuntu/src/tests/lxc-test-no-new-privs' + DONE=0 + trap cleanup EXIT SIGHUP SIGINT SIGTERM + '[' '!' -d /etc/lxc ']' + lxc-create -t busybox -n c1 + echo 'lxc.no_new_privs = 1' + lxc-start -n c1 ++ lxc-info -n c1 -p -H + p1=65479 + '[' 65479 '!=' -1 ']' + lxc-attach -n c1 --clear-env -- mkdir -p /home/ubuntu + lxc-attach -n c1 --clear-env -- /bin/sh -c 'cat <> /etc/passwd ubuntu:x:1000:1000:ubuntu:/home/ubuntu:/bin/sh EOF' + lxc-attach -n c1 --clear-env --uid 1000 --gid 1000 -- ping -c 1 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ping: permission denied (are you root?) + lxc-stop -n c1 -k + sed -i 's/lxc.no_new_privs = 1/lxc.no_new_privs = 0/' /var/lib/lxc/c1/config + lxc-start -n c1 + lxc-attach -n c1 --clear-env --uid 1000 --gid 1000 -- ping -c 1 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ping: sendto: Network is unreachable Managed to ping localhost + echo 'Managed to ping localhost' + false + cleanup + cd / + lxc-destroy -n c1 -f FAIL + '[' 0 -eq 0 ']' + echo FAIL + exit 1 It's worthy to note that this test has passed with 5.4.0-106.120 + lxc 1:4.0.6-0ubuntu1~20.04.1 The test output is a bit different, I think it's because of this commit: https://github.com/lxc/lxc/commit/f6a53ad2c593ade2320cc357abd15e01e22b6f8d To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1969905/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp