← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2064584] Re: Timed out waiting for container to boot

 

The same problem happens to me, but only when I try to get the plucky
container. I'm running Ubuntu 24.04 with autopkgtest version 5.34ubuntu2

```
sh -x /usr/bin/autopkgtest-build-lxd ubuntu-daily:plucky/amd64
+ set -eu
+ short_opts=hr:
+ long_opts=help,vm,lxd,incus,remote:
+ getopt --name autopkgtest-build-lxd --options hr: --long help,vm,lxd,incus,remote: -- ubuntu-daily:plucky/amd64
+ eval set -- -- 'ubuntu-daily:plucky/amd64'
+ set -- -- ubuntu-daily:plucky/amd64
+ unset short_opts long_opt
+ COMMAND=
+ true
+ shift
+ break
+ [ -z  ]
+ COMMAND=lxc
+ [ -z ubuntu-daily:plucky/amd64 ]
+ IMAGE=ubuntu-daily:plucky/amd64
+ CONTAINER=
+ trap [ -z "$CONTAINER" ] || "$COMMAND" delete -f "${REMOTE:+$REMOTE:}$CONTAINER" EXIT INT QUIT PIPE
+ proxy_detect
+ AUTOPKGTEST_APT_PROXY=
+ [ -z  ]
+ apt-config shell proxy Acquire::http::Proxy
+ RES=
+ eval
+ echo
+ egrep -q (localhost|127\.0\.0\.[0-9]*)
+ [ -n  ]
+ generate_container_name
+ true
+ mktemp autopkgtest-prepare-XXX -u
+ CONTAINER=autopkgtest-prepare-Due
+ lxc info autopkgtest-prepare-Due
+ break
+ [ -n  ]
+ lxc launch ubuntu-daily:plucky/amd64 autopkgtest-prepare-Due
Launching autopkgtest-prepare-Due
+ setup
+ [ -n  ]
+ [ -n  ]
+ sleep 5
+ lxc exec autopkgtest-prepare-Due -- systemctl mask serial-getty@getty.service
Created symlink '/etc/systemd/system/serial-getty@getty.service' → '/dev/null'.
+ safe_reboot
+ get_boot_id
+ lxc exec autopkgtest-prepare-Due -- cat /proc/sys/kernel/random/boot_id
+ boot_id=5dfc9c60-2c1c-4157-93df-6b2c730691a6
+ echo 5dfc9c60-2c1c-4157-93df-6b2c730691a6
+ previous_boot_id=5dfc9c60-2c1c-4157-93df-6b2c730691a6
+ echo Issuing reboot (current boot id: 5dfc9c60-2c1c-4157-93df-6b2c730691a6
Issuing reboot (current boot id: 5dfc9c60-2c1c-4157-93df-6b2c730691a6
+ lxc exec autopkgtest-prepare-Due -- reboot
+ get_boot_id
+ lxc exec autopkgtest-prepare-Due -- cat /proc/sys/kernel/random/boot_id
+ boot_id=5dfc9c60-2c1c-4157-93df-6b2c730691a6
+ echo 5dfc9c60-2c1c-4157-93df-6b2c730691a6
+ current_boot_id=5dfc9c60-2c1c-4157-93df-6b2c730691a6
+ timeout=36
+ [ 36 -ge 0 ]
+ [ 5dfc9c60-2c1c-4157-93df-6b2c730691a6 = unknown ]
+ [ 5dfc9c60-2c1c-4157-93df-6b2c730691a6 = 5dfc9c60-2c1c-4157-93df-6b2c730691a6 ]
+ sleep 5
+ timeout=35
+ get_boot_id
+ lxc exec autopkgtest-prepare-Due -- cat /proc/sys/kernel/random/boot_id
+ boot_id=5879c08d-eb42-4026-8f5a-5a79a9f865f7
+ echo 5879c08d-eb42-4026-8f5a-5a79a9f865f7
+ current_boot_id=5879c08d-eb42-4026-8f5a-5a79a9f865f7
+ [ 35 -ge 0 ]
+ [ 5879c08d-eb42-4026-8f5a-5a79a9f865f7 = unknown ]
+ [ 5879c08d-eb42-4026-8f5a-5a79a9f865f7 = 5dfc9c60-2c1c-4157-93df-6b2c730691a6 ]
+ [ 35 -ge 0 ]
+ echo Reboot successful (current boot id: 5879c08d-eb42-4026-8f5a-5a79a9f865f7)
Reboot successful (current boot id: 5879c08d-eb42-4026-8f5a-5a79a9f865f7)
+ wait_booted
+ timeout=60
+ [ 60 -ge 0 ]
+ timeout=59
+ sleep 1
+ lxc exec autopkgtest-prepare-Due runlevel
+ O=unknown
+ continue
+ [ 59 -ge 0 ]
+ timeout=58
+ sleep 1
+ lxc exec autopkgtest-prepare-Due runlevel
+ O=unknown
+ continue
+ [ 58 -ge 0 ]
+ timeout=57
+ sleep 1
+ lxc exec autopkgtest-prepare-Due runlevel
+ O=unknown
+ continue
+ [ 57 -ge 0 ]
+ timeout=56
+ sleep 1
+ lxc exec autopkgtest-prepare-Due runlevel
+ O=unknown
+ continue
+ [ 56 -ge 0 ]
```


... and then it fails with this error:

```
+ continue
+ [ -1 -ge 0 ]
+ [ -1 -ge 0 ]
+ echo Timed out waiting for container to boot
Timed out waiting for container to boot
+ exit 1
+ [ -z autopkgtest-prepare-Due ]
+ lxc delete -f autopkgtest-prepare-Due
```

-- 
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to autopkgtest in Ubuntu.
Matching subscriptions: ubuntu-qa-bugs
https://bugs.launchpad.net/bugs/2064584

Title:
  Timed out waiting for container to boot

Status in autopkgtest package in Ubuntu:
  Invalid

Bug description:
  autopkgtest-build-lxd fails to setup a container on Ubuntu 24.04
  amd64:

  $ autopkgtest-build-lxd ubuntu-daily:noble/amd64
  Creating autopkgtest-prepare-61J
  Starting autopkgtest-prepare-61J            
  Created symlink /etc/systemd/system/serial-getty@getty.service → /dev/null.
  Issuing reboot (current boot id: 1784491b-469a-407a-bab6-96de23496957
  Failed to connect to bus: No such file or directory
  Reboot successful (current boot id: b5e4d818-137f-43e6-b2f5-14e697228603)
  Timed out waiting for container to boot
  --- 
  ProblemType: Bug
  ApportVersion: 2.28.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 24.04
  NonfreeKernelModules: zfs nvidia_modeset nvidia
  Package: autopkgtest 5.34ubuntu2
  PackageArchitecture: all
  ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
  Tags: noble
  Uname: Linux 6.8.0-31-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: N/A
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/2064584/+subscriptions



References