Update image to 24.04 LTS (originally was: 24.10)
The CI of geomodelatlas is failing as the 23.10 image cannot reach the package server
INFO[0079] Running: [/bin/sh -c apt-get update]
Ign:1 http://archive.ubuntu.com/ubuntu mantic InRelease
Ign:2 http://security.ubuntu.com/ubuntu mantic-security InRelease
Ign:3 http://archive.ubuntu.com/ubuntu mantic-updates InRelease
Err:4 http://security.ubuntu.com/ubuntu mantic-security Release
404 Not Found [IP: 91.189.91.81 80]
Ign:5 http://archive.ubuntu.com/ubuntu mantic-backports InRelease
Err:6 http://archive.ubuntu.com/ubuntu mantic Release
404 Not Found [IP: 91.189.91.81 80]
Err:7 http://archive.ubuntu.com/ubuntu mantic-updates Release
404 Not Found [IP: 91.189.91.81 80]
Err:8 http://archive.ubuntu.com/ubuntu mantic-backports Release
404 Not Found [IP: 91.189.91.81 80]
Reading package lists...
E: The repository 'http://security.ubuntu.com/ubuntu mantic-security Release' no longer has a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu mantic Release' no longer has a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu mantic-updates Release' no longer has a Release file.
E: The repository 'http://archive.ubuntu.com/ubuntu mantic-backports Release' no longer has a Release file.
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 100
-> upgrade the image to the latest available ubuntu version
- Update XereceC to 3.3.0
- Download all sources from github. The atlas-vp1 pages are pretty much dead
Should we start tagging the ubuntu-geant4-image to use it in the GeoModel pipeline?
Merge request reports
Activity
mentioned in merge request GeoModel!416 (merged)
Hi @jojungge , thanks for this update to the Ubuntu image!
For the Ubuntu version itself, I would leave @boudreau to comment because I don't use Ubuntu directly.
However, concerning the Coin/SoQt sources, instead of picking them from GitHub, for consistency I would rather use the same sources we use for the macOS Homebrew packages, stored on our geomodel EOS space:
(Of course, picking the same version from GitHub works too.)
I didn't mean the atlas web server, but the GeoModel web space on EOS: that's the space where we store the sources for the macOS packages as well, and that works, you can try it directly:
Hi again,
I started from @jojungge's MR here and updated Ubuntu to the latest LTS (Long Term Support) release, which is 24.04.
I also updated the Coin and SoQt builds to use the same sources and versions we use for the macOS packages, which are stored in the GeoModel EOS web space.
I also added the GoogleTest package to the image.
The pipeline passed: https://gitlab.cern.ch/GeoModelDev/ubuntu-geant4-image/-/pipelines/11149423
I would suggest to use that version. If @jojungge agrees, I would push my changes to this MR then merge it.
The new image will be used as base Ubuntu image to test the addition to GoogleTest support in GeoModel: GeoModel!416 (merged)
Best, --Ric.
added 22 commits
- 94c7ddbe...8a32d794 - 12 earlier commits
- 9dcf6a05 - update unzipped source folders
- a291766f - Fix unzip target folder by removing nested folders
- b9de7fb3 - remove comment
- 578877bb - Fix templating
- f5d6597f - Fix expansion to preserve sources' internal folders
- c46cb151 - Improve indenting
- e43f10d2 - Let's unzip quietly not to increase the log file
- c3b3b255 - Fix end of line in RUN command string
- eb176783 - Fix SoQt sources path and unzip command
- eed99e57 - Get Coin and SoQt sources from GitHub
Toggle commit listAfter an offline discussion with @jojungge , we decided to move Coin and SoQt to GitHub sources because EOS seems to have had problems recently. Other projects observe disruptions in getting sources or packages from EOS when building images or running CI jobs.
I also updated the Ubuntu base image to 22.04, which is the latest LTS release, and added GoogleTest to the image.
Edited by Riccardo Maria Bianchiadded 1 commit
- 08769308 - Update Coin and SoQt source path to latest GitHub settings
The pipeline passed. I will merge this, so we can update MR GeoModel!416 (merged) with the new image and move on with the GoogleTest support
mentioned in commit 2ad29c92