test_bpf.sh in ubuntu_kernel_selftest/net failed on X-4.4 s390x

Bug #1760087 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux (Ubuntu)
Triaged
Medium
Unassigned
Xenial
Triaged
Medium
Unassigned

Bug Description

Steps:
  1. Deploy a KVM node with Xenial, install linux-kvm on it.
  2. git clone --depth 1 https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/xenial linux
  3. Run the "net" sub set in the kernel_selftest

Result:
  * test: TPACKET_V1 with PACKET_RX_RING open: No such file or directory
  * test_bpf: [FAIL]
  * selftests: test_bpf.sh [FAIL]

Output:
$ sudo make -C linux/tools/testing/selftests/net all run_tests
make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'
make: Nothing to be done for 'all'.
--------------------
running socket test
--------------------
[PASS]
selftests: run_netsocktests [PASS]
--------------------
running psock_fanout test
--------------------
test: control single socket
test: control multiple sockets
test: datapath 0x0
info: count=0,0, expect=0,0
info: count=15,5, expect=15,5
info: count=20,5, expect=20,5
test: datapath 0x1000
info: count=0,0, expect=0,0
info: count=15,5, expect=15,5
info: count=20,15, expect=20,15
test: datapath 0x1
info: count=0,0, expect=0,0
info: count=10,10, expect=10,10
info: count=18,17, expect=18,17
test: datapath 0x3
info: count=0,0, expect=0,0
info: count=15,5, expect=15,5
info: count=20,15, expect=20,15
test: datapath 0x6
info: count=0,0, expect=0,0
info: count=5,15, expect=15,5
info: count=20,15, expect=15,20
test: datapath 0x7
bpf: Function not implemented
bpf verifier:
���ߟ
[FAIL]
--------------------
running psock_tpacket test
--------------------
test: TPACKET_V1 with PACKET_RX_RING open: No such file or directory
[FAIL]
selftests: run_afpackettests [PASS]
test_bpf: [FAIL]
selftests: test_bpf.sh [FAIL]
make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net'

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-1019-kvm 4.4.0-1019.24
ProcVersionSignature: User Name 4.4.0-1019.24-kvm 4.4.98
Uname: Linux 4.4.0-1019-kvm x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Fri Mar 30 12:12:46 2018
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
affects: linux-kvm (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

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 1760087

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):
importance: Undecided → Medium
status: Incomplete → Triaged
Changed in linux (Ubuntu Xenial):
status: New → Triaged
importance: Undecided → Medium
tags: added: kernel-da-key
Sean Feole (sfeole)
summary: - net test in ubuntu_kernel_selftest failed on linux-kvm 4.4
+ net test in ubuntu_kernel_selftest failed on linux-kvm
Sean Feole (sfeole)
tags: added: sru-20190812
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-kernel-selftests
Sean Feole (sfeole)
tags: added: sru-20190902
Sean Feole (sfeole)
tags: added: bionic
tags: added: linux-kvm
Sean Feole (sfeole)
tags: added: sru-20200127
Po-Hsu Lin (cypressyew)
tags: added: sru-20200427
Sean Feole (sfeole)
tags: added: sru-20200921
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote : Re: net test in ubuntu_kernel_selftest failed on linux-kvm

Still failing with xenial/linux 4.4.0-215.247, but only on s390x systems.

tags: added: sru-20210906
Po-Hsu Lin (cypressyew)
summary: - net test in ubuntu_kernel_selftest failed on linux-kvm
+ test_bpf.sh in ubuntu_kernel_selftest/net failed on X-4.4
summary: - test_bpf.sh in ubuntu_kernel_selftest/net failed on X-4.4
+ test_bpf.sh in ubuntu_kernel_selftest/net failed on X-4.4 s390x
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.