NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/57314: ATF unit tests fail on 3 of 7 cases in program lib/libc/c063/t_utimensat on evbarm/Rpi 02W
>Number: 57314
>Category: lib
>Synopsis: ATF unit tests fail on 3 of 7 cases in program lib/libc/c063/t_utimensat on evbarm/Rpi 02W
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 30 20:55:00 +0000 2023
>Originator: Jim Spath
>Release: 10.0_BETA
>Organization:
>Environment:
NetBSD arm32 10.0_BETA NetBSD 10.0_BETA (GENERIC) #0: Fri Jan 13 19:15:32 UTC 2023 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC evbarm
>Description:
One of the ATF test programs fails on 3 of 7 cases, only on a Raspberry Pi Zero 2W (GENERIC evbarm kernel). The same program fully succeeds every case, on other architectures including GENERIC64 evbarm / aarch64 / Pi 4.
Pi02W program executed:
$ file /usr/tests/lib/libc/c063/t_utimensat
/usr/tests/lib/libc/c063/t_utimensat: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 10.0, compiled for: earmv7hf, not stripped
(same program on GENERIC64)
$ file /usr/tests/lib/libc/c063/t_utimensat
/usr/tests/lib/libc/c063/t_utimensat: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 10.0, not stripped
Failures:
utimensat_fd
utimensat_fdcwd
utimensat_fdlink
The failing systems run on microSD media, while other systems are on SSD or USB storage.
>How-To-Repeat:
Two test results follow:
$ atf-run lib/libc/c063/t_utimensat
(1)
Content-Type: application/X-atf-tps; version="3"
info: atf.version, Automated Testing Framework 0.20 (atf-0.20)
info: tests.root, /usr/tests
info: time.start, Tue Mar 28 02:38:33 UTC 2023
info: uname.sysname, NetBSD
info: uname.nodename, arm32
info: uname.release, 10.0_BETA
info: uname.version, NetBSD 10.0_BETA (GENERIC) #0: Fri Jan 13 19:15:32 UTC 2023 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC
info: uname.machine, evbarm
info: env, PWD=/usr/tests
info: env, _=/usr/bin/atf-run
info: env, PATH=/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/X11R7/bin:/sbin:/usr/sbin
info: env, TERM=xterm
info: env, SHELL=/bin/sh
info: env, SHLVL=1
tps-count: 1
tp-start: 1679971113.847015, lib/libc/c063/t_utimensat, 7
tc-start: 1679971113.847090, utimensat_fd
tc-end: 1679971113.937139, utimensat_fd, failed, /usr/src/tests/lib/libc/c063/t_utimensat.c:78: st.st_atimespec.tv_sec == tptr[0].tv_sec not met
tc-start: 1679971113.975402, utimensat_fdcwd
tc-end: 1679971114.61099, utimensat_fdcwd, failed, /usr/src/tests/lib/libc/c063/t_utimensat.c:103: st.st_atimespec.tv_sec == tptr[0].tv_sec not met
tc-start: 1679971114.103105, utimensat_fdcwderr
tc-end: 1679971114.179727, utimensat_fdcwderr, passed
tc-start: 1679971114.222949, utimensat_fderr1
tc-end: 1679971114.299049, utimensat_fderr1, passed
tc-start: 1679971114.338284, utimensat_fderr2
tc-end: 1679971114.427645, utimensat_fderr2, passed
tc-start: 1679971114.468194, utimensat_fderr3
tc-end: 1679971114.559644, utimensat_fderr3, passed
tc-start: 1679971114.602969, utimensat_fdlink
tc-end: 1679971114.693602, utimensat_fdlink, failed, /usr/src/tests/lib/libc/c063/t_utimensat.c:195: st.st_atimespec.tv_sec == tptr[0].tv_sec not met
tp-end: 1679971114.734524, lib/libc/c063/t_utimensat
info: time.end, Tue Mar 28 02:38:34 UTC 2023
(2)
Thu Mar 30 20:32:27 UTC 2023
Content-Type: application/X-atf-tps; version="3"
info: atf.version, Automated Testing Framework 0.20 (atf-0.20)
info: tests.root, /usr/tests
info: time.start, Thu Mar 30 20:32:27 UTC 2023
info: uname.sysname, NetBSD
info: uname.nodename, arm32
info: uname.release, 10.0_BETA
info: uname.version, NetBSD 10.0_BETA (GENERIC) #0: Fri Jan 13 19:15:32 UTC 2023 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC
info: uname.machine, evbarm
info: env, PWD=/usr/tests
info: env, _=/usr/bin/atf-run
info: env, PATH=/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/X11R7/bin:/sbin:/usr/sbin
info: env, SHELL=/bin/sh
info: env, SHLVL=1
tps-count: 1
tp-start: 1680208348.150417, lib/libc/c063/t_utimensat, 7
tc-start: 1680208348.150519, utimensat_fd
tc-end: 1680208348.254754, utimensat_fd, failed, /usr/src/tests/lib/libc/c063/t_utimensat.c:78: st.st_atimespec.tv_sec == tptr[0].tv_sec not met
tc-start: 1680208348.306778, utimensat_fdcwd
tc-end: 1680208348.406359, utimensat_fdcwd, failed, /usr/src/tests/lib/libc/c063/t_utimensat.c:103: st.st_atimespec.tv_sec == tptr[0].tv_sec not met
tc-start: 1680208348.456770, utimensat_fdcwderr
tc-end: 1680208348.542213, utimensat_fdcwderr, passed
tc-start: 1680208348.625978, utimensat_fderr1
tc-end: 1680208348.870874, utimensat_fderr1, passed
tc-start: 1680208349.5955, utimensat_fderr2
tc-end: 1680208349.279219, utimensat_fderr2, passed
tc-start: 1680208349.415803, utimensat_fderr3
tc-end: 1680208349.470019, utimensat_fderr3, passed
tc-start: 1680208349.497313, utimensat_fdlink
tc-end: 1680208349.552037, utimensat_fdlink, failed, /usr/src/tests/lib/libc/c063/t_utimensat.c:195: st.st_atimespec.tv_sec == tptr[0].tv_sec not met
tp-end: 1680208349.579470, lib/libc/c063/t_utimensat
info: time.end, Thu Mar 30 20:32:29 UTC 2023
>Fix:
I have been unable to glean any root cause, nor why these specific 3 cases fail. I assume there is a common denominator.
Home |
Main Index |
Thread Index |
Old Index