NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/57361: Automated test t_archive fails 2 test cases on an Rpi3



>Number:         57361
>Category:       misc
>Synopsis:       Automated test t_archive fails 2 test cases on an Rpi3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 17 15:25:00 +0000 2023
>Originator:     Jim Spath
>Release:        10.0_BETA
>Organization:
>Environment:
NetBSD arm64 10.0_BETA NetBSD 10.0_BETA (GENERIC64) #0: Mon Apr  3 18:36:09 UTC 2023  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm

>Description:
Automated test framework program lib/libarchive/t_libarchive fails on an arm64 Raspberry Pi 3B.

Test log(s) portion(s):

(1)
tc-se:172: test_read_data_large                                            ok
tc-se:173: test_read_disk                                                  ok
tc-se:174: test_read_disk_directory_traversals                             FAIL
tc-se:175: test_read_disk_entry_from_file                                  ok
tc-se:176: test_read_extract                                               ok

(2)
/usr/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1290: File at/f1 has atime 1681698687.000000000, expected 886600.000000000
   Description: Atime should be restored
/usr/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1292: File at/f2 has atime 1681698687.000000000, expected 886611.000000000
   Description: Atime should be restored
/usr/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1294: File at/fe has atime 1681698687.000000000, expected 886611.000000000
   Description: The atime of a empty file should not be changed
/usr/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1586: File nd/f2 has atime 1681698687.000000000, expected 886611.000000000
   Description: Atime should be restored
/usr/src/external/bsd/libarchive/dist/libarchive/test/test_read_disk_directory_traversals.c:1780: ARCHIVE_OK != r
      ARCHIVE_OK=0 (0x0, 00)
      r=-25 (0xffffffffffffffe7, 01777777777777777777747)
    errno: 9
   detail: lock2/dir1: Cannot stat

(3)

tc-se:Totals:
tc-se:  Tests run:              553
tc-se:  Tests failed:             2
tc-se:  Assertions checked:30853225
tc-se:  Assertions failed:       17
tc-se:  Skips reported:          74
tc-se:
tc-se:Failing tests:
tc-se:  174: test_read_disk_directory_traversals (15 failures)
tc-se:  459: test_write_disk_times (2 failures)

$ /sbin/mount
/dev/dk1 on / type ffs (noatime, local)
/dev/dk0 on /boot type msdos (local)
ptyfs on /dev/pts type ptyfs (local)
procfs on /proc type procfs (local)
tmpfs on /var/shm type tmpfs (local)



>How-To-Repeat:
cd /usr/tests
atf-run
>Fix:
See:
lib/57314 (ATF unit tests fail on 3 of 7 cases in program lib/libc/c063/t_utimensat on evbarm/Rpi 02W)

I did not observe the archive tests fail on an Rpi4, most likely due to using SSD as the primary filesystem. 

I have not looked into why this test did not appear as a failure on Rpi02W systems yet.

If the test harness presumes file "atime" values are updated, these will fail as described in PR 57314.



Home | Main Index | Thread Index | Old Index