snappy:release/2.61

Last commit made on 2024-03-07
Get this branch:
git clone -b release/2.61 https://git.launchpad.net/snappy

Branch merges

Branch information

Name:
release/2.61
Repository:
lp:snappy

Recent commits

12e48ef... by Ernest Lotter

release: 2.61.3

d057e9b... by Sergio Cazzolato

tests: add spread tests support for ubuntu-24.04 (#13426)

* tests: add spread tests support for ubuntu-24.04

* add test fixes

* fix preseed tests and cgroup-tracking-failure

* Fix failing tests

* fix more lxd tests

* skip snapd-homedirs-vendored in ubuntu 24.04

* use ubuntu-daily images for lxd when system is ubuntu-24.04

* fix upgrade-from-release test

* add missing details to tests

* fix system name

* update scroup-tracking-failure test

f25be69... by Valentin David

packaging/ubuntu-16.04: install systemd files in correct place on 24.04

On a usr-merge system, systemd there is no `/lib/systemd`, it is all
in `/usr/lib/systemd`.

54de5bb... by Andrew Phelps

tests/lib/assertions: add missing assertion that was preventing nested/manual/remodel-offline from running

184f200... by Ernest Lotter

release: 2.61.2

b3dfeaa... by Philip Meulengracht

t/m/snap-quota-memory: improve robustness of test on some distros (#13399)

61ec0fd... by Maciej Borzecki

interfaces/apparmor: limit s-u-n /proc/ access to entries owned by current process

Signed-off-by: Maciej Borzecki <email address hidden>

09c990a... by Maciej Borzecki

interfaces/apparmor: update apparmor template of s-u-n for changes in Go

Rebuilding snap-update-ns with Go 1.22.0 triggers a new denial with the process
trying to read /proc/self/maps.

The denial shows up as:

```
audit: type=1400 audit(1707404561.548:1563): apparmor="DENIED"
       operation="open" class="file"
       profile="snap-update-ns.test-snapd-sh-core22"
       name="/proc/2993630/maps" pid=2993630 comm="5"
       requested_mask="r" denied_mask="r" fsuid=0 ouid=0
```

Inspecting with strace, the attempt to open /proc/self/maps happens just a
handful of syscalls after execing into snap-update-ns.

Signed-off-by: Maciej Borzecki <email address hidden>

09d50cf... by Sergio Cazzolato

tests: remove opensuse 15 4 (#13444)

* tests: remove support for opensuse 15.4

Opensuse leap 15.4 is EoL since december 2023

* Squashed 'tests/lib/external/snapd-testing-tools/' changes from 1c8efb77e1..5121bfb659

5121bfb659 remove support for opensuse leap 15.4 (#48)
30df700d08 Add new systems support (#47)
1f08938925 Support check amazon linux version (#46)
43533bdd97 Change the exit value checking for test formats (#45)
3c88244c04 Update check-test-format to support a dir and a list of files (#44)
510d95f429 add extra check for error in auto-refresh detection function
3289d4031b Try open the log with latin-1 encoding when utf-8 is not working
9db785499f improved how the tools are waiting for system reboot
2a5c4414a3 fix shellcheck errors
5e7b63883d Fixes for osquery and tests pkgs (#43)
4c9145e2ac support reboot waiting for auto-refresh
45768f5188 show changes in unknown status after refresh
8013c30c2a Remove support for ubuntu 22.10
b32b80bf54 Fix remote.rait-for test in bionic
5675c625e9 Enable fedora 38
55f4471957 Support for new oss
f2e88b357c New tool used to query spread json reports
cacd35ede0 utils/spread-shellcheck: explain disabled warnings (#42)
c82afb2dee Support --no-install-recommends parameter when installing dependencies with tests.pkgs
b84eea92e2 spread-shellcheck: fix quotes in environment variables (#41)
ab1e51c29f New comparison in os-query for core systems (#40)
e5ae22a5d4 systemd units can be overwritten
63540b845a Fix error messages in remote pull and push
75e8a426a5 make sure the unit is removed in tests.systemd test
9089ff5c02 Update tests to use the new tests.systemd stop-unit
44ecd5e56a Move tests.systemd stop-units to stop-unit
01a2a83b4b Update tests.systemd to have stop units as systemd.sh
162e93bd35 update tests.systemd CLI options to be the same than retry command
14aa43a405 new feature to re-run failed spread tests (#39)
604cb782db Fix shellcheck in systemd tool
bfc71082c8 Update the tests.systemd to allow parameters waiting for service status
8a2d0a99df Adding quiet tool and removing set +-x from tests.pkgs
d90935d2a4 A comment explaining about the default values for wait-for
3232c5dba7 Add support for ubuntu 23.04
a7164fba07 remove fedora 35 support, add fedora 37 support
89b9eb5301 Update systems supported
92bb6a0664 Include snap-sufix in the snaps.name tool

git-subtree-dir: tests/lib/external/snapd-testing-tools
git-subtree-split: 5121bfb659bb9602f7d5a8a2f354dd93662270dc

* fix opensuse duplication

b7b2f39... by Zygmunt Krynicki

o/devicestate: pass empty slice in TestRemodelCannotUseOldModel

The function doesn't crash but Remodel does not expect nil there.

Signed-off-by: Zygmunt Krynicki <email address hidden>