Unable to build net test in ubuntu_kernel_selftests on B-hwe PowerPC

Bug #1837384 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Won't Fix
Undecided
Unassigned
linux-hwe (Ubuntu)
Invalid
Undecided
Unassigned
Bionic
Invalid
Undecided
Unassigned

Bug Description

This test would require the bpf test to be built first,
however, this is affected by bug 1828570

The bpf build will fail with:
  BPF API too old

        make: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
        make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf'
        gcc -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/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_kernel_selftests/src/linux/tools/testing/selftests/bpf/
        make[2]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/lib/bpf'

        Auto-detecting system features:
        ... libelf: [ [32mon[m ]
        ... bpf: [ [31mOFF[m ]

        HOSTCC /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/fixdep.o
        HOSTLD /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/fixdep-in.o
        LINK /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/fixdep

        Auto-detecting system features:
        ... libelf: [ [32mon[m ]
        ... bpf: [ [31mOFF[m ]

        BPF API too old
        Makefile:246: recipe for target 'bpfdep' failed
        Makefile:166: recipe for target 'all' failed
        make[2]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/lib/bpf'
        Makefile:94: recipe for target '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a' failed
        make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf'
        Makefile:90: recipe for target 'all' failed
        make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
        stderr:
        /bin/sh: 1: llvm-readelf: not found
        make[3]: *** [bpfdep] Error 1
        make[2]: *** [all] Error 2
        make[1]: *** [/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/bpf/libbpf.a] Error 2
        make: *** [all] Error 2

Po-Hsu Lin (cypressyew)
tags: added: 5.0 ppc64el ubuntu-kernel-selftests
tags: added: sru-20190701
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

We're not testing PowerPC with 5.0 anymore, it's just for cloud kernel now.
Closing this bug.

Changed in ubuntu-kernel-tests:
status: New → Won't Fix
Changed in linux-hwe (Ubuntu):
status: New → Invalid
Changed in linux-hwe (Ubuntu Bionic):
status: New → Invalid
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.