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

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

Build:
Build:
LAST BUILD BRANCH: bazel-push-images-use-skopeo
DEFAULT BRANCH: main
Ran 20 Apr 2025 11:48AM 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 11:41AM UTC coverage: 59.212% (+0.04%) from 59.172%
#5236

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

12 of 16 new or added lines in 1 file covered. (75.0%)

16822 of 28410 relevant lines covered (59.21%)

0.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
63.42
0.03% pkg/uploadserver/uploadserver.go
Jobs
ID Job ID Ran Files Coverage
1 #5236.1 20 Apr 2025 11:48AM UTC 155
59.21
Source Files on build #5236
  • Tree
  • List 155
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
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