Thursday, 2023-08-17

opendevreviewTony Breeds proposed openstack/election master: Update job config.  https://review.opendev.org/c/openstack/election/+/89181815:05
opendevreviewTony Breeds proposed openstack/election master: Update job config.  https://review.opendev.org/c/openstack/election/+/89181815:07
tonybianychoi[m]: Do you want to update the election_open template to prevent the confusion?15:19
ianychoi[m]Hi tonyb, does it mean kickoff notice to the mailing list, or template content on the election repo?15:22
tonybianychoi[m]: I was thinking about the template, it looks like there was an issue with the timeline?15:23
ianychoi[m]Ah, no issues on the template - very strangely I wrongly interpreted time zone. It is more related into my wrong interpretation on reading time zones15:25
tonybAhh okay.15:25
tonybianychoi[m]: if you wouldn't mind reviewing 891818 that'd be good.  It shoudl fix the pep8 failure/issue15:26
tonybwhich will unblock the other candidates (I think)15:26
ianychoi[m]Thank you tonyb on this! Waiting for +1 on Zuul :)15:28
tonybYeah it's kinda backed up right now15:28
tonybhttps://zuul.openstack.org/status#election all jobs queued but there are 137 jobs i the queue/pipeline15:29
ianychoi[m]So far jobs are building with pass well15:48
ianychoi[m]I can get back after several hours. I have reviewed based on current status, and will look once I am get back. imo it can go forward once Zuul jobs are passed15:50
opendevreviewArtem Goncharov proposed openstack/election master: Add Artem Goncharov candidacy for OpenStackSDK PTL  https://review.opendev.org/c/openstack/election/+/89186515:52
fungihttps://grafana.opendev.org/d/21a6e53ea4/zuul-status indicates we have a backlog of node requests and have been running around max capacity since about an hour ago when the pending request count began to rise15:55
tonybOh dear16:08
tonybgmann: (as noted on the review) we run pep8 (well flake8) as part of the linters target.   which is why we don't have pep8.16:09
tonybIt's wasteful to have 2 separate jobs (nodes) for such lightweight work16:09
gmanntonyb: ohk I did not see that, where we run those flake8 ?16:19
tonybfor example: https://zuul.opendev.org/t/openstack/build/90f135c5890b47d18557835a9cee6296/log/job-output.txt#741616:20
gmanntonyb: maybe commit msg can be updated as it was confusing to me thinking we do not need those pep8/flak8 checks run16:21
gmannyeah, checked now. thanks16:21
tonybhttps://opendev.org/openstack/election/src/branch/master/tox.ini#L18-L2016:21
gmannyeah16:22
tonybWith the long check pipeline I'd rather not update the commit message.16:22
opendevreviewFelipe Reyes proposed openstack/election master: Add Felipe Reyes candidacy for OpenStack Charms  https://review.opendev.org/c/openstack/election/+/89186816:22
gmanntonyb: but commit message it not right. it convey that pep8 does not work and fail on eletion repo and we do not need these checks16:23
gmannthat is why I got confused before you pinged about linters target16:23
tonybNo it says we don't have a pep8 [tox] target, not that we don't run it/it fails16:26
gmannthis line where I unserdtood this does not work "This doesn't work for the elections repo.."16:27
gmannand it does not say about linter target already cover this16:27
gmannI thikn updating that in commit msg is important to know the history and why we do not run pep8 job otherwise many of us might be confusing until we check the disussion 16:28
gmannotherwise its up to you. those jobs does not take much time to run.16:29
tonybI agree, but they do take 2 nodes instead of one, which is wasteful16:30
gmannyeah but that should not stop us to improve things, if it is any other change than commit msg i could have agree that it can be done in followup or so but if any change require commit msg change we have to do irrespective of  infra load16:32
gmannI mean if it is trivial we could skip but I find current commit msg confusing that is why I feel we should update16:32
opendevreviewFelipe Reyes proposed openstack/election master: Add Felipe Reyes candidacy for OpenStack Charms PTL  https://review.opendev.org/c/openstack/election/+/89186816:33
tonybSorry my statement about 2 jobs is running tox -e pep8 (flake8) & tox -e linters (yamillint) in 2 jobs which is super wasteful and why they were combined as a single linters target.16:34
fungithe surge in queued builds peaked about 30 minutes ago and nodepool appears to be burning through the backlog now16:34
fungibut we should be prepared for more of this as we approach feature freeze16:35
fungialso the election changes aren't really contributing to the job load in any significant way, they're merely victims of the resource shortage16:36
fungielection checks take a few minutes to run. a nova change runs 24+ builds some of which require multiple nodes each and can run for 1-2 hours16:37
fungia nova change consumes at least two orders of magnitude more resources than an election change16:38
gmanntonyb: yeah, I agree with the change. I am just saying updating the commit msg about it so that it will be clear from there16:43
tonybfungi: If I update *only* the commit message will that invalidate the test-results?16:47
fungitonyb: that's configurable per-project in the gerrit acl16:48
fungii'll look at the election repo acl16:48
tonybThank you16:49
fungihttps://review.opendev.org/Documentation/config-labels.html#label_copyCondition is what governs that behavior, the "NO_CODE_CHANGE" condition in particular16:55
fungiwe document our base "All-Projects" acl that all other projects inherit from here: https://docs.opendev.org/opendev/system-config/latest/gerrit.html#access-controls16:56
fungiand we don't override the copyCondition in the [label "Verified"] section so by default it will be the same as gerrit's inbuilt default16:56
fungihttps://review.opendev.org/Documentation/config-labels.html#label_Verified shows an example with "copyCondition = changekind:NO_CODE_CHANGE" but i don't think that's actually the default16:59
fungifrom what i've observed we default to "TRIVIAL_REBASE"16:59
fungihttps://opendev.org/openstack/project-config/src/branch/master/gerrit/acls/openstack/election.config doesn't override it either17:00
tonybOkay.  Thanks17:00
funginor does the https://opendev.org/openstack/project-config/src/branch/master/gerrit/acls/openstack/meta-config.config it's inheriting from17:00
tonybI appreciate the detailed answer.  Now I understand how that works *and* you validadted my reading :)17:01
fungiso i think yes, if you "edit" the commit message in the gerrit webui or push up a new commit which changes only the commit message, the verified vote from zuul will be cleared and it will need to be tested again17:01
fungii believe you could add a [label "Verified"] section in election.config which set "copyCondition = changekind:NO_CODE_CHANGE" or maybe "copyCondition = changekind:NO_CODE_CHANGE,TRIVIAL_REBASE" if you wanted to override that behavior17:02
fungiaha, syntax would actually be "copyCondition = changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE" based on other examples in the project-config repo17:04
opendevreviewMerged openstack/election master: Update job config.  https://review.opendev.org/c/openstack/election/+/89181818:31
fungithe node request backlog is basically gone now, so builds should have nodes or should get them pretty much immediately19:20

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