Tuesday, 2021-01-12

*** jamesmcarthur has joined #openstack-infra00:08
*** tosky has quit IRC00:15
*** rlandy has quit IRC00:21
*** hamalq has quit IRC01:15
*** jamesmcarthur has quit IRC01:23
*** jamesmcarthur has joined #openstack-infra01:35
*** dychen has joined #openstack-infra01:47
*** dychen has quit IRC01:51
*** dwilde has quit IRC02:04
*** dwilde has joined #openstack-infra02:07
*** dwilde has joined #openstack-infra02:08
*** jamesmcarthur has quit IRC02:24
*** jamesmcarthur has joined #openstack-infra02:37
*** dwilde has quit IRC02:44
*** rcernin_ has quit IRC03:14
*** armax has quit IRC03:17
*** ricolin has quit IRC03:19
*** psachin has joined #openstack-infra03:31
*** d34dh0r53 has quit IRC03:32
*** d34dh0r53 has joined #openstack-infra03:33
*** d34dh0r53 has quit IRC03:35
*** d34dh0r53 has joined #openstack-infra03:35
*** armax has joined #openstack-infra03:36
*** jamesmcarthur has quit IRC03:41
*** jamesmcarthur has joined #openstack-infra03:43
*** zzzeek has quit IRC04:06
*** zzzeek has joined #openstack-infra04:07
*** ricolin_ has joined #openstack-infra04:17
*** d34dh0r53 has quit IRC04:19
*** d34dh0r53 has joined #openstack-infra04:20
*** d34dh0r53 has quit IRC04:22
*** d34dh0r53 has joined #openstack-infra04:22
*** rcernin_ has joined #openstack-infra04:25
*** rcernin_ has quit IRC04:25
*** rcernin has joined #openstack-infra04:25
*** d34dh0r53 has quit IRC04:59
*** d34dh0r53 has joined #openstack-infra04:59
*** jamesmcarthur has quit IRC04:59
*** jamesmcarthur has joined #openstack-infra05:00
*** d34dh0r53 has quit IRC05:01
*** d34dh0r53 has joined #openstack-infra05:01
*** d34dh0r53 has quit IRC05:03
*** d34dh0r53 has joined #openstack-infra05:03
*** d34dh0r53 has quit IRC05:03
*** d34dh0r53 has joined #openstack-infra05:04
*** jamesmcarthur has quit IRC05:05
*** dchen has quit IRC05:20
*** dchen has joined #openstack-infra05:22
*** ykarel has joined #openstack-infra05:23
*** ykarel_ has joined #openstack-infra05:26
*** ykarel has quit IRC05:29
*** vishalmanchanda has joined #openstack-infra05:35
*** Vivek has joined #openstack-infra05:40
*** jamesmcarthur has joined #openstack-infra06:00
*** ykarel_ has quit IRC06:01
*** jamesmcarthur has quit IRC06:05
*** gyee has quit IRC06:17
*** ykarel has joined #openstack-infra06:20
*** rcernin has quit IRC06:26
*** rcernin has joined #openstack-infra06:26
*** armax has quit IRC06:50
*** dchen has quit IRC06:53
*** dchen has joined #openstack-infra06:53
*** zzzeek has quit IRC07:02
*** zzzeek has joined #openstack-infra07:07
*** rcernin has quit IRC07:07
*** jamesmcarthur has joined #openstack-infra07:09
*** jcapitao has joined #openstack-infra07:09
*** ykarel_ has joined #openstack-infra07:11
*** ykarel has quit IRC07:12
*** jamesmcarthur has quit IRC07:15
*** Vivek has quit IRC07:15
*** Vivek has joined #openstack-infra07:24
*** nightmare_unreal has joined #openstack-infra07:27
*** jamesmcarthur has joined #openstack-infra07:30
*** dave-mccowan has quit IRC07:30
*** jamesmcarthur has quit IRC07:34
*** hashar has joined #openstack-infra07:37
*** eolivare has joined #openstack-infra07:38
*** jpena|off is now known as jpena07:46
*** Vivek has quit IRC07:48
*** ralonsoh has joined #openstack-infra07:48
*** ykarel_ has quit IRC07:55
*** ykarel_ has joined #openstack-infra07:56
*** ykarel__ has joined #openstack-infra07:58
*** ykarel__ is now known as ykarel08:01
*** ykarel_ has quit IRC08:01
*** slaweq has joined #openstack-infra08:03
*** rpittau|afk is now known as rpittau08:08
*** gfidente|afk is now known as gfidente08:13
*** Vivek has joined #openstack-infra08:13
*** andrewbonney has joined #openstack-infra08:17
*** tosky has joined #openstack-infra08:22
*** sboyron has joined #openstack-infra08:33
*** jamesmcarthur has joined #openstack-infra08:51
*** xek has joined #openstack-infra08:53
*** ysandeep is now known as ysandeep|lunch08:55
*** jamesmcarthur has quit IRC08:55
*** lucasagomes has joined #openstack-infra09:04
*** piotrowskim has joined #openstack-infra09:04
*** Vivek has quit IRC09:09
*** Vivek has joined #openstack-infra09:11
*** derekh has joined #openstack-infra09:30
*** mgoddard has joined #openstack-infra09:32
*** ricolin_ has quit IRC09:39
*** dtantsur|afk is now known as dtantsur09:42
*** Vivek has quit IRC10:00
*** dklyle has quit IRC10:01
*** ociuhandu has joined #openstack-infra10:14
*** jamesmcarthur has joined #openstack-infra10:15
*** Vivek has joined #openstack-infra10:18
*** jamesmcarthur has quit IRC10:19
*** ociuhandu has quit IRC10:24
*** ociuhandu has joined #openstack-infra10:30
*** ociuhandu has quit IRC10:32
*** ociuhandu has joined #openstack-infra10:32
*** ociuhandu has quit IRC10:42
*** ysandeep|lunch is now known as ysandeep10:43
*** rpittau has quit IRC11:06
*** ociuhandu has joined #openstack-infra11:07
*** rpittau has joined #openstack-infra11:07
*** jcapitao is now known as jcapitao_lunch11:22
*** jamesmcarthur has joined #openstack-infra11:44
*** ociuhandu has quit IRC11:45
*** Vivek has quit IRC11:49
*** jamesmcarthur has quit IRC11:49
*** ricolin_ has joined #openstack-infra12:03
*** ociuhandu has joined #openstack-infra12:15
*** ociuhandu has quit IRC12:19
*** ociuhandu has joined #openstack-infra12:19
*** ociuhandu has quit IRC12:20
*** ociuhandu has joined #openstack-infra12:20
*** ociuhandu has quit IRC12:23
*** ociuhandu has joined #openstack-infra12:24
*** jpena is now known as jpena|lunch12:25
*** fresta has quit IRC12:30
*** fresta has joined #openstack-infra12:30
*** ociuhandu has quit IRC12:31
*** jcapitao_lunch is now known as jcapitao12:41
*** ociuhandu has joined #openstack-infra12:45
*** ociuhandu has quit IRC12:46
*** ociuhandu has joined #openstack-infra12:47
*** ricolin_ has quit IRC12:47
*** rlandy has joined #openstack-infra12:50
*** ociuhandu has quit IRC13:07
*** jamesmcarthur has joined #openstack-infra13:08
*** jamesmcarthur has quit IRC13:12
*** jamesmcarthur has joined #openstack-infra13:14
*** jamesmcarthur has quit IRC13:19
*** jpena|lunch is now known as jpena13:21
*** ociuhandu has joined #openstack-infra13:37
*** rfolco has joined #openstack-infra13:41
*** ociuhandu has quit IRC13:50
*** ricolin_ has joined #openstack-infra13:58
*** ricolin_ has quit IRC13:58
*** ricolin has joined #openstack-infra13:59
*** ociuhandu has joined #openstack-infra14:21
*** jamesmcarthur has joined #openstack-infra14:38
*** armax has joined #openstack-infra15:11
*** lbragstad has quit IRC15:29
*** lbragstad has joined #openstack-infra15:34
*** lbragstad has quit IRC15:35
*** lbragstad has joined #openstack-infra15:35
*** dklyle has joined #openstack-infra15:47
*** d34dh0r53 has quit IRC15:51
*** d34dh0r53 has joined #openstack-infra15:53
*** psachin has quit IRC16:13
*** d34dh0r53 has quit IRC16:19
*** d34dh0r53 has joined #openstack-infra16:19
*** jcapitao has quit IRC16:39
*** sshnaidm|ruck is now known as sshnaidm|afk16:47
*** lucasagomes has quit IRC16:58
*** jpena is now known as jpena|off17:01
*** ysandeep is now known as ysandeep|away17:01
*** slaweq has quit IRC17:10
*** artom has quit IRC17:10
*** d34dh0r53 has quit IRC17:10
*** tbachman has quit IRC17:25
*** d34dh0r53 has joined #openstack-infra17:27
*** tbachman has joined #openstack-infra17:30
*** rpittau is now known as rpittau|afk17:32
*** piotrowskim has quit IRC17:33
*** eharney has quit IRC17:34
*** ociuhandu has quit IRC17:41
*** sboyron has quit IRC17:46
*** eharney has joined #openstack-infra17:46
*** eolivare has quit IRC17:47
*** sboyron has joined #openstack-infra17:48
*** dtantsur is now known as dtantsur|afk17:51
*** hamalq has joined #openstack-infra17:58
*** ykarel has quit IRC18:00
*** ralonsoh has quit IRC18:02
*** ociuhandu has joined #openstack-infra18:06
*** ociuhandu has quit IRC18:06
*** eharney has quit IRC18:09
*** d34dh0r53 has quit IRC18:13
*** gfidente is now known as gfidente|afk18:19
*** eharney has joined #openstack-infra18:21
*** openstackgerrit has joined #openstack-infra18:29
openstackgerritCorey Bryant proposed openstack/project-config master: Create microstack-specs project  https://review.opendev.org/c/openstack/project-config/+/77046018:29
*** d34dh0r53 has joined #openstack-infra18:31
*** jamesmcarthur has quit IRC18:32
*** jamesmcarthur has joined #openstack-infra18:34
*** jamesmcarthur has quit IRC18:39
*** ianychoi_ has quit IRC18:46
*** nightmare_unreal has quit IRC18:46
openstackgerritMerged openstack/project-config master: Remove openstack/monasca-analytics  https://review.opendev.org/c/openstack/project-config/+/75199318:55
*** ianw_pto is now known as ianw18:58
*** gyee has joined #openstack-infra19:02
*** andrewbonney has quit IRC19:07
openstackgerritMerged openstack/project-config master: Use StoryBoard for sandbox repos  https://review.opendev.org/c/openstack/project-config/+/75945019:13
*** jamesmcarthur has joined #openstack-infra19:17
*** jamesmcarthur has quit IRC19:22
*** hashar has quit IRC19:30
*** openstackgerrit has quit IRC19:40
*** slaweq has joined #openstack-infra19:44
*** slaweq has quit IRC20:03
*** openstackgerrit has joined #openstack-infra20:10
openstackgerritMerged openstack/project-config master: Use internal mirror for RAX IAD/DFW  https://review.opendev.org/c/openstack/project-config/+/76049520:10
*** arxcruz has quit IRC20:14
openstackgerritSorin Sbârnea proposed openstack/project-config master: Update git-review test matrix (drop py27)  https://review.opendev.org/c/openstack/project-config/+/76380820:16
*** jamesmcarthur has joined #openstack-infra20:36
*** jamesmcarthur has quit IRC20:40
*** jamesmcarthur has joined #openstack-infra20:40
*** vishalmanchanda has quit IRC20:49
*** derekh has quit IRC20:56
*** derekh has joined #openstack-infra20:56
*** eharney has quit IRC21:00
*** ociuhandu has joined #openstack-infra21:04
*** derekh has quit IRC21:05
*** ociuhandu has quit IRC21:07
*** eharney has joined #openstack-infra21:13
*** rfolco has quit IRC21:25
*** hashar has joined #openstack-infra21:31
*** lbragstad has quit IRC21:35
*** lbragstad has joined #openstack-infra21:38
*** eharney has quit IRC21:39
*** eharney has joined #openstack-infra21:42
*** derekh has joined #openstack-infra21:50
*** derekh has quit IRC21:50
lbragstado/ has anyone seen issues with l-c job timeouts on stable branches?22:21
clarkblbragstad: is the pip dep resolution taking forever beacues it has a hard time in that situation?22:22
clarkbfungi has been following the l-c job situation much more closely than I have though22:22
lbragstadwell - it doesn't look like it's even able to create the environment?22:23
lbragstadhttps://zuul.opendev.org/t/openstack/build/3fc8afd5e449461aa01187a031fd17a0/log/job-output.txt#63522:23
lbragstadwe're seeing this happen on stable/train and stable/ussuri patches22:23
fungithe new dep solver in pip can take a very, very long time if presented with effectively unsolveable conflicts in complex sets of transitive dependencies22:24
clarkbya thats the install deps step which is when the dep solver would be churning22:25
clarkbso I expect that is the problem22:25
fungilbragstad: https://zuul.opendev.org/t/openstack/build/3fc8afd5e449461aa01187a031fd17a0/log/tox/lower-constraints-1.log#21722:25
fungi"INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking22:26
lbragstadoh - dang.. that looks like the smoking gun22:28
fungii just happened to already know where to look22:29
* lbragstad parse the fixes in https://review.opendev.org/q/topic:%22fix-relmgt-pip-doc%22+(status:open%20OR%20status:merged)22:32
lbragstadit looks like we have a doc/requirements.txt, test-requirements, and requirements.txt on keystone's stable/stein branch22:33
lbragstadis there something else we should be doing that we aren't?22:34
clarkbI think this is related to the fundamental issues with lower constraints jobs (whihc is why there is a push to remove them)22:35
* lbragstad nods 22:35
clarkbbasically they never quite worked how we expected and the dep solver in pip exposees that now22:35
lbragstadwe already did that on master22:35
clarkbpip wants to find the newest versions that meet the requirements but lower constraints is doing the exact opposite so they fight each other22:35
fungithey're going to be even harder to fix on stable branches than they would have been to fix in master22:35
lbragstad=/22:36
lbragstadi know cmurphy brought up a point earlier when we were talking about it how removing that testing can be problematic for packagers, but it also sounds like we're out of options?22:36
fungithe lower-constraints.txt files used by most projects were: 1. incomplete (missing much of the transitive set which is where the real challenges lie for dep solving), and 2. not necessarily representative of a consistent subset to begin with22:37
lbragstadack22:37
clarkblbragstad: I think the alternative is to properly curate the list so that the dep solver doesn't have any work to do22:37
fungilbragstad: removing testing can be problematic if you're removing working tests. if you're removing tests which weren't testing what you thought they were testing, you've lost nothing22:37
clarkbconstraints essentially bypass dep solving except if the list is incomplete then the dep solver has to solve for that missing space22:37
lbragstadclarkb in other words, having a super-opinionated (and arguable fragile) lower-constraints.txt file?22:38
lbragstadarguably*22:38
clarkbya and then spending the time to curate it over time22:38
fungialso the constraints can be patently incorrect, representing conflicts which are unsolveable. old pip didn't care that some theoretical version conflicts were present and punted (it really just wasn't smart enough to know)22:39
lbragstadwhich is kind of what we do now, no? but we'd just be doing it more?22:39
lbragstadahh22:39
clarkbsort of, aiui the lower constraints were just a guess before22:39
clarkbwhereas upper constraints are actually generated from passing job runs and what pip's solver produces22:39
lbragstadbut now it's spoken word because we have a smarter dependency resolver?22:39
clarkbya22:39
lbragstadok - interesting22:40
clarkbupper constraints don't have this problem beacuse they are the result of dep solving22:40
fungiright. now pip has logic to attempt to find the newest version of every package which will satisfy every other package's requirements (previously it just sort of went entry by entry and overwrote in the case of a conflict)22:40
clarkblower constraints were human guesses and now pip isn't able to process it22:40
fungiand yeah, upper-constraints.txt is generated by saying "hey pip install all the packages mentioned in this requirements list and their dependencies" and then freezing the result. there is no equivalent tool to find the oldest versions described by the transitive set rather than the highest22:41
fungiso we have no way to generate coherent constraints lists from lower bounds, only from upper bounds (by taking advantage of the fact that's what pip knows how to calculate already)22:42
fungii've suggested many times that a feature could be implemented to invert the selection algorithm in pip, as probably the most straightforward means of generating a coherent lower-constraints.txt22:43
lbragstadok - and the new functionality/dependency resolver obviously doesn't include that functionality today?22:44
fungibut that's still going to run into the problem that projects are even less thorough about listing their lower bounds than their upper bounds, and assumes that your transitive dependencies are mostly performing some similar testing as well22:44
fungilbragstad: it does not, no22:45
fungibasically it wants to install the newest version of everything which satisfies the requirements of each package, and then the lower-constraints job is overriding *some* of those forcing a choice of older versions22:46
lbragstadand the new pip functionality doesn't know how to deal with those conflicts, hence the chrun?22:46
lbragstadchurn*22:46
fungiif those older versions plus the newer versions of whatever they depend on form a coherent set, then the solver will be happy and go forward with the job22:46
fungibut the only way to really work that out is through painstaking manual trial and error22:47
fungior to write your own dep solver which solves for lowest version instead of highest22:47
lbragstadok - i think this is starting to make sense22:52
*** ociuhandu has joined #openstack-infra22:53
*** ociuhandu has quit IRC22:58
fungiyeah, there's two forces at play: solving collective dependencies from ranges, and constraining those selection choices. the constraints file acts as a sort of filter to say "you must select these versions of the listed packages" so the result can be one of: coherent, conflicting, incalculable23:01
*** rcernin has joined #openstack-infra23:02
fungias i warned folks repeatedly when the original lower-constraints implementation was being formulated, it didn't actually test the versions of things people assumed it would. now that pip is aware enough to actually check coherence of the dependent set, that's become more obvious to folks23:04
fungipreviously there was a fair bit of hand-waving with regard to "well it's probably testing some old versions of some dependencies even if it's not exactly right, and maybe that's good enough" but it relied on pip not actually caring that it hadn't installed what it was asked to install23:05
*** arxcruz has joined #openstack-infra23:09
fungiin fact, it was our community which invented the constraints feature in pip to begin with, as a stop-gap to allow us to externally perform dep solving because pip lacked a proper solver (a prototype for which was also proposed initially and got a lukewarm reception, so constraints was actually a concession)23:09
*** hashar has quit IRC23:15
*** jamesmcarthur has quit IRC23:16
*** rlandy has quit IRC23:19
*** jamesmcarthur has joined #openstack-infra23:31
*** jamesmcarthur has quit IRC23:35
*** jamesmcarthur has joined #openstack-infra23:35
*** sboyron has quit IRC23:45
*** sboyron has joined #openstack-infra23:46
*** sboyron has quit IRC23:54
*** sboyron has joined #openstack-infra23:56

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