Skip to content

Flaky Asset Test breaking CI sporadically: no_error_on_unknown_type_deferred_load_of_self_path #22135

@kfc35

Description

@kfc35

Bevy version and features

Main Branch, in bevy_asset

What went wrong

In bevy_asset, there is another flaky test that is sporadically breaking CI builds, specifically no_error_on_unknown_type_deferred_load_of_self_path. It seems possible there is another deadlock of some kind since it “runs out of loops."

test tests::no_error_on_unknown_type_deferred_load_of_self_path ... FAILED

failures:

---- tests::no_error_on_unknown_type_deferred_load_of_self_path stdout ----

thread 'tests::no_error_on_unknown_type_deferred_load_of_self_path' (24129) panicked at crates/bevy_asset/src/lib.rs:947:9:
Ran out of loops to return `Some` from `predicate`


failures:
    tests::no_error_on_unknown_type_deferred_load_of_self_path

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

error: test failed, to rerun pass `-p bevy_asset --lib`

thread 'main' (2799) panicked at tools/ci/src/ci.rs:62:13:
One or more CI commands failed:
test: Please fix failing tests in output above.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Example builds:
https://github.com/bevyengine/bevy/actions/runs/20246287836/job/58127085637
https://github.com/bevyengine/bevy/actions/runs/20223702618/job/58050465291

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AssetsLoad files from disk to use for things like images, models, and soundsC-BugAn unexpected or incorrect behaviorD-ComplexQuite challenging from either a design or technical perspective. Ask for help!S-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions