bitter-ability-32190
10/27/2021, 4:22 PMrequirements.txt
for a large set of deps?
Currently seeing "Error storing Digest { hash: Fingerprint<012ed7213b69805f0e19542c9ec2fc98640d356b25739ec6c687bc20abcf9ab6>, size_bytes: 2392030244 }: Input/output error"
witty-crayon-22786
10/27/2021, 4:24 PM~/.cache/pants/lmdb_store
by default: is there anything interesting about how that’s mounted in this case?bitter-ability-32190
10/27/2021, 4:25 PMwitty-crayon-22786
10/27/2021, 4:25 PMbitter-ability-32190
10/27/2021, 4:25 PMbitter-ability-32190
10/27/2021, 4:26 PMwitty-crayon-22786
10/27/2021, 4:33 PMwitty-crayon-22786
10/27/2021, 4:33 PMdf -h
doesn’t show anything suspicious?witty-crayon-22786
10/27/2021, 4:40 PMwitty-crayon-22786
10/27/2021, 4:48 PMbitter-ability-32190
10/27/2021, 5:02 PMjoshuacannon@CEPHANDRIUS:~/work/PyWeekly$ df -h ~/
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p2 1.9T 231G 1.6T 13% /
bitter-ability-32190
10/27/2021, 5:05 PMjoshuacannon@CEPHANDRIUS:~/work/PyWeekly$ du -sh ~/.cache/pants
54G /home/joshuacannon/.cache/pants
bitter-ability-32190
10/27/2021, 5:07 PMResolving requirements.txt
witty-crayon-22786
10/27/2021, 5:08 PMbitter-ability-32190
10/27/2021, 5:08 PMpants_version = "2.7.0"
witty-crayon-22786
10/27/2021, 5:09 PM2.7.1rc1
? it moves to decomposed PEXesbitter-ability-32190
10/27/2021, 5:09 PMbitter-ability-32190
10/27/2021, 5:09 PMwitty-crayon-22786
10/27/2021, 5:10 PMbitter-ability-32190
10/27/2021, 5:10 PMwitty-crayon-22786
10/27/2021, 5:11 PMbitter-ability-32190
10/27/2021, 5:11 PMrequirements.txt
do I build a full PEX again. Sounds like no 💪bitter-ability-32190
10/27/2021, 5:12 PMwitty-crayon-22786
10/27/2021, 5:13 PMOH hell yeah. That answers a future question I had, if I changeyou will, but it’s mostly hardlinking things in and out of sandboxesdo I build a full PEX again. Sounds like no 💪requirements.txt
bitter-ability-32190
10/27/2021, 5:14 PMwitty-crayon-22786
10/27/2021, 5:15 PM~/.cache/pants/named_caches/pex_root
bitter-ability-32190
10/27/2021, 5:15 PMbitter-ability-32190
10/27/2021, 5:15 PMwitty-crayon-22786
10/27/2021, 5:16 PMwitty-crayon-22786
10/27/2021, 5:16 PMwitty-crayon-22786
10/27/2021, 5:16 PMbitter-ability-32190
10/27/2021, 7:53 PMbitter-ability-32190
10/28/2021, 3:46 PM2.7.1
and nuking the cache, I'm seeing this again
"Error storing Digest { hash: Fingerprint<52602e41f8f94597c200fc9178c711a9d2e735e4412508260b47ed28895d3c78>, size_bytes: 2389577269 }: Input/output error"
bitter-ability-32190
10/28/2021, 4:02 PMbitter-ability-32190
10/28/2021, 4:27 PMrequirement_constraints
witty-crayon-22786
10/28/2021, 4:45 PMwitty-crayon-22786
10/28/2021, 4:50 PMI’m seeing this againfor a different process though, presumably?
bitter-ability-32190
10/28/2021, 4:51 PMbitter-ability-32190
10/28/2021, 4:52 PMbitter-ability-32190
10/28/2021, 4:52 PMwitty-crayon-22786
10/28/2021, 4:55 PMResolving requirements.txt
in 2.7.1 should not be creating a monolithic file, so there would need to be a single installed wheel that was that large…?bitter-ability-32190
10/28/2021, 4:56 PMwitty-crayon-22786
10/28/2021, 4:56 PM--no-process-execution-local-cleanup
and inspect the sandbox for the failing process, would you be able to share ll -R
privately?bitter-ability-32190
10/28/2021, 5:01 PMve
with everything already installed, so this seems relevant:
(ve) joshuacannon@CEPHANDRIUS:~/work/techlabs$ du -sh -t 1G ve/lib/python3.8/site-packages/*
1.4G ve/lib/python3.8/site-packages/torch
bitter-ability-32190
10/28/2021, 5:01 PMbitter-ability-32190
10/28/2021, 5:02 PM1447.03s Building docker image tts_service_img:latest
I don't want to throw away my 1400seconds of workwitty-crayon-22786
10/28/2021, 5:32 PMwitty-crayon-22786
10/28/2021, 5:33 PMpackage
maybe?bitter-ability-32190
10/28/2021, 5:33 PMlint
was involvedwitty-crayon-22786
10/28/2021, 5:35 PMlint
should be using this layout: if it isn’t, it’s a bug… let’s check that out later.bitter-ability-32190
10/28/2021, 5:36 PMpackage
, so it would've been some command previouslywitty-crayon-22786
10/28/2021, 5:37 PMpex_binary
targets use the packed layout, and/or dive deeper on the i/o error. let me check both of those options out.witty-crayon-22786
10/28/2021, 5:54 PMwitty-crayon-22786
10/28/2021, 5:55 PMbitter-ability-32190
10/28/2021, 5:59 PMwitty-crayon-22786
10/28/2021, 5:59 PMwitty-crayon-22786
10/28/2021, 6:00 PMbitter-ability-32190
10/28/2021, 6:00 PMlint
, and then package
, would it know to use the existing packed
layout for requirements.pex
bitter-ability-32190
10/28/2021, 6:10 PM13:09:27.14 [INFO] Completed: Resolving constraints.txt
bitter-ability-32190
10/28/2021, 6:11 PMlint
succeeds. Now to go back to my package
witty-crayon-22786
10/28/2021, 6:12 PMIf I was to issuein general, it would: yes. but that’s why https://github.com/pantsbuild/pants/issues/13398 is problematic: those two codepaths are requesting different repository.pex layouts. so they can’t share., and thenlint
, would it know to use the existingpackage
layout forpacked
requirements.pex
bitter-ability-32190
10/28/2021, 6:12 PMwitty-crayon-22786
10/28/2021, 6:13 PM~/.cache/pants/lmdb_store
directory, but you can change https://www.pantsbuild.org/docs/reference-global#section-local-store-shard-count to affect file size limitsbitter-ability-32190
10/28/2021, 6:14 PMbitter-ability-32190
10/28/2021, 7:22 PMlocal_store_shard_count
?witty-crayon-22786
10/28/2021, 7:23 PMwitty-crayon-22786
10/28/2021, 7:23 PM.cache/pants/lmdb_store
when you do.witty-crayon-22786
10/28/2021, 7:24 PMbitter-ability-32190
10/28/2021, 7:46 PM"Error storing Digest { hash: Fingerprint<ec87219a0b5013caf483fb1192fa6ba5e3ca8dd4c491031ec9c7d992adc808c9>, size_bytes: 2389577271 }: Input/output error"
bitter-ability-32190
10/28/2021, 7:46 PMlocal_store_shard_count = 4
in [GLOBAL]
witty-crayon-22786
10/28/2021, 7:57 PMbitter-ability-32190
10/28/2021, 8:04 PMbitter-ability-32190
10/28/2021, 8:04 PMbitter-ability-32190
10/28/2021, 8:11 PMwitty-crayon-22786
10/28/2021, 8:26 PMwitty-crayon-22786
10/28/2021, 10:54 PM2.7.2rc0
: https://github.com/pantsbuild/pants/commits/2.7.x … i’m getting on a plane, so someone else will be doing the release.witty-crayon-22786
10/28/2021, 10:54 PMbitter-ability-32190
10/29/2021, 1:08 PMsudo apt install -y jackd2
still prompts for input 🙄bitter-ability-32190
10/29/2021, 1:09 PMENV DEBIAN_FRONTEND noninteractive
in the Dockerfile worked. Annoying UX, but not y'all's faultwitty-crayon-22786
11/01/2021, 4:54 PM