2023-03-23 15:29:15,997 - DEBUG - __main__ - Starting... 2023-03-23 15:29:15,997 - DEBUG - prep - Setting up... 2023-03-23 15:29:31,939 - DEBUG - run - Starting analysis... 2023-03-23 15:29:31,960 - DEBUG - docker_api - Checking if image "ghcr.io/helm/chartmuseum:v0.13.1" is available on disk... 2023-03-23 15:29:31,965 - DEBUG - docker_api - Image "ghcr.io/helm/chartmuseum:v0.13.1" found 2023-03-23 15:29:34,142 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp.tar 2023-03-23 15:29:34,252 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp.tar -C /home/ubuntu/.tern/temp 2023-03-23 15:29:34,469 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp/b73bac2fe5a7b9d1abcbf0138798281e20b11e59b4605b104d38e914fa35b4d2/layer.tar 2023-03-23 15:29:34,572 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp/b73bac2fe5a7b9d1abcbf0138798281e20b11e59b4605b104d38e914fa35b4d2/layer.tar -C /home/ubuntu/.tern/temp/b73bac2fe5a7b9d1abcbf0138798281e20b11e59b4605b104d38e914fa35b4d2/contents 2023-03-23 15:29:34,699 - DEBUG - rootfs - Running command: sudo chmod +x /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh 2023-03-23 15:29:34,822 - DEBUG - rootfs - Running command: sudo /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh /home/ubuntu/.tern/temp/b73bac2fe5a7b9d1abcbf0138798281e20b11e59b4605b104d38e914fa35b4d2/contents 2023-03-23 15:29:35,295 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp/5a97bd93994a8c4adfc616a5520ecc5487eace26e9def287ada97ff8c6b8b9bf/layer.tar 2023-03-23 15:29:35,395 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp/5a97bd93994a8c4adfc616a5520ecc5487eace26e9def287ada97ff8c6b8b9bf/layer.tar -C /home/ubuntu/.tern/temp/5a97bd93994a8c4adfc616a5520ecc5487eace26e9def287ada97ff8c6b8b9bf/contents 2023-03-23 15:29:35,499 - DEBUG - rootfs - Running command: sudo chmod +x /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh 2023-03-23 15:29:35,586 - DEBUG - rootfs - Running command: sudo /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh /home/ubuntu/.tern/temp/5a97bd93994a8c4adfc616a5520ecc5487eace26e9def287ada97ff8c6b8b9bf/contents 2023-03-23 15:29:36,651 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp/3ca24056bca22aa591bf14e2cfb40eb8f41fe3bd302e6f291eb34ae079e1fae3/layer.tar 2023-03-23 15:29:36,742 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp/3ca24056bca22aa591bf14e2cfb40eb8f41fe3bd302e6f291eb34ae079e1fae3/layer.tar -C /home/ubuntu/.tern/temp/3ca24056bca22aa591bf14e2cfb40eb8f41fe3bd302e6f291eb34ae079e1fae3/contents 2023-03-23 15:29:36,894 - DEBUG - rootfs - Running command: sudo chmod +x /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh 2023-03-23 15:29:36,990 - DEBUG - rootfs - Running command: sudo /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh /home/ubuntu/.tern/temp/3ca24056bca22aa591bf14e2cfb40eb8f41fe3bd302e6f291eb34ae079e1fae3/contents 2023-03-23 15:29:37,493 - DEBUG - common - Loading packages from cache: layer "8f1f54a7ac" 2023-03-23 15:29:37,495 - DEBUG - common - Loading files from cache: layer "8f1f54a7ac" 2023-03-23 15:29:37,497 - DEBUG - common - Loading packages from cache: layer "91e83b826d" 2023-03-23 15:29:37,502 - DEBUG - common - Loading files from cache: layer "91e83b826d" 2023-03-23 15:29:37,578 - DEBUG - common - Reading files in filesystem... 2023-03-23 15:29:37,578 - DEBUG - rootfs - Running command: sudo mount -t overlay overlay -o lowerdir=/home/ubuntu/.tern/temp/5a97bd93994a8c4adfc616a5520ecc5487eace26e9def287ada97ff8c6b8b9bf/contents:/home/ubuntu/.tern/temp/b73bac2fe5a7b9d1abcbf0138798281e20b11e59b4605b104d38e914fa35b4d2/contents,upperdir=/home/ubuntu/.tern/temp/3ca24056bca22aa591bf14e2cfb40eb8f41fe3bd302e6f291eb34ae079e1fae3/contents,workdir=/home/ubuntu/.tern/temp/workdir /home/ubuntu/.tern/temp/mergedir 2023-03-23 15:29:37,679 - DEBUG - rootfs - Running command: sudo mount -t proc /proc /home/ubuntu/.tern/temp/mergedir/proc 2023-03-23 15:29:37,807 - DEBUG - rootfs - Running command: sudo mount -o bind /sys /home/ubuntu/.tern/temp/mergedir/sys 2023-03-23 15:29:37,907 - DEBUG - rootfs - Running command: sudo mount -o bind /dev /home/ubuntu/.tern/temp/mergedir/dev 2023-03-23 15:29:38,004 - DEBUG - rootfs - Running command: sudo cp /etc/resolv.conf /home/ubuntu/.tern/temp/mergedir/etc/resolv.conf 2023-03-23 15:29:38,093 - DEBUG - core - Collecting metadata for image layer... 2023-03-23 15:29:38,093 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/ubuntu/.tern/temp/mergedir/proc chroot /home/ubuntu/.tern/temp/mergedir /bin/sh -c export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" && pkgs=`apk info 2>/dev/null` && for p in $pkgs; do apk -a info $p 2>/dev/null | tail -2 | head -1; done 2023-03-23 15:29:38,481 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/ubuntu/.tern/temp/mergedir/proc chroot /home/ubuntu/.tern/temp/mergedir /bin/sh -c export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" && pkgs=`apk info 2>/dev/null` && for p in $pkgs; do apk info $p 2>/dev/null | head -5 | tail -1; done 2023-03-23 15:29:38,862 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/ubuntu/.tern/temp/mergedir/proc chroot /home/ubuntu/.tern/temp/mergedir /bin/sh -c export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" && pkgs=`apk info 2>/dev/null` && for p in $pkgs; do files=`apk -L info $p 2>/dev/null`; for file in $files; do if [ -f $file ]; then echo $file; fi; done; echo LICF; done 2023-03-23 15:29:39,234 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/ubuntu/.tern/temp/mergedir/proc chroot /home/ubuntu/.tern/temp/mergedir /bin/sh -c export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" && pkgs=`apk info 2>/dev/null` && for p in $pkgs; do lic=`apk info $p 2>/dev/null | head -1 | awk '{print $1}'`; echo $lic | sed -e "s/^$p-//"; done 2023-03-23 15:29:39,610 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/ubuntu/.tern/temp/mergedir/proc chroot /home/ubuntu/.tern/temp/mergedir /bin/sh -c export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" && apk info 2>/dev/null 2023-03-23 15:29:39,721 - WARNING - core - Some metadata may be missing 2023-03-23 15:29:39,733 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/proc 2023-03-23 15:29:39,837 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/sys 2023-03-23 15:29:39,935 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/dev 2023-03-23 15:29:40,042 - DEBUG - rootfs - Running command: sudo umount -rl /home/ubuntu/.tern/temp/mergedir 2023-03-23 15:29:40,554 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/mergedir 2023-03-23 15:29:40,651 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/workdir 2023-03-23 15:29:40,765 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/b73bac2fe5a7b9d1abcbf0138798281e20b11e59b4605b104d38e914fa35b4d2/contents 2023-03-23 15:29:40,875 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/5a97bd93994a8c4adfc616a5520ecc5487eace26e9def287ada97ff8c6b8b9bf/contents 2023-03-23 15:29:41,007 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/3ca24056bca22aa591bf14e2cfb40eb8f41fe3bd302e6f291eb34ae079e1fae3/contents 2023-03-23 15:29:41,138 - DEBUG - prep - Tearing down... 2023-03-23 15:30:11,707 - DEBUG - __main__ - Finished