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

mozillazg / ptcpdump / 46252211613
72%

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2026 10:39AM 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

29 Nov 2026 10:24AM UTC coverage: 72.112% (+0.1%) from 72.017%
46252211613

push

github

web-flow
fix(output): resolve the interface among the attached devices (#437)

tc/cgroup events don't carry the network namespace of the packet, so a
packet without process info was resolved with an unknown namespace and
fell back to the smallest inode (usually the host). When the host has a
device with the same ifindex, the output showed the wrong interface
(e.g. erspan0 instead of the captured veth ev1).

Record the devices ptcpdump attaches to (the ones returned by
GetDevices()) and prefer them when the event's namespace is unknown. The
exact namespace still wins when the event carries one.

Reproduced with an ICMP port-unreachable (kernel generated, no process):

  before: 09:01:47 erspan0 In IP ... ICMP
  after:  09:02:34 ev1@4026532478 In IP ... ICMP

Add a unit test with two namespaces sharing an ifindex and update the
known-limitations docs (the limitation no longer applies).

41 of 43 new or added lines in 1 file covered. (95.35%)

1 existing line in 1 file now uncovered.

4507 of 6250 relevant lines covered (72.11%)

0.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
88.84
0.86% internal/metadata/device.go

Coverage Regressions

Lines Coverage ∆ File
1
62.5
-12.5% bpf/report.go
Jobs
ID Job ID Ran Files Coverage
1 46252211613.1 29 Nov 2026 10:39AM UTC 78
72.11
GitHub Action Run
Source Files on build 46252211613
  • Tree
  • List 78
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46252211613
  • 7e4ef54f on github
  • Prev Build on master (#46244754227)
  • Next Build on master (#46259669441)
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