Comment 3 for bug 1675395

Revision history for this message
Seth Forshee (sforshee) wrote :

I note that the test uses the master branch of the upstream linux repo (which I'll point out is not ideal for getting reliable test results), and that there's a commit to fix build errors with this test introduced during 4.11.

commit 1da8ac7c49fb2879ba95006d8bd1095e6870ea1a
Author: Alexei Starovoitov <email address hidden>
Date: Fri Mar 10 22:05:55 2017 -0800

    selftests/bpf: fix broken build

    Recent merge of 'linux-kselftest-4.11-rc1' tree broke bpf test build.
    None of the tests were building and test_verifier.c had tons of compiler errors.
    Fix it and add #ifdef CAP_IS_SUPPORTED to support old versions of libcap.
    Tested on centos 6.8 and 7

When I tried running the steps manually in a VM with the current upstream master branch it built fine. So maybe this was a transient error caused by an upstream bug; I'd suggest retrying to see if the problem has been fixed.