2019-08-21 14:56:15 |
Po-Hsu Lin |
bug |
|
|
added bug |
2019-08-21 14:57:21 |
Po-Hsu Lin |
affects |
linux-signed-gke-4.15 (Ubuntu) |
linux (Ubuntu) |
|
2019-08-21 14:57:52 |
Po-Hsu Lin |
nominated for series |
|
Ubuntu Bionic |
|
2019-08-21 14:57:52 |
Po-Hsu Lin |
bug task added |
|
linux (Ubuntu Bionic) |
|
2019-08-21 14:58:10 |
Po-Hsu Lin |
bug task added |
|
ubuntu-kernel-tests |
|
2019-08-21 15:00:15 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2019-08-21 15:00:19 |
Ubuntu Kernel Bot |
linux (Ubuntu Bionic): status |
New |
Incomplete |
|
2019-08-21 15:01:11 |
Po-Hsu Lin |
tags |
amd64 apport-bug bionic uec-images |
amd64 apport-bug bionic sru-20190812 ubuntu-kernel-selftests uec-images |
|
2019-08-21 15:15:28 |
Kleber Sacilotto de Souza |
linux (Ubuntu Bionic): status |
Incomplete |
Confirmed |
|
2019-08-21 15:27:07 |
Po-Hsu Lin |
description |
Commit c33a23ff (selftests: skip seccomp get_metadata test if not real root)
Is causing compilation error for the seccomp test in ubuntu_kernel_selftests:
$ sudo make -C tools/testing/selftests TARGETS=seccomp run_tests
make: Entering directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests'
make[1]: Entering directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests/seccomp'
gcc -Wl,-no-as-needed -Wall seccomp_bpf.c -lpthread -o seccomp_bpf
seccomp_bpf.c: In function ‘syscall_restart’:
seccomp_bpf.c:2685:3: warning: implicit declaration of function ‘XFAIL’; did you mean ‘EFAULT’? [-Wimplicit-function-declaration]
XFAIL(return, "get_metadata requires real root");
^~~~~
EFAULT
seccomp_bpf.c:2685:9: error: expected expression before ‘return’
XFAIL(return, "get_metadata requires real root");
^~~~~~
Makefile:12: recipe for target 'seccomp_bpf' failed
make[1]: *** [seccomp_bpf] Error 1
make[1]: Leaving directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests/seccomp'
Makefile:73: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests'
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-1040-gke 4.15.0-1040.42
ProcVersionSignature: Ubuntu 4.15.0-1040.42-gke 4.15.18
Uname: Linux 4.15.0-1040-gke x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
Date: Wed Aug 21 14:33:19 2019
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-gke-4.15
UpgradeStatus: No upgrade log present (probably fresh install) |
Commit 7214e700 (selftests: skip seccomp get_metadata test if not real root) in Bionic tree
Is causing compilation error for the seccomp test in ubuntu_kernel_selftests:
$ sudo make -C tools/testing/selftests TARGETS=seccomp run_tests
make: Entering directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests'
make[1]: Entering directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests/seccomp'
gcc -Wl,-no-as-needed -Wall seccomp_bpf.c -lpthread -o seccomp_bpf
seccomp_bpf.c: In function ‘syscall_restart’:
seccomp_bpf.c:2685:3: warning: implicit declaration of function ‘XFAIL’; did you mean ‘EFAULT’? [-Wimplicit-function-declaration]
XFAIL(return, "get_metadata requires real root");
^~~~~
EFAULT
seccomp_bpf.c:2685:9: error: expected expression before ‘return’
XFAIL(return, "get_metadata requires real root");
^~~~~~
Makefile:12: recipe for target 'seccomp_bpf' failed
make[1]: *** [seccomp_bpf] Error 1
make[1]: Leaving directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests/seccomp'
Makefile:73: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests'
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-1040-gke 4.15.0-1040.42
ProcVersionSignature: Ubuntu 4.15.0-1040.42-gke 4.15.18
Uname: Linux 4.15.0-1040-gke x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
Date: Wed Aug 21 14:33:19 2019
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-gke-4.15
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2019-08-21 16:01:04 |
Kleber Sacilotto de Souza |
linux (Ubuntu Bionic): status |
Confirmed |
In Progress |
|
2019-08-22 12:14:05 |
Kleber Sacilotto de Souza |
description |
Commit 7214e700 (selftests: skip seccomp get_metadata test if not real root) in Bionic tree
Is causing compilation error for the seccomp test in ubuntu_kernel_selftests:
$ sudo make -C tools/testing/selftests TARGETS=seccomp run_tests
make: Entering directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests'
make[1]: Entering directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests/seccomp'
gcc -Wl,-no-as-needed -Wall seccomp_bpf.c -lpthread -o seccomp_bpf
seccomp_bpf.c: In function ‘syscall_restart’:
seccomp_bpf.c:2685:3: warning: implicit declaration of function ‘XFAIL’; did you mean ‘EFAULT’? [-Wimplicit-function-declaration]
XFAIL(return, "get_metadata requires real root");
^~~~~
EFAULT
seccomp_bpf.c:2685:9: error: expected expression before ‘return’
XFAIL(return, "get_metadata requires real root");
^~~~~~
Makefile:12: recipe for target 'seccomp_bpf' failed
make[1]: *** [seccomp_bpf] Error 1
make[1]: Leaving directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests/seccomp'
Makefile:73: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests'
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-1040-gke 4.15.0-1040.42
ProcVersionSignature: Ubuntu 4.15.0-1040.42-gke 4.15.18
Uname: Linux 4.15.0-1040-gke x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
Date: Wed Aug 21 14:33:19 2019
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-gke-4.15
UpgradeStatus: No upgrade log present (probably fresh install) |
Commit c33a23ff8ffc (selftests: skip seccomp get_metadata test if not real root) in Bionic tree
Is causing compilation error for the seccomp test in ubuntu_kernel_selftests:
$ sudo make -C tools/testing/selftests TARGETS=seccomp run_tests
make: Entering directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests'
make[1]: Entering directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests/seccomp'
gcc -Wl,-no-as-needed -Wall seccomp_bpf.c -lpthread -o seccomp_bpf
seccomp_bpf.c: In function ‘syscall_restart’:
seccomp_bpf.c:2685:3: warning: implicit declaration of function ‘XFAIL’; did you mean ‘EFAULT’? [-Wimplicit-function-declaration]
XFAIL(return, "get_metadata requires real root");
^~~~~
EFAULT
seccomp_bpf.c:2685:9: error: expected expression before ‘return’
XFAIL(return, "get_metadata requires real root");
^~~~~~
Makefile:12: recipe for target 'seccomp_bpf' failed
make[1]: *** [seccomp_bpf] Error 1
make[1]: Leaving directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests/seccomp'
Makefile:73: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests'
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-1040-gke 4.15.0-1040.42
ProcVersionSignature: Ubuntu 4.15.0-1040.42-gke 4.15.18
Uname: Linux 4.15.0-1040-gke x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
Date: Wed Aug 21 14:33:19 2019
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-gke-4.15
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2019-08-22 12:28:20 |
Kleber Sacilotto de Souza |
description |
Commit c33a23ff8ffc (selftests: skip seccomp get_metadata test if not real root) in Bionic tree
Is causing compilation error for the seccomp test in ubuntu_kernel_selftests:
$ sudo make -C tools/testing/selftests TARGETS=seccomp run_tests
make: Entering directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests'
make[1]: Entering directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests/seccomp'
gcc -Wl,-no-as-needed -Wall seccomp_bpf.c -lpthread -o seccomp_bpf
seccomp_bpf.c: In function ‘syscall_restart’:
seccomp_bpf.c:2685:3: warning: implicit declaration of function ‘XFAIL’; did you mean ‘EFAULT’? [-Wimplicit-function-declaration]
XFAIL(return, "get_metadata requires real root");
^~~~~
EFAULT
seccomp_bpf.c:2685:9: error: expected expression before ‘return’
XFAIL(return, "get_metadata requires real root");
^~~~~~
Makefile:12: recipe for target 'seccomp_bpf' failed
make[1]: *** [seccomp_bpf] Error 1
make[1]: Leaving directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests/seccomp'
Makefile:73: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests'
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-1040-gke 4.15.0-1040.42
ProcVersionSignature: Ubuntu 4.15.0-1040.42-gke 4.15.18
Uname: Linux 4.15.0-1040-gke x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
Date: Wed Aug 21 14:33:19 2019
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-gke-4.15
UpgradeStatus: No upgrade log present (probably fresh install) |
[Impact]
Commit c33a23ff8ffc (selftests: skip seccomp get_metadata test if not real root) in Bionic tree
Is causing compilation error for the seccomp test in ubuntu_kernel_selftests:
$ sudo make -C tools/testing/selftests TARGETS=seccomp run_tests
make: Entering directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests'
make[1]: Entering directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests/seccomp'
gcc -Wl,-no-as-needed -Wall seccomp_bpf.c -lpthread -o seccomp_bpf
seccomp_bpf.c: In function ‘syscall_restart’:
seccomp_bpf.c:2685:3: warning: implicit declaration of function ‘XFAIL’; did you mean ‘EFAULT’? [-Wimplicit-function-declaration]
XFAIL(return, "get_metadata requires real root");
^~~~~
EFAULT
seccomp_bpf.c:2685:9: error: expected expression before ‘return’
XFAIL(return, "get_metadata requires real root");
^~~~~~
Makefile:12: recipe for target 'seccomp_bpf' failed
make[1]: *** [seccomp_bpf] Error 1
make[1]: Leaving directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests/seccomp'
Makefile:73: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/home/jenkins/ubuntu-gke-4.15-bionic/tools/testing/selftests'
[Fix]
Commit upstream 3aa415dd2128 (selftests: skip seccomp get_metadata test if not real root) depends on d057dc4e35e1 (seccomp: add a selftest for get_metadata), but the latter has been reverted on bionic as part of bug #1837664. The get_metadata testcase doesn't exist anymore, the backport of the patch ended up changing syscall_restart instead.
So the best solution is to revert c33a23ff8ffc, which is not needed and is causing trouble.
[Test Case]
Run the seccomp kernel selftests.
[Regression potential]
No regression potential. The commit introduced a regression by being wrongly backported, so reverting it will fix the issue and has no risk.
-------------------------------------------
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-1040-gke 4.15.0-1040.42
ProcVersionSignature: Ubuntu 4.15.0-1040.42-gke 4.15.18
Uname: Linux 4.15.0-1040-gke x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
Date: Wed Aug 21 14:33:19 2019
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-gke-4.15
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2019-08-22 16:55:57 |
Stefan Bader |
linux (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2019-08-24 07:36:44 |
Ubuntu Kernel Bot |
tags |
amd64 apport-bug bionic sru-20190812 ubuntu-kernel-selftests uec-images |
amd64 apport-bug bionic sru-20190812 ubuntu-kernel-selftests uec-images verification-needed-bionic |
|
2019-08-26 10:14:02 |
Kleber Sacilotto de Souza |
tags |
amd64 apport-bug bionic sru-20190812 ubuntu-kernel-selftests uec-images verification-needed-bionic |
amd64 apport-bug bionic sru-20190812 ubuntu-kernel-selftests uec-images verification-done-bionic |
|
2019-09-02 12:26:03 |
Launchpad Janitor |
linux (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-09-02 12:26:03 |
Launchpad Janitor |
cve linked |
|
2019-14283 |
|
2019-09-02 12:26:03 |
Launchpad Janitor |
cve linked |
|
2019-14284 |
|
2019-11-12 22:59:34 |
Sean Feole |
ubuntu-kernel-tests: status |
New |
Triaged |
|
2019-11-12 22:59:38 |
Sean Feole |
ubuntu-kernel-tests: assignee |
|
Sean Feole (sfeole) |
|
2019-11-12 23:04:11 |
Sean Feole |
linux (Ubuntu): status |
Incomplete |
Fix Released |
|
2019-11-12 23:04:13 |
Sean Feole |
ubuntu-kernel-tests: status |
Triaged |
Fix Released |
|