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

kubevirt / containerized-data-importer / #6160
50%
main: 50%

Build:
Build:
LAST BUILD BRANCH: add-hpe-xp-hitachi-min-pvc-size
DEFAULT BRANCH: main
Ran 05 Aug 2026 12:32AM UTC
Jobs 1
Files 159
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

05 Aug 2026 12:19AM UTC coverage: 49.8% (+0.03%) from 49.77%
#6160

Pull #4223

travis-ci

vladikr
importer: add tests for controller-level bootc detection

Add thorough tests for the new bootc detection code:

transport.go:
- GetImageLabels returns correct labels from bootc and non-bootc images
- GetImageLabels returns error for invalid source
- IsBootcLabels correctly identifies bootc labels (7 table-driven cases
  covering both label keys, wrong values, nil/empty maps)

import-controller.go:
- PVC with fatal error annotation from bootc detection blocks pod creation
- checkBootcImage skips non-registry sources
- checkBootcImage gracefully handles unreachable endpoints
- checkBootcImage gracefully handles missing secrets

Signed-off-by: Vladik Romanovsky <vladikr@redhat.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pull Request #4223: importer: detect bootc/ostree-bootable container images

62 of 94 new or added lines in 3 files covered. (65.96%)

24 existing lines in 3 files now uncovered.

15191 of 30504 relevant lines covered (49.8%)

0.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
24
70.14
-0.76% pkg/controller/import-controller.go
8
75.92
2.05% pkg/importer/transport.go

Coverage Regressions

Lines Coverage ∆ File
11
54.39
-4.6% cmd/openstack-populator/openstack-populator.go
11
0.0
0.0% pkg/operator/resources/cluster/rbac.go
2
63.74
-0.23% pkg/importer/vddk-datasource_amd64.go
Jobs
ID Job ID Ran Files Coverage
1 #6160.1 05 Aug 2026 12:32AM UTC 159
49.8
Source Files on build #6160
  • Tree
  • List 159
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #4223
  • PR Base - main (#)
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