Thursday, 2022-12-08

opendevreviewCyril Roelandt proposed openstack/devstack master: Glance: Properly copy rootwrap.d/* when USE_VENV is True  https://review.opendev.org/c/openstack/devstack/+/86695102:04
*** yadnesh|away is now known as yadnesh03:41
slaweqfrickler hi, can You maybe hold for me one node for debugging? I need to understand why neutron-tempest-plugin jobs are timinig out on patch https://review.opendev.org/c/openstack/neutron/+/865822 - I'm checking logs since today morning and I have no idea what's wrong there. Locally with same devstack patch all seems to be working fine for me :/10:15
slaweqI can recheck that patch if You would be able to hold for me one of those jobs10:15
fricklerslaweq: sure, which job do you want, neutron-tempest-plugin-openvswitch? or lb too?10:41
fricklerslaweq: started with that job, you have time until the timeout to let me know if you also want others. also I'll need your ssh key once again, I still didn't manage to keep track of it10:44
slaweqfrickler neutron-tempest-plugin-openvswitch will be good10:45
slaweqfrickler and my ssh key https://paste.opendev.org/show/bl52j3D1ESDuw3oJXye4/10:46
slaweqthank You very much for help10:46
fricklerhmm, I have no idea why zuul doesn't like the dependency on that patch now. will need to debug later10:53
opendevreviewSlawek Kaplonski proposed openstack/devstack master: [neutron] Don't configure firewall_driver for core ML2 plugin  https://review.opendev.org/c/openstack/devstack/+/86554410:57
opendevreviewSlawek Kaplonski proposed openstack/devstack master: Drop lib/neutron module  https://review.opendev.org/c/openstack/devstack/+/86501410:58
opendevreviewSlawek Kaplonski proposed openstack/devstack master: Rename lib/neutron-legacy to lib/neutron  https://review.opendev.org/c/openstack/devstack/+/86501510:58
slaweqfrickler I rebased devstack patches - lets see if it will work now10:58
slaweqfrickler it's running now, You can hold node for me :)11:07
fricklerslaweq: weird, there were no merge conflicts, I still wonder why zuul was so picky.11:28
slaweqfrickler did You maybe add my ssh key to that node already?11:55
slaweqand put it on hold?11:55
fricklerslaweq: root@199.19.213.11, the hold will only apply when (if) it fails/timeouts11:58
fricklerbut you can look at it while the job is in progress now anyway11:58
*** pojadhav is now known as pojadhav|afk12:00
slaweqfrickler and did You put my ssh key there?12:12
slaweqfrickler it's strange but it seems that now all jobs are green12:19
slaweq:)12:19
fricklerquantum timeout then, disappears when being watched. we can recheck a couple of times to see how stable it is now12:57
*** pojadhav|afk is now known as pojadhav13:23
opendevreviewSlawek Kaplonski proposed openstack/grenade master: Use default neutron backend in the base grenade job  https://review.opendev.org/c/openstack/grenade/+/86247513:54
ralonsohfrickler, hi, I'm seeing this error in some neutron jobs14:07
ralonsohhttps://zuul.opendev.org/t/openstack/build/f7ad05d06e79486e98e77805c6f6373c14:07
ralonsohvenv: failed with tempest is not allowed, use allowlist_externals to allow it14:07
ralonsohshould we add "tempest" to the allowlist_externals in its own tox.ini?14:07
slaweqralonsoh it may be related to the tox 414:07
ralonsohit is, yes14:07
slaweqbut I didn't check it so I'm not sure about it14:07
slaweq++14:08
slaweqralonsoh shouldn't You be off today? :D14:08
ralonsohslaweq, maybe...14:08
slaweqhehe14:08
fricklerralonsoh: slaweq: the nova people just found the same bug, sean-k-mooney is doing a patch14:10
ralonsohperfect!14:10
frickleror gibi actually14:11
gibi:)14:11
ralonsohgibi, thanks!14:12
sean-k-mooneyya i have to leave for an hour or so so if gibi for frickler can take care of the patch that would be best14:13
opendevreviewBalazs Gibizer proposed openstack/devstack master: [tempest]Use the proper venv to run verify-config  https://review.opendev.org/c/openstack/devstack/+/86699714:13
gibi^^ it is up14:13
ralonsohfrickler, we have the same problem with this patch14:53
ralonsohhttps://zuul.opendev.org/t/openstack/build/7585d1de46914130b3348efecfd5fa3314:53
fricklergibi: kopecmartin: gmann: ^^ then we need to revisit the allowlist_external change in tempest14:58
gibiralonsoh: I think my devstack patch will fix that too14:58
ralonsohgibi, no, this build if from your patch14:59
gibihm14:59
gibithen I don't know what is next15:00
gibishould we do a `tox -evenv-tempest -- pip install .` to get tempest in the venv-tempest? 15:02
ralonsohis done before15:02
frickleractually that tempest change is two weeks old, but the failures only started yesterday15:03
gibiralonsoh: where? I only see that we install the requirements for tempest15:03
fricklerso probably the issue is rather related to the tox4 issue yesterday and what infra did to pin tox15:03
ralonsohgibi, 15:03
ralonsoh2022-12-08 14:47:20.294442 | controller | ++ lib/tempest:configure_tempest:709        :   tox -evenv-tempest -- pip install -c /tmp/tempest_u_c_m.UhBZYwzaK1 -r requirements.txt15:03
ralonsoh2022-12-08 14:47:21.681455 | controller | venv-tempest: commands[0]> pip install -c /tmp/tempest_u_c_m.UhBZYwzaK1 -r requirements.txt15:03
fricklerclarkb: fungi: ^^ I didn't look into what you did yesterday in detail yet, maybe you have a better grip on that15:04
gibiralonsoh: I don't think we have tempest itself in the requirements file of tempest15:04
ralonsohno, we don't15:04
ralonsohwe have *15:04
ralonsohsorry, in the allowed list15:04
ralonsohbut the problem is not this binary, if that is not allowed15:05
ralonsohis*15:05
*** pojadhav is now known as pojadhav|dinner15:06
opendevreviewBalazs Gibizer proposed openstack/devstack master: [tempest]Use the proper venv to run verify-config  https://review.opendev.org/c/openstack/devstack/+/86699715:06
frickleroh, actually those jobs seem to be using tox4, which got stricter about allowlist handling15:06
fricklerfailing has tox-4.0.2 https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_170/866489/5/check/neutron-ovn-tempest-ovs-release-ubuntu-old/17007bf/controller/logs/pip3-freeze.txt15:06
fricklerearlier jobs tox-3.27.1 https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_5fa/865857/5/gate/neutron-ovn-tempest-ovs-release-ubuntu-old/5fa7b43/controller/logs/pip3-freeze.txt15:07
fungifrickler: what we did was pin to tox<4 in the ensure-tox role in zuul-jobs, but anything which installs tox some other way is probably still installing latest15:07
frickleryes, we need to cap tox somewhere in there. or amend the allowlist after all15:07
ralonsoharen't we using allowlist_externals=* in this env?15:08
fungiyou may run into other problems after you get it updated with allowlist_externals, for example tox v4 changes how and where it logs things, changes some of its outputs (including colorization by default), and probably more i'm forgetting15:08
ralonsohthis is still allowed in 4.0.2 https://tox.wiki/en/4.0.2/config.html#base-options15:09
fricklerseems neutron/lib/ovn_agent is pip_installing tox15:09
fricklerand causing some conflicts https://paste.opendev.org/show/bvmYWdmR7jLQH9IwPQ96/15:09
fricklerbecause u-c is too old15:10
ralonsohfrickler, what job?15:10
ralonsohjust to have an example15:10
fricklerralonsoh: https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_170/866489/5/check/neutron-ovn-tempest-ovs-release-ubuntu-old/17007bf/job-output.txt15:10
ralonsohfrickler, is is ok if I make this pip installation conditional?15:14
ralonsohreally?15:20
rosmaitaanyone else seeing failures during setup on tempest jobs in stable/yoga?  I am seeing this:15:21
rosmaitavenv: install_deps> python -I -m pip install -r /opt/stack/tempest/requirements.txt -r /opt/stack/tempest/doc/requirements.txt -c https://releases.openstack.org/constraints/upper/master15:21
rosmaitavenv: commands[0]> tempest verify-config -uro /tmp/tmp.hnzw9vd7Gn15:21
rosmaitavenv: exit 2 (0.00 seconds) /opt/stack/tempest> tempest verify-config -uro /tmp/tmp.hnzw9vd7Gn15:21
rosmaitahappening on tempest-full-py3 on https://review.opendev.org/c/openstack/python-cinderclient/+/86539915:21
ralonsohrosmaita, yes ^^ conversation ahead15:21
fungii think rosmaita joined after most of the discussion15:21
rosmaitaralonsoh: ty, i will have to read the log15:21
fungibut check the log on meetings.o.o15:22
fungialso folks should probably follow up to the tox v4 thread i started on openstack-discuss with any insights they arrive at15:22
ralonsohfungi, thanks15:22
rosmaitalooks like allowlist_externals checking is much more strict in 415:23
fungiin addition to now completely ignoring the old (previously deprecated) whitelist_externals directive15:23
fungiand a codesearch turns up a crazy amount of that still in our master branches alone which is likely to need addressing15:24
rosmaitamy issue is slightly different, exit code 2 instead of 1, and no mention of allowlist_externals15:25
ralonsohfungi, but https://review.opendev.org/c/openstack/devstack/+/866997 is now using an env with allowlist_externals=*15:25
fungii guess that's an attempt to turn off tox's checking of external commands completely?15:26
ralonsohI think so, yes15:26
ralonsohbut doesn't work15:26
fungiprobably an indication we should be using something other than tox if we can't even identify the commands we're going to have it run outside venvs15:26
fungihttps://tox.wiki/en/latest/config.html#allowlist_externals does at least imply that allowlist_externals=* is still valid (though not recommended)15:29
ralonsohyes, that's valid15:30
ralonsohfrickler, should I make this pip installation conditional in the ovn_agent script?15:32
fungirosmaita: 866997 drops use of the constraints file when installing tempest, so maybe that's related?15:33
fungiwhat i mean is, maybe a backport of 866997 would address the error you're seeing15:34
rosmaitathanks, will take a look15:34
clarkbI hesitate to approve that change without a better understanding of what is happening (and for that I need more time to look at job logs etc). My main concern is that I believe we already install tempest three separate times in a devstack run and this adds a fourth?15:37
fungiclarkb: you mean installing it into venv-tempest rather than just installing its requirements.txt?15:40
fungioh, right, it's not changing that line, it's adding another15:41
clarkbfungi: basically if you look at the lines above it we just keep repeating ourselves in different ways and its confusing and probably broken15:41
clarkbI'm working on a patch15:41
clarkber not a patch a comment15:41
fricklerralonsoh: actually I think the better solution is to make the tempest setup work properly with tox4, but I also don't grok all those twisted venvs. maybe kopecmartin or gmann need to take this over15:42
fungiand yeah, that configure_tempest function is so massive that it's easy to lose track of what it's already done. so while "installing tempest yet again" seems to work around the problem, it would be good to figure out why that is15:43
clarkbI posted a comment15:44
clarkbright I called this behaviour out as very likely buggy a couple of weeks ago. I think that the tox stuff is merely making it a problem15:46
clarkband adding more of the underlying problem isn't a proper way out15:46
*** ykarel_ is now known as ykarel|away15:47
fricklersetting up something like /opt/tempest-venv without tox might be a good idea, yes15:47
fungii agree, deciding how you want the tempest venv to look and then taking the minimum steps necessary to achieve that rather than the tempest venv being an emergent behavior of the random workarounds people have piled onto that function over the years15:49
*** pojadhav|dinner is now known as pojadhav16:10
kopecmartinahh, this whole thing is very weird, i'm trying to reproduce that locally, but can't , it works o.O however if i use the newest tox , tox itself fails before it starts creating an env .. ah16:14
kopecmartinwhat if we commented the verify-config part out? it's just a check, not required for a functional tempest.conf 16:15
kopecmartini mean temporarily until we fix and ideally refactor that confusing part 16:16
*** yadnesh is now known as yadnesh|away17:16
gmannwe need verify config but let me check why evenv-tempest and we need tempest as command there20:05
gmannalso we should not install it multiple times. I think existing installation are needed in config section separately but need to check it20:06
gmannas yoga and zed jobs are also failing, is tox 4 used there also?20:19
clarkbgmann: the change that I made yesterday only impacted jobs that use ensure-tox. Devstack (master at least) pip intalls tox itself in lib/tempest and lib/neutron_plugins/ovn_agent and both of those appear to install latest tox20:39
clarkbso yes I think this may be trying to use tox 420:39
gmannclarkb: I am confused where tempest-full job on master using old tox and in stable job using new https://lists.openstack.org/pipermail/openstack-discuss/2022-December/031442.html20:45
gmannit is same type of job20:45
clarkbI'd have to look at the logs to see where they install tox20:47
clarkbmaybe tox is in contraints and that capped it?20:47
gmannI do not see it in constraints but it seems we should have this at least for stable branches20:48
gmannthat is why grenade jobs failing and not tempest full on master. something fishy going with tox installation in devstack 20:53
gmannmaster vs stable20:53
gmannand focal job on mater devstack use tox>4.0 https://zuul.opendev.org/t/openstack/build/aaad7312f68246c0979e1a43cfe96c3b/log/controller/logs/pip3-freeze.txt#22920:55
opendevreviewGhanshyam proposed openstack/devstack master: [tempest]Use the proper venv to run verify-config  https://review.opendev.org/c/openstack/devstack/+/86699721:06
opendevreviewGhanshyam proposed openstack/devstack stable/zed: [tempest]Use the proper venv to run verify-config  https://review.opendev.org/c/openstack/devstack/+/86705521:08
opendevreviewGhanshyam proposed openstack/tempest master: DNM:Testing 866997  https://review.opendev.org/c/openstack/tempest/+/86705621:10
fungitox doesn't have to be *in* constraints to end up at an old version when constraints are applied. pip will consider tox's dependencies and only install versions of tox which will work with the constrained dependencies (if there are any)21:41
opendevreviewGhanshyam proposed openstack/devstack stable/zed: Testing tox version  https://review.opendev.org/c/openstack/devstack/+/86705921:50
opendevreviewGhanshyam proposed openstack/tempest master: Testing tempest pre-provision account job  https://review.opendev.org/c/openstack/tempest/+/86706022:02
opendevreviewGhanshyam proposed openstack/devstack stable/zed: Testing tox version  https://review.opendev.org/c/openstack/devstack/+/86705922:34
opendevreviewGhanshyam proposed openstack/tempest master: DNM:Testing tox issues  https://review.opendev.org/c/openstack/tempest/+/86705622:35
rosmaitagmann: i think you have a typo in https://review.opendev.org/c/openstack/devstack/+/86705922:38
opendevreviewGhanshyam proposed openstack/devstack stable/zed: Testing tox version  https://review.opendev.org/c/openstack/devstack/+/86705922:42
gmannrosmaita: yeah, my bad22:42
gmannfixed ^^22:42
rosmaitathanks!22:43
gmannrosmaita:  if this work fine and tox new verson is not coming form anywhere else then this is fix for stable jobs and workaround to master job. and for master jobs we can continue debugging and migrate to tox 4 accordingly 22:43
rosmaitai sure hope it works!22:43

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