[
https://issues.apache.org/jira/browse/MINIFICPP-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabor Gyimesi resolved MINIFICPP-1540.
--------------------------------------
Resolution: Fixed
> getaddrinfo calls fail in CI ubuntu builds
> ------------------------------------------
>
> Key: MINIFICPP-1540
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1540
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Gabor Gyimesi
> Assignee: Gabor Gyimesi
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> According to [~szaszm]: "The problem is that we use {{gethostname}} to query
> the machine's hostname and then resolving that using {{getaddrinfo}} to
> determine the IP address, and this fails. Someone messed up the
> {{/etc/hosts}} file on the github executors."
>
> The {{/etc/hosts }}file should be set up properly on the hosts before
> starting the build.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)