Commit Graph

  • df16ec7945 One more tweak related to the order of old-xxx storing. Paweł Stołowski 2021-11-08 12:55:58 +01:00
  • fca5c25f2a Move storing of old-revert-status closer to the rest of the undo-related code. Paweł Stołowski 2021-11-08 12:51:34 +01:00
  • ed62acc5eb Save/restore RevertStatus for undo. Paweł Stołowski 2021-11-05 08:27:57 +01:00
  • c84d121e75 Don't unlock/lock state around settle() in the tests. Paweł Stołowski 2021-11-04 17:13:27 +01:00
  • b4c23ce528 Maintain a RevertStatus map in snapstate and allow Revert() with NotBlocked flag - such revision isn't considered as blocked in Block() logic for refreshes. Paweł Stołowski 2021-10-29 14:20:52 +02:00
  • 42e92226df Merge pull request #11026 from mvo5/flakytests/partially-revert-memory-limits-pr10241 Michael Vogt 2021-11-09 11:27:14 +01:00
  • c88f14c01a Merge pull request #10962 from stolowski/validation-sets/validation-sets-stack Michael Vogt 2021-11-09 11:26:24 +01:00
  • 84d49ba6c9 Merge branch 'tests-enable-lxd-for-impish' of github.com:sergiocazzolato/snapd into tests-enable-lxd-for-impish Sergio Cazzolato 2021-11-08 23:10:38 -03:00
  • aa063bf037 Merge pull request #11008 from sergiocazzolato/tests-update-spread-log-parser Sergio Cazzolato 2021-11-08 20:18:48 -03:00
  • f7c59ba994 Merge remote-tracking branch 'upstream/master' into tests-enable-lxd-for-impish Sergio Cazzolato 2021-11-08 17:47:48 -03:00
  • d622f7626b Using os.query from snapd-testing-tools project Sergio Cazzolato 2021-11-08 17:46:47 -03:00
  • 502d2c7e15 Merge remote-tracking branch 'upstream/master' into tests-use-external-tools Sergio Cazzolato 2021-11-08 16:57:34 -03:00
  • 397efc83ff interfaces/network-manager-observe: Update for libnm client library Alex Murray 2021-10-21 15:04:54 +10:30
  • bc91127015 Merge pull request #10973 from alexmurray/network-manager-observe-update-for-dart-applications Michael Vogt 2021-11-08 20:00:21 +01:00
  • 929c6b0909 Merge pull request #11014 from mvo5/auto-refresh-ntp-debug Michael Vogt 2021-11-08 19:43:54 +01:00
  • 96985095dc tests: (partially) revert the memory limits PR#r10241 Michael Vogt 2021-11-08 19:40:13 +01:00
  • 52c37735ad Merge pull request #11024 from pedronis/reseal-is-modeenv-based Michael Vogt 2021-11-08 19:29:11 +01:00
  • 008d644e08 cmd/snap-seccomp/syscalls: update syscalls to match libseccomp abad8a8f4 Maciej Borzecki 2021-11-05 13:13:21 +01:00
  • f5b7474afc Merge pull request #11018 from bboozzoo/bboozzoo/libseccomp-syscalls-update Michael Vogt 2021-11-08 19:23:55 +01:00
  • c573eb7f91 boot: expand on the fact that reseal taking modeenv is very intentional Samuele Pedroni 2021-11-08 17:49:00 +01:00
  • 0d534881c9 Merge pull request #11017 from bboozzoo/bboozzoo/setenforce-stuck-on-centos Michael Vogt 2021-11-08 16:54:29 +01:00
  • d812c70b5a define the branch to use for the submodule Sergio Cazzolato 2021-11-08 12:20:55 -03:00
  • 9765e6840a Merge pull request #10987 from MiguelPires/wrong-retain-rev Michael Vogt 2021-11-08 15:52:33 +01:00
  • 9851ea7e03 example of a correct value to be sent to mongo as a spread_error Sergio Cazzolato 2021-11-08 10:45:34 -03:00
  • cb3e738329 Rename all to current. Paweł Stołowski 2021-11-05 10:52:11 +01:00
  • 0e728de1af Unexport addCurrentTrackingToValidationSetsHistory. Paweł Stołowski 2021-11-04 12:25:40 +01:00
  • 476c687103 Revert api changes. Paweł Stołowski 2021-11-04 12:25:04 +01:00
  • f42a7da6b5 Fix format. Paweł Stołowski 2021-11-02 11:13:36 +01:00
  • e4b3b5ee68 Renamed currentTracking to validationSets. Paweł Stołowski 2021-11-02 11:08:06 +01:00
  • 991fedfe65 Remove changes to api_snaps.go. Paweł Stołowski 2021-11-02 10:54:51 +01:00
  • 1fabd7c1c5 Simplify the code a bit, unexport ValidationSetsHistoryTop, add extra comment. Paweł Stołowski 2021-11-02 10:30:51 +01:00
  • d5e8b99401 Drop old entries to keep the size validation-sets-history with a set limits. Paweł Stołowski 2021-10-28 17:40:36 +02:00
  • 4fc9694e9f Add sameAs helper, simplify (thanks bboozzoo). Paweł Stołowski 2021-10-28 17:24:13 +02:00
  • a98632be2b Fix format Paweł Stołowski 2021-10-25 14:47:31 +02:00
  • 926b610be8 Rename stack to history. Paweł Stołowski 2021-10-25 14:41:47 +02:00
  • 332dec9d5f Do not update the stack at the start of refresh/update, it only makes sense to update it on snap enforce .. and end of check-rerefresh. Paweł Stołowski 2021-10-21 17:38:34 +02:00
  • 30d880bfd1 Add extra check for number of entries in the stack. Paweł Stołowski 2021-10-21 16:32:19 +02:00
  • 1c2557419e Add functions to store the current state of validation sets tracking in a stack stored in the state. Update the stack when enforcing a validation set or refreshing all snaps. Paweł Stołowski 2021-10-21 14:03:05 +02:00
  • c39a51a2e4 Merge pull request #11019 from bboozzoo/bboozzoo/single-restart-taskrunner-test Maciej Borzecki 2021-11-08 12:26:53 +01:00
  • 2c39794030 Merge pull request #10867 from stolowski/notifications/monitor-closed Michael Vogt 2021-11-08 11:41:00 +01:00
  • 8d7e433f96 Merge remote-tracking branch 'origin/master' into riscv64-seccomp Dimitri John Ledkov 2021-11-08 10:16:15 +00:00
  • ed9dd7d048 Merge pull request #10920 from anonymouse64/feature/uc20-multi-volume-gadget-asset-updates-18 Maciej Borzecki 2021-11-08 10:43:06 +01:00
  • 8470268555 Merge pull request #11020 from mvo5/ftbs-devicestate-autorefresh-tests Michael Vogt 2021-11-08 09:53:08 +01:00
  • 9b0b08d53e interfaces: timezone-control, add permission for ListTimezones DBus call Oliver Grawert 2021-10-11 12:59:18 +02:00
  • 5590976c9b gadget, many: add model param to Update() Ian Johnson 2021-11-05 18:28:40 -05:00
  • 08240a9a24 osutil/disks/disks_linux.go: simplify/unify uint parsing of udev properties Ian Johnson 2021-11-05 14:53:05 -05:00
  • 132650a1e1 Merge remote-tracking branch 'upstream/master' into tests-use-external-tools Sergio Cazzolato 2021-11-05 16:45:42 -03:00
  • 0dfc10c42d osutil/disks: ensure the disk schema is always dos or gpt; make it lowercase Ian Johnson 2021-11-05 14:44:08 -05:00
  • 0153142e7f osutil/disks: make PartitionType always lower case, add tests for this Ian Johnson 2021-11-05 14:43:02 -05:00
  • 17986c5b2b Avoid sending empty lines to mongo db Sergio Cazzolato 2021-11-05 16:37:30 -03:00
  • 8fa7fec1cc osutil/disks: adjust error message handling Ian Johnson 2021-11-05 13:58:52 -05:00
  • 8188b649eb Merge pull request #11009 from anonymouse64/feature/snap-bootstrap-better-readme Ian Johnson 2021-11-05 12:52:02 -05:00
  • 27afe1b686 devicestate: mock devicestate.MockTimeutilIsNTPSynchronized to avoid host env leaking into tests Michael Vogt 2021-11-05 16:59:36 +01:00
  • f2ccd2bd90 timeutil: return NoTimedate1Error if it can't connect to the system bus Michael Vogt 2021-11-05 16:52:47 +01:00
  • e4d943bf03 Merge pull request #10974 from flotter/build-deps Michael Vogt 2021-11-05 16:28:30 +01:00
  • 14f7490f89 overlord/state: add a unit test for a kernel+base refresh like sequence Maciej Borzecki 2021-11-05 14:45:09 +01:00
  • f9bae74773 cmd/snap-bootstrap/README.md: adjust docs Ian Johnson 2021-11-05 08:45:36 -05:00
  • 76fa9be513 Update how the log parser is used Sergio Cazzolato 2021-11-05 10:41:22 -03:00
  • 960346874d Merge pull request #10998 from stolowski/fix-bad-refresh-candidates-state-entry Michael Vogt 2021-11-05 13:24:05 +01:00
  • 3ec74734a0 tests/main/snap-seccomp-syscalls: show the log of the most recent commit in libseccomp Maciej Borzecki 2021-11-05 13:16:15 +01:00
  • 035727e993 tests: add ntp debug code to snapd-state test too Michael Vogt 2021-11-05 13:13:40 +01:00
  • 0b4ced8646 cmd/snap-seccomp/syscalls: update syscalls to match libseccomp abad8a8f4 Maciej Borzecki 2021-11-05 13:13:21 +01:00
  • e4024d1f60 data/selinux: update the policy to allow snapd to talk to org.freedesktop.timedate1 Maciej Borzecki 2021-11-05 10:52:53 +01:00
  • 9e74f3ea02 Remove refresh-candidates if gate-auto-refresh-hook is not enabled. Paweł Stołowski 2021-11-04 13:19:29 +01:00
  • 454cccc4ea Do not prune refresh-candidates if gate-auto-refresh-hook feature is not enabled. This makes it symmetrical with auto-refresh logic which only overwrites refresh-candidates state entry if that feature is enabled. This is a workaround for a case where snapd from edge was used and created the entry using "old" array format; the format was later changed to a map, but if in the meantime the feature got disabled, the new format would never be written to the state by auto-refresh, so pruning code would always fail trying to unmarshall refresh-candidates in the old format. Paweł Stołowski 2021-11-02 14:34:47 +01:00
  • 4399f0db58 o/snapstate: test relink remodel helpers do a proper subset of doInstall and rework the verify*Tasks helpers Samuele Pedroni 2021-11-05 10:46:51 +01:00
  • 7f92970e40 tests: add ntp related debug around "auto-refresh" test Michael Vogt 2021-11-04 18:24:36 +01:00
  • 1e8f1139da Tweak the comment Pawel Stolowski 2021-11-05 08:31:38 +01:00
  • 4f5eed80b6 Fix spread command to create spread log Sergio Cazzolato 2021-11-04 23:42:26 -03:00
  • 08956a115b fix misspelling Sergio Cazzolato 2021-11-04 22:16:45 -03:00
  • a53a0885c7 cmd/snap-bootstrap/README: adjust comments Ian Johnson 2021-11-04 19:54:08 -05:00
  • 6caf7148a3 New workflow step used to report spread error to mongodb Sergio Cazzolato 2021-11-04 18:37:27 -03:00
  • 899dae77a8 tests: don't check for br54 removal, still not fixed in netplan Michael Vogt 2021-11-04 21:54:31 +01:00
  • 3a13ce4930 configcore: add workaround for LP:1949893 Michael Vogt 2021-11-04 21:18:30 +01:00
  • c71a1b9379 tests: fix netplan-cfg test Michael Vogt 2021-11-04 20:34:41 +01:00
  • 42336f4c86 tests: use "00-snapd-config" as origin hint Michael Vogt 2021-11-04 16:58:56 +01:00
  • 0d268dd9fa o/snapstate: test backend is called with correct opts Miguel Pires 2021-11-04 18:47:13 +00:00
  • d4b3d00c0b o/snapstate: minor comment improvement Miguel Pires 2021-11-04 17:23:14 +00:00
  • 6aa022801a Merge remote-tracking branch 'upstream/master' into tests-use-external-tools Sergio Cazzolato 2021-11-04 14:18:38 -03:00
  • 489b89e133 Adding examples to the functions that get parts of the log Sergio Cazzolato 2021-11-04 14:16:00 -03:00
  • f1f958066e Merge pull request #11013 from bboozzoo/bboozzoo/mount-ns-inherit-update-again Michael Vogt 2021-11-04 18:01:10 +01:00
  • 91603a031b Merge branch 'master' into experimental-hide-snap Miguel Pires 2021-11-04 16:55:20 +00:00
  • 012b7c8552 many: test improvements and additions Miguel Pires 2021-11-04 16:42:02 +00:00
  • 4b213a44cc Release dbus name on Stop(). Paweł Stołowski 2021-11-04 16:53:44 +01:00
  • c2ba8e2e67 tests: increase timeouts to workaround slow GCE Michael Vogt 2021-11-04 16:01:26 +01:00
  • 7f967b7e9f Merge pull request #11011 from mvo5/netplan-apply-debug Michael Vogt 2021-11-04 15:16:57 +01:00
  • 67cc6bd213 configcore: add workaround for LP:1946957 and add more tests Michael Vogt 2021-11-04 15:14:06 +01:00
  • ba47e0f6e4 build-aux: make snapcraft.yaml riscv64 compatible Dimitri John Ledkov 2021-09-16 10:15:17 +01:00
  • a62fe41683 docs: add run-checks dependency install instruction Fred Lotter 2021-11-04 14:29:10 +02:00
  • 71d6173daa sandbox/cgroup: freeze and thaw cgroups related to services and scopes only Maciej Borzecki 2021-11-03 16:19:47 +01:00
  • 418ee82302 tests/main/mount-ns: make the test run early Maciej Borzecki 2021-11-04 12:30:06 +01:00
  • cedb71736a Merge remote-tracking branch 'upstream/master' into netplan-read-write Michael Vogt 2021-11-04 13:02:16 +01:00
  • 5394a56b58 tests: exclude 18.04-32 as well Michael Vogt 2021-11-04 12:56:17 +01:00
  • d550f860a2 many: wait for up to 10min for NTP syncronization before autorefresh Michael Vogt 2021-11-04 12:53:36 +01:00
  • 64c9bdc1fc Merge pull request #11005 from mvo5/snapd-state-init-change-id Michael Vogt 2021-11-04 12:53:02 +01:00
  • df88670efc tests: netplan on core does not have "netplan get" yet Michael Vogt 2021-11-04 12:50:17 +01:00
  • a5f69be2bf Merge pull request #11006 from bboozzoo/bboozzoo/freeze-only-relevant-groups Maciej Borzecki 2021-11-04 12:39:25 +01:00
  • 7eedc3e0b6 Merge branch 'master' into wrong-retain-rev Miguel Pires 2021-11-04 11:32:27 +00:00
  • 7fd3850dd9 Merge pull request #11012 from mvo5/qemu-nbd-moar-debug Michael Vogt 2021-11-04 12:24:38 +01:00
  • a2a837c81e o/hookstate: print cohort with snapctl refresh --pending (#10985) Pawel Stolowski 2021-11-04 10:43:09 +01:00