lxc-test-usernsexec in ubuntu_lxc failed with myuidgid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Issue found on 5.8.0-1008.8 GCP
Test failed with:
FAIL: lxc-tests: lxc-test-usernsexec (1s)
---
as test-userns executing /tmp/autopkgtes
uid=1008 gid=1009 name=test-userns subuid=624288 subgid=624288 ver=1:4.
lxc-utils=
USERNSEXEC=
nouidgid: PASS
myuidgid: FAIL - runtest failed 1
$ lxc-usernsexec -mu:0:1008:1 -mg:0:1009:1 -- /tmp/autopkgtes
lxc 20201016155824.477 ERROR utils - utils.c:
kid 80842 is gone 1
subuidgid: PASS
bothsets: PASS
mismatch: PASS
ERRORS: myuidgid
---
PASS: lxc-tests: lxc-test-utils (0s)
SUMMARY: pass=43, fail=1, ignored=1
tags: | added: hirsute |
tags: | added: sru-20201130 |
summary: |
- lxc-test-usernsexec in ubunut_lxc failed with myuidgid + lxc-test-usernsexec in ubuntu_lxc failed with myuidgid |
tags: |
added: ubuntu-lxc removed: ubuntu-k8s-unit-tests |
tags: | added: sru-20210412 |
tags: | added: 5.11 |
linux-aws focal t.1Mn2pV/ build.J3t/ src/src/ tests/lxc- test-usernsexec 0.4-0ubuntu3 1:4.0.4- 0ubuntu3 kver=5.8.0-1014-aws lxc-usernsexec t.1Mn2pV/ build.J3t/ src/src/ tests/lxc- test-usernsexec inside f0 lxc_setgroups: 1363 - Operation not permitted - Failed to setgroups()
11/18 01:31:05 DEBUG| utils:0153| [stdout] FAIL: lxc-tests: lxc-test-usernsexec (2s)
11/18 01:31:05 DEBUG| utils:0153| [stdout] ---
11/18 01:31:05 DEBUG| utils:0153| [stdout] as test-userns executing /tmp/autopkgtes
11/18 01:31:05 DEBUG| utils:0153| [stdout] uid=1001 gid=1001 name=test-userns subuid=165536 subgid=165536 ver=1:4.
11/18 01:31:05 DEBUG| utils:0153| [stdout] lxc-utils=
11/18 01:31:05 DEBUG| utils:0153| [stdout] USERNSEXEC=
11/18 01:31:05 DEBUG| utils:0153| [stdout] nouidgid: PASS
11/18 01:31:05 DEBUG| utils:0153| [stdout] myuidgid: FAIL - runtest failed 1
11/18 01:31:05 DEBUG| utils:0153| [stdout] $ lxc-usernsexec -mu:0:1001:1 -mg:0:1001:1 -- /tmp/autopkgtes
11/18 01:31:05 DEBUG| utils:0153| [stdout] lxc 20201118013103.948 ERROR utils - utils.c:
11/18 01:31:05 DEBUG| utils:0153| [stdout] kid 79906 is gone 1
11/18 01:31:05 DEBUG| utils:0153| [stdout] subuidgid: PASS
11/18 01:31:05 DEBUG| utils:0153| [stdout] bothsets: PASS
11/18 01:31:05 DEBUG| utils:0153| [stdout] mismatch: PASS
11/18 01:31:05 DEBUG| utils:0153| [stdout] ERRORS: myuidgid
11/18 01:31:05 DEBUG| utils:0153| [stdout] ---