Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
On Tue, Sep 29, 2026 at 03:24:15PM +0200, Chris Hofstaedtler wrote: * Colin Watson [260929 14:28]: I fixed it up in https://salsa.debian.org/debian/shadow/-/merge_requests/29, which I think is better than deleting it. Please have a look? Thanks a lot! I can't say I understand what the difference is or why the old config produces an error. I see other repositories also use include: https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml so I guess that's not the problem? I'm not totally an expert on this, but I think the use of ".provisioning-extract-source" was essentially using some internal details of the pipeline that were changed in https://salsa.debian.org/salsa-ci-team/pipeline/-/merge_requests/569; note the comment in pipeline-jobs.yml that says "TODO: handle projects that need to extend the extract-source job". But shadow didn't really need to override that job anyway, so we can avoid the problem. -- Colin Watson (he/him) [[email protected]]
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
On Tue, Sep 29, 2026 at 09:06:00AM +0200, Chris Hofstaedtler wrote: * Otto Kekäläinen [260929 04:22]: Having failing CI for a year like in 'shadow' does not help catch any regressions, and only wastes resources for others who do want to run CI and who do look at results and address issues when CI flips from green to red. Okay, I will delete the config. The error is not actionable for me. I fixed it up in https://salsa.debian.org/debian/shadow/-/merge_requests/29, which I think is better than deleting it. Please have a look? -- Colin Watson (he/him) [[email protected]]
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
* Colin Watson [260929 14:28]: On Tue, Sep 29, 2026 at 09:06:00AM +0200, Chris Hofstaedtler wrote: * Otto Kekäläinen [260929 04:22]: Having failing CI for a year like in 'shadow' does not help catch any regressions, and only wastes resources for others who do want to run CI and who do look at results and address issues when CI flips from green to red. Okay, I will delete the config. The error is not actionable for me. I fixed it up in https://salsa.debian.org/debian/shadow/-/merge_requests/29, which I think is better than deleting it. Please have a look? Thanks a lot! I can't say I understand what the difference is or why the old config produces an error. I see other repositories also use include: https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml so I guess that's not the problem? Chris
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
* Otto Kekäläinen [260929 04:22]: Hi Chris, ... >>If you or others have CI enabled on projects where you can't fix the >>repo so CI passes and git HEAD gets green, please scale down testing >>scope until it passes, or disable the CI. > >That's all nice, but when the CI config changes after setting it up >and then breaks, we can't expect everybody to run around busily and >disable newly failing or even newly appearing jobs. https://salsa.debian.org/debian/shadow/-/pipelines/1178928 | Unable to run pipeline | jobs:extract-source:script config should be a string or a nested array of strings up to 10 levels deep I don't know what that means or why it happens. Maybe including yaml files is just a bad idea? If there was some change src:shadow should have followed, were there bugs filed about that change that I've missed? Last time the CI in shadow passed was in August 2025 [1]. It started failing in September 2025 [2]. You should have at that point investigated and updated the gitlab-ci.yml in that project instead of letting it fail for over a year. Now the CI in that project is running in vain and not catching any regressions that might have happened in between. The point of my email was to recommend that if you don't maintain the CI and try to fix it, you (and all of Salsa) is better off it you just remove that gitlab-ci.yml file from the project. No CI is better than a failing CI. Maybe some other day somebody who wants to contribute to shadow adds back a salsa-ci.yml with a working configuration. Who knows, perhaps even the vanilla config without any custom stuff might work for this package (I didn't try). [..] Having failing CI for a year like in 'shadow' does not help catch any regressions, and only wastes resources for others who do want to run CI and who do look at results and address issues when CI flips from green to red. Okay, I will delete the config. The error is not actionable for me. Chris
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
Hi Chris, ... > >>If you or others have CI enabled on projects where you can't fix the > >>repo so CI passes and git HEAD gets green, please scale down testing > >>scope until it passes, or disable the CI. > > > >That's all nice, but when the CI config changes after setting it up > >and then breaks, we can't expect everybody to run around busily and > >disable newly failing or even newly appearing jobs. > > https://salsa.debian.org/debian/shadow/-/pipelines/1178928 > > | Unable to run pipeline > | jobs:extract-source:script config should be a string or a nested array of > strings up to 10 levels deep > > I don't know what that means or why it happens. Maybe including yaml > files is just a bad idea? If there was some change src:shadow should > have followed, were there bugs filed about that change that I've > missed? Last time the CI in shadow passed was in August 2025 [1]. It started failing in September 2025 [2]. You should have at that point investigated and updated the gitlab-ci.yml in that project instead of letting it fail for over a year. Now the CI in that project is running in vain and not catching any regressions that might have happened in between. The point of my email was to recommend that if you don't maintain the CI and try to fix it, you (and all of Salsa) is better off it you just remove that gitlab-ci.yml file from the project. No CI is better than a failing CI. Maybe some other day somebody who wants to contribute to shadow adds back a salsa-ci.yml with a working configuration. Who knows, perhaps even the vanilla config without any custom stuff might work for this package (I didn't try). > I notice the pipeline for > https://salsa.debian.org/salsa-ci-team/pipeline/-/commits/master?ref_type=HEADS > is also red, incl. on Otto's commit > 964d824a0bcf63c2a12a562aa57e9825534f3b16 from a month ago. You are trying to imply that Salsa CI maintainers themselves are ignoring failing CI and thus you can do it too. However, the CI is actively maintained and we do turn off features and pipelines if it is deemed that Debian/Ubuntu is too broken to run them. Thus we live up to the principle that it is better to turn off CI if it can't be fixed and can't be green, than to pollute the CI landscape with failing red tests. That commit referenced above was green when merged a month ago [3]. A later re-run started to fail because the GitLab CI runners Salsa uses cannot connect to the apt repositories of Ubuntu Resolute anymore (nor Stonking). This is a permanent infra problem no Salsa CI maintainer can do anything about and thus we have decided to disable it [4]. For most of September the CI failure on Salsa CI's own regression testing pipeline has been caused by Bullseye release being broken on security.debian.org [5] which we are solving by stopping use of security.debian.org and use snapshots.d.o instead as a workaround[6]. Please try to keep your own pipelines green. If there are external reasons that it is impossible to keep it green, then scale down the scope of the tests jobs or as a last resort turn off CI completely. Having failing CI for a year like in 'shadow' does not help catch any regressions, and only wastes resources for others who do want to run CI and who do look at results and address issues when CI flips from green to red. [1] https://salsa.debian.org/debian/shadow/-/pipelines/921781 [2] https://salsa.debian.org/debian/shadow/-/pipelines/938780 [3] https://salsa.debian.org/salsa-ci-team/pipeline/-/pipelines/1143521 [4] https://salsa.debian.org/salsa-ci-team/autopkgtest-lxc/-/commit/7fa2730035386a4be931bc1193a5f481c1c05852 [5] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1147093 [6] https://salsa.debian.org/salsa-ci-team/pipeline/-/merge_requests/758
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
On 28/09/2026 17:15, Chris Hofstaedtler wrote: * Chris Hofstaedtler [260724 15:34]: * Otto Kekäläinen [260718 07:18]: Hi, Alert fatigue is a well known phenomenon. The purpose of a CI system is to be 99% green. In the 1% of cases where it fails, it should cause development to stop so developers can research why, and fix a regression before it goes into production or before new feature development continues. Maybe you should investigate https://salsa.debian.org/salsa-ci-team/pipeline/-/commits/master?ref_type=heads which seems to be have a lot more than 1% failed pipelines :) The git HEAD is and was green when you wrote this. As the this git repo has no releases, only the HEAD passing all CI matters. If you or others have CI enabled on projects where you can't fix the repo so CI passes and git HEAD gets green, please scale down testing scope until it passes, or disable the CI. That's all nice, but when the CI config changes after setting it up and then breaks, we can't expect everybody to run around busily and disable newly failing or even newly appearing jobs. https://salsa.debian.org/debian/shadow/-/pipelines/1178928 | Unable to run pipeline | jobs:extract-source:script config should be a string or a nested array of strings up to 10 levels deep I don't know what that means or why it happens. Maybe including yaml files is just a bad idea? If there was some change src:shadow should have followed, were there bugs filed about that change that I've missed? I notice the pipeline for https://salsa.debian.org/salsa-ci-team/pipeline/-/commits/master?ref_type=HEADS is also red, incl. on Otto's commit 964d824a0bcf63c2a12a562aa57e9825534f3b16 from a month ago. That is tracked in https://salsa.debian.org/salsa-ci-team/pipeline/-/merge_requests/758 Emilio
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
* Chris Hofstaedtler [260724 15:34]: * Otto Kekäläinen [260718 07:18]: Hi, Alert fatigue is a well known phenomenon. The purpose of a CI system is to be 99% green. In the 1% of cases where it fails, it should cause development to stop so developers can research why, and fix a regression before it goes into production or before new feature development continues. Maybe you should investigate https://salsa.debian.org/salsa-ci-team/pipeline/-/commits/master?ref_type=heads which seems to be have a lot more than 1% failed pipelines :) The git HEAD is and was green when you wrote this. As the this git repo has no releases, only the HEAD passing all CI matters. If you or others have CI enabled on projects where you can't fix the repo so CI passes and git HEAD gets green, please scale down testing scope until it passes, or disable the CI. That's all nice, but when the CI config changes after setting it up and then breaks, we can't expect everybody to run around busily and disable newly failing or even newly appearing jobs. https://salsa.debian.org/debian/shadow/-/pipelines/1178928 | Unable to run pipeline | jobs:extract-source:script config should be a string or a nested array of strings up to 10 levels deep I don't know what that means or why it happens. Maybe including yaml files is just a bad idea? If there was some change src:shadow should have followed, were there bugs filed about that change that I've missed? I notice the pipeline for https://salsa.debian.org/salsa-ci-team/pipeline/-/commits/master?ref_type=HEADS is also red, incl. on Otto's commit 964d824a0bcf63c2a12a562aa57e9825534f3b16 from a month ago. ¯\(ツ)/¯ Chris
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
* Colin Watson [2026-07-27 15:14]: I've seen some cases where debsnap can't find the package yet because it's still in incoming. For example, compare: https://salsa.debian.org/python-team/packages/cryptodatahub/-/jobs/10019166 Get:1 http://incoming.debian.org/debian-buildd buildd-unstable/main amd64 linux-libc-dev all 7.1.5-1 [2021 kB] https://salsa.debian.org/python-team/packages/cryptodatahub/-/jobs/10019173 cannot find: linux-libc-dev:amd64=7.1.5-1 Yes, that's also my conclusion in https://salsa.debian.org/salsa-ci-team/pipeline/-/work_items/587 Could debrebuild perhaps try incoming as well as debsnap? I think that would help in some common cases. Sure, someone would need to add code to debrebuild for that. I think the best option would be to pass a sources.list (or deb822?) to debrebuild/debootsnap. Cheers Jochen signature.asc Description: PGP signature
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
On Sat, Jul 25, 2026 at 07:20:50AM +0200, Jochen Sprickerhof wrote: * Chris Hofstaedtler [2026-07-24 13:20]: Thanks. Indeed I wondered if there is a "design issue" with this job: given the package was -just built- and thus all necessary data should be available, the job should not need to rely on metasnap at all? This is a frequent annoyance for me too. Note that debrebuild/debootstrap uses unstable and metasnap to find packages. I ran the pipeline three more times: https://salsa.debian.org/debian/pdns-recursor/-/jobs/10006412 https://salsa.debian.org/debian/pdns-recursor/-/jobs/10007298 https://salsa.debian.org/debian/pdns-recursor/-/jobs/10007534 And the third time it succeeded, while the missing packages are still not available on metasnap right now, as it has a 24 hour delay. So my hypothesis is that debrebuild did get an older unstable archive then the sbuild job before, even hours after the dinstall run. I tried some custom jobs to debug this but they did not show the same behaviour. Currently I have no idea how to debug this further so would be happy about any insights. I've seen some cases where debsnap can't find the package yet because it's still in incoming. For example, compare: https://salsa.debian.org/python-team/packages/cryptodatahub/-/jobs/10019166 Get:1 http://incoming.debian.org/debian-buildd buildd-unstable/main amd64 linux-libc-dev all 7.1.5-1 [2021 kB] https://salsa.debian.org/python-team/packages/cryptodatahub/-/jobs/10019173 cannot find: linux-libc-dev:amd64=7.1.5-1 Could debrebuild perhaps try incoming as well as debsnap? I think that would help in some common cases. -- Colin Watson (he/him) [[email protected]]
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
Hi, > That's all nice, but when the CI config changes after setting it up > and then breaks, we can't expect everybody to run around busily and > disable newly failing or even newly appearing jobs. ... > I'm not gonna spend time on fixing CI that used to work for > something that I didn't break. At least not in the next 6 months. > Contributor time is limited - such changes only waste it. I am not asking people to "run around". I am simply asking that *if* people use Salsa CI, they look at the CI result and make it green before uploading to unstable. Otherwise the whole point of Salsa CI is moot. For the majority of regular packages hosted on Salsa, the CI triggers and runs only when you push commits and are working on the package already. There is nothing to "run around" for, you presumably are already making changes to the package and can just "walk slowly" to see why CI failed after your recent git commit. It does happen that the CI starts failing due to an updated dependency or changes in the CI itself. Some of those failures are real and you should not ignore them. Unfortunately false positives also happen, and we are working hard to ensure the CI pipeline itself is as stable as possible as I explained in my previous message. Jochen already started looking into the specific debrebuild issue you flagged as you saw in his responses. Based on your message I was expecting to see a CI history of occasional passing runs and multiple regression/false positives that frustrate you. However, when I browse https://salsa.debian.org/debian/pdns-recursor/-/commits/debian/latest all past 20 uploads have a failing CI, so it does not appear to me that you are constantly fixing something that someone else keeps on breaking - it just seems broken all the time. Salsa is currently incredibly slow and I can't open the logs to see what the various CI failure reasons this package has had in the past ~2 years, but I would assume that for this package you probably should simply disable Salsa CI for the time being.
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
* Chris Hofstaedtler [2026-07-24 13:20]: Thanks. Indeed I wondered if there is a "design issue" with this job: given the package was -just built- and thus all necessary data should be available, the job should not need to rely on metasnap at all? Note that debrebuild/debootstrap uses unstable and metasnap to find packages. I ran the pipeline three more times: https://salsa.debian.org/debian/pdns-recursor/-/jobs/10006412 https://salsa.debian.org/debian/pdns-recursor/-/jobs/10007298 https://salsa.debian.org/debian/pdns-recursor/-/jobs/10007534 And the third time it succeeded, while the missing packages are still not available on metasnap right now, as it has a 24 hour delay. So my hypothesis is that debrebuild did get an older unstable archive then the sbuild job before, even hours after the dinstall run. I tried some custom jobs to debug this but they did not show the same behaviour. Currently I have no idea how to debug this further so would be happy about any insights. Regarding the design issue: For a build against unstable the job assumes that it can get at least the same archive state as the sbuild job before. It would also be possible to cache the build dependency packages between the jobs but we don't have enough storage for that. For builds against other suites or distributions we discussed to make the apt repos in debrebuild/debootstrap configurable but I am not aware of a patch yet. Cheers Jochen signature.asc Description: PGP signature
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
* Jochen Sprickerhof [260724 12:50]: A good example is this: https://salsa.debian.org/debian/pdns-recursor/-/jobs/10005512 Completely unactionable to me, not enabled by me, the job wasn't there when I configured salsa-ci the last time, yet now CI is red. [..] I added that job to replace the old reprotest and I think it makes sense given that britney uses the debrebuild results on reproduce.d.n. Right. Thanks for pointing out that failed job, I can't reproduce it locally and will look into it. Thanks. Indeed I wondered if there is a "design issue" with this job: given the package was -just built- and thus all necessary data should be available, the job should not need to rely on metasnap at all? Best, Chris
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
Hi Chris, * Chris Hofstaedtler [2026-07-24 10:33]: That's all nice, but when the CI config changes after setting it up and then breaks, we can't expect everybody to run around busily and disable newly failing or even newly appearing jobs. A good example is this: https://salsa.debian.org/debian/pdns-recursor/-/jobs/10005512 Completely unactionable to me, not enabled by me, the job wasn't there when I configured salsa-ci the last time, yet now CI is red. "Thanks!" I'm not gonna spend time on fixing CI that used to work for something that I didn't break. At least not in the next 6 months. Contributor time is limited - such changes only waste it. (Not commenting on the general topic.) I added that job to replace the old reprotest and I think it makes sense given that britney uses the debrebuild results on reproduce.d.n. Thanks for pointing out that failed job, I can't reproduce it locally and will look into it. Cheers Jochen signature.asc Description: PGP signature
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
* Otto Kekäläinen [260718 07:18]: Hi, > Alert fatigue is a well known phenomenon. The purpose of a CI system > is to be 99% green. In the 1% of cases where it fails, it should cause > development to stop so developers can research why, and fix a > regression before it goes into production or before new feature > development continues. Maybe you should investigate https://salsa.debian.org/salsa-ci-team/pipeline/-/commits/master?ref_type=heads which seems to be have a lot more than 1% failed pipelines :) The git HEAD is and was green when you wrote this. As the this git repo has no releases, only the HEAD passing all CI matters. If you or others have CI enabled on projects where you can't fix the repo so CI passes and git HEAD gets green, please scale down testing scope until it passes, or disable the CI. That's all nice, but when the CI config changes after setting it up and then breaks, we can't expect everybody to run around busily and disable newly failing or even newly appearing jobs. A good example is this: https://salsa.debian.org/debian/pdns-recursor/-/jobs/10005512 Completely unactionable to me, not enabled by me, the job wasn't there when I configured salsa-ci the last time, yet now CI is red. "Thanks!" I'm not gonna spend time on fixing CI that used to work for something that I didn't break. At least not in the next 6 months. Contributor time is limited - such changes only waste it. Best, Chris
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
Hi, > > Alert fatigue is a well known phenomenon. The purpose of a CI system > > is to be 99% green. In the 1% of cases where it fails, it should cause > > development to stop so developers can research why, and fix a > > regression before it goes into production or before new feature > > development continues. > > Maybe you should investigate > https://salsa.debian.org/salsa-ci-team/pipeline/-/commits/master?ref_type=heads > which seems to be have a lot more than 1% failed pipelines :) The git HEAD is and was green when you wrote this. As the this git repo has no releases, only the HEAD passing all CI matters. If you or others have CI enabled on projects where you can't fix the repo so CI passes and git HEAD gets green, please scale down testing scope until it passes, or disable the CI. For the latest 1000 uploads to Debian, of those that have Salsa CI enabled 32% were failing in the commit that was uploaded. That is not good, and defeats the purpose of using a CI in the first place. udd=> WITH latest AS ( SELECT source, ci_status FROM vcswatch ORDER BY last_scan DESC NULLS LAST LIMIT 1000 ) SELECT COUNT(*) AS total_packages, COUNT(DISTINCT source) AS unique_packages, COUNT(*) FILTER (WHERE ci_status = 'success') AS passing_ci, COUNT(*) FILTER (WHERE ci_status <> 'success' AND ci_status IS NOT NULL) AS failing_ci, COUNT(*) FILTER (WHERE ci_status IS NULL) AS no_ci_status FROM latest; total_packages | unique_packages | passing_ci | failing_ci | no_ci_status +-+++-- 1000 |1000 |375 |177 | 448
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
Otto Kekäläinen writes: > Alert fatigue is a well known phenomenon. The purpose of a CI system > is to be 99% green. In the 1% of cases where it fails, it should cause > development to stop so developers can research why, and fix a > regression before it goes into production or before new feature > development continues. Maybe you should investigate https://salsa.debian.org/salsa-ci-team/pipeline/-/commits/master?ref_type=heads which seems to be have a lot more than 1% failed pipelines :)
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
Hi, Otto Kekäläinen wrote: > My point is specifically that the main|master|debian/* branch must be > kept "green", and in particular the very commit that gets tagged and > uploaded to Debian should have had the Salsa CI pass first (if CI is > being used). While I agree with this goal, by the tally on https://salsa-ci-stats.debian.net/ - for about 17k packages maintainers use (opt-in for) a Salsa CI - about 64% of the pipelines launched successfully pass It is an intentional "a" as there can be team specific recipes, i.e. Salsa proposes[1] for d/salsa-ci.yml ``` --- include: - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml ``` while e.g., team maintained ruby-chef-utils[2] uses ``` --- include: - https://salsa.debian.org/ruby-team/meta/raw/master/salsa-ci.yml ``` [1] https://wiki.debian.org/SalsaCI [2] https://salsa.debian.org/ruby-team/ruby-chef-utils
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
Hi Timo and Simon, On Sat, 4 Jul 2026 at 22:25, Timo Röhling wrote: .. > I find it really frustrating to see my CI turn red only to realize that > it's just a random pipeline failure such as [1]. IMHO, these false > alarms attribute to much more "alert fatigue" than your implied > unwillingness of maintainers to keep their packages in good shape; > especially if said packages build just fine on the buildds and pass the > autopkgtests on debci. > > I know not all causes of these intermittent CI failures are easily > fixable (runners are a scarce resource, for example), and the last thing > I want to do is lay blame at the volunteers who put in a lot of work to > improve and further develop the CI pipeline. I do expect the same > courtesy the other way around, though. Note that the Salsa CI pipeline definition at https://salsa.debian.org/salsa-ci-team/pipeline is maintained by one (unofficial) team, while the salsa.debian.org instance itself is maintained by the Salsa administrators. I have noticed those 503 and 502 errors lately myself too, and since you also seem to be running into them I filed now these: https://salsa.debian.org/salsa/support/-/work_items/597 https://salsa.debian.org/salsa/support/-/work_items/598 On Sun, 5 Jul 2026 at 00:15, Simon McVittie wrote: ... > This doesn't just apply to CI-runner infra failures like that one: it's > relatively frequent for Salsa-CI jobs to fail for reasons that have very > little to do with the package under test, like a regression in a > dependency or in the test tool (piuparts, Lintian, or similar), or a > limitation in the pipeline (for example jobs that can't succeed when > targeting experimental or backports, as a result of apt's default > pinning). The better the Salsa-CI pipeline coverage becomes, the more > often we'll have at least one job failing for a reason that isn't a bug > in the package under test. Most new features added to Salsa CI in recent years are opt-in. The default pipeline is fairly conservative and when it flags build, lintian or autopkgtest issues they are most of the time real findings. But it is true that Debian occasionally has bugs in core basic build/test tools such as dpkg, apt or lintian. In those cases both local builds and Salsa CI break, causing disruption until a fix is uploaded. This could be mitigated by running all of Salsa CI based on software versions from Debian testing instead of unstable (discussed in https://salsa.debian.org/salsa-ci-team/pipeline/-/work_items/551). There are also cases where a change in Salsa CI itself caused a regression, like the one with piuparts a few weeks ago. This is however quite rare, as Salsa CI has extensive CI itself, and all changes require a separate person to approve and merge them, making sloppy/hasty changes unlikely. > Pushing commits to Salsa to disable the affected jobs, and then > re-enable them when the regression has been addressed, could easily > result in generating more CI runner load than leaving them failing (as > well as taking up more contributor time). I don't see this in practice as a big roblem. You can re-run individual jobs without having to run the full pipeline if the failure was external and not in the commit itself. Keeping a lot of failiing pipelines seems like a way larger issue. But in general of course false positives erode respect for the CI, of course. We need to guard that the pipeline definition and the infra running stays as solid as possible. For individual packages using the CI I suggest that if the CI is too flaky, it would be better to turn it off than to keep running and failing over and over.
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
On Sun, Jul 05, 2026 at 10:25:46PM +0300, Otto Kekäläinen wrote: in particular the very commit that gets tagged and uploaded to Debian should have had the Salsa CI pass first (this, again, goes against established workflows and is very very inconvenient to do, unless you are one of those maintainers who don't build locally) Otherwise the point of the CI is moot. I agree. I may disable Salsa CI in my packages and start ignoring these threads so that neither I nor other people spend time on unnecessary red results. -- WBR, wRAR signature.asc Description: PGP signature
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
Hi, > > Thanks, that's exactly how I am thinking. If developers are not quick > > to fix or disable failing jobs, they will develop "alert fatigue" and > > stop caring when the CI is red. The longer it remains red, the less > > likely it is to ever turn green again. > > Do you think this is perhaps a bit too strong? "alert fatigue" might > affect some people, but not everyone is the same. And it could apply to > bug reports as well: do large numbers of open bug reports indicate poor > quality and that the package should be kept out of testing longer? Alert fatigue is a well known phenomenon. The purpose of a CI system is to be 99% green. In the 1% of cases where it fails, it should cause development to stop so developers can research why, and fix a regression before it goes into production or before new feature development continues. The number of bugs is not a testing system by itself nor does tracking bug counts directly prevent regressions from propagating. > making problems, like failing tests, visible is also a good thing - > fixing failing tests should be a good way to get new contributions. My point is specifically that the main|master|debian/* branch must be kept "green", and in particular the very commit that gets tagged and uploaded to Debian should have had the Salsa CI pass first (if CI is being used). Otherwise the point of the CI is moot. Look for example at https://salsa.debian.org/pkg-voip-team/rtpengine/-/commits/master - the CI in all recent uploads failed and the developer ignored it, and the autopkgtest failure went into Debian. If the CI had been passing earlier the regression would have been obvious. Now it wasn't because "keeping it green" wasn't the practice in this example. Sure, fixing failing tests is a good way to get new contributors. But those same contributors might prefer working on packages where the mainline is green and the work to fix or develop something is a separate thing you enable/add separately. The package's CI should not serve as a reminder that something is broken. Bug reports seem like a much better place for that. Bug reports also have other benefits like ownership and history trail that make them much better suited at tracking work items than broken tests on the package mainline branch. I strongly recommend everyone keep the CI green, and use bug reports or other systems to record issues or TODO items. We can see that Salsa CI usage is increasing at https://trends.debian.net/#continuous-integration-on-salsa but the stats from vcswatch are a bit worrying, telling that out of the 25 thousand packages or so that use Salsa CI about 5 thousand were uploaded to Debian *despite* failing CI: udd=> WITH latest AS ( SELECT source, ci_status FROM vcswatch ORDER BY last_scan DESC NULLS LAST LIMIT 100 ) SELECT COUNT(*) AS total_packages, COUNT(DISTINCT source) AS unique_packages, COUNT(*) FILTER (WHERE ci_status = 'success') AS passing_ci, COUNT(*) FILTER (WHERE ci_status <> 'success' AND ci_status IS NOT NULL) AS failing_ci, COUNT(*) FILTER (WHERE ci_status IS NULL) AS no_ci_status FROM latest; total_packages | unique_packages | passing_ci | failing_ci | no_ci_status +-+++-- 40405 | 40405 | 19222 | 5318 |15865 This seems wasteful and counterproductive as I wrote in the three points in my original message. I wish people would consider turning off the CI if they don't care about looking at the results. That would basically increase the CI capacity by 25% for packages where CI is maintained and properly used to catch regressions.
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
On Sat, 04 Jul 2026 at 21:25:18 +0200, Timo Röhling wrote: * Otto Kekäläinen [2026-06-29 13:27]: If developers are not quick to fix or disable failing jobs I find it really frustrating to see my CI turn red only to realize that it's just a random pipeline failure such as [1]. This doesn't just apply to CI-runner infra failures like that one: it's relatively frequent for Salsa-CI jobs to fail for reasons that have very little to do with the package under test, like a regression in a dependency or in the test tool (piuparts, Lintian, or similar), or a limitation in the pipeline (for example jobs that can't succeed when targeting experimental or backports, as a result of apt's default pinning). The better the Salsa-CI pipeline coverage becomes, the more often we'll have at least one job failing for a reason that isn't a bug in the package under test. Pushing commits to Salsa to disable the affected jobs, and then re-enable them when the regression has been addressed, could easily result in generating more CI runner load than leaving them failing (as well as taking up more contributor time). smcv
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
Hi, * Otto Kekäläinen [2026-06-29 13:27]: If developers are not quick to fix or disable failing jobs, they will develop "alert fatigue" and stop caring when the CI is red. The longer it remains red, the less likely it is to ever turn green again. I find it really frustrating to see my CI turn red only to realize that it's just a random pipeline failure such as [1]. IMHO, these false alarms attribute to much more "alert fatigue" than your implied unwillingness of maintainers to keep their packages in good shape; especially if said packages build just fine on the buildds and pass the autopkgtests on debci. I know not all causes of these intermittent CI failures are easily fixable (runners are a scarce resource, for example), and the last thing I want to do is lay blame at the volunteers who put in a lot of work to improve and further develop the CI pipeline. I do expect the same courtesy the other way around, though. Cheers Timo [1] https://salsa.debian.org/cmake-team/cmake/-/pipelines/1080037 -- ⢀⣴⠾⠻⢶⣦⠀ ╭╮ ⣾⠁⢠⠒⠀⣿⡁ │ Timo Röhling │ ⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │ ⠈⠳⣄ ╰╯ signature.asc Description: PGP signature
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
Otto Kekäläinen writes: > Thanks, that's exactly how I am thinking. If developers are not quick > to fix or disable failing jobs, they will develop "alert fatigue" and > stop caring when the CI is red. The longer it remains red, the less > likely it is to ever turn green again. Do you think this is perhaps a bit too strong? "alert fatigue" might affect some people, but not everyone is the same. And it could apply to bug reports as well: do large numbers of open bug reports indicate poor quality and that the package should be kept out of testing longer? making problems, like failing tests, visible is also a good thing - fixing failing tests should be a good way to get new contributions. > I also realize that the people who read debian-devel@ are on average > the more diligent ones who take high pride in their Debian work. i think this is a particularly unhelpful characterisation. people work in different ways, and reading a mailing list is not really a strong sign of digligence. (ps - i would agree with the original sugestion that packages with failing salsa-ci should be delayed)
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
* Peter Blackman ([email protected]) wrote: > On 29/06/2026 09:55, Peter Blackman wrote: > > On 29/06/2026 07:04, Eric Dorland wrote: > > > how does one get help with salsa CI problems? > > > > > > > Raise an issue here; > > https://salsa.debian.org/salsa-ci-team/pipeline/-/work_items > > > > This is possibly a better place; > https://salsa.debian.org/salsa-ci-team/pipeline/-/boards Thanks, I raised https://salsa.debian.org/salsa-ci-team/pipeline/-/work_items/584. -- Eric Dorland 43CF 1228 F726 FD5B 474C E962 C256 FBD5 0022 1E93 signature.asc Description: PGP signature
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
On 29/06/2026 09:55, Peter Blackman wrote: On 29/06/2026 07:04, Eric Dorland wrote: how does one get help with salsa CI problems? Raise an issue here; https://salsa.debian.org/salsa-ci-team/pipeline/-/work_items This is possibly a better place; https://salsa.debian.org/salsa-ci-team/pipeline/-/boards
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
Hi, On Sat, 27 Jun 2026 at 14:43, Santiago Vila wrote: > > On Sat, Jun 27, 2026 at 01:41:38PM +0300, Otto Kekäläinen wrote: > > > If you do want to use Salsa CI but struggle to get it fully green, you > > can also just disable the failing jobs without turning off the entire > > pipeline [2]. > > That's what I usually do: > > Disable job "foo" until someone figures out how to fix it. > > and I highly recommend it as well. > > In fact, I believe this should be the first recommendation, before > considering to disable the pipeline completely as you suggest in the > subject. So, while I agree that a disabled CI is better than a > persistently failing one, I think a CI which becomes green by dropping > a single job is a lot better than a disabled CI. > > I know there is also another school of thought which proposes to make > the failures non-fatal, but IMO that should only be done if there is > really a fix in the horizon. If there is not, there is little point in > wasting resources. Thanks, that's exactly how I am thinking. If developers are not quick to fix or disable failing jobs, they will develop "alert fatigue" and stop caring when the CI is red. The longer it remains red, the less likely it is to ever turn green again. I also realize that the people who read debian-devel@ are on average the more diligent ones who take high pride in their Debian work. Those who spend less time on packaging quality or are simply sloppy by nature probably don't read or react to any suggestions on debian-devel@ anyway. What we should have is some kind of feedback loop from Salsa CI to the overall package lifecycle that incentivizes people to avoid permanently failing CI pipelines, but that does not exists currently.
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
On 29/06/2026 07:04, Eric Dorland wrote: how does one get help with salsa CI problems? Raise an issue here; https://salsa.debian.org/salsa-ci-team/pipeline/-/work_items
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
* Otto Kekäläinen ([email protected]) wrote: [snip] > Of course, there are also cases where Salsa CI fails because something > is genuinely broken (e.g. today I looked at rtpengine, which has > autopkgtest failing in Salsa CI and continues to upload, causing > Debian CI to fail as well). However, people won't pay attention to > real failures if too many packages have unmaintained and permanently > failing Salsa CI results. [snip] This is perhaps a slight tangent, but how does one get help with salsa CI problems? For example, jujutsu's build appears to stall with no output until it times out: https://salsa.debian.org/rust-team/jujutsu/-/jobs/9852029. It builds fine locally and on buildds and I'm at a bit of a loss how to debug this problem. -- Eric Dorland 43CF 1228 F726 FD5B 474C E962 C256 FBD5 0022 1E93 signature.asc Description: PGP signature
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
On Jun 27, Otto Kekäläinen wrote: I'd like to kindly ask maintainers to temporarily disable Salsa CI on their repositories *if* the pipeline is persistently failing and there are no immediate plans to fix it. Sometimes the Salsa CI fails because some jobs are stupid, but the results of other jobs are still important. The uscan job is especially bad in this regard, e.g.: * https://salsa.debian.org/salsa-ci-team/pipeline/-/work_items/568 * https://salsa.debian.org/salsa-ci-team/pipeline/-/work_items/569 * any upload of git snapshots that do not follow uscan's author favourite version numbering scheme I guess that at some point I will just disable the uscan job everywhere, since it is clearly doing more harm than good for my own packages. -- ciao, Marco signature.asc Description: PGP signature
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
Le Sat, Jun 27, 2026 at 01:41:38PM +0300, Otto Kekäläinen a écrit : I'd like to kindly ask maintainers to temporarily disable Salsa CI on their repositories *if* the pipeline is persistently failing and there are no immediate plans to fix it. Hi Otto, can you make the Salsa CI skip the i386 build if the package is designed to not build it, like when it build-depends on architecture-is-64-bit ? Have a nice week-end, Charles -- Charles Plessy Nagahama, Yomitan, Okinawa, Japan Debian Med packaging team http://www.debian.org/devel/debian-med Tooting from work, https://fediscience.org/@charles_plessy Tooting from home, https://framapiaf.org/@charles_plessy
Re: Don't run Salsa CI in vain - a disabled CI is better than a persistently failing one
On Sat, Jun 27, 2026 at 01:41:38PM +0300, Otto Kekäläinen wrote: > If you do want to use Salsa CI but struggle to get it fully green, you > can also just disable the failing jobs without turning off the entire > pipeline [2]. That's what I usually do: Disable job "foo" until someone figures out how to fix it. and I highly recommend it as well. In fact, I believe this should be the first recommendation, before considering to disable the pipeline completely as you suggest in the subject. So, while I agree that a disabled CI is better than a persistently failing one, I think a CI which becomes green by dropping a single job is a lot better than a disabled CI. I know there is also another school of thought which proposes to make the failures non-fatal, but IMO that should only be done if there is really a fix in the horizon. If there is not, there is little point in wasting resources. Thanks.

