build icon indicating copy to clipboard operation
build copied to clipboard

Upgrade Ubuntu test machines to Ubuntu 24.04

Open targos opened this issue 3 months ago • 16 comments

These ones: https://ci.nodejs.org/label/ubuntu2204-64/

@nodejs/build Do you think it's ok to just replace them? Adding new VMs would be more conservative but I don't know if we can do that with our credits / agreements with the providers.

targos avatar Sep 10 '25 10:09 targos

I think we can just replace them.

There's also the benchmark machines that are used for the V8 CI and benchmark jobs: https://ci.nodejs.org/label/benchmark-ubuntu2204-intel-64/ as well as the containers used for sharedlib testing.

richardlau avatar Sep 10 '25 11:09 richardlau

See https://github.com/nodejs/build/pull/4145 I started by creating a new VM for testing. Then we can replace the existing ones.

targos avatar Sep 10 '25 14:09 targos

Ubuntu 16.04

There is https://ci.nodejs.org/computer/test%2Djoyent%2Dubuntu1604%5Farm%5Fcross%2Dx64%2D1/. Can we just delete it from Jenkins or is it referenced elsewhere?

targos avatar Sep 11 '25 07:09 targos

Ubuntu 18.04

Two machines are connected, but they have no recent history:

https://ci.nodejs.org/computer/test%2Dosuosl%2Dubuntu1804%5Fcontainer%2Darm64%2D1/ https://ci.nodejs.org/computer/test%2Dosuosl%2Dubuntu1804%5Fsharedlibs%5Fcontainer%2Darm64%2D1/

targos avatar Sep 11 '25 07:09 targos

Ubuntu 20.04

Two machines are disconnected:

https://ci.nodejs.org/computer/test%2Ddigitalocean%2Dubuntu2004%5Fdocker%2Dx64%2D1/ https://ci.nodejs.org/computer/test%2Ddigitalocean%2Dubuntu2004%5Fdocker%2Dx64%2D2/

targos avatar Sep 11 '25 07:09 targos

Hetzner (benchmark) machines

https://ci.nodejs.org/computer/test%2Dhetzner%2Dubuntu2204%2Dx64%2D1/ https://ci.nodejs.org/computer/test%2Dhetzner%2Dubuntu2204%2Dx64%2D2/

I don't think I have access to the Hetzner account, so I can't look at it to see if we can rebuild them with Ubuntu 24.04.

targos avatar Sep 11 '25 07:09 targos

Ubuntu 16.04

There is https://ci.nodejs.org/computer/test%2Djoyent%2Dubuntu1604%5Farm%5Fcross%2Dx64%2D1/. Can we just delete it from Jenkins or is it referenced elsewhere?

I'm fairly certain we can just delete it.

richardlau avatar Sep 11 '25 15:09 richardlau

ok, deleted

targos avatar Sep 11 '25 15:09 targos

https://github.com/nodejs/build/issues/4144#issuecomment-3278713863

@richardlau Can I delete these two containers and Jenkins hosts?

targos avatar Sep 25 '25 09:09 targos

#4144 (comment)

@richardlau Can I delete these two containers and Jenkins hosts?

Yes.

richardlau avatar Sep 25 '25 11:09 richardlau

Related to https://github.com/nodejs/build/issues/4144#issuecomment-3278723257 and https://github.com/nodejs/build/issues/3563, it seems like we have two large DO droplets (https://cloud.digitalocean.com/droplets/164538942, https://cloud.digitalocean.com/droplets/164538944) that are completely unused.

targos avatar Sep 26 '25 06:09 targos

Related to #4144 (comment) and #3563, it seems like we have two large DO droplets (https://cloud.digitalocean.com/droplets/164538942, https://cloud.digitalocean.com/droplets/164538944) that are completely unused.

Those are from https://github.com/nodejs/build/pull/1982 (the IP addresses match the Ansible inventory changes there), which was a (now abandoned) attempt to overhaul the way we run containerized builds. They can be deleted.

richardlau avatar Sep 26 '25 12:09 richardlau

I updated https://ci.nodejs.org/view/All/job/node-test-commit-linux-containered/ to use ubuntu2404_sharedlibs containers (for now only deployed to the IBM host).

targos avatar Oct 02 '25 07:10 targos

Working on the DO hosts now.

targos avatar Oct 02 '25 07:10 targos

Copying https://github.com/nodejs/build/issues/4144#issuecomment-3278948617

Hetzner (benchmark) machines

https://ci.nodejs.org/computer/test%2Dhetzner%2Dubuntu2204%2Dx64%2D1/ https://ci.nodejs.org/computer/test%2Dhetzner%2Dubuntu2204%2Dx64%2D2/

I don't think I have access to the Hetzner account, so I can't look at it to see if we can rebuild them with Ubuntu 24.04.

@ryanaslett I guess you have access to Hetzner? Is it possible to install Ubuntu 24.04 from scratch?

targos avatar Oct 03 '25 07:10 targos

@targos I do have access to Hetzner. Let me see how to make that more available.

ryanaslett avatar Oct 06 '25 19:10 ryanaslett