Thursday, 2023-05-04

anoopcsI am observing the following error on running `jenkins-jobs --conf <jenkins.ini> update jobs`16:07
anoopcshttps://termbin.com/sdy016:07
anoopcsone change I noticed during installation of jenkins-job-builder is that urllib3 got updated to 2.02 from 1.26.15 since last successful run16:09
SDEThello16:26
SDETI'm running into a weird issue that seems to have started today, not sure if anyone might be able to help here using version 4.3.0 of jenkins job builder16:29
SDET```16:29
SDETmyVenv/lib/python3.8/site-packages/urllib3/util/timeout.py", line 156, in _validate_timeout     raise ValueError( ValueError: Timeout value connect was <object object at 0x7f88dec023b0>, but it must be an int, float or None.16:30
SDETSame with python 3.916:30
SDETTried upgrading to 5.0.2 but it seems that Yaml Anchors & Aliases are not working with our configs16:30
anoopcsexactly the same thing I reported an hour back16:57
anoopcshttps://termbin.com/sdy016:57
anoopcsIn my case we have jjb is of version 5.0.216:59
SDETyes thats it, same issue16:59
SDETwe're using virtualenv, I guess something changed upstream in the requests lib? no clue how to work around it17:00
vsevolodWhich version of python-jenkins are you use? Have you changed it recently?17:00
vsevolodCan you provide output of your pip freeze?17:02
SDETwe're using a net new virtual env every time we run it17:02
SDETlooks like the python-jenkins version didn't change, its "python-jenkins-1.8.0"17:03
anoopcsre-pasting my comment..17:04
anoopcsone change I noticed during installation of jenkins-job-builder is that urllib3 got updated to 2.02 from 1.26.15 since last successful run17:04
vsevolodOk, I see. I will try to reproduce this problem tomorrow.17:05
vsevolodMay be you may want to freeze some versions to their earlier values. May be urllib3 or requests, if that was changed.17:06
anoopcsThanks, and requests got updated to 2.30.0 from 2.29.017:06
SDETjust did a diff of the installation output, we also saw requests go from 2.29.0 to 2.30.0 and urllib3 go from 1.26.15 to 2.0.217:07
SDETI'll try pinning those versions, thanks17:08
anoopcsSDET, how do you do that? We are installing using pip17:09
SDETim just reading into it but looks like pip supports it via https://pip.pypa.io/en/stable/user_guide/#constraints-files17:10
vsevolodYou can just add specific version of this library to your requirements.txt or pip command line, whichever you use.17:15
SDEToh thats much simpler, thanks17:18
SDETit works!17:20
SDETpip3 install requests==2.29.0 urllib3==1.26.15 jenkins-job-builder==4.3.017:20
SDETgonna go patch our configs, thanks all for the help!17:33
*** anoopcs- is now known as anoopcs17:47
anoopcsCool17:47
anoopcsIs this reported on https://storyboard.openstack.org/#!/project/jjb/jenkins-job-builder ?17:49
anoopcsIf not can somebody create new one?17:50
vsevolodI am not sure this relates to jjb. 17:51
vsevolodI think, there are more chances that it is related to python-jenkins17:52
vsevolodAnyway, will check tomorrow17:52
anoopcsOh..Ok17:53

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