I have started to run into issues with `docker env...
# general
l
I have started to run into issues with
docker environments
to build a google cloud function target after i cleared docker (images, volumes, containers). I am still using pants 2.16 with the old lambdex layout. I can’t seem to be able to pass from this now (I am building on an intel Mac)
Copy code
18:31:00.17 [DEBUG] Completed: `package` goal
18:31:00.17 [DEBUG] computed 1 nodes in 70.944543 seconds. there are 1948 total nodes.
18:31:00.17 [ERROR] 1 Exception encountered:

Engine traceback:
  in `package` goal

ProcessExecutionFailure: Process 'Extract Python' failed with exit code 2.
stdout:

stderr:
/bin/tar: This does not look like a tar archive

gzip: stdin: unexpected end of file
/bin/tar: Child returned status 1
/bin/tar: Error is not recoverable: exiting now
Running pants with
--no-local-cache --pex-verbosity=9 -ldebug --keep-sandboxes=always package
would any of this interfere with building on docker? when I simply run this with
./pants package ::
build fails with the following
Copy code
stdout:

stderr:
.python-build-standalone/python/bin/python3: error while loading shared libraries: /pants-immutable-inputs/.tmp6SS10z/c12164f0e9228ec20704c1aba97eb31b8e2a482d41943d541cc8e3a9e84f7349/python/bin/../lib/libpython3.9.so.1.0: file too short
On a retry (without clearing any cache), I will get a successful build, but seems one of the zips will sometimes be incomplete, only containing a LAMBEX-INFO and main.py files
image.png