[Kernel-packages] [Bug 1840932] Re: [Regression] failed to compile seccomp test from ubuntu_kernel_selftests

2019-11-12 Thread Sean Feole
Verified Fixed-Released updating bug

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

** Changed in: ubuntu-kernel-tests
 Assignee: (unassigned) => Sean Feole (sfeole)

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

** Changed in: ubuntu-kernel-tests
   Status: Triaged => Fix Released

-- 
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:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Bionic:
  Fix Released

Bug description:
  [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=
   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


[Kernel-packages] [Bug 1840932] Re: [Regression] failed to compile seccomp test from ubuntu_kernel_selftests

2019-08-26 Thread Kleber Sacilotto de Souza
ubuntu_kernel_selftests.seccomp completed successfully with kernel
4.15.0-60.67.

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
/autopkgtest-bionic/bionic/amd64/l/linux/20190824_081505_2c3e7@/log.gz

** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

-- 
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:
  Fix Committed

Bug description:
  [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=
   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


[Kernel-packages] [Bug 1840932] Re: [Regression] failed to compile seccomp test from ubuntu_kernel_selftests

2019-08-24 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
bionic' to 'verification-done-bionic'. If the problem still exists,
change the tag 'verification-needed-bionic' to 'verification-failed-
bionic'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-bionic

-- 
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:
  Fix Committed

Bug description:
  [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=
   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


[Kernel-packages] [Bug 1840932] Re: [Regression] failed to compile seccomp test from ubuntu_kernel_selftests

2019-08-22 Thread Stefan Bader
** Changed in: linux (Ubuntu Bionic)
   Status: In Progress => Fix Committed

-- 
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:
  Fix Committed

Bug description:
  [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=
   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


[Kernel-packages] [Bug 1840932] Re: [Regression] failed to compile seccomp test from ubuntu_kernel_selftests

2019-08-22 Thread Kleber Sacilotto de Souza
SRU request:

https://lists.ubuntu.com/archives/kernel-team/2019-August/103284.html

-- 
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:
  In Progress

Bug description:
  [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=
   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


[Kernel-packages] [Bug 1840932] Re: [Regression] failed to compile seccomp test from ubuntu_kernel_selftests

2019-08-22 Thread Kleber Sacilotto de Souza
** Description changed:

- Commit c33a23ff8ffc (selftests: skip seccomp get_metadata test if not
- real root) in Bionic tree
+ [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=
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: linux-signed-gke-4.15
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
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:
  In Progress

Bug description:
  [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 

[Kernel-packages] [Bug 1840932] Re: [Regression] failed to compile seccomp test from ubuntu_kernel_selftests

2019-08-22 Thread Kleber Sacilotto de Souza
The commit in comment #3 is actually not applied to the bionic tree.

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.

So the best solution is to revert c33a23ff8ffc, which is not needed.

-- 
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:
  In Progress

Bug description:
  [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=
   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


[Kernel-packages] [Bug 1840932] Re: [Regression] failed to compile seccomp test from ubuntu_kernel_selftests

2019-08-22 Thread Kleber Sacilotto de Souza
** Description changed:

- Commit 7214e700 (selftests: skip seccomp get_metadata test if not real
- root) in Bionic tree
+ 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=
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: linux-signed-gke-4.15
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
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:
  In Progress

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


[Kernel-packages] [Bug 1840932] Re: [Regression] failed to compile seccomp test from ubuntu_kernel_selftests

2019-08-21 Thread Po-Hsu Lin
Commit in comment #3 is not the right one, we have already got that.

-- 
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:
  In Progress

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


[Kernel-packages] [Bug 1840932] Re: [Regression] failed to compile seccomp test from ubuntu_kernel_selftests

2019-08-21 Thread Kleber Sacilotto de Souza
** Changed in: linux (Ubuntu Bionic)
   Status: Confirmed => In Progress

-- 
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:
  In Progress

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


[Kernel-packages] [Bug 1840932] Re: [Regression] failed to compile seccomp test from ubuntu_kernel_selftests

2019-08-21 Thread Po-Hsu Lin
** Description changed:

- Commit c33a23ff (selftests: skip seccomp get_metadata test if not real
- root)
+ 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
+    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");
-  ^~
+    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=
-  LANG=C.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=
+  LANG=C.UTF-8
+  SHELL=/bin/bash
  SourcePackage: linux-signed-gke-4.15
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
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:
  Confirmed

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


[Kernel-packages] [Bug 1840932] Re: [Regression] failed to compile seccomp test from ubuntu_kernel_selftests

2019-08-21 Thread Kleber Sacilotto de Souza
** Changed in: linux (Ubuntu Bionic)
   Status: Incomplete => Confirmed

-- 
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:
  Confirmed

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=
   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


[Kernel-packages] [Bug 1840932] Re: [Regression] failed to compile seccomp test from ubuntu_kernel_selftests

2019-08-21 Thread Po-Hsu Lin
Possible fix:
https://github.com/torvalds/linux/commit/6c3b6d50839151c5d8a077610b5d8c3dc1e7e7b3

** Tags added: sru-20190812 ubuntu-kernel-selftests

-- 
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:
  Confirmed

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=
   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