ci: add native freeBSD ci job #36147

Open
willcl-ark wants to merge 5 commits from bsd-ci into master AGit
willcl-ark commented 2026-09-02 11:07:50 +00:00 (Migrated from github.com)

This replaces the FreeBSD cross-compilation job with a native build and test job inside a FreeBSD VM. NetBSD and OpenBSD retain their existing cross-compilation jobs.

We currently cross-compile BSD binaries without testing them in this repository. Running tests before merge should help catch platform-specific regressions that would otherwise first appear in nightly builds. This starts with FreeBSD because it has been the most reliable BSD platform in the nightly jobs.

As we don't have native FreeBSD runners, the job uses vmactions/freebsd-vm, which is also used by the nightly builds. It reuses the existing CI scripts, depends build, and cache actions where possible.

The VM image is cached after its prepare step installs dependencies. The job also restores and saves the usual build caches. Initial testing on free GitHub Actions runners took approximately 60 minutes without caches and 20–30 minutes with caches populated. Performance on Warp runners remains untested.

The VM uses the runner's available CPU count and 75% of its RAM, leaving the remaining memory for the host and VM overhead. There is some overhead after testing while rsync copies cache directories back out of the VM.

The patchset also suppresses lsof warnings on FreeBSD that would otherwise interfere with functional tests.

The job requires enabling one additional action:

vmactions/freebsd-vm@v1
This replaces the FreeBSD cross-compilation job with a native build and test job inside a FreeBSD VM. NetBSD and OpenBSD retain their existing cross-compilation jobs. We currently cross-compile BSD binaries without testing them in this repository. Running tests before merge should help catch platform-specific regressions that would otherwise first appear in nightly builds. This starts with FreeBSD because it has been the most reliable BSD platform in the nightly jobs. As we don't have native FreeBSD runners, the job uses [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm), which is also used by the nightly builds. It reuses the existing CI scripts, depends build, and cache actions where possible. The VM image is cached after its `prepare` step installs dependencies. The job also restores and saves the usual build caches. Initial testing on free GitHub Actions runners took approximately 60 minutes without caches and 20–30 minutes with caches populated. Performance on Warp runners remains untested. The VM uses the runner's available CPU count and 75% of its RAM, leaving the remaining memory for the host and VM overhead. There is some overhead after testing while `rsync` copies cache directories back out of the VM. The patchset also suppresses `lsof` warnings on FreeBSD that would otherwise interfere with functional tests. The job requires enabling one additional action: ```text vmactions/freebsd-vm@v1 ```
DrahtBot commented 2026-09-02 11:07:59 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
Concept ACK pinheadmz, vasild, winterrdog
Approach ACK hebasto

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #36872 (ci: Share qa-assets across GitHub Actions jobs by jaromil)
  • #36042 (build: Bump g++ minimum supported version to 13 by maflcko)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36147 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36147.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36147#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. | Type | Reviewers | | ---- | --------- | | Concept ACK | [pinheadmz](https://github.com/bitcoin/bitcoin/pull/36147#issuecomment-6852806249), [vasild](https://github.com/bitcoin/bitcoin/pull/36147#issuecomment-6853657301), [winterrdog](https://github.com/bitcoin/bitcoin/pull/36147#pullrequestreview-5922146774) | | Approach ACK | [hebasto](https://github.com/bitcoin/bitcoin/pull/36147#pullrequestreview-5975194287) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--174a7506f384e20aa4161008e828411d--> ### Conflicts Reviewers, this pull request conflicts with the following ones: * [#36872](https://github.com/bitcoin/bitcoin/pull/36872) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36872.svg"></sub> (ci: Share qa-assets across GitHub Actions jobs by jaromil) * [#36042](https://github.com/bitcoin/bitcoin/pull/36042) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36042.svg"></sub> (build: Bump g++ minimum supported version to 13 by maflcko) If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. <!--5faf32d7da4f0f540f40219e4f7537a3-->
maflcko commented 2026-09-02 12:11:11 +00:00 (Migrated from github.com)

We currently cross compile various BSD binaries but do not test them. This leads to regressions on master which are noticed in nightly builds and fixed here, recent examples include #36078 and #36145.

Build and test the binaries in this repo as part of our CI instead to avoid this regression/fix flip-flopping.

I think this requires a stronger motivation, to explain that this will actually reduce overall workload.

Those vm-in-a-vm tests are extremely brittle (https://github.com/hebasto/bitcoin-core-nightly/issues/230#issuecomment-4311704411, https://github.com/hebasto/bitcoin-core-nightly/issues/81, ... etc)

So if those tasks are added here, we need to understand that this is the "hot path" (for all pull requests) and before this is merged, there needs to be several people who monitor those intermittent failures on those platforms and then categorize them into "intermittent", "unrelated", etc.

If this isn't done, then devs will just ignore all CI results because the false-positive rate is too high and just re-run it until it is green. This may then degrade non-*BSD code at a slight benefit of avoid some trivial test-only BSD fixups.

Maybe I am wrong, but I wanted to raise the point to not miss the large picture here.

> We currently cross compile various BSD binaries but do not test them. This leads to regressions on master which are noticed in nightly builds and fixed here, recent examples include #36078 and #36145. > > Build **and test** the binaries in this repo as part of our CI instead to avoid this regression/fix flip-flopping. I think this requires a stronger motivation, to explain that this will actually reduce overall workload. Those vm-in-a-vm tests are extremely brittle (https://github.com/hebasto/bitcoin-core-nightly/issues/230#issuecomment-4311704411, https://github.com/hebasto/bitcoin-core-nightly/issues/81, ... etc) So if those tasks are added here, we need to understand that this is the "hot path" (for all pull requests) and before this is merged, there needs to be several people who monitor those intermittent failures on those platforms and then categorize them into "intermittent", "unrelated", etc. If this isn't done, then devs will just ignore all CI results because the false-positive rate is too high and just re-run it until it is green. This may then degrade non-*BSD code at a slight benefit of avoid some trivial test-only BSD fixups. Maybe I am wrong, but I wanted to raise the point to not miss the large picture here.
hebasto commented 2026-09-02 12:24:11 +00:00 (Migrated from github.com)

We currently cross compile various BSD binaries but do not test them. This leads to regressions on master which are noticed in nightly builds and fixed here, recent examples include #36078 and #36145.
Build and test the binaries in this repo as part of our CI instead to avoid this regression/fix flip-flopping.

I think this requires a stronger motivation, to explain that this will actually reduce overall workload.

Those vm-in-a-vm tests are extremely brittle (hebasto/bitcoin-core-nightly#230 (comment), hebasto/bitcoin-core-nightly#81, ... etc)

So if those tasks are added here, we need to understand that this is the "hot path" (for all pull requests) and before this is merged, there needs to be several people who monitor those intermittent failures on those platforms and then categorize them into "intermittent", "unrelated", etc.

If this isn't done, then devs will just ignore all CI results because the false-positive rate is too high and just re-run it until it is green. This may then degrade non-*BSD code at a slight benefit of avoid some trivial test-only BSD fixups.

Maybe I am wrong, but I wanted to raise the point to not miss the large picture here.

We might begin with FreeBSD only, which has shown high stability over a long period.

> > We currently cross compile various BSD binaries but do not test them. This leads to regressions on master which are noticed in nightly builds and fixed here, recent examples include #36078 and #36145. > > Build **and test** the binaries in this repo as part of our CI instead to avoid this regression/fix flip-flopping. > > I think this requires a stronger motivation, to explain that this will actually reduce overall workload. > > Those vm-in-a-vm tests are extremely brittle ([hebasto/bitcoin-core-nightly#230 (comment)](https://github.com/hebasto/bitcoin-core-nightly/issues/230#issuecomment-4311704411), [hebasto/bitcoin-core-nightly#81](https://github.com/hebasto/bitcoin-core-nightly/issues/81), ... etc) > > So if those tasks are added here, we need to understand that this is the "hot path" (for all pull requests) and before this is merged, there needs to be several people who monitor those intermittent failures on those platforms and then categorize them into "intermittent", "unrelated", etc. > > If this isn't done, then devs will just ignore all CI results because the false-positive rate is too high and just re-run it until it is green. This may then degrade non-*BSD code at a slight benefit of avoid some trivial test-only BSD fixups. > > Maybe I am wrong, but I wanted to raise the point to not miss the large picture here. We might begin with FreeBSD only, which has shown high stability over a [long period](https://github.com/hebasto/bitcoin-core-nightly/actions/workflows/freebsd.yml?query=event%3Aworkflow_run).
maflcko commented 2026-09-02 12:38:23 +00:00 (Migrated from github.com)

We might begin with FreeBSD only, which showed a high stability over a long period.

Your link shows an unrelated failure for the 35th build (second page). Not sure if this is accurate, but if every 35th build fails and Bitcoin Core has 35 pushes per day, then every day there will be one additional unrelated CI failure.

Maybe there can be a one-month trial period and then a summary is presented with all CI failures and each of them annotated with "intermittent" (y/n), "unrelated" (y/n)?

Also, even if a failure is related, it can still be intermittent, so merging this pull request does not guarantee to prevent fixups such as https://github.com/bitcoin/bitcoin/pull/36145, because the failure happens intermittently.

> We might begin with FreeBSD only, which showed a high stability over a [long period](https://github.com/hebasto/bitcoin-core-nightly/actions/workflows/freebsd.yml?query=event%3Aworkflow_run). Your link shows an unrelated failure for the 35th build (second page). Not sure if this is accurate, but if every 35th build fails and Bitcoin Core has 35 pushes per day, then every day there will be one additional unrelated CI failure. Maybe there can be a one-month trial period and then a summary is presented with all CI failures and each of them annotated with "intermittent" (y/n), "unrelated" (y/n)? Also, even if a failure is related, it can still be intermittent, so merging this pull request does not guarantee to prevent fixups such as https://github.com/bitcoin/bitcoin/pull/36145, because the failure happens intermittently.
willcl-ark commented 2026-09-02 14:18:17 +00:00 (Migrated from github.com)

I did not understand these VMs to be flaky. I didn't observe any flakiness in testing, but probably only ran about 15 runs (x3 jobs), so perhaps I'm due a random flake-failure soon 😋

The actions are used by a few other high-profile projects like tokio and sccache as well as:

  • tukaani-project/xz using OpenBSD (workflow)
  • hashcat/hashcat using OpenBSD
  • acmesh-official/acme.sh using OpenBSD
  • aws/aws-lc-rs using FreeBSD (workflow)
  • mozilla/sccache using FreeBSD
  • aristocratos/btop using OpenBSD
  • stalwartlabs/stalwart using FreeBSD
  • deskflow/deskflow using FreeBSD
  • FrameworkComputer/framework-system using FreeBSD

But I'd imagine our functional tests put significantly more strain on the vm than any of those projects are doing.

I asked codex to take a look at the last months-worth of runs on hebasto's nightly repo:

Details

hebasto/bitcoin-core-nightly
from 2026-08-02 through 2026-09-02. Pull-request runs were excluded. The
nightly sample consists of runs with the workflow_run event. Manual
workflow_dispatch failures are listed separately where they add useful
context.

Summary

Workflow Nightly runs Successful Failed Cancelled
FreeBSD 33 33 0 0
NetBSD 33 28 4 1
OpenBSD 33 10 19 4

The logs for all 29 failed runs were downloaded and inspected.

FreeBSD looks stable in this sample. NetBSD has a small number of nightly
failures, mostly caused by platform resource limits or platform-sensitive
tests. OpenBSD has a high failure rate, but most failures are repeatable test
or platform problems rather than failures to boot the VM.

NetBSD

Nightly failures

  • Run 906,
    2026-08-25: feature_block.py timed out waiting for the expected peer
    disconnect. Other jobs showed the NetBSD file-descriptor limit.
  • Run 899,
    2026-08-20: feature_block.py timed out waiting for a peer disconnect after
    the node had rejected the block.
  • Run 892,
    2026-08-14: wallet_listtransactions.py failed when generateblock
    returned bad-txns-inputs-missingorspent.
  • Run 888,
    2026-08-10: wallet_listtransactions.py failed with the same
    TestBlockValidity error.

The feature_block.py failures look like delayed networking or scheduling in
the guest: the node log records the rejection and disconnect, while the test
does not observe the disconnect before its timeout. The wallet failures are
functional test failures and should not be counted as generic VM boot
failures.

Manual failures

The following manual runs on 2026-08-25 failed during test setup because the
guest did not have enough file descriptors:

The common messages were:

Not enough file descriptors available. 256 available, 290 required.
Warning: Reducing -maxconnections ... because of system limitations.

These are reproducible NetBSD configuration or test-environment failures, not
random VM failures.

There was one additional manual failure:

  • Run 895,
    2026-08-16: the VM boot probe timed out and QEMU was restarted. The run also
    contained feature_anchors.py and interface_http.py timing failures.

This is the clearest NetBSD example of actual VM or infrastructure flakiness.

OpenBSD

Repeated interface_gui.py failures

interface_gui.py failed in runs 738,
739,
740,
743,
744,
745,
746,
747,
748,
749,
and 751.

The recurring error was:

GLib-CRITICAL: g_main_context_pop_thread_default:
assertion 'stack != NULL' failed

This is highly repeatable across OpenBSD 7.8 and 7.9 GUI jobs. It looks like
an OpenBSD/Qt shutdown or test-environment problem, not QEMU randomly failing.

Repeated P2P test timeouts

p2p_private_broadcast.py or
p2p_private_broadcast_retry_v1.py failed in runs 738,
754,
757,
758,
761,
765,
766,
772,
and 779.

The test waited exactly 480 seconds for all addresses to advertise
NODE_P2P_V2:

Predicate ... not true after 480.0 seconds

The node remained responsive and answered getnodeaddresses RPC requests, but
the expected service flags never appeared. Because the same test fails in the
same way across many consecutive OpenBSD runs, this looks like an OpenBSD/test
interaction or severe guest-performance problem rather than a generic boot
failure.

Package and VM infrastructure failures

  • Run 754:
    OpenBSD package installation failed with Premature end of archive while
    installing nghttp2.
  • Run 761,
    765,
    and 766:
    package downloads included 404s or connection timeouts.

These failures are package-mirror or network infrastructure failures. They are
separate from the repeated functional test failures.

Conclusion

For this one-month sample:

  • FreeBSD: no observed nightly failures.
  • NetBSD: some real guest or scheduling sensitivity, but most failures are
    resource-limit or functional-test issues. The one clear VM boot failure was
    on 2026-08-16.
  • OpenBSD: 19 failed nightly runs out of 33. The failure count is dominated by
    repeatable interface_gui.py and p2p_private_broadcast* failures, with a
    few package-mirror failures. It would be misleading to attribute all 19 to
    vmactions or QEMU flakiness.

The next useful experiment would be to fix or disable the known OpenBSD GUI
and P2P test incompatibilities, raise the NetBSD file-descriptor limit, and
then repeat the same nightly comparison. That would leave a much cleaner
measurement of VM-level reliability.

I have not observed the interface_gui.py failures that hebasto's repo sees on OpenBSD. I did see a failure on p2p_private_broadcast_retry_v1.py once or twice and did have that test disabled on *BSD in one iteration; if that test in particular is flaky it could be disabled on these jobs.

Most of the other failures at first glance appear to be GHA/package archive 404 or other network infra failures and I wouldn't attribute them to the VMs being flaky, so I'm not 100% convinced that critique is warranted.

That said I don't want to add known-flaky jobs and you are correct to call out they could be more work to maintain than porting over a few fixes, if they are unreliable. I suppose the only unclear bit is at what cost level do we prefer to merge buggy code and fix later, vs run more jobs on every PR and merge to prevent that happening in the first place...

We might begin with FreeBSD only, which has shown high stability over a long period.

Happy to start with FreeBSD only if that's preferable.

I did not understand these VMs to be flaky. I didn't observe any flakiness in testing, but probably only ran about 15 runs (x3 jobs), so perhaps I'm due a random flake-failure soon 😋 The actions _are_ used by a few other high-profile projects like [tokio](https://github.com/tokio-rs/tokio/actions/runs/32341804131/job/96978505535) and [sccache](https://github.com/mozilla/sccache/actions/runs/33376171138/job/99438039126) as well as: - tukaani-project/xz using OpenBSD (workflow) - hashcat/hashcat using OpenBSD - acmesh-official/acme.sh using OpenBSD - aws/aws-lc-rs using FreeBSD (workflow) - mozilla/sccache using FreeBSD - aristocratos/btop using OpenBSD - stalwartlabs/stalwart using FreeBSD - deskflow/deskflow using FreeBSD - FrameworkComputer/framework-system using FreeBSD But I'd imagine our functional tests put significantly more strain on the vm than any of those projects are doing. I asked codex to take a look at the last months-worth of runs on hebasto's nightly repo: <details> <summary>Details</summary> [`hebasto/bitcoin-core-nightly`](https://github.com/hebasto/bitcoin-core-nightly) from 2026-08-02 through 2026-09-02. Pull-request runs were excluded. The nightly sample consists of runs with the `workflow_run` event. Manual `workflow_dispatch` failures are listed separately where they add useful context. ## Summary | Workflow | Nightly runs | Successful | Failed | Cancelled | | --- | ---: | ---: | ---: | ---: | | FreeBSD | 33 | 33 | 0 | 0 | | NetBSD | 33 | 28 | 4 | 1 | | OpenBSD | 33 | 10 | 19 | 4 | The logs for all 29 failed runs were downloaded and inspected. FreeBSD looks stable in this sample. NetBSD has a small number of nightly failures, mostly caused by platform resource limits or platform-sensitive tests. OpenBSD has a high failure rate, but most failures are repeatable test or platform problems rather than failures to boot the VM. ## NetBSD ### Nightly failures - [Run 906](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/32799434384), 2026-08-25: `feature_block.py` timed out waiting for the expected peer disconnect. Other jobs showed the NetBSD file-descriptor limit. - [Run 899](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/32322734783), 2026-08-20: `feature_block.py` timed out waiting for a peer disconnect after the node had rejected the block. - [Run 892](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/31765546925), 2026-08-14: `wallet_listtransactions.py` failed when `generateblock` returned `bad-txns-inputs-missingorspent`. - [Run 888](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/31350308484), 2026-08-10: `wallet_listtransactions.py` failed with the same `TestBlockValidity` error. The `feature_block.py` failures look like delayed networking or scheduling in the guest: the node log records the rejection and disconnect, while the test does not observe the disconnect before its timeout. The wallet failures are functional test failures and should not be counted as generic VM boot failures. ### Manual failures The following manual runs on 2026-08-25 failed during test setup because the guest did not have enough file descriptors: - [Run 909](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/32837640603) - [Run 911](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/32842679103) - [Run 912](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/32843365189) - [Run 913](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/32852803381) - [Run 914](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/32867589050) The common messages were: ```text Not enough file descriptors available. 256 available, 290 required. Warning: Reducing -maxconnections ... because of system limitations. ``` These are reproducible NetBSD configuration or test-environment failures, not random VM failures. There was one additional manual failure: - [Run 895](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/31943115495), 2026-08-16: the VM boot probe timed out and QEMU was restarted. The run also contained `feature_anchors.py` and `interface_http.py` timing failures. This is the clearest NetBSD example of actual VM or infrastructure flakiness. ## OpenBSD ### Repeated `interface_gui.py` failures `interface_gui.py` failed in runs [738](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/30731534646), [739](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/30783225699), [740](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/30875541319), [743](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/30972882503), [744](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/31069287625), [745](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/31144016684), [746](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/31234889921), [747](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/31290532291), [748](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/31350308514), [749](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/31452609174), and [751](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/31558633967). The recurring error was: ```text GLib-CRITICAL: g_main_context_pop_thread_default: assertion 'stack != NULL' failed ``` This is highly repeatable across OpenBSD 7.8 and 7.9 GUI jobs. It looks like an OpenBSD/Qt shutdown or test-environment problem, not QEMU randomly failing. ### Repeated P2P test timeouts `p2p_private_broadcast.py` or `p2p_private_broadcast_retry_v1.py` failed in runs [738](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/30731534646), [754](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/31765547000), [757](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/31986512649), [758](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/32089854630), [761](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/32322734906), [765](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/32681596291), [766](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/32799434355), [772](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/33060952442), and [779](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/33591911980). The test waited exactly 480 seconds for all addresses to advertise `NODE_P2P_V2`: ```text Predicate ... not true after 480.0 seconds ``` The node remained responsive and answered `getnodeaddresses` RPC requests, but the expected service flags never appeared. Because the same test fails in the same way across many consecutive OpenBSD runs, this looks like an OpenBSD/test interaction or severe guest-performance problem rather than a generic boot failure. ### Package and VM infrastructure failures - [Run 754](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/31765547000): OpenBSD package installation failed with `Premature end of archive` while installing `nghttp2`. - [Run 761](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/32322734906), [765](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/32681596291), and [766](https://github.com/hebasto/bitcoin-core-nightly/actions/runs/32799434355): package downloads included 404s or connection timeouts. These failures are package-mirror or network infrastructure failures. They are separate from the repeated functional test failures. ## Conclusion For this one-month sample: - FreeBSD: no observed nightly failures. - NetBSD: some real guest or scheduling sensitivity, but most failures are resource-limit or functional-test issues. The one clear VM boot failure was on 2026-08-16. - OpenBSD: 19 failed nightly runs out of 33. The failure count is dominated by repeatable `interface_gui.py` and `p2p_private_broadcast*` failures, with a few package-mirror failures. It would be misleading to attribute all 19 to vmactions or QEMU flakiness. The next useful experiment would be to fix or disable the known OpenBSD GUI and P2P test incompatibilities, raise the NetBSD file-descriptor limit, and then repeat the same nightly comparison. That would leave a much cleaner measurement of VM-level reliability. </details> I have not observed the interface_gui.py failures that hebasto's repo sees on OpenBSD. I did see a failure on p2p_private_broadcast_retry_v1.py once or twice and did have that test disabled on *BSD in one iteration; if that test in particular is flaky it could be disabled on these jobs. Most of the other failures at first glance appear to be GHA/package archive 404 or other network infra failures and I wouldn't attribute them to the VMs being flaky, so I'm not 100% convinced that critique is warranted. That said I don't want to add known-flaky jobs and you are correct to call out they could be more work to maintain than porting over a few fixes, if they are unreliable. I suppose the only unclear bit is at what cost level do we prefer to merge buggy code and fix later, vs run more jobs on every PR and merge to prevent that happening in the first place... > We might begin with FreeBSD only, which has shown high stability over a [long period](https://github.com/hebasto/bitcoin-core-nightly/actions/workflows/freebsd.yml?query=event%3Aworkflow_run). Happy to start with FreeBSD only if that's preferable.
maflcko commented 2026-09-02 14:47:39 +00:00 (Migrated from github.com)

We might begin with FreeBSD only, which has shown high stability over a long period.

Happy to start with FreeBSD only if that's preferable.

Sure, I am not against this pull request, but then the motivation is off, because the two motivating issues are about netbsd and openbsd, which for some reason have a lot more false positive intermittent failures?

It still seems that the remaining fixups required for FreeBSD are less effort than maintaining the FreeBSD ci task here? (Recall that codex only looked at the last month with daily builds, but it missed the failure from 35 days ago and recall that Bitcoin Core has a higher CI volume than just one build per day, so any rare failure will amplify)

Again, seems fine to merge this, but as long as the false positive rate is higher than the true positive rate, it doesn't seem worth it overall.

> > We might begin with FreeBSD only, which has shown high stability over a [long period](https://github.com/hebasto/bitcoin-core-nightly/actions/workflows/freebsd.yml?query=event%3Aworkflow_run). > > Happy to start with FreeBSD only if that's preferable. Sure, I am not against this pull request, but then the motivation is off, because the two motivating issues are about netbsd and openbsd, which for some reason have a lot more false positive intermittent failures? It still seems that the remaining fixups required for FreeBSD are less effort than maintaining the FreeBSD ci task here? (Recall that codex only looked at the last month with daily builds, but it missed the failure from 35 days ago and recall that Bitcoin Core has a higher CI volume than just one build per day, so any rare failure will amplify) Again, seems fine to merge this, but as long as the false positive rate is higher than the true positive rate, it doesn't seem worth it overall.
DrahtBot commented 2026-09-03 11:54:54 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
willcl-ark commented 2026-09-03 12:24:02 +00:00 (Migrated from github.com)

Scanning the last 90 days (where logs still exist) in hebasto's repo I really only see this one where the vm failed to boot: https://github.com/hebasto/bitcoin-core-nightly/actions/runs/29139756629/job/86510586228#step:2:188

There are a handful of "random" functional test issues, which could be attributable to the vm-in-vm setup, but I'd recommend disabling those few tests. There are a number of legitimate functional test failures repeated over many days (e.g interface_gui.py) and few semi-legitimate-looking errors which could have been vm-flakiness.

Including the ~legit test timeout-type failures, but excluding real test failures by my count I see 18 "flaky failures" out of 812 jobs over the 90 days, which or 2.2%.

as long as the false positive rate is higher than the true positive rate, it doesn't seem worth it overall.

Our CI jobs have between a 7 and 2% fail rate (assuming all current failures are true-positives), per our CI job statistics.

So for references 2.2% as a potential false-positive rate is ~ in the same ballpark as the true-failures we see on jobs today (assuming all are true-failures). I agree a flakiness ~= to the bug-catching ability of non-flaky tests isn't great.

If we are more happy to backport fixes from broken nightly/master builds than run CI jobs here as we are worried they'll be too flaky (which is more like a regular CI/CD process to be honest) then that works for me too.

I'll leave this in draft for a few days in case anyone else wants to weigh in, before closing.

Scanning the last 90 days (where logs still exist) in hebasto's repo I really only see this one where the vm failed to boot: https://github.com/hebasto/bitcoin-core-nightly/actions/runs/29139756629/job/86510586228#step:2:188 There are a handful of "random" functional test issues, which could be attributable to the vm-in-vm setup, but I'd recommend [disabling those few tests](https://github.com/willcl-ark/bitcoin/blob/31a2ac55c0dc967b064a2a3e4e91240fb70e7f3c/ci/test/00_setup_env_freebsd_native.sh#L16). There are a number of legitimate functional test failures repeated over many days (e.g interface_gui.py) and few semi-legitimate-looking errors which could have been vm-flakiness. Including the ~legit test timeout-type failures, but excluding real test failures by my count I see 18 "flaky failures" out of 812 jobs over the 90 days, which or 2.2%. > as long as the false positive rate is higher than the true positive rate, it doesn't seem worth it overall. Our CI jobs have between a 7 and 2% fail rate (assuming all current failures are true-positives), per our CI [job statistics](https://willcl-ark.github.io/bitcoin-core-ci-stats/stats/). So for references 2.2% as a potential false-positive rate is ~ in the same ballpark as the true-failures we see on jobs today (assuming all are true-failures). I agree a flakiness ~= to the bug-catching ability of non-flaky tests isn't great. If we are more happy to backport fixes from broken nightly/master builds than run CI jobs here as we are worried they'll be too flaky (which is more like a regular CI/CD process to be honest) then that works for me too. I'll leave this in draft for a few days in case anyone else wants to weigh in, before closing.
hebasto commented 2026-09-03 12:41:20 +00:00 (Migrated from github.com)

Concept ACK on having at least one CI job that runs tests on a *BSD platform.

Concept ACK on having at least one CI job that runs tests on a *BSD platform.
maflcko commented 2026-09-17 09:53:51 +00:00 (Migrated from github.com)

Including the ~legit test timeout-type failures, but excluding real test failures by my count I see 18 "flaky failures" out of 812 jobs over the 90 days, which or 2.2%.

Is this the average over all BSDs? Because I see 5 OpenBSD failures in the last 10 days alone, which is more than 10%.

I guess we could add the FreeBSD one only, but I wonder what issues it would have caught this year. Mostly only https://github.com/bitcoin/bitcoin/issues/34331?

I'd say we don't care about FreeBSD failures that happen on other platforms as well, so true positive rate is meant as the "marginal" (additional or exclusive) true positive rate.

I guess it could be tried for a month or two, to see what happens in reality.

> Including the ~legit test timeout-type failures, but excluding real test failures by my count I see 18 "flaky failures" out of 812 jobs over the 90 days, which or 2.2%. Is this the average over all BSDs? Because I see 5 OpenBSD failures in the last 10 days alone, which is more than 10%. I guess we could add the FreeBSD one only, but I wonder what issues it would have caught this year. Mostly only https://github.com/bitcoin/bitcoin/issues/34331? I'd say we don't care about FreeBSD failures that happen on other platforms as well, so true positive rate is meant as the "marginal" (additional or exclusive) true positive rate. I guess it could be tried for a month or two, to see what happens in reality.
maflcko commented 2026-11-12 16:46:26 +00:00 (Migrated from github.com)
There is still a flood of unexplained FreeBSD failures: * https://github.com/hebasto/bitcoin-core-nightly/actions/runs/43174892437/job/131036635075 * https://github.com/hebasto/bitcoin-core-nightly/actions/runs/41399624235 * ... I think those should be fixed first. Maybe this can be closed in the meantime?
hebasto commented 2026-11-12 17:13:47 +00:00 (Migrated from github.com)
> There is still a flood of unexplained FreeBSD failures: > > * https://github.com/hebasto/bitcoin-core-nightly/actions/runs/43174892437/job/131036635075 > > * https://github.com/hebasto/bitcoin-core-nightly/actions/runs/41399624235 > > * ... > > > I think those should be fixed first. I hope to [collect](https://github.com/hebasto/bitcoin-core-nightly/pull/467) more logs when a failure happens next time.
maflcko commented 2026-11-12 17:28:12 +00:00 (Migrated from github.com)

Sure, logging can't hurt, but I don't think it is possible to fix the OOM or OOS like System.IO.IOException: No space left on device : '/home/runner/actions-runner/cached/2.338.2/_diag/Worker_20261102-062353-utc.log'

Sure, logging can't hurt, but I don't think it is possible to fix the OOM or OOS like `System.IO.IOException: No space left on device : '/home/runner/actions-runner/cached/2.338.2/_diag/Worker_20261102-062353-utc.log'`
First-time contributor

Earlier concerns neither republished nor resolved: 3 suggestions. See the Run archive linked from the Review report for their assessments.

🔴 Major · The submitted NOMERGE configuration disables the existing CI suite

The submitted head disables all existing CI jobs and schedules 25 identical FreeBSD trials on each eligible event, removing the existing platform, sanitizer, and lint coverage.

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

🔵 Suggestion · The new VM action inherits an implicit token scope

The host-side vmactions/freebsd-vm@v1 step inherits token permissions and shares a default-branch cache-publishing job; its actual write authority depends on repository defaults and cache-provider scoping.

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

🔵 Suggestion · Python and its modules use inconsistent version selectors

lang/python3 follows the ports default while its module packages are fixed to Python 3.12, so a default-version change can fail VM preparation; no such failure was observed.

Location: ci/test/00_setup_env_freebsd_native.sh:11 (head).

🔵 Suggestion · Shared CI behavior changes are buried in the FreeBSD job commit

e6b63bf changes shared diagnostics and stops clearing CONFIG_SHELL for non-Alpine depends builds, but its message does not explain those effects on existing jobs.

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

🔵 Suggestion · Autosquash would discard the routable-alias rationale

The routable-alias fixup explains a non-obvious prerequisite for running feature_bind_port_discover.py; preserve that explanation when squashing it into the native-job commit.

Location: .github/workflows/ci.yml:584 (commit).

Review coverage was incomplete.


Reviewed: a6f5aa9d44c2 · Review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:e1a29e5e677c47d383756f0fcf8f3760725c91d1104dd3ccb2f333b6217eba26:47880f5569fd2047d249266f337c4f2a509adf7d96c3ccb1c7644c2c2a650bff --> <!-- ralph-base:e3a72a374435ad3266c8931846bbcdb7b0e5e7c2 --> <!-- ralph-head:a6f5aa9d44c2b21083f93f33b2e70298e04689a6 --> <!-- ralph-case:7dbc088652a1a7791a0d59a7f9d05b522872c90f4941a9136f675ef5c828a85e --> Earlier concerns neither republished nor resolved: 3 suggestions. See the Run archive linked from the Review report for their assessments. **🔴 Major · The submitted `NOMERGE` configuration disables the existing CI suite** The submitted head disables all existing CI jobs and schedules 25 identical FreeBSD trials on each eligible event, removing the existing platform, sanitizer, and lint coverage. Location: [`.github/workflows/ci.yml:405`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/a6f5aa9d44c2b21083f93f33b2e70298e04689a6/.github/workflows/ci.yml#L405>) (head). **🔵 Suggestion · The new VM action inherits an implicit token scope** The host-side `vmactions/freebsd-vm@v1` step inherits token permissions and shares a default-branch cache-publishing job; its actual write authority depends on repository defaults and cache-provider scoping. Location: [`.github/workflows/ci.yml:627`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/a6f5aa9d44c2b21083f93f33b2e70298e04689a6/.github/workflows/ci.yml#L627>) (head). **🔵 Suggestion · Python and its modules use inconsistent version selectors** `lang/python3` follows the ports default while its module packages are fixed to Python 3.12, so a default-version change can fail VM preparation; no such failure was observed. Location: [`ci/test/00_setup_env_freebsd_native.sh:11`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/a6f5aa9d44c2b21083f93f33b2e70298e04689a6/ci/test/00_setup_env_freebsd_native.sh#L11>) (head). **🔵 Suggestion · Shared CI behavior changes are buried in the FreeBSD job commit** `e6b63bf` changes shared diagnostics and stops clearing `CONFIG_SHELL` for non-Alpine depends builds, but its message does not explain those effects on existing jobs. Location: ci/test/03_test_script.sh:94 (commit). **🔵 Suggestion · Autosquash would discard the routable-alias rationale** The routable-alias fixup explains a non-obvious prerequisite for running `feature_bind_port_discover.py`; preserve that explanation when squashing it into the native-job commit. Location: .github/workflows/ci.yml:584 (commit). Review coverage was incomplete. <!-- Review tier: sensitive --> --- Reviewed: [`a6f5aa9d44c2`](<https://git.fish.foo/bitcoin/bitcoin/commit/a6f5aa9d44c2b21083f93f33b2e70298e04689a6>) · [Review report](<https://review.fish.foo/report/36147-a6f5aa9d44c2b21083f93f33b2e70298e04689a6-3441-18.html>) · [Previous reports](<https://review.fish.foo/traces/36147/>) [permalink](<https://review.fish.foo/report/36147-a6f5aa9d44c2b21083f93f33b2e70298e04689a6-3441-18.html>)
fanquake commented 2026-11-12 17:56:31 +00:00 (Migrated from github.com)

Isn't that kind of issue a problem with the nightly build infrastructure itself? My recollection is that a lot, if not most, of the issues from that repo have been of a similar nature (timeouts, OOM, out of space, flakiness/can't reproduce) and point to it being under-resourced/unstable, rather than some fundamental problem with these operating systems?

Isn't that kind of issue a problem with the nightly build infrastructure itself? My recollection is that a lot, if not most, of the issues from that repo have been of a similar nature (timeouts, OOM, out of space, flakiness/can't reproduce) and point to it being under-resourced/unstable, rather than some fundamental problem with these operating systems?
maflcko commented 2026-11-12 18:00:24 +00:00 (Migrated from github.com)

Right, so if this pull is merged, we'll have to deal with a flood of meaningless false reports instead of any real issues that would happen on those systems.

Right, so if this pull is merged, we'll have to deal with a flood of meaningless false reports instead of any real issues that would happen on those systems.
fanquake commented 2026-11-12 18:15:27 +00:00 (Migrated from github.com)

Why? We can pay for (reliable) CPU and enough disk space to be able to properly run tests; and I don't see why anything would be merged if the expectation was it'd just produce pointless noise.

If anything, it would seem better to have the tests run properly here, than improperly in a different repo, and still have to deal with all the false reports?

Why? We can pay for (reliable) CPU and enough disk space to be able to properly run tests; and I don't see why anything would be merged if the expectation was it'd just produce pointless noise. If anything, it would seem better to have the tests run properly here, than improperly in a different repo, and still have to deal with all the false reports?
maflcko commented 2026-11-12 19:13:50 +00:00 (Migrated from github.com)

Ok, I am not sure if the better hardware will propagate into the double-nested VM (if the inner VM is set up with fixed hard-coded resources), but I guess it seems fine to try and then revert if it doesn't work.

Ok, I am not sure if the better hardware will propagate into the double-nested VM (if the inner VM is set up with fixed hard-coded resources), but I guess it seems fine to try and then revert if it doesn't work.
pinheadmz commented 2026-11-13 12:24:33 +00:00 (Migrated from github.com)

concept ACK, especially with the recent socket stuff the nightly BSD builds as well as individual reviewers are finding things. If we support BSDs I think it would be great to have CI, will review.

concept ACK, especially with the recent socket stuff the nightly BSD builds as well as individual reviewers are finding things. If we support BSDs I think it would be great to have CI, will review.
maflcko commented 2026-11-13 12:39:15 +00:00 (Migrated from github.com)

Maybe there can be a temp commit on top to spawn a matrix with 100 or 200 tasks for freebsd (or whatever is added) to see if there are any nested vm crashes?

Maybe there can be a temp commit on top to spawn a matrix with 100 or 200 tasks for freebsd (or whatever is added) to see if there are any nested vm crashes?
vasild commented 2026-11-13 12:58:56 +00:00 (Migrated from github.com)

Concept ACK

Concept ACK
DrahtBot commented 2026-11-13 13:00:03 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
maflcko (Migrated from github.com) reviewed 2026-11-13 16:58:38 +00:00
maflcko (Migrated from github.com) commented 2026-11-13 16:58:38 +00:00

Maybe time to extract this as a named template?

untested diff:

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a1f79e0..8e31710 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -116,3 +116,3 @@ jobs:
     # in Github repository settings.
-    if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
+    if: &PULL_FILTER ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
 
@@ -197,3 +197,3 @@ jobs:
 
-    if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
+    if: *PULL_FILTER
 
@@ -307,3 +307,3 @@ jobs:
     runs-on: ${{ github.repository == 'bitcoin/bitcoin' && 'warp-ubuntu-latest-x64-4x' || 'ubuntu-latest' }}
-    if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
+    if: *PULL_FILTER
 
@@ -402,3 +402,3 @@ jobs:
     runs-on: ${{ github.repository == 'bitcoin/bitcoin' && matrix.warp-runner || matrix.fallback-runner }}
-    if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
+    if: *PULL_FILTER
     timeout-minutes: ${{ matrix.timeout-minutes }}
@@ -571,3 +571,3 @@ jobs:
     runs-on: ${{ github.repository == 'bitcoin/bitcoin' && 'warp-ubuntu-latest-x64-2x' || 'ubuntu-latest' }}
-    if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }}
+    if: *PULL_FILTER
     timeout-minutes: 20
Maybe time to extract this as a named template? untested diff: ```diff diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1f79e0..8e31710 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,3 +116,3 @@ jobs: # in Github repository settings. - if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }} + if: &PULL_FILTER ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }} @@ -197,3 +197,3 @@ jobs: - if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }} + if: *PULL_FILTER @@ -307,3 +307,3 @@ jobs: runs-on: ${{ github.repository == 'bitcoin/bitcoin' && 'warp-ubuntu-latest-x64-4x' || 'ubuntu-latest' }} - if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }} + if: *PULL_FILTER @@ -402,3 +402,3 @@ jobs: runs-on: ${{ github.repository == 'bitcoin/bitcoin' && matrix.warp-runner || matrix.fallback-runner }} - if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }} + if: *PULL_FILTER timeout-minutes: ${{ matrix.timeout-minutes }} @@ -571,3 +571,3 @@ jobs: runs-on: ${{ github.repository == 'bitcoin/bitcoin' && 'warp-ubuntu-latest-x64-2x' || 'ubuntu-latest' }} - if: ${{ vars.SKIP_BRANCH_PUSH != 'true' || github.event_name == 'pull_request' }} + if: *PULL_FILTER timeout-minutes: 20
willcl-ark (Migrated from github.com) reviewed 2026-11-13 17:08:22 +00:00
willcl-ark (Migrated from github.com) commented 2026-11-13 17:08:22 +00:00

yeah nice, can do that on the next push :)

yeah nice, can do that on the next push :)
willcl-ark (Migrated from github.com) reviewed 2026-11-16 08:46:18 +00:00
willcl-ark (Migrated from github.com) commented 2026-11-16 08:46:18 +00:00

done

done
willcl-ark commented 2026-11-16 08:46:58 +00:00 (Migrated from github.com)

I mark this as ready for review now, but it will need the vmactions/freebsd-vm@v1 action approved to be able to run on our CI here.

I mark this as ready for review now, but it will need the `vmactions/freebsd-vm@v1` action approved to be able to run on our CI here.
maflcko (Migrated from github.com) reviewed 2026-11-16 09:09:28 +00:00
maflcko (Migrated from github.com) left a comment

left some more questions

left some more questions
maflcko (Migrated from github.com) commented 2026-11-16 09:09:20 +00:00

do we want to document "dangerous" stuff?

Also, the docs are wrong to suggest that a manual install is needed?

do we want to document "dangerous" stuff? Also, the docs are wrong to suggest that a manual install is needed?
maflcko (Migrated from github.com) commented 2026-11-16 08:55:11 +00:00
Can the commit msg explain this? Why is this needed here, when https://github.com/hebasto/bitcoin-core-nightly/actions/runs/43818975249/workflow doesn't need it?
maflcko (Migrated from github.com) commented 2026-11-16 08:58:42 +00:00

this change seems wrong? Why not just install nproc?

this change seems wrong? Why not just install nproc?
maflcko (Migrated from github.com) commented 2026-11-16 09:01:29 +00:00

i don't really like adding more special-case CI code. Just use the existing code and install lscpu from ports? Also, could just use uname -sr then?

i don't really like adding more special-case CI code. Just use the existing code and install lscpu from ports? Also, could just use uname -sr then?
maflcko (Migrated from github.com) commented 2026-11-16 09:05:19 +00:00

Add a rationale?

Add a rationale?
maflcko (Migrated from github.com) commented 2026-11-16 08:53:07 +00:00
Can the commit message explain what warning this is and maybe also why https://github.com/hebasto/bitcoin-core-nightly/actions/runs/43818975249/workflow does'nt need it?
maflcko (Migrated from github.com) reviewed 2026-11-16 09:12:59 +00:00
maflcko (Migrated from github.com) commented 2026-11-16 09:12:59 +00:00

I see the pull description mentions this, but it would be better to remove it there and mention it here, and be a bit more specific. Is this https://github.com/bitcoin/bitcoin/issues/36099?

I see the pull description mentions this, but it would be better to remove it there and mention it here, and be a bit more specific. Is this https://github.com/bitcoin/bitcoin/issues/36099?
fanquake commented 2026-11-16 10:34:48 +00:00 (Migrated from github.com)

See also #36587, where we are trying to test NetBSD via the macOS CI.

See also #36587, where we are trying to test NetBSD via the macOS CI.
willcl-ark (Migrated from github.com) reviewed 2026-11-16 13:18:08 +00:00
willcl-ark (Migrated from github.com) commented 2026-11-16 13:23:41 +00:00

Well I was thinking that the manual-install instruction was useful because the scripts skip package installation on BSD; the GitHub workflow installs packages separately during VM preparation.

But I think removing it is fine.

Well I was thinking that the manual-install instruction was useful because the scripts skip package installation on BSD; the GitHub workflow installs packages separately during VM preparation. But I think removing it is fine.
willcl-ark (Migrated from github.com) commented 2026-11-16 13:18:08 +00:00

Yep, I don't think it's needed after all. Removed. Also reverted the CPU-detection fallback change, since FreeBSD provides nproc.

Yep, I don't think it's needed after all. Removed. Also reverted the CPU-detection fallback change, since FreeBSD provides nproc.
willcl-ark (Migrated from github.com) commented 2026-11-16 13:20:21 +00:00

Also reverted. From what I can see nproc is already installed on 15.1

Also reverted. From what I can see `nproc` is already installed on 15.1
willcl-ark (Migrated from github.com) commented 2026-11-16 13:21:51 +00:00

Added sysutils/lscpu and shared the lscpu and uname -sr calls with Linux. Kept a small FreeBSD branch for memory reporting: sysctl hw.physmem though since the existing free -m -h is Linux-specific.

LMK if you know a way around that one.

Added `sysutils/lscpu` and shared the `lscpu` and `uname -sr` calls with Linux. Kept a small FreeBSD branch for memory reporting: sysctl hw.physmem though since the existing `free -m -h` is Linux-specific. LMK if you know a way around that one.
willcl-ark (Migrated from github.com) commented 2026-11-16 13:22:36 +00:00

I don't recall why I added this, so going to remove for now.

I don't recall why I added this, so going to remove for now.
willcl-ark (Migrated from github.com) commented 2026-11-16 13:25:59 +00:00

I'd prefer to keep this, so expanded the commit message.

The test runner treats nonempty stderr as failure even when the test exits successfully. hebatos nightly works around this by running feature_bind_extra and rpc_bind separately with -j1. Here, -w suppresses the warning about lock information while keeping the socket-address assertions, which seems nicer to me?

This let's us keep things more parallelised here.

I'd prefer to keep this, so expanded the commit message. The test runner treats nonempty stderr as failure even when the test exits successfully. hebatos nightly works around this by running feature_bind_extra and rpc_bind separately with -j1. Here, -w suppresses the warning about lock information while keeping the socket-address assertions, which seems nicer to me? This let's us keep things more parallelised here.
willcl-ark commented 2026-11-16 13:52:49 +00:00 (Migrated from github.com)

@maflcko I opted to run 20 jobs here as a trial. If they're all successful then I can bump and re-run.

What level of robustness do you think we should aim for here? I calculate that running 200 jobs with 95% confidence would put our failure rate below ~1.5%. (and 299 runs would put it at 99% reliable).

@maflcko I opted to run 20 jobs here as a trial. If they're all successful then I can bump and re-run. What level of robustness do you think we should aim for here? I calculate that running 200 jobs with 95% confidence would put our failure rate below ~1.5%. (and 299 runs would put it at 99% reliable).
maflcko (Migrated from github.com) reviewed 2026-11-16 14:01:14 +00:00
maflcko (Migrated from github.com) commented 2026-11-16 13:51:52 +00:00

why is this needed?

why is this needed?
maflcko (Migrated from github.com) commented 2026-11-16 13:54:16 +00:00

Why is this logic change needed? Maybe just write "done" to "${BASE_ROOT_DIR}/ci.base-install-done"?

Why is this logic change needed? Maybe just write "done" to `"${BASE_ROOT_DIR}/ci.base-install-done"`?
maflcko (Migrated from github.com) commented 2026-11-16 13:54:50 +00:00

why is this needed?

why is this needed?
maflcko (Migrated from github.com) commented 2026-11-16 13:57:35 +00:00

I guess this was always wrong. Could drop the -m and use free --human while touching this?

I guess this was always wrong. Could drop the `-m` and use `free --human` while touching this?
winterrdog (Migrated from github.com) reviewed 2026-11-16 15:01:25 +00:00
winterrdog (Migrated from github.com) left a comment

concept ACK

concept ACK
maflcko (Migrated from github.com) reviewed 2026-11-16 15:30:25 +00:00
maflcko (Migrated from github.com) commented 2026-11-16 15:30:25 +00:00

That seems a bit hacky? And given that it triggers a "bug" in fontconfig, I always wondered if an empty string as the shell should be supported even?

Why not SHELL_OPTS="" for non-Alpine?

That seems a bit hacky? And given that it triggers a "bug" in fontconfig, I always wondered if an empty string as the shell should be supported even? Why not `SHELL_OPTS=""` for non-Alpine?
maflcko (Migrated from github.com) reviewed 2026-11-16 15:30:49 +00:00
maflcko (Migrated from github.com) left a comment

lgtm. I haven't reviewed this, but it appears fine

lgtm. I haven't reviewed this, but it appears fine
hebasto (Migrated from github.com) reviewed 2026-11-16 17:07:10 +00:00
hebasto (Migrated from github.com) commented 2026-11-16 17:07:10 +00:00
FWIW, https://github.com/hebasto/bitcoin-core-nightly/blob/main/.github/workflows/freebsd.yml does not use such a hack.
hebasto commented 2026-11-16 17:14:26 +00:00 (Migrated from github.com)

See also #36587, where we are trying to test NetBSD via the macOS CI.

In my experience, NetBSD’s infrastructure is the least reliable of the three, compared with FreeBSD’s and OpenBSD’s. A significant share of NetBSD nightly jobs fail because of package installation failures.

> See also [#36587](https://github.com/bitcoin/bitcoin/pull/36587), where we are trying to test NetBSD via the macOS CI. In my experience, NetBSD’s infrastructure is the least reliable of the three, compared with FreeBSD’s and OpenBSD’s. A significant share of NetBSD nightly jobs fail because of package installation failures.
hebasto (Migrated from github.com) reviewed 2026-11-16 17:56:25 +00:00
hebasto (Migrated from github.com) commented 2026-11-16 17:56:26 +00:00

I wonder how much time this caching saves us.

I wonder how much time this caching saves us.
hebasto (Migrated from github.com) reviewed 2026-11-16 18:00:28 +00:00
hebasto (Migrated from github.com) commented 2026-11-16 18:00:28 +00:00

Is there any CI job where gmake doesn't work?

Is there any CI job where `gmake` doesn't work?
hebasto (Migrated from github.com) reviewed 2026-11-16 18:08:11 +00:00
hebasto (Migrated from github.com) commented 2026-11-16 18:08:12 +00:00

Specifically for FreeBSD, we might want to be explicit about the filesystem being used (UFS vs ZFS), because the availability of posix_fallocate() depends on it.

Related: https://github.com/bitcoin/bitcoin/issues/33128.

Specifically for FreeBSD, we might want to be [explicit](https://github.com/vmactions/freebsd-vm/releases/tag/v1.6.0) about the filesystem being used (UFS vs ZFS), because the availability of `posix_fallocate()` depends on it. Related: https://github.com/bitcoin/bitcoin/issues/33128.
willcl-ark (Migrated from github.com) reviewed 2026-11-17 09:01:53 +00:00
willcl-ark (Migrated from github.com) commented 2026-11-17 09:01:53 +00:00

I think sticking with UFS is the better choice here, would you agree?

This means BSD_RELEASE just stays as 15.1; would you like a code comment next to it?

I think sticking with UFS is the better choice here, would you agree? This means BSD_RELEASE just stays as `15.1`; would you like a code comment next to it?
hebasto (Migrated from github.com) reviewed 2026-11-17 09:23:38 +00:00
hebasto (Migrated from github.com) commented 2026-11-17 09:23:38 +00:00

I think sticking with UFS is the better choice here, would you agree?

This means BSD_RELEASE just stays as 15.1; would you like a code comment next to it?

If we are going to add a single new job, I’d prefer that it increase our test coverage. A job using 15.1-zfs would be the only one that covers code paths where the HAVE_POSIX_FALLOCATE macro is undefined. Of course, this means that the feature_reindex_init.py functional test would have to be temporarily disabled until https://github.com/bitcoin/bitcoin/issues/33128 is fixed.

> I think sticking with UFS is the better choice here, would you agree? > > This means BSD_RELEASE just stays as `15.1`; would you like a code comment next to it? If we are going to add a single new job, I’d prefer that it increase our test coverage. A job using 15.1-zfs would be the only one that covers code paths where the `HAVE_POSIX_FALLOCATE` macro is undefined. Of course, this means that the `feature_reindex_init.py` functional test would have to be temporarily disabled until https://github.com/bitcoin/bitcoin/issues/33128 is fixed.
fanquake (Migrated from github.com) reviewed 2026-11-17 09:56:43 +00:00
fanquake (Migrated from github.com) commented 2026-11-17 09:56:43 +00:00

I’d prefer that it increase our test coverage

Why is increasing test coverage here, dependant on filesystem? We are increasing test coverage in any case?

> I’d prefer that it increase our test coverage Why is increasing test coverage here, dependant on filesystem? We are increasing test coverage in any case?
hebasto (Migrated from github.com) reviewed 2026-11-17 10:20:35 +00:00
hebasto (Migrated from github.com) commented 2026-11-17 10:20:35 +00:00

Why is increasing test coverage here, dependant on filesystem?

posix_fallocate() is disabled for ZFS on FreeBSD, so this job exercises a code path that none of the other CI jobs currently tests: github.com/bitcoin/bitcoin@e211dd0186/src/util/fs_helpers.cpp (L229-L241)

> Why is increasing test coverage here, dependant on filesystem? `posix_fallocate()` is [disabled](https://github.com/freebsd/freebsd-src/commit/96ed2690dfb300033e48384704da6ec45737abee) for ZFS on FreeBSD, so this job exercises a code path that none of the other CI jobs currently tests: https://github.com/bitcoin/bitcoin/blob/e211dd0186e9646167d063a16f0da88e5f72e05f/src/util/fs_helpers.cpp#L229-L241
fanquake (Migrated from github.com) reviewed 2026-11-17 10:22:25 +00:00
fanquake (Migrated from github.com) commented 2026-11-17 10:22:25 +00:00

Sure, but this is also increasing test coverage, by just running any FreeBSD tests.

Sure, but this is also increasing test coverage, by just running any FreeBSD tests.
hebasto (Migrated from github.com) reviewed 2026-11-17 10:23:41 +00:00
hebasto (Migrated from github.com) commented 2026-11-17 10:23:41 +00:00

I mean additional coverage.

I mean additional coverage.
hebasto commented 2026-11-17 10:27:30 +00:00 (Migrated from github.com)

Apparently, rsync is very flaky.

That was one of the reasons I dropped Ccache caching from the nightly builds.

Apparently, `rsync` is very flaky. That was one of the reasons I dropped Ccache caching from the [nightly builds](https://github.com/hebasto/bitcoin-core-nightly/blob/main/.github/workflows/freebsd.yml).
willcl-ark commented 2026-11-18 08:48:50 +00:00 (Migrated from github.com)

OK getting rid of the flaky "rsync the entire guest back to host" step has made this a lot more robust:

https://github.com/bitcoin/bitcoin/actions/runs/44088352617
https://github.com/bitcoin/bitcoin/actions/runs/44135481013

Those two runs also checked cache save/restore.

Will run some more tests.

OK getting rid of the flaky "rsync the entire guest back to host" step has made this a lot more robust: https://github.com/bitcoin/bitcoin/actions/runs/44088352617 https://github.com/bitcoin/bitcoin/actions/runs/44135481013 Those two runs also checked cache save/restore. Will run some more tests.
maflcko commented 2026-11-18 09:00:58 +00:00 (Migrated from github.com)

Pull description is outdated wrt excluded functional tests? Also the test fails in https://github.com/bitcoin/bitcoin/actions/runs/44270200782/job/134684598246?pr=36147#step:9:4241:

test failure
 test  2026-11-18T08:55:53.293689Z TestFramework.node0 (DEBUG): Node stopped 
 test  2026-11-18T08:55:53.293799Z TestFramework (INFO): ...measured 0.2s. 
 test  2026-11-18T08:55:53.293842Z TestFramework (INFO): Verifying inability to connect to bitcoind's RPC interface due to wrong port results in one exception containing at least one OSError. 
 test  2026-11-18T08:55:55.028030Z TestFramework (ERROR): Unexpected exception: 
                                   Traceback (most recent call last):
                                     File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 146, in main
                                       self.run_test()
                                     File "/home/runner/work/bitcoin/build_ ₿🧪_/test/functional/feature_framework_startup_failures.py", line 94, in run_test
                                       self._verify_startup_failure(
                                     File "/home/runner/work/bitcoin/build_ ₿🧪_/test/functional/feature_framework_startup_failures.py", line 66, in _verify_startup_failure
                                       assert not errors, (f"Child test did NOT contain (only) expected errors:\n{linesep.join(errors)}\n" +
                                              ^^^^^^^^^^
                                   AssertionError: Child test did NOT contain (only) expected errors:
                                   Found 0/1 occurrences of the specific exception: AssertionError: \[node 0\] Unable to connect to bitcoind after \d+s \(ignored errors: {[^}]*'OSError \w+'?: \d+[^}]*}, latest: '[\w ]+'/\w+\([^)]+\)\)
                                   <TestWrongRpcPortStartupFailure OUTPUT BEGIN>
 test  2026-11-18T08:55:53.416786Z TestFramework (INFO): PRNG seed is: 4883552441926974308 
 test  2026-11-18T08:55:53.467432Z TestFramework (INFO): Initializing test directory /home/runner/work/bitcoin/scratch_ ₿🧪_/test_runner/test_runner_₿_🏃_20261118_085159/feature_framework_startup_failures_6/86d994c9 
 test  2026-11-18T08:55:54.949908Z TestFramework (ERROR): Unexpected exception: 
                                   Traceback (most recent call last):
                                     File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 142, in main
                                       self.setup()
                                     File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 277, in setup
                                       self.setup_network()
                                     File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 364, in setup_network
                                       self.setup_nodes()
                                     File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 386, in setup_nodes
                                       self.start_nodes()
                                     File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 518, in start_nodes
                                       node.wait_for_rpc_connection(wait_for_full_init=wait_for_full_init)
                                     File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_node.py", line 379, in wait_for_rpc_connection
                                       rpc.getblockcount()
                                     File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/coverage.py", line 50, in __call__
                                       return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                     File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/authproxy.py", line 128, in __call__
                                       response, status = self._request('POST', self.__url.path, postdata.encode('utf-8'))
                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                     File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/authproxy.py", line 102, in _request
                                       return self._get_response()
                                              ^^^^^^^^^^^^^^^^^^^^
                                     File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/authproxy.py", line 165, in _get_response
                                       http_response = self.__conn.getresponse()
                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^
                                     File "/usr/local/lib/python3.12/http/client.py", line 1478, in getresponse
                                       response.begin()
                                     File "/usr/local/lib/python3.12/http/client.py", line 343, in begin
                                       version, status, reason = self._read_status()
                                                                 ^^^^^^^^^^^^^^^^^^^
                                     File "/usr/local/lib/python3.12/http/client.py", line 325, in _read_status
                                       raise BadStatusLine(line)
                                   http.client.BadStatusLine: POST / HTTP/1.1
 test  2026-11-18T08:55:55.006139Z TestFramework (INFO): Not stopping nodes as test failed. The dangling processes will be cleaned up later. 
 test  2026-11-18T08:55:55.006281Z TestFramework (WARNING): Not cleaning up dir /home/runner/work/bitcoin/scratch_ ₿🧪_/test_runner/test_runner_₿_🏃_20261118_085159/feature_framework_startup_failures_6/86d994c9 
 test  2026-11-18T08:55:55.006337Z TestFramework (ERROR): Test failed. Test logging available at /home/runner/work/bitcoin/scratch_ ₿🧪_/test_runner/test_runner_₿_🏃_20261118_085159/feature_framework_startup_failures_6/86d994c9/test_framework.log 
 test  2026-11-18T08:55:55.006451Z TestFramework (ERROR): 
 test  2026-11-18T08:55:55.006539Z TestFramework (ERROR): Hint: Call /home/runner/work/bitcoin/bitcoin/test/functional/combine_logs.py '/home/runner/work/bitcoin/scratch_ ₿🧪_/test_runner/test_runner_₿_🏃_20261118_085159/feature_framework_startup_failures_6/86d994c9' to consolidate all logs 
 test  2026-11-18T08:55:55.006572Z TestFramework (ERROR): 
 test  2026-11-18T08:55:55.006600Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log. 
 test  2026-11-18T08:55:55.006658Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/issues 
 test  2026-11-18T08:55:55.006692Z TestFramework (ERROR):  
                                   [node 0] Cleaning up leftover process
                                   <TestWrongRpcPortStartupFailure OUTPUT END>
 test  2026-11-18T08:55:55.029093Z TestFramework (DEBUG): Closing down network thread 
 test  2026-11-18T08:55:55.079919Z TestFramework (INFO): Not stopping nodes as test failed. The dangling processes will be cleaned up later. 
 test  2026-11-18T08:55:55.080071Z TestFramework (WARNING): Not cleaning up dir /home/runner/work/bitcoin/scratch_ ₿🧪_/test_runner/test_runner_₿_🏃_20261118_085159/feature_framework_startup_failures_6 
 test  2026-11-18T08:55:55.080157Z TestFramework (ERROR): Test failed. Test logging available at /home/runner/work/bitcoin/scratch_ ₿🧪_/test_runner/test_runner_₿_🏃_20261118_085159/feature_framework_startup_failures_6/test_framework.log 
 test  2026-11-18T08:55:55.080280Z TestFramework (ERROR): 
 test  2026-11-18T08:55:55.080392Z TestFramework (ERROR): Hint: Call /home/runner/work/bitcoin/bitcoin/test/functional/combine_logs.py '/home/runner/work/bitcoin/scratch_ ₿🧪_/test_runner/test_runner_₿_🏃_20261118_085159/feature_framework_startup_failures_6' to consolidate all logs 
 test  2026-11-18T08:55:55.080432Z TestFramework (ERROR): 
 test  2026-11-18T08:55:55.080460Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log. 
 test  2026-11-18T08:55:55.080516Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/issues 
 test  2026-11-18T08:55:55.080541Z TestFramework (ERROR): 


Pull description is outdated wrt excluded functional tests? Also the test fails in https://github.com/bitcoin/bitcoin/actions/runs/44270200782/job/134684598246?pr=36147#step:9:4241: <details><summary>test failure</summary> ``` test 2026-11-18T08:55:53.293689Z TestFramework.node0 (DEBUG): Node stopped test 2026-11-18T08:55:53.293799Z TestFramework (INFO): ...measured 0.2s. test 2026-11-18T08:55:53.293842Z TestFramework (INFO): Verifying inability to connect to bitcoind's RPC interface due to wrong port results in one exception containing at least one OSError. test 2026-11-18T08:55:55.028030Z TestFramework (ERROR): Unexpected exception: Traceback (most recent call last): File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 146, in main self.run_test() File "/home/runner/work/bitcoin/build_ ₿🧪_/test/functional/feature_framework_startup_failures.py", line 94, in run_test self._verify_startup_failure( File "/home/runner/work/bitcoin/build_ ₿🧪_/test/functional/feature_framework_startup_failures.py", line 66, in _verify_startup_failure assert not errors, (f"Child test did NOT contain (only) expected errors:\n{linesep.join(errors)}\n" + ^^^^^^^^^^ AssertionError: Child test did NOT contain (only) expected errors: Found 0/1 occurrences of the specific exception: AssertionError: \[node 0\] Unable to connect to bitcoind after \d+s \(ignored errors: {[^}]*'OSError \w+'?: \d+[^}]*}, latest: '[\w ]+'/\w+\([^)]+\)\) <TestWrongRpcPortStartupFailure OUTPUT BEGIN> test 2026-11-18T08:55:53.416786Z TestFramework (INFO): PRNG seed is: 4883552441926974308 test 2026-11-18T08:55:53.467432Z TestFramework (INFO): Initializing test directory /home/runner/work/bitcoin/scratch_ ₿🧪_/test_runner/test_runner_₿_🏃_20261118_085159/feature_framework_startup_failures_6/86d994c9 test 2026-11-18T08:55:54.949908Z TestFramework (ERROR): Unexpected exception: Traceback (most recent call last): File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 142, in main self.setup() File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 277, in setup self.setup_network() File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 364, in setup_network self.setup_nodes() File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 386, in setup_nodes self.start_nodes() File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_framework.py", line 518, in start_nodes node.wait_for_rpc_connection(wait_for_full_init=wait_for_full_init) File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/test_node.py", line 379, in wait_for_rpc_connection rpc.getblockcount() File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/coverage.py", line 50, in __call__ return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/authproxy.py", line 128, in __call__ response, status = self._request('POST', self.__url.path, postdata.encode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/authproxy.py", line 102, in _request return self._get_response() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/bitcoin/bitcoin/test/functional/test_framework/authproxy.py", line 165, in _get_response http_response = self.__conn.getresponse() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/http/client.py", line 1478, in getresponse response.begin() File "/usr/local/lib/python3.12/http/client.py", line 343, in begin version, status, reason = self._read_status() ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/http/client.py", line 325, in _read_status raise BadStatusLine(line) http.client.BadStatusLine: POST / HTTP/1.1 test 2026-11-18T08:55:55.006139Z TestFramework (INFO): Not stopping nodes as test failed. The dangling processes will be cleaned up later. test 2026-11-18T08:55:55.006281Z TestFramework (WARNING): Not cleaning up dir /home/runner/work/bitcoin/scratch_ ₿🧪_/test_runner/test_runner_₿_🏃_20261118_085159/feature_framework_startup_failures_6/86d994c9 test 2026-11-18T08:55:55.006337Z TestFramework (ERROR): Test failed. Test logging available at /home/runner/work/bitcoin/scratch_ ₿🧪_/test_runner/test_runner_₿_🏃_20261118_085159/feature_framework_startup_failures_6/86d994c9/test_framework.log test 2026-11-18T08:55:55.006451Z TestFramework (ERROR): test 2026-11-18T08:55:55.006539Z TestFramework (ERROR): Hint: Call /home/runner/work/bitcoin/bitcoin/test/functional/combine_logs.py '/home/runner/work/bitcoin/scratch_ ₿🧪_/test_runner/test_runner_₿_🏃_20261118_085159/feature_framework_startup_failures_6/86d994c9' to consolidate all logs test 2026-11-18T08:55:55.006572Z TestFramework (ERROR): test 2026-11-18T08:55:55.006600Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log. test 2026-11-18T08:55:55.006658Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/issues test 2026-11-18T08:55:55.006692Z TestFramework (ERROR): [node 0] Cleaning up leftover process <TestWrongRpcPortStartupFailure OUTPUT END> test 2026-11-18T08:55:55.029093Z TestFramework (DEBUG): Closing down network thread test 2026-11-18T08:55:55.079919Z TestFramework (INFO): Not stopping nodes as test failed. The dangling processes will be cleaned up later. test 2026-11-18T08:55:55.080071Z TestFramework (WARNING): Not cleaning up dir /home/runner/work/bitcoin/scratch_ ₿🧪_/test_runner/test_runner_₿_🏃_20261118_085159/feature_framework_startup_failures_6 test 2026-11-18T08:55:55.080157Z TestFramework (ERROR): Test failed. Test logging available at /home/runner/work/bitcoin/scratch_ ₿🧪_/test_runner/test_runner_₿_🏃_20261118_085159/feature_framework_startup_failures_6/test_framework.log test 2026-11-18T08:55:55.080280Z TestFramework (ERROR): test 2026-11-18T08:55:55.080392Z TestFramework (ERROR): Hint: Call /home/runner/work/bitcoin/bitcoin/test/functional/combine_logs.py '/home/runner/work/bitcoin/scratch_ ₿🧪_/test_runner/test_runner_₿_🏃_20261118_085159/feature_framework_startup_failures_6' to consolidate all logs test 2026-11-18T08:55:55.080432Z TestFramework (ERROR): test 2026-11-18T08:55:55.080460Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log. test 2026-11-18T08:55:55.080516Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/issues test 2026-11-18T08:55:55.080541Z TestFramework (ERROR): ``` </details>
willcl-ark commented 2026-11-18 12:51:56 +00:00 (Migrated from github.com)

Pull description is outdated wrt excluded functional tests? Also the test fails in bitcoin/bitcoin/actions/runs/44270200782/job/134684598246?pr=36147#step:9:4241:
test failure

Right, I think this is because BSD has a different ephemeral port range by default vs linux and one clashed. Will try a small fix.

> Pull description is outdated wrt excluded functional tests? Also the test fails in [bitcoin/bitcoin/actions/runs/44270200782/job/134684598246?pr=36147#step:9:4241](https://github.com/bitcoin/bitcoin/actions/runs/44270200782/job/134684598246?pr=36147#step:9:4241): > test failure Right, I think this is because BSD has a different ephemeral port range by default vs linux and one clashed. Will try a small fix.
hebasto commented 2026-11-18 13:12:30 +00:00 (Migrated from github.com)

Pull description is outdated wrt excluded functional tests? Also the test fails in bitcoin/bitcoin/actions/runs/44270200782/job/134684598246?pr=36147#step:9:4241:
test failure

Right, I think this is because BSD has a different ephemeral port range by default vs linux and one clashed. Will try a small fix.

Doesn't set_ephemeral_port_range() do its work?

> > Pull description is outdated wrt excluded functional tests? Also the test fails in [bitcoin/bitcoin/actions/runs/44270200782/job/134684598246?pr=36147#step:9:4241](https://github.com/bitcoin/bitcoin/actions/runs/44270200782/job/134684598246?pr=36147#step:9:4241): > > test failure > > Right, I think this is because BSD has a different ephemeral port range by default vs linux and one clashed. Will try a small fix. Doesn't [`set_ephemeral_port_range()`](https://github.com/bitcoin/bitcoin/blob/6832a273e22796a02f76b04b10ce8bd26f7bebfe/test/functional/test_framework/netutil.py#L238-L255) do its work?
willcl-ark commented 2026-11-18 14:20:32 +00:00 (Migrated from github.com)

Pull description is outdated wrt excluded functional tests? Also the test fails in bitcoin/bitcoin/actions/runs/44270200782/job/134684598246?pr=36147#step:9:4241:
test failure

Right, I think this is because BSD has a different ephemeral port range by default vs linux and one clashed. Will try a small fix.

Doesn't set_ephemeral_port_range() do its work?

I don't know, but this looked like it was connecting to something else to me: https://github.com/bitcoin/bitcoin/actions/runs/44270200782/job/134684598246?pr=36147#step:9:4243

> > > Pull description is outdated wrt excluded functional tests? Also the test fails in [bitcoin/bitcoin/actions/runs/44270200782/job/134684598246?pr=36147#step:9:4241](https://github.com/bitcoin/bitcoin/actions/runs/44270200782/job/134684598246?pr=36147#step:9:4241): > > > test failure > > > > > > Right, I think this is because BSD has a different ephemeral port range by default vs linux and one clashed. Will try a small fix. > > Doesn't [`set_ephemeral_port_range()`](https://github.com/bitcoin/bitcoin/blob/6832a273e22796a02f76b04b10ce8bd26f7bebfe/test/functional/test_framework/netutil.py#L238-L255) do its work? I don't know, but this looked like it was connecting to something else to me: https://github.com/bitcoin/bitcoin/actions/runs/44270200782/job/134684598246?pr=36147#step:9:4243
hebasto commented 2026-11-19 12:36:00 +00:00 (Migrated from github.com)

I'm concerned about the sizes of the caches created by vmactions/freebsd-vm.

The first cache, which "caches apt packages on the host and VM images/artifacts", is about 1.0 GB.

The second one, cache-after-prepare, takes 1.6 GB.

In my year of experience with this action, I really can't see the need for either of them. Starting a FreeBSD VM with a non-trivial prepare input usually takes under 2 minutes.

I'm concerned about the sizes of the caches created by `vmactions/freebsd-vm`. The [first cache](https://github.com/vmactions/freebsd-vm#9-disable-cache), which "caches `apt` packages on the host and VM images/artifacts", is about 1.0 GB. The second one, [`cache-after-prepare`](https://github.com/vmactions/freebsd-vm#10-cache-the-vm-image-after-prepare), takes 1.6 GB. In my year of experience with this action, I really can't see the need for either of them. Starting a FreeBSD VM with a non-trivial `prepare` input usually takes under 2 minutes.
hebasto (Migrated from github.com) reviewed 2026-11-19 12:41:41 +00:00
hebasto (Migrated from github.com) left a comment

Approach ACK 606f39f3b8.

Approach ACK 606f39f3b8039972ebd1d2dc01e86395b32bca40.
hebasto (Migrated from github.com) reviewed 2026-11-19 15:29:34 +00:00
hebasto (Migrated from github.com) left a comment

Checked Ccache in my personal repo. The second run on the same commit looks nice:

Cache directory:       /home/runner/work/bitcoin/bitcoin/ci/scratch/ccache
Config file:           /home/runner/work/bitcoin/bitcoin/ci/scratch/ccache/ccache.conf
Directory config file:
System config file:    /usr/local/etc/ccache.conf
Stats updated:         Thu Nov 19 13:25:30 2026
Cacheable calls:        912 / 912 (100.0%)
  Hits:                 912 / 912 (100.0%)
    Direct:             656 / 912 (71.93%)
    Preprocessed:       256 / 912 (28.07%)
  Misses:                 0 / 912 ( 0.00%)
Successful lookups:
  Direct:               656 / 912 (71.93%)
  Preprocessed:         256 / 256 (100.0%)
Local storage:
  Cache size (GB):      0.5 / 2.0 (23.75%)
  Files:               1613
  Hits:                 912 / 912 (100.0%)
  Misses:                 0 / 912 ( 0.00%)
  Reads:               1824
  Writes:                 0
Checked Ccache in my personal repo. The second run on the same commit looks nice: ``` Cache directory: /home/runner/work/bitcoin/bitcoin/ci/scratch/ccache Config file: /home/runner/work/bitcoin/bitcoin/ci/scratch/ccache/ccache.conf Directory config file: System config file: /usr/local/etc/ccache.conf Stats updated: Thu Nov 19 13:25:30 2026 Cacheable calls: 912 / 912 (100.0%) Hits: 912 / 912 (100.0%) Direct: 656 / 912 (71.93%) Preprocessed: 256 / 912 (28.07%) Misses: 0 / 912 ( 0.00%) Successful lookups: Direct: 656 / 912 (71.93%) Preprocessed: 256 / 256 (100.0%) Local storage: Cache size (GB): 0.5 / 2.0 (23.75%) Files: 1613 Hits: 912 / 912 (100.0%) Misses: 0 / 912 ( 0.00%) Reads: 1824 Writes: 0 ```
willcl-ark commented 2026-11-19 15:44:52 +00:00 (Migrated from github.com)

I will drop the vm caches here.

I think I will also (optimistically) rebase this on top of #36916 which I think addresses the port collisions correctly (and certainly a lot more cleanly than the previous hack in this PR).

I will drop the vm caches here. I think I will also (optimistically) rebase this on top of #36916 which I think addresses the port collisions correctly (and certainly a lot more cleanly than the previous hack in this PR).
hebasto commented 2026-11-19 15:57:47 +00:00 (Migrated from github.com)

In my year of experience with this action, I really can't see the need for either of them. Starting a FreeBSD VM with a non-trivial prepare input usually takes under 2 minutes.

I will drop the vm caches here.

For this job it takes 7..8 minutes. It seems acceptable for me.

> In my year of experience with this action, I really can't see the need for either of them. Starting a FreeBSD VM with a non-trivial `prepare` input usually takes under 2 minutes. > I will drop the vm caches here. For this job it takes 7..8 minutes. It seems acceptable for me.
willcl-ark commented 2026-11-19 16:45:54 +00:00 (Migrated from github.com)

going to leave this in draft to focus on #36916 first

going to leave this in draft to focus on #36916 first
hebasto commented 2026-11-27 16:50:13 +00:00 (Migrated from github.com)

going to leave this in draft to focus on #36916 first

Maybe undraft?

> going to leave this in draft to focus on [#36916](https://github.com/bitcoin/bitcoin/pull/36916) first Maybe undraft?
willcl-ark commented 2026-12-02 10:23:14 +00:00 (Migrated from github.com)

Undrafted.

The one failing run previously seems to have just timed out (or errored) on pkg install. Could be a server error or something else. I considered adding a retry here, but according to the manpage pkg install already retries 3 times.

I did make a small tweak to the python packages though, selecting them by python version. This might be error-prone (and we might therefore want to revert), but it does avoid downloading these packages for multiple python versions; apparently these packages cover 6 or 7 python versions each?

Undrafted. The one failing run previously seems to have just timed out (or errored) on `pkg install`. Could be a server error or something else. I considered adding a retry here, but according to the manpage `pkg install` already retries 3 times. I did make a small tweak to the python packages though, selecting them by python version. This might be error-prone (and we might therefore want to revert), but it does avoid downloading these packages for multiple python versions; apparently these packages cover 6 or 7 python versions each?
vasild commented 2026-12-02 14:16:18 +00:00 (Migrated from github.com)

it does avoid downloading these packages for multiple python versions

When would that happen? Do I understand correctly that sometimes it would download py312-sqlite3 and in another occasion e.g. py314-sqlite3?

> it does avoid downloading these packages for multiple python versions When would that happen? Do I understand correctly that sometimes it would download `py312-sqlite3` and in another occasion e.g. `py314-sqlite3`?
willcl-ark commented 2026-12-02 15:19:59 +00:00 (Migrated from github.com)

it does avoid downloading these packages for multiple python versions

When would that happen? Do I understand correctly that sometimes it would download py312-sqlite3 and in another occasion e.g. py314-sqlite3?

Ah not quite (but also not quite how I originally understood it, too):

See for example github.com/freebsd/freebsd-ports@3c9affb17b/databases/py-sqlite3/Makefile (L20) which specifies USE_PYTHON= allflavors autoplist pep517 (feeding into this).

So databases/py-sqlite3 requests all available flavours of Python’s sqlite3 module, which downloads multiple python interpreters AFAICT, e.g. in the failed run: 3.11, 3.12, 3.13, 3.13t, 3.14, 3.14t, and 3.15. link

The other python packages do not set this in their builds/do this. I moved all python packages to this type only for consistency.

> > it does avoid downloading these packages for multiple python versions > > When would that happen? Do I understand correctly that sometimes it would download `py312-sqlite3` and in another occasion e.g. `py314-sqlite3`? Ah not quite (but also not quite how I originally understood it, too): See for example https://github.com/freebsd/freebsd-ports/blob/3c9affb17b35421840c24a176ebe2c8883a67ffe/databases/py-sqlite3/Makefile#L20 which specifies `USE_PYTHON= allflavors autoplist pep517` (feeding into [this](https://github.com/freebsd/freebsd-ports/blob/3c9affb17b35421840c24a176ebe2c8883a67ffe/Mk/Uses/python.mk#L510-L546)). So `databases/py-sqlite3` requests all available flavours of Python’s sqlite3 module, which downloads **multiple python interpreters** AFAICT, e.g. in the failed run: 3.11, 3.12, 3.13, 3.13t, 3.14, 3.14t, and 3.15. [link](https://github.com/bitcoin/bitcoin/actions/runs/45992027144/job/140481966257?pr=36147#step:8:333) The other python packages do not set this in their builds/do this. I moved all python packages to this type only for consistency.
DrahtBot commented 2026-12-02 16:00:15 +00:00 (Migrated from github.com)

🚧 At least one of the CI tasks failed.
Task FreeBSD 24: https://github.com/bitcoin/bitcoin/actions/runs/46913037948/job/143573391103
LLM reason (✨ experimental): functional_test_fail: feature_torcontrol.py failed because its mock Tor service could not bind the control port: Address already in use.

Hints

Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:

  • Possibly due to a silent merge conflict (the changes in this pull request being
    incompatible with the current code in the target branch). If so, make sure to rebase on the latest
    commit of the target branch.

  • A sanitizer issue, which can only be found by compiling with the sanitizer and running the
    affected test.

  • Intermittent network issues can occur; re-run CI for now, and report the issue if they keep happening.

  • A functional or integration test failure may be intermittent or unrelated to this pull request.
    If no dedicated issue thread exists, create a new one to track it.

Leave a comment here, if you need help tracking down a confusing failure.

<!--85328a0da195eb286784d51f73fa0af9--> 🚧 At least one of the CI tasks failed. <sub>Task `FreeBSD 24`: https://github.com/bitcoin/bitcoin/actions/runs/46913037948/job/143573391103</sub> <sub>LLM reason (✨ experimental): functional_test_fail: `feature_torcontrol.py` failed because its mock Tor service could not bind the control port: `Address already in use`.</sub> <details><summary>Hints</summary> Try to run the tests locally, according to the documentation. However, a CI failure may still happen due to a number of reasons, for example: * Possibly due to a silent merge conflict (the changes in this pull request being incompatible with the current code in the target branch). If so, make sure to rebase on the latest commit of the target branch. * A sanitizer issue, which can only be found by compiling with the sanitizer and running the affected test. * Intermittent network issues can occur; re-run CI for now, and report the issue if they keep happening. * A functional or integration test failure may be intermittent or unrelated to this pull request. If no dedicated issue thread exists, create a new one to track it. Leave a comment here, if you need help tracking down a confusing failure. </details>
vasild commented 2026-12-02 16:03:45 +00:00 (Migrated from github.com)

Right, databases/py-sqlite3 pulls in all flavors which even if benign looks excessive. Can use databases/py-sqlite3@py314 instead and define py314 in a separate variable and suffix all python packages with it, so that when it has to be changed, it's only in one place.

Maybe omit lang/python3 because its proper version will be pulled by the other py packages, e.g. by databases/py-sqlite3@py314 or py314-sqlite3.

Right, `databases/py-sqlite3` pulls in all flavors which even if benign looks excessive. Can use `databases/py-sqlite3@py314` instead and define `py314` in a separate variable and suffix all python packages with it, so that when it has to be changed, it's only in one place. Maybe omit `lang/python3` because its proper version will be pulled by the other py packages, e.g. by `databases/py-sqlite3@py314` or `py314-sqlite3`.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36147
No description provided.