Summary
All CI jobs fail with fatal error: rados/librados.h: No such file or directory because go test ./pkg/... tries to compile CGO packages (cephfs, kvm) that depend on system libraries not installed in the GitHub Actions runner.
Evidence
fatal error: rados/librados.h: No such file or directory
Affects: ci-unit, ci-integration, ci-e2e-smoke
Proposed Fix
Either:
- Install
librados-dev in CI: sudo apt-get install -y librados-dev librbd-dev
- Or use build tags to skip CGO packages in CI:
go test -tags=!cgo ./pkg/...
- Or exclude CGO packages:
go test ./pkg/... -skip 'cephfs|kvm|libvirt'
Impact
CI is red on every push, which erodes trust in the CI pipeline.