Skip to content

warm-up tests sometimes fail in CI-pipeline #480

Closed

Description

@aawsome

See e.g. https://github.com/rustic-rs/rustic_core/actions/runs/22284226371/job/64459654915?pr=479

The pipeline fails with:

failures:

---- test_warm_up_command_failure::case_1 stdout ----

thread 'test_warm_up_command_failure::case_1' (15316) panicked at crates/core/tests/warm_up.rs:637:5:
Error should indicate command failure: `rustic_core` experienced an error related to `running an external command`.

Message:
Error in spawning warm-up command `/tmp/.tmpgufMQc/test_warm_up_fail.sh '%id'`.


Some additional details ...

Context:
- id: 0000000000000000000000000000000000000000000000000000000000000000
- type: WarmUp

Caused by:
Text file busy (os error 26)


Backtrace:
disabled backtrace (set 'RUST_BACKTRACE="1"' environment variable to enable)

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    test_warm_up_command_failure::case_1

test result: FAILED. 23 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.10s

error: test failed, to rerun pass `-p rustic_core --test warm_up`

Note this doesn't always happen, seem to be some kind of race condition for parallel test runs..
I never experienced this when running the tests locally on my laptop..

The typical work-around is to just reran the failing pipeline job, however this is a bit annoying..

Activity

  1. added
    S-triageStatus: Waiting for a maintainer to triage this issue/PR
    on Feb 22, 2026
  2. aawsome commented on Feb 22, 2026

    @aawsome
    MemberAuthor

    @philipmw Do have an idea how to best fix this?

  3. changed the title [-]warm-up tests sometimes fail in pipeline[/-] [+]warm-up tests sometimes fail in CI-pipeline[/+] on Feb 22, 2026
  4. added a commit that references this issue on Feb 23, 2026
    31eda1e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-triageStatus: Waiting for a maintainer to triage this issue/PR

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions