ci: add native freeBSD ci job

bitcoin/bitcoin: PR #36147

2 suggestions

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

Optional improvements

Link

[suggestion] · FreeBSD has no explicit bind-test address setup

Without explicit address setup, feature_bind_port_discover.py and feature_bind_port_externalip.py may skip on FreeBSD; this is optional added coverage, not a regression, and skips remain unconfirmed because the VM's default addresses were not inspected.

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

Details and suggested fix

Host mode bypasses the BIND_TEST_ROUTABLE_IPV4 and BIND_TEST_ROUTABLE_IPV6 assignments in 02_run_container.py, leaving the tests to use 1.1.1.5 and 1111:1111::5. If binding fails, both tests raise SkipTest, which does not fail the job, so their local-address discovery and -externalip port-selection assertions do not run. Before ./ci/test_run_all.sh, assign the documented aliases with ifconfig INTERFACE_NAME 1.1.1.5/32 alias and ifconfig INTERFACE_NAME inet6 1111:1111::5/128 alias, selecting an UP, non-loopback interface at runtime. Keep this setup outside the cached prepare step so it applies to each VM instance. The macOS host-mode job has the same setup gap.


Link

[suggestion] · Shared 03_test_script.sh changes are bundled with the FreeBSD job

cc83aa46 combines shared depends-build and system-info changes with VM integration, making the Linux behavior changes harder to review independently.

Location: ci/test/03_test_script.sh:94 at cc83aa46b444 (commit) (commit).

Details and suggested fix

The FreeBSD job commit cc83aa46b44447f62b119c9443902fc5123b660b, whose direct parent is the PULL_FILTER extraction commit d6cb9138b824a64785bfb13bd62db0e3c764fedd, also removes the non-Alpine CONFIG_SHELL= assignment, selects ${MAKE:-make}, adds the FreeBSD memory-reporting branch, and changes the shared free and uname invocations. These are prerequisites for the job, but the commit message does not explain their effect on existing Linux jobs. Move the ci/test/03_test_script.sh edits into a preparatory portability commit between that parent and the job commit, explaining why dropping CONFIG_SHELL= is safe. This would let reviewers validate the shared behavior separately without changing the final tree. The make fallback and Alpine shell override remain available, and the FreeBSD-specific branch can land before the new job uses it.


Coverage details

Earlier concerns

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