https://pantsbuild.org/ logo
#general
Title
# general
f

flat-zoo-31952

10/29/2020, 10:38 PM
ran into a problem trying to run
--no-pantsd
in parallel in CI...
basically i'm running
./pants $targetopts lint
and
./pants $targetopts test
in parallel in the same workspace
is this a kinda thing that's supposed to work, or am i trying bad stuff
h

hundreds-breakfast-49010

10/29/2020, 10:57 PM
parallel runs with pantsd do not work right now
those error messages are coming from lmdb, and it makes sense that multiple pants runs in the same repo would try to access the same database at the same time and fail
f

flat-zoo-31952

10/29/2020, 11:05 PM
I'm running without pantsd
w

witty-crayon-22786

10/29/2020, 11:09 PM
@hundreds-breakfast-49010: lmdb is concurrency safe in the context of multiple processes: this should work.
if this is docker, you might be running into resource limits… either file handles or virtual memory
@flat-zoo-31952: are the two runs in different docker containers?
f

flat-zoo-31952

10/29/2020, 11:11 PM
Yes different containers, same mounted cache
I can try in the same container
w

witty-crayon-22786

10/29/2020, 11:19 PM
but yea: this should absolutely work, sorry. adding to the queue.
5 Views