Friday, 2023-01-06

gmannit is working fine for stable branches but on master I am getting strange error https://zuul.opendev.org/t/openstack/build/9e1bf669244e46fe8380d8741234051a03:33
gmannI have not changed any template/job running on master03:33
*** akahat|rover is now known as akahat05:12
gmannseems master job error is not related to this as I can see the same error in other patches also https://zuul.openstack.org/build/269d2a0d50cb4c55a3fadfc6a58969eb05:13
gmannnot sure of that is known issue?05:13
gmannit seems consistent issue. I think we are hitting I think we are hitting another issue from tox4 https://github.com/tox-dev/tox/pull/2824/06:12
gmann 06:12
*** blarnath is now known as d34dh0r5307:01
*** rlandy|out is now known as rlandy11:12
opendevreviewStephen Finucane proposed openstack/pbr master: Update tox.ini to work with tox 4  https://review.opendev.org/c/openstack/pbr/+/86919011:20
opendevreviewStephen Finucane proposed openstack/pbr master: Remove numpy dependencies  https://review.opendev.org/c/openstack/pbr/+/86940211:20
*** dviroel|afk is now known as dviroel11:24
opendevreviewStephen Finucane proposed openstack/pbr master: Tie recursion calls to Dist object, not module  https://review.opendev.org/c/openstack/pbr/+/86908211:54
fungigmann: known issue, yes. we tracked it down in #openstack-oslo yesterday, seems to be related to using --skip-missing-interpreters=false with an envlist in tox.ini that includes at least one python interpreter version not present on the test node. pretty sure the main bug report tracking that is at https://github.com/tox-dev/tox/issues/281113:13
fungia workaround is to get rid of any specific interpreter versions in envlist and replace them with just "py3"13:14
opendevreviewStephen Finucane proposed openstack/pbr master: Update tox.ini to work with tox 4  https://review.opendev.org/c/openstack/pbr/+/86919013:22
opendevreviewStephen Finucane proposed openstack/pbr master: Tie recursion calls to Dist object, not module  https://review.opendev.org/c/openstack/pbr/+/86908213:22
sean-k-mooneyfungi: so this is impacting multiple projects13:33
sean-k-mooneyfor exampel nova but efoley is also lookign a telemetry projects13:33
sean-k-mooneyhttps://zuul.openstack.org/build/905f144095b945e2842991131be0122813:33
sean-k-mooneyfungi: we likely need to remove --skip-missing-interpreters=false rahter then move the py313:35
sean-k-mooneymoveing to py3 in the env list is fine too13:35
sean-k-mooneybut that is not really goign to fix it if you ware trying to use a non default python verion in the vm13:36
sean-k-mooneyfor exampel testign python 3.11 or 3.9 on ubuntu 22.04 and 20.04 respectivly13:36
efoleyfungi, sean-k-mooney, there are random interpreters being used each time the job is run. I saw py38, py39 and py311 being tried for openstack-tox-py31013:36
efoleyFYI: https://github.com/tox-dev/tox/issues/2811 -- skip-missing-interpreters false doesn't work on tox 4. Perhaps we should pin tox<4 on master as well13:38
fricklercinder already requires tox>=4, so that won't work. also not a longterm solution13:41
efoleyNot long-term, no, but unblocks things for now.13:42
efoleyAnyway, it seems that the issues is solved in tox 4.2.413:42
sean-k-mooneyhttps://github.com/tox-dev/tox/issues/275413:43
sean-k-mooneylooks like stephin fixed part of it 13:43
sean-k-mooneywe proably need to bump the min tox version to 4.2.4 in requirements.txt13:48
sean-k-mooneyassuming that when that makes its way into the gate teh issue is resolved on master13:48
fungisean-k-mooney: well, --skip-missing-interpreters=false is there to keep us from successfully running zero tests when a unit test job targets the wrong platform14:08
fungiefoley: see scrollback from before you joined, that's the exact github issue we were discussing (but welcome to the party!)14:08
sean-k-mooneyfungi: yes well more to make sure we dont run with the wrong interperter and have the job fail if the depency is not met14:10
sean-k-mooneyeither via 0 tests or the wrong inteperter being usedif a project incorrectly set that to true in there tox.ini14:11
fungitox -epy37 on an ubuntu-jammy node will successfully run 0 tests if skip_missing_interpreters is true in tox.ini, it won't pick a different interpreter version14:13
fungiyou may be thinking of basepython + ignore_basepython_conflict14:13
fungithey were introduced in tox around the same time, and people tend to conflate them14:14
*** dasm|off is now known as dasm14:14
fungihttps://paste.opendev.org/show/bi1kh9asX31IXpKAIYPx/14:25
fungithat's with skip_missing_interpreters=true in [tox]14:25
fungiif we could be sure projects had gotten rid of skip_missing_interpreters (i and others have repeatedly warned it's dangerous for that reason), then the --skip-missing-interpreters=false in the job wouldn't be so necessary14:26
fricklerwell we can be sure that with current tox it is breaking everything. so the decision to drop it seems easy for me14:32
opendevreviewStephen Finucane proposed openstack/pbr master: Remove numpy dependencies  https://review.opendev.org/c/openstack/pbr/+/86940214:36
opendevreviewMerged openstack/openstack-zuul-jobs master: Pin tox<4 for stable branches (<=stable/zed) testing  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/86784915:00
fungigmann: frickler: sean-k-mooney: efoley: stephenfin's https://github.com/tox-dev/tox/pull/2828 just merged, which addresses most of that i think16:05
clarkbyou just have to worry about what other new brokeness the new release brings :)16:38
fungitox roulette16:38
*** dviroel is now known as dviroel|lunch16:39
opendevreviewClark Boylan proposed openstack/pbr master: Run PBR integration on Ubuntu Focal too  https://review.opendev.org/c/openstack/pbr/+/86949017:36
clarkbfungi: stephenfin ^ something like that maye17:36
stephenfinwfm17:37
*** dviroel|lunch is now known as dviroel17:50
gmannack. thanks 18:01
clarkbstephenfin: fungi: if you grep for TestLTSSupport.test_lts_venv_default_versions in https://zuul.opendev.org/t/openstack/build/caf26d11d9cf4d4682d7813a99fa168d/log/job-output.txt and https://zuul.opendev.org/t/openstack/build/dc9a7dc4f0bb47509c8643a8564be3a3/log/job-output.txt that seems to show my change working. I'll rereview the rest of the stack shortly.19:02
clarkbit also shows that we didn't break old pbr with the fix19:02
fungiyep, lgtm19:02
fungii think we're good to merge the entire series if you're good with it19:02
clarkbyup I just +A'd the stack19:04
clarkbthough I think there may be one that forks off I need to go find too19:05
clarkbfungi: https://review.opendev.org/c/openstack/pbr/+/869402/3 that one I already reviewd it if you have time to review it19:05
fungii'll take a look19:09
fungiapproved it19:09
opendevreviewMerged openstack/pbr master: Update tox.ini to work with tox 4  https://review.opendev.org/c/openstack/pbr/+/86919020:41
opendevreviewMerged openstack/pbr master: Remove numpy dependencies  https://review.opendev.org/c/openstack/pbr/+/86940220:42
*** dviroel is now known as dviroel|pto21:12
clarkbre the failure that prevented the other two pbr changes from merging: I wonder if we should drop the coverage job. Coverage makes things slower and we hit a timeout21:26
clarkbI'm not sure anyone is looking at those reports these days. Though I have found them useful for various reasons at various points in time21:26
*** dasm is now known as dasm|off21:37
fungiprobably more of a discussion for #openstack-oslo since pbr is an oslo deliverable22:53

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