Merge namecoin/ncdns-repro#168: Log output cache contents

2f57c4a857 Log size of output cache contents (Jeremy Rand)
d599577692 Log output cache contents (Jeremy Rand)

Pull request description:

  Makes it easier to debug cache preservation bugs and cache splitting.

Top commit has no ACKs.
pull/172/head
Jeremy Rand 2 years ago
commit 1608b1e649
No known key found for this signature in database
GPG Key ID: EB03139A459DD06E

@ -50,6 +50,9 @@ cp -a ./out_cache1/* ./out/ || true
cp -a ./out_cache2/* ./out/ || true
cp -a ./out_cache3/* ./out/ || true
echo "Initial output cache contents:"
find ./out/ -printf "%p %k KiB\n"
echo "Unpacking interrupted cache..."
./tools/cirrus_unpack_interrupted.sh || true
@ -116,6 +119,9 @@ fi
echo "Cleaning containers..."
rm -rfv out/container-image
echo "Final output cache contents:"
find ./out/ -printf "%p %k KiB\n"
echo "Splitting caches..."
rsync -avu --delete ./out/encaya ./out/gocrosssign ./out/gosafetlsa ./out/q ./out_cache1/ || true
rsync -avu --delete ./out/macosx-toolchain ./out_cache2/ || true

Loading…
Cancel
Save