Skip to content

release: 2.74.1#16537

Merged
ernestl merged 41 commits intocanonical:release/2.74from
ernestl:prepare-release-2.74.1
Feb 9, 2026
Merged

release: 2.74.1#16537
ernestl merged 41 commits intocanonical:release/2.74from
ernestl:prepare-release-2.74.1

Conversation

@ernestl
Copy link
Copy Markdown
Member

@ernestl ernestl commented Feb 2, 2026

DEBEMAIL="Ernest Lotter <ernest.lotter@canonical.com>" release-tools/changelog.py 2.74.1 2138629 NEWS.md

CHERRY PICKED:

Functional fixes:

Test fixes:

LP Bugs: https://launchpad.net/snapd/+milestone/2.74.1
SRU Bug: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2138629
Jira: https://warthogs.atlassian.net/browse/SNAPDENG-36361

Requires rebase merge

maykathm and others added 10 commits February 2, 2026 20:35
* github: add store user and password secrets to workflow

* tests: add skip conditions to spread tasks and correct env variable name

* github: add secrets inheritance to scheduled workflows
…nonical#16316)

* tests: skip kernel-base-gadget tests when running beta validation

When we run edge/beta validation the pc snap is asserted, so these tests
needs to be skipped. In the ci the pc kernel is unasserted so these
tests shouldn't be skipped.

* skip interfaces-checkbox-support for veta validation

This is skipped also because in external backend the plz-run binary is
not built during prepare

* Migrate the tests to the new skip format

* Update tests/main/interfaces-checkbox-support/task.yaml

Co-authored-by: Katie May <katie.m.may@protonmail.com>

---------

Co-authored-by: Katie May <katie.m.may@protonmail.com>
)

* tests: Migreate tests.exec is-skipped to new skip format

This change migrates all the used of `tests.exec is-skipped && exit 0`
to the new skip format.
Also are removed other usages when it was required skip the whole
crossdistro and smoke test suites.

* Update tests/main/cloud-init/task.yaml

Co-authored-by: Oliver Calder <oliver@calder.dev>

* Update tests/main/interfaces-snap-interfaces-requests-control/task.yaml

Co-authored-by: Oliver Calder <oliver@calder.dev>

* Update tests/main/cloud-init/task.yaml

Co-authored-by: Oliver Calder <oliver@calder.dev>

* Fixes addressing review comments

* Cloud init now executed in arm uc

* fix shell check

---------

Co-authored-by: Oliver Calder <oliver@calder.dev>
…ce content visibility (canonical#16497)

* tests/main/layout-content-refresh-connect-hoks: verify mount namespace content visibility

Verify the content of a mount namespace observed by plug side connect
hooks during a refresh of a content provider snap.

Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>

* fixup! tests/main/layout-content-refresh-connect-hoks: verify mount namespace content visibility

---------

Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>
@ernestl ernestl added this to the 2.74.1 milestone Feb 2, 2026
@ernestl ernestl added Needs Samuele review Needs a review from Samuele before it can land Run nested The PR also runs tests inluded in nested suite labels Feb 2, 2026
Copy link
Copy Markdown
Contributor

@pedronis pedronis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Copy Markdown
Member

@olivercalder olivercalder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small comment about the FDE note

Comment thread NEWS.md Outdated
Copy link
Copy Markdown
Contributor

@bboozzoo bboozzoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

@zyga zyga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good based on my understanding of the goal of the 2.74.1 release:

  • FDE fixes
  • CAP_SYS_RESOURCE fix for checkbox
  • bpf size bump for a customer
  • test fixes to smooth the CI story

Thank you @ernestl!

@ernestl ernestl force-pushed the prepare-release-2.74.1 branch from 839eeea to fe95931 Compare February 2, 2026 20:29
@olivercalder olivercalder self-requested a review February 2, 2026 20:30
Copy link
Copy Markdown
Member

@olivercalder olivercalder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes to make sure the description for the FDE bug gets eyes

Comment thread NEWS.md Outdated
@ernestl ernestl force-pushed the prepare-release-2.74.1 branch from fe95931 to a4b3782 Compare February 2, 2026 21:00
@ernestl ernestl requested a review from olivercalder February 2, 2026 21:00
@ernestl ernestl added the Auto rerun spread Auto reruns spread up to 4 times in non-draft PRs w/ >=1 approval and <20 fails in any fund. system label Feb 2, 2026
Copy link
Copy Markdown
Member

@olivercalder olivercalder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment thread NEWS.md
@ernestl ernestl closed this Feb 3, 2026
@ernestl ernestl reopened this Feb 3, 2026
sergiocazzolato and others added 9 commits February 3, 2026 12:59
* tests: fix interfaces-block-devices when fde is used

This fix allows to run interfaces-block-devices test when ubuntu-data
partition is encripted.

* Update tests/main/interfaces-block-devices/task.yaml

Co-authored-by: Maciej Borzecki <maciek.borzecki@gmail.com>

* Update tests/main/interfaces-block-devices/task.yaml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update tests/main/interfaces-block-devices/task.yaml

Co-authored-by: Maciej Borzecki <maciek.borzecki@gmail.com>

---------

Co-authored-by: Maciej Borzecki <maciek.borzecki@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
cloud-init-local.services fails, but the machine still works. However
the error is set. So for now we should ignore it until it is fixed on
cloud-init.
When snap-confine is used on an kernel older than 5.11 then it will notice the
memory lock limit is too low and attempt to raise it. This requires
CAP_SYS_RESOURCE that was not granted before. This issue was masked by the
interplay of sudo/su/pam/logind also interacting with the limit in ways we did
not fully trace.

Fixes: https://bugs.launchpad.net/snapd/+bug/2139300
Jira: https://warthogs.atlassian.net/browse/SNAPDENG-36355
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
The test runs a snap application with artificially lowered
RLIMIT_MEMLOCK to observe that it really works.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
…anonical#16263)

* tests: increase the timeout used for arm64 servers in openstack-ext

As in arm64 environments it is not supported the hardware acceleration,
this is required to have longer timeouts compared to amd64 to deal with
long executions.

This change is done to avoid kill timeouts building snapd in armhf.

* run also in faster machines

* update wait-for ssh line
…nonical#16517)

Signed-off-by: Lorenzo Medici <lorenzo.medici@canonical.com>
…ap key count to 1000 (canonical#16505)

Bump the max element count of the BPF map used to store IDs of
allowed/matched devices to 1000. According to LP#2139099 the current
limit can be exhausted with ~80VMs with ~500 microceph rbd devices.

The snippet below shows memory use of a map allocated with the previous
default value (id 14, size 500), and the new default (id 23, size 1000):

14: hash  name s_fwupd_refresh  flags 0x0
        key 9B  value 1B  max_entries 500  memlock 47712B
23: hash  name s_test_snapd_sh  flags 0x0
        key 9B  value 1B  max_entries 1000  memlock 91904B

Fixes: LP#2139099

Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>
…ng content, layouts and snap refreshes (canonical#16442)

* tests/main/layout-content-provider-change: add a test mixing content, layouts and snap refreshes

Add a test which should mimic a scenario where a content provider is
changed during snap refresh. This should hopefully be close to the
scenario occurring for snaps like 'chromium' or 'firefox', where the
GNOME runtime may be changed across revisions, and said snaps mix both
content and layouts to set up the execution environment.

Related: SNAPDENG-36193

Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>

* tests/lib/fakestore: include snap.yaml in action responses

Include contents of snap.yaml of the target snap in action endpoint
responses.

Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>

* fixup! tests/main/layout-content-provider-change: add a test mixing content, layouts and snap refreshes

* tests/main/system-usernames-snap-scoped: update the test

Since fakestore now includes the entirety of snap.yaml the error occurs
in an early pre-installation check, rather than in prepare-snap handler.

Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>

---------

Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>
@ernestl ernestl force-pushed the prepare-release-2.74.1 branch from 11bd015 to d19b905 Compare February 3, 2026 11:04
valentindavid and others added 12 commits February 6, 2026 15:59
This is needed otherwise cache will see that no update is needed, and
booting with old keys would still work until we actually update
kernel.
* interfaces/seccomp: allow memfd_secret

Allow memfd_secret system call which is generally useful for creating
memory regions that have stronger protection than RAM based files
created with memfd_create or anonymous mmap() mappings.

Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>

* tests/main/template-memfd: spread test

Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>

---------

Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.com>
…grade-from-release, upgrade/basic (canonical#16555)

* tests/main/upgrade-from-release: updated resolute snapd release to 2.74

* tests/upgrade/basic: adapt for snap-confine binary package that was removed from snapd source package
The pidfd_open(2) system call allows obtaining a file descriptor that
refers to a process. This is useful for process management and is used
by modern applications and libraries.

This change adds pidfd_open to the default seccomp template, allowing
all snaps to use this syscall. The syscall is placed logically with
other process-related syscalls like getpid and getppid.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
A new integration test is included that:
- Compiles a C program testing pidfd_open
- Creates a test snap using snap pack
- Verifies the syscall is allowed by the seccomp profile
- Runs on all classic systems (excluding ubuntu-core without gcc)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Specifically the behavior of non-child process (PID 1)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
When /etc/apparmod.d/snap.snapd.* does not exist the old logic would
do the wrong thing attempt to pack a file with wildcard in the name.
Use nullglob to avoid this.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
@ernestl ernestl force-pushed the prepare-release-2.74.1 branch from d19b905 to 3090b54 Compare February 6, 2026 14:10
@github-actions github-actions Bot added the Needs Documentation -auto- Label automatically added which indicates the change needs documentation label Feb 6, 2026
@ernestl ernestl force-pushed the prepare-release-2.74.1 branch from 3090b54 to fe6aa6f Compare February 6, 2026 17:41
@ernestl
Copy link
Copy Markdown
Member Author

ernestl commented Feb 9, 2026

Failure analysis

These are known, can be ignored because its Core26 only, which is not important atm.

  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/minimal-smoke:secboot_disabled
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/minimal-smoke:secboot_enabled

Known, relates to expired cert, already addressed here: #16567
Spread improvement in progress: #16569

  • openstack-ext:ubuntu-24.04-64:tests/nested/manual/remodel-min-size
  • openstack-ext:ubuntu-24.04-64:tests/nested/manual/remodel-simple:offline
  • openstack-ext:ubuntu-22.04-64:tests/nested/manual/remodel-min-size
  • openstack-ext:ubuntu-22.04-64:tests/nested/manual/remodel-simple:offline
  • openstack-ext:ubuntu-22.04-64:tests/nested/manual/remodel-to-uc24
  • openstack-ext:ubuntu-20.04-64:tests/nested/manual/remodel-cross-store
  • openstack-ext:ubuntu-20.04-64:tests/nested/manual/remodel-simple:offline
  • openstack-ext:ubuntu-20.04-64:tests/nested/manual/remodel-target-base-installed
  • openstack-ext:ubuntu-20.04-64:tests/nested/manual/remodel-to-uc24
  • openstack-ext:ubuntu-20.04-64:tests/nested/manual/remodel-uc20-to-uc22
  • openstack-ext:ubuntu-18.04-64:tests/nested/manual/remodel-cross-store
  • openstack-ext:ubuntu-18.04-64:tests/nested/manual/remodel-simple:offline

The remodel tests will be monitored after the fix and acted on if actual issues emerge (which is very unlikely given the changes made here), but we will not hold back this PR for these failures.

@ernestl ernestl merged commit 36023da into canonical:release/2.74 Feb 9, 2026
487 of 536 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto rerun spread Auto reruns spread up to 4 times in non-draft PRs w/ >=1 approval and <20 fails in any fund. system Needs Documentation -auto- Label automatically added which indicates the change needs documentation Needs Samuele review Needs a review from Samuele before it can land Run nested The PR also runs tests inluded in nested suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants