rpm-ostree/tests/vmcheck
Jonathan Lebon 7911b14f49 daemon: Fix cached-update including no-op diffs
The `cached-update` variant would mark a bunch of RPMs as upgraded even
if they didn't actually change. The issue turned out to be we were doing
the diff all wrong in the staged deployment case. I'm not sure what I
was thinking in #1344, but essentially, we were marking all layered RPMs
in the staged deployment as updates instead of only marking those
layered RPMs which were actually changed EVR.

We just simplify the approach here by directly doing a pkglist diff
between the booted and staged deployments and consuming that. That's
really all there is to it! Reduces the code quite a bit too.

Closes: #1446

Closes: #1455
Approved by: cgwalters
2018-07-28 06:53:40 +00:00
..
fetch-journal.sh vmcheck: prep for parallel runs 2017-03-13 00:42:13 +00:00
install.sh tests: Correctly error out if some part of install.sh fails 2017-11-29 14:42:25 +00:00
multitest.py multitest.py: error if no hosts given 2017-08-15 15:40:35 +00:00
overlay.sh vmcheck: Drop selinux-policy hack 2018-02-27 15:44:11 +00:00
sync.sh daemon: add RPMOSTREE_DEBUG_DISABLE_DAEMON_IDLE_EXIT 2017-10-12 15:35:44 +00:00
test-autoupdate-check.sh daemon: Fix cached-update including no-op diffs 2018-07-28 06:53:40 +00:00
test-autoupdate-stage.sh status: Rework auto-update status display 2018-07-10 13:26:37 +00:00
test-cached-rpm-diffs.sh tests: Split test-basic into misc-{1,2} 2018-04-16 17:53:20 +00:00
test-db.sh app/db-list: Use pkglist metadata when possible 2018-03-15 15:49:44 +00:00
test-download-only.sh tests: Replace some more libvm bits with Ansible 2018-03-14 14:13:07 +00:00
test-initramfs.sh tests: Make two more tests compatible with deployment staging 2018-07-21 13:58:21 +00:00
test-kernel-args.sh tests/kernel-args: Prep for staged 2018-07-12 17:44:15 +00:00
test-layering-basic-1.sh tests/vmcheck: Split basic layering tests in two 2018-06-04 14:10:21 +00:00
test-layering-basic-2.sh daemon/deploy: Allow layering with no-layering option 2018-06-22 15:07:42 +00:00
test-layering-gpg.sh tests/libvm: use rsync and add yumrepo mode 2017-10-06 18:20:59 +00:00
test-layering-local.sh libpriv/origin: Allow removing local RPMs by name only 2018-06-12 14:55:40 +00:00
test-layering-non-root-caps.sh tests/vmcheck: turn on strict bash mode 2017-10-02 20:36:07 +00:00
test-layering-relabel.sh core: Change relabeling to use libostree's SELinux support 2017-12-08 15:01:32 +00:00
test-layering-relayer.sh tests/vmcheck: turn on strict bash mode 2017-10-02 20:36:07 +00:00
test-layering-rpmdb.sh core: handle shared files and multilib 2018-02-08 21:58:55 +00:00
test-layering-scripts.sh tests: Make two more tests compatible with deployment staging 2018-07-21 13:58:21 +00:00
test-layering-unified.sh tests/vmcheck: turn on strict bash mode 2017-10-02 20:36:07 +00:00
test-livefs.sh tests: Replace some more libvm bits with Ansible 2018-03-14 14:13:07 +00:00
test-meta-staged-layering-relayer.sh tests: Extend staging to cover vmcheck/upgrades 2018-05-02 19:20:26 +00:00
test-meta-staged-upgrades.sh tests: Extend staging to cover vmcheck/upgrades 2018-05-02 19:20:26 +00:00
test-misc-1.sh tests: Split test-basic into misc-{1,2} 2018-04-16 17:53:20 +00:00
test-misc-2.sh rebase: Add support for "custom origin" descriptions 2018-07-20 18:47:51 +00:00
test-override-kernel.sh ci: Bump to F28 2018-05-23 14:18:41 +00:00
test-override-local-replace.sh vmcheck/override-replace: Fix status jq test 2018-04-05 15:26:46 +00:00
test-override-remove.sh app/override: Don't crash on no change 2018-06-13 20:32:37 +00:00
test-override-replace-2.sh core: Don't rm-rf directories when doing overrides 2018-04-20 16:07:44 +00:00
test-pinned-commit.sh Handle "pinned commits" specifically 2018-06-11 20:37:58 +00:00
test-reset.sh Add new reset command 2018-06-26 20:32:28 +00:00
test-rojig-client.sh tests/vmcheck: Fix rojig expected NEVRA for f28 2018-06-04 14:10:21 +00:00
test-upgrades.sh app: Add an updateupgrade alias 2018-07-09 14:21:32 +00:00
test.sh Add an experimental option to use libostree's "staging" API 2018-05-02 13:46:37 +00:00