Skip to content

[CI] bitcoin cache download occasionally fails #6107

Open
@wileyj

Description

@wileyj

on occasion, the cache used to load the bitcoin binaries for tests will fail as if the cache does not exist.
manually checking though, the cache is indeed listed so it's unclear where the error is coming from.

hypothesis is that with more devs/prs running workflows which stores data in the cache, we're hitting the limit more frequently, and the bitcoin cache is being evicted when a test is trying to load it.

i think there are 2 options we can explore:

  1. change to use simple curl to download a bitcoin binary archive per test. i suspect this may add some time overall to the workflow, and it does add another moving part per test that may fail in unexpected ways.
  2. add more robust "does cache exist?" functions, and if the cache is not present, immediately try to recreate it (this may be challenging though, since it could lead to an infinite loop of creating the cache).
Image Image

cc @kantai @fdefelici

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Status: 🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions