2023-01-07 17:12:03,956 - DEBUG - __main__ - Starting... 2023-01-07 17:12:03,956 - DEBUG - prep - Setting up... 2023-01-07 17:12:13,967 - DEBUG - run - Starting analysis... 2023-01-07 17:12:13,994 - DEBUG - docker_api - Checking if image "nexus3.onap.org:10001/onap/oom/kube2msb:1.2.6" is available on disk... 2023-01-07 17:12:13,999 - DEBUG - docker_api - Attempting to pull image "nexus3.onap.org:10001/onap/oom/kube2msb:1.2.6" 2023-01-07 17:12:18,398 - DEBUG - docker_api - Image "nexus3.onap.org:10001/onap/oom/kube2msb:1.2.6" downloaded 2023-01-07 17:12:20,019 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp.tar 2023-01-07 17:12:20,086 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp.tar -C /home/ubuntu/.tern/temp 2023-01-07 17:12:20,325 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp/a9cc4ace48cd792ef888ade20810f82f6c24aaf2436f30337a2a712cd054dc97/layer.tar 2023-01-07 17:12:20,400 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp/a9cc4ace48cd792ef888ade20810f82f6c24aaf2436f30337a2a712cd054dc97/layer.tar -C /home/ubuntu/.tern/temp/a9cc4ace48cd792ef888ade20810f82f6c24aaf2436f30337a2a712cd054dc97/contents 2023-01-07 17:12:20,525 - DEBUG - rootfs - Running command: sudo chmod +x /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh 2023-01-07 17:12:20,606 - DEBUG - rootfs - Running command: sudo /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh /home/ubuntu/.tern/temp/a9cc4ace48cd792ef888ade20810f82f6c24aaf2436f30337a2a712cd054dc97/contents 2023-01-07 17:12:21,014 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp/7f9c2616c7f8c9e3bd0debfff54bc9a27ff0ebc80432a9456fb29e5665957088/layer.tar 2023-01-07 17:12:21,068 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp/7f9c2616c7f8c9e3bd0debfff54bc9a27ff0ebc80432a9456fb29e5665957088/layer.tar -C /home/ubuntu/.tern/temp/7f9c2616c7f8c9e3bd0debfff54bc9a27ff0ebc80432a9456fb29e5665957088/contents 2023-01-07 17:12:21,222 - DEBUG - rootfs - Running command: sudo chmod +x /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh 2023-01-07 17:12:21,299 - DEBUG - rootfs - Running command: sudo /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh /home/ubuntu/.tern/temp/7f9c2616c7f8c9e3bd0debfff54bc9a27ff0ebc80432a9456fb29e5665957088/contents 2023-01-07 17:12:21,637 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp/e901b0bf78cdd2941a9a47421690cd5113c0d4df52d83e1b0a88ed74a5310261/layer.tar 2023-01-07 17:12:21,709 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp/e901b0bf78cdd2941a9a47421690cd5113c0d4df52d83e1b0a88ed74a5310261/layer.tar -C /home/ubuntu/.tern/temp/e901b0bf78cdd2941a9a47421690cd5113c0d4df52d83e1b0a88ed74a5310261/contents 2023-01-07 17:12:21,934 - DEBUG - rootfs - Running command: sudo chmod +x /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh 2023-01-07 17:12:22,025 - DEBUG - rootfs - Running command: sudo /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh /home/ubuntu/.tern/temp/e901b0bf78cdd2941a9a47421690cd5113c0d4df52d83e1b0a88ed74a5310261/contents 2023-01-07 17:12:22,407 - DEBUG - common - Reading files in filesystem... 2023-01-07 17:12:22,414 - DEBUG - rootfs - Running command: sudo mount -o bind /home/ubuntu/.tern/temp/a9cc4ace48cd792ef888ade20810f82f6c24aaf2436f30337a2a712cd054dc97/contents /home/ubuntu/.tern/temp/mergedir 2023-01-07 17:12:22,482 - DEBUG - rootfs - Running command: sudo mount -t proc /proc /home/ubuntu/.tern/temp/mergedir/proc 2023-01-07 17:12:22,554 - DEBUG - rootfs - Running command: sudo mount -o bind /sys /home/ubuntu/.tern/temp/mergedir/sys 2023-01-07 17:12:22,623 - DEBUG - rootfs - Running command: sudo mount -o bind /dev /home/ubuntu/.tern/temp/mergedir/dev 2023-01-07 17:12:22,698 - DEBUG - rootfs - Running command: sudo cp /etc/resolv.conf /home/ubuntu/.tern/temp/mergedir/etc/resolv.conf 2023-01-07 17:12:22,770 - DEBUG - core - Collecting metadata for image layer... 2023-01-07 17:12:22,770 - 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 2023-01-07 17:12:22,968 - 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 2023-01-07 17:12:23,165 - 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 2023-01-07 17:12:23,410 - 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 2023-01-07 17:12:23,496 - 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 2023-01-07 17:12:23,708 - WARNING - core - Some metadata may be missing 2023-01-07 17:12:23,725 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/proc 2023-01-07 17:12:23,796 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/sys 2023-01-07 17:12:23,873 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/dev 2023-01-07 17:12:23,942 - DEBUG - rootfs - Running command: sudo umount -rl /home/ubuntu/.tern/temp/mergedir 2023-01-07 17:12:24,016 - DEBUG - common - Reading files in filesystem... 2023-01-07 17:12:24,018 - DEBUG - rootfs - Running command: sudo mount -t overlay overlay -o lowerdir=/home/ubuntu/.tern/temp/a9cc4ace48cd792ef888ade20810f82f6c24aaf2436f30337a2a712cd054dc97/contents,upperdir=/home/ubuntu/.tern/temp/7f9c2616c7f8c9e3bd0debfff54bc9a27ff0ebc80432a9456fb29e5665957088/contents,workdir=/home/ubuntu/.tern/temp/workdir /home/ubuntu/.tern/temp/mergedir 2023-01-07 17:12:24,092 - DEBUG - rootfs - Running command: sudo mount -t proc /proc /home/ubuntu/.tern/temp/mergedir/proc 2023-01-07 17:12:24,156 - DEBUG - rootfs - Running command: sudo mount -o bind /sys /home/ubuntu/.tern/temp/mergedir/sys 2023-01-07 17:12:24,251 - DEBUG - rootfs - Running command: sudo mount -o bind /dev /home/ubuntu/.tern/temp/mergedir/dev 2023-01-07 17:12:24,329 - DEBUG - rootfs - Running command: sudo cp /etc/resolv.conf /home/ubuntu/.tern/temp/mergedir/etc/resolv.conf 2023-01-07 17:12:24,416 - WARNING - command_lib - No listing method for '#(nop)'. Additional analysis may be required. 2023-01-07 17:12:24,417 - DEBUG - core - Collecting metadata for image layer... 2023-01-07 17:12:24,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 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-01-07 17:12:24,630 - 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-01-07 17:12:24,832 - 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-01-07 17:12:25,063 - 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-01-07 17:12:25,145 - 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-01-07 17:12:25,360 - WARNING - core - Some metadata may be missing 2023-01-07 17:12:25,368 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/proc 2023-01-07 17:12:25,461 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/sys 2023-01-07 17:12:25,541 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/dev 2023-01-07 17:12:25,606 - DEBUG - rootfs - Running command: sudo umount -rl /home/ubuntu/.tern/temp/mergedir 2023-01-07 17:12:25,771 - DEBUG - common - Reading files in filesystem... 2023-01-07 17:12:25,772 - DEBUG - rootfs - Running command: sudo mount -t overlay overlay -o lowerdir=/home/ubuntu/.tern/temp/7f9c2616c7f8c9e3bd0debfff54bc9a27ff0ebc80432a9456fb29e5665957088/contents:/home/ubuntu/.tern/temp/a9cc4ace48cd792ef888ade20810f82f6c24aaf2436f30337a2a712cd054dc97/contents,upperdir=/home/ubuntu/.tern/temp/e901b0bf78cdd2941a9a47421690cd5113c0d4df52d83e1b0a88ed74a5310261/contents,workdir=/home/ubuntu/.tern/temp/workdir /home/ubuntu/.tern/temp/mergedir 2023-01-07 17:12:25,837 - DEBUG - rootfs - Running command: sudo mount -t proc /proc /home/ubuntu/.tern/temp/mergedir/proc 2023-01-07 17:12:25,910 - DEBUG - rootfs - Running command: sudo mount -o bind /sys /home/ubuntu/.tern/temp/mergedir/sys 2023-01-07 17:12:25,978 - DEBUG - rootfs - Running command: sudo mount -o bind /dev /home/ubuntu/.tern/temp/mergedir/dev 2023-01-07 17:12:26,041 - DEBUG - rootfs - Running command: sudo cp /etc/resolv.conf /home/ubuntu/.tern/temp/mergedir/etc/resolv.conf 2023-01-07 17:12:26,102 - WARNING - command_lib - No listing method for 'addgroup'. Additional analysis may be required. 2023-01-07 17:12:26,103 - WARNING - command_lib - No listing method for 'adduser'. Additional analysis may be required. 2023-01-07 17:12:26,103 - WARNING - command_lib - No listing method for 'chown'. Additional analysis may be required. 2023-01-07 17:12:26,104 - DEBUG - core - Collecting metadata for image layer... 2023-01-07 17:12:26,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 2023-01-07 17:12:26,309 - 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-01-07 17:12:26,516 - 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-01-07 17:12:26,743 - 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-01-07 17:12:26,816 - 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-01-07 17:12:27,005 - WARNING - core - Some metadata may be missing 2023-01-07 17:12:27,012 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/proc 2023-01-07 17:12:27,072 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/sys 2023-01-07 17:12:27,144 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/dev 2023-01-07 17:12:27,223 - DEBUG - rootfs - Running command: sudo umount -rl /home/ubuntu/.tern/temp/mergedir 2023-01-07 17:12:27,405 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/mergedir 2023-01-07 17:12:27,491 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/workdir 2023-01-07 17:12:27,574 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/a9cc4ace48cd792ef888ade20810f82f6c24aaf2436f30337a2a712cd054dc97/contents 2023-01-07 17:12:27,659 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/7f9c2616c7f8c9e3bd0debfff54bc9a27ff0ebc80432a9456fb29e5665957088/contents 2023-01-07 17:12:27,737 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/e901b0bf78cdd2941a9a47421690cd5113c0d4df52d83e1b0a88ed74a5310261/contents 2023-01-07 17:12:27,817 - DEBUG - prep - Tearing down... 2023-01-07 17:12:52,440 - DEBUG - __main__ - Finished