[Bug 294577] lib/libarchive/functional_test tests failing in CI

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 16 Apr 2026 21:26:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294577

            Bug ID: 294577
           Summary: lib/libarchive/functional_test tests failing in CI
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: Any
               URL: https://ci.freebsd.org/job/FreeBSD-main-amd64-test/282
                    54/
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Only Me
          Priority: ---
         Component: tests
          Assignee: mm@FreeBSD.org
          Reporter: siva@FreeBSD.org
                CC: testing@FreeBSD.org

The following tests from the 'lib/libarchive/functional_test' testsuite are
failing in CI:

test_archive_string_conversion_fail_c
test_archive_string_conversion_fail_latin1
test_write_disk

For example:

lib/libarchive/functional_test:test_write_disk
Result:     failed: atf-check failed; see the output of the test for details

Original stderr
---------------

Fail: program did not exit cleanly
stdout:

If tests fail or crash, details will be in:
   /tmp/kyua.JOFkWP/2028/work/libarchive_test.2026-04-13T16.28.42-000

Reference files will be read from: /usr/tests/lib/libarchive
Exercising: libarchive 3.8.7 zlib/1.3.2 liblzma/5.8.3 libzstd/1.5.7
openssl/3.5.6 libb2/bundled
548: test_write_disk
/usr/src/contrib/libarchive/libarchive/test/test_write_disk.c:246:
ARCHIVE_FAILED != archive_write_header(ad, ae)
   Description: Test failing to create parent directory with /../

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


This is reproducible with Bricoler (master-python branch) with this command:

bricoler freebsd-regression-test-suite --freebsd-src-git-checkout/url=/usr/src
--freebsd-src-git-checkout/branch= --freebsd-regression-test-suite/memory=3072
--freebsd-regression-test-suite/ncpus=2
--freebsd-regression-test-suite/parallelism=1
--freebsd-regression-test-suite/tests='lib/libarchive/functional_test'

mm@, these tests are failing since your commit
https://cgit.freebsd.org/src/commit/?id=f2cd95a372000681bafe284df6ba857d5c2541c2
(Update vendor/libarchive to 3.8.7). Please triage as necessary.

-- 
You are receiving this mail because:
You are on the CC list for the bug.