You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In macOS 11 it was possible to connect to the current CI runner via the hostname of the CI runner. Starting in macOS 12 it is only possible to connect to localhost but the resolution of the hostname to point to the same IP address like localhost does not work any longer. I have a simple example using python and zmq: https://github.com/jan-janssen/macOS-hostname-ci-debug
Platforms affected
Azure DevOps
GitHub Actions - Standard Runners
GitHub Actions - Larger Runners
Runner images affected
Ubuntu 20.04
Ubuntu 22.04
macOS 11
macOS 12
macOS 13
macOS 13 Arm64
macOS 14
macOS 14 Arm64
Windows Server 2019
Windows Server 2022
Image version and build link
20240218.1
Is it regression?
20240127.1
Expected behavior
The hostname should be resolved to the same address like localhost and the CI runner should allow connecting to this address.
Actual behavior
While connecting to localhost works, connecting via the hostname does not.
Hello @jan-janssen. Your issue looks like duplicate of this one #8649. I will close this issue, please follow the progress of #8649 issue.
If you have any other questions feel free to reach us.
Yes, that sounds like the same issue. I also maintain a Python application that uses ZMQ, we have pinned our CI to macos-11 to work around the issue. There is a partial workaround on the linked issue, I think it should be enough to get your example working again, but it doesn't fix the underlying DNS setup issue so, like us you may get issues with functional tests.
@Alexey-Ayupov, do you know how long the macos-11 runners will be available for?
Description
In
macOS 11
it was possible to connect to the current CI runner via thehostname
of the CI runner. Starting inmacOS 12
it is only possible to connect tolocalhost
but the resolution of thehostname
to point to the same IP address likelocalhost
does not work any longer. I have a simple example using python and zmq: https://github.com/jan-janssen/macOS-hostname-ci-debugPlatforms affected
Runner images affected
Image version and build link
20240218.1
Is it regression?
20240127.1
Expected behavior
The
hostname
should be resolved to the same address likelocalhost
and the CI runner should allow connecting to this address.Actual behavior
While connecting to
localhost
works, connecting via thehostname
does not.Repro steps
Simple python example:
While the example above works, it breaks when connecting via the hostname:
The only difference is connecting to
tcp://localhost:<port>
vs.tcp://<hostname>:<port>
.The text was updated successfully, but these errors were encountered: