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

zeeke / sriov-cni / 13672125679
37%
master: 46%

Build:
Build:
LAST BUILD BRANCH: us/lock-file-integration-test
DEFAULT BRANCH: master
Ran 05 Mar 2025 08:59AM UTC
Jobs 1
Files 12
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 Mar 2025 08:57AM UTC coverage: 36.535% (-0.8%) from 37.34%
13672125679

push

github

zeeke
integration-test

Having a test suite that covers the code from an out-of-process perspective helps
in testing specific scenarios, e.g. when the concurrency of multiple program instances
occurs. Also, using test doubles instead of real SR-IOV capable NICs makes tests fast
and portable, in a way that can be run at every commit.

Add a test suite that invokes a system-mocked version of the sriov CNI binary, in which
the `/sys` filesystem content is defined at code, and the network interfaces are of type dummy.

Add `test-integration` make target to invoke the test suite.

Signed-off-by: Andrea Panattoni <apanatto@redhat.com>

0 of 144 new or added lines in 2 files covered. (0.0%)

106 existing lines in 4 files now uncovered.

563 of 1541 relevant lines covered (36.53%)

1.88 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
29
0.0
0.0% test/integration/sriov_mocked.go
115
19.77
0.0% pkg/utils/testing.go

Uncovered Existing Lines

Lines Coverage ∆ File
19
19.77
0.0% pkg/utils/testing.go
21
70.07
1.27% pkg/config/config.go
32
0.0
0.0% pkg/cnicommands/cni.go
34
45.71
-28.7% pkg/utils/pci_allocator.go
Jobs
ID Job ID Ran Files Coverage
1 13672125679.1 05 Mar 2025 08:59AM UTC 12
36.53
GitHub Action Run
Source Files on build 13672125679
  • Tree
  • List 12
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13672125679
  • ba7c31ca on github
  • Prev Build on us/integration-tests (#13634438312)
  • Next Build on us/integration-tests (#13785620606)
  • Delete
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