History log of /freebsd-current/.cirrus.yml
Revision Date Author Comments
# a509d68f 11-Apr-2024 Martin Matuska <mm@FreeBSD.org>

Update vendor/libarchive to 3.7.3

New features:
#1941 uudecode filter: support file name and file mode in raw mode
#1943 7-zip reader: translate Windows permissions into UNIX
permissions
#1962 zstd filter now supports the "long" write option
#2012 add trailing letter b to bsdtar(1) substitute pattern
#2031 PCRE2 support
#2054 add support for long options "--group" and "--owner" to tar(1)

Security fixes:
#2101 Fix possible vulnerability in tar error reporting introduced
in f27c173

Important bugfixes:
#1974 ISO9660: preserve the natural order of links
#2105 rar5: fix infinite loop if during rar5 decompression the last
block produced no data
#2027 xz filter: fix incorrect eof at the end of an lzip member
#2043 zip: fix end-of-data marker processing when decompressing zip
archives

Obtained from: libarchive
Libarchive commit: 4fcc02d906cca4b9e21a78a833f1142a2689ec52


# e8b7c78c 06-Apr-2024 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: switch to llvm18 by default

As of commit 439352ac8257 Clang/LLVM 18 is the default in-tree compiler.
Follow suit in with the external toolchain package used by Cirrus-CI.

Sponsored by: The FreeBSD Foundation


# 24235654 01-Mar-2024 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: Add manual Clang 18 jobs

Work is in progress to import Clang/LLVM 18 as the base system compiler.
llvm18-lite is not yet in the quarterly package set but but will be
available in the not too distant future, and is available for src forks
that switch to latest packages. Add manual llvm18 jobs now so that they
can be used for testing.

Sponsored by: The FreeBSD Foundation


# 51c6bf04 29-Feb-2024 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: bump Clang versions to 16 and 17

Clang/LLVM 17 is currently the in-tree default compiler, so use it as
the default Cirrus-CI toolchain. Clang/LLVM 18 is coming soon and needs
to be added here, but I ran into trouble with llvm18-lite package
availability so will look at that later.

Reviewed by: dim (earlier), Jose Luis Duran
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D44162


# 5f174897 12-Jan-2024 Muhammad Moinur Rahman <bofh@FreeBSD.org>

vendor/kyua: Update to snapshot 84c8ec8

Approved by: markj, brooks
Differential Revision: https://reviews.freebsd.org/D43268


# d0738729 21-Aug-2023 Enji Cooper <ngie@FreeBSD.org>

Vendor import of freebsd/kyua@a0d44bb356e0c816

This change brings in fixes for...
- kyua report-html not properly escaping stdout/stderr:
(https://github.com/freebsd/kyua/pull/6).
- gettimeofday(2) not necessarily being monotonic, but kyua assuming
that it is: (https://github.com/freebsd/kyua/pull/2).
- Update configuration to work with Cirrus CI in lieu of Travis CI.


# 92aa071d 09-Dec-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: stop forcibly installing pkg

Updated pkg is now in quarterly and there is no need to forcibly
install a specific version.

This reverts commit 1c376684c7441a90e64f082c19e3da7942716ad1.
This reverts commit 3c097b06a71715ec9ae86430ee94e25e954a1e36.

Reported by: bapt
Sponsored by: The FreeBSD Foundation


# 1c376684 08-Dec-2023 Mark Johnston <markj@FreeBSD.org>

Cirrus-CI: Use HTTPS to fetch pkg

Discussed with: Jose Luis Duran <jlduran@gmail.com>
Fixes: 3c097b06a717 ("Cirrus-CI: forcably upgrade pkg to latest")


# 9101746a 07-Dec-2023 John Baldwin <jhb@FreeBSD.org>

Cirrus CI: Add manual jobs for amd64 and aarch64 using GCC 13

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D42840


# 3c097b06 05-Dec-2023 Jose Luis Duran <jlduran@gmail.com>

Cirrus-CI: forcably upgrade pkg to latest

make packages requires the latest pkg for now so force that.

Differential Revision: https://reviews.freebsd.org/D42908


# 663e4fa3 05-Dec-2023 Brooks Davis <brooks@FreeBSD.org>

Cirrus-CI: fix git usage by build user

The git checkout it owned by root, but builds are run as "user". git
refuses to operate in such an environment unless the directory is
trusted so make "user" trust it.

Fixes CI after 99b8c0c35b0fcc633649209621243d678a13542a.

Sponsored by: DARPA

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D42903


# 5d371834 05-Oct-2023 Jose Luis Duran <jlduran@gmail.com>

Cirrus CI: Trigger on pull requests or downstream repos

Since Cirrus Labs is limiting their free usage tier [1], limit CI runs
on pull requests only. Otherwise, we might deplete our monthly quota
within a few days.

Adapt the task amd64-llvm16 to execute on downstream repos or on pull
requests only.

Other alternatives will be further studied.

[1]: https://cirrus-ci.org/blog/2023/07/17/limiting-free-usage-of-cirrus-ci/


# 82d22913 06-Oct-2023 Martin Matuška <martin@matuska.de>

CI: add FreeBSD build with Cirrus CI

As a first step for automatic FreeBSD testing add a build and install
for FreeBSD versions 12.4, 13.2 and 14-snapshot using Cirrus CI.

Reviewed-by: Jose Luis Duran
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Martin Matuska <mm@FreeBSD.org>
Closes #15332


# 57b9a104 05-Oct-2023 Jose Luis Duran <jlduran@gmail.com>

Cirrus CI: Only trigger amd64-gcc12 on pull requests

Since Cirrus Labs is limiting their free usage tier [1], limit gcc CI
runs to pull requests only.

[1]: https://cirrus-ci.org/blog/2023/07/17/limiting-free-usage-of-cirrus-ci/


# d8bb5858 18-Aug-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: restore amd64-gcc12 build/test on main

The Cirrus-CI log length issue was addressed by commit 5f72ceb2c50d
("Cirrus-CI: for *-gcc12, build world with make -s"), and the failure
itself by commit 0c785f06020f ("Fix GoogleTest 1.14.0 import").

This reverts commit 0ed2e7e88984aa4ad01a41e9350c5870b271c0c3.

Reported by: Jose Luis Duran
Sponsored by: The FreeBSD Foundation


# 5f72ceb2 16-Aug-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: for *-gcc12, build world with make -s

Cirrus-CI appears to have a 100MB limit for log output. Use `make -s`
to attempt to reduce the amount of output.

Sponsored by: The FreeBSD Foundation


# 0ed2e7e8 16-Aug-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: temporarily disable amd64-gcc12 build/test on main

The amd64-gcc12 job is failing at present. Unfortunately Cirrus-CI
appears to have a 100MB log limit and we exceed this before the error
is reported. Disable the job for now until we can address the log
length issue.

See also https://github.com/cirruslabs/cirrus-ci-docs/issues/1176.

Sponsored by: The FreeBSD Foundation


# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 14b646f7 18-Jul-2023 Martin Matuska <mm@FreeBSD.org>

Update vendor/libarchive to libarchive/libarchive@ee4579617

Important changes (relevant to FreeBSD):
#1840 year 2038 fix for pax archives on platforms with 64-bit time_t
#1873 bsdunzip ported to libarchive from FreeBSD
#1894 read support for zstd compression in 7zip archives
#1918 ARM64 filter support in 7zip archives

Obtained from: libarchive
Libarchive commit: ee45796171324519f0c0bfd012018dd099296336
Libarchive tag: v3.7.0


# 171f1c1b 22-Jun-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: use llvm16 job by default and make llvm15 manual

With commit e048f78b2143 the default tool chain is Clang/LLVM 16, so
follow along in the llvm pkg used by Cirrus-CI.

MFC after: 1 month
Sponsored by: The FreeBSD Foundation


# 5ad6c907 09-Jun-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: add a manually triggered aarch64-gcc12 task

Sponsored by: The FreeBSD Foundation


# 6024564c 09-Jun-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: split main script into separate world + kernel

It appears that Cirrus-CI has a 100MB limit for log output, and we
exceed that (!) with the amd64-gcc12 build. Separate world and kernel
build tasks in an attempt to stay below the limit.

This also has the benefit of showing world and kernel build status
separately in the Cirrus-CI UI.

PR: 271903
Sponsored by: The FreeBSD Foundation


# df042dcf 26-May-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: add amd64 and arm64 Clang/LLVM 16 jobs

Reviewed by: lwhsu (earlier)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D40286


# 98c52118 26-May-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: move arch and toolchain to beginning of task names

This is the key difference between the tasks, so make it the most
prominent.

Sponsored by: The FreeBSD Foundation


# f326a83c 17-May-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: switch to -lite LLVM package for native run

This reduces CI cycle time (a small amount).

Suggested by: brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D40136


# 9244506a 11-May-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: hide manual tasks from official runs

Sponsored by: The FreeBSD Foundation


# f5f1b9a9 09-May-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: add gcc12 automatic task on primary GitHub mirror

We want to get GCC coverage via Cirrus-CI, but don't want to trigger
excessive runs across all forks and branches. Create a duplicate gcc12
task to run automatically for freebsd/freebsd-src.

Reviewed by: jhb
Sponsored by: The FreeBSD Foundation


# 75baf376 30-Apr-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: set PKG_FORMAT via top level `env:`

This ensures consistency among different CI scripts, including future
ones for pkgbase work.

Sponsored by: The FreeBSD Foundation


# 85e8c2a0 20-Apr-2023 Brooks Davis <brooks@FreeBSD.org>

Cirrus-CI: Run makeman script

Run makeman and verify that src.conf.5 has been updated if
required and that there are no missing definition files.

Reviewed by: emaste
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D39682


# 8cee0c9a 19-Apr-2023 Brooks Davis <brooks@FreeBSD.org>

Cirrus-CI: Run check-ldirs in include/

Check that LDIRS defined in include/Makefile actually exist.

Reviewed by: emaste
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D39681


# b4373ce3 19-Apr-2023 Brooks Davis <brooks@FreeBSD.org>

Cirrus-CI: Check that make sysent was run

Run the `make sysent` target and verify that the repo isn't modified
afterwards. This ensures that a pushed branch contains all the
required bits after a change to syscall.master.

Reviewed by: emaste
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D39680


# 260b2c51 19-Apr-2023 Brooks Davis <brooks@FreeBSD.org>

Cirrus-CI: Add blank lines between scripts

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D39679


# 5e2ba9cb 19-Apr-2023 QWERTIOX <qwertiox.kontakt@gmail.com>

Cirrus update to new freebsd instance version

MFC after: 2 weeks
Pull Request: https://github.com/freebsd/freebsd-src/pull/718


# 2ed0305b 16-Nov-2022 Ed Maste <emaste@FreeBSD.org>

CI: Run pkgbase METALOG lint script

tools/pkgbase/metalog_reader.lua checks for errors in METALOG (for
pkgbase staging), such as hard links with differing modes, duplicate
entries, etc. Run it as part of the Cirrus-CI job to prevent
regressions.

Reviewed by: manu, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37521


# 67fca20e 13-Feb-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: use llvm15 toolchain packages

As of commit 50d7464c3fe6 we use llvm15 as the system toolchain, and
commit eca005d8531f added compiler options incompatible with earlier
versions. Switch to llvm15 packages.

Sponsored by: The FreeBSD Foundation


# e7f9bdb4 26-Jan-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: switch GCC job to GCC 12

We need a C++20 or later compiler.

Sponsored by: The FreeBSD Foundation


# 170d1042 01-Jan-2023 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: add `gpart show` to setup script

GCP instances have stopped resizing the UFS root filesystem. The 14.x
snapshot image built from b1ef176eb528 works while c89209c674f2 fails.
Discovered via testing a WIP branch in Cirrus-CI that uses
`image: family/freebsd-14-0-snap`.

Add `gpart show` to the setup script to confirm that the partition
size (as set by Cirrus config / GCP) took effect and to help when
investigating any similar issue in the future.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation


# b5a00e61 09-Dec-2022 Martin Matuska <mm@FreeBSD.org>

Update vendor/libarchive to libarchive/libarchive@ba80276cc

Important Bugfixes:
rar5 reader: fix possible garbled output with bsdtar -O (#1745)
mtree reader: support reading mtree files with tabs (#1783)
various small fixes for issues found by CodeQL

Obtained from: libarchive
Libarchive commit: ba80276ccc3c941c4918ec6e2460059f0c525c43
Libarcive tag: v3.6.2


# 612f254c 07-Sep-2022 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: move QEMU pkg installation to test script

Occasionally the QEMU package fails to build and isn't available on
-CURRENT using the Latest package set. Move the package installation
to the test script, so that if the package isn't available we at least
still perform a build test.

Sponsored by: The FreeBSD Foundation


# 9bcded6f 02-Jun-2022 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: update image to FreeBSD 13.1 (latest release)

Sponsored by: The FreeBSD Foundation


# daed785d 24-May-2022 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: Switch to llvm14 toolchain package

Follow base system update to LLVM 14

Sponsored by: The FreeBSD Foundation


# 75e44873 14-Feb-2022 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: add a manual amd64-gcc9 build and smoketest job

Allow users to test changes and find GCC-specific issues using Cirrus-CI
against their own GitHub forks.

Reviewed by: lwhsu, jhb
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34289


# e510f97b 14-Feb-2022 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: use qemu-nox11

We use -nographic for the smoke test and there is no need to pull in all
of the x11 deps. This saves some time and bandwidth during package
installation.

When I originally added Cirrus-CI support the -nox11 package was not
available.

Sponsored by: The FreeBSD Foundation


# 63f44132 16-Nov-2021 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: build with LLVM 13 package

As of 28a41182c08e the base system uses Clang/LLVM 13. Follow along in
Cirrus-CI (which uses a packaged toolchain for speed).

Sponsored by: The FreeBSD Foundation


# 8cba2003 23-Jun-2021 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: add a manually triggered arm64 task

Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31953


# cd355e36 10-Sep-2021 Alan Somers <asomers@FreeBSD.org>

Vendor import of atf commit 55c21b2c5fb189bbdfccb2b297bfa89236502542

Updated from https://github.com/freebsd/atf


# bbf70270 30-Aug-2021 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: reduce VM memory to 8G

Cirrus-CI now provides a task memory use graph, and it is clear we do
not need to provision the VM with 24GB.

Sponsored by: The FreeBSD Foundation


# 9aa54761 22-Aug-2021 Martin Matuska <mm@FreeBSD.org>

Update vendor/libarchive/dist to libarchive/libarchive@1b2c437b9

Libarchive 3.5.2

New features:
PR #1502: Support for PWB and v7 binary cpio formats
PR #1509: Support of deflate algorithm in symbolic link decompression
for ZIP archives

Important bugfixes:
IS #1044: fix extraction of hardlinks to symlinks
PR #1480: Fix truncation of size values during 7zip archive
extraction on 32bit architectures
PR #1504: fix rar header skiming
PR #1514: ZIP excessive disk read - fix location of central directory
PR #1520: fix double-free in CAB reader
PR #1521: Fixed leak of rar before ending with error
PR #1530: Handle short writes from archive_write_callback
PR #1532: 7zip: Use compression settings from file also for file header
IS #1566: do not follow symlinks when processing the fixup list

Obtained from: libarchive
Libarchive commit: 1b2c437b99b361c7692538fa373e99955e9b93ae
Libarchive tag: v3.5.2


# e1e9e084 26-Jul-2021 Ed Maste <emaste@FreeBSD.org>

Revert "Cirrus-CI: Temporarily skip package build + test"

This reverts commit 2bfba2a04b05524d72a6190164aa5aaa1d29e337.

As of commit 4e224e4be7c3 Makefile.inc1 works with old and new pkg.

PR: 257422
Sponsored by: The FreeBSD Foundation


# a077a4e3 26-Jul-2021 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: report pkg version

PR: 257422


# 2bfba2a0 26-Jul-2021 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: Temporarily skip package build + test

The PKG_FORMAT=tar used by Cirrus CI's pkgbase build is failing after
6cafdee71d2b ("pkgbase: Track pkg 1.17"). Skip package build and test
in Cirrus-CI until new pkg is available.

PR: 257422
Sponsored by: The FreeBSD Foundation


# 7d9794b3 25-Jun-2021 Ed Maste <emaste@FreeBSD.org>

CI: use amd64 EDK II firmware included with QEMU

QEMU (now) includes a prebuilt EDK II firmare in edk2-x86_64-code.fd.
Use that instead of requring a standalone uefi-edk2-qemu-x86_64 package.

Reviewed by: imp
MFC after: 3 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30915


# 225605ec 29-Jan-2021 Fedor Korotkov <fedor.korotkov@gmail.com>

Cirrus-CI: Use the default Git history depth

Which is `50`. I saw a few errors like
`Failed to force reset to SHA: object not found!` which seems is
happening because the SHA is not available because there were two
commits pushed almost simultaneously and the second from the top fails
with this error because the SHA is not in the history.

Pull Request: https://github.com/freebsd/freebsd-src/pull/454

Comments on re-commit from emaste:

Originally committed as fcb4797c90f3 and reverted in 80a840b8ba03 due
to the clone operation taking significantly longer. However, I have
seen many failures due to the "object not found" issue recently.
7 of 37 recent runs failed because of this, and intermittent failures
like this makes CI much less useful.

Prefer longer-running runs to intermittent failures.


# dd41de95 02-Jun-2021 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: retry pkg installation on failure

Pkg installation failed somewhat frequently, always at:

[62/104] Fetching jpeg-turbo-2.0.6.txz: .......... done
pkg: http://pkgmir.geo.freebsd.org/FreeBSD:13:amd64/quarterly/All/jbigkit-2.1_1.txz: No route to host

Move pkg installation to a script and retry once upon failure as a
(hopefully temporary) workaround.

Reviewed by: imp
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30613


# 90352654 02-Jun-2021 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: Add descriptive task name

Previously it appeared only as "main" in places like GitHub's list
of checks run as part of a pull request.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation


# cec2682c 02-May-2021 Ed Maste <emaste@FreeBSD.org>

Restore Cirrus-CI boot smoke test

This reverts commit a7d593dd1da27833b5384349700bc3c7bcae6aad.
We now use compute_engine_instance which allows us to specify a custom
disk size. Also go back to using the default qemu version (rather than
qemu42 or qemu-devel) as any issues were fixed some time ago.

Reviewed by: lwhsu, markj
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30082


# 15c0aaf5 04-May-2021 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: switch to Clang/LLVM 12

dim@ is preparing to import Clang/LLVM 12 into the base system as the
system compiler / toolchain. Apply the same change to the Cirrus-CI
config.

Reviewed by: imp, markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30109


# 407abff2 19-Apr-2021 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: use FreeBSD 13.0 image for base system CI build

We generally want to build and test on the highest release version, and
FreeBSD 13.0 also brings some performance benefits.

Reviewed by: lwhsu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D29842


# f2f24008 01-Mar-2021 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: Add more information to help track down disk full issues

Execute df(1) before and after the build (reporting in MiB for
consistency), and du(1) of /usr/obj. Also include the uname.


# a7d593dd 01-Mar-2021 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: temporarily avoid qemu smoke test boot

Cirrus-CI has been red for some time because we're running out of disk
space on the ephemeral GCP VMs. For now remove the package + qemu boot,
and just check for build regressions.

This change to be reverted once we have identified and addressed the
underlying issue.

Sponsored by: The FreeBSD Foundation


# af11c202 28-Feb-2021 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: show mounted filesystems and free space at start

CI runs have been encountering disk full errors. Add a `df` invocation
so that we can see what we're working with.


# 80a840b8 29-Jan-2021 Ed Maste <emaste@FreeBSD.org>

Revert "Cirrus-CI: Use the default Git history depth"

This reverts commit fcb4797c90f3f62a18b67542ae5b576a1271e6d4.
With `CIRRUS_CLONE_DEPTH` unspecified (using the default of 50) the
time to clone the repo increased from a little under 2 minutes to over
6 minutes, possibly due to additional processing required by GitHub.

We will want to watch out for occasional `Failed to force reset to
SHA: object not found!` errors.


# f17fc543 29-Jan-2021 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: remove svn2git remnant

Previously Cirrus was skipped on svn_head to avoid running CI on two
different branches with identical content. With the transition to git
this serves no purpose.

Reported by: kevans
Sponsored by: The FreeBSD Foundation


# fcb4797c 29-Jan-2021 Fedor Korotkov <fedor.korotkov@gmail.com>

Cirrus-CI: Use the default Git history depth

Which is `50`. I saw a few errors like
`Failed to force reset to SHA: object not found!` which seems is
happening because the SHA is not available because there were two
commits pushed almost simultaneously and the second from the top fails
with this error because the SHA is not in the history.

Pull Request: https://github.com/freebsd/freebsd-src/pull/454


# a3330ae7 28-Jan-2021 Alex Richardson <arichardson@FreeBSD.org>

Vendor import of atf commit ca73d08c3fc1ecffc1f1c97458c31ab82c12bb01

Updated from https://github.com/freebsd/atf


# 8be2bb3d 27-Dec-2020 Martin Matuska <mm@FreeBSD.org>

Update vendor/libarchive/dist to 227a4b9719a7fbeba6ba46e377ff7d953f405cd5

Libarchive 3.5.1


# d5f2a5ff 01-Dec-2020 Martin Matuska <mm@FreeBSD.org>

Update vendor/libarchive/dist to git 833821f55b1807cac22a63a58b759a7802df2fb7

Libarchive 3.5.0

Relevant vendor changes:
Issue #1258: add archive_read_support_filter_by_code()
PR #1347: mtree digest reader support
Issue #1381: skip hardlinks pointing to itself on extraction
PR #1387: fix writing of cpio archives with hardlinks without file type
PR #1388: fix rdev field in cpio format for device nodes
PR #1389: completed support for UTF-8 encoding conversion
PR #1405: more formats in archive_read_support_format_by_code()
PR #1408: fix uninitialized size in rar5_read_data
PR #1409: system extended attribute support
PR #1435: support for decompression of symbolic links in zipx archives
Issue #1456: memory leak after unsuccessful archive_write_open_filename


# 9abc7621 28-Oct-2020 Ed Maste <emaste@FreeBSD.org>

CI: switch to qemu42 package

It appears that booting FreeBSD from qemu's synthesized FAT filesystem
broke somehow in a recent qemu-devel update. qemu42 works so switch to
it for now.


# 6869aed2 28-Oct-2020 Alex Richardson <arichardson@FreeBSD.org>

Speed up Cirrus CI by using CROSS_TOOLCHAIN

Installing the llvm11 package instead of bootstrapping it from the source
tree reduces the build time by about 20 minutes.

The last freebsd/freebsd build that was tested (r366629) took 1h 21m 22s,
whereas my GitHub fork with this .cirrus.yml took 58m 6s.
We could probably further reduce time by using images that have LLVM
pre-installed: the pkg install step took 4 minutes 30s.

Since the bootstrap toolchain is still tested by Jenkins, this should not
reduce test coverage of the CI testing.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D26747


# 57391dee 19-Sep-2020 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: skip svn_head branch

svn_head has the same content as the master or main branch (it's just
the result of a `git svn` conversion instead of svn2git).

Sponsored by: The FreeBSD Foundation


# db853af6 17-Sep-2020 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: build as an unprivileged user

The Cirrus-CI-provided working tree is owned by root. Leave that as is
for simplicity but build as an unprivileged user; this tests building
with an unmodifiable source tree as a side effect.

Continue running the smoke test as root for now, as it failed when run
as an unprivileged user - pkg reported "Fail to chmod
/usr/bin/.pkgtemp.lpq.dUHpEqPGJ9pq:Operation not permitted"

Sponsored by: The FreeBSD Foundation


# 65da968c 01-Mar-2020 Martin Matuska <mm@FreeBSD.org>

Update vendor/libarchive/dist to git 85b9f665b6a2d4397fdd38992152d011265e374b

Relevant vendor changes:
Issue #1257: Add testcase for ZIPX files with LZMA_STREAM_END marker
PR #1331: cpio.5: fix hard link description
Issue #1335: archive_read.c: fix UBSan warning about undefined behavior
Issue #1338: XAR reader: fix UBSan warning about undefined behavior
Issue #1339: bsdcpio_test: fix datatype in from_hex()
Issue #1341: Safe writes: delete temporary file if rename fails


# 4d083e6d 19-Feb-2020 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: increase timeout to 120m

For some reason build+package+test time went from about 1h10 to over
1h30 (killed due to timeout prior to completion).

The reason for the increase still needs investigation.


# da30a97e 19-Jan-2020 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: add `make packages` to CI test

Now that we can override the format to avoid the time spent compressing
pkgbase packages we can test `make packages` with only 5 minutes or so
added to the CI cycle time.

A future change should switch the CI smoke test to using these packages.

Sponsored by: The FreeBSD Foundation


# 19d4d771 18-Jan-2020 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: bump VM image to FreeBSD 12.1

12.0 will be EOL.

Sponsored by: The FreeBSD Foundation


# cbda686f 04-Jan-2020 Martin Matuska <mm@FreeBSD.org>

Update vendor/libarchive/dist to git 5e270715b51d199467195b56f77e21cb8bb1d642

Relevant vendor changes:
Issue #1302: Plug memory leak on failure of archive_write_client_open()


# 6922acad 28-Dec-2019 Martin Matuska <mm@FreeBSD.org>

Update vendor/libarchive/dist to git 1dae5a549fe4ab99fd3a49a9edcf897a7b2b1844

Relevant vendor changes:
Issue #351: Refactor and implement private state logic for write filters
PR #1252: RAR5 reader - verify window size for solid files (OSS-Fuzz 15482)
PR #1255: zip writer - don't append unused NUL for directories
PR #1260: Fix sparse file offset overflow on 32-bit systems
PR #1263: UNICODE filename support for reading lha/lzh format
Issue #1276: Bugfix and optimize archive_wstring_append_from_mbs()
PR #1288: Add the "xattrhdr" option to pax write options
PR #1295: 7z reader - fix reading archives with digests in PackInfo
PR #1296: RAR5 reader - verify window size for multivolume archives
PR #1297: ZIP reader - support LZMA_STREAM_END marker in 'lzma alone' files
Issue #1298: Fix a heap-buffer-overflow in archive_string_append_from_wcs()
OSS-Fuzz 19360, 19362: LHA reader - plug two memory leaks on error
Fix possible off-by-one when dealing with readlink(2)


# a297901e 25-Sep-2019 Martin Matuska <mm@FreeBSD.org>

Update vendor/libarchive/dist to git 2f3033ca23f8c21160506c3c7ac8a0df0d3fde42

Relevant vendor changes:
Issue #1237: Fix integer overflow in archive_read_support_filter_lz4.c
PR #1249: Correct some typographical and grammatical errors.
PR #1250: Minor corrections to the formatting of manual pages


# 98197770 30-Jul-2019 Ed Maste <emaste@FreeBSD.org>

cirrus.yml: stop fetching OVMF.fd now that we're using the pkg

Missed in r350302

Sponsored by: The FreeBSD Foundation


# 55ce8dc0 24-Jul-2019 Ed Maste <emaste@FreeBSD.org>

cirrus.yml: use OVMF.fd from uefi-edk2-qemu-x86_64 package

Sponsored by: The FreeBSD Foundation


# a5b08c14 29-Jun-2019 Ed Maste <emaste@FreeBSD.org>

Import ELF Tool Chain snapshot at r3769

From https://svn.code.sf.net/p/elftoolchain/code/


# 085fce40 27-Jun-2019 Martin Matuska <mm@FreeBSD.org>

Update vendor/libarchive/dist to git d6d3799d6b309593f271c4c319dfba92efc95772

Relevant vendor changes:
PR #1217: RAR5 reader - fix ARM filter going beyond window buffer boundary
(OSS-Fuzz 15431)
PR #1218: Fixes to sparse file handling


# 8e97bbed 19-May-2019 Martin Matuska <mm@FreeBSD.org>

Update vendor/libarchive/dist to git b5818e39e128eca4951e2ab10467d4d850a2ba57

Relevant vendor changes:
Issue #795: XAR - do not try to add xattrs without an allocated name
PR #812: non-recursive option for extract and list
PR #958: support reading metadata from compressed files
PR #999: add --exclude-vcs option to bsdtar
Issue #1062: treat empty archives with a GNU volume header as valid
PR #1074: Handle ZIP files with trailing 0s in the extra fields
(Android APK archives)
PR #1109: Ignore padding in Zip extra field data (Android APK archives)
PR #1167: fix problems related to unreadable directories
Issue #1168: fix handling of strtol() and strtoul()
PR #1172: RAR5 - fix invalid window buffer read in E8E9 filter
PR #1174: ZIP reader - fix of MSZIP signature parsing
PR #1175: gzip filter - fix reading files larger than 4GB from memory
PR #1177: gzip filter - fix memory leak with repeated header reads
PR #1180: ZIP reader - add support for Info-ZIP Unicode Path Extra Field
PR #1181: RAR5 - fix merge_block() recursion
(OSS-Fuzz 12999, 13029, 13144, 13478, 13490)
PR #1183: fix memory leak when decompressing ZIP files with LZMA
PR #1184: fix RAR5 OSS-Fuzz issues 12466, 14490, 14491, 12817
OSS-Fuzz 12466: RAR5 - fix buffer overflow when parsing huffman tables
OSS-Fuzz 14490, 14491: RAR5 - fix bad shift-left operations
OSS-Fuzz 12817: RAR5 - handle a case with truncated huffman tables
PR #1186: RAR5 - fix invalid type used for dictionary size mask
(OSS-Fuzz 14537)
PR #1187: RAR5 - fix integer overflow (OSS-Fuzz 14555)
PR #1190: RAR5 - RAR5 don't try to unpack entries marked as directories
(OSS-Fuzz 14574)
PR #1196: RAR5 - fix a potential SIGSEGV on 32-bit builds
OSS-Fuzz 2582: RAR - fix use after free if there is an invalid entry
OSS-Fuzz 14331: RAR5 - fix maximum owner name length
OSS-Fuzz 13965: RAR5 - use unsigned int for volume number + range check

Additional RAR5 reader changes:
- support symlinks, hardlinks, file owner, file group, versioned files
- change ARCHIVE_FORMAT_RAR_V5 to 0x100000
- set correct mode for readonly directories
- support readonly, hidden and system Windows file attributes

NOTE: a version bump of libarchive will happen in the following days


# cf973b44 11-Apr-2019 Ed Maste <emaste@FreeBSD.org>

Cirrus-CI: pass OVMF env var to test script for upcoming changes

In review D19876 ian@ has some proposed improvements to the
tools/boot/ci-qemu-test.sh script. Start specifying the location of
OVMF.fd fetched by the Cirrus-CI build in advance of those changes.


# 9c0fe7f6 10-Apr-2019 Ed Maste <emaste@FreeBSD.org>

Add Cirrus CI config file to support CI builds (in downstream projects)

Make use of the CI smoke test script added in r346080.

Reviewed by: imp, lwhsu
Sponsored by: The FreeBSD Foundation


# fbb1b16a 12-Feb-2019 Martin Matuska <mm@FreeBSD.org>

Update vendor/libarchive/dist to git 31c0a517c91f44eeee717a04db8b075cadda83d8

Relevant vendor changes:
PR #1085: Fix a null pointer dereference bug in zip writer
PR #1110: ZIP reader added support for XZ, LZMA, PPMD8 and BZIP2
decopmpression
PR #1116: Add support for 64-bit ar format
PR #1120: Fix a 7zip crash [1] and a ISO9660 infinite loop [2]
PR #1125: RAR5 reader - fix an invalid read and a memory leak
PR #1131: POSIX reader - do not fail when tree_current_lstat() fails
due to ENOENT [3]
PR #1134: Delete unnecessary null pointer checks before calls of free()
OSS-Fuzz 10843: Force intermediate to uint64_t to make UBSAN happy.
OSS-Fuzz 11011: Avoid buffer overflow in rar5 reader

PR: 233006 [3]
Security: CVE-2019-1000019 [1], CVE-2019-1000020 [2]