Skip to content

Conversation

achow101
Copy link
Member

@achow101 achow101 commented Jul 1, 2024

Always run test jobs even if sim-builder fails as some sims should always build and we should run the tests for those.

Always run test jobs even if sim-builder fails as some sims should
always build and we should run the tests for those.
@achow101 achow101 force-pushed the ci-always-run-test branch from 445dbc9 to edab2af Compare August 29, 2024 16:03
@achow101 achow101 merged commit ef39080 into bitcoin-core:master Aug 30, 2024
165 of 255 checks passed
@Sjors
Copy link
Member

Sjors commented Jul 22, 2025

Can you explain what problem this was solving?

This leads to confusing error messages. E.g. in https://github.com/bitcoin-core/HWI/actions/runs/16439653752/job/46457782189 fails with "tail: cannot open 'test/.std' for reading: No such file or directory", which happens because earlier in the job it failed to download an artifact, because the builder job was cancelled.

I also suspect it interacts badly with cancel-in-progress which would explain why sometimes (?) jobs keep running after you push a new update to a branch, which I've never seen in the Bitcoin Core repo.

This was referenced Jul 22, 2025
@achow101
Copy link
Member Author

Can you explain what problem this was solving?

If one simulator failed to build, none of the tests would run, even if the simulator for that device did build. This was to let those tasks run so one simulator build failure did not cause CI to be useless.

@Sjors
Copy link
Member

Sjors commented Jul 22, 2025

Ah I see. Maybe the trick is to split into one group per device?

Sjors added a commit to Sjors/HWI that referenced this pull request Jul 22, 2025
This ensures the failure to build a simulator for one device doesn't abort running jobs for the others. They're still grouped by manufacturer.

Alternative to bitcoin-core#743.
@Sjors Sjors mentioned this pull request Jul 22, 2025
@Sjors
Copy link
Member

Sjors commented Jul 22, 2025

Taking a stab at this in #797.

Sjors added a commit to Sjors/HWI that referenced this pull request Jul 22, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 23, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 23, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 23, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 23, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 23, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 23, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 23, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 23, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 23, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 23, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 23, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 23, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 23, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 23, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 24, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 24, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 24, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 24, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 24, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 24, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Jul 24, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Aug 12, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sjors added a commit to Sjors/HWI that referenced this pull request Aug 30, 2025
This ensures the failure to build a simulator for one device
doesn't abort running jobs for the others. They're still grouped
by manufacturer.

Alternative to bitcoin-core#743.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants