This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1840932

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

** Changed in: linux (Ubuntu Bionic)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1840932

Title:
  [Regression] failed to compile seccomp test from
  ubuntu_kernel_selftests

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Bionic:
  Incomplete

Bug 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)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to