2022-12-02 22:52:32,138 - DEBUG - __main__ - Starting... 2022-12-02 22:52:32,138 - DEBUG - prep - Setting up... 2022-12-02 22:52:36,610 - DEBUG - run - Starting analysis... 2022-12-02 22:52:36,647 - DEBUG - docker_api - Checking if image "ghcr.io/helm/chartmuseum:v0.13.1" is available on disk... 2022-12-02 22:52:36,659 - DEBUG - docker_api - Attempting to pull image "ghcr.io/helm/chartmuseum:v0.13.1" 2022-12-02 22:52:39,440 - DEBUG - docker_api - Image "ghcr.io/helm/chartmuseum:v0.13.1" downloaded 2022-12-02 22:52:40,940 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp.tar 2022-12-02 22:52:40,985 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp.tar -C /home/ubuntu/.tern/temp 2022-12-02 22:52:41,175 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp/b73bac2fe5a7b9d1abcbf0138798281e20b11e59b4605b104d38e914fa35b4d2/layer.tar 2022-12-02 22:52:41,217 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp/b73bac2fe5a7b9d1abcbf0138798281e20b11e59b4605b104d38e914fa35b4d2/layer.tar -C /home/ubuntu/.tern/temp/b73bac2fe5a7b9d1abcbf0138798281e20b11e59b4605b104d38e914fa35b4d2/contents 2022-12-02 22:52:41,289 - DEBUG - rootfs - Running command: sudo chmod +x /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh 2022-12-02 22:52:41,331 - DEBUG - rootfs - Running command: sudo /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh /home/ubuntu/.tern/temp/b73bac2fe5a7b9d1abcbf0138798281e20b11e59b4605b104d38e914fa35b4d2/contents 2022-12-02 22:52:41,668 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp/5a97bd93994a8c4adfc616a5520ecc5487eace26e9def287ada97ff8c6b8b9bf/layer.tar 2022-12-02 22:52:41,711 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp/5a97bd93994a8c4adfc616a5520ecc5487eace26e9def287ada97ff8c6b8b9bf/layer.tar -C /home/ubuntu/.tern/temp/5a97bd93994a8c4adfc616a5520ecc5487eace26e9def287ada97ff8c6b8b9bf/contents 2022-12-02 22:52:41,797 - DEBUG - rootfs - Running command: sudo chmod +x /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh 2022-12-02 22:52:41,847 - DEBUG - rootfs - Running command: sudo /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh /home/ubuntu/.tern/temp/5a97bd93994a8c4adfc616a5520ecc5487eace26e9def287ada97ff8c6b8b9bf/contents 2022-12-02 22:52:42,549 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp/3ca24056bca22aa591bf14e2cfb40eb8f41fe3bd302e6f291eb34ae079e1fae3/layer.tar 2022-12-02 22:52:42,584 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp/3ca24056bca22aa591bf14e2cfb40eb8f41fe3bd302e6f291eb34ae079e1fae3/layer.tar -C /home/ubuntu/.tern/temp/3ca24056bca22aa591bf14e2cfb40eb8f41fe3bd302e6f291eb34ae079e1fae3/contents 2022-12-02 22:52:42,732 - DEBUG - rootfs - Running command: sudo chmod +x /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh 2022-12-02 22:52:42,777 - DEBUG - rootfs - Running command: sudo /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh /home/ubuntu/.tern/temp/3ca24056bca22aa591bf14e2cfb40eb8f41fe3bd302e6f291eb34ae079e1fae3/contents 2022-12-02 22:52:43,199 - DEBUG - common - Reading files in filesystem... 2022-12-02 22:52:43,207 - DEBUG - rootfs - Running command: sudo mount -o bind /home/ubuntu/.tern/temp/b73bac2fe5a7b9d1abcbf0138798281e20b11e59b4605b104d38e914fa35b4d2/contents /home/ubuntu/.tern/temp/mergedir 2022-12-02 22:52:43,260 - DEBUG - rootfs - Running command: sudo mount -t proc /proc /home/ubuntu/.tern/temp/mergedir/proc 2022-12-02 22:52:43,301 - DEBUG - rootfs - Running command: sudo mount -o bind /sys /home/ubuntu/.tern/temp/mergedir/sys 2022-12-02 22:52:43,342 - DEBUG - rootfs - Running command: sudo mount -o bind /dev /home/ubuntu/.tern/temp/mergedir/dev 2022-12-02 22:52:43,384 - DEBUG - rootfs - Running command: sudo cp /etc/resolv.conf /home/ubuntu/.tern/temp/mergedir/etc/resolv.conf 2022-12-02 22:52:43,433 - DEBUG - core - Collecting metadata for image layer... 2022-12-02 22:52:43,433 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/ubuntu/.tern/temp/mergedir/proc chroot /home/ubuntu/.tern/temp/mergedir /bin/sh -c pkgs=`apk info 2>/dev/null` && for p in $pkgs; do apk -a info $p 2>/dev/null | tail -2 | head -1; done 2022-12-02 22:52:43,597 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/ubuntu/.tern/temp/mergedir/proc chroot /home/ubuntu/.tern/temp/mergedir /bin/sh -c pkgs=`apk info 2>/dev/null` && for p in $pkgs; do apk info $p 2>/dev/null | head -5 | tail -1; done 2022-12-02 22:52:43,750 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/ubuntu/.tern/temp/mergedir/proc chroot /home/ubuntu/.tern/temp/mergedir /bin/sh -c 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 2022-12-02 22:52:43,891 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/ubuntu/.tern/temp/mergedir/proc chroot /home/ubuntu/.tern/temp/mergedir /bin/sh -c 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 2022-12-02 22:52:44,051 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/ubuntu/.tern/temp/mergedir/proc chroot /home/ubuntu/.tern/temp/mergedir /bin/sh -c apk info 2>/dev/null 2022-12-02 22:52:44,096 - WARNING - core - Some metadata may be missing 2022-12-02 22:52:44,104 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/proc 2022-12-02 22:52:44,146 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/sys 2022-12-02 22:52:44,198 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/dev 2022-12-02 22:52:44,241 - DEBUG - rootfs - Running command: sudo umount -rl /home/ubuntu/.tern/temp/mergedir 2022-12-02 22:52:44,289 - DEBUG - common - Reading files in filesystem... 2022-12-02 22:52:44,307 - DEBUG - rootfs - Running command: sudo mount -t overlay overlay -o lowerdir=/home/ubuntu/.tern/temp/b73bac2fe5a7b9d1abcbf0138798281e20b11e59b4605b104d38e914fa35b4d2/contents,upperdir=/home/ubuntu/.tern/temp/5a97bd93994a8c4adfc616a5520ecc5487eace26e9def287ada97ff8c6b8b9bf/contents,workdir=/home/ubuntu/.tern/temp/workdir /home/ubuntu/.tern/temp/mergedir 2022-12-02 22:52:44,346 - DEBUG - rootfs - Running command: sudo mount -t proc /proc /home/ubuntu/.tern/temp/mergedir/proc 2022-12-02 22:52:44,382 - DEBUG - rootfs - Running command: sudo mount -o bind /sys /home/ubuntu/.tern/temp/mergedir/sys 2022-12-02 22:52:44,418 - DEBUG - rootfs - Running command: sudo mount -o bind /dev /home/ubuntu/.tern/temp/mergedir/dev 2022-12-02 22:52:44,461 - DEBUG - rootfs - Running command: sudo cp /etc/resolv.conf /home/ubuntu/.tern/temp/mergedir/etc/resolv.conf 2022-12-02 22:52:44,499 - WARNING - command_lib - No listing method for 'RUN'. Additional analysis may be required. 2022-12-02 22:52:44,500 - DEBUG - core - Collecting metadata for image layer... 2022-12-02 22:52:44,500 - 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 2022-12-02 22:52:44,798 - 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 2022-12-02 22:52:45,107 - 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 2022-12-02 22:52:45,418 - 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 2022-12-02 22:52:45,788 - 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 2022-12-02 22:52:45,832 - WARNING - core - Some metadata may be missing 2022-12-02 22:52:45,878 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/proc 2022-12-02 22:52:45,916 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/sys 2022-12-02 22:52:45,960 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/dev 2022-12-02 22:52:46,006 - DEBUG - rootfs - Running command: sudo umount -rl /home/ubuntu/.tern/temp/mergedir 2022-12-02 22:52:46,304 - DEBUG - common - Reading files in filesystem... 2022-12-02 22:52:46,305 - 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 2022-12-02 22:52:46,347 - DEBUG - rootfs - Running command: sudo mount -t proc /proc /home/ubuntu/.tern/temp/mergedir/proc 2022-12-02 22:52:46,399 - DEBUG - rootfs - Running command: sudo mount -o bind /sys /home/ubuntu/.tern/temp/mergedir/sys 2022-12-02 22:52:46,447 - DEBUG - rootfs - Running command: sudo mount -o bind /dev /home/ubuntu/.tern/temp/mergedir/dev 2022-12-02 22:52:46,491 - DEBUG - rootfs - Running command: sudo cp /etc/resolv.conf /home/ubuntu/.tern/temp/mergedir/etc/resolv.conf 2022-12-02 22:52:46,537 - DEBUG - core - Collecting metadata for image layer... 2022-12-02 22:52:46,538 - 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 2022-12-02 22:52:46,823 - 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 2022-12-02 22:52:47,104 - 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 2022-12-02 22:52:47,434 - 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 2022-12-02 22:52:47,821 - 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 2022-12-02 22:52:47,880 - WARNING - core - Some metadata may be missing 2022-12-02 22:52:47,901 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/proc 2022-12-02 22:52:47,949 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/sys 2022-12-02 22:52:47,995 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/dev 2022-12-02 22:52:48,049 - DEBUG - rootfs - Running command: sudo umount -rl /home/ubuntu/.tern/temp/mergedir 2022-12-02 22:52:48,390 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/mergedir 2022-12-02 22:52:48,445 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/workdir 2022-12-02 22:52:48,494 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/b73bac2fe5a7b9d1abcbf0138798281e20b11e59b4605b104d38e914fa35b4d2/contents 2022-12-02 22:52:48,561 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/5a97bd93994a8c4adfc616a5520ecc5487eace26e9def287ada97ff8c6b8b9bf/contents 2022-12-02 22:52:48,631 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/3ca24056bca22aa591bf14e2cfb40eb8f41fe3bd302e6f291eb34ae079e1fae3/contents 2022-12-02 22:52:48,683 - DEBUG - prep - Tearing down... 2022-12-02 22:52:59,292 - DEBUG - __main__ - Finished