https://pantsbuild.org/ logo
#development
Title
# development
h

happy-kitchen-89482

05/05/2020, 1:00 AM
Note that the command was
./pants
, running v1 tasks...
👍 2
h

hundreds-father-404

05/05/2020, 1:09 AM
Pants V1 still runs V2 code for build file parsing and target creation
h

happy-kitchen-89482

05/05/2020, 1:15 AM
It got past that and started running tests
👍 1
but those tests do generate BUILD files and such
w

witty-crayon-22786

05/14/2020, 1:32 AM
so, i repro this for
./pants test contrib/go/tests/python/pants_test/contrib/go/tasks
, but it looks specific to the test harness. it’s the “inner” pants that is under test that experiences this, and not the outer pants. and moreover, if you hit
lsof
on the subprocess, you can see that it is a plain jane “we’ve opened hundreds of Schedulers for some reason” case, and we do actually hit a 10k limit about halfway through the test.
so… that’s an upside. but i don’t see why
TestBase
would be leaking schedulers, so.
^
h

hundreds-father-404

05/14/2020, 1:34 AM
Huh. Remember that Alex used to hit this all the time? The solution was to make the scheduler set up be per class, rather than per test
w

witty-crayon-22786

05/14/2020, 1:37 AM
that test target contains about 8 files and 10 total instances of
TestBase
. but 10 schedulers shouldn’t be enough to hit these limits.
(we don’t open anywhere near a thousand files per scheduler)
aaaaanyway. too many yaks today.