Commit Graph

  • bd0a7ec738 Also skip if SNAPD_SKIP_SLOW_TESTS is set. Paweł Stołowski 2021-09-07 10:52:01 +02:00
  • 9a223981ba packaging: ship the snapd.apparmor.service unit in debian Michael Vogt 2021-09-07 09:49:12 +02:00
  • 561959cbfb Merge remote-tracking branch 'upstream/master' into bboozzoo/core-tests-with-memory-limit Maciej Borzecki 2021-09-07 10:10:28 +02:00
  • d1008b6ba6 Merge pull request #10744 from bboozzoo/bboozzoo/staticchecks-fix-ifacestate Maciej Borzecki 2021-09-07 10:10:03 +02:00
  • d816a3a9ea overlord/ifacestate: fix arguments in unit tests Maciej Borzecki 2021-09-07 09:28:36 +02:00
  • d64dd3417b spread: show memory limit of snapd service set in the memory controller Maciej Borzecki 2021-09-07 09:08:46 +02:00
  • 903eda237a Manually stop the fakedevicesvc service Sergio Cazzolato 2021-09-06 18:42:41 -03:00
  • e43a49fa44 coreconfig: make netplan tests more realistic and rework setting (i.e. always clear config first) Michael Vogt 2021-09-06 22:12:11 +02:00
  • 1803ee32d1 Merge remote-tracking branch 'upstream/master' into tests-revert-manuall-lxd-removal Sergio Cazzolato 2021-09-06 16:49:59 -03:00
  • 148fbfe4e2 fix gadget instead of gedget Sergio Cazzolato 2021-09-06 16:38:56 -03:00
  • 36bf8496d4 Remove debug changes Sergio Cazzolato 2021-09-06 16:24:51 -03:00
  • 207bb8f2dd Add new fucntion to retrieve assets path Sergio Cazzolato 2021-09-06 15:53:11 -03:00
  • 85a4f24482 Merge remote-tracking branch 'upstream/master' into tests-move-nested-part1 Sergio Cazzolato 2021-09-06 15:48:40 -03:00
  • 59659cc621 Moving functions to tests.nested tool Sergio Cazzolato 2021-09-06 14:40:30 -03:00
  • 16441ec521 Merge pull request #10728 from mvo5/undo-repo-connection-on-failing-do-connect Michael Vogt 2021-09-06 20:35:11 +02:00
  • 56aee654e6 configcore: add support to unset netplan configuration Michael Vogt 2021-09-06 20:32:27 +02:00
  • 97e5720dd1 configcore: implement netplan write support via dbus Michael Vogt 2021-09-06 13:32:51 +02:00
  • 59b437e0f2 boot: update tests to match changes in master Maciej Borzecki 2021-09-06 19:32:06 +02:00
  • fc5b004454 Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-recovery-capable-system Maciej Borzecki 2021-09-06 19:30:29 +02:00
  • 227eecccdb boot: make sure that recovery capable system is always listed last in the bootenv Maciej Borzecki 2021-09-06 19:28:41 +02:00
  • e27782abf3 interfaces/block-devices: support to access the state of block devices Hsieh-Tseng Shen 2021-09-07 00:05:54 +08:00
  • c613ba9862 Improve test checks, remove unneeded import. Paweł Stołowski 2021-09-06 17:20:26 +02:00
  • 32c34fdf99 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
  • 6860724cca Tweak zenity title, fix comment. Paweł Stołowski 2021-06-28 16:42:15 +02:00
  • 54bad86125 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
  • 75519870a3 Use WAYLAND_DISPLAY env var to find the display server. Pawel Stolowski 2021-06-23 12:09:59 +02:00
  • c29a71ffb8 Tests for WaitInhibitUnlock. Paweł Stołowski 2021-06-22 13:07:23 +02:00
  • 8656b29df0 Add tests for snap run. Paweł Stołowski 2021-06-22 12:50:29 +02:00
  • 29a46c3f64 Exclude services from runinhibit check in snap run. Paweł Stołowski 2021-06-22 11:08:52 +02:00
  • dfe76fb363 Use progress bar to handle both terminal & headless flow. Paweł Stołowski 2021-06-22 10:23:35 +02:00
  • 56e68c1207 Move the loop that waits for runinhibit unlock to a waitInhibitUnlock helper. Paweł Stołowski 2021-06-22 10:11:46 +02:00
  • 062c31ce5f runinhibit: fix typo "hint" Zygmunt Krynicki 2020-08-21 19:46:59 +02:00
  • 650a9082fa cmd/snap: wait while inhibition file is present Zygmunt Krynicki 2019-10-30 14:18:58 +01:00
  • d04c4e66cb Merge pull request #10701 from MiguelPires/rm-unused-params Michael Vogt 2021-09-06 15:55:56 +02:00
  • 3eb809834f o/snapstate/backend: example link-snap fault Maciej Borzecki 2021-09-06 14:24:05 +02:00
  • 93538f50dc osutil: helper for injecting run time faults in snapd Maciej Borzecki 2021-09-06 14:22:39 +02:00
  • fdda79262d Fix format Paweł Stołowski 2021-09-06 14:31:04 +02:00
  • a33bb49a5d configcore: implement storeReachable() helper in netplan config Michael Vogt 2021-09-06 12:31:30 +02:00
  • 0c63e4c5ff boot: tweak bootenv variable naming, update unit tests Maciej Borzecki 2021-09-06 11:52:21 +02:00
  • 90422f6f0e More tests. Paweł Stołowski 2021-09-06 11:55:29 +02:00
  • 7b6b5e8384 Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-recovery-capable-system Maciej Borzecki 2021-09-06 11:32:05 +02:00
  • 9c2e653270 Enforce validation sets on refresh. Paweł Stołowski 2021-09-06 11:20:34 +02:00
  • 455e159dd9 Skip overlord tests on riscv64 due to timeouts. Paweł Stołowski 2021-09-06 10:28:32 +02:00
  • 813f258768 Small naming tweaks (thanks mardy). Paweł Stołowski 2021-09-03 16:02:31 +02:00
  • fd5482b5ab Improve unit tests. Paweł Stołowski 2021-09-02 08:53:05 +02:00
  • eeb9b75f62 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
  • 1494752492 Add test mocking to ctlcmd tests. Paweł Stołowski 2021-08-30 17:33:35 +02:00
  • 47532161ed Handle enforcing on snap install. Paweł Stołowski 2021-08-30 17:30:15 +02:00
  • d726dc9683 Merge pull request #10243 from stolowski/refresh-failing-prereq Michael Vogt 2021-09-06 09:40:21 +02:00
  • 6f03dec340 Merge remote-tracking branch 'upstream/master' into refresh-failing-prereq Michael Vogt 2021-09-06 09:13:53 +02:00
  • f50b1dca83 Merge pull request #10722 from bboozzoo/bboozzoo/fix-nested-refresh-revert-fundamentals Michael Vogt 2021-09-06 09:12:06 +02:00
  • eeac42283c Merge pull request #10730 from anonymouse64/feature/cloud-init-grade-signed-filtered-n-plus-1 Maciej Borzecki 2021-09-06 08:45:28 +02:00
  • 33b26132a8 Merge pull request #10735 from anonymouse64/release/2.52-changelog-to-master Michael Vogt 2021-09-04 19:13:06 +02:00
  • d77e83c660 Merge branch 'release/2.52' Ian Johnson 2021-09-03 23:46:02 -05:00
  • 52aaeb3249 release: 2.52 2.52 Ian Johnson 2021-09-03 18:15:08 -05:00
  • 85bc5c7221 interface/builtin: add qualcomm-ipc-router interface for AF_QIPCRTR socket protocol Michael Vogt 2021-09-03 22:55:11 +02:00
  • 0b4b09d9fb o/ifacestate: special-case system-files and force refreshing its static attributes Pawel Stolowski 2021-09-03 21:22:42 +02:00
  • 1e90e728ab o/ifacestate: special-case system-files and force refreshing its static attributes Pawel Stolowski 2021-09-03 21:22:42 +02:00
  • 925f1a779c interface/builtin: add qualcomm-ipc-router interface for AF_QIPCRTR socket protocol Tsunghan Liu (Robert Liu) 2021-09-04 03:22:14 +08:00
  • e47b31ad3c Merge branch 'master' into tests-fix-libvirt-test Sergio Cazzolato 2021-09-03 15:44:11 -03:00
  • 76b081beee Merge pull request #10670 from sergiocazzolato/tests-new-snapd-state-manage Sergio Cazzolato 2021-09-03 15:36:24 -03:00
  • 3c9708c927 strutil/intersection.go: apply optimization from Miguel Ian Johnson 2021-09-03 11:50:36 -05:00
  • 95d9bea5d2 sysconfig/cloudinit: add cloudDatasourcesInUseForDir Ian Johnson 2021-09-03 10:48:19 -05:00
  • 46647a836f strutil: add Intersection() Ian Johnson 2021-09-03 10:37:26 -05:00
  • d224607921 Merge pull request #10729 from mardy/codecov-paths Michael Vogt 2021-09-03 16:27:36 +02:00
  • ed80225936 Merge pull request #10726 from mardy/mock-systemd-helper Michael Vogt 2021-09-03 16:27:25 +02:00
  • 1909c4a199 o/devicestate: new model snaps of base/kernel being already installed and needing an update Maciej Borzecki 2021-09-03 14:54:33 +02:00
  • 86f3a1dfc4 Merge branch 'master' into tests-new-snapd-state-manage Sergio Cazzolato 2021-09-03 08:41:11 -03:00
  • 5c6f390d22 codecov: fix files pathnames Alberto Mardegan 2021-09-03 14:41:11 +03:00
  • 3fcf88d6f2 o/devicestate: typo fix Maciej Borzecki 2021-09-03 13:24:38 +02:00
  • d6eb50b1b7 o/devicestate: refactor base channel switch handling during remodel Maciej Borzecki 2021-09-03 13:24:24 +02:00
  • 71f6b3484a don't specify rootDir Alberto Mardegan 2021-09-03 13:26:27 +03:00
  • f61fa69828 Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-remodel-enable Maciej Borzecki 2021-09-03 11:46:51 +02:00
  • 45ed587bf4 Update systemd/systemd.go Alberto Mardegan 2021-09-03 12:45:06 +03:00
  • 58075abd1a Update overlord/snapstate/backend/mountunit_test.go Alberto Mardegan 2021-09-03 12:44:56 +03:00
  • 6daeb8db9d ifacestate: undo repository connection if doConnect fails Michael Vogt 2021-09-03 10:45:59 +02:00
  • c2d4bb233d Merge pull request #10727 from bboozzoo/bboozzoo/fix-nested-extra-snap-assertions Michael Vogt 2021-09-03 10:30:00 +02:00
  • 80f42538e8 Merge remote-tracking branch 'upstream/master' into bboozzoo/core-tests-with-memory-limit Maciej Borzecki 2021-09-03 09:19:34 +02:00
  • f47536fefd tests/nested/core/extra-snaps-assertions: fix the match pattern Maciej Borzecki 2021-09-03 08:39:15 +02:00
  • c42859b320 Clean pc-kernel snap and remove sudo Sergio Cazzolato 2021-09-02 17:25:18 -03:00
  • 22ecbf1a13 tests/lib/prepare.sh: also delete the core20 snap/assert files Ian Johnson 2021-09-02 12:17:40 -05:00
  • f8e17a477e Merge pull request #10590 from pedronis/contextual-prepare-image Michael Vogt 2021-09-02 19:06:01 +02:00
  • 0595964e3a Merge pull request #10678 from stolowski/validation-sets/enforce-on-remove Michael Vogt 2021-09-02 19:03:00 +02:00
  • aa623a49ea many: remove unused parameters and returns Miguel Pires 2021-08-31 09:20:41 +01:00
  • a4a3a2372c Merge pull request #10724 from MiguelPires/update-deps Michael Vogt 2021-09-02 17:55:03 +02:00
  • 810fbc000c o/.../mountunit_test: rewrite tests to use the new systemd mock Alberto Mardegan 2021-09-02 18:33:52 +03:00
  • 9b2d256578 systemd: add a method to allow injecting mocked systemd objects Alberto Mardegan 2021-09-02 18:00:41 +03:00
  • 3a2ca86af3 systemd: export the Reporter type Alberto Mardegan 2021-09-02 17:59:30 +03:00
  • 0a6c72c6cb systemd: instantiate the systemd type in a separate function Alberto Mardegan 2021-09-02 17:47:18 +03:00
  • a16424cb2c tests/nested/manual/refresh-revert-fundamentals: fix quoting Maciej Borzecki 2021-09-02 15:56:31 +02:00
  • 2d8ee04cca tests/nested/manual/refresh-revert-fundamentals: wait longer for revert Maciej Borzecki 2021-09-02 15:07:40 +02:00
  • 2103a2cd57 Merge branch 'tests-revert-manuall-lxd-removal' of github.com:sergiocazzolato/snapd into tests-revert-manuall-lxd-removal Sergio Cazzolato 2021-09-02 08:49:55 -03:00
  • 19f1f70c43 Merge branch 'master' into tests-revert-manuall-lxd-removal Sergio Cazzolato 2021-09-02 08:43:27 -03:00
  • f62e69246d Merge branch 'master' into tests-new-snapd-state-manage Sergio Cazzolato 2021-09-02 08:40:22 -03:00
  • 4b60412a9f interfaces/network-control: additional ethernet rule Ian Johnson 2021-09-01 21:57:45 -05:00
  • e9a97602a6 Merge pull request #10719 from anonymouse64/feature/network-control-sys-class-net Michael Vogt 2021-09-02 13:18:45 +02:00
  • 75c9f46508 Back test to focal Sergio Cazzolato 2021-09-02 08:17:09 -03:00
  • 52973116b9 Merge remote-tracking branch 'upstream/master' into tests-fix-libvirt-test Sergio Cazzolato 2021-09-02 08:16:25 -03:00
  • e554ce778e Add missing unit test. Paweł Stołowski 2021-08-31 17:11:56 +02:00
  • 4aac21dae8 Use testutil.BaseTest. Paweł Stołowski 2021-08-31 16:58:23 +02:00