Commit Graph

  • 5769e3a4e2 Tests for WaitInhibitUnlock. Paweł Stołowski 2021-06-22 13:07:23 +02:00
  • 38351e2806 Add tests for snap run. Paweł Stołowski 2021-06-22 12:50:29 +02:00
  • bce5940e21 Exclude services from runinhibit check in snap run. Paweł Stołowski 2021-06-22 11:08:52 +02:00
  • 740b958581 Use progress bar to handle both terminal & headless flow. Paweł Stołowski 2021-06-22 10:23:35 +02:00
  • bbc4b88cbf Move the loop that waits for runinhibit unlock to a waitInhibitUnlock helper. Paweł Stołowski 2021-06-22 10:11:46 +02:00
  • 2cff13e2f2 runinhibit: fix typo "hint" Zygmunt Krynicki 2020-08-21 19:46:59 +02:00
  • 3c4125e6b1 cmd/snap: wait while inhibition file is present Zygmunt Krynicki 2019-10-30 14:18:58 +01:00
  • 374bee9df2 Merge pull request #10763 from sergiocazzolato/tests-cache-more-snaps Sergio Cazzolato 2021-09-09 14:23:47 -03:00
  • 8de1460fa0 Merge branch 'master' into tests-split-test-tools Sergio Cazzolato 2021-09-09 14:20:15 -03:00
  • a2e7375864 o/servicestate: prefer listing explicit services Alberto Mardegan 2021-09-09 18:08:41 +03:00
  • 099d22d826 Merge pull request #10732 from anonymouse64/feature/cloud-init-grade-signed-filtered-n-plus-3 Michael Vogt 2021-09-09 17:21:53 +02:00
  • 57236fe164 avoid downloading core20 on 32 bits Sergio Cazzolato 2021-09-09 12:21:14 -03:00
  • 2c85755ced Merge pull request #10742 from sergiocazzolato/tests-move-nested-part1 Sergio Cazzolato 2021-09-09 12:09:34 -03:00
  • fe47b5d62c Merge pull request #10758 from anonymouse64/bugfix/missing-newline Michael Vogt 2021-09-09 16:41:13 +02:00
  • 2868d10ab1 packaging/debian-sid: disable modules, disable go generate Maciej Borzecki 2021-09-09 16:25:47 +02:00
  • fde5095964 interfaces/block-devices: support to access the state of block devices Hsieh-Tseng Shen 2021-09-07 00:05:54 +08:00
  • f80c936f38 Merge pull request #10741 from woodrow-shen/add-block-state Michael Vogt 2021-09-09 16:04:43 +02:00
  • ac68077246 Pre-cache snaps in classic and core systems Sergio Cazzolato 2021-09-09 09:52:55 -03:00
  • 1432dfd7a9 packaging/deb: pass mod=vendor, set Go invoke flags, specify package Maciej Borzecki 2021-09-09 14:00:34 +02:00
  • a8db1bd739 update-pot: pass flags for invoking Go set by the build process Maciej Borzecki 2021-09-09 13:39:11 +02:00
  • 76a32f9677 o/servicestate: Update task summary for restart action Alberto Mardegan 2021-09-09 15:23:46 +03:00
  • 95bd51ed3a Fix format Paweł Stołowski 2021-09-09 13:45:19 +02:00
  • 41bf1a3597 many: pick up special build time flags for invoking go while generating artifacts Maciej Borzecki 2021-09-09 13:36:57 +02:00
  • 5b080e9fe3 Update the map of refreshed snaps store on the conditional-auto-refresh task when we know what's going to actually be updated. This avoid unneeded conflicts on snaps that were held and won't get refreshed. Please enter the commit message for your changes. Lines starting Paweł Stołowski 2021-09-09 13:36:06 +02:00
  • 3491a81d99 tests: compare timestamps instead of dates Alberto Mardegan 2021-09-09 14:27:00 +03:00
  • 5d494e278c tests: be more robust against a new day stepping in Alberto Mardegan 2021-09-09 12:38:15 +03:00
  • 066bc7176e go.mod: update github.com/snapcore/bolt to latest release Maciej Borzecki 2021-09-09 11:37:44 +02:00
  • 15cce579b0 Handle ignore-validation flag on install/refresh. Paweł Stołowski 2021-09-09 11:08:50 +02:00
  • 005f554cc0 Merge pull request #10725 from stolowski/refresh-control/restrict-proceed Pawel Stolowski 2021-09-09 11:08:25 +02:00
  • ce51dd1d00 desktop/portal/document: remove unused variable Alberto Mardegan 2021-09-09 12:01:16 +03:00
  • a73ba9f7df Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-remodel-enable Maciej Borzecki 2021-09-09 10:47:27 +02:00
  • c7307b5232 o/devicestate: refactor remodel tasks handling, unify base and kernel snaps Maciej Borzecki 2021-09-09 10:16:45 +02:00
  • c05fdb7d5e Merge remote-tracking branch 'upstream/master' into netplan-read-write Michael Vogt 2021-09-09 09:37:58 +02:00
  • 5a0dbaf59d o/devicestate: do not try to update unasserted snaps when remodeling Maciej Borzecki 2021-09-09 09:34:35 +02:00
  • 0c7afc84d0 Merge pull request #10757 from mwhudson/include-libgcc-s1 Michael Vogt 2021-09-09 09:21:02 +02:00
  • 0b24f5cb00 Merge pull request #10688 from mvo5/netplan-read-only Michael Vogt 2021-09-09 09:19:24 +02:00
  • 972d9af9e3 image: fix test Michael Vogt 2021-09-09 09:18:36 +02:00
  • 1fb316ae7f interfaces, daemon: rename snapd-themes-control interface to snap-themes-control James Henstridge 2021-09-09 11:30:26 +08:00
  • abb038541e tests/lib/prepare.sh: also delete the core20-snap dir Ian Johnson 2021-09-08 22:24:56 -05:00
  • 2c45dfba80 image/image_linux.go: add newline Ian Johnson 2021-09-08 22:08:42 -05:00
  • 58e04e57a2 Merge remote-tracking branch 'upstream/master' into themes-api-access-check James Henstridge 2021-09-09 11:03:28 +08:00
  • 2a92215e6f Merge branch 'master' into feature/cloud-init-grade-signed-filtered-n-plus-2 Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-09-08 21:39:06 -05:00
  • afbcf492ea build-aux: stage libgcc1 library into snapd snap Michael Hudson-Doyle 2021-09-09 11:09:35 +12:00
  • 60fa015a01 tests/lib/prepare-restore: mark the end of parameters to unshare Maciej Borzecki 2021-09-08 19:43:42 +02:00
  • 21761a11ab sysconfig/cloudinit.go: adjust doc-comment for cloudDatasourcesInUseForDir Ian Johnson 2021-09-08 12:25:15 -05:00
  • 1356c9536b sysconfig/export_test.go: fix returned type from mocked function Ian Johnson 2021-09-08 12:14:54 -05:00
  • 43ed0276f6 Rename allowProceed to allowRefreshProceedOutsideHook. Paweł Stołowski 2021-09-08 17:57:21 +02:00
  • 55c3b45edb Connect snap-refresh-control interface. Verify --proceed is not allowed when disconnected. Paweł Stołowski 2021-09-03 10:44:07 +02:00
  • 86ac7a47ce Add snap-refresh-control interface to test snaps. Paweł Stołowski 2021-09-03 08:45:46 +02:00
  • 9e0891c772 Require snap-refresh-control interface for snapctl refresh --proceed from snaps. Paweł Stołowski 2021-09-02 16:48:37 +02:00
  • da19c55207 Merge branch 'master' into tests-revert-manuall-lxd-removal Sergio Cazzolato 2021-09-08 11:54:09 -03:00
  • 6b8ac78980 Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-remodel-enable Maciej Borzecki 2021-09-08 16:05:54 +02:00
  • 2cda1ad5e2 o/devicestate: check current tracking channel for base and kernel during remodel Maciej Borzecki 2021-09-08 16:04:14 +02:00
  • 7b0fda824c Merge remote-tracking branch 'upstream/master' into tests-move-nested-part1 Sergio Cazzolato 2021-09-08 09:40:33 -03:00
  • ada2d870ab Merge pull request #10743 from sergiocazzolato/tests-fix-nested-fakedevicesvc-running Sergio Cazzolato 2021-09-08 09:38:28 -03:00
  • d52049308d secboot: read an array of enough looking mockSealedKeyObjects Dimitri John Ledkov 2021-09-08 11:15:03 +01:00
  • 65c170fa3c secboot: fix imports order Dimitri John Ledkov 2021-09-08 10:17:56 +01:00
  • 5a57e87f3f Merge pull request #10717 from sergiocazzolato/tests-fix-libvirt-test Maciej Borzecki 2021-09-08 10:57:31 +02:00
  • ca38fa5087 prepare: also disable memory limiting on 16.04 and AMZN2 Maciej Borzecki 2021-09-08 10:18:52 +02:00
  • 445c27c48b tests/lib/prepare-restore: make sure that package build is done without network access Maciej Borzecki 2021-09-08 10:42:44 +02:00
  • b39a5673af Merge remote-tracking branch 'upstream/master' into bboozzoo/core-tests-with-memory-limit Maciej Borzecki 2021-09-08 10:17:07 +02:00
  • 22ef2d6b9b tests/lib/nested.sh: only wait for cloud-init if the VM is using cloud-init Ian Johnson 2021-09-07 21:14:00 -05:00
  • caf036126a tests/lib/nested.sh: split out additional helper for adding files to VM imgs Ian Johnson 2021-09-07 21:12:40 -05:00
  • 31cfd008c8 snap updated Sergio Cazzolato 2021-09-07 18:45:50 -03:00
  • a0f67e04cd Merge pull request #10749 from sergiocazzolato/tests-remove-travis-leftover Sergio Cazzolato 2021-09-07 16:42:14 -03:00
  • e0c1b63c2e configcore: add "nomanagers" tag to netplan Michael Vogt 2021-09-07 19:52:47 +02:00
  • 4b45603c5b Merge branch 'master' into tests-fix-libvirt-test Sergio Cazzolato 2021-09-07 13:55:13 -03:00
  • ad9a30377e Fix order to keep the defer file in PWD Sergio Cazzolato 2021-09-07 13:38:32 -03:00
  • 8a74e54078 Merge pull request #10746 from bboozzoo/bboozzoo/bump-delta-ref Michael Vogt 2021-09-07 18:23:06 +02:00
  • 81ee7783f7 Merge remote-tracking branch 'origin/master' into bump-secboot Dimitri John Ledkov 2021-09-07 17:18:06 +01:00
  • aeb707930e Run tests.cleanup restore in all the nested suites Sergio Cazzolato 2021-09-07 13:12:33 -03:00
  • 0592ab05b3 tests: fix netplan-cfg set tests Michael Vogt 2021-09-07 17:56:34 +02:00
  • 5e5d130699 packaging: ship the snapd.apparmor.service unit in debian Michael Vogt 2021-09-07 09:49:12 +02:00
  • b7c88a730b Merge pull request #10745 from mvo5/unbreak-debian-sid Michael Vogt 2021-09-07 16:32:37 +02:00
  • cc012839d7 Merge pull request #10747 from mvo5/debian-control-dup Michael Vogt 2021-09-07 16:32:07 +02:00
  • 25d375b153 Merge remote-tracking branch 'upstream/master' into netplan-read-only Michael Vogt 2021-09-07 16:19:15 +02:00
  • 7f444c3f2a netplantest: move under dbusutil Michael Vogt 2021-09-07 16:19:11 +02:00
  • 4a2fb8a700 go.{mod,sum}: update go-efilib to known working version Dimitri John Ledkov 2021-09-07 15:00:41 +01:00
  • 9339680ed8 configcore: also error if core.system.network.netplan is set on classic and add missing test (thanks to Samuele) Michael Vogt 2021-09-07 15:49:24 +02:00
  • 944e278ab1 configcore: also error if core.system.network.netplan is set Michael Vogt 2021-09-07 15:46:41 +02:00
  • 8bbeed6ac5 Merge pull request #10545 from bboozzoo/bboozzoo/uc20-recovery-capable-system Michael Vogt 2021-09-07 15:44:20 +02:00
  • 0ba774f73b configcore: typo/comment fixes (thanks to Samuele) Michael Vogt 2021-09-07 15:41:03 +02:00
  • 4f222192c7 fix shellcheck error Sergio Cazzolato 2021-09-07 10:38:17 -03:00
  • b3c3e60c20 Merge pull request #10736 from stolowski/skip-overlord-tests-on-riscv64 Pawel Stolowski 2021-09-07 14:57:55 +02:00
  • 067aed5d43 tests: disable memory limit in tests that were seen to fail on core systems Maciej Borzecki 2021-09-07 14:56:01 +02:00
  • f5b9a5e7d4 tests/lib/prepare: disable snapd memory limit on UC16 and UC18 systems Maciej Borzecki 2021-09-07 14:55:27 +02:00
  • 7740c8a9cd secboot: port to new snapcore/secboot/tpm2 Dimitri John Ledkov 2021-09-01 17:04:49 +01:00
  • 3376b1946f secboot: port to snapcore/secboot/efi Chris Coulson 2021-06-01 17:40:47 +01:00
  • 13d5970d07 Remove travis leftovers Sergio Cazzolato 2021-09-07 09:18:10 -03:00
  • ce472d819c secboot: tweak TestResealKey so that it's clearer why it fails Michael Vogt 2021-09-06 10:16:37 +02:00
  • 173f4dac63 go.{mod,sum}: update other snapcore/secboot dependencies Michael Vogt 2021-09-06 09:44:04 +02:00
  • 6f64f3f1fa go.mod: move to github.com/snapcore/secboot rev df4c75f35110 Michael Vogt 2021-09-06 09:39:39 +02:00
  • a883f0af8f Merge remote-tracking branch 'upstream/master' into tests-move-nested-part1 Sergio Cazzolato 2021-09-07 08:39:21 -03:00
  • 32e2646d41 Merge remote-tracking branch 'upstream/master' into tests-fix-nested-fakedevicesvc-running Sergio Cazzolato 2021-09-07 08:38:56 -03:00
  • 37a243a628 tests/nested/core/core20-fault-inject: exercise fault injection Maciej Borzecki 2021-09-07 12:34:01 +02:00
  • 80fa489cd5 packaging: remove duplicated golang-go build-dependency Michael Vogt 2021-09-07 12:56:46 +02:00
  • 56aacd4749 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
  • 0e2c0697cd 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
  • 2dfa4d0e72 spread: bump delta ref to 2.52 Maciej Borzecki 2021-09-07 11:21:05 +02:00
  • ed4f0ff208 osutil: tweak error messages, extend unit tests Maciej Borzecki 2021-09-07 10:57:35 +02:00