[Bug 216443] lib/libarchive/functional_test:test_write_disk_times fails with a ZFS /tmp

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 24 18:01:02 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216443

            Bug ID: 216443
           Summary: lib/libarchive/functional_test:test_write_disk_times
                    fails with a ZFS /tmp
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: tests
          Assignee: freebsd-testing at freebsd.org
          Reporter: asomers at FreeBSD.org

If /tmp is on ZFS, the lib/libarchive/functional_test:test_write_disk_times
test will fail with the following output:

$ kyua debug functional_test:test_write_disk_times
Executing command [ /usr/tests/lib/libarchive/libarchive_test -d -r
/usr/tests/lib/libarchive -v test_write_disk_times ]
Fail: program did not exit cleanly
stdout:

If tests fail or crash, details will be in:
   /tmp/kyua.IhaREU/2/work/libarchive_test.2017-01-24T17.58.54-000

Reference files will be read from: /usr/tests/lib/libarchive
Exercising: libarchive 3.2.2 zlib/1.2.10 liblzma/5.2.3 bz2lib/1.0.6
395: test_write_disk_times
/usr/home/alans/freebsd/head/contrib/libarchive/libarchive/test/test_write_disk_times.c:130:
File file11 has btime 1485280734.727379000, expected 3456789.000012000

stderr:
 *** forcing core dump so failure can be debugged ***

Files left in work directory after failure:
libarchive_test.2017-01-24T17.58.54-000
functional_test:test_write_disk_times  ->  failed: atf-check failed; see the
output of the test for details





The reason seems to be that ZFS does not support setting birthtime.  I'm
working on a patch to fix it.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-testing mailing list