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

kubevirt / containerized-data-importer / #5234
59%
main: 49%

Build:
Build:
LAST BUILD BRANCH: bazel-push-images-use-skopeo
DEFAULT BRANCH: main
Ran 20 Apr 2025 07:27AM UTC
Jobs 1
Files 155
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

20 Apr 2025 07:20AM UTC coverage: 59.194% (+0.02%) from 59.172%
#5234

Pull #3704

travis-ci

Acedus
include error message for upload failure due to lack of space

The uploadserver features two handler functions for sync and async
uploads.

The async upload handler correctly reports an error message if QEMU
image size validation errors due to lack of space in the target by
appending the error message to the HTTP response. The sync upload
handler, however, does not.

This commit makes error handling for failed upload identical between
both handlers. Furthermore, it also checks for ENOSPC errors during
write as can happen when the image is streamed directly into target
instead of going through scratch space first (e.g., raw images). It also
consolidates the sync and async upload failure e2e tests into a single
DescribeTable and improves upon its clarity.

Signed-off-by: Adi Aloni <aaloni@redhat.com>
Pull Request #3704: uploadserver, tests: include error message for upload failure due to lack of space

11 of 20 new or added lines in 2 files covered. (55.0%)

2 existing lines in 1 file now uncovered.

16820 of 28415 relevant lines covered (59.19%)

0.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
63.42
0.03% pkg/uploadserver/uploadserver.go
5
29.41
-12.25% pkg/importer/errors.go

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 #5234.1 20 Apr 2025 07:27AM UTC 155
59.19
Source Files on build #5234
  • Tree
  • List 155
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3704
  • PR Base - 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