[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35069: runtest takes too long on get_local_hostname

From: Andreas Schwab
Subject: bug#35069: runtest takes too long on get_local_hostname
Date: Mon, 01 Apr 2019 15:39:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

On Apr 01 2019, Tom de Vries <address@hidden> wrote:

> Usually the testsuite runs in 12 seconds, but sometimes it takes more
> than a minute (I managed to reproduce the same problem by running a
> single gcc testsuite test-case).
> I tracked this down to tcl info hostname taking a long time, when:
> - having a vpn session active, and
> - having no network connection

Tcl calls gethostbyname on your hostname, so you should make sure that
it is resolvable (by adding it to /etc/hosts, for example, or installing
nss-myhostname).  That's probably a good idea anyway, since there may be
other programs trying to do that too.


Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]