Tuesday, 2025-05-20

-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 950397: wip: Only copy compatible defaults from provider config https://review.opendev.org/c/zuul/zuul/+/95039710:06
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 950407: Ensure job projects are only considered once https://review.opendev.org/c/zuul/zuul/+/95040712:46
-@gerrit:opendev.org- Simon Westphahl proposed: [zuul/zuul] 950407: Ensure job projects are only considered once https://review.opendev.org/c/zuul/zuul/+/95040713:13
-@gerrit:opendev.org- Simon Westphahl proposed on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 950370: Improve zuul_console_disabled testing https://review.opendev.org/c/zuul/zuul/+/95037013:26
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 950370: Improve zuul_console_disabled testing https://review.opendev.org/c/zuul/zuul/+/95037013:28
@jkt_:matrix.orgSo, I'm about to migrate our company-internal, ancient zuul+nodepool setup (like zuul 3.19.1 on EL7 level of ancient) to something newer. I picked an EL9 clone (alma), and I was wondering if containers are something to use. I followed the [FAQ](https://zuul-ci.org/docs/faq.html) which points me to [Docker hub](https://hub.docker.com/u/zuul), I guess that's obsolete. I pick the latest image on quay.io (which I think is the thing to use, right?), and it tells me quite prominently that the image has a [critical vulnerability in zlib](https://quay.io/repository/zuul-ci/zuul/manifest/sha256:e70658a4971f9243a3347c693c33da0bcbdfdf5bad35d69a6c4d8d3b58c2713e?tab=vulnerabilities). Are these images recommended for use?15:46
@jkt_:matrix.orgAlso, the "install" page of [nodepool](https://zuul-ci.org/docs/nodepool/latest/installation.html#install-nodepool) mentions RHEL7 and python 3.6, while the [release notes](https://zuul-ci.org/docs/nodepool/latest/releasenotes.html) say that nodepool started requiring 3.8 in release 6.0.0, and that it's currently 3.11-only15:48
@fungicide:matrix.organd i guess some documentation is stale too15:55
@fungicide:matrix.orgjkt: yes, zuul switched to publishing on quay ~2 years ago: https://lists.zuul-ci.org/archives/list/zuul-announce@lists.zuul-ci.org/message/EGYFJS6REK7WEZCKGYCIRLBOFD7ZWW7U/15:54
@fungicide:matrix.orglooks like we didn't get around to deleting the images from dockerhub like the announcement said we would15:54
@fungicide:matrix.orgwe should probably stop listing things like python and platform versions in install docs, since we'd need to perpetually update them15:57
@clarkb:matrix.orgquay's idea of secure container images is heavily EL biased last I looked at what it complained about in debian16:12
@jim:acmegating.comjkt: opendev runs the quay.io images in production, and acme gating produces very similar images for customers.16:13
@clarkb:matrix.orgif you click on those vulnerabilites they give you CVEs which you can trace back to debian to see why debian has or hasn't patched things to quay's satisfaction16:14
@jim:acmegating.comjkt: to expand on what Clark mentioned, that particular cve does not appear to be a concern based on the details: https://security-tracker.debian.org/tracker/CVE-2023-4585316:14
@jkt_:matrix.orgokay, I have no idea what they mean by "src:zlib not producing binary packages", but I'm happy to believe that it's a false alert16:17
@jkt_:matrix.orgthanks16:17
@jim:acmegating.comi agree there's some shorthand going on there.  :)16:17
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul-website] 950440: Update container location in FAQ https://review.opendev.org/c/zuul/zuul-website/+/95044016:20
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 950441: Remove completed/inactive specs https://review.opendev.org/c/zuul/zuul/+/95044116:26
@clarkb:matrix.orgI think this line a little lower on the page explains it `src:zlib only starts building minizip starting in 1:1.2.13.dfsg-2`. The version in bookworm doesn't build minizip from the src:zlib package. The version in debian after bookworm does and was fixed16:36
@clarkb:matrix.orgso the vulnerable code is present in the source zlib package but they don't build the vulnerable code from there is my read of it16:36
@fungicide:matrix.orgi concur16:39
@fungicide:matrix.orgthere's an ongoing project to try to get better clarification in debian's security tracker as to why some things with assigned identifiers aren't considered vulnerabilities in debian's packages16:40
@clarkb:matrix.orgfungi: even changing the package is vulnerable label to "vulnerable but not in a way that matters" or "vulnerable see notes" would probably help16:45
@fungicide:matrix.orgyeah, proposal started here over a month ago: https://lists.debian.org/debian-security/2024/04/msg00001.html (and discussion is still in progress, things move slowly in debian)16:58
@fungicide:matrix.orger, over a year ago i meant16:58
@f2ked:matrix.orgFYI: documents are not being updated?17:23
[example](https://zuul-ci.org/docs/zuul/latest/drivers/gerrit.html) does not show new `replication_timeout` config
@clarkb:matrix.orgit looks like the docs promotion jobs are succeeding. Which means the problem is likely in afs maybe? I notice that https://grafana.opendev.org/d/9871b26303/afs?orgId=1&from=now-6h&to=now&timezone=utc doesn't seem to show a vos release timer for project_zuul. Maybe that volume got stuck?17:34
@jim:acmegating.comlikely; let's switch to #_oftc_#opendev:matrix.org 17:34
@jim:acmegating.comback here now... the issue is the content.  i'll fix17:54
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 950451: Fix gerrit replication_timeout docs https://review.opendev.org/c/zuul/zuul/+/95045117:55
@jim:acmegating.comhttps://zuul.opendev.org/t/zuul/builds?job_name=zuul-quick-start&project=zuul/zuul18:03
@jim:acmegating.comit looks like the latest gerrit image may have changed something we rely on in tests18:03
@clarkb:matrix.orgcorvus: they just released 3.12.0 today18:03
@jim:acmegating.comhttps://zuul.opendev.org/t/zuul/build/b3ca317379fa41c6b229b8e3d8d94902/log/container_logs/gerrit.log#29018:04
@jim:acmegating.commaybe that?18:04
@jim:acmegating.comcorrelates with this: https://zuul.opendev.org/t/zuul/build/b3ca317379fa41c6b229b8e3d8d94902/log/container_logs/gerritconfig.log#4418:05
@clarkb:matrix.org`invalid project.config file in revision 6eba5f7706980d7953bfc89335740ed0792177b3)\nerror: failed to push some refs to 'http://gerrit:8080/All-Projects'`18:05
@jim:acmegating.comValue 'MaxWithBlock' of 'label.Code-Review.function' is not allowed and cannot be set. Label functions can only be set to {NO_BLOCK, NO_OP, PATCH_SET_LOCK}. Use submit requirements instead of label functions.18:05
@jim:acmegating.com```18:07
[submit-requirement "Code-Review"]
description = A maximum vote is required for the \
'Code-Review' label. A minimum vote is blocking.
submittableIf = label:Code-Review=MAX AND -label:Code-Review=MIN
canOverrideInChildProjects = true
```
@jim:acmegating.comwould that be the equvilant? based on https://gerrit-review.googlesource.com/Documentation/config-submit-requirements.html#code-review-example but dropped the non-uploader bit18:07
@clarkb:matrix.orglet me check against what we updated to in opendev18:08
@jim:acmegating.comoh heh we have that already for verified and workflow18:08
@clarkb:matrix.orghttps://docs.opendev.org/opendev/system-config/latest/gerrit.html#access-controls you can see in the big block there18:09
@clarkb:matrix.orgwe used a simpler description but the important bits align18:09
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 950454: Fix quickstart example/test for Gerrit 3.12 https://review.opendev.org/c/zuul/zuul/+/95045418:10
@jim:acmegating.comthat's a naive fix^  but we should look at what Code-Review is actually set to by default now18:11
@jim:acmegating.comi think the only change is that the function is now "NoBlock" which is the default18:13
@jim:acmegating.comso while the project.config in that change doesn't exactly textually match, it is functionally equal18:14
@jim:acmegating.comwe are implicitly removing the "no-unresolved-comments" submit requirement18:14
@jim:acmegating.comi think that's fine and reasonable for the quickstart18:14
@clarkb:matrix.org++ the no-unresolved-comments requirement is also a bit gameable...18:15
@clarkb:matrix.orgI'm not sure it adds a ton of value18:15
@jim:acmegating.comhere's the complete default project.config from a new gerrit 3.12 install: https://paste.opendev.org/show/bwfblFr6bFDQfF4z6IhL/18:15
@jim:acmegating.comyeah, and i think it could be problematic for new users to run into that if they are not gerrit experts and they inadvertently left a comment on a change and zuul can't submit it.18:16
@jim:acmegating.com * yeah, and i think it could be problematic for new users to run into that if they are not gerrit experts and they inadvertently left a comment on a change and zuul can't submit it. (in the context of the quickstart)18:16
@clarkb:matrix.orgcorvus: shoudl we dequeue changes that are not 950454 from the gate since they will fail on quick start?18:44
@jim:acmegating.comi'll approve 454 and promote it18:50
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 950460: Niz: fix inheriting image attributes https://review.opendev.org/c/zuul/zuul/+/95046019:54
@aureliojargas:matrix.orgHey guys, I have this small change to the `ensure-nox` role, already +2 by Clark: https://review.opendev.org/c/zuul/zuul-jobs/+/945276. Should we merge it?20:16
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul-website] 950440: Update container location in FAQ https://review.opendev.org/c/zuul/zuul-website/+/95044020:30
@jim:acmegating.comi'm wondering why it was omitted20:45
@clarkb:matrix.orgcorvus:  I think before things got standardized it was just missed20:47
@jim:acmegating.comi don't see anything in the original change or the discussion about it https://meetings.opendev.org/irclogs/%23zuul/%23zuul.2022-12-15.log.html20:47
@clarkb:matrix.organd now that we've standardized we're able to more easily align all of the similar roles20:47
@jim:acmegating.comwell, it looks like it was added to ensure-tox 2 years prior20:47
@jim:acmegating.comhttps://review.opendev.org/73633020:48
@jim:acmegating.comhttps://review.opendev.org/86790220:48
@jim:acmegating.comso either i dropped it because it was too complex?  or because it didn't seem necessary or a good idea?20:49
@jim:acmegating.comi suspect that i dropped it because we had improved the plumbing of the nox_executable output variable to the point where any consuming role would easily use it, and thus installing it globally as root shouldn't be needed20:52
@jim:acmegating.combut, i guess there's still a need for that?20:53
@clarkb:matrix.orgI think the primary change here is about consistency with all of the other roles using the same underlying ensure python venv command role20:53
@jim:acmegating.comAurelio Jargas: maybe you can confirm whether you need that because of another role in zuul-jobs that doesn't correctly use the output variable, or if it's because you're integrating with something other than a zuul role that makes it difficult to use it.20:53
@jim:acmegating.comClark: sure, but if the omission was to try to start backing out an uneccessary change, it's worth discussing?20:54
@clarkb:matrix.orgyup. I was just pointing out that I'm not sure there is an explicit need driving it20:55
@jim:acmegating.comyeah.  it's also been 3 years without apparently needing it, so there might be some evidence that we can start unwinding that from other roles20:55
@jim:acmegating.comotoh, if there is need, that would be good to know, and reasonable to add it.20:56
@jim:acmegating.comAurelio Jargas: i left a request for clarification on https://review.opendev.org/94527620:57
@jim:acmegating.comat the very least, we'll end up with some breadcrumbs, since i haven't found any from earlier discussions :(20:58
@jim:acmegating.com[i apologize for my part in that; it's not always easy to remember to note why one did not do a thing]20:59
@clarkb:matrix.orgcorvus: now the error is `ERROR: commit aa31ca8: Cannot delete 'label.Code-Review.function'. Label functions can only be set to {NO_BLOCK, NO_OP, PATCH_SET_LOCK}. Use submit requirements instead of label functions.`21:18
@clarkb:matrix.orgI think you need to set the function to NO_OP21:18
@clarkb:matrix.orglooking at opendev that is what we did (we set it to noBlock which is an alias for NO_OP iirc)21:19
@clarkb:matrix.org* looking at opendev that is what we did (we set it to NoBlock which is an alias for NO\_OP iirc)21:19
@clarkb:matrix.orgI seem to recall running into this when testing opendev's conversion and its a weird corner case bug in how they implemented things21:20
@clarkb:matrix.orghttps://gerrit-review.googlesource.com/Documentation/config-labels.html#label_function21:21
@jim:acmegating.comweird i thought they were spelled NoOp and NoBlock.  NoOp and NoBlock are supposed to be synonyms and the default, so i assumed that omitting the function would be okay.21:24
@clarkb:matrix.orgcorvus: yes looking at the docs it is NoOp and NoBlock so the error message must be emitting some serialzed form of something?21:25
@clarkb:matrix.organd ya I want to say the issue is that internally Code-Review is implemented with MaxWithBlock so you can' drop the function you have to set it when changing it21:25
@clarkb:matrix.orgbasically they deprecated the ability to explicitly set it yourself but then continue to internally set it to the deprecated value or something along those lines. It may have chaned in 3.12 too I suppose21:26
@jim:acmegating.comin 3.12 the default config is noblock and a submit rule21:26
@jim:acmegating.comso that reads to me like changing it from "noblock" to "" is now an error21:27
@jim:acmegating.comanyway, i'll add function=noblock to all 321:27
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul] 950454: Fix quickstart example/test for Gerrit 3.12 https://review.opendev.org/c/zuul/zuul/+/95045421:30

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!