Monday, 2021-08-30

*** ysandeep|away is now known as ysandeep06:31
*** jpena|off is now known as jpena07:36
*** ysandeep is now known as ysandeep|lunch07:53
opendevreviewMerged openstack/project-config master: Ensure promote-tox-docs-infra runs only on master  https://review.opendev.org/c/openstack/project-config/+/80601210:23
*** rlandy is now known as rlandy|rover10:37
*** sshnaidm is now known as sshnaidm|off10:46
*** jcapitao is now known as jcapitao_lunch11:14
*** ysandeep|lunch is now known as ysandeep11:16
*** jpena is now known as jpena|lunch11:30
*** jpena|lunch is now known as jpena12:22
*** jcapitao_lunch is now known as jcapitao12:23
zulhi, this is not obvious to me on why its failing: https://review.opendev.org/c/starlingx/distcloud-client/+/804128 and https://zuul.opendev.org/t/openstack/build/f04a06b121164b89bad6b4eec04f572a13:04
*** ysandeep is now known as ysandeep|afk13:39
fungizul: looks like it's trying to build cffi 1.12.2 against python 3.9 but isn't compatible with it maybe?14:06
zulfungi: thats what i see, but the fix isnt obvious to me14:06
fungicffi 1.12.2 was released 2019-02-26, well before python 3.9 existed, so being unable to build that is not too surprising. i guess you're trying to figure out why it's selecting such an old cffi version?14:07
zulyeah thats exactly what im trying to figure out14:08
fungizul: found it, pretty sure14:17
fungihttps://zuul.opendev.org/t/openstack/build/f04a06b121164b89bad6b4eec04f572a/log/tox/py39-1.log#314:17
fungipip install -chttps://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt14:17
fungistein is... old14:17
fungihttps://opendev.org/openstack/requirements/src/branch/stable/stein/upper-constraints.txt#L52914:18
fungicffi===1.12.214:18
zulyeah but python3.9 should be using victoria14:18
zulhttps://review.opendev.org/c/starlingx/distcloud-client/+/804128/13/distributedcloud-client/tox.ini#4314:19
fungihttps://review.opendev.org/c/starlingx/distcloud-client/+/804128/13/distributedcloud-client/tox.ini14:22
fungiokay so the idea is that the install_command in testenv:py39 should replace the inherited one from the generic testenv section14:22
fungiso two possibilities, either it's not selecting the right testenv or it's not using the correct tox.ini file (there is also one in the root of the project)14:23
zulok14:23
zulyeah thats what i thought as well14:23
fungii would expect the tox_extra_args string to be appended to the cmd logged here: https://zuul.opendev.org/t/openstack/build/f04a06b121164b89bad6b4eec04f572a/console#3/0/7/debian-bullseye14:25
fungileading me to suspect it's just defaulting to using the tox.ini in the root of the repository instead14:25
fungiworth noting, the default tox_extra_args is -vv so by overriding it you could also be reducing verbosity if you don't include -vv in your override: https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/tox/defaults/main.yaml#L414:34
zulthe min version is like 3.2, maybe that has something to do with it?14:35
funginah, i see it... it's actually dying here before it would get to the second invocation of tox where tox_extra_args would be consumed: https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/tox/tasks/siblings.yaml#L1-L1114:38
fungii think the tox role in zuul-jobs isn't (yet at least) compatible with overriding the tox.ini path that way14:39
zulwell f*ck14:39
fungiit may make more sense to turn the path into a separate rolevar14:39
zulhow do i do that?14:40
fungiso that it can be used in all places in the role where tox might be invoked, though maybe there's not a reason tox_extra_args isn't added in the siblings tasks and it can just be added there like it is in the main tasks for the role14:40
zulok14:41
*** akekane_ is now known as abhishekk14:41
fungii can bring it up in the #zuul:opendev.org matrix channel in a bit, or i can use the zuul-discuss@lists.zuul-ci.org ml instead if that's easier for you to follow14:45
fungizul: a couple of alternatives which would work now though...14:46
fungihttps://zuul-ci.org/docs/zuul-jobs/python-jobs.html#jobvar-tox.tox_constraints_file14:46
fungithat can be used to tell it the path to the constraints file, usually used in conjunction with making the requirements project which constains that file a required-projects addition for the job you're running14:46
zulok ill take a nother look at it, thanks for the help14:47
fungior you could try turning off https://zuul-ci.org/docs/zuul-jobs/python-jobs.html#jobvar-tox.tox_install_siblings though that cuts out a good chunk of functionality for cross-repository testing when you're pip installing multiple projects from source14:47
fungianyway, i'll push up a change in a bit to add tox_extra_args to the sibling tasks where tox is invoked and test the waters with zuul reviewers to see if it's intentionally omitted there14:49
*** ysandeep|afk is now known as ysandeep14:55
opendevreviewSlawek Kaplonski proposed openstack/openstack-zuul-jobs master: Remove neutron and networking-midonet Ocata jobs definitions  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/79136414:59
fungizul: i've pushed https://review.opendev.org/806612 and https://review.opendev.org/806613 for the two changes i suggested to the tox role15:36
fungiwe'll see what the other zuul-jobs maintainers have to say about them15:36
*** jpena is now known as jpena|off15:37
*** ysandeep is now known as ysandeep|afk15:48
*** ysandeep|afk is now known as ysandeep16:52
*** ysandeep is now known as ysandeep|away17:21

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