It is not unusual at all for live tests to fail on build systems or
containers which may not be configured as typical production environments.
In your case, it sounds like /etc/hosts on both systems is not
configured appropriately for resolving localhost. So it is a system
config issue on the system running the tests. We typically recommend
end users exclude the live tests for this reason.
-Brad
On 1/1/21 4:56 PM, Jeffrey Walton wrote:
> On Fri, Jan 1, 2021 at 2:33 PM Jeffrey Walton <noloader_at_gmail.com> wrote:
>> I'm seeing some self test failures on Solaris 11.3, x86_64.
>>
>> ...
> Alpine Linux 3.10.5 x86_64 is also failing.
>
> $ cat c-ares-1.17.1/test/arestest.log | grep FAIL
> [ FAILED ] Modes/DefaultChannelModeTest.LiveGetLocalhostByNameV4/0,
> where GetParam() = "f" (0 ms)
> [ FAILED ] Modes/DefaultChannelModeTest.LiveGetLocalhostByNameV4/2,
> where GetParam() = "fb" (1 ms)
> [ FAILED ] Modes/DefaultChannelModeTest.LiveGetLocalhostByAddrV4/0,
> where GetParam() = "f" (0 ms)
> [ FAILED ] Modes/DefaultChannelModeTest.LiveGetLocalhostByAddrV4/2,
> where GetParam() = "fb" (0 ms)
> [ FAILED ] 4 tests, listed below:
> [ FAILED ] Modes/DefaultChannelModeTest.LiveGetLocalhostByNameV4/0,
> where GetParam() = "f"
> [ FAILED ] Modes/DefaultChannelModeTest.LiveGetLocalhostByNameV4/2,
> where GetParam() = "fb"
> [ FAILED ] Modes/DefaultChannelModeTest.LiveGetLocalhostByAddrV4/0,
> where GetParam() = "f"
> [ FAILED ] Modes/DefaultChannelModeTest.LiveGetLocalhostByAddrV4/2,
> where GetParam() = "fb"
> 4 FAILED TESTS
> FAIL arestest (exit status: 1)
>
> Jeff
Received on 2021-01-02