What "kyua test -k /usr/tests/Kyuafile" reported on arm (rpi2) under FreeBSD projects/clang380-import -r295601 (before crashing)

Mark Millard markmi at dsl-only.net
Sun Feb 21 04:23:14 UTC 2016


On 2016-Feb-19, at 11:19 PM, Mark Millard <markmi at dsl-only.net> wrote:
> 
> The rpi2 was too slow for 4 of the tests "kyua test -k /usr/tests/Kyuafile" tried before it crashed:
> 
>> sys/geom/class/eli/integrity_copy_test:main  ->  broken: Test case timed out  [1200.079s]
>> sys/geom/class/eli/integrity_data_test:main  ->  broken: Test case timed out  [600.049s]
>> sys/geom/class/eli/integrity_hmac_test:main  ->  broken: Test case timed out  [600.028s]
> . . .
>> sys/geom/class/eli/onetime_a_test:main  ->  broken: Test case timed out  [600.006s]
> 
> This was with an external SSD in use as the file system --so faster than normal.
> 
> On item probably barely managed to finish in time:
> 
>> sys/geom/class/eli/init_a_test:main  ->  passed  [1153.373s]
> 
> 
> 
> The "failed : ? of ? tests failed" notices were:
> 
>> lib/msun/conj_test:main  ->  failed: 9 of 42 tests failed  [0.022s]
> . . .
>> sys/geom/class/eli/resize_test:main  ->  failed: 15 of 27 tests failed  [1.546s]
> . . .
>> usr.bin/lastcomm/legacy_test:main  ->  failed: 4 of 6 tests failed  [0.132s]
> . . .
>> usr.sbin/sa/legacy_test:main  ->  failed: 12 of 13 tests failed  [0.329s]
> 
> 
> The non-expected failure reports were:
> 
>> lib/libc/c063/fstatat_test:fstatat_fd  ->  failed: /usr/src/contrib/netbsd-tests/lib/libc/c063/t_fstatat.c:74: memcmp(&st1, &st2, sizeof(st1)) == 0 not met  [0.019s]
> 
>> lib/libc/stdio/printbasic_test:int_within_limits  ->  broken: Test result contains multiple lines: failed: printf("%tu", (size_t)-1) ==> [18446744073709551615], expected [4294967295]<<NEWLINE>>  [0.017s]
> 
>> lib/libc/stdio/scanfloat_test:infinities_and_nans  ->  failed: /usr/src/lib/libc/tests/stdio/scanfloat_test.c:191: fetestexcept(FE_INVALID) == 0 not met  [0.020s]
> 
>> lib/libc/sys/mincore_test:mincore_resid  ->  failed: /usr/src/contrib/netbsd-tests/lib/libc/sys/t_mincore.c:225: check_residency(addr, npgs) == 0 not met  [0.021s]
>> lib/libc/sys/mincore_test:mincore_shmseg  ->  failed: /usr/src/contrib/netbsd-tests/lib/libc/sys/t_mincore.c:298: check_residency(addr, npgs) == 0 not met  [0.018s]
> 
>> lib/libc/tls/tls_dynamic_test:t_tls_dynamic  ->  failed: 15 checks failed; see output for more details  [0.024s]
> 
>> lib/libc/ssp/ssp_test:fgets  ->  failed: Test case body returned a non-ok exit code, but this is not allowed  [0.141s]
> 
>> lib/libc/ssp/ssp_test:gets  ->  failed: Test case body returned a non-ok exit code, but this is not allowed  [0.130s]
>> lib/libc/ssp/ssp_test:memcpy  ->  failed: atf-check failed; see the output of the test for details  [0.129s]
>> lib/libc/ssp/ssp_test:memmove  ->  failed: atf-check failed; see the output of the test for details  [0.127s]
>> lib/libc/ssp/ssp_test:memset  ->  failed: atf-check failed; see the output of the test for details  [0.127s]
> 
>> lib/libc/ssp/ssp_test:read  ->  failed: Test case body returned a non-ok exit code, but this is not allowed  [0.131s]
>> lib/libc/ssp/ssp_test:readlink  ->  failed: atf-check failed; see the output of the test for details  [0.139s]
>> lib/libc/ssp/ssp_test:snprintf  ->  failed: atf-check failed; see the output of the test for details  [0.129s]
>> lib/libc/ssp/ssp_test:sprintf  ->  failed: atf-check failed; see the output of the test for details  [0.122s]
>> lib/libc/ssp/ssp_test:stpcpy  ->  failed: atf-check failed; see the output of the test for details  [0.129s]
>> lib/libc/ssp/ssp_test:stpncpy  ->  failed: atf-check failed; see the output of the test for details  [0.124s]
>> lib/libc/ssp/ssp_test:strcat  ->  failed: atf-check failed; see the output of the test for details  [0.131s]
>> lib/libc/ssp/ssp_test:strcpy  ->  failed: atf-check failed; see the output of the test for details  [0.124s]
>> lib/libc/ssp/ssp_test:strncat  ->  failed: atf-check failed; see the output of the test for details  [0.123s]
>> lib/libc/ssp/ssp_test:strncpy  ->  failed: atf-check failed; see the output of the test for details  [0.125s]
>> lib/libc/ssp/ssp_test:vsnprintf  ->  failed: atf-check failed; see the output of the test for details  [0.128s]
>> lib/libc/ssp/ssp_test:vsprintf  ->  failed: atf-check failed; see the output of the test for details  [0.129s]
> 
>> lib/libproc/proc_test:symbol_lookup  ->  failed: /usr/src/lib/libproc/tests/proc_test.c:116: state != PS_STOP: process has state 4  [0.171s]
> 
>> lib/libxo/functional_test:test_02__E  ->  failed: atf-check failed; see the output of the test for details  [0.151s]
>> lib/libxo/functional_test:test_02__H  ->  failed: atf-check failed; see the output of the test for details  [0.142s]
>> lib/libxo/functional_test:test_02__HIPx  ->  failed: atf-check failed; see the output of the test for details  [0.144s]
>> lib/libxo/functional_test:test_02__HP  ->  failed: atf-check failed; see the output of the test for details  [0.144s]
>> lib/libxo/functional_test:test_02__J  ->  failed: atf-check failed; see the output of the test for details  [0.143s]
>> lib/libxo/functional_test:test_02__JP  ->  failed: atf-check failed; see the output of the test for details  [0.149s]
>> lib/libxo/functional_test:test_02__T  ->  failed: atf-check failed; see the output of the test for details  [0.143s]
>> lib/libxo/functional_test:test_02__X  ->  failed: atf-check failed; see the output of the test for details  [0.140s]
>> lib/libxo/functional_test:test_02__XP  ->  failed: atf-check failed; see the output of the test for details  [0.144s]
> 
>> lib/msun/ldexp_test:ldexp_denormal  ->  failed: 4 checks failed; see output for more details  [0.019s]
> 
>> sbin/growfs/legacy_test:main  ->  broken: TAP test program yielded invalid data: Load of '/tmp/kyua.lCBb55/3155/stdout.txt' failed: Reported plan differs from actual executed tests  [0.480s]
> 
> 
> Unfortunately the "kyua test" Bus Error crash left "kyua report" not working so the above is all the evidence that I have at this point.
> 
>> # kyua report --results-file=/usr/tests
>> kyua: E: Invalid metadata schema: attempt to write a readonly database (sqlite op: sqlite3_prepare_v2) (sqlite db: /root/.kyua/store/results.usr_tests.20160220-020457-015507.db).
> 
> 
> 
>> -target ${TO_TYPE}--freebsd${VERSION_CONTEXT}-gnueabi -march=armv7-a -mcpu=cortex-a7 -mfloat-abi=softfp -mno-unaligned-access
> 
> was in use for everything from buidlworld/buildkernel through building kyua via portmaster. That last used:
> 
>> # more /etc/make.conf 
>> DEFAULT_VERSIONS+=perl5=5.22
>> WRKDIRPREFIX=/usr/obj/portswork
>> WITH_DEBUG=
>> WITH_DEBUG_FILES=
>> MALLOC_PRODUCTION=
>> TO_TYPE=armv6
>> TOOLS_TO_TYPE=arm-gnueabi
>> VERSION_CONTEXT=11.0
>> CFLAGS+=-target ${TO_TYPE}--freebsd${VERSION_CONTEXT}-gnueabi -march=armv7-a -mcpu=cortex-a7 -mfloat-abi=softfp -mno-unaligned-access
> 
>> # freebsd-version -ku; uname -aKU
>> 11.0-CURRENT
>> 11.0-CURRENT
>> FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #16 r295601M: Sun Feb 14 01:28:43 PST 2016     markmi at FreeBSDx64:/usr/obj/clang/arm.armv6/usr/src/sys/RPI2-NODBG  arm 1100097 1100097

dmesg -a's tail shows more about what was happening before the kyua crash --items that might be related to the crash?:

kern.ipc.maxpipekva exceeded; see tuning(7)
pid 72742 (posixshm_test), uid 0: exited on signal 11
pid 76225 (sh), uid 0, was killed: exceeded maximum CPU limit
Feb 20 03:44:58 rpi2 kernel: pid 76225 (sh), uid 0, was killed: exceeded maximum CPU limit
pid 69058 (kyua), uid 0: exited on signal 10 (core dumped)

I'm not sure if or how these might be interpreted relative to the "failed" test list.

===
Mark Millard
markmi at dsl-only.net





More information about the freebsd-arm mailing list