CI: Use ubuntu-26.04 in the GMT Dev Tests workflow#4672
Conversation
|
There are two new failures with ubuntu-26.04: |
Check platform difference between Ubuntu 24.04 and Ubuntu 26.04 causing different results on x2sys_cross.
| raise ValueError( | ||
| platform.uname(), platform.freedesktop_os_release(), platform.libc_ver() | ||
| ) | ||
| if platform.machine() in {"aarch64", "arm64"}: | ||
| assert output.shape == (3894, 12) |
There was a problem hiding this comment.
There are two new failures with ubuntu-26.04:
Interesting, so the ubuntu-26.04 (specifically x86_64) results now match that of aarch64/arm64 before (#3778). I've debugged the CI matrix and found:
Ubuntu 26.04 (x86_64):
- Uname:
(uname_result(system='Linux', node='runnervmrd89b', release='7.0.0-1004-azure', version='#4-Ubuntu SMP PREEMPT Mon Apr 13 15:46:11 UTC 2026', machine='x86_64') - freedesktop_os_release:
{'NAME': 'Ubuntu', 'ID': 'ubuntu', 'PRETTY_NAME': 'Ubuntu 26.04 LTS', 'VERSION_ID': '26.04', 'VERSION': '26.04 LTS (Resolute Raccoon)', 'VERSION_CODENAME': 'resolute', ...} - libc_ver:
('glibc', '2.43')
Ubuntu 26.04 (arm):
- Uname:
(uname_result(system='Linux', node='runnervm48rkm', release='7.0.0-1004-azure', version='#4-Ubuntu SMP PREEMPT Mon Apr 13 15:33:32 UTC 2026', machine='aarch64') - freedesktop_os_release:
{'NAME': 'Ubuntu', 'ID': 'ubuntu', 'PRETTY_NAME': 'Ubuntu 26.04 LTS', 'VERSION_ID': '26.04', 'VERSION': '26.04 LTS (Resolute Raccoon)', 'VERSION_CODENAME': 'resolute', ...} - libc_ver:
('glibc', '2.43')
Ubuntu 24.04 (x86_64):
- Uname:
(uname_result(system='Linux', node='runnervm1li68', release='6.17.0-1018-azure', version='#18~24.04.1-Ubuntu SMP Thu May 28 16:39:11 UTC 2026', machine='x86_64') - freedesktop_os_release:
{'NAME': 'Ubuntu', 'ID': 'ubuntu', 'PRETTY_NAME': 'Ubuntu 24.04.4 LTS', 'VERSION_ID': '24.04', 'VERSION': '24.04.4 LTS (Noble Numbat)', 'VERSION_CODENAME': 'noble', ...} - libc_ver:
('glibc', '2.39')
Ubuntu 24.04 (arm):
- Uname:
(uname_result(system='Linux', node='runnervm0667l', release='6.17.0-1018-azure', version='#18~24.04.1-Ubuntu SMP Thu May 28 16:41:33 UTC 2026', machine='aarch64') - freedesktop_os_release:
{'NAME': 'Ubuntu', 'ID': 'ubuntu', 'PRETTY_NAME': 'Ubuntu 24.04.4 LTS', 'VERSION_ID': '24.04', 'VERSION': '24.04.4 LTS (Noble Numbat)', 'VERSION_CODENAME': 'noble', ...} - libc_ver:
('glibc', '2.39')
I'm aware that the glibc version changed from 2.39 -> 2.43 in Ubuntu 26.04, but not sure if that is whats causing the discrepancy. Does compiling GMT on a higher glibc version on x86_64 cause it to produce the 'correct'/same results as linux-aarch64 or osx-arm64? How should we modify the if-statement to handle this, considering Windows and Ubuntu-24.04 still produces the incorrect(?) result.
There was a problem hiding this comment.
How should we modify the if-statement to handle this, considering Windows and Ubuntu-24.04 still produces the incorrect(?) result.
Maybe do the inverted checking, i.e., checking if the os is windows or Ubuntu 26.04 x86_64.
Description of proposed changes
Xref https://github.blog/changelog/2026-06-11-new-runner-images-in-public-preview/
Also setting
deployment: falsefor the environment to silence the deployment messages (e.g. that were seen in #4653)Supersedes #3258