Commit Graph

  • 854873884f interfaces/modem-manager: add access to PCIe modems Alfonso Sánchez-Beato 2021-09-14 15:08:35 +02:00
  • 687d9b5bb4 Make sure the extra-snaps dir is created while nested tests are prepared Sergio Cazzolato 2021-09-14 09:53:10 -03:00
  • e42a3e27a5 sandbox: do not force devmode when system uses cgroup v2 Maciej Borzecki 2021-07-28 09:27:55 +02:00
  • f7dc13c2bd tests: drop checks for cgroup v2 warnings Maciej Borzecki 2021-07-28 09:22:33 +02:00
  • a093058eca cmd/libsnap-confine-private: drop the warning about incomplete cgroup v2 support Maciej Borzecki 2021-07-28 09:23:09 +02:00
  • 7771e7c713 packaging/ubuntu: pass GO111MODULE to dh_auto_test Maciej Borzecki 2021-09-14 12:53:53 +02:00
  • 4463b2735d Set validation sets on current snaps. Paweł Stołowski 2021-09-14 12:10:29 +02:00
  • 8c3b333654 Merge pull request #10764 from mardy/spread-ignore-oom Michael Vogt 2021-09-14 12:08:13 +02:00
  • f72bbee1d7 Merge pull request #10759 from mardy/timezone-fix Michael Vogt 2021-09-14 12:07:30 +02:00
  • 68ef3be1af go.mod: update secboot & go-efilib for 32-bit compat Dimitri John Ledkov 2021-09-14 10:09:09 +01:00
  • 890da7e840 Merge remote-tracking branch 'origin/master' into bump-secboot Dimitri John Ledkov 2021-09-14 10:06:44 +01:00
  • cdedfd7103 Update the tests to check both fake backend ops. Paweł Stołowski 2021-09-14 11:03:02 +02:00
  • efdbc5b85d tests/lib/tools/tests.device-cgroup: compatibility with old Python Maciej Borzecki 2021-09-01 13:00:11 +02:00
  • 7513ea598e tests/main/security-device-cgroups-strict-enforced: add test to demonstrate device cgroup being enforced Maciej Borzecki 2021-08-20 14:48:17 +02:00
  • e9b615cc72 tests/lib/tools/tests.device-cgroup: a tool for controlling device cgroup Maciej Borzecki 2021-08-20 08:16:26 +02:00
  • e2a733a664 test/lib/pkgdb: install bpftool on supported distributions Maciej Borzecki 2021-08-17 14:16:25 +02:00
  • 5c33257bee Merge branch 'master' into validation-sets/enforce-on-update Paweł Stołowski 2021-09-14 10:54:07 +02:00
  • fe4ea56609 Merge pull request #10628 from mardy/portal-helper Michael Vogt 2021-09-14 10:53:00 +02:00
  • 832d36ebaf Merge pull request #10773 from bboozzoo/bboozzoo/fix-microstack-unit-test-usr-libexec Michael Vogt 2021-09-14 10:48:45 +02:00
  • a125a37cca cmd/snap-confine: handle CURRENT_TAGS on systems that support it Maciej Borzecki 2021-09-14 10:46:52 +02:00
  • 3aef148ad6 Merge pull request #10661 from bboozzoo/bboozzoo/cgroupv2-device-cgroup-support Michael Vogt 2021-09-14 10:33:47 +02:00
  • 8affd74370 interfaces/builtin: fix microstack unit tests on distros using /usr/libexec Maciej Borzecki 2021-09-14 09:41:43 +02:00
  • 3e9908aca2 Merge pull request #10762 from mardy/service-task-message Michael Vogt 2021-09-14 09:37:23 +02:00
  • a76a5bb614 Tests for cohorts. Paweł Stołowski 2021-09-14 09:36:52 +02:00
  • cad1b9dd7f tests: increase memory quota in quota-groups-systemd-accounting Alberto Mardegan 2021-09-13 09:19:31 +03:00
  • 4b44973d85 Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-remodel-enable Maciej Borzecki 2021-09-14 09:18:11 +02:00
  • 1510164844 tests/main/snapd-state: add comment Alberto Mardegan 2021-09-14 09:50:46 +03:00
  • 79346537be tests/main/snapd-state: make chellcheck happy Alberto Mardegan 2021-09-14 09:40:11 +03:00
  • 7531f82780 Merge pull request #10754 from bboozzoo/bboozzoo/build-pkgs-without-network Maciej Borzecki 2021-09-14 08:28:09 +02:00
  • 38cf0e94bd Fix shell check Sergio Cazzolato 2021-09-13 14:32:29 -03:00
  • 6151af3135 Merge pull request #10748 from mardy/systemd-atleast Michael Vogt 2021-09-13 17:33:53 +02:00
  • 32df30be00 tests/lib/prepare: consistent use of arguments delimiter Maciej Borzecki 2021-09-13 16:48:38 +02:00
  • 075f2fd387 packaging/deb: consistently use -mod=vendor, comment why Sid is special Maciej Borzecki 2021-09-13 16:48:23 +02:00
  • 9ac41cc471 packaging/debian-sid: set the location of mkversion.sh output files Maciej Borzecki 2021-09-13 16:25:28 +02:00
  • 395eb29b7b mkversion: allow overriding output file location Maciej Borzecki 2021-09-13 16:25:13 +02:00
  • fafb7ef4c2 Merge pull request #10770 from mardy/mount-unit-format Michael Vogt 2021-09-13 14:58:18 +02:00
  • d2ee4db742 desktop: remove unused module Alberto Mardegan 2021-09-13 15:46:20 +03:00
  • 81f4caef02 Ignore/reset cohort if revision is required by validation set. Skip snaps that are already at the required revision on UpdateMany, report ErrNoUpdate from updateInfo. Remove duplicated test case. Paweł Stołowski 2021-09-13 14:31:58 +02:00
  • 912f80e2c1 tests: update spread test for new error message Alberto Mardegan 2021-09-13 15:27:39 +03:00
  • 2a1c3c1b5e o/configstate/configcore/journal: use systemd.EnsureAtLeast Alberto Mardegan 2021-09-09 10:42:12 +03:00
  • b18b14ede8 usersession: use new systemd.EnsureAtLeast() method Alberto Mardegan 2021-09-09 10:36:46 +03:00
  • 57ea536749 systemd: have a specific error for old systemd versions Alberto Mardegan 2021-09-09 10:21:06 +03:00
  • 0ef48aa37a o/servicestate: update quota control tests to use MockSystemdVersion Alberto Mardegan 2021-09-07 14:19:24 +03:00
  • 93c766478e systemd: allow mocking the systemd version Alberto Mardegan 2021-09-07 14:18:58 +03:00
  • 10588fdee9 Merge pull request #10738 from stolowski/refresh-control/check-inhibit-lock Pawel Stolowski 2021-09-13 11:58:50 +02:00
  • 0810d6ba54 Use BaseTest for refreshHintsTestSuite. Paweł Stołowski 2021-09-13 11:14:19 +02:00
  • 2a27cfc7b0 Move validationSetsSuite to snapstate_install_test.go Paweł Stołowski 2021-09-13 11:13:25 +02:00
  • 61104f97ae Merge branch 'master' into validation-sets/enforce-on-update Paweł Stołowski 2021-09-13 11:01:22 +02:00
  • 86c446dacd systemd: use text.template to generate mount unit Alberto Mardegan 2021-09-13 10:35:33 +03:00
  • 3961e0a97e cmd/libsnap-confine-private: more comment tweaks Maciej Borzecki 2021-09-13 08:36:03 +02:00
  • a84b4d979e Merge remote-tracking branch 'upstream/master' into bboozzoo/apparmor-no-profile-update-when-no-profile-for-sc Maciej Borzecki 2021-09-13 07:49:30 +02:00
  • b3dcb08e49 Merge remote-tracking branch 'upstream/master' into bboozzoo/cgroupv2-device-cgroup-support Maciej Borzecki 2021-09-13 07:30:36 +02:00
  • f50ddc1ff3 Update test nested tool part 2 Sergio Cazzolato 2021-09-10 17:49:27 -03:00
  • 6aa7520044 Merge pull request #10761 from stolowski/refresh-control/drop-unaffected-snaps-from-conditional-task Michael Vogt 2021-09-10 17:41:15 +02:00
  • 52e786ecef Merge pull request #10718 from anonymouse64/feature/clearer-uc20-core20-snap-download Michael Vogt 2021-09-10 17:39:53 +02:00
  • 8cbd240c3e Merge pull request #10653 from mardy/mount-control-1 Michael Vogt 2021-09-10 17:38:32 +02:00
  • 47b7888897 daemon: amend ssh keys coming from the store Michael Vogt 2021-09-10 17:16:47 +02:00
  • c3fa32ea55 Merge branch 'master' into validation-sets/enforce-on-update Paweł Stołowski 2021-09-10 17:19:27 +02:00
  • 8076cd2515 Split long lines. Paweł Stołowski 2021-09-10 17:19:07 +02:00
  • 17409048ef Add test for empty inhibit lock. Paweł Stołowski 2021-09-10 17:13:43 +02:00
  • 9a8ace070e Renamve --show-inhibit-lock to --show-lock and expand the description. Paweł Stołowski 2021-09-10 17:12:01 +02:00
  • bebdaee142 Implement snapctl refresh --show-inhibit-lock command for showing current value of refresh inhibit lock. Paweł Stołowski 2021-09-06 14:14:15 +02:00
  • fb13ea653d Merge pull request #10766 from stolowski/update-go-mod-deps Michael Vogt 2021-09-10 16:11:13 +02:00
  • b1ea8c29ad Merge branch 'master' into validation-sets/enforce-on-update Paweł Stołowski 2021-09-10 16:06:26 +02:00
  • 9ac27a5e75 Merge pull request #10697 from stolowski/validation-sets/enforce-on-install Pawel Stolowski 2021-09-10 15:56:28 +02:00
  • 8891cda79d Update go.mod dependencies. Paweł Stołowski 2021-09-10 14:17:08 +02:00
  • b1766a5747 o/devicestate: handle a case when an update during remodel is a simple channel switch Maciej Borzecki 2021-09-10 13:00:09 +02:00
  • 6e81e7562f Restore go.mod Paweł Stołowski 2021-09-10 13:13:20 +02:00
  • 84eb64169c Merge branch 'validation-sets/enforce-on-install' into validation-sets/enforce-on-update Paweł Stołowski 2021-09-10 13:12:25 +02:00
  • 012a02b54b overlord/state: helper for querying for task edge that may optionally exist in the task set Maciej Borzecki 2021-09-10 12:56:40 +02:00
  • 793e2104d6 systemd: add Origin to description Alberto Mardegan 2021-09-07 12:24:07 +03:00
  • b14a375a6c o/snapstate/backend: add method to remove mount units created by a snap Alberto Mardegan 2021-08-19 17:55:17 +03:00
  • 31cae3c30e tests: mock systemctl output for listing mount units Alberto Mardegan 2021-08-24 18:11:03 +03:00
  • ff307c1d85 systemd: add a method to list mount units created by a snap Alberto Mardegan 2021-08-19 17:52:27 +03:00
  • 7d86a7d247 systemd: allow creating temporary mount units Alberto Mardegan 2021-08-19 17:28:23 +03:00
  • 577155014d systemd: add AddMountUnitFileWithOptions() Alberto Mardegan 2021-08-19 15:43:56 +03:00
  • c92868d7d7 Add test case for cohort key ignored when validation set with required revision is present. Paweł Stołowski 2021-09-10 11:11:32 +02:00
  • c5334591bc Mention --ignore-validation flag in the error message when attempting to install a specifc revision that's not the require one. Don't set cohort when validation-set required revision is set. Paweł Stołowski 2021-09-10 11:02:52 +02:00
  • 11fc72180d Small naming tweaks (thanks mardy). Paweł Stołowski 2021-09-03 16:02:31 +02:00
  • 66dd91f470 Improve unit tests. Paweł Stołowski 2021-09-02 08:53:05 +02:00
  • bc4cc8dd14 Remove XXX comment about passing revision & cohort. Add unit test for a missing case of installing a specific rev. Paweł Stołowski 2021-09-01 13:07:35 +02:00
  • f885b81c5f Add test mocking to ctlcmd tests. Paweł Stołowski 2021-08-30 17:33:35 +02:00
  • f312bcd353 Handle enforcing on snap install. Paweł Stołowski 2021-08-30 17:30:15 +02:00
  • c7faf320d3 Move mocking of isGraphicalSession to SetUpTest. Paweł Stołowski 2021-09-10 09:50:07 +02:00
  • 2cf4ee0c9a Move waitWhileInhibited to the top of the file. Paweł Stołowski 2021-09-10 09:45:28 +02:00
  • 500931c3ce Resotre go.mod. Paweł Stołowski 2021-09-10 09:43:13 +02:00
  • a4160e71c3 Merge branch 'master' into wip/raa-ux Paweł Stołowski 2021-09-10 09:42:44 +02:00
  • 90bd0890b8 Merge branch 'wip/raa-ux' of ssh://github.com/zyga/snapd into wip/raa-ux Paweł Stołowski 2021-09-10 09:38:46 +02:00
  • 0035a8bbf3 Mock isGraphicalSession for text flow unit test so it's not affected when running on real desktop (thanks pedronis for spotting). Paweł Stołowski 2021-09-10 09:37:22 +02:00
  • b9242e77cc o/devicestate: do not override risk when UC18 model specifies a track Maciej Borzecki 2021-09-10 09:36:15 +02:00
  • 46476d7c7a o/servicestate: add one more test for reload-or-restart Alberto Mardegan 2021-09-10 09:26:18 +03:00
  • e21131229f o/devicestate: bring back the old behavior for UC18 models Maciej Borzecki 2021-09-10 08:10:04 +02:00
  • cfea6ca4a7 Merge pull request #10561 from sergiocazzolato/tests-revert-manuall-lxd-removal Sergio Cazzolato 2021-09-09 21:57:01 -03:00
  • 4397419538 Add two test cases for waitWhileInhibited, one covering notInhibited flag, the other covering output of textFlow. Paweł Stołowski 2021-09-07 12:55:26 +02:00
  • 3a1e62b673 Handle waitInhibitUnlock returning notInhibited bool to indicate whether we should display anything on refresh. Paweł Stołowski 2021-09-07 12:35:28 +02:00
  • dc2846cca1 Improve test checks, remove unneeded import. Paweł Stołowski 2021-09-06 17:20:26 +02:00
  • 129cea551f Wait for HintInhibitedForRefresh first to account for gate-auto-refresh hook, then wait for HintNotInhibited. Do not wait when running hooks. Paweł Stołowski 2021-07-06 13:15:12 +02:00
  • cfb9436961 Tweak zenity title, fix comment. Paweł Stołowski 2021-06-28 16:42:15 +02:00
  • db4e22fb5e Remove unused hellper. Make title start with capital letter. Allow cancel button on the zenity dialog. Paweł Stołowski 2021-06-23 12:16:08 +02:00
  • cb07a931a7 Use WAYLAND_DISPLAY env var to find the display server. Pawel Stolowski 2021-06-23 12:09:59 +02:00