Skip to content

java.net.ConnectException: Connection timed out on jenkins-workspace machines #3037

Closed
@richardlau

Description

@richardlau

Currently we're seeing a spate of java.net.ConnectException: Connection timed out on the jenkins-workspace machines in the CI. At first I thought it was the new jenkins-workspace machines but taking those offline and putting the old ones back online shows those are also exhibiting the issue.

e.g. https://ci.nodejs.org/job/node-test-commit-arm-debug/4135/console
test-packetnet-ubuntu1804-x64-1

22:13:11  > git clean -fdx # timeout=10
22:13:11 Exporting environment variable NODEJS_VERSION with Node.js version '19.0.0'
22:13:11 Exporting environment variable NODEJS_MAJOR_VERSION with Node.js major version '19'
22:13:11 Exporting parameter NODEJS_VERSION with Node.js version '19.0.0'
22:13:11 Exporting parameter NODEJS_MAJOR_VERSION with Node.js major version '19'
22:15:21 FATAL: Connection timed out
22:15:21 java.net.ConnectException: Connection timed out
22:15:21 	at java.base/sun.nio.ch.Net.connect0(Native Method)
22:15:21 	at java.base/sun.nio.ch.Net.connect(Net.java:579)
22:15:21 	at java.base/sun.nio.ch.Net.connect(Net.java:568)

https://ci.nodejs.org/job/node-test-commit-linux/47617/console
test-ibm-ubuntu1804-x64-1

22:10:54  > git clean -fdx # timeout=10
22:10:54 Exporting environment variable NODEJS_VERSION with Node.js version '19.0.0'
22:10:54 Exporting environment variable NODEJS_MAJOR_VERSION with Node.js major version '19'
22:10:54 Exporting parameter NODEJS_VERSION with Node.js version '19.0.0'
22:10:54 Exporting parameter NODEJS_MAJOR_VERSION with Node.js major version '19'
22:13:04 FATAL: Connection timed out
22:13:04 java.net.ConnectException: Connection timed out
22:13:04 	at java.base/sun.nio.ch.Net.connect0(Native Method)
22:13:04 	at java.base/sun.nio.ch.Net.connect(Net.java:579)
22:13:04 	at java.base/sun.nio.ch.Net.connect(Net.java:568)

It's not consistent (several jobs running on the same jenkins-workspace machines pass) but often that I've not had a clean node-test-commit run in the last couple of hours.

Note that this git server being contacted prior to the time outs is github.com and not the temp binary repository (which is only used by the windows-fanned and arm-fanned jobs).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions