kairos icon indicating copy to clipboard operation
kairos copied to clipboard

[QA] Test new fedora-based osbuilder builds

Open Itxaka opened this issue 6 months ago • 13 comments

Card to track the new fedora-based osbuilder artifacts\

  • [x] iso-uki artifacts
  • [x] iso artifacts
  • [ ] arm artifacts @Itxaka
    • Its bwoken! Synchronous Exception at 0x00000002C5487DE0
    • Happens with older versions as well, not specific from this. May be the arm emulation unfortunately.
  • [ ] rpi3 artifacts
  • [ ] rpi4 artifacts @mauromorales
    • Works with latest fixed patch https://github.com/kairos-io/osbuilder/commit/89dec58dd97a7aa86640ed2c04e93f6ffa3eed50
  • [ ] nvidia jetson artifacts
  • [ ] raw disk images
    • [ ] GCE
    • [ ] AWS
    • [ ] Azure
    • [ ] EFI raw disk image (Autoinstall from recovery)
    • [ ] BIOS raw disk image (no Autoinstall)

Itxaka avatar Feb 08 '24 11:02 Itxaka

  • Iso artifacts seem to be good according to our tests on https://github.com/kairos-io/kairos/actions/runs/7828035143
  • Bundle test is failing because it needs changes to the test for the dependencies
  • arm artifacts are BUILD correctly but not tested
  • uki is failing yikes.

Itxaka avatar Feb 08 '24 11:02 Itxaka

test-uki its still failing, while locally seems to work: https://github.com/kairos-io/kairos/actions/runs/7829097334/job/21364715618?pr=2232

Itxaka avatar Feb 08 '24 14:02 Itxaka

got itt, its failing due to the uki output iso name change

Itxaka avatar Feb 08 '24 14:02 Itxaka

uki test fixed, now it passes, it was a naming thing, nothing to do with the output artifact

Itxaka avatar Feb 09 '24 08:02 Itxaka

Fedora 38 works out of the box. Fedora 40 as well. So probably the version of sgdisk in Fedora 39 is broken in a very subtle way.

image

Itxaka avatar Feb 10 '24 10:02 Itxaka

Bumped (downgraded?) osbuilder to use Fedora 38 until Fedora 40 is available. Tested and rpi4 boots.

Itxaka avatar Feb 10 '24 10:02 Itxaka

Retriggered master builds for Kairos images and uki to test the latest published osbuilder which fixes the arm images to see if they pass so we can confirm that uki and normal isos builds are not broken.

https://github.com/kairos-io/kairos/actions/runs/7843857723

https://github.com/kairos-io/kairos/actions/runs/7843857709/job/21435313799

Itxaka avatar Feb 10 '24 11:02 Itxaka

Uki broken with this because the ukify version does not accept some flags

Ugh, neverending story

Itxaka avatar Feb 10 '24 11:02 Itxaka

Tested several things but cant make it work as expected by just bumping ukify as systemd-measure also needs a bump.

Moved to fedora 40 which is almost on beta 1 (in 3 days). It sucks but I think we should go that way if we want to enjoy all the benefits unless someone can find the issue with gptdisk not creating proper raw images

Itxaka avatar Feb 10 '24 16:02 Itxaka

Fixed by moving osbuilder to Fedora 40. Fedora 39 seems to has a broken sgdisk as raw images are broken with it Fedora 38 has a very old ukify version Ubuntu 23.10 does not ship ukify Suse (all) does not ship ukify Fedora 40 is in beta tomorrow, so it should be pretty stable by now, at least related to the building part. Bug list is pretty small for now and it should get better by the end of the month.

Triggered https://github.com/kairos-io/kairos/actions/runs/7843857723 for normal tests with latest osbuilder artifact Triggered https://github.com/kairos-io/kairos/actions/runs/7843857709 for uki tests with latest osbuilder artifact

Itxaka avatar Feb 12 '24 08:02 Itxaka

wow seems were really doing some pioneer work here

mauromorales avatar Feb 12 '24 08:02 mauromorales

uki tests will fail for now until https://github.com/kairos-io/kairos-agent/pull/228 is merged I guess? It will try to mount the disk but it will alread be mounted...testing manually

Itxaka avatar Feb 12 '24 08:02 Itxaka

For reference, we are planning to test with this package: https://github.com/kairos-io/packages/pull/680/files So that we control the systemd-boot package version. Also we might be able to reach a "distro agnostic" state for osbuilder image if we can bundle some more dependencies.

jimmykarily avatar Feb 12 '24 09:02 jimmykarily

gone back to leap 15.5 with the extra packages provided by luet (ukify and systemd-boot)

triggered again https://github.com/kairos-io/kairos/actions/runs/7843857723 and https://github.com/kairos-io/kairos/actions/runs/7843857709 to see if they work as expected

Itxaka avatar Feb 19 '24 15:02 Itxaka

Let's close this and treat any issues that arise as bugs.

jimmykarily avatar Mar 11 '24 09:03 jimmykarily