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

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

Build:
Build:
LAST BUILD BRANCH: MTV-6199
DEFAULT BRANCH: main
Ran 10 Feb 2020 10:45PM UTC
Files 45
Run time 10s
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.2

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

Source Files on job 4657.2
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3020
  • Travis Job 4657.2
  • e10d437e on github
  • Prev Job for on master (#4656.2)
  • Next Job for on master (#4670.2)
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