Our Windows Slave comes back with errors in the jenkins-slave.err.log that the host cannot be resolved:
com.splunk.splunkjenkins.utils.LogConsumer run
SEVERE: message not delivered:{length:3173 {"host":"our.host.com","index":"jenkins_console","sourcetype":"text:jenkins","time":"1660230122.365","source":"job}
java.net.UnknownHostException: http-inputs-ourhost.splunkcloud.com
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)
at java.net.InetAddress.getAllByName0(InetAddress.java:1277)
at java.net.InetAddress.getAllByName(InetAddress.java:1193)
at java.net.InetAddress.getAllByName(InetAddress.java:1127)
at com.splunk.splunkjenkins.utils.MultipleHostResolver.resolve(MultipleHostResolver.java:23)
at shaded.splk.org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112)
at shaded.splk.org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
at shaded.splk.org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
at shaded.splk.org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at shaded.splk.org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at shaded.splk.org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at shaded.splk.org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at shaded.splk.org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at shaded.splk.org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
at shaded.splk.org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:221)
at shaded.splk.org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165)
at shaded.splk.org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:140)
at com.splunk.splunkjenkins.utils.LogConsumer.run(LogConsumer.java:89)
It seems that the configured http-inputs-ourhost.splunkcloud.com entry is used on the slave which cannot be resolved...
Env:
Jenkins 2.334
Splunk Plugin 1.9.9
Splunk Plugin Extensions 1.9.9
Windows Slave in Kubernetes Cluster
... View more