Re: Understanding CI in Salsa, timeouts and runners

Ben Hutchings <[email protected]>
Newsgroups gmane.linux.debian.devel.general
Message-ID <[email protected]>
On Mon, 2026-06-01 at 23:18 -0300, Santiago Ruano Rincón wrote:
> El 31/05/26 a las 23:52, Leopold Palomo-Avellaneda escribió:
> > Hi,
> > 
> > 
> > I'm trying to help in packaging of fastdds [1]. It is a small monster
> > package.
> > 
> > After update all the patches to the new version, I pushed it to salsa.
> > However, I have not been able to built it because timeout.
> > 
> > I have modified the timeout in the project to 4h, however, still the limit
> > of 3h still is applied.
> > 
> > I have configured a runner in my university to build the package. They
> > connect to my runner, use the same image as salsa, but it fails because:
> > 
> > /usr/bin/bash: line 273: cd: /builds/robotics-team/fastdds/debian/output: No
> > such file or directory
> > WARNING: after_script failed, but job will continue unaffected: exit code 1
> > 
> > So,
> > 
> > 1) Can we use a private runner to a salsa project to build a packages, at
> > least in testing?
> 
> I think "E: unable to pick chroot mode automatically (use --mode for
> manual selection)" gives a better clue.
> 
> You runner needs to run privileged containers for being able to run
> (sbuild+)unshare.  Yeah, that is not idea for a 'docker' gitalb-runner
> executor in a locally shared runner.
> 
> > 2) How can I increase or how can we manage to build packages that needs a
> > lot of time to be built?
> 
> The Salsa CI team needs to reintroduce the ccache support, that would
> probably be useful here.

It would reduce the average build time, but would (slightly) increase
the worst-case build time so would not solve this problem.

The current maximum of 3 hours is already an absurdly long time to wait
for CI.  The solution for slow CI builds has to be some combination of:

- Build less
  - Disable debug info
  - Use a build profile for CI that builds a representative subset
- Build smarter
  - Don't run tests as part of the build that can be deferred to
    autopkgtest.  (They should still run by default, just not in CI
    which will run autopkgtest immediately afterwards.)
  - Replace the full build job with build-any and build-all jobs.
    (This would require a bit more customisation of the pipeline.)
  - Make more of the build run in parallel
- Use faster runners

Ben.

> In the meantime, please reach out to the salsa
> admins to see if they could help.
> 
> Cheers,
> 
>  -- S

-- 
Ben Hutchings
All the simple programs have been written, and all the good names taken
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmoe0VIACgkQ57/I7JWG
EQnLiA/9GOX/pHBrfIC/r1/heIBjBUq6Ww66ry0xF+eT185hmRyCwGo1e8ke2sZH
8bdWp+QCiA5Sv+Jgteq7KFX/Gbbfj2vc2CPwcbnyq0IpfSGncQ4IGDhAVG3Y7Nhp
Dda6VkTXLb9TicGBSzYbYBMurBoXPL53T+vI+Ux5tMNCXh09SfTbs2lf5xMzFpMT
hV0XbfRpA/41tSiRXpWz1eV8ZfyHMTzQe3ETnIIm48mdIgPgK0EWGu/+2ThFwawy
FQVYW4A4MQ3zC4QLmEiiUcqCz/2d5V/F04wo8Tw5K7h8ph4mTs+8UW0sI0Luo2Bj
GYUatcU4atcIHdrIFSI1hQYCTwBwhukcsM3E3W7AjC7XAqGuCTWk+BZM2upN6QHf
u1z/2VeB3RmfNhfOINkS/Ca4BAMQQOCHyHZ4buuc1DrLSnhWR7a7rznr06weZVnJ
BAQJIdOapQ+Vk1ejCRf6j4hFyU3p05o2Iq+GGLvjksnY7x7SdeVV1x99CWAzElgj
Tg2mVQhPp639dslXP03GvsEG+vUBQGsLY9ps9aTMOBkfTayQso78KxI/w7ZapttY
br4yZXaRQFgli4o/rBIlHHqYPP2Q2nI5Vah0TIG83ICWTI7/TyixMyVSjhPIsG96
2xfW6mLkOc/kI15EM7cX/z9rQMfnDtuzIUB4j+BV2E+XrUph16M=
=PLes
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.