ci: add native freeBSD ci job

bitcoin/bitcoin: PR #36147

3 suggestions

Earlier concerns neither republished nor resolved: 4 major findings · 1 minor finding · 6 suggestions. See the Run archive for their assessments.

Optional improvements

Link

[suggestion] · VM caches are copied even when uploads are disabled

Successful pull-request and non-default-branch runs copy four cache directories out of the VM even though no subsequent step uses those files.

Location: .github/workflows/ci.yml:650 (head).

Details and suggested fix

The following cache-save composite permits all four uploads only when github.event_name == 'push' && github.ref_name == github.event.repository.default_branch. Its unconditional debug step only prints cache-hit variables. Add the same event-and-branch condition to Retrieve VM caches so these runs avoid the post-test rsync work. Cache restoration and testing remain unchanged. The transfer time saved has not been measured.


Link

[suggestion] · FreeBSD setup omits the bind/discover test addresses

Unless the uninspected VM image already supplies the required addresses, two bind tests skip successfully; configuring aliases would add FreeBSD coverage rather than fix a regression.

Location: .github/workflows/ci.yml:641 (head).

Details and suggested fix

With DANGER_RUN_CI_ON_HOST=1, the shared runner does not configure BIND_TEST_ROUTABLE_IPV4 or BIND_TEST_ROUTABLE_IPV6. Consequently, feature_bind_port_discover.py and feature_bind_port_externalip.py use their default addresses and raise SkipTest if binding fails, bypassing their assertions. Before ./ci/test_run_all.sh, choose an up, non-loopback interface and run ifconfig "$iface" 1.1.1.5/32 alias and ifconfig "$iface" inet6 1111:1111::5/128 alias, as documented by the tests. Configure these runtime aliases in the CI step rather than the cached preparation image.


Link

[suggestion] · Prepared-image epoch does not cover the inputs named in its comment

The explicit prepared-image epoch hashes only BSD native environment files, despite its comment naming shared CI scripts and depends/ inputs.

Location: .github/workflows/ci.yml:631 (head).

Details and suggested fix

hashFiles('ci/test/00_setup_env_*bsd_native.sh') does not include depends/, 01_base_install.sh, or 03_test_script.sh. The preparation commands source the native environment file and install its package lists. Reword the comment to say that the epoch tracks BSD native environment files, including their PACKAGES and PIP_PACKAGES settings. The external action's other cache-key inputs and expiration behavior were not inspected.


Coverage details

Earlier concerns

Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.