Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2017 18:01:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 216443] lib/libarchive/functional_test:test_write_disk_times fails with a ZFS /tmp
Message-ID:  <bug-216443-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216443

            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@freebsd.org
          Reporter: asomers@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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216443-32464>