Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11818
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Louis-Philippe Véronneau <pollo@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Streamlining the use of Salsa CI on team packages |
| Date | Mon, 16 Sep 2019 02:20:04 +0200 |
| Message-ID | <yGMUk-ii-9@gated-at.bofh.it> (permalink) |
| References | <yCSOB-5t7-1@gated-at.bofh.it> <yG0Zj-1mb-7@gated-at.bofh.it> <yG0Zj-1mb-5@gated-at.bofh.it> <yGsiR-31T-3@gated-at.bofh.it> <yGsiR-31T-1@gated-at.bofh.it> <yGMUk-ii-11@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Mon Sep 16 00:18:24 2019 |
| Old-Return-Path | <pollo@debian.org> |
| X-Amavis-Spam-Status | No, score=-11.1 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, FOURLA=0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -4.6 |
| X-Riseup-User-ID | 51EC99C2E5B26E7489D5E2F5F8451429A9E2E6B23F5CC2C7AADA1F4330A31059 |
| Openpgp | preference=signencrypt |
| Autocrypt | addr=pollo@debian.org; prefer-encrypt=mutual; keydata= mQINBFSX1NABEADH76idoFsToCSwRrCJAqoZMPFWNGdK5+lMpxfVxb3GQYzEmxexkqq2ga/N oUlEs1jKY7F513uDARm2IVsE4ypq3TqYYZtSIr+27NvWUCAleFTBcTRvlo6pdBwaF9bENRgg uoMuHdY8OkNxg1jhwiq0kWpImD1K91NokKiX/9GebCIsr3J5ETafJ+pcHc6N3v8BIC2C8QAu c+fh5Atb9qZglNdFQ9orFkvCDKvaa6ZOymwpAW27JLY1NjSj8S+bLle2XKC3mNq2jtVN0v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KkYA8e9E0h 2wsYAL0Hs/V8bX0aPwdU4KpyiTVSGDDS6SavF95fkJJtTXAt11NXhhUUpYe9Ad1vhSWW4v/9 bD7XYz61EwH2WHf/cKW3GwinF/HqAG5rGMY3bCPO/FzQvwXl9mDyJ6GTw3SS/2yFTVGThQCN na8MeyFYX3oXbiCUkKBxYHVeyzZRTGLFyTP6SHUEZQ/1fzqw3CpIvEMBeIOg89HpgfSfpFyU 5SA73Ft53rXKZxqhdLf0xuT3aX1NWoM1wjpV4BJO7Xqyg5AkeLgOEF69zdaYdR69tjdI7VAB Rv8c33ue8JB9AKHrE+WnjIE4RmELC6gYn5qOOOUOlIZTlSUptHc8jVxwsby+Di9JQTyJM59E tj5C0wBCzqLZ7U4cPbRgxhgey30Lxn6MGQMEcPhQReqbbGn3VFq5PDjkvwh2Mn7vfsd2r8kp zSvqB285Q/GKjtkrt71rRGmKYqfZs7gsPn3MaI1xOmM+mqiYgUrLhX2M+bAIM+ImP5MPev8V CEs+I2oTwYxgDHvAOPVLCic0EZ4Sg0KvOwiKM3MaXlZVbpwa+U8Z91kQzkl3IvqjkDDVJNzB VNf7CZNxv+Lpm13sI2wPoWc= |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aELzesorcHOnfjG0kmcl0Af8XE7NwxMzX" |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/17353 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/5c5dcfcf-f9ce-8db5-fd33-6bd14aaa4b48@debian.org |
| Approved | robomod@news.nic.it |
| Lines | 218 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sun, 15 Sep 2019 20:17:54 -0400 |
| X-Original-Message-ID | <5c5dcfcf-f9ce-8db5-fd33-6bd14aaa4b48@debian.org> |
| X-Original-References | <3429cc8e-87d4-facc-870d-1e664fe0779f@debian.org> <d1a1f418-fdeb-6688-087b-e8e2553a1ec3@debian.org> <c9be6ea3-eb9e-7017-767a-eb94e6f1b628@debian.org> <8b08c6e5-96f6-cffc-9c03-00d0fa9a8540@debian.org> <81acc63f-ffe8-ff28-71e2-8219b643f289@debian.org> <8e52d0d6-653b-91a8-9746-a73d1a05a84a@debian.org> |
| Xref | csiph.com linux.debian.maint.python:11818 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On 19-09-15 18 h 01, Thomas Goirand wrote: > On 9/15/19 4:10 AM, Louis-Philippe Véronneau wrote: >> On 19-09-14 17 h 35, Thomas Goirand wrote: >>> On 9/13/19 11:08 PM, Louis-Philippe Véronneau wrote: >>>> On 19-09-13 05 h 57, Thomas Goirand wrote: >>>>> On 9/5/19 7:40 AM, Louis-Philippe Véronneau wrote: >>>>>> Hello folks! >>>>>> >>>>>> I'd like to propose we start using Salsa CI for all the team packages. I >>>>>> think using a good CI for all our packages will help us find packaging >>>>>> bugs and fix errors before uploads :) >>>>> >>>>> I would agree *IF* and only *IF* we find better runners than the one >>>>> currently default in Salsa. The GCE runners are horribly slow (they are >>>>> the smallest to avoid cost). As a result, some tests may just fail >>>>> because of that, and it becomes just frustrating / annoying noise. >>>> >>>> I never experienced such timeouts, but I guess I don't work on very >>>> large packages or things that take more than a few minutes to build. >>> >>> The issue isn't build time. But when you have unit tests sensitive to >>> timing. See for example openvswitch: >>> >>> https://salsa.debian.org/openstack-team/third-party/openvswitch/pipelines/61713 >> >> Do you have similar issues running those CI tasks in a private runner? >> (I'm really curious since I haven't had problems and the Salsa runners >> don't seem slow compared to the private runners I run on my machines). > > For this particular package, I even had issues with some buildd on some > slow architectures like older MIPS. Just, with the Salsa default > runners, it's a complete disaster where most of the tests fails, not > just a few, because the runner is too slow. > > What this shows is that we should *not* just blindly add the CI to all > of the team's package. Potentially, this will be a disaster. You may add > the CI script here and there, but I am warning you: adding it to all > packages at once is a recipe for a big disaster. > >> Maybe one solution to your problem would be to provide a fast/responsive >> shared runners to the Salsa Team and tag your CI pipelines to use that >> runner exclusively [1]? >> >> [1] https://docs.gitlab.com/ee/ci/yaml/#tags > > Yes, that's what I've been telling to begin with. We should try > providing other runners for the team if possible. > >> [1] >> https://salsa.debian.org/salsa/salsa-terraform/blob/master/environments/prod/runner.tf > > This tells "instance_type: g1-small", which doesn't match any name at: > https://cloud.google.com/compute/vm-instance-pricing > > Am I right that this is n1-standard-1, which is 1 VCPU and 3.75 GB? > >> It's possible to push to Salsa without triggering a CI run with "git >> push -o ci.skip" or by including "[ci-skip]" in the HEAD commit message. >> >> IIUC, the problem isn't the overall amount of repositories using the CI, >> but adding a 1000 ones at the same time and overloading the runners. > > Ah, nice, good to know. > >>> 1/ Take a super big care when adding jobs. >> >> I feel this is easily resolved by the "-o ci.skip" thing. > > Good! > >> I'm not 100% sure that's a good idea. The Salsa Team has pretty strict >> requirements about shared runners (they require root on those machines >> to make sure the .debs created by the runners can be trusted) and I'm >> happy they do. > > I didn't know, and this makes me question the overall way it works, and > worries me a lot. ie we should be running on throwaway VMs, rather than > having a VM we should be able to trust. The way you describe things, I > wonder how easy it should be to get root on these VMs by running a > crafted CI job... Well, runners aren't running the CI jobs directly: everything is ran in Docker, as that's the only available executor on the Salsa shared runners. Even then, it uses a Gitlab special sauce, so it's not even strait up Docker. >> I really wonder how common the issues you've experienced with the Salsa >> CI runners are. Has anyone here had similar problems? > > Since we're talking about the smallest type of instance possible at > google, then other people may have experience the lack of RAM for sure. > >> I'd be fine with 95% of our package using the same default pipeline and >> the last 5% using something else or disabling it and adding a few >> comments in d/gitlab-ci.yml explaining why. > > The question is: how do you know who's the 5% that needs a better attention? I don't really think a failing CI is a big deal. It's not like this will break any package anyway. The way I see it, we'd push to all the repositories and then let folks working on individual packages disable it if it's causing them trouble, as long as they document why they disabled it. Since the CI won't be ran on the first push, we won't get an avalanche of mails saying the CI failed for X Y Z reason. >> FWIW, I've opened an issue on the Salsa Support issue tracker to see >> what the Salsa team thinks of this whole discussion [3] >> >> [3]: https://salsa.debian.org/salsa/support/issues/170 > > Thanks a lot for doing this, taking the time to communicate with the > Salsa people, etc. > > I'm all for more CI, so feel free to ignore my remarks and go ahead, my > intention was just bring your attention to things I've seen. If it works > well, then fantastic! :) The Salsa folks are asking us to wait a little before implementing such a change, as it seems they haven't yet decided what the infrastructure needs are to support a systematic use of Gitlab CI on Salsa. I feel that's a reasonable request. I was kindly pointed to this discussion on -devel by the Salsa admins: [1][2][3][4]. I think we should still try to agree on a draft modification to the policies. I'll send a recap mail of the discussions we've had to try to move forward with this. [1]: https://lists.debian.org/debian-devel/2019/09/msg00217.html [2]: https://lists.debian.org/debian-devel/2019/09/msg00220.html [3]: https://lists.debian.org/debian-devel/2019/09/msg00270.html [4]: https://lists.debian.org/debian-devel/2019/09/msg00241.html -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau ⢿⡄⠘⠷⠚⠋ pollo@debian.org / veronneau.org ⠈⠳⣄
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Streamlining the use of Salsa CI on team packages Louis-Philippe Véronneau <pollo@debian.org> - 2019-09-05 07:50 +0200
Re: Streamlining the use of Salsa CI on team packages Louis-Philippe Véronneau <pollo@debian.org> - 2019-09-12 17:00 +0200
Re: Streamlining the use of Salsa CI on team packages Louis-Philippe Véronneau <pollo@debian.org> - 2019-09-13 23:10 +0200
Re: Streamlining the use of Salsa CI on team packages Louis-Philippe Véronneau <pollo@debian.org> - 2019-09-15 04:20 +0200
Re: Streamlining the use of Salsa CI on team packages Louis-Philippe Véronneau <pollo@debian.org> - 2019-09-16 02:20 +0200
Re: Streamlining the use of Salsa CI on team packages Marcin Kulisz <debian@kulisz.net> - 2019-09-16 09:30 +0200
Re: Streamlining the use of Salsa CI on team packages Louis-Philippe Véronneau <pollo@debian.org> - 2019-09-16 02:40 +0200
Re: Streamlining the use of Salsa CI on team packages Raphael Hertzog <hertzog@debian.org> - 2019-09-17 10:10 +0200
Re: Streamlining the use of Salsa CI on team packages Louis-Philippe Véronneau <pollo@debian.org> - 2019-10-12 01:40 +0200
RE:Streamlining the use of Salsa CI on team packages PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2019-10-14 16:10 +0200
Re: Streamlining the use of Salsa CI on team packages Peter Pentchev <roam@ringlet.net> - 2019-10-15 09:40 +0200
csiph-web