Project

General

Profile

Actions

action #49184

closed

[jeos][rpi] switch to native openqa xz images handling

Added by thehejik almost 6 years ago. Updated 3 months ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
Start date:
2019-03-13
Due date:
% Done:

100%

Estimated time:

Description

I implemented prepare_rpi_image test for conversion the original raw.xz image to qcow2 image compatible with qemu within the testsuite.

But there is a native qemu backend implementation for handling this kind of images https://github.com/os-autoinst/os-autoinst/pull/1055/files

So the plan is to switch to this native xz handling.

It would need few modifications in testsuites but basically it works out of box on my local machine (in aarch64 emu).

Actions #1

Updated by thehejik almost 6 years ago

  • Subject changed from [jeos][rpi[ switch to native openqa xz images handling to [jeos][rpi] switch to native openqa xz images handling
  • Status changed from New to In Progress
Actions #2

Updated by thehejik almost 6 years ago

There is a problem with root_fs_size test as the original raw image has been generated without specified size for rootfs, currently the rootfs on the image has 1.7GB and overlay backup qcow2 image which is set to 24G doesn't make the used HDD_1 bigger for some unknown reason. I'm currently investigating what we can do with that.

Actions #3

Updated by thehejik almost 6 years ago

all the other jeos variants have size defined in kiwi - but not RPi - I think it is ok as the image is intended to be dumped on sd card with unknown size:

<size unit="G">24</size>

https://build.suse.de/package/view_file/SUSE:SLE-15-SP1:GA/kiwi-templates-SLES15-JeOS/JeOS.kiwi

Actions #4

Updated by thehejik almost 6 years ago

I was using wrong variable HDDSIZEGB=24 but it should be HDDSIZEGB_1=24 according to https://github.com/os-autoinst/os-autoinst/blob/master/OpenQA/Qemu/Proc.pm#L164

Actions #5

Updated by thehejik almost 6 years ago

  • Status changed from In Progress to Resolved
Actions #6

Updated by thehejik almost 6 years ago

PR for removing jeos/prepare_rpi_image.pm test https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7042

Actions #7

Updated by thehejik almost 6 years ago

  • % Done changed from 0 to 100
Actions #8

Updated by jlausuch almost 4 years ago

  • Project changed from openQA Tests (public) to 208
  • Category deleted (Enhancement to existing tests)
Actions #9

Updated by ph03nix 3 months ago

  • Tags set to MinimalVM
Actions #10

Updated by ph03nix 3 months ago

  • Project changed from 208 to Containers and images
Actions

Also available in: Atom PDF