#5531 [jenkins] Please add hostname to hosts file
Closed: Fixed 7 years ago Opened 7 years ago by tomspur.

When testing mpi4py on jenkins, the slave cannot connect to it's own hostname (The port is randomly selected by MPI):

[proxy:1:0@jenkins-slave-f24.fedorainfracloud.org] HYDU_sock_connect (utils/sock/sock.c:172): unable to connect from "jenkins-slave-f24.fedorainfracloud.org" to "jenkins-slave-f24.fedorainfracloud.org" (Connection timed out)
[proxy:1:0@jenkins-slave-f24.fedorainfracloud.org] main (pm/pmiserv/pmip.c:189): unable to connect to server jenkins-slave-f24.fedorainfracloud.org at port 34973 (check for firewalls!)

As discussed with @puiterwijk on IRC: Could you please add the hostname to the hosts file, so that it properly resolves?


Done.

 # cat /etc/hosts
 127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
 ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

 172.25.32.116 jenkins-slave-f24.fedorainfracloud.org

@kevin changed the status to Closed

7 years ago

Thanks. Everything works now as expected.

Thanks. Everything works now as expected.

Login to comment on this ticket.

Metadata