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

calm-alarm-89082

04/26/2021, 6:25 PM
👋 looking at our CI I noticed Pants (2.1.1) is taking a long time resolving the 3rd party constraints (~3min) and can see many lines like this one:
Copy code
18:18:28.00 [INFO] Long running tasks:
  110.81s 	Resolving 3rdparty/python/constraints.txt
I could not figure out why, do you have any suggestion how to investigate/solve this?
c

clean-city-64472

04/26/2021, 6:54 PM
We had perforamnce issues on this that ended up being related to slow disk speeds due to bad docker/vm configurations
1
h

hundreds-father-404

04/26/2021, 6:56 PM
Hey Fede, how long does that step take locally for you?
c

calm-alarm-89082

04/26/2021, 7:36 PM
1-2 min
but I noticed this doesn't always happen
@clean-city-64472 do you remember what configurations changes you made to solve the problem?
c

clean-city-64472

04/26/2021, 7:43 PM
For virtualbox, this is a good config
🙌 1
I have had similar issues iwth disk speed on WSL in the past - in that case I'm not sure it was possible to fix.
b

busy-vase-39202

04/29/2021, 6:36 PM
I wonder if this should be added to the docs. Thoughts?
b

brash-baker-91190

05/11/2021, 5:47 PM
any suggestions on Docker config that might impact this? I'm seeing similar behavior.
h

hundreds-father-404

05/11/2021, 5:49 PM
@fast-nail-55400 this could be related to what you saw the other day with remote execution being slow, given the Docker use?
f

fast-nail-55400

05/14/2021, 1:12 AM
It wasn’t docker per se (rather an invocation into the container runtime), but it was the 3rdparty/python resolution step which was taking forever.
3 Views