Skip to content

Fix detection of hostname resolution failure #2841

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2025

Conversation

matejvasek
Copy link
Contributor

Changes

Fix detection of hostname resolution failure.
It appears that newer version of docker outputs different error when registry hostname is not resolvable.
We must account for that otherwise "in cluster dialer" would not kick in when necessary.

/kind bug

fix: in-culster-dialer not used when it should be when pushing image to in cluster registry

It appears that newer version of docker outputs different error when
registry hostname is not resolvable.

Signed-off-by: Matej Vašek <mvasek@redhat.com>
@knative-prow knative-prow bot added the kind/bug Categorizes issue or PR as related to a bug. label May 26, 2025
Copy link

knative-prow bot commented May 26, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matejvasek

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot requested review from jrangelramos and vyasgun May 26, 2025 17:48
@knative-prow knative-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 26, 2025
@matejvasek matejvasek requested review from matzew and lkingland and removed request for vyasgun May 26, 2025 17:49
Copy link

codecov bot commented May 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.47%. Comparing base (4c4fd28) to head (317e8a0).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2841      +/-   ##
==========================================
+ Coverage   62.68%   63.47%   +0.78%     
==========================================
  Files         127      127              
  Lines       15543    15545       +2     
==========================================
+ Hits         9743     9867     +124     
+ Misses       4890     4738     -152     
- Partials      910      940      +30     
Flag Coverage Δ
e2e-tests 43.63% <100.00%> (+1.46%) ⬆️
integration-tests 49.45% <0.00%> (+1.81%) ⬆️
unit-tests 49.53% <100.00%> (-0.02%) ⬇️

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.

@jrangelramos
Copy link
Contributor

/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label May 26, 2025
@knative-prow knative-prow bot merged commit 805cb5d into knative:main May 26, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants