Skip to content

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Aug 8, 2024

This PR contains a snapshot of zed from upstream unmaintained/zed.

Note that this includes seemingly-unrelated test changes because we
were actually skipping the snapshot_running test for libvirt, which
has been a bug for years. In that test case, when we went to look
for image_meta.disk_format, that attribute was not set on the o.vo
object, which raised a NotImplementedError. That error is also checked
by the test to skip the test for drivers that do not support snapshot,
which meant that for libvirt, we haven't been running that case
beyond the point at which we create snapshot metadata and trip that
exception. Thus, once removing that, there are other mocks not in
place that are required for the test to actually run. So, this adds
mocks for qemu_img_info() calls that actually try to read the file on
disk, as well as the privsep chown() that attempts to run after.

Change-Id: Ie731045629f0899840a4680d21793a16ade9b98e
(cherry picked from commit d5a631b)
(cherry picked from commit 8c5929f)
(cherry picked from commit d2d3b2c)
(cherry picked from commit 77dfa4f)
@github-actions github-actions bot requested a review from a team as a code owner August 8, 2024 13:24
@github-actions github-actions bot added automated Automated action performed by GitHub Actions synchronisation labels Aug 8, 2024
@priteau priteau merged commit d0acba1 into stackhpc/zed Aug 8, 2024
@priteau priteau deleted the upstream/zed-2024-08-08 branch August 8, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated Automated action performed by GitHub Actions synchronisation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants