[Kernel-packages] [Bug 1829812] Re: Regression for ubuntu_bpf test case in 5.0.0-16

2019-05-21 Thread Sean Feole
Caught this failing on arm64 , disco, 5.0.0-1007.7 linux-aws,

05/18 08:00:22 DEBUG| utils:0153| [stdout] make[2]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/lib/bpf'
05/18 08:00:22 DEBUG| utils:0153| [stdout] gcc -Wall -O2 
-I../../../include/uapi -I../../../lib -I../../../lib/bpf 
-I../../../../include/generated -I../../../include test_verifier.c 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a
 -lcap -lelf -lrt -lpthread -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_verifier
05/18 08:00:23 ERROR| utils:0153| [stderr] test_verifier.c: In function 
‘do_test_single’:
05/18 08:00:23 ERROR| utils:0153| [stderr] test_verifier.c:15951:22: warning: 
implicit declaration of function ‘bpf_probe_prog_type’; did you mean 
‘bpf_program__set_type’? [-Wimplicit-function-declaration]
05/18 08:00:23 ERROR| utils:0153| [stderr] if (fd_prog < 0 && 
!bpf_probe_prog_type(prog_type, 0)) {
05/18 08:00:23 ERROR| utils:0153| [stderr] ^~~
05/18 08:00:23 ERROR| utils:0153| [stderr] bpf_program__set_type
05/18 08:00:23 ERROR| utils:0153| [stderr] /usr/bin/ld: /tmp/cc9290dq.o: in 
function `do_test_single':
05/18 08:00:23 ERROR| utils:0153| [stderr] test_verifier.c:(.text+0x8c8): 
undefined reference to `bpf_probe_prog_type'
05/18 08:00:23 ERROR| utils:0153| [stderr] collect2: error: ld returned 1 exit 
status
05/18 08:00:23 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf'
05/18 08:00:23 DEBUG| utils:0153| [stdout] make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
05/18 08:00:23 ERROR| utils:0153| [stderr] make[1]: *** [../lib.mk:152: 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_verifier]
 Error 1
05/18 08:00:23 ERROR| utils:0153| [stderr] make: *** [Makefile:90: all] Error 2
05/18 08:00:23 ERROR| test:0414| Exception escaping from test:
Traceback (most recent call last):
  File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec
_call_test_function(self.execute, *p_args, **p_dargs)
  File "/home/ubuntu/autotest/client/shared/test.py", line 823, in 
_call_test_function
return func(*args, **dargs)
  File "/home/ubuntu/autotest/client/shared/test.py", line 291, in execute
postprocess_profiled_run, args, dargs)
  File "/home/ubuntu/autotest/client/shared/test.py", line 212, in 
_call_run_once
self.run_once(*args, **dargs)
  File 
"/home/ubuntu/autotest/client/tests/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py",
 line 144, in run_once
utils.system(cmd)
  File "/home/ubuntu/autotest/client/shared/utils.py", line 1232, in system
verbose=verbose).exit_status
  File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run
"Command returned non-zero exit status")
CmdError: Command  failed, 
rc=2, Command returned non-zero exit status
* Command:
make -C linux/tools/testing/selftests TARGETS=bpf
Exit status: 2
Duration: 5.29515004158

stdout:


** Tags added: arm64

** Tags added: linux-aws

** Also affects: linux-aws (Ubuntu)
   Importance: Undecided
   Status: New

** Summary changed:

- Regression for ubuntu_bpf test case in 5.0.0-16
+ Regression for ubuntu_bpf test case fails to build on disco

-- 
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/1829812

Title:
  Regression for ubuntu_bpf test case fails to build on disco

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

Bug description:
  This test will failed to build on 5.0.0-16 Disco.

  5.0.0-16 Disco + 5.0.0-15 source code - build OK
  5.0.0-16 Disco + 5.0.0-16 source code - Failed

  Bisect shows this one e38969c9 (selftests/bpf: skip verifier tests for
  unsupported program types) in our tree is the cause (upstream commit:
  8184d44c)

  Which uses a "recently introduced bpf_probe_prog_type()" to skip test.
  And we don't have it implemented.

    make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
    gcc -o 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/urandom_read
 -static urandom_read.c -Wl,--build-id
    make -C ../../../lib/bpf 
OUTPUT=/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/
    make[2]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'

    Auto-detecting system features:
    ...libelf: [ on  ]
    ...  

[Kernel-packages] [Bug 1829812] Re: Regression for ubuntu_bpf test case in 5.0.0-16

2019-05-21 Thread Sean Feole
also affects disco, 5.0.0-1007.7 linux-aws


05/18 08:00:22 DEBUG| utils:0153| [stdout] make[2]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/lib/bpf'
05/18 08:00:22 DEBUG| utils:0153| [stdout] gcc -Wall -O2 
-I../../../include/uapi -I../../../lib -I../../../lib/bpf 
-I../../../../include/generated  -I../../../includetest_verifier.c 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a
 -lcap -lelf -lrt -lpthread -o 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_verifier
05/18 08:00:23 ERROR| utils:0153| [stderr] test_verifier.c: In function 
‘do_test_single’:
05/18 08:00:23 ERROR| utils:0153| [stderr] test_verifier.c:15951:22: 
warning: implicit declaration of function ‘bpf_probe_prog_type’; did you 
mean ‘bpf_program__set_type’? [-Wimplicit-function-declaration]
05/18 08:00:23 ERROR| utils:0153| [stderr]   if (fd_prog < 0 && 
!bpf_probe_prog_type(prog_type, 0)) {
05/18 08:00:23 ERROR| utils:0153| [stderr]   
^~~
05/18 08:00:23 ERROR| utils:0153| [stderr]   
bpf_program__set_type
05/18 08:00:23 ERROR| utils:0153| [stderr] /usr/bin/ld: /tmp/cc9290dq.o: in 
function `do_test_single':
05/18 08:00:23 ERROR| utils:0153| [stderr] test_verifier.c:(.text+0x8c8): 
undefined reference to `bpf_probe_prog_type'
05/18 08:00:23 ERROR| utils:0153| [stderr] collect2: error: ld returned 1 
exit status
05/18 08:00:23 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf'
05/18 08:00:23 DEBUG| utils:0153| [stdout] make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
05/18 08:00:23 ERROR| utils:0153| [stderr] make[1]: *** [../lib.mk:152: 
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/test_verifier]
 Error 1
05/18 08:00:23 ERROR| utils:0153| [stderr] make: *** [Makefile:90: all] 
Error 2
05/18 08:00:23 ERROR|  test:0414| Exception escaping from test:
Traceback (most recent call last):
  File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec
_call_test_function(self.execute, *p_args, **p_dargs)
  File "/home/ubuntu/autotest/client/shared/test.py", line 823, in 
_call_test_function
return func(*args, **dargs)
  File "/home/ubuntu/autotest/client/shared/test.py", line 291, in execute
postprocess_profiled_run, args, dargs)
  File "/home/ubuntu/autotest/client/shared/test.py", line 212, in 
_call_run_once
self.run_once(*args, **dargs)
  File 
"/home/ubuntu/autotest/client/tests/ubuntu_kernel_selftests/ubuntu_kernel_selftests.py",
 line 144, in run_once
utils.system(cmd)
  File "/home/ubuntu/autotest/client/shared/utils.py", line 1232, in system
verbose=verbose).exit_status
  File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run
"Command returned non-zero exit status")
CmdError: Command  failed, 
rc=2, Command returned non-zero exit status
* Command: 
make -C linux/tools/testing/selftests TARGETS=bpf
Exit status: 2
Duration: 5.29515004158

stdout:

-- 
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/1829812

Title:
  Regression for ubuntu_bpf test case fails to build on disco

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

Bug description:
  This test will failed to build on 5.0.0-16 Disco.

  5.0.0-16 Disco + 5.0.0-15 source code - build OK
  5.0.0-16 Disco + 5.0.0-16 source code - Failed

  Bisect shows this one e38969c9 (selftests/bpf: skip verifier tests for
  unsupported program types) in our tree is the cause (upstream commit:
  8184d44c)

  Which uses a "recently introduced bpf_probe_prog_type()" to skip test.
  And we don't have it implemented.

    make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
    gcc -o 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/urandom_read
 -static urandom_read.c -Wl,--build-id
    make -C ../../../lib/bpf 
OUTPUT=/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/
    make[2]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'

    Auto-detecting system features:
    ...libelf: [ on  ]
    ...   bpf: [ on  ]

  HOSTCC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep.o
  HOSTLD   
/home/ubuntu/autotest

[Kernel-packages] [Bug 1829812] Re: Regression for ubuntu_bpf test case in 5.0.0-16

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

  This test will failed to build on 5.0.0-16 Disco.
  
  5.0.0-16 Disco + 5.0.0-15 source code - build OK
  5.0.0-16 Disco + 5.0.0-16 source code - Failed
  
-   make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
-   gcc -o 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/urandom_read
 -static urandom_read.c -Wl,--build-id
-   make -C ../../../lib/bpf 
OUTPUT=/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/
-   make[2]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'
-   
-   Auto-detecting system features:
-   ...libelf: [ on  ]
-   ...   bpf: [ on  ]
-   
- HOSTCC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep.o
- HOSTLD   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep-in.o
- LINK 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep
- CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.o
- CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf.o
- CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/nlattr.o
- CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/btf.o
- CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf_errno.o
- CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/str_error.o
- CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/netlink.o
- CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf_prog_linfo.o
- LD   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf-in.o
- LINK 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a
- LINK 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.so
- LINK 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_libbpf
-   make[2]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'
-   gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf 
-I../../../../include/generated  -I../../../includetest_verifier.c 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a
 -lcap -lelf -lrt -lpthread -o 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_verifier
-   make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
-   make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
-   stderr:
-   Warning: Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs 
from latest version at 'include/uapi/linux/if_link.h'
-   test_verifier.c: In function ‘do_test_single’:
-   test_verifier.c:15951:22: warning: implicit declaration of function 
‘bpf_probe_prog_type’; did you mean ‘bpf_program__set_type’? 
[-Wimplicit-function-declaration]
- if (fd_prog < 0 && !bpf_probe_prog_type(prog_type, 0)) {
- ^~~
- bpf_program__set_type
-   /usr/bin/ld: /tmp/ccRNIovw.o: in function `do_test_single':
-   test_verifier.c:(.text+0xf41): undefined reference to `bpf_probe_prog_type'
-   collect2: error: ld returned 1 exit status
-   make[1]: *** [../lib.mk:152: 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_verifier]
 Error 1
-   make: *** [Makefile:90: all] Error 2
+ Bisect shows this one e38969c9 (selftests/bpf: skip verifier tests for
+ unsupported program types) in our tree is the cause (upstream commit:
+ 8184d44c)
+ 
+ Which uses a "recently introduced bpf_probe_prog_type()" to skip test.
+ And we don't have it implemented.
+ 
+   make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
+   gcc -o 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/urandom_read
 -static urandom_read.c -Wl,--build-id
+   make -C ../../../lib/bpf 
OUTPUT=/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/
+   make[2]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'
+ 
+   Auto-detecting system features:
+   ...libelf: [ on  ]
+   ...   bpf: [ on  ]
+ 
+ HOSTCC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testi

[Kernel-packages] [Bug 1829812] Re: Regression for ubuntu_bpf test case in 5.0.0-16

2019-05-21 Thread Po-Hsu Lin
** Also affects: ubuntu-kernel-tests
   Importance: Undecided
   Status: New

-- 
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/1829812

Title:
  Regression for ubuntu_bpf test case in 5.0.0-16

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

Bug description:
  This test will failed to build on 5.0.0-16 Disco.

  5.0.0-16 Disco + 5.0.0-15 source code - build OK
  5.0.0-16 Disco + 5.0.0-16 source code - Failed

make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
gcc -o 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/urandom_read
 -static urandom_read.c -Wl,--build-id
make -C ../../../lib/bpf 
OUTPUT=/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/
make[2]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'

Auto-detecting system features:
...libelf: [ on  ]
...   bpf: [ on  ]

  HOSTCC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep.o
  HOSTLD   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep-in.o
  LINK 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.o
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf.o
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/nlattr.o
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/btf.o
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf_errno.o
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/str_error.o
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/netlink.o
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf_prog_linfo.o
  LD   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf-in.o
  LINK 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a
  LINK 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.so
  LINK 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_libbpf
make[2]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf 
-I../../../../include/generated  -I../../../includetest_verifier.c 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a
 -lcap -lelf -lrt -lpthread -o 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_verifier
make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
Warning: Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs 
from latest version at 'include/uapi/linux/if_link.h'
test_verifier.c: In function ‘do_test_single’:
test_verifier.c:15951:22: warning: implicit declaration of function 
‘bpf_probe_prog_type’; did you mean ‘bpf_program__set_type’? 
[-Wimplicit-function-declaration]
  if (fd_prog < 0 && !bpf_probe_prog_type(prog_type, 0)) {
  ^~~
  bpf_program__set_type
/usr/bin/ld: /tmp/ccRNIovw.o: in function `do_test_single':
test_verifier.c:(.text+0xf41): undefined reference to `bpf_probe_prog_type'
collect2: error: ld returned 1 exit status
make[1]: *** [../lib.mk:152: 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_verifier]
 Error 1
make: *** [Makefile:90: all] Error 2

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: linux-image-5.0.0-16-generic 5.0.0-16.17
  ProcVersionSignature: User Name 5.0.0-16.17-generic 5.0.8
  Uname: Linux 5.0.0-16-generic x86_64
  AlsaDevices:
   total 0
   crw-rw 1 root audio 116,  1 May 21 04:54 seq
   crw-rw 1 root audio 116, 33 May 21 04:54 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.10-0ubuntu27
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
'arecord

[Kernel-packages] [Bug 1829812] Re: Regression for ubuntu_bpf test case in 5.0.0-16

2019-05-20 Thread Po-Hsu Lin
** Also affects: linux (Ubuntu Disco)
   Importance: Undecided
   Status: New

-- 
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/1829812

Title:
  Regression for ubuntu_bpf test case in 5.0.0-16

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Disco:
  New

Bug description:
  This test will failed to build on 5.0.0-16 Disco.

  5.0.0-16 Disco + 5.0.0-15 source code - build OK
  5.0.0-16 Disco + 5.0.0-16 source code - Failed

make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
gcc -o 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/urandom_read
 -static urandom_read.c -Wl,--build-id
make -C ../../../lib/bpf 
OUTPUT=/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/
make[2]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'

Auto-detecting system features:
...libelf: [ on  ]
...   bpf: [ on  ]

  HOSTCC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep.o
  HOSTLD   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep-in.o
  LINK 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/fixdep
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.o
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf.o
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/nlattr.o
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/btf.o
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf_errno.o
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/str_error.o
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/netlink.o
  CC   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf_prog_linfo.o
  LD   
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf-in.o
  LINK 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a
  LINK 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.so
  LINK 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_libbpf
make[2]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'
gcc -Wall -O2 -I../../../include/uapi -I../../../lib -I../../../lib/bpf 
-I../../../../include/generated  -I../../../includetest_verifier.c 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a
 -lcap -lelf -lrt -lpthread -o 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_verifier
make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
make: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
Warning: Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs 
from latest version at 'include/uapi/linux/if_link.h'
test_verifier.c: In function ‘do_test_single’:
test_verifier.c:15951:22: warning: implicit declaration of function 
‘bpf_probe_prog_type’; did you mean ‘bpf_program__set_type’? 
[-Wimplicit-function-declaration]
  if (fd_prog < 0 && !bpf_probe_prog_type(prog_type, 0)) {
  ^~~
  bpf_program__set_type
/usr/bin/ld: /tmp/ccRNIovw.o: in function `do_test_single':
test_verifier.c:(.text+0xf41): undefined reference to `bpf_probe_prog_type'
collect2: error: ld returned 1 exit status
make[1]: *** [../lib.mk:152: 
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_verifier]
 Error 1
make: *** [Makefile:90: all] Error 2

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: linux-image-5.0.0-16-generic 5.0.0-16.17
  ProcVersionSignature: User Name 5.0.0-16.17-generic 5.0.8
  Uname: Linux 5.0.0-16-generic x86_64
  AlsaDevices:
   total 0
   crw-rw 1 root audio 116,  1 May 21 04:54 seq
   crw-rw 1 root audio 116, 33 May 21 04:54 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.10-0ubuntu27
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
'arecord'
  AudioDevicesInUse: Error: comman