• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubevirt / containerized-data-importer / 4657
74%
main: 50%

Build:
Build:
LAST BUILD BRANCH: add-hpe-xp-hitachi-min-pvc-size
DEFAULT BRANCH: main
Ran 10 Feb 2020 10:45PM UTC
Jobs 1
Files 45
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Feb 2020 10:29PM UTC coverage: 61.716% (-0.4%) from 62.084%
4657

push

travis-ci

web-flow
Disable caching when converting qcow2 images (#1102)

When converting images the qemu-img command uses a writeback cache mode
by default.  This means that writes to a block device go through the
host page cache and are lazily flushed to the storage device.  When
using this cache mode, the process can exit before all writes have
reached storage and our DataVolume could appear ready to use before all
I/O has completed.  This becomes a problem with shared storage because a
second host does not have the benefit of the first host's page cache
when reading.  To prevent this problem we must perform I/O directly to
the storage device.  This behavior is selected by passing "-t" "none" to
qemu-img.

This problem will not arise with "create", "info", or "resize" qemu-img
commands because those are metadata operations.

The following document provides some good background on qemu cache modes:
https://documentation.suse.com/sles/11-SP4/html/SLES-kvm4zseries/cha-qemu-cachemodes.html

Signed-off-by: Adam Litke <alitke@redhat.com>

5028 of 8147 relevant lines covered (61.72%)

0.68 hits per line

Jobs
ID Job ID Ran Files Coverage
2 4657.2 10 Feb 2020 10:45PM UTC 0
61.72
Travis Job 4657.2
Source Files on build 4657
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4657
  • e10d437e on github
  • Prev Build on master (#4656)
  • Next Build on master (#4670)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc