[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


            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

If tests fail or crash, details will be in:

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
File file11 has btime 1485280734.727379000, expected 3456789.000012000

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

Files left in work directory after failure:
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