[Bug 2030761] Re: Potential race condition when custom mirrors are used

Dan Bungert 2030761 at bugs.launchpad.net
Wed Aug 9 21:59:04 UTC 2023


** Changed in: subiquity
       Status: Incomplete => Triaged

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

Title:
  Potential race condition when custom mirrors are used

Status in subiquity:
  Triaged
Status in subiquity package in Ubuntu:
  New
Status in subiquity source package in Jammy:
  New

Bug description:
  A user reported an issue in their autoinstall setup including only
  internal mirrrors under the "apt" section and a bunch of packages to
  install in the packagess section.

  The problem occurs 1-2 times for every 10 tries. Additionally, the
  problem happens only on metal. Despite numerous tries on multi-core
  VMs I was not able to reproduce the issue myself.

  From the installer log:
  subiquity_log.3320[22628]: Reading package lists...
  subiquity_log.3320[22628]: Building dependency tree...
  subiquity_log.3320[22628]: Reading state information...
  subiquity_log.3320[22628]: E: Unable to locate package build-essential
  subiquity_log.3320[22617]: Exit code: 100

  (build-essential was the first package in the autoinstall config under
  packages).

  I looked into the code and it doesn't look likely, but is it possible
  the installer proceeds with packages installation before the task
  setting up mirrors finishes?

  I have requested the user to retry with PYTHONASYNCIODEBUG=1 set in
  their /etc/env to get more insight into the execution sequence.

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2030761/+subscriptions




More information about the foundations-bugs mailing list