macos-latest lacking localhost #6383
Labels
bug report
documentation
Improvements or additions to documentation
OS: macOS
question
Further information is requested
Description
The macos-latest runner was failing on some Python tests I had written that made use of a simple TCP client and server. To confirm my suspicions, I added a
host localhost
command to one of my install dependencies step and sure enough I got:Why doesn't the runner have an
/etc/hosts
or similar entry forlocalhost
?Platforms affected
Runner images affected
Image version and build link
Is it regression?
Unsure
Expected behavior
I expect
localhost
to be defined as it is on ubuntu-latest.Actual behavior
localhost
is not found, so tests that refer to this hostname fail.Repro steps
Create a build script that runs
host localhost
to reproduce.The text was updated successfully, but these errors were encountered: