55657 Commits

Author SHA1 Message Date
Michael Vogt
bb2af43453 release: 2.56 2.56 2022-05-19 15:40:46 +02:00
Michael Vogt
7fb71f6b05 Merge pull request #11787 from 3v1n0/portal-info-common-id
portal-info: Add CommonID Field
2022-05-19 09:24:09 +02:00
Michael Vogt
4a2e84a3c3 Merge pull request #11798 from pedronis/info-snapd_asserts_formats
asserts/info,mkversion.sh: capture max assertion formats in snapd/info
2022-05-18 16:26:06 +02:00
Sergio Cazzolato
9b95f4a23f tests: improve the unit testing workflow to run in parallel (#11782)
* Improve the unit testing workflow to run in parallel

This change includes:
 . Run first a workflow to make the static checks
 . Run in parallel all the unit tests
 . Run at the end the code coverage

* some fixes on checks

* Fix when coverage is uploaded

* static checks for changed files

* Update the modified files

* Fix how changed files are retrieved

* Using a different action to retrieve changed files

* moving the new step

* Use correct path to retrieve files

* Skipping shellcheck when it is not needed

* fix error setting filtered files

* fix format for file list

* Fixing how shell files are filtered

* Fix on ()

* Fix shellchecks

* filter files previous to spread-shellcheck

* Moving run-checks to bash

* Get dependencies

* new step to get deps

* Check coverage files

* update path for coverage files

* Fix how coverage tool is installed

* Try removing Install Debian dependencies

* restoring the deb deps

* Remove more steps on static checks

* Reduce the number of tasks executed when the job already passed

* Remove cache used to save already-ran

* Cache debian dependencies

* Add dependency missing between jobs

* new step to copy dependencies

This is to avoid access error

* tar the debian dependencies

* Install latest covertool

* remove more steps

* adding path to bin in workspace

* Restore the spread tests but without already-ran

* fix tabs

* Create CHANGED_FILES var with default

* Updated the initial files for shellcheck and list the files used by covertool

* Fix how initial files are calculated
2022-05-18 11:14:28 -03:00
Michael Vogt
71206e030a Merge pull request #11794 from jhenstridge/removable-media-exec
interfaces: allow map and execute permissions for files on removable media
2022-05-18 14:41:05 +02:00
Michael Vogt
122cdf521e packaging: fix ./mkversion.sh under debian 2022-05-18 12:24:19 +02:00
Pawel Stolowski
96ef1f69cc Merge pull request #11756 from stolowski/test-connections-after-failed-refresh
tests: add spread test to verify that connections are preserved if snap refresh fails
2022-05-18 11:58:50 +02:00
Samuele Pedroni
9329b64a80 packaging,mkversion.sh: fixes for fedora and maybe mac tests 2022-05-18 10:19:26 +02:00
Alberto Mardegan
8267fc510d Merge pull request #11704 from mardy/apparmor-sandbox-profile-mocking
tests: Apparmor sandbox profile mocking
2022-05-18 10:56:23 +03:00
Michael Vogt
d6add57b49 Merge pull request #11779 from bboozzoo/bboozzoo/fde-keymgr-multiple-devs
cmd/snap-fde-keymgr: support for multiple devices and authorizations for add/remove recovery key
2022-05-18 09:52:01 +02:00
Michael Vogt
763703786c Merge pull request #11742 from valentindavid/valentindavid/recovery-trigger-uc22-fixes
cmd/snap-bootstrap: Listen to keyboard added after start and handle switch root
2022-05-18 09:51:05 +02:00
Michael Vogt
56ce525eef Merge pull request #11705 from Meulengracht/feature/interface-extra-layout
interfaces,overlord: add support for adding extra mount layouts
2022-05-18 09:36:45 +02:00
James Henstridge
d5e8e041cf interfaces: allow map and execute permissions for files on removable media 2022-05-18 12:51:34 +08:00
Sergio Cazzolato
5a2feb9f2d Fix auto-refresh-gating test forcing reset-failed before restart (#11793)
This is to avoid issue start-limit-hit:

● snapd.socket - Socket activation for snappy daemon
Loaded: loaded (/usr/lib/systemd/system/snapd.socket; enabled; vendor
preset: disabled)
Active: failed (Result: start-limit-hit) since Mon 2022-05-16
16:23:46 UTC; 11min ago
   Listen: /run/snapd.socket (Stream)
           /run/snapd-snap.socket (Stream)

May 16 16:23:46 may161603-595563 systemd[1]: Starting Socket activation
for snappy daemon.
May 16 16:23:46 may161603-595563 systemd[1]: Listening on Socket
activation for snappy daemon.
May 16 16:23:46 may161603-595563 systemd[1]: snapd.socket: Start request
repeated too quickly.
May 16 16:23:46 may161603-595563 systemd[1]: snapd.socket: Failed with
result 'start-limit-hit'.
May 16 16:23:46 may161603-595563 systemd[1]: Failed to listen on Socket
activation for snappy daemon.
2022-05-17 17:07:18 -03:00
Samuele Pedroni
faa8cb3d82 tests: spread test the changes to snapd/info 2022-05-17 21:24:14 +02:00
Samuele Pedroni
1f6c27adb7 asserts/info,mkversion.sh: capture max assertion formats in snapd/info 2022-05-17 20:39:12 +02:00
Sergio Cazzolato
73a1dca7c2 Check the reboot is comming by using journal-state match-log (#11791)
Instead of iterate doing match-log, the idea is to using the attributed
-n and --wait as we do with retry tool
2022-05-17 13:12:45 -03:00
Paweł Stołowski
51acf6838f Tweak the checks. 2022-05-17 16:16:42 +02:00
Maciej Borzecki
e276d22fa7 cmd/snap-fde-keymgr: use plural for multi-args, add validation of authorization, tweaks
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2022-05-17 15:43:45 +02:00
Michael Vogt
a9d558e30d Merge pull request #11778 from Meulengracht/feature/snapctl-model-6
cmd/snap: replace existing code for 'snap model' to use shared code in clientutil (2/3)
2022-05-17 14:57:10 +02:00
Maciej Borzecki
0ddbb9d740 Merge remote-tracking branch 'upstream/master' into bboozzoo/fde-keymgr-multiple-devs 2022-05-17 14:45:57 +02:00
Paweł Stołowski
d5e12ca48a Be explicit about expected install/try error. 2022-05-17 13:27:18 +02:00
Paweł Stołowski
cfdf28ba9c Add spread test to verify that connections are preserved if snap refresh
fails.
2022-05-17 13:27:18 +02:00
Michael Vogt
39c968886f Merge pull request #11720 from Saviq/patch-1
interfaces: fix opengl interface on RISC-V
2022-05-17 12:57:45 +02:00
Michael Vogt
63aae2f30e Merge pull request #11713 from bugraaydogar/baydogar-crytosetup
interfaces: allow access to the file locking for cryptosetup in the dm-crypt interface
2022-05-17 12:57:15 +02:00