Project

General

Profile

Actions

action #110908

closed

coordination #103323: [epic] BCI testing

Extend coverage for Rust container

Added by jlausuch over 2 years ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
2022-05-11
Due date:
% Done:

0%

Estimated time:

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.

Related issues 1 (0 open1 closed)

Blocked by Containers and images - action #113791: Enable Rust BCI image in the container-release-botResolvedjlausuch2022-07-19

Actions
Actions #1

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.

Actions #2

Updated by jlausuch over 2 years ago

  • Description updated (diff)
Actions #3

Updated by jlausuch over 2 years ago

  • Description updated (diff)
Actions #4

Updated by jlausuch over 2 years ago

  • Blocked by action #113791: Enable Rust BCI image in the container-release-bot added
Actions #5

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.

Actions #6

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.

Actions #7

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.

Actions #8

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.

...

Actions #9

Updated by ph03nix about 1 month ago

  • Tags set to containers
Actions

Also available in: Atom PDF