Bug 1225644

Summary: [Build 20240527] openQA test fails in apptainer
Product: [openSUSE] openSUSE Tumbleweed Reporter: Guillaume GARDET <guillaume.gardet>
Component: ContainersAssignee: Ricardo Branco <rbranco>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: cgoll, pcervinka, rbranco
Version: Current   
Target Milestone: ---   
Hardware: aarch64   
OS: Other   
URL: https://openqa.opensuse.org/tests/4226345/modules/apptainer/steps/40
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---
Attachments: Main changes in snapshot 20240527
Screenshot from test

Description Guillaume GARDET 2024-05-30 08:25:00 UTC
## Observation

openQA test in scenario opensuse-Tumbleweed-DVD-aarch64-containers_hpc_apptainer@aarch64 fails in
[apptainer](https://openqa.opensuse.org/tests/4226345/modules/apptainer/steps/40)

The test fail on aarch64 only (x86_64 is green).
It started to fail in snapshot 20240527 (snapshot 20240524 was green)


## Test suite description
Maintainer: dheidler. Extra tests about CLI software in container module
2023-08-10/dimstar: added QEMURAM=2048 (boo#1212824)


## Reproducible

Fails since (at least) Build [20240527](https://openqa.opensuse.org/tests/4226345) (current job)


## Expected result

Last good: [20240524](https://openqa.opensuse.org/tests/4222290) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=aarch64&distri=opensuse&flavor=DVD&machine=aarch64&test=containers_hpc_apptainer&version=Tumbleweed)
Comment 1 Guillaume GARDET 2024-05-30 08:25:25 UTC
Created attachment 875215 [details]
Main changes in snapshot 20240527
Comment 2 Egbert Eich 2024-05-31 15:59:43 UTC
Created attachment 875252 [details]
Screenshot from test

This is a problem with the test suite. The screen shot shows the error message:
"While performing build: while creating squashfs: create command failed: exit status 1: Write failed because no space left on device".
Assigning back to reporter as he may know who would be able to address this.
Comment 3 Guillaume GARDET 2024-06-03 07:21:38 UTC
(In reply to Egbert Eich from comment #2)
> Created attachment 875252 [details]
> Screenshot from test
> 
> This is a problem with the test suite. The screen shot shows the error
> message:
> "While performing build: while creating squashfs: create command failed:
> exit status 1: Write failed because no space left on device".
> Assigning back to reporter as he may know who would be able to address this.

I do not think this is a problem with the test suite since the same test code used to work and was not updated recently https://github.com/os-autoinst/os-autoinst-distri-opensuse/commits/master/tests/containers/apptainer.pm
Comment 4 Ricardo Branco 2024-06-03 08:04:37 UTC
This PR fixes test issue:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/19444

While we're at it, here's the serial terminal log for the failed job:
https://openqa.opensuse.org/tests/4243199/logfile?filename=serial_terminal.txt

Why it downloads Leap on a Tumbleweed container?

The container definition at https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/data/containers/apptainer_container.def has:

MirrorURL: http://download.opensuse.org/distribution/openSUSE-stable/repo/oss/

I've never seen this repo. Is this correct?
Comment 5 Ricardo Branco 2024-06-03 09:45:55 UTC
PR merged. VR passed. Test issue fixed.