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

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

Build:
DEFAULT BRANCH: main
Ran 03 Jun 2026 08:01PM 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

03 Jun 2026 07:47PM UTC coverage: 49.428% (-0.1%) from 49.558%
#6036

push

travis-ci

web-flow
cdi: expose secure pprof endpoints for controller and operator (#4161)

pprof is Go's built-in profiling toolkit that exposes runtime
diagnostics (e.g., heap allocations, goroutine stacks, CPU profiles,
etc.) over HTTP. Exposing these endpoints enables live debugging of
memory leaks, goroutine leaks, and CPU hotspots in running controller
and operator pods without redeployment or recompilation.

This commit exposes the handlers via the existing metrics server by
relying on controller-runtime's ExtraHandlers along with the previously
introduced WithAuthenticationAndAuthorization which serves to secure
the handlers with TLS and RBAC auth. A new ClusterRole (cdi-pprof-reader)
is added to grant pprof access independently of metrics scraping.

Signed-off-by: Adi Aloni <aaloni@redhat.com>

0 of 37 new or added lines in 4 files covered. (0.0%)

21 existing lines in 3 files now uncovered.

14997 of 30341 relevant lines covered (49.43%)

0.55 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
0.0
0.0% pkg/operator/resources/cluster/controller.go
9
0.0
0.0% pkg/operator/resources/operator/operator.go
7
0.0
0.0% cmd/cdi-controller/controller.go
7
0.0
0.0% cmd/cdi-operator/operator.go

Coverage Regressions

Lines Coverage ∆ File
11
54.39
-4.6% cmd/openstack-populator/openstack-populator.go
6
56.77
-0.69% pkg/importer/imageio-datasource.go
4
78.45
-1.0% pkg/importer/http-datasource.go
Jobs
ID Job ID Ran Files Coverage
1 #6036.1 03 Jun 2026 08:01PM UTC 159
49.43
Source Files on build #6036
  • Tree
  • List 159
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3e128a8c on github
  • Prev 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

© 2026 Coveralls, Inc