### Questing testing ###

[Note that the bug in question was not seen in GCP questing 25.10
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:
```
ubuntu@cit-questing-snapd-sru:~$ dpkg -s snapd
Package: snapd
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 125332
Maintainer: Ubuntu Developers <[email protected]>
Architecture: arm64
Version: 2.68.5+ubuntu25.10.2
```

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

* Verified that `snapd.seeded.service` wasn't taking longer than expected:
```
ubuntu@cit-questing-snapd-sru:~$ 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 @22.949s
└─multi-user.target @22.949s
  └─snapd.seeded.service @12.754s +10.193s
    └─basic.target @12.639s
      └─sockets.target @12.637s
        └─snapd.socket @12.608s +25ms
          └─sysinit.target @12.562s
          ...
          ...

ubuntu@cit-questing-snapd-sru:~$ systemd-analyze blame
10.193s snapd.seeded.service
 9.081s snapd.service
 6.451s google-guest-agent.service
 4.818s cloud-config.service
 4.775s cloud-init-main.service
...
...
```

* Verified that pre-seeding was successful:
```
ubuntu@cit-questing-snapd-sru:~$ snap debug timings 1 --verbose
ID   Status        Doing      Undoing  Label                         Summary
3    Done            8ms            -  prerequisites                 Ensure 
prerequisites for "snapd" are available
4    Done           12ms            -  prepare-snap                  Prepare 
snap "/var/lib/snapd/seed/snaps/snapd_24509.snap" (24509)
5    Done          110ms            -  mount-snap                    Mount snap 
"snapd" (24509)
 ^                  37ms            -  check-snap                      check 
snap "snapd"
 ^                  49ms            -  setup-snap                      setup 
snap "snapd"
6    Done           12ms            -  copy-snap-data                Copy snap 
"snapd" data
7    Done          152ms            -  setup-profiles                Setup snap 
"snapd" (24509) security profiles
 ^                   9ms            -  setup-security-backend          setup 
security backend "udev" for snap "snapd"
 ^                 127ms            -  setup-security-backend[many]    setup 
security backend "apparmor" for 1 snaps
8    Done           32ms            -  link-snap                     Make snap 
"snapd" (24509) available to the system
9    Done           11ms            -  auto-connect                  
Automatically connect eligible plugs and slots of snap "snapd"
10   Done           11ms            -  set-auto-aliases              Set 
automatic aliases for snap "snapd"
11   Done           10ms            -  setup-aliases                 Setup snap 
"snapd" aliases
14   Done            6ms            -  prerequisites                 Ensure 
prerequisites for "core22" are available
15   Done           11ms            -  prepare-snap                  Prepare 
snap "/var/lib/snapd/seed/snaps/core22_1984.snap" (1984)
16   Done          295ms            -  mount-snap                    Mount snap 
"core22" (1984)
 ^                 215ms            -  check-snap                      check 
snap "core22"
 ^                  56ms            -  setup-snap                      setup 
snap "core22"
17   Done           15ms            -  copy-snap-data                Copy snap 
"core22" data
18   Done           22ms            -  setup-profiles                Setup snap 
"core22" (1984) security profiles
 ^                   5ms            -  setup-security-backend          setup 
security backend "udev" for snap "core22"
19   Done           41ms            -  link-snap                     Make snap 
"core22" (1984) available to the system
20   Done           10ms            -  auto-connect                  
Automatically connect eligible plugs and slots of snap "core22"
21   Done           10ms            -  set-auto-aliases              Set 
automatic aliases for snap "core22"
22   Done           14ms            -  setup-aliases                 Setup snap 
"core22" aliases
26   Done           15ms            -  prerequisites                 Ensure 
prerequisites for "google-cloud-cli" are available
27   Done           13ms            -  prepare-snap                  Prepare 
snap "/var/lib/snapd/seed/snaps/google-cloud-cli_349.snap" (349)
28   Done          714ms            -  mount-snap                    Mount snap 
"google-cloud-cli" (349)
 ^                 643ms            -  check-snap                      check 
snap "google-cloud-cli"
 ^                  47ms            -  setup-snap                      setup 
snap "google-cloud-cli"
29   Done           15ms            -  copy-snap-data                Copy snap 
"google-cloud-cli" data
30   Done          122ms            -  setup-profiles                Setup snap 
"google-cloud-cli" (349) security profiles
 ^                  48ms            -  setup-security-backend          setup 
security backend "seccomp" for snap "google-cloud-cli"
 ^                  52ms            -  setup-security-backend[many]    setup 
security backend "apparmor" for 1 snaps
  ^                 16ms            -  load-profiles[changed-many]       load 
changed security profiles of 1 snaps
31   Done           42ms            -  link-snap                     Make snap 
"google-cloud-cli" (349) available to the system
 ^                  14ms            -  generate-wrappers               generate 
wrappers for snap google-cloud-cli
32   Done           11ms            -  auto-connect                  
Automatically connect eligible plugs and slots of snap "google-cloud-cli"
33   Done           11ms            -  set-auto-aliases              Set 
automatic aliases for snap "google-cloud-cli"
34   Done           11ms            -  setup-aliases                 Setup snap 
"google-cloud-cli" aliases
1    Done           39ms            -  mark-preseeded                Mark 
system pre-seeded
12   Done            5ms            -  run-hook                      Run 
install hook of "snapd" snap if present
13   Done           10ms            -  start-snap-services           Start snap 
"snapd" (24509) services
2    Done           27ms            -  run-hook                      Run 
configure hook of "core" snap if present
23   Done            8ms            -  run-hook                      Run 
install hook of "core22" snap if present
24   Done           10ms            -  start-snap-services           Start snap 
"core22" (1984) services
25   Done            7ms            -  run-hook                      Run health 
check of "core22" snap
35   Done            5ms            -  run-hook                      Run 
install hook of "google-cloud-cli" snap if present
36   Done           11ms            -  run-hook                      Run 
default-configure hook of "google-cloud-cli" snap if present
37   Done           13ms            -  start-snap-services           Start snap 
"google-cloud-cli" (349) services
38   Done            4ms            -  run-hook                      Run 
configure hook of "google-cloud-cli" snap if present
39   Done            4ms            -  run-hook                      Run health 
check of "google-cloud-cli" snap
40   Done            9ms            -  mark-seeded                   Mark 
system seeded
```

@Ernest please let me know if you need anything more :D

-- 
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