anoopcs | I am observing the following error on running `jenkins-jobs --conf <jenkins.ini> update jobs` | 16:07 |
---|---|---|
anoopcs | https://termbin.com/sdy0 | 16:07 |
anoopcs | one change I noticed during installation of jenkins-job-builder is that urllib3 got updated to 2.02 from 1.26.15 since last successful run | 16:09 |
SDET | hello | 16:26 |
SDET | I'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 builder | 16:29 |
SDET | ``` | 16:29 |
SDET | myVenv/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 |
SDET | Same with python 3.9 | 16:30 |
SDET | Tried upgrading to 5.0.2 but it seems that Yaml Anchors & Aliases are not working with our configs | 16:30 |
anoopcs | exactly the same thing I reported an hour back | 16:57 |
anoopcs | https://termbin.com/sdy0 | 16:57 |
anoopcs | In my case we have jjb is of version 5.0.2 | 16:59 |
SDET | yes thats it, same issue | 16:59 |
SDET | we're using virtualenv, I guess something changed upstream in the requests lib? no clue how to work around it | 17:00 |
vsevolod | Which version of python-jenkins are you use? Have you changed it recently? | 17:00 |
vsevolod | Can you provide output of your pip freeze? | 17:02 |
SDET | we're using a net new virtual env every time we run it | 17:02 |
SDET | looks like the python-jenkins version didn't change, its "python-jenkins-1.8.0" | 17:03 |
anoopcs | re-pasting my comment.. | 17:04 |
anoopcs | one change I noticed during installation of jenkins-job-builder is that urllib3 got updated to 2.02 from 1.26.15 since last successful run | 17:04 |
vsevolod | Ok, I see. I will try to reproduce this problem tomorrow. | 17:05 |
vsevolod | May be you may want to freeze some versions to their earlier values. May be urllib3 or requests, if that was changed. | 17:06 |
anoopcs | Thanks, and requests got updated to 2.30.0 from 2.29.0 | 17:06 |
SDET | just 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.2 | 17:07 |
SDET | I'll try pinning those versions, thanks | 17:08 |
anoopcs | SDET, how do you do that? We are installing using pip | 17:09 |
SDET | im just reading into it but looks like pip supports it via https://pip.pypa.io/en/stable/user_guide/#constraints-files | 17:10 |
vsevolod | You can just add specific version of this library to your requirements.txt or pip command line, whichever you use. | 17:15 |
SDET | oh thats much simpler, thanks | 17:18 |
SDET | it works! | 17:20 |
SDET | pip3 install requests==2.29.0 urllib3==1.26.15 jenkins-job-builder==4.3.0 | 17:20 |
SDET | gonna go patch our configs, thanks all for the help! | 17:33 |
*** anoopcs- is now known as anoopcs | 17:47 | |
anoopcs | Cool | 17:47 |
anoopcs | Is this reported on https://storyboard.openstack.org/#!/project/jjb/jenkins-job-builder ? | 17:49 |
anoopcs | If not can somebody create new one? | 17:50 |
vsevolod | I am not sure this relates to jjb. | 17:51 |
vsevolod | I think, there are more chances that it is related to python-jenkins | 17:52 |
vsevolod | Anyway, will check tomorrow | 17:52 |
anoopcs | Oh..Ok | 17:53 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!