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

nagayon-935 / mping / 23640233132
83%

Build:
DEFAULT BRANCH: main
Ran 27 Mar 2026 09:41AM UTC
Jobs 1
Files 10
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 Mar 2026 09:40AM UTC coverage: 83.053% (+0.08%) from 82.973%
23640233132

push

github

nagayon-935
fix(pinger): prevent concurrent traceroutes from sharing the same traceID

When multiple targets run traceroute concurrently, time.Now().Nanosecond()
can return the same value for goroutines that start nearly simultaneously,
causing all of them to generate the same traceID.

Since broadcastTrace fans out every received ICMP packet to all registered
traceCh channels, and acceptPacket filters by traceID, a collision meant
every traceroute accepted responses meant for the first target — making all
traceroutes appear to reach the same host.

Fix 1: Replace time-based traceID with an atomic counter per Pinger so each
concurrent TraceRoute call gets a strictly unique ID.

Fix 2: Remove the "if !ok { accept }" fallback in acceptPacket for
ICMPTypeTimeExceeded. Packets whose ID/seq cannot be extracted should be
rejected, not accepted without verification.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

1 of 1 new or added line in 1 file covered. (100.0%)

2568 of 3092 relevant lines covered (83.05%)

0.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23640233132.1 27 Mar 2026 09:41AM UTC 10
83.05
GitHub Action Run
Source Files on build 23640233132
  • Tree
  • List 10
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d5d6c4a0 on github
  • Prev Build on main (#23639916047)
  • Next Build on main (#23676308275)
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