### Jammy testing ###

[Note that the bug in question was not seen in GCP jammy 22.04 images,
so this test is to check there are no regressions]

* Created a new questing GCP image with `snapd` installed from
`-proposed` in the image build:

$ gcloud compute instances create --image-project=ubuntu-virtustom 
--image=daily-ubuntu-2204-jammy-v20250730 --machine-type=n2-standard-2 
sru-snapd-jammy
Created 
[https://www.googleapis.com/compute/v1/projects/ubuntu-virtustom/zones/europe-west10-b/instances/sru-snapd-jammy].
NAME             ZONE             MACHINE_TYPE   PREEMPTIBLE  INTERNAL_IP  
EXTERNAL_IP   STATUS
sru-snapd-jammy  europe-west10-b  n2-standard-2               10.214.0.6   
34.32.25.177  RUNNING
$ gcloud compute ssh sru-snapd-jammy
ubuntu@sru-snapd-jammy:~$ dpkg -s snapd
Package: snapd
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 114176
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Version: 2.68.5+ubuntu22.04.1
...


* Verified that our internal testing worked (CTF and CIT)

* Verified that `snapd.seeded.service` wasn't taking longer than
expected:

ubuntu@sru-snapd-jammy:~$ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @21.256s
└─multi-user.target @21.256s
  └─chrony.service @21.766s +30ms
    └─basic.target @8.817s
      └─sockets.target @8.799s
        └─snap.lxd.daemon.unix.socket @18.136s
          └─sysinit.target @8.608s
...
ubuntu@sru-snapd-jammy:~$ systemd-analyze blame
12.075s snapd.seeded.service
 7.477s snapd.service
 4.398s pollinate.service
 4.307s polkit.service
 4.168s google-oslogin-cache.service
 4.016s google-guest-agent.service
 3.830s apport.service
 3.450s networkd-dispatcher.service
 2.029s rsyslog.service
...

* Verified that pre-seeding was successful:

ubuntu@sru-snapd-jammy:~$ snap debug timings 1 --verbose
ID   Status        Doing      Undoing  Label                         Summary
3    Done            4ms            -  prerequisites                 Ensure 
prerequisites for "snapd" are available
4    Done            9ms            -  prepare-snap                  Prepare 
snap "/var/lib/snapd/seed/snaps/snapd_24792.snap" (24792)
5    Done           69ms            -  mount-snap                    Mount snap 
"snapd" (24792)
 ^                  25ms            -  check-snap                      check 
snap "snapd"
 ^                  29ms            -  setup-snap                      setup 
snap "snapd"
6    Done            9ms            -  copy-snap-data                Copy snap 
"snapd" data
7    Done          101ms            -  setup-profiles                Setup snap 
"snapd" (24792) security profiles
 ^                   8ms            -  setup-security-backend          setup 
security backend "udev" for snap "snapd"
 ^                  81ms            -  setup-security-backend[many]    setup 
security backend "apparmor" for 1 snaps
8    Done           26ms            -  link-snap                     Make snap 
"snapd" (24792) available to the system
9    Done            8ms            -  auto-connect                  
Automatically connect eligible plugs and slots of snap "snapd"
10   Done            8ms            -  set-auto-aliases              Set 
automatic aliases for snap "snapd"
11   Done            9ms            -  setup-aliases                 Setup snap 
"snapd" aliases
14   Done            4ms            -  prerequisites                 Ensure 
prerequisites for "core20" are available
15   Done            7ms            -  prepare-snap                  Prepare 
snap "/var/lib/snapd/seed/snaps/core20_2599.snap" (2599)
16   Done          392ms            -  mount-snap                    Mount snap 
"core20" (2599)
 ^                 307ms            -  check-snap                      check 
snap "core20"
 ^                  58ms            -  setup-snap                      setup 
snap "core20"
17   Done            9ms            -  copy-snap-data                Copy snap 
"core20" data
18   Done            9ms            -  setup-profiles                Setup snap 
"core20" (2599) security profiles
19   Done           26ms            -  link-snap                     Make snap 
"core20" (2599) available to the system
20   Done            8ms            -  auto-connect                  
Automatically connect eligible plugs and slots of snap "core20"
21   Done            8ms            -  set-auto-aliases              Set 
automatic aliases for snap "core20"
22   Done            7ms            -  setup-aliases                 Setup snap 
"core20" aliases
40   Done            4ms            -  prerequisites                 Ensure 
prerequisites for "core22" are available
41   Done            9ms            -  prepare-snap                  Prepare 
snap "/var/lib/snapd/seed/snaps/core22_2045.snap" (2045)
42   Done          345ms            -  mount-snap                    Mount snap 
"core22" (2045)
 ^                 302ms            -  check-snap                      check 
snap "core22"
 ^                  29ms            -  setup-snap                      setup 
snap "core22"
43   Done            7ms            -  copy-snap-data                Copy snap 
"core22" data
44   Done            9ms            -  setup-profiles                Setup snap 
"core22" (2045) security profiles
45   Done           25ms            -  link-snap                     Make snap 
"core22" (2045) available to the system
46   Done            9ms            -  auto-connect                  
Automatically connect eligible plugs and slots of snap "core22"
47   Done            9ms            -  set-auto-aliases              Set 
automatic aliases for snap "core22"
48   Done            8ms            -  setup-aliases                 Setup snap 
"core22" aliases
26   Done            8ms            -  prerequisites                 Ensure 
prerequisites for "lxd" are available
27   Done            8ms            -  prepare-snap                  Prepare 
snap "/var/lib/snapd/seed/snaps/lxd_31333.snap" (31333)
28   Done           80ms            -  mount-snap                    Mount snap 
"lxd" (31333)
 ^                  37ms            -  check-snap                      check 
snap "lxd"
 ^                  28ms            -  setup-snap                      setup 
snap "lxd"
29   Done            8ms            -  copy-snap-data                Copy snap 
"lxd" data
30   Done         1003ms            -  setup-profiles                Setup snap 
"lxd" (31333) security profiles
 ^                 232ms            -  setup-security-backend          setup 
security backend "seccomp" for snap "lxd"
 ^                 750ms            -  setup-security-backend[many]    setup 
security backend "apparmor" for 1 snaps
  ^                696ms            -  load-profiles[changed-many]       load 
changed security profiles of 1 snaps
31   Done           78ms            -  link-snap                     Make snap 
"lxd" (31333) available to the system
 ^                  45ms            -  generate-wrappers               generate 
wrappers for snap lxd
32   Done           16ms            -  auto-connect                  
Automatically connect eligible plugs and slots of snap "lxd"
69   Done           14ms            -  connect                       Connect 
lxd:network-bind to snapd:network-bind
70   Done           11ms            -  connect                       Connect 
lxd:system-observe to snapd:system-observe
68   Done           12ms            -  connect                       Connect 
lxd:network to snapd:network
71   Done           14ms            -  connect                       Connect 
lxd:lxd-support to snapd:lxd-support
67   Done         1087ms            -  setup-profiles                Setup snap 
"lxd" (31333) security profiles for auto-connections
 ^                  99ms            -  setup-security-backend          setup 
security backend "seccomp" for snap "lxd"
 ^                   5ms            -  setup-security-backend          setup 
security backend "udev" for snap "lxd"
 ^                 955ms            -  setup-security-backend[many]    setup 
security backend "apparmor" for 2 snaps
  ^                867ms            -  load-profiles[changed-many]       load 
changed security profiles of 2 snaps
33   Done           15ms            -  set-auto-aliases              Set 
automatic aliases for snap "lxd"
34   Done           18ms            -  setup-aliases                 Setup snap 
"lxd" aliases
52   Done           11ms            -  prerequisites                 Ensure 
prerequisites for "google-cloud-cli" are available
53   Done           13ms            -  prepare-snap                  Prepare 
snap "/var/lib/snapd/seed/snaps/google-cloud-cli_361.snap" (361)
54   Done         1478ms            -  mount-snap                    Mount snap 
"google-cloud-cli" (361)
 ^                1431ms            -  check-snap                      check 
snap "google-cloud-cli"
 ^                  30ms            -  setup-snap                      setup 
snap "google-cloud-cli"
55   Done            9ms            -  copy-snap-data                Copy snap 
"google-cloud-cli" data
56   Done           99ms            -  setup-profiles                Setup snap 
"google-cloud-cli" (361) security profiles
 ^                  42ms            -  setup-security-backend          setup 
security backend "seccomp" for snap "google-cloud-cli"
 ^                  45ms            -  setup-security-backend[many]    setup 
security backend "apparmor" for 1 snaps
  ^                 27ms            -  load-profiles[changed-many]       load 
changed security profiles of 1 snaps
57   Done           30ms            -  link-snap                     Make snap 
"google-cloud-cli" (361) available to the system
 ^                  10ms            -  generate-wrappers               generate 
wrappers for snap google-cloud-cli
58   Done            8ms            -  auto-connect                  
Automatically connect eligible plugs and slots of snap "google-cloud-cli"
59   Done            8ms            -  set-auto-aliases              Set 
automatic aliases for snap "google-cloud-cli"
60   Done            8ms            -  setup-aliases                 Setup snap 
"google-cloud-cli" aliases
1    Done           42ms            -  mark-preseeded                Mark 
system pre-seeded
12   Done            4ms            -  run-hook                      Run 
install hook of "snapd" snap if present
13   Done           13ms            -  start-snap-services           Start snap 
"snapd" (24792) services
2    Done           21ms            -  run-hook                      Run 
configure hook of "core" snap if present
23   Done            5ms            -  run-hook                      Run 
install hook of "core20" snap if present
24   Done           14ms            -  start-snap-services           Start snap 
"core20" (2599) services
25   Done            5ms            -  run-hook                      Run health 
check of "core20" snap
49   Done            5ms            -  run-hook                      Run 
install hook of "core22" snap if present
50   Done           16ms            -  start-snap-services           Start snap 
"core22" (2045) services
51   Done            5ms            -  run-hook                      Run health 
check of "core22" snap
35   Done          816ms            -  run-hook                      Run 
install hook of "lxd" snap if present
36   Done            4ms            -  run-hook                      Run 
default-configure hook of "lxd" snap if present
37   Done         2382ms            -  start-snap-services           Start snap 
"lxd" (31333) services
 ^                 287ms            -  enable-services                 enable 
services ["snap.lxd.user-daemon.unix.socket" "snap.lxd.daemon.unix.socket" 
"snap.lxd.activate.service"]
 ^                2079ms            -  start-services                  start 
services
  ^                 80ms            -  start-service                     start 
service "snap.lxd.user-daemon.unix.socket"
  ^                665ms            -  start-service                     start 
service "snap.lxd.daemon.unix.socket"
  ^               1333ms            -  start-service                     start 
service "snap.lxd.activate.service"
38   Done          436ms            -  run-hook                      Run 
configure hook of "lxd" snap if present
39   Done            4ms            -  run-hook                      Run health 
check of "lxd" snap
61   Done            3ms            -  run-hook                      Run 
install hook of "google-cloud-cli" snap if present
62   Done            4ms            -  run-hook                      Run 
default-configure hook of "google-cloud-cli" snap if present
63   Done            8ms            -  start-snap-services           Start snap 
"google-cloud-cli" (361) services
64   Done            4ms            -  run-hook                      Run 
configure hook of "google-cloud-cli" snap if present
65   Done            4ms            -  run-hook                      Run health 
check of "google-cloud-cli" snap
66   Done            8ms            -  mark-seeded                   Mark 
system seeded

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

Title:
  [SRU] 2.68.5

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to