[Bug 2125338] Re: [SRU] Cannot fetch files from MAAS stream on autopkgtest runner

Mate Kukri 2125338 at bugs.launchpad.net
Wed Oct 8 09:47:09 UTC 2025


** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-boot-test in Ubuntu.
https://bugs.launchpad.net/bugs/2125338

Title:
  [SRU] Cannot fetch files from MAAS stream on autopkgtest runner

Status in ubuntu-boot-test package in Ubuntu:
  Fix Released
Status in ubuntu-boot-test source package in Jammy:
  Fix Released
Status in ubuntu-boot-test source package in Noble:
  Fix Released
Status in ubuntu-boot-test source package in Plucky:
  Fix Released
Status in ubuntu-boot-test source package in Questing:
  Fix Released

Bug description:
  [ Impact ]

  IS changed some proxy rules so that we can no longer download MAAS
  bootloader artifacts for testing. E.g.

  ```
  1117s autopkgtest [14:10:02]: test uefi-maas-amd64: ubuntu_boot_test_run uefi_maas -r $(lsb_release --codename --short) -a amd64
  1117s autopkgtest [14:10:02]: test uefi-maas-amd64: [-----------------------
  1119s Traceback (most recent call last):
  1119s   File "/usr/bin/ubuntu_boot_test_run", line 45, in <module>
  1119s     globals()[f"cmd_{args.command}"].execute(args)
  1119s     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  1119s   File "/usr/lib/python3/dist-packages/ubuntu_boot_test/cmd_uefi_maas.py", line 101, in execute
  1119s     fetch_maas_loaders()
  1119s     ~~~~~~~~~~~~~~~~~~^^
  1119s   File "/usr/lib/python3/dist-packages/ubuntu_boot_test/cmd_uefi_maas.py", line 83, in fetch_maas_loaders
  1119s     stream = json.loads(fetch_file(MAAS_STABLE_STREAM_URL))
  1119s                         ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  1119s   File "/usr/lib/python3/dist-packages/ubuntu_boot_test/util.py", line 104, in fetch_file
  1119s     assert resp.status_code == 200, "Failed to fetch file"
  ```

  This is unfortunate because it is making our autopkgtest baselines
  regress. We can do most of the useful netboot validation without.

  This has been broken for too long, and it seems like waiting on IS
  isn't going to solve it in a reasonable timeframe, so I am going to
  remove the subtests that download files from the MAAS stream (and
  openSUSE images) as a regressed ubuntu-boot-test baseline is
  unacceptable.

  [ Test Plan ]

  All we need to do is make sure that the new upload's autopkgtests pass
  and review the log for anomalies.

  [ Where problems could occur ]

  It could in theory cause uncaught regressions in cross-version,
  network based GRUB chainload scenarios, but this is still going to be
  extremely unlikely because comprehensive netboot tests will remain in
  place, just not ones that uses artifacts directly from the MAAS
  stream.

  [ Other Info ]

  None.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-boot-test/+bug/2125338/+subscriptions




More information about the foundations-bugs mailing list