https://pantsbuild.org/ logo
h

high-magician-46188

02/15/2023, 10:51 AM
Hi, I gradually migrate a huge repo we have from a Docker-based infra we have to Pants. Lately, we've started to have sporadic cases in which CI fails due to networking issues. We've found that it could happen from over-using Docker. We currently replace in the testing phase a Pytest Docker with
pants test
. Just to make sure: does Pants/Pex's sandboxing has a virtual network interface or anything related that could have a race-condition with Docker when creating a container?
๐Ÿงต
e

enough-analyst-54434

02/15/2023, 2:44 PM
No. The local sandboxing just consists of running in a temporary directory with snapshots of files from the workspace. There is no attempt to handle network at all.
That bug is 5 years old by the way. Are you sure it's still relevant?
h

high-magician-46188

02/15/2023, 3:28 PM
Thanks! Currently, I'm not sure about anything and some of our systems still use and old version of Ubuntu and Docker. Anyway, will look for the reason somewhere else - thanks again ๐Ÿ™‚
5 Views