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

kubevirt / containerized-data-importer / #5710
49%

Build:
DEFAULT BRANCH: main
Ran 11 Dec 2025 01:57AM UTC
Jobs 1
Files 157
Run time 1min
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

11 Dec 2025 01:41AM UTC coverage: 58.699% (+0.06%) from 58.644%
#5710

push

travis-ci

web-flow
Fix PVC size inflation during snapshot restore (#3973)

When restoring a PVC from a VolumeSnapshot, CDI was incorrectly adding
filesystem overhead to the requested storage size. This caused strict
CSI drivers (e.g., NetApp Trident) to reject the restore because the
inflated size exceeds what the snapshot can provide.

Snapshot restores are constrained by VolumeSnapshot.Status.RestoreSize,
and the caller (e.g., KubeVirt snapshot restore) already sets the PVC
size appropriately. CDI should not modify it.

This change updates RenderPvc to skip size inflation when the PVC has
a VolumeSnapshot as its DataSource or DataSourceRef.

Signed-off-by: Manuel Grandeit <m.grandeit@gmail.com>

17 of 17 new or added lines in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

17339 of 29539 relevant lines covered (58.7%)

0.65 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
61.37
-0.26% pkg/importer/vddk-datasource_amd64.go
Jobs
ID Job ID Ran Files Coverage
1 #5710.1 11 Dec 2025 01:56AM UTC 157
58.7
Source Files on build #5710
  • Tree
  • List 157
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e147bbdf on github
  • Prev Build on main
  • Next Build on main
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc