Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize Debian in CI #3499

Open
Tracked by #3317
targos opened this issue Sep 22, 2023 · 12 comments
Open
Tracked by #3317

Modernize Debian in CI #3499

targos opened this issue Sep 22, 2023 · 12 comments

Comments

@targos
Copy link
Member

targos commented Sep 22, 2023

Our Debian hosts are not in a very good shape:

  • 2 x64 hosts with Debian 8 (EoL, offline for outdated Java)
  • 2 x64 hosts with Debian 9 (EoL, offline for outdated Java)
  • 2 x64 hosts and 3 armv7l containers with Debian 10 (EoL in 9 months, GCC 10 not available)

CleanShot 2023-09-22 at 15 24 37

https://endoflife.date/debian

@targos
Copy link
Member Author

targos commented Sep 22, 2023

My suggestions:

  • Repurpose Debian 8 x64 to Debian 11
  • Repurpose Debian 9 x64 to Debian 12
  • Keep Debian 10 x64 for now, especially since it's one of the Docker distributions for Node.js 20.
  • Skip Debian 10 for testing Node.js 21 and later

I don't know what to do about the container setup.

@richardlau
Copy link
Member

I don't know what to do about the container setup.

We stopped testing on Debian 10 armv7l for Node.js 20 due to the available version of libstc++ (#3274, rvagg/rpi-newer-crosstools#2). At least for armv7l I'd be okay moving the Debian 10 container to Debian 11.

targos added a commit to targos/nodejs-build that referenced this issue Nov 4, 2023
targos added a commit to targos/nodejs-build that referenced this issue Nov 4, 2023
targos added a commit that referenced this issue Nov 5, 2023
targos added a commit to targos/nodejs-build that referenced this issue Nov 6, 2023
targos added a commit to targos/nodejs-build that referenced this issue Nov 6, 2023
targos added a commit to targos/nodejs-build that referenced this issue Nov 22, 2023
targos added a commit to targos/nodejs-build that referenced this issue Dec 7, 2023
targos added a commit to targos/nodejs-build that referenced this issue Dec 8, 2023
targos added a commit to targos/nodejs-build that referenced this issue Dec 8, 2023
Remove debian8 as all machines were replaced.

Refs: nodejs#3499
targos added a commit that referenced this issue Dec 8, 2023
Remove debian8 as all machines were replaced.

Refs: #3499
@targos
Copy link
Member Author

targos commented Dec 8, 2023

Status:

@richardlau
Copy link
Member

It looks like the two builds so far on test-rackspace-debian11-x64-1 have failed, possibly due to running out of memory:
https://ci.nodejs.org/computer/test%2Drackspace%2Ddebian11%2Dx64%2D1/builds
image

@richardlau
Copy link
Member

Looks like test-rackspace-debian11-x64-1 only has 2GB of memory:

$ ssh test-rackspace-debian11-x64-1 free -h
               total        used        free      shared  buff/cache   available
Mem:           1.9Gi       320Mi       1.5Gi       1.0Mi       134Mi       1.5Gi
Swap:             0B          0B          0B
$

@targos
Copy link
Member Author

targos commented Dec 8, 2023

What's our relationship with Rackspace? Can I resize the VM without introducing issues with billing/credits?

@richardlau
Copy link
Member

I don't know 😞.

@richardlau
Copy link
Member

richardlau commented Dec 8, 2023

I'll try to add swap to the machine in the meantime. We have a lot of space:

$ ssh test-rackspace-debian11-x64-1 df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            972M     0  972M   0% /dev
tmpfs           198M  504K  198M   1% /run
/dev/xvda1       40G  4.4G   34G  12% /
tmpfs           988M     0  988M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           198M     0  198M   0% /run/user/0
$

Edit: adding swap (#3587) has allowed the builds to complete 🎉.

@targos
Copy link
Member Author

targos commented Dec 24, 2023

I was going to reinstall test-softlayer-debian9-x64-1 but Debian 12 is not available on IBM Cloud:
CleanShot 2023-12-24 at 11 38 14@2x

targos added a commit that referenced this issue Jan 3, 2024
ansible: replace DO debian9-x64-1 with debian12-x64-1

Refs: #3499
@richardlau
Copy link
Member

I was going to reinstall test-softlayer-debian9-x64-1 but Debian 12 is not available on IBM Cloud

Looks like it is there now:
image

I've started an OS reload to Debian 12 on test-softlayer-debian9-x64-1 (or test-softlayer-debian12-x64-1 as it appears to labelled in IBM Cloud) -- the UI claims this will take at least 94 mins.

@richardlau
Copy link
Member

I've started an OS reload to Debian 12 on test-softlayer-debian9-x64-1 (or test-softlayer-debian12-x64-1 as it appears to labelled in IBM Cloud) -- the UI claims this will take at least 94 mins.

Despite that I've just got a confirmation email saying the reload is complete.

@targos
Copy link
Member Author

targos commented Jan 22, 2024

@richardlau Thanks, I'm working on ansible changes in #3613

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants