hundreds-breakfast-49010
10/10/2019, 12:20 AMpants binary
workhundreds-breakfast-49010
10/10/2019, 12:21 AM./pants binary <some target>
hundreds-breakfast-49010
10/10/2019, 12:21 AMhundreds-breakfast-49010
10/10/2019, 12:21 AM./pants binary --v2 --no-v1 <same target>
hundreds-breakfast-49010
10/10/2019, 12:21 AMdist
seems to be corruptaloof-angle-91616
10/10/2019, 12:21 AMhundreds-breakfast-49010
10/10/2019, 12:21 AMaloof-angle-91616
10/10/2019, 12:22 AMhundreds-breakfast-49010
10/10/2019, 12:22 AMaloof-angle-91616
10/10/2019, 12:22 AMhundreds-breakfast-49010
10/10/2019, 12:22 AMaloof-angle-91616
10/10/2019, 12:22 AMaloof-angle-91616
10/10/2019, 12:22 AMaloof-angle-91616
10/10/2019, 12:22 AMhundreds-breakfast-49010
10/10/2019, 12:22 AMmaterialize_directories
probably doing something wrongaloof-angle-91616
10/10/2019, 12:23 AMhundreds-breakfast-49010
10/10/2019, 12:23 AMaloof-angle-91616
10/10/2019, 12:23 AMaloof-angle-91616
10/10/2019, 12:23 AMaloof-angle-91616
10/10/2019, 12:23 AMaloof-angle-91616
10/10/2019, 12:23 AMaloof-angle-91616
10/10/2019, 12:23 AMaloof-angle-91616
10/10/2019, 12:23 AMhundreds-breakfast-49010
10/10/2019, 12:24 AMhundreds-breakfast-49010
10/10/2019, 12:24 AMaloof-angle-91616
10/10/2019, 12:24 AM--no-compile
or is it already doing thathundreds-breakfast-49010
10/10/2019, 12:25 AMaloof-angle-91616
10/10/2019, 12:25 AMaloof-angle-91616
10/10/2019, 12:25 AMhundreds-breakfast-49010
10/10/2019, 12:25 AMaloof-angle-91616
10/10/2019, 12:25 AMaloof-angle-91616
10/10/2019, 12:25 AMaloof-angle-91616
10/10/2019, 12:25 AMhundreds-breakfast-49010
10/10/2019, 12:25 AMaloof-angle-91616
10/10/2019, 12:25 AMaloof-angle-91616
10/10/2019, 12:25 AMaloof-angle-91616
10/10/2019, 12:26 AM> unzip -p /home/gregs/code/pants/dist/main.pex .bootstrap/pex/__init__.py
what does that printaloof-angle-91616
10/10/2019, 12:26 AMaloof-angle-91616
10/10/2019, 12:27 AMhundreds-breakfast-49010
10/10/2019, 12:27 AMgregs@gregs-dev-laptop ~/c/p/dist> unzip -p /home/gregs/code/pants/dist/main.pex .bootstrap/pex/__init__.py
.bootstrap/pex/__init__.py: mismatching "local" filename (.bootstrap/_pex/__init__.pyc),
continuing with "central" filename version
3
n]@sdS)Nrrrootstrap/_pex/__init__.p<module>s⏎
aloof-angle-91616
10/10/2019, 12:27 AM--no-compile
fixed thataloof-angle-91616
10/10/2019, 12:27 AMaloof-angle-91616
10/10/2019, 12:27 AMaloof-angle-91616
10/10/2019, 12:27 AM--no-compile
hundreds-breakfast-49010
10/10/2019, 12:27 AMaloof-angle-91616
10/10/2019, 12:28 AMhundreds-breakfast-49010
10/10/2019, 12:28 AMaloof-angle-91616
10/10/2019, 12:28 AMaloof-angle-91616
10/10/2019, 12:28 AMhundreds-breakfast-49010
10/10/2019, 12:28 AMmaterialize_directories
lets us do that alreadyaloof-angle-91616
10/10/2019, 12:28 AMhundreds-breakfast-49010
10/10/2019, 12:28 AMaloof-angle-91616
10/10/2019, 12:29 AMaloof-angle-91616
10/10/2019, 12:29 AMaloof-angle-91616
10/10/2019, 12:29 AMhundreds-breakfast-49010
10/10/2019, 12:33 AMhundreds-breakfast-49010
10/10/2019, 12:35 AMstore/src/lib.rs
, we have materialize_file
that actually does the disk-writinghundreds-breakfast-49010
10/10/2019, 12:36 AMaloof-angle-91616
10/10/2019, 12:36 AMaloof-angle-91616
10/10/2019, 12:36 AMaloof-angle-91616
10/10/2019, 12:36 AMaloof-angle-91616
10/10/2019, 12:36 AMaloof-angle-91616
10/10/2019, 12:36 AM--no-compile
in pants and see if that fixes the issuehundreds-breakfast-49010
10/10/2019, 12:40 AMaloof-angle-91616
10/10/2019, 12:41 AMaloof-angle-91616
10/10/2019, 12:41 AMaloof-angle-91616
10/10/2019, 12:42 AMaloof-angle-91616
10/10/2019, 12:42 AM--no-compile
fixes the issue, we know it's not because file materialization itself is corrupting the filehundreds-breakfast-49010
10/10/2019, 12:42 AMhundreds-breakfast-49010
10/10/2019, 12:42 AMaloof-angle-91616
10/10/2019, 12:43 AMhundreds-breakfast-49010
10/10/2019, 12:43 AMdist
, right?hundreds-breakfast-49010
10/10/2019, 12:43 AMaloof-angle-91616
10/10/2019, 12:44 AMaloof-angle-91616
10/10/2019, 12:44 AMaloof-angle-91616
10/10/2019, 12:44 AMhundreds-breakfast-49010
10/10/2019, 12:44 AMhundreds-breakfast-49010
10/10/2019, 12:45 AMaloof-angle-91616
10/10/2019, 12:45 AM--no-process-execution-cleanup-local-dirs
we can look at the output pex, but that doesn't let us see the inputaloof-angle-91616
10/10/2019, 12:45 AM-ldebug
we might get the process execution request printed out?aloof-angle-91616
10/10/2019, 12:45 AMinput_files
digest with fs_util
hundreds-breakfast-49010
10/10/2019, 1:19 AMhundreds-breakfast-49010
10/10/2019, 1:19 AMDigest
we pass to ExecuteProcessRequesthundreds-breakfast-49010
10/10/2019, 1:19 AMSnapshot
from that and printing the snapshothundreds-breakfast-49010
10/10/2019, 1:19 AMSNAP: Snapshot(directory_digest<Exactly(Digest)>=Digest(fingerprint=d8f1dacca264009f32c6fb5171e9c7f561dd2d2e6fde1c80593848a66872c9db, serialized_bytes_length=168), files<Exactly(tuple)>=('pex', 'source_files/3rdparty/python/requirements.txt', 'source_files/example/__init__.py', 'source_files/example/hello/__init__.py', 'source_files/example/hello/greet/__init__.py', 'source_files/example/hello/greet/greet.py', 'source_files/example/hello/main/__init__.py', 'source_files/example/hello/main/main.py'), dirs<Exactly(tuple)>=('source_files', 'source_files/3rdparty', 'source_files/3rdparty/python', 'source_files/example', 'source_files/example/hello', 'source_files/example/hello/greet', 'source_files/example/hello/main'))
hundreds-breakfast-49010
10/10/2019, 1:28 AMno-process-execution-cleanup-local-dirs
flag isn't doing anythinghundreds-breakfast-49010
10/10/2019, 1:28 AMaloof-angle-91616
10/10/2019, 5:56 AMaloof-angle-91616
10/10/2019, 5:56 AM/tmp
nowaloof-angle-91616
10/10/2019, 5:56 AM