Skip to content

Regressions in test suite with isa-l 2.31.1 in Fedora #31

Open
@musicinmybrain

Description

@musicinmybrain

Fedora’s isa-l package was just updated from 2.31.0 to 2.31.1 (upstream release); the new version is already in Rawhide, and is in updates-testing for Fedora 40 and 41 (plus EPEL8, EPEL9, and EPEL10).

This is causing rust-isal-rs to fail to build from source due to test regressions:

failures:
---- tests::deflate::level_zero::empty_data::read::flate2_zlib_compat_decompress stdout ----
thread 'tests::deflate::level_zero::empty_data::read::flate2_zlib_compat_decompress' panicked at src/lib.rs:696:5:
called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: DecompressionError(InvalidBlock) })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- tests::deflate::level_zero::empty_data::write::flate2_zlib_compat_decompress stdout ----
thread 'tests::deflate::level_zero::empty_data::write::flate2_zlib_compat_decompress' panicked at src/lib.rs:696:5:
called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: DecompressionError(InvalidBlock) })
---- tests::gzip::level_zero::empty_data::read::flate2_zlib_compat_decompress stdout ----
thread 'tests::gzip::level_zero::empty_data::read::flate2_zlib_compat_decompress' panicked at src/lib.rs:695:5:
called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: DecompressionError(InvalidWrapper) })
---- tests::gzip::level_zero::empty_data::write::flate2_zlib_compat_decompress stdout ----
thread 'tests::gzip::level_zero::empty_data::write::flate2_zlib_compat_decompress' panicked at src/lib.rs:695:5:
called `Result::unwrap()` on an `Err` value: Io(Custom { kind: Other, error: DecompressionError(InvalidWrapper) })
---- tests::zlib::level_zero::empty_data::flate2_zlib_compat_decompress_into stdout ----
thread 'tests::zlib::level_zero::empty_data::flate2_zlib_compat_decompress_into' panicked at src/lib.rs:697:5:
called `Result::unwrap()` on an `Err` value: DecompressionError(IncorrectChecksum)
failures:
    tests::deflate::level_zero::empty_data::read::flate2_zlib_compat_decompress
    tests::deflate::level_zero::empty_data::write::flate2_zlib_compat_decompress
    tests::gzip::level_zero::empty_data::read::flate2_zlib_compat_decompress
    tests::gzip::level_zero::empty_data::write::flate2_zlib_compat_decompress
    tests::zlib::level_zero::empty_data::flate2_zlib_compat_decompress_into
test result: FAILED. 427 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s

I haven’t tried very hard to debug these. I did try updating the vendored isa-l in a git checkout, but I wasn’t able to reproduce the problem I’m seeing with the system library.

Since I’m planning to retire rust-isal-rs and rust-isal-sys from Fedora Rawhide after the next python-cramjam release (that uses libcramjam 0.7.0, where features requiring isal-rs or blosc2-rs are no longer among the default features), I’m not putting a lot of further effort into this: I plan to skip the failing tests and move on. However, please do let me know if there’s anything I can do to help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions