Wednesday, 2023-01-25

-@gerrit:opendev.org- Michael Kelly proposed:06:09
- [zuul/zuul-jobs] 871679: roles: Add ensure-git-lfs https://review.opendev.org/c/zuul/zuul-jobs/+/871679
- [zuul/zuul-jobs] 871680: roles: Add git-lfs-init https://review.opendev.org/c/zuul/zuul-jobs/+/871680
@picog:matrix.orgHi Folks. I've been upgrading a legacy CI system based on software-factory.09:32
I upgrade from Software factory 3.4 to 3.5. As I understand it, the runc container now goes away.
After the upgrade, I see tox-linter jobs immediately fail with node failure.
Could someone perhaps help me understand where I should be looking to fix this.
Where does zuul figure out which provider to use when requesting a node from nodepool:
This is the log I see:
```
INFO zuul.nodepool: [e: cf2f7201b176428ebe701e565ef659cd] Submitted node request <NodeRequest 200-0000224653 <NodeSet [<Node None ('managed-runc-provider',):runc-centos>]>>```
-@gerrit:opendev.org- Matthieu Huin https://matrix.to/#/@mhuin:matrix.org proposed: [zuul/zuul-client] 837908: Generate a token silently if possible https://review.opendev.org/c/zuul/zuul-client/+/83790809:35
-@gerrit:opendev.org- Matthieu Huin https://matrix.to/#/@mhuin:matrix.org proposed: [zuul/zuul-client] 837908: Generate a token silently if possible https://review.opendev.org/c/zuul/zuul-client/+/83790810:07
-@gerrit:opendev.org- Matthieu Huin https://matrix.to/#/@mhuin:matrix.org proposed: [zuul/zuul] 842361: zuul-web: harmonize behavior for boolean parameters https://review.opendev.org/c/zuul/zuul/+/84236110:17
-@gerrit:opendev.org- Matthieu Huin https://matrix.to/#/@mhuin:matrix.org proposed: [zuul/zuul-client] 794553: builds: fix API queries for boolean parameters, make tenant optional https://review.opendev.org/c/zuul/zuul-client/+/79455310:20
-@gerrit:opendev.org- Matthieu Huin https://matrix.to/#/@mhuin:matrix.org proposed: [zuul/zuul-client] 819118: Support for "basic" authentication https://review.opendev.org/c/zuul/zuul-client/+/81911810:22
-@gerrit:opendev.org- Matthieu Huin https://matrix.to/#/@mhuin:matrix.org proposed: [zuul/zuul-client] 819118: Support for "basic" authentication https://review.opendev.org/c/zuul/zuul-client/+/81911810:27
-@gerrit:opendev.org- Dong Zhang proposed: [zuul/zuul] 871259: Filter input validation for "Change" https://review.opendev.org/c/zuul/zuul/+/87125911:08
-@gerrit:opendev.org- Dong Zhang proposed: [zuul/zuul] 871259: Filter input validation for "Change" https://review.opendev.org/c/zuul/zuul/+/87125911:13
@fungicide:matrix.org> <@picog:matrix.org> Hi Folks. I've been upgrading a legacy CI system based on software-factory.13:04
> I upgrade from Software factory 3.4 to 3.5. As I understand it, the runc container now goes away.
> After the upgrade, I see tox-linter jobs immediately fail with node failure.
> Could someone perhaps help me understand where I should be looking to fix this.
> Where does zuul figure out which provider to use when requesting a node from nodepool:
>
> This is the log I see:
> ```
> INFO zuul.nodepool: [e: cf2f7201b176428ebe701e565ef659cd] Submitted node request <NodeRequest 200-0000224653 <NodeSet [<Node None ('managed-runc-provider',):runc-centos>]>>```
without knowing what zuul and nodepool versions were in sf 3.4 and 3.5 it's hard to say what the upgrade implications might be. according to https://www.softwarefactory-project.io/ they have their own matrix channel and a mailing list you can ask for help on, that might be a good place to start
@picog:matrix.org> <@fungicide:matrix.org> without knowing what zuul and nodepool versions were in sf 3.4 and 3.5 it's hard to say what the upgrade implications might be. according to https://www.softwarefactory-project.io/ they have their own matrix channel and a mailing list you can ask for help on, that might be a good place to start13:18
Thanks. Zuul is now on 3.19 and nodepool 3.13.
I did ask on the software factory channel before asking here.
I found the zuul-jobs repo at least which contains the definitions of the linter jobs, I'll dig through that
@fungicide:matrix.orgPico: they'll probably be in a much better position to assist. those versions of zuul and nodepool are several years old, so while i can point you to the release notes, i'm not sure i remember what the upgrade entailed that long ago13:21
@fungicide:matrix.orghttps://zuul-ci.org/docs/zuul/latest/releasenotes.html#relnotes-3-19-1 https://zuul-ci.org/docs/nodepool/latest/releasenotes.html#relnotes-3-13-113:23
@picog:matrix.org> <@fungicide:matrix.org> Pico: they'll probably be in a much better position to assist. those versions of zuul and nodepool are several years old, so while i can point you to the release notes, i'm not sure i remember what the upgrade entailed that long ago13:24
Yeah, I've trying to incrementally upgrade I don't want to risk an upgrade from a broken system.
@picog:matrix.org> <@fungicide:matrix.org> Pico: they'll probably be in a much better position to assist. those versions of zuul and nodepool are several years old, so while i can point you to the release notes, i'm not sure i remember what the upgrade entailed that long ago13:24
* Yeah, I'm trying to incrementally upgrade I don't want to risk an upgrade from a broken system.
@fungicide:matrix.orgif it helps, we do try to record breaking changes and upgrade steps in the release notes when there are any you need to be aware of13:26
@fungicide:matrix.organd usually any significant breaking changes come along with a major version increment (for example when you get to zuul 4.x you'll need to make sure you have a relational database available and configured)13:27
-@gerrit:opendev.org- Dong Zhang proposed: [zuul/zuul] 871259: Filter input validation for "Change" https://review.opendev.org/c/zuul/zuul/+/87125913:35
@mhuin:matrix.orgHello, I'm dusting up some old open changes for zuul-client, these two are adding auth features and got +2'ed a while ago: 13:55
@mhuin:matrix.org1 - https://review.opendev.org/c/zuul/zuul-client/+/819118 will allow a user to authenticate with username/password rather than a raw JWT13:55
@mhuin:matrix.org2 - https://review.opendev.org/c/zuul/zuul-client/+/837908 will generate a token automatically if a zuul.conf file with a H256 authenticator is available. The use case is: using zuul-client on the server where zuul is running13:56
@mhuin:matrix.orgThey're conflicting so if you have a preference for one being merged before the other let me know so I can do the needed rebase13:57
-@gerrit:opendev.org- Matthieu Huin https://matrix.to/#/@mhuin:matrix.org proposed: [zuul/zuul-client] 752909: Add buildsets, buildset-info to subcommands https://review.opendev.org/c/zuul/zuul-client/+/75290914:47
-@gerrit:opendev.org- Matthieu Huin https://matrix.to/#/@mhuin:matrix.org proposed: [zuul/zuul] 758985: zuul-client: Test buildsets, buildset-info subcommands https://review.opendev.org/c/zuul/zuul/+/75898514:55
@clarkb:matrix.orgcorvus: ianw executors updated in opendev so I have rechecked https://review.opendev.org/c/zuul/nodepool/+/871409/16:15
-@gerrit:opendev.org- Michael Kelly proposed: [zuul/zuul] 869786: model: Eliminate semaphore_handler parameter on findJobsTo*() https://review.opendev.org/c/zuul/zuul/+/86978617:08
-@gerrit:opendev.org- Michael Kelly proposed:17:10
- [zuul/zuul-jobs] 871679: roles: Add ensure-git-lfs https://review.opendev.org/c/zuul/zuul-jobs/+/871679
- [zuul/zuul-jobs] 871680: roles: Add git-lfs-init https://review.opendev.org/c/zuul/zuul-jobs/+/871680
@michael_kelly_anet:matrix.orgcorvus: I added some roles to cover the LFS stuff we had chatted about last week as well as one to cover submodules. 17:11
@michael_kelly_anet:matrix.orghttps://review.opendev.org/q/project:zuul/zuul-jobs+status:open+owner:mkelly17:11
-@gerrit:opendev.org- Michael Kelly proposed:17:56
- [zuul/zuul-jobs] 871679: roles: Add ensure-git-lfs https://review.opendev.org/c/zuul/zuul-jobs/+/871679
- [zuul/zuul-jobs] 871680: roles: Add git-lfs-init https://review.opendev.org/c/zuul/zuul-jobs/+/871680
@clarkb:matrix.orgOne of OpenDev's users `check experimental`'d an old patchset (patchset 14 of this change https://review.opendev.org/c/openstack/nova/+/863920 when patchset 15 was latest). Zuul appears to have run the jobs against patchset 14: https://zuul.opendev.org/t/openstack/builds?pipeline=experimental&change=863920%2C14&skip=0 but as you can see on the change it never reported back.19:00
@clarkb:matrix.orgI tracked it down to Gerrit returning 404 responses when posting the review. This is where Zuul is posting the review `DEBUG zuul.GerritConnection: POST: https://review.opendev.org/a/changes/openstack%2Fnova~master~I595b27a57516cffe1f172cf2fb736e1b11373a1d/revisions/None/review` Note the `None` in the revision field.19:02
@clarkb:matrix.orgAnd that url is constructed here: https://opendev.org/zuul/zuul/src/branch/master/zuul/driver/gerrit/gerritconnection.py#L1388-L1390 looks like change.commit is `None` for some reason.19:04
@clarkb:matrix.orgI've got to run, but wanted to call this out. Maybe there is already a fix for this or someone understands why this would ahppen?19:04
-@gerrit:opendev.org- Michael Kelly proposed:19:05
- [zuul/zuul-jobs] 871679: roles: Add ensure-git-lfs https://review.opendev.org/c/zuul/zuul-jobs/+/871679
- [zuul/zuul-jobs] 871680: roles: Add git-lfs-init https://review.opendev.org/c/zuul/zuul-jobs/+/871680
@clarkb:matrix.orghrm Refs/Branches/Changes in model.py don't have a commit attribute19:09
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed:19:09
- [zuul/nodepool] 871776: Fix openshift doc attribute hierarchy https://review.opendev.org/c/zuul/nodepool/+/871776
- [zuul/nodepool] 871777: Add support for privileged containers https://review.opendev.org/c/zuul/nodepool/+/871777
@clarkb:matrix.orgso now I'm really confused where that comes from (BuildSet does though_)19:09
@clarkb:matrix.orgbut I need to run errands back later.19:09
-@gerrit:opendev.org- Michael Kelly proposed:19:26
- [zuul/zuul-jobs] 871679: roles: Add ensure-git-lfs https://review.opendev.org/c/zuul/zuul-jobs/+/871679
- [zuul/zuul-jobs] 871680: roles: Add git-lfs-init https://review.opendev.org/c/zuul/zuul-jobs/+/871680
@clarkb:matrix.orgGerritChange which inherits from Change adds that attribute20:30
@clarkb:matrix.orgKnowing that I now realize something interesting. The ssh and http code paths have different behaviors. Compare https://opendev.org/zuul/zuul/src/branch/master/zuul/driver/gerrit/gerritmodel.py#L91-L94 to https://opendev.org/zuul/zuul/src/branch/master/zuul/driver/gerrit/gerritmodel.py#L151-L15620:31
@clarkb:matrix.orgI think that second link explains why the commit is None. It is because self.patchset != the current revision. But in the ssh path we would handle that20:31
@clarkb:matrix.orgcorvus: ^ not sure what the best way to reconcile those behavior differences is. I feel like the most correct thing is to update http to act like ssh?20:32
@clarkb:matrix.orgaha when we query via ssh we set --patch-sets to get all patchests back but when we query by http we only set the flag for the current revision20:36
-@gerrit:opendev.org- Clark Boylan proposed: [zuul/zuul] 871783: WIP consistent patchset behavior for gerrit ssh and http https://review.opendev.org/c/zuul/zuul/+/87178320:59
@clarkb:matrix.orgThat is very much not correct or complete, but I think it should have enough hints in it to help when picking this up again later as I don't have time for it right now20:59
-@gerrit:opendev.org- Michael Kelly proposed: [zuul/zuul-jobs] 871680: roles: Add git-lfs-init https://review.opendev.org/c/zuul/zuul-jobs/+/87168021:48
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed:22:59
- [zuul/nodepool] 871199: Add API timing debug statements to openstack driver https://review.opendev.org/c/zuul/nodepool/+/871199
- [zuul/nodepool] 871803: Speed up openstack server listing https://review.opendev.org/c/zuul/nodepool/+/871803
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed:23:47
- [zuul/nodepool] 871803: Speed up openstack server listing https://review.opendev.org/c/zuul/nodepool/+/871803
- [zuul/nodepool] 871199: Add API timing debug statements to openstack driver https://review.opendev.org/c/zuul/nodepool/+/871199

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