Thursday, 2025-11-06

*** mhen_ is now known as mhen02:48
opendevreviewTakashi Kajinami proposed openstack/devstack master: Install OVMF package  https://review.opendev.org/c/openstack/devstack/+/96623604:55
opendevreviewTakashi Kajinami proposed openstack/tempest master: wip: Add scenario test to verify vTPM support  https://review.opendev.org/c/openstack/tempest/+/96620304:56
opendevreviewyatin proposed openstack/devstack stable/2025.1: [Stable/Unmaintained Only] Pin to last compatible tag for py3.9  https://review.opendev.org/c/openstack/devstack/+/96623907:08
opendevreviewyatin proposed openstack/devstack stable/2024.2: [Stable/Unmaintained Only] Pin to last compatible tag for py3.9  https://review.opendev.org/c/openstack/devstack/+/96624007:09
opendevreviewTakashi Kajinami proposed openstack/tempest master: wip: Add scenario test to verify vTPM support  https://review.opendev.org/c/openstack/tempest/+/96620312:37
opendevreviewTakashi Kajinami proposed openstack/tempest master: DNM: Testing  https://review.opendev.org/c/openstack/tempest/+/96602912:38
opendevreviewyatin proposed openstack/devstack stable/2025.1: [Stable/Unmaintained Only] Pin to last compatible tag for py3.9  https://review.opendev.org/c/openstack/devstack/+/96623913:40
sean-k-mooneyjust an fyi the rescent teemept changes appare to have broken all of wathcer stable branch jobs bar 2025.2 https://bugs.launchpad.net/watcher-tempest-plugin/+bug/213078314:26
sean-k-mooneyjoan has been digging into this but it looks like tox is recreating the venv without the tempest plugin14:27
sean-k-mooneythat feels like we are missing something in the devstack or tempest side to properly supprot plugins 14:28
sean-k-mooneywe are using the  tox_envlist: all target14:29
sean-k-mooneyhttps://github.com/openstack/tempest/blob/master/tox.ini#L69-L7814:30
sean-k-mooneyi think there is a impcatiablty here with ne version fo tox14:32
sean-k-mooneywhich nolonve rsupprot share envs between invocation like old version did14:32
sean-k-mooneyhttps://github.com/openstack/tempest/blob/master/tox.ini#L7014:32
stephenfin(damn good time for me to check this channel)14:32
sean-k-mooneystephenfin: i know you brrought this up before14:33
sean-k-mooneybut ya so this is going to start brakign more peopel i think14:33
stephenfinsean-k-mooney: I was looking at that a while back. Tempest/DevStack was using tox as a virtualenv manager of sorts14:33
sean-k-mooneyyes it still is14:33
sean-k-mooneyi reviewed your devstack patch14:33
stephenfinyup14:33
sean-k-mooneythe problem is we use it for 2 things14:33
stephenfinThe fix is complicated. I haven't been able to sink my teeth into it properly since14:33
sean-k-mooney1 to prepare the vnev 14:33
sean-k-mooneyand 2  to defien the test to run14:34
stephenfinyep14:34
sean-k-mooneyso we could hackaround this but i think what we need to do14:34
sean-k-mooneyis modify the teox env so we can pass a set of addtional plugins to install14:34
stephenfinI don't believe I ever got the patches to a point that I could push them, but I had explored the concept of a "test suite" in tempest, that would allow us to replace (2) with a new tempest option14:35
sean-k-mooneythe problem is that devstack is first creeating the venv then adding the plugins to it and then later executing it14:35
stephenfinand then we could use bog standard virtualenvs (likely created by devstack) for (1)14:35
sean-k-mooneywell they are not hardcoded14:35
sean-k-mooneywe have several enves that are marpaterized by env vars14:36
sean-k-mooneyso the josb defien the include/exclude regex for example14:36
sean-k-mooneytox envs like integrated-network https://github.com/openstack/tempest/blob/master/tox.ini#L175-L18714:37
stephenfinyeah, I know14:37
stephenfinhttps://paste.opendev.org/show/budysYJqy3XOTNjDCnX1/14:37
sean-k-mooneyare hardcoded14:37
stephenfinthat's the commit message I have. the patch isn't worth pushing (it's not complete) 14:37
stephenfintbh, _someone_ needs to sink a day or two into this to fix it properly14:37
sean-k-mooneyso thte thing is i dont think the tests shoudl nessiarly have any annothation on them14:38
sean-k-mooneyso anything that require us to merge someing in tempest to change what is run is kind of a deal breaker14:38
sean-k-mooneywe need to be able to defien the test suite form nova or watcher or wahtever is executing the tempet job14:39
sean-k-mooneyif i read that commit message it wont sovle the standard case that i kare about14:39
sean-k-mooneyunless your thinking that i can pass a file or somehting with the regexes ectra that stester woudl consume14:40
sean-k-mooneystephenfin: by the way there is a serial decorator in tempest already14:41
sean-k-mooneyany test that must run serially shoudl be using that14:41
sean-k-mooneythe senario test that often run seriall dont use that today because they can run in parallel if you have enough capsity14:41
sean-k-mooneyif i was sittign down to write this i woudl stop using tox to invoke stestr adn add a role for that14:42
stephenfinsean-k-mooney: serial is about the only one that doesn't need changes. As you say: you can just use the serial option14:42
sean-k-mooneyhave devstack just create teh venv itslef 14:42
sean-k-mooneyand supprot defining stest phases in the job14:42
sean-k-mooneystephenfin: no i mean https://github.com/openstack/tempest/tree/master/tempest/serial_tests14:43
stephenfinthe issue as I understood it is that various tempest plugin projects are calling some of the tempest tox envs and treating that as an "API"14:43
sean-k-mooneywe have an @serial decorate to denote that a test must run seriall even if you have --concurance=414:43
sean-k-mooneystephenfin: yes that is the current api provide by the zuul job14:44
sean-k-mooneybut we coudl change how the zuul job works and provide a better api14:44
sean-k-mooneyim effectivly saying the tempet job shoudl not use tox at all14:45
sean-k-mooneyany job that used tox to defien the set of test to run woudl move to beign defien in teh zuul job defintion instead14:45
sean-k-mooneyby the way this is only broken on stable14:47
sean-k-mooneyon master the jobs are passing14:47
sean-k-mooneyso i think is realted to seting uc vai the env14:47
stephenfinSorry, multitasking (badly)14:47
sean-k-mooneyits fine 14:47
stephenfinyes, I think we're on the same page14:47
stephenfinthe question is just how14:48
sean-k-mooneythere are 2 thing i want to do 1 get a short term fix, 2 start a dicsson on how to move away form using tox as the api14:48
stephenfintbf, I hadn't considered an ansible/zuul-only fix14:48
stephenfinthere's no reason we couldn't "translate" the tox_envlist into calls for a shared venv14:48
sean-k-mooneythis is obviouly a desion for the tempest team but i woudl prefer to delete most of the tox target in tempest and use that only for local dev14:49
stephenfin*into calls to tempest in the shared venv14:49
sean-k-mooneyand decopule the tempet jobs form tox14:49
stephenfintbh, I'd even get rid of that14:49
stephenfinfor local dev14:49
sean-k-mooneytox -e full is nice for local dev but not explcity requried14:49
stephenfinIt's always confused me, personally. Tempest is designed to be installed system-wide. We don't e.g. provide a tox target for running nova14:50
sean-k-mooneyno14:50
sean-k-mooneytempest master is desied to run on the stable branches14:50
stephenfinsean-k-mooney: right, that's what I was getting at with the idea of a test suite14:50
sean-k-mooneyso it has to be in its own venv14:50
sean-k-mooneywe cant assuem mater tempest is co installable with stable/* openstack14:50
sean-k-mooneythat why its special today14:50
stephenfinso instead of running 'tox -e full', you'd do 'tempest --tbd-flag full'14:50
sean-k-mooneyyes but you woudl have to create the venv manully (if not using devstack)14:51
stephenfinwhich would run14:51
stephenfintempest run --regex '(?!.*\[.*\bslow\b.*\])(^tempest\.api)'14:51
stephenfintempest run --combine --serial --regex '(?!.*\[.*\bslow\b.*\])(^tempest\.scenario)|(^tempest\.serial_tests)'14:51
stephenfinin order14:51
sean-k-mooneysure which is a workflow regression14:51
stephenfinwhat is?14:51
stephenfinthe manual creation of a venv?14:51
sean-k-mooneythe fact you need to manually manage the venv14:51
sean-k-mooneyyes14:52
stephenfinwearing a seatbelt is a comfort regression 14:52
sean-k-mooneyas i said devstack shoudl probly not use the tox envs but a tempet developer shoudl be able to continue to14:52
stephenfinbut there are other things to consider. same here ;)14:52
sean-k-mooneyright so are you propsoing we remove py3 form nova14:52
sean-k-mooneybecause ot me this is exaclty the same14:52
sean-k-mooneyasking the tempet team to give up tox entirly does nto sound reasonable14:53
sean-k-mooneyhaving devstack not use tox for tempest is reasonable IMO14:53
stephenfinnot the same thing though. nova's test suite isn't pluggable. tempest's is14:53
sean-k-mooneyi dont think the plugablity is a good enough arguremnt14:54
sean-k-mooneywe coudl supprot the plugin via tox if needed14:54
stephenfinyou mean something installing e.g. manila-tempest-plugin when you run 'tox -e full' from tempest?14:54
sean-k-mooneyhttps://github.com/openstack/watcher/blob/master/tox.ini#L1914:54
sean-k-mooneyyes14:55
stephenfineeew14:55
sean-k-mooneytox also natively suprpot this by the way14:55
sean-k-mooneyeven without ^14:55
stephenfinSorry, but that goes against the whole point of using tox. If it's not reproducible what's the point. 14:55
sean-k-mooneyit is repoduceable14:55
stephenfinIf we need virtualenvs, why can't tempest manage them?14:56
sean-k-mooneyit cant manage the installation of itself in a venv14:56
sean-k-mooneyif its not installed14:56
sean-k-mooneythe same way tox cant manage itself14:56
stephenfinwell actually....14:56
sean-k-mooneyi know the .tox venv thing i tuses for building but that is not the same if that is what yoru goign to say14:57
stephenfinI don't see the difference 😇14:57
sean-k-mooneythat is not managing the outer tox14:57
sean-k-mooneythat still neeed to be installed somewhere where its requiremetn are ment14:58
stephenfinuv run tempest ...14:58
stephenfinpipx install tempest; tempest ...14:58
stephenfinvirtualenv .venv; source .venv/bin/activate; pip install tempest; tempest ...14:58
sean-k-mooneyyep but again back to manual depenciy management 14:58
sean-k-mooneyand if i want to devleop tempst that a regression14:58
stephenfinbut don't you already need to have a tempest.conf file somewhere?14:59
stephenfintox doesn't lay that down, afaik15:00
sean-k-mooneynot in general15:00
sean-k-mooneyit has sane defaults15:00
sean-k-mooneyand if you want to create it you can15:00
sean-k-mooneyit has a workspace concept15:00
sean-k-mooneyit being tempest15:00
stephenfinso I can just set OS_CLOUD and then run 'tox -e full' on my local machine?15:00
stephenfinand it'll just work?15:00
sean-k-mooneyit will not jsut pass15:00
stephenfinso there's bootstrapping needed?15:00
sean-k-mooneyyes15:01
sean-k-mooneywhich devstack does15:01
sean-k-mooneyin ci15:01
sean-k-mooneywell or locally15:01
stephenfinokay, but tox doesn't15:01
sean-k-mooneycorrect15:01
sean-k-mooneyhttps://github.com/openstack/tempest/blob/master/.gitignore#L1215:02
sean-k-mooneyso tempest igt ignore chantges ot the .conf files in etc15:02
stephenfinokay, so you already need devstack to configure things for you15:02
sean-k-mooneyin the git repo so you can tune them locally15:02
stephenfinotherwise you need to do it yourself 15:02
sean-k-mooneyand then when you use tox in the tempt repo it uses that15:02
sean-k-mooneyya you need to drop a tempst.conf into the etc directry i belive15:03
stephenfinsame as you need to drop a nova.conf in the etc directory15:04
stephenfinand again, we don't provide a tox target for running nova15:04
sean-k-mooneyso that is all devstack is doing it creates /opt/stack/tempest/etc/tempest.conf15:04
sean-k-mooneythe you can use tox form the root of the repo15:05
stephenfinit also precreated the tox venv, currently15:05
stephenfiniirc15:05
stephenfin*pre-creates 15:05
sean-k-mooneyit create an addtion tox venv15:05
sean-k-mooneyin the /opt/stack/data dir15:05
sean-k-mooneyyou dont have to use that ro care about it15:05
sean-k-mooneybut you can15:05
stephenfinrunning it with --notest15:05
sean-k-mooneycorrect15:05
stephenfinsee you actually do15:05
stephenfinbecause tempest plugins get installed into that venv15:06
sean-k-mooneyyou dont that only in ci15:06
sean-k-mooneylocally you can install those yourself15:06
stephenfinor locally, if you running tempest against you devstack 15:06
sean-k-mooneyinto the venv created by tox15:06
stephenfin*your15:06
sean-k-mooneyi need to go join a retro... but what tempest does interally is really there chocie15:06
sean-k-mooneyi just want to decouple ci form the tox envs15:07
sean-k-mooneyso we dont get broken when tox breaks compaitblity liek this15:07
stephenfinon the same page there15:07
opendevreviewStephen Finucane proposed openstack/devstack master: Enable response validation in Keystone  https://review.opendev.org/c/openstack/devstack/+/96285215:29
opendevreviewStephen Finucane proposed openstack/devstack master: Enable response validation in Nova  https://review.opendev.org/c/openstack/devstack/+/96285315:29
opendevreviewStephen Finucane proposed openstack/devstack master: Enable response validation in Keystone  https://review.opendev.org/c/openstack/devstack/+/96285215:30
opendevreviewStephen Finucane proposed openstack/devstack master: Enable response validation in Nova  https://review.opendev.org/c/openstack/devstack/+/96285315:30
sean-k-mooneystephenfin: is there ah particalar reason you split those up16:10
sean-k-mooneydoign it in devstack itself makes sense to me as we shoudl also run with this when developeing locally16:10
stephenfinjust separation of concerns16:10
sean-k-mooneyack16:11
gmaansean-k-mooney: stephenfin when there is constraint mismatch happen then tempest venv is recreated (there is no way to tell tox not to do) which uninstall all previously installed plugins17:03
stephenfinyup, we're saying we need to stop using tox and start manually managing a venv17:04
stephenfinlike we manually manage the global venv for everything else17:04
gmaanwe keep all used constraints as it is but I think in the py3.9 drop we did mistake in https://review.opendev.org/c/openstack/tempest/+/96590317:04
gmaanyeah, we can do that but we should not able to solve it with tox also., I just logded in. checking it how we can fix it fast17:05
sean-k-mooneygmaan: i was wondering are we jsut missing passing or setting the env var in one of the invocations17:07
sean-k-mooneyi.e. are we passign it when creating the env with --no-test adn failing to pass it when runninng the tests or something like htat17:09
gmaanwe are not, we have faced this issue in past also. thing is we pined the stable constraints for current stable branch but using tempest master https://review.opendev.org/c/openstack/tempest/+/965903/6/roles/run-tempest/tasks/main.yaml17:09
sean-k-mooneygmaan: can you look at this https://review.opendev.org/c/openstack/devstack/+/966239/comment/00f446b6_cb062314/ and weigh in17:09
gmaantempest master use do run tox wioth master constraints in devstack/grenade scripts and due to constraints mismatch it end up recreating venv17:10
sean-k-mooneyright so i think there are a few thigns hppening. 2025.1 technically supprot python 3.917:11
gmaanyes, we should use tempest master but py3.9 drop is the key here which trigger all those changes17:11
sean-k-mooneyso yatin want to pin to a tag for 3.9 support17:11
gmaanyeah, I am checking what exact job was broekn for py3.917:11
sean-k-mooneybut we shoudl be using master in 2025.1 in general17:11
sean-k-mooneynot a pin17:11
sean-k-mooneyso right now our ubunut 24.04 based jobs that use 3.12 are broken with master17:12
gmaanUbuntu 22.04 should have py3.100 debian 12 py3.1117:12
opendevreviewStephen Finucane proposed openstack/devstack master: WIP: lib/tempest: Manually manage virtualenv  https://review.opendev.org/c/openstack/devstack/+/95921317:12
opendevreviewStephen Finucane proposed openstack/devstack master: lib/tempest: Start creating shared tempest venv  https://review.opendev.org/c/openstack/devstack/+/96630617:12
sean-k-mooneyor rahter our job on master watcher-tempest-plugin that test with stable/* are broken17:12
sean-k-mooneygmaan: yes17:12
sean-k-mooneygmaan: but https://github.com/openstack/governance/blob/master/reference/runtimes/2025.1.rst#python17:13
sean-k-mooneyproject generally didnt test 3.9 for 2025.1 out side of tox17:13
gmaanyeah, rocky linux9 jobs can have issue as they have py3.9 but there is way to run tempest on newer tempesty from venv17:13
sean-k-mooneyexepct for the small few that had a centos fips job17:13
sean-k-mooneywell rocky ectra could use 3.10+17:14
sean-k-mooneywe actully moved c9s to 3.11 i belvie17:14
sean-k-mooneybefore we added c10s17:14
gmaanyeah, it was CentOS 9-stream job failing , this is whayt ykarel_ reported17:14
sean-k-mooneyhttps://review.opendev.org/c/openstack/watcher-tempest-plugin/+/96625617:15
sean-k-mooneyso the reecne change has broken job that previosly passed17:16
sean-k-mooneybecause fo https://review.opendev.org/c/openstack/tempest/+/965903/comment/c4c223a8_cb8b8b3d/ as you noted17:17
opendevreviewGhanshyam proposed openstack/tempest master: Revert "Use stable branch upper-constraints till 2025.1"  https://review.opendev.org/c/openstack/tempest/+/96630817:17
gmaansean-k-mooney: ^^ I have created the revert of it, can you run any DNM change on watcher-tempest-plugin and see if it run all stable jobs there17:17
sean-k-mooneysure17:18
gmaanI am still booting my vm,17:18
gmaanthanks17:18
sean-k-mooneywe likely want to jsut add "unmaintained/2024.1", and add a contional in devstack to pin on the sabel branche if its 3.9 or move those jobs ot 3.1017:18
gmaanmy bad on that change not thinking about tox venv creation which I faced many times during EM model17:19
sean-k-mooneywell that also new behavior in tox right17:19
sean-k-mooneyit only started doing the recreate in this case in the last 2-3 years or so17:19
gmaanpin or those jobs can run the tempest in higher py version in venv. for example. tempest venv can have py3.10 which can test the py3.9 job/cloud17:19
sean-k-mooneyoh ya that might be a better idea just move tempest forward17:20
sean-k-mooneyhave we done that before?17:20
gmaanyeah, that is why tempest being branchless give us benefits. to run it on new things but it can still test old openstack with same set of tempest master tests17:21
gmaannot sure if we did but I have to check. i remember py3.6 drop time has same issue and we recommended to do that but that was long back17:21
sean-k-mooneyack. let me go create that dnm17:22
gmaanand it only need for cs and rocky jobs17:22
sean-k-mooneyand only for 2025.1 and older17:23
gmaanyes17:23
gmaan2204.1 is going to be in unmaintained soon https://review.opendev.org/c/openstack/releases/+/96371117:24
gmaanso anyways we need to pin tempest there so you can leave that17:24
gmaan2024.2 and 2025.1 need fix17:24
sean-k-mooneygmaan: also hi how are you today o/17:26
sean-k-mooneygmaan: we kind of just wen right to the ci failure 17:26
sean-k-mooneyhttps://review.opendev.org/c/openstack/watcher-tempest-plugin/+/966311 should give us some result in a bit17:27
gmaanyeah, thought of checking email/irc ping before coffee but I think i do not need it now :) 17:27
gmaanperfect17:27
sean-k-mooneyoh not having coffee before doing either of those things is alwasy risky17:28
gmaanheh yeah17:29
sean-k-mooneynot that my work life blance is an example for anyone but i like to make my coffee in the morning then i bring it upstairs and review my emails and such as i drink it in the morning and think about my day as the caffine kicks in17:30
sean-k-mooneyits nice ot thake the first 30-60 mins slow and just read before jumping in to doing work17:31
gmaanyeah, true, I usually open system after breakfast but today I started 30 min late from usual time to thought of checking if anything urgent 17:33
gmaanbut not a good idea 17:33
sean-k-mooneyat this point in the cycle gate issues are nto going ot kill anyone so dont stress, enjoy your breakfast if you have not alrady had it17:38
gmaanyeah, going but found another issue of tempest/.devstack stop running ironic jkob because it was rename. 17:39
gmaanZuul ignore to run the job which cannot be find which i think should be error or warning  to notice if job is renamed/removed17:40
opendevreviewStephen Finucane proposed openstack/tempest master: Remove run-tempest-26 role  https://review.opendev.org/c/openstack/tempest/+/96631417:41
opendevreviewStephen Finucane proposed openstack/tempest master: Remove deprecated regex opts  https://review.opendev.org/c/openstack/tempest/+/96631517:41
opendevreviewStephen Finucane proposed openstack/tempest master: tools: Remove alias for old exclude-list file  https://review.opendev.org/c/openstack/tempest/+/96631617:41
opendevreviewStephen Finucane proposed openstack/tempest master: Move exclude lists into package  https://review.opendev.org/c/openstack/tempest/+/96631717:41
opendevreviewStephen Finucane proposed openstack/tempest master: Split, rename run-tempest role  https://review.opendev.org/c/openstack/tempest/+/96631817:41
stephenfingmaan: I'm using the rework-tempest-install topic https://review.opendev.org/q/topic:rework-tempest-install17:42
stephenfingmaan: sean-k-mooney: my plan is to (a) start creating a parallel self-managed tempest virtualenv in devstack and (b) create a new job that will run tempest from said venv directly with relevant options instead of running tox17:44
sean-k-mooney+1 if you need any help with that let me know17:45
stephenfinI so far have (a) done and some of the prework for (b). I'd likely have (b) finished already were my Ansible skills not so poor 😅17:45
sean-k-mooneyask claude or cursor :P17:45
stephenfin(there's a high possibility what I've done in the tempest jobs is not correct ansible)17:45
stephenfinnah, this is learning exercise for me ;)17:45
sean-k-mooneythat fair too17:46
johnsomI am guessing the above chat is why our 2024.2->2025.1 stable branch jobs started not installing the tempest plugins....17:56
sean-k-mooneyrelated yes17:56
sean-k-mooneywe have a dnm up to test the revert of the suspected cause17:57
johnsomAck, I will watch this thread17:57
sean-k-mooneyhttps://review.opendev.org/c/openstack/tempest/+/966308 is likely the cause17:57
sean-k-mooneysorry that the revert17:57
sean-k-mooneytldr is the sabel branches shoudl not have been listed in that list17:57
sean-k-mooneywe need to fix c9s and rocky jobs diffently17:58
johnsomYeah, I am not concerned with those at the moment, they are non-voting17:59
sean-k-mooneyhttps://zuul.opendev.org/t/openstack/build/2b9ec2d6586b4aad893a60195e18894517:59
sean-k-mooneyso that passed with the revert via a dnm17:59
sean-k-mooney*depends on18:00
johnsomNice18:00
sean-k-mooneyor watcher-tempest-functional-2024-1 job is failing but i think that branch has been deeleted the patch to remove that job was blocked by the other fialiures18:00
clarkbI haven't really followed this discussion what is the benefit of running tempest without tox (I'm a fan of less tox myself so am curious)18:07
sean-k-mooneyclarkb: tox used to allwo sharign venv between tox target but that is not really supprot any more18:08
sean-k-mooneythe way we are suing it in devstack where we create the vnve install any plugins and then try to use it is problmeaic 18:08
clarkbI think nox would let you do that but I'm not 100% certain :)18:08
sean-k-mooneyclarkb: so my proposl which is similar ot stephenfin is lets not use tox for the venv mangenemt or test execution in ci18:09
sean-k-mooneybut if tempet cores want ot use tox for local dev they shoudl be able too18:09
sean-k-mooneystephen was suggeting jsut removing it for the local case too18:10
clarkbya I think that works too18:10
clarkbhas tox already dropped the feature so we need to pin it currently?18:10
sean-k-mooneyclarkb: effectivly we woudl end up moving the definiton fo what integrate-networkign runs form the tox env into the integrated-netowrkign zuul job18:10
sean-k-mooneyclarkb: that not what the pin was for but also kind of yes18:11
sean-k-mooneytox in 4.something will recreat the venv if the venv is annotated as being created for a diffent tox target18:12
sean-k-mooneyor if the defintion of the tox target changes18:12
sean-k-mooneyclarkb: we think that in this case we are passing diffent values for uc file between when devstack creates it with --no-tests18:12
sean-k-mooneyand when we actully run tempest18:12
sean-k-mooneyclarkb: when we said pinnign we were dicussing that the patch to pin tempest for unmaintianed did it on stable branches too18:13
sean-k-mooneywhich was incorect18:13
sean-k-mooneyor rahter it pinend the uc version used and there was a stabel only pathc to pin tempest18:14
sean-k-mooneyhttps://review.opendev.org/c/openstack/tempest/+/966308/1/roles/run-tempest/tasks/main.yaml pinned the UC defintion and https://review.opendev.org/c/openstack/devstack/+/966239/2/stackrc was propsoed to pin tempest18:15
sean-k-mooneybut that is nto the correct approch to the failing jobs with the removal of py3918:15
clarkbthanks for the summary18:23
gmaanjohnsom: yesh, wait for this to merge, it will unblock stable jobs (except py3.9 which are CS and rocky linux) https://review.opendev.org/c/openstack/tempest/+/966308 18:24
gmaanI will send it on ML as it impacted most of the plugins stable jobs18:25
clarkbhttps://github.com/wntrblm/nox/issues/167#issuecomment-951728842 nox can do it but in a roundabout way18:26
clarkbbut on the positive side of things for that workaroudn it relies on explicit functionality rather than implicit behaviors so should be stable over time hopefully18:26
sean-k-mooneysure or we could jsut have devstack create teh venv, install the deps including the tempest plugins and then just activate the venv and run tempest18:29
sean-k-mooneythe only beifit to nox i guess in this case woudl be keepign the deinfiotn of integrated-* runable locally18:30
sean-k-mooneywithout copy pasting the regex form the zuul.yaml18:30
clarkbI think the main benefit to nox is it hasn't broken functionality and tends to be more explicit because you're writing python to accomplish things. Gives you a lot more control vs being at hte mercy of tox which has made some intersting choices over time18:31
clarkbbut I agree there really isn't anything special to making a venv and install deps and running a command in it18:31
sean-k-mooneywell that the main benifit over tox right18:31
clarkbcan do that with a simple script too (I have an ancient makefile proposal in gerrit somewhere that uses make to drive it too)18:32
sean-k-mooneyas in in general not for this specific usecase18:32
clarkbya18:32
sean-k-mooneybindep moved to using nox right?18:32
sean-k-mooneyperhaps nox shoudl be included in the pti dicussion for pytest18:32
sean-k-mooneyi think the pti stipulates tox today18:33
sean-k-mooneyya it does https://github.com/openstack/governance/blob/master/reference/pti/python.rst?plain=1#L2218:33
clarkbya we moved a few opendev tools because it was at least as much work to review changes to switch to nox as it was to fix tox18:33
clarkband at that point its an easy decision imo18:34
clarkbsean-k-mooney: I know when I started porting things to nox the thought was it would be impossible to change all of openstack due to the number of projects and branches as so on which is a fair point and changes the cost of switching analysis vs say for bindep and git-review18:37
clarkbbut it is interesting to me that tox continues to regularly break things on a 6-12 month schedule18:37
opendevreviewGhanshyam proposed openstack/tempest master: Re-add the ironic job in gate  https://review.opendev.org/c/openstack/tempest/+/96633918:38
sean-k-mooneywell this behaivor changed about 2 years ago18:38
clarkbI do think it is problematic that they reinvent the wheel on package building and installation too. There are standard tools that exist for that with different behaviors than tox18:39
sean-k-mooneywe just didnt drop a python release until now18:39
clarkback18:39
sean-k-mooneythe stable branches were incldued to make 3.9 work but as i said that was not the right approch18:39
opendevreviewGhanshyam proposed openstack/devstack master: Re-add the ironic job in gate  https://review.opendev.org/c/openstack/devstack/+/96634018:39
opendevreviewGhanshyam proposed openstack/devstack stable/2025.2: Re-add the ironic job in gate  https://review.opendev.org/c/openstack/devstack/+/96634118:40
opendevreviewGhanshyam proposed openstack/devstack stable/2025.2: Re-add the ironic job in gate  https://review.opendev.org/c/openstack/devstack/+/96634118:43
opendevreviewGhanshyam proposed openstack/devstack stable/2025.1: Re-add the ironic job in gate  https://review.opendev.org/c/openstack/devstack/+/96634218:46
gmaanclarkb: is there any way for zuul to error or warn when jobs does not run because definition is not found (due to rename or removal) ?18:48
gmaanbecause it ignore the job run and goes unnotice like ^^. 18:49
clarkbgmaan: it errors when you try to update the config to remove things18:49
clarkbso these situations generally require us to take action outside of normal zuul operations (which can include branch deletions whcih I think may be the easiest way to sneak this in)18:49
gmaanI manually reviewed the jobs in tempest and found this is not running otherwise it could be unnotice for long time. due to it neutron change in devstack already broke ironic in last cycle18:50
clarkbgmaan: do you know how `ironic-tempest-bios-ipmi-direct-tinyipa` was removed?18:50
gmaanthis happened when job was renamed 18:50
clarkbyes but you cannot rename or delete builds that are in use. Zuul will error18:51
gmaanhttps://review.opendev.org/c/openstack/ironic/+/950192/12/zuul.d/ironic-jobs.yaml#101918:51
gmaanit did not give any error18:51
clarkbyou also cannot add a reference to a job name that doesn't exist18:51
gmaanit was added long back and running fine but last cycle it got renamed and no error from Zuul on renaming change or the one using the old na,me18:51
clarkbgmaan: the job exists https://zuul.opendev.org/t/openstack/job/ironic-tempest-bios-ipmi-direct-tinyipa that is why it wasn't an error18:52
gmaanfor master?18:52
clarkbno it is not defined on master (but that doesn't matter to zuul)18:52
gmaanit only exist on stable or non master branch18:52
clarkbyou are allowed to define jobs on different branches18:53
gmaanthat is why results are false positive. master gate stop running it because it could not find the definition on master and Zuul did not error or warn18:53
clarkbyes I think this is intentional18:53
gmaanI am thinking if job is not run due to any reason but it is added in pipeline then error18:54
clarkbthis is what allows us to drop grenade jobs iirc18:54
gmaanbut it break things when job just gets ignored without any erorr/warn. 18:54
clarkbdoing so would break grenande iirc ebcause we stop running it on old branch by deleting the definition on the old branches but not the pipeline entries? I'm pretty sure this specific behavior is tied to openstack grenade sunsetting18:54
gmaanI mean does not test the things which suppposed to be so change break things18:55
clarkbbut I need tocheck the job definition to see if therei s some other reason it isn't running18:55
clarkbit could be that zuul did try to run it and decided it shouldn't because of file matchers or something18:55
gmaanI think it is because of job rename18:55
gmaanif not error at least warning in results that xyz job mentioned in pipeline to run is not run due to abc/unknown reason18:56
gmaanthat could be helpful to know if jobs are changed (renamed, removed, branch variant change etc)18:57
clarkbya I could see that being a decent compromise to make maitnenance burdens lower for branch to branch changeovers but call out things that might surprise people18:58
clarkbgmaan: do you want to suggest that to the zuul project?18:58
gmaansure18:58
gmaanoh its on matrix now not on irc?18:59
clarkbgmaan: yes, you can also send email to the zuul-discuss@lists.zuul-ci.org list19:00
clarkbthat will probably get moderated if you aren't a list member but it is low volume if you want to join otherwise I can prod jim to let it through19:00
gmaanI think email is good idea, will do19:00
gmaanI did send earlier but not sure as my email is changed19:00
clarkbI think its helpful when the user having the problem can articulate their use case rather than trying to articulate it for them so I appreciate it19:01
clarkbfwiw there are irrelevant file matchers which shouldn't have been a problem in this case and no explicit branch matchers so I think you are correct that the behavior is explained by the implicit branch matcher behavior19:03
clarkbgmaan: as a side note tehre is a comment in the ironic config that calls out the job is used by others but I guess they didn't follow up on that when removing (renaming) it19:06
clarkbwe did have breadcrumbs in place but they were insufficient19:07
gmaanyeah19:07
corvusgmaan: do you have a link to a change that did not run the job you expected?19:12
gmaanyeah19:12
corvusclarkb: i apparently highlight on jim, probably on account of my matrix id.  :)19:12
gmaanthis one https://review.opendev.org/c/openstack/tempest/+/96590319:12
clarkbcorvus: oh ha that is unexpected19:13
corvus2025-11-04 19:16:36,408 DEBUG zuul.layout: [e: 4f1a2c3e19ca425d9adfc1b931971e76] No matching parents for job ironic-tempest-bios-ipmi-direct-tinyipa and change <Change 0x74d8feb1c410 openstack/tempest 965903,6>19:20
corvusthat's the debug line, and just fyi (i know this isn't what you're asking for), if you did perform a debug enqueue of the change (with "debug: true" in the pipeline config) you would get that output.  (i understand you want zuul to tell you that error without you needing to ask for it.)19:21
corvusso if someone did want to make that a warning message, that's the case to look for.19:21
gmaanyeah, warning will be helpful at least19:22
corvustbh, i think we'd need to think long and hard about that -- because there are a lot of jobs that zuul doesn't run, so any change to start telling users unprompted what zuul is not doing needs to be thought of very carefully.  so i don't want to commit to saying that's a good idea and we'd accept it.19:22
corvusbut if it isn't too onerous, i think it would not be that hard of a change to make it a buildset warning.19:23
gmaansure, at least users should be able to audit their pipeline if some notice (if not on every change) can be send19:23
corvuson that date (11-04) opendev logged that 596 times.  i don't know how many of those were expected or not, or how many of those would be useful as warnings or just annoying.  i think that's the sort of question to answer before making that change.19:24
clarkbas mentioned before I think one of the ideas behind this behavior is it would allow a project like grenadne to drop jobs from its config without needing to reconfigure nova and cinder and so on stable branches to stop running that branch19:26
clarkbI suspect many of the occurrences are due to ^ but that is merely a hunch19:26
clarkbcorvus: gmaan: maybe one way to keep the noise down is a simple catch all message in the buildset report? Something like "Not all jobs configured by the project pipeline were executed". This could apply to file matchers too19:39
clarkbjsut a bit of signal that hey something "optimized" the job list and you may have missed that19:39
clarkbthough that might end up on like 90% of reports19:39
gmaan++ yeah that will be enough to ask users to audit/cleanup19:40
corvusand maybe prompt them to do a debug run19:45
opendevreviewGhanshyam proposed openstack/tempest master: End support for stable/2024.1  https://review.opendev.org/c/openstack/tempest/+/96634620:11
opendevreviewGhanshyam proposed openstack/tempest master: Revert "Use stable branch upper-constraints till 2025.1"  https://review.opendev.org/c/openstack/tempest/+/96630820:12
opendevreviewGhanshyam proposed openstack/tempest master: Pin stable constraints for unmaintained/2024.1  https://review.opendev.org/c/openstack/tempest/+/96634820:19
opendevreviewGhanshyam proposed openstack/tempest master: Re-add the ironic job in gate  https://review.opendev.org/c/openstack/tempest/+/96633920:42
opendevreviewGhanshyam proposed openstack/tempest master: Pin stable/2025.2 constraint in tox to release 46.0.0  https://review.opendev.org/c/openstack/tempest/+/96635020:46
opendevreviewGhanshyam proposed openstack/tempest master: Switch back the tox constraint to master  https://review.opendev.org/c/openstack/tempest/+/96635220:48
sean-k-mooneygmaan: im not sure why https://review.opendev.org/c/openstack/tempest/+/966346/1 is before the revert21:09
sean-k-mooneybut we will need some approvers to review for the revet to proceed21:10
sean-k-mooneyim finsihing up for today so ill check back tommorow21:10
gmaansean-k-mooney: beacuse 2024.1 job on tempest master started failing21:10
gmaanI need to place them in order21:10
sean-k-mooneyoh that makes sense21:11
gmaansean-k-mooney: I am on it today, and also will propose required change in tempest plugins side also 21:11
gmaanyou can check tomorrow morning for watcher-tempest-plugin, at the end gate should be green21:11
sean-k-mooneygmaan: awsome thanks,  dont burn out on this. 21:12
gmaanit usually comes up in tempest and plugins when some old py is dropped and some branch goes to unmaintained21:12
sean-k-mooneyas i said eiarlier its not blocking anything critical21:12
sean-k-mooneybut it was blocking use droping the 2024.1 job21:12
gmaani just started so thought of finishing for tempest and all plugins21:12
gmaanyeah21:13

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