Skip to content

ci: fix ParseAddr("localhost"): unable to parse IP#1293

Merged
MrAlias merged 3 commits into
open-telemetry:mainfrom
skl:skl/test-docker-host-ip
Feb 12, 2026
Merged

ci: fix ParseAddr("localhost"): unable to parse IP#1293
MrAlias merged 3 commits into
open-telemetry:mainfrom
skl:skl/test-docker-host-ip

Conversation

@skl
Copy link
Copy Markdown
Member

@skl skl commented Feb 12, 2026

Trying to reproduce a test failure with the following error:

API error (400): invalid JSON: ParseAddr("localhost"): unable to parse IP

Reproduced in b1cea4d, root cause:

Fixed by using the IP address 127.0.0.1 instead of the hostname localhost in order to pass stricter verification which now requires an IP address.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.41%. Comparing base (354a685) to head (7d64ee3).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1293      +/-   ##
==========================================
- Coverage   43.41%   43.41%   -0.01%     
==========================================
  Files         304      304              
  Lines       32779    32779              
==========================================
- Hits        14231    14230       -1     
- Misses      17631    17633       +2     
+ Partials      917      916       -1     
Flag Coverage Δ
integration-test 21.10% <ø> (+0.03%) ⬆️
integration-test-arm 0.00% <ø> (ø)
integration-test-vm-x86_64-5.15.152 0.00% <ø> (ø)
integration-test-vm-x86_64-6.10.6 0.00% <ø> (ø)
k8s-integration-test 2.36% <ø> (ø)
oats-test 0.00% <ø> (ø)
unittests 44.27% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@skl skl marked this pull request as ready for review February 12, 2026 18:28
@skl skl requested a review from a team as a code owner February 12, 2026 18:28
Copy link
Copy Markdown
Contributor

@grcevski grcevski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MrAlias MrAlias merged commit 9772495 into open-telemetry:main Feb 12, 2026
84 of 89 checks passed
@skl skl deleted the skl/test-docker-host-ip branch February 12, 2026 20:41
@pellared
Copy link
Copy Markdown
Member

@skl, thanks a lot

@MrAlias MrAlias added this to the v0.6.0 milestone Feb 23, 2026
@MrAlias MrAlias mentioned this pull request Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants