Thursday, 2022-12-22

-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com:16:08
- [zuul/zuul] 867900: Pin tox to 3 https://review.opendev.org/c/zuul/zuul/+/867900
- [zuul/zuul] 867057: Add noxfile and switch to nox https://review.opendev.org/c/zuul/zuul/+/867057
-@gerrit:opendev.org- Zuul merged on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul] 868229: Switch to nox-docs https://review.opendev.org/c/zuul/zuul/+/86822916:08
@clarkb:matrix.orgianw: I updated the zuul annual report draft to try and capture the pf4 suggestion17:13
@jim:acmegating.comClark: i believe it's "unpin tox in zuul-jobs" day20:45
@jim:acmegating.comdid we have a change for that already?20:46
@jim:acmegating.comyes - https://review.opendev.org/86694320:46
@clarkb:matrix.orgyup looks like ou found it20:47
@clarkb:matrix.organd that should be self testing that things generally work if you've got a working config20:48
@clarkb:matrix.orgcorvus: I just removed my -W if you want to send it in20:48
@jim:acmegating.comdone20:49
@jim:acmegating.comit looks like the nox docs promote job worked for zuul, so i think that's confirmation that all the nox stuff is working for the zuul repo20:50
@clarkb:matrix.orgcorvus: https://zuul.opendev.org/t/zuul/build/7a55918c47a145c582b9f22e8a4c80a6 this passed the other day and I thought I had corrected that21:16
@clarkb:matrix.orgby removing tox-bindep21:17
@jim:acmegating.comClark: https://review.opendev.org/86694521:19
@jim:acmegating.comClark: i can't quite put together why it passed before...21:20
@clarkb:matrix.orgmy guess is that they released newer tox v4 that doesn't bootstrap the specified tox version for the test env via requires properly21:20
@clarkb:matrix.orgI think we can flip the order of the two changes and land it that way though21:21
@jim:acmegating.comyes; or squash21:21
@jim:acmegating.com(but flip might be better just to keep things clear?)21:21
@clarkb:matrix.org++ to flip21:21
@clarkb:matrix.orgdo you want ot do that or should I?21:21
@jim:acmegating.comyou -- unless you're away from a terminal then i can21:22
@clarkb:matrix.orgI can, I just have to load my keys21:22
@clarkb:matrix.orghaven't needed to do that yet today21:22
-@gerrit:opendev.org- Clark Boylan proposed: [zuul/zuul-jobs] 866943: Flip ensure-tox to tox v4 by default https://review.opendev.org/c/zuul/zuul-jobs/+/86694321:24
-@gerrit:opendev.org- Clark Boylan proposed on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul-jobs] 866945: Avoid tox-bindep in test-tox job https://review.opendev.org/c/zuul/zuul-jobs/+/86694521:24
@clarkb:matrix.orgcorvus: ^ if you want to reapprove21:24
@clarkb:matrix.orgnevermind it preserved votes so I went ahead and +Ad21:25
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/nodepool] 868438: Switch to nox https://review.opendev.org/c/zuul/nodepool/+/86843821:32
@clarkb:matrix.orgcorvus: some of those nox sessions for nodepool run zuul manage-ansible is that intentional?21:35
@clarkb:matrix.orgalso those functional job playbooks might need to run nox?21:37
@jim:acmegating.comderp21:40
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/nodepool] 868438: Switch to nox https://review.opendev.org/c/zuul/nodepool/+/86843821:41
@jim:acmegating.comClark: thx :)21:41
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/zuul-client] 868440: Switch to nox https://review.opendev.org/c/zuul/zuul-client/+/86844022:04
@jim:acmegating.comianw: does this failure mean anything to you? https://zuul.opendev.org/t/zuul/build/3a2808d00b1f4cc49a5808c81d7e99cb22:17
@iwienand:matrix.orgcorvus: i guess yes in so far as it seems cri-dockerd isn't starting, which is the serivce that maps docker->cri-o api, but i'm not sure why that would be22:19
@iwienand:matrix.orgunfortunately we don't collect the journal logs that would be required to see what that is i don't think22:20
@iwienand:matrix.orghttps://zuul.opendev.org/t/zuul/build/3a2808d00b1f4cc49a5808c81d7e99cb/console#1/0/125/ubuntu-jammy looks good22:21
@iwienand:matrix.orghttps://github.com/Mirantis/cri-dockerd/releases22:21
@iwienand:matrix.org2 days ago22:21
@iwienand:matrix.orgi would *strongly* suspect that ...22:22
@jim:acmegating.comah22:22
@iwienand:matrix.orgalthough really it doesn't seem like much in that release ... but ... i don't know sorry 22:22
@jim:acmegating.comthere's a very specific docker version we install: https://opendev.org/zuul/nodepool/src/branch/master/playbooks/nodepool-functional-k8s/pre.yaml#L822:22
@iwienand:matrix.orgIMO, as expressed in https://lists.zuul-ci.org/archives/list/zuul-discuss@lists.zuul-ci.org/thread/GGBXGLA5GGF5QDPVL6X6J2TC3ZCYZ5PH/, debugging this is not particularly fruitful22:25
@jim:acmegating.comianw: you reckon the microk8s switch is the way to proceed?22:25
@iwienand:matrix.orgwell, yes, my thoughts are above, although i admit that's very long :)  22:26
@iwienand:matrix.orgthat came out of me having to debug more or less the same thing, with the cri-dockerd dameon not working with jammy, which in that case turned out to be paths of packages and config files moving.  that may very well have regressed22:28
@jim:acmegating.comwell, this problem is new, but perhaps similar/related to what you were addressing before.  so i'm just verifying that i correctly understand your position is that the problems are similar enough that you believe the microk8s move is also the best way to proceed now.  :)22:29
@iwienand:matrix.orgyeah -- if we investigate this is likely, but not for sure, something like an incorrect path, or missing package or something like that.  but we keep hitting these problems going down this fairly winding path, and I can't see we won't keep hitting them.  I can't claim that microk8s will never break, but it does seem to be the most supported path for a simple k8s deploy on ubuntu.22:32
@jim:acmegating.comianw: thanks.  i'm going to rebase your nodepool changes -- they conflict with master22:34
@iwienand:matrix.org++22:35
@iwienand:matrix.orgi have to run off for christmas travel soon, so feel free to just do anything to any of my changes :)22:35
@jim:acmegating.comianw: oh sorry i was mistaken, they're fine22:37
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed: [zuul/nodepool] 868438: Switch to nox https://review.opendev.org/c/zuul/nodepool/+/86843822:39
-@gerrit:opendev.org- James E. Blair https://matrix.to/#/@jim:acmegating.com proposed on behalf of Ian Wienand:22:39
- [zuul/nodepool] 866955: nodepool-functional-k8s: switch to microk8s https://review.opendev.org/c/zuul/nodepool/+/866955
- [zuul/nodepool] 867745: Unpin microk8s https://review.opendev.org/c/zuul/nodepool/+/867745
@jim:acmegating.comwell, in combination with my nox change, they conflict, so i did rebase22:39
@iwienand:matrix.orgactually i just noticed a bug in https://review.opendev.org/c/zuul/zuul-jobs/+/867063/32/roles/use-buildset-registry/tasks/microk8s-mirror.yaml22:40
@jim:acmegating.comClark: https://zuul.opendev.org/t/zuul/build/473dd7dcc5e1499f8dbeff926fb41e32 is unhappy -- the tox-bindep change... :/22:40
@iwienand:matrix.orgline 24 should't hard-code quay.io, but use the loop variable22:40
-@gerrit:opendev.org- Ian Wienand proposed: [zuul/zuul-jobs] 867063: use-buildset-registry: support microk8s https://review.opendev.org/c/zuul/zuul-jobs/+/86706322:41
@clarkb:matrix.orgcorvus: I think you have to use -- to separate posargs now. I'll write a fi22:44
@clarkb:matrix.orgcorvus it almost looks like it is running under tox v4 though22:48
@clarkb:matrix.orgmaybe not the logging is wrong22:48
-@gerrit:opendev.org- Clark Boylan proposed: [zuul/zuul-jobs] 866943: Flip ensure-tox to tox v4 by default https://review.opendev.org/c/zuul/zuul-jobs/+/86694322:49
-@gerrit:opendev.org- Clark Boylan proposed on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul-jobs] 866945: Avoid tox-bindep in test-tox job https://review.opendev.org/c/zuul/zuul-jobs/+/86694522:49
@clarkb:matrix.orgI think ^ that will address it22:49
@clarkb:matrix.orghrm https://zuul.opendev.org/t/zuul/build/6e166bf5750a44f3b9c9c2cd44345393/log/job-output.txt is failing in the child now the same way it did before restacking. But with the different deps23:00
@clarkb:matrix.orgthis almost looks like tox is broken23:01
@jim:acmegating.comClark: yeah, or -- tox3 can't handle installing tox4 in the venv?23:03
@clarkb:matrix.orgya looks like ensure-tox is installing tox 3.28.0 as expected. But then later we're ending up with tox 4.0.16 somehow?23:09
@clarkb:matrix.orgthe file path the exception is occuring in is not found in 3.28.0 so it is definitely updating tox somewhere23:10
@clarkb:matrix.org".tox installdeps: requestsexceptions, tox >= 3.2"23:12
@clarkb:matrix.orgmaybe that is it and we aren't getting better logging than that23:12
@clarkb:matrix.orgI can reproduce this locally23:15
@clarkb:matrix.orgit does indeed install a tox 4.0.1623:15
@jim:acmegating.comClark: yeah, if tox3 can't handle installing tox4 in the recursive venv, then i think this feature is just broken with tox3.  maybe we should squash them and merge together?23:16
@jim:acmegating.comoh, but the job fails on the second change too?23:16
@clarkb:matrix.orgwell its failing on the parent too. I think tox v4 is just broken23:16
@clarkb:matrix.orger child not parent23:16
@jim:acmegating.comfailing on both changes in the same way -- so tox3 installing tox4 is broken, and tox4 installing tox4 is broken23:17
@jim:acmegating.comClark: i think the only reasonable thing is to comment out this test?23:18
@clarkb:matrix.orgin the tox v4 case it doesn't seem to install a nested tox23:18
@jim:acmegating.comah ok23:18
@clarkb:matrix.orgI think maybe we can drop the minversion requirement23:19
@clarkb:matrix.orglet me test that23:19
@clarkb:matrix.orgno that doesn't work because anytime you use the requires directive it seems to install latest tox23:21
@clarkb:matrix.orgthis is independent of our minversion. And latest tox seem sto be broken on something23:21
@clarkb:matrix.orgso ya I think we comment it out23:21
@clarkb:matrix.orgoh wait23:22
@clarkb:matrix.orgI'm doing some hacky print debugging and the %s might be to blame?23:23
@clarkb:matrix.orgyes replacing the `testenv:%s` "fixes" it23:23
@clarkb:matrix.orgI think tox v4 may have made that an invalid target23:23
@clarkb:matrix.orgthey match targets against this regex: `re.compile('!?[\\w._][\\w._-]*')` and the % is breaking that?23:24
@jim:acmegating.comwhy is there a literal "%S" ?23:24
@clarkb:matrix.orgI don't know23:24
@clarkb:matrix.org`30bc5d67ff96d960114245cfa785097e937e7835` do not interpolate values from show config23:25
@clarkb:matrix.orgits part of some siblings thing that tox seems to have made invalid23:25
@jim:acmegating.comClark: but this is failing in "Run tox with empty envlist" not  "Run tox with tox_envlist = %s" right?23:25
@clarkb:matrix.orgcorrect, but it appears to be listing all the targets internally when you don't give it a target and then detecting this is broken due to the regex match23:25
@clarkb:matrix.orgI think we can drop the %s since tox doesn't allow it to be valid under latest v4?23:26
@jim:acmegating.comsounds good23:26
@clarkb:matrix.orghrm23:26
@clarkb:matrix.orgits fine when you target it directly to make this even more confusing. SO this is almost certainly a tox v4 bug23:26
@clarkb:matrix.orgthat they will say is not a bug beuase you should never use a % in your env name23:27
@clarkb:matrix.orgwe use RawConfigParser in siblings now though so this should never be reintroduced unless we stop doing that. I think the risk is low and we should just drop the %s target and test. I'll write that change23:28
@jim:acmegating.comClark: sounds good to me.  basically that's the important part of the change and the %s was just a way to test it via side-effects.  i don't know if there's a better way, but clearly that one won't work anymore.23:30
@clarkb:matrix.orgthat target was also used to test specifying a specific file path so I'm working out how to preserve that then will push updates23:32
@clarkb:matrix.orgAlso I think tox 4.0.15 is what broke this23:32
@clarkb:matrix.orgthey are up to 4.0.16 now so relatively recent23:32
@clarkb:matrix.org(I'm a bit surprised that always install latest tox is what they want though basically means you can't pin tox if there is a problem)23:32
-@gerrit:opendev.org- Clark Boylan proposed:23:40
- [zuul/zuul-jobs] 866943: Flip ensure-tox to tox v4 by default https://review.opendev.org/c/zuul/zuul-jobs/+/866943
- [zuul/zuul-jobs] 868451: Stop trying to use a %s tox target https://review.opendev.org/c/zuul/zuul-jobs/+/868451
-@gerrit:opendev.org- Clark Boylan proposed on behalf of James E. Blair https://matrix.to/#/@jim:acmegating.com: [zuul/zuul-jobs] 866945: Avoid tox-bindep in test-tox job https://review.opendev.org/c/zuul/zuul-jobs/+/86694523:40
@clarkb:matrix.orgI stuck the fix for this at the very bottom as I think it should work that way23:40
@jim:acmegating.comClark: should we approve those and let the gate handle it?23:49
@clarkb:matrix.orgthe fix change is almost done running that one job maybe confirm it is green first?23:49
@jim:acmegating.comk23:49
@clarkb:matrix.orgI think it will be23:49
@clarkb:matrix.orgyup it just reported success. I think you can approve things23:49
@jim:acmegating.comdone, thanks!23:50

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