2021-04-20 17:21:49,023 - DEBUG - __main__ - Starting... 2021-04-20 17:21:49,024 - DEBUG - prep - Setting up... 2021-04-20 17:21:49,024 - DEBUG - run - Starting analysis... 2021-04-20 17:21:49,060 - DEBUG - docker_api - Checking if image "dibi/envsubst:1" is available on disk... 2021-04-20 17:21:49,066 - DEBUG - docker_api - Attempting to pull image "dibi/envsubst:1" 2021-04-20 17:21:55,368 - DEBUG - docker_api - Image "dibi/envsubst:1" downloaded 2021-04-20 17:21:56,448 - DEBUG - rootfs - Running command: tar -tf /home/debian/.tern/temp.tar 2021-04-20 17:21:56,469 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/debian/.tern/temp.tar -C /home/debian/.tern/temp 2021-04-20 17:21:56,501 - DEBUG - rootfs - Running command: tar -tf /home/debian/.tern/temp/498654318d0999ce36c7b90901ed8bd8cb63d86837cb101ea1ec9bb092f44e59/layer.tar 2021-04-20 17:21:56,508 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/debian/.tern/temp/498654318d0999ce36c7b90901ed8bd8cb63d86837cb101ea1ec9bb092f44e59/layer.tar -C /home/debian/.tern/temp/498654318d0999ce36c7b90901ed8bd8cb63d86837cb101ea1ec9bb092f44e59/contents 2021-04-20 17:21:56,532 - DEBUG - rootfs - Running command: sudo chmod +x /home/debian/ternenv/lib/python3.7/site-packages/tern/tools/fs_hash.sh 2021-04-20 17:21:56,945 - DEBUG - rootfs - Running command: sudo /home/debian/ternenv/lib/python3.7/site-packages/tern/tools/fs_hash.sh /home/debian/.tern/temp/498654318d0999ce36c7b90901ed8bd8cb63d86837cb101ea1ec9bb092f44e59/contents 2021-04-20 17:21:57,190 - DEBUG - rootfs - Running command: tar -tf /home/debian/.tern/temp/52fea96a4b24c461d8fc212548e0991f9c8e76f1e7ad59bf0b6583d46a7e9d4b/layer.tar 2021-04-20 17:21:57,206 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/debian/.tern/temp/52fea96a4b24c461d8fc212548e0991f9c8e76f1e7ad59bf0b6583d46a7e9d4b/layer.tar -C /home/debian/.tern/temp/52fea96a4b24c461d8fc212548e0991f9c8e76f1e7ad59bf0b6583d46a7e9d4b/contents 2021-04-20 17:21:57,284 - DEBUG - rootfs - Running command: sudo chmod +x /home/debian/ternenv/lib/python3.7/site-packages/tern/tools/fs_hash.sh 2021-04-20 17:21:57,295 - DEBUG - rootfs - Running command: sudo /home/debian/ternenv/lib/python3.7/site-packages/tern/tools/fs_hash.sh /home/debian/.tern/temp/52fea96a4b24c461d8fc212548e0991f9c8e76f1e7ad59bf0b6583d46a7e9d4b/contents 2021-04-20 17:22:05,162 - DEBUG - rootfs - Running command: tar -tf /home/debian/.tern/temp/4f8f81ae3d2f7260485bcaa397ac4fa962c3bd7c0456283dac68f1a4580dee57/layer.tar 2021-04-20 17:22:05,167 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/debian/.tern/temp/4f8f81ae3d2f7260485bcaa397ac4fa962c3bd7c0456283dac68f1a4580dee57/layer.tar -C /home/debian/.tern/temp/4f8f81ae3d2f7260485bcaa397ac4fa962c3bd7c0456283dac68f1a4580dee57/contents 2021-04-20 17:22:05,171 - DEBUG - rootfs - Running command: sudo chmod +x /home/debian/ternenv/lib/python3.7/site-packages/tern/tools/fs_hash.sh 2021-04-20 17:22:05,183 - DEBUG - rootfs - Running command: sudo /home/debian/ternenv/lib/python3.7/site-packages/tern/tools/fs_hash.sh /home/debian/.tern/temp/4f8f81ae3d2f7260485bcaa397ac4fa962c3bd7c0456283dac68f1a4580dee57/contents 2021-04-20 17:22:05,198 - DEBUG - rootfs - Running command: tar -tf /home/debian/.tern/temp/fa0e4129dd87f240c333fbf3b50b961fdaa1016729a59bf2f4a0e035f3f44b3e/layer.tar 2021-04-20 17:22:05,202 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/debian/.tern/temp/fa0e4129dd87f240c333fbf3b50b961fdaa1016729a59bf2f4a0e035f3f44b3e/layer.tar -C /home/debian/.tern/temp/fa0e4129dd87f240c333fbf3b50b961fdaa1016729a59bf2f4a0e035f3f44b3e/contents 2021-04-20 17:22:05,205 - DEBUG - rootfs - Running command: sudo chmod +x /home/debian/ternenv/lib/python3.7/site-packages/tern/tools/fs_hash.sh 2021-04-20 17:22:05,222 - DEBUG - rootfs - Running command: sudo /home/debian/ternenv/lib/python3.7/site-packages/tern/tools/fs_hash.sh /home/debian/.tern/temp/fa0e4129dd87f240c333fbf3b50b961fdaa1016729a59bf2f4a0e035f3f44b3e/contents 2021-04-20 17:22:05,238 - DEBUG - common - Reading files in filesystem... 2021-04-20 17:22:05,242 - DEBUG - rootfs - Running command: sudo mount -o bind /home/debian/.tern/temp/498654318d0999ce36c7b90901ed8bd8cb63d86837cb101ea1ec9bb092f44e59/contents /home/debian/.tern/temp/mergedir 2021-04-20 17:22:05,271 - DEBUG - rootfs - Running command: sudo mount -t proc /proc /home/debian/.tern/temp/mergedir/proc 2021-04-20 17:22:05,294 - DEBUG - rootfs - Running command: sudo mount -o bind /sys /home/debian/.tern/temp/mergedir/sys 2021-04-20 17:22:05,309 - DEBUG - rootfs - Running command: sudo mount -o bind /dev /home/debian/.tern/temp/mergedir/dev 2021-04-20 17:22:05,320 - DEBUG - rootfs - Running command: sudo cp /etc/resolv.conf /home/debian/.tern/temp/mergedir/etc/resolv.conf 2021-04-20 17:22:05,341 - DEBUG - core - Collecting metadata for image layer... 2021-04-20 17:22:05,342 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/debian/.tern/temp/mergedir/proc chroot /home/debian/.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 2021-04-20 17:22:05,487 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/debian/.tern/temp/mergedir/proc chroot /home/debian/.tern/temp/mergedir /bin/sh -c apk info 2>/dev/null 2021-04-20 17:22:05,539 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/debian/.tern/temp/mergedir/proc chroot /home/debian/.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 2021-04-20 17:22:05,635 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/debian/.tern/temp/mergedir/proc chroot /home/debian/.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 2021-04-20 17:22:05,727 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/debian/.tern/temp/mergedir/proc chroot /home/debian/.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 2021-04-20 17:22:05,822 - WARNING - core - Some metadata may be missing 2021-04-20 17:22:05,843 - DEBUG - rootfs - Running command: sudo umount /home/debian/.tern/temp/mergedir/proc 2021-04-20 17:22:05,887 - DEBUG - rootfs - Running command: sudo umount /home/debian/.tern/temp/mergedir/sys 2021-04-20 17:22:05,932 - DEBUG - rootfs - Running command: sudo umount /home/debian/.tern/temp/mergedir/dev 2021-04-20 17:22:05,964 - DEBUG - rootfs - Running command: sudo umount -rl /home/debian/.tern/temp/mergedir 2021-04-20 17:22:05,996 - DEBUG - common - Reading files in filesystem... 2021-04-20 17:22:06,893 - DEBUG - rootfs - Running command: sudo mount -t overlay overlay -o lowerdir=/home/debian/.tern/temp/498654318d0999ce36c7b90901ed8bd8cb63d86837cb101ea1ec9bb092f44e59/contents,upperdir=/home/debian/.tern/temp/52fea96a4b24c461d8fc212548e0991f9c8e76f1e7ad59bf0b6583d46a7e9d4b/contents,workdir=/home/debian/.tern/temp/workdir /home/debian/.tern/temp/mergedir 2021-04-20 17:22:06,904 - DEBUG - rootfs - Running command: sudo mount -t proc /proc /home/debian/.tern/temp/mergedir/proc 2021-04-20 17:22:06,938 - DEBUG - rootfs - Running command: sudo mount -o bind /sys /home/debian/.tern/temp/mergedir/sys 2021-04-20 17:22:06,955 - DEBUG - rootfs - Running command: sudo mount -o bind /dev /home/debian/.tern/temp/mergedir/dev 2021-04-20 17:22:06,971 - DEBUG - rootfs - Running command: sudo cp /etc/resolv.conf /home/debian/.tern/temp/mergedir/etc/resolv.conf 2021-04-20 17:22:06,986 - DEBUG - core - Collecting metadata for image layer... 2021-04-20 17:22:06,987 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/debian/.tern/temp/mergedir/proc chroot /home/debian/.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 2021-04-20 17:22:09,752 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/debian/.tern/temp/mergedir/proc chroot /home/debian/.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 2021-04-20 17:22:09,940 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/debian/.tern/temp/mergedir/proc chroot /home/debian/.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 2021-04-20 17:22:12,784 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/debian/.tern/temp/mergedir/proc chroot /home/debian/.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 2021-04-20 17:22:15,488 - DEBUG - rootfs - Running command: sudo unshare -pf --mount-proc=/home/debian/.tern/temp/mergedir/proc chroot /home/debian/.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 2021-04-20 17:22:18,249 - WARNING - core - Some metadata may be missing 2021-04-20 17:22:22,011 - DEBUG - rootfs - Running command: sudo umount /home/debian/.tern/temp/mergedir/proc 2021-04-20 17:22:22,044 - DEBUG - rootfs - Running command: sudo umount /home/debian/.tern/temp/mergedir/sys 2021-04-20 17:22:22,084 - DEBUG - rootfs - Running command: sudo umount /home/debian/.tern/temp/mergedir/dev 2021-04-20 17:22:22,133 - DEBUG - rootfs - Running command: sudo umount -rl /home/debian/.tern/temp/mergedir 2021-04-20 17:22:24,427 - DEBUG - common - Reading files in filesystem... 2021-04-20 17:22:24,428 - WARNING - command_lib - No listing method for '#(nop)'. Additional analysis may be required. 2021-04-20 17:22:24,428 - DEBUG - common - Reading files in filesystem... 2021-04-20 17:22:24,429 - WARNING - command_lib - No listing method for '#(nop)'. Additional analysis may be required. 2021-04-20 17:22:25,035 - DEBUG - rootfs - Running command: sudo rm -rf /home/debian/.tern/temp/mergedir 2021-04-20 17:22:25,053 - DEBUG - rootfs - Running command: sudo rm -rf /home/debian/.tern/temp/workdir 2021-04-20 17:22:25,063 - DEBUG - rootfs - Running command: sudo rm -rf /home/debian/.tern/temp/498654318d0999ce36c7b90901ed8bd8cb63d86837cb101ea1ec9bb092f44e59/contents 2021-04-20 17:22:25,081 - DEBUG - rootfs - Running command: sudo rm -rf /home/debian/.tern/temp/52fea96a4b24c461d8fc212548e0991f9c8e76f1e7ad59bf0b6583d46a7e9d4b/contents 2021-04-20 17:22:25,133 - DEBUG - rootfs - Running command: sudo rm -rf /home/debian/.tern/temp/4f8f81ae3d2f7260485bcaa397ac4fa962c3bd7c0456283dac68f1a4580dee57/contents 2021-04-20 17:22:25,145 - DEBUG - rootfs - Running command: sudo rm -rf /home/debian/.tern/temp/fa0e4129dd87f240c333fbf3b50b961fdaa1016729a59bf2f4a0e035f3f44b3e/contents 2021-04-20 17:22:25,167 - DEBUG - prep - Tearing down... 2021-04-20 17:22:25,388 - DEBUG - __main__ - Finished