On Tue, Oct 17, 2017 at 02:48:13PM +0200, Greg KH wrote:
On Tue, Oct 17, 2017 at 01:35:22PM +0100, Milosz Wasilewski wrote:
This email thread was about getting everything "green" on mainline (i.e. 4.14-rc), and was not about 4.4 or 4.9, so I'm a bit confused why you would be saying it is going to be disabled on 4.14-rc...
I take it back. It's only going to be disabled on 4.4 and 4.9 for now. I checked again on my local board as I suspected the old version of test causes the failures on more recent kernel. Unfortunately kselftests from the same commit fail as well as tests from -next.
Results with 4.15-rc5 kselftests:
Running tests in bpf
selftests: test_verifier [FAIL] - file missing
This passes for me here on Linus's tree.
selftests: test_tag [PASS] selftests: test_maps [FAIL]
This fails for me, odds are I don't have the needed config option enabled.
selftests: test_lru_map [PASS] selftests: test_lpm_map [PASS] [ 741.106598] audit: type=1701 audit(1507803522.407:6): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3493 comm="test_progs" exe="/opt/kselftests/default-in-kernel/bpf/test_progs" sig=6 res=1 ./run_kselftest.sh: line 12: 3493 Aborted (core dumped) ./test_progs > /tmp/test_progs 2>&1
Ugh, turn off audit... This one works for me as well.
selftests: test_progs [FAIL] - missing object files that the test expects
Also works for me.
selftests: test_align [FAIL] - file missing
also succeds for me.
selftests: test_kmod.sh [FAIL]
Also works.
This is all from a "clean" 4.14-rc3 tree on my laptop. I can bootk 4.14-rc5 to see if something broke since then, but I doubt it...
I just tried 4.14-rc5 and got the same results as above, running the tests from 4.14-rc5.
Are you sure you are running these with the correct permissions?
I'll go try to figure out what is up with 'test_maps' now...
thanks,
greg k-h