Project

General

Profile

Actions

action #166589

open

[MinimalVM][containers] Add containers test run to JeOS RISC-V Tumbleweed test runs

Added by ph03nix 2 months ago. Updated 7 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
-
Start date:
2024-09-10
Due date:
% Done:

80%

Estimated time:

Description

We have already RISC-V test runs for JeOS Tumbleweed. There is ltp-containers but the actual container test runs don't exist yet and should be scheduled.


Related issues 1 (1 open0 closed)

Related to Containers and images - action #164880: [containers] Test docker inside dockerIn Progressph03nix2024-08-02

Actions
Actions #2

Updated by ph03nix 2 months ago

I will continue on this next week when I have my RISC-V development board back online.

Actions #3

Updated by ph03nix about 2 months ago

Making some progress in https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/20223 but it only goes slow.

Actions #4

Updated by ph03nix about 2 months ago

New VR session started: https://openqa.opensuse.org/tests/4504528

ooo-clone-custom-git-refspec riscv https://openqa.opensuse.org/tests/4504138 _GROUP=0 BUILD=nobuild INSTALL_LTP= CONTAINER_RUNTIMES=podman LTP_COMMAND_EXCLUDE= LTP_COMMAND_FILE= LTP_TIMEOUT= TEST=jeos-container_host
Actions #5

Updated by ph03nix about 2 months ago

making some progress again.

Actions #9

Updated by ph03nix about 1 month ago ยท Edited

I'm working on re-adding https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/20381 but https://openqa.opensuse.org/tests/4551334#step/docker_privileged_mode/102 doesn't make sense to me:

Test died: command 'docker exec -it outer-container podman run -it registry.opensuse.org/opensuse/tumbleweed:latest ls' failed at /usr/lib/os-autoinst/testapi.pm line 932.

I can reproduce it on TW:

tumbleweed:~ # docker run -d --privileged --name outer-container registry.opensuse.org/opensuse/tumbleweed:latest sleep infinity
ba49dfd9ffe20bd0aabf6cbfe4a8bd8cd0168a207a6220b4980f6a3373019c4c
tumbleweed:~ # docker exec outer-container zypper in -y podman
tumbleweed:~ # docker exec -it outer-container podman run -it registry.opensuse.org/opensuse/tumbleweed:latest ls
WARN[0003] Failed to add conmon to cgroupfs sandbox cgroup: creating cgroup path /libpod_parent/conmon: write /sys/fs/cgroup/cgroup.subtree_control: device or resource busy 
Error: OCI runtime error: crun: the requested cgroup controller `pids` is not available
tumbleweed:~ # echo $?
126

https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/5b0d9e80adbbdf55ede60104f434e992fa59f67b/tests/containers/privileged_mode.pm#L69 - This makes to me not yet much sense.

Actions #10

Updated by ph03nix about 1 month ago

  • Tags set to containers
Actions #11

Updated by ph03nix about 1 month ago

Drafting https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/20448, this is still WIP and I need to run a bunch of VRs

Actions #12

Updated by ph03nix 23 days ago

  • Subject changed from Add containers test run to JeOS RISC-V Tumbleweed test runs to [MinimalVM][containers] Add containers test run to JeOS RISC-V Tumbleweed test runs
Actions #13

Updated by ph03nix 23 days ago

  • Related to action #164880: [containers] Test docker inside docker added
Actions #14

Updated by ph03nix 16 days ago

Continue to work on https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/20448.

New VR triggered by:

ooo-clone-custom-git-refspec riscv https://openqa.opensuse.org/tests/4618920 _GROUP=0 BUILD=nobuild INSTALL_LTP= CONTAINER_RUNTIMES=podman LTP_COMMAND_EXCLUDE= LTP_COMMAND_FILE= LTP_TIMEOUT= TEST=jeos-container_host

https://openqa.opensuse.org/tests/4620645#

Actions #16

Updated by ph03nix 9 days ago

  • % Done changed from 0 to 80
Actions #17

Updated by ph03nix 9 days ago

Last step: Add the test run to the schedule: https://github.com/os-autoinst/opensuse-jobgroups/pull/528

Actions #18

Updated by ph03nix 7 days ago

https://github.com/os-autoinst/opensuse-jobgroups/pull/528 is done, I still need to enable docker though.

Actions

Also available in: Atom PDF