action #110908
closedcoordination #103323: [epic] BCI testing
Extend coverage for Rust container
0%
Description
There are some existing tests in BCI-tests which are testing some of the common crates from https://crates.io using Cargo (Rust package manager).
The test suite could be extended with more application based testing, similar to what we do in python tests with Tensorflow.
Acceptance criteria:¶
- Investigate some Rust application or some upstream test suite that can be covered by the tests.
- Integrate it in BCI-tests.
Updated by jlausuch over 2 years ago
- Subject changed from Add some basic/smoke tests for Rust container to Extend coverage for Rust container
- Status changed from Workable to Blocked
Dan already created some tests for Rust: https://github.com/SUSE/BCI-tests/blob/add-rust-tests/tests/test_rust.py
However, they are not yet in master, because the containers are broken: https://bugzilla.suse.com/show_bug.cgi?id=1196496
So, blocking this ticket and will monitor the bsc ticket to re-open this.
Updated by jlausuch over 2 years ago
- Blocked by action #113791: Enable Rust BCI image in the container-release-bot added
Updated by ph03nix over 2 years ago
I think this ticket can be closed. Looking at https://github.com/SUSE/BCI-tests/blob/main/tests/test_rust.py it appears to me, that the rust test is already doing some rather intensive testing.
Updated by jlausuch over 2 years ago
- Description updated (diff)
- Status changed from Blocked to Workable
ph03nix wrote:
I think this ticket can be closed. Looking at https://github.com/SUSE/BCI-tests/blob/main/tests/test_rust.py it appears to me, that the rust test is already doing some rather intensive testing.
It is not blocked for sure, but I think coverage can be improved by trying to build/run some rust based application, similar to what we do in Tensorflow for python... I have updated the description.
Updated by jlausuch about 2 years ago
Needs investigation if we can reuse some upstream test suite that we can re-use. Otherwise, we can close this ticket.
Updated by ph03nix about 2 years ago
- Status changed from Workable to Resolved
The rust tests already fulfil the desired requirements. We pull and build multiple external rust containers and run tests on them, e.g.
- https://github.com/rust-random/rand
- https://github.com/dtolnay/syn
- https://github.com/dtolnay/quote
- https://github.com/alexcrichton/cfg-if
- https://github.com/dtolnay/proc-macro2
- https://github.com/unicode-rs/unicode-xid
...