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

mozillazg / ptcpdump / 46006392112
72%

Build:
DEFAULT BRANCH: master
Ran 27 Nov 2026 01:38PM UTC
Jobs 1
Files 78
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

27 Nov 2026 01:21PM UTC coverage: 72.318% (+0.3%) from 71.999%
46006392112

push

github

web-flow
fix(output): resolve devices in the packet's network namespace (#431)

The same ifindex can exist in several network namespaces and the
tc/cgroup-skb backends don't attach the namespace to the packet event.
GetByKnownIfindex iterated a map and returned the first ifindex match,
so with --netns the wireguard packets were annotated with the host's
docker0 (or with wg0, depending on the map iteration order).

Prefer devices from the given network namespace and use the other
namespaces only as a fallback, sorted by inode, so the same packet is
always annotated with the same device name.

Add a unit test with two network namespaces sharing an ifindex and
assert the device name in the wireguard e2e test.

24 of 24 new or added lines in 2 files covered. (100.0%)

9 existing lines in 3 files now uncovered.

4462 of 6170 relevant lines covered (72.32%)

0.72 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
79.72
-2.36% internal/metadata/container/docker/docker.go
2
60.31
-0.52% bpf/event.go
2
82.69
2.31% internal/metadata/container/containerd/containerd.go
Jobs
ID Job ID Ran Files Coverage
1 46006392112.1 27 Nov 2026 01:38PM UTC 78
72.32
GitHub Action Run
Source Files on build 46006392112
  • Tree
  • List 78
  • Changed 8
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46006392112
  • 6d5f4577 on github
  • Prev Build on master (#46001632644)
  • Next Build on master (#46128473687)
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