2022-12-03 01:16:00,293 - DEBUG - __main__ - Starting... 2022-12-03 01:16:00,293 - DEBUG - prep - Setting up... 2022-12-03 01:16:09,443 - DEBUG - run - Starting analysis... 2022-12-03 01:16:09,462 - DEBUG - docker_api - Checking if image "nexus3.onap.org:10001/onap/oom/kube2msb:1.2.6" is available on disk... 2022-12-03 01:16:09,467 - DEBUG - docker_api - Attempting to pull image "nexus3.onap.org:10001/onap/oom/kube2msb:1.2.6" 2022-12-03 01:16:13,386 - DEBUG - docker_api - Image "nexus3.onap.org:10001/onap/oom/kube2msb:1.2.6" downloaded 2022-12-03 01:16:14,721 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp.tar 2022-12-03 01:16:14,783 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp.tar -C /home/ubuntu/.tern/temp 2022-12-03 01:16:15,014 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp/a9cc4ace48cd792ef888ade20810f82f6c24aaf2436f30337a2a712cd054dc97/layer.tar 2022-12-03 01:16:15,080 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp/a9cc4ace48cd792ef888ade20810f82f6c24aaf2436f30337a2a712cd054dc97/layer.tar -C /home/ubuntu/.tern/temp/a9cc4ace48cd792ef888ade20810f82f6c24aaf2436f30337a2a712cd054dc97/contents 2022-12-03 01:16:15,184 - DEBUG - rootfs - Running command: sudo chmod +x /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh 2022-12-03 01:16:15,262 - DEBUG - rootfs - Running command: sudo /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh /home/ubuntu/.tern/temp/a9cc4ace48cd792ef888ade20810f82f6c24aaf2436f30337a2a712cd054dc97/contents 2022-12-03 01:16:15,601 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp/7f9c2616c7f8c9e3bd0debfff54bc9a27ff0ebc80432a9456fb29e5665957088/layer.tar 2022-12-03 01:16:15,667 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp/7f9c2616c7f8c9e3bd0debfff54bc9a27ff0ebc80432a9456fb29e5665957088/layer.tar -C /home/ubuntu/.tern/temp/7f9c2616c7f8c9e3bd0debfff54bc9a27ff0ebc80432a9456fb29e5665957088/contents 2022-12-03 01:16:15,810 - DEBUG - rootfs - Running command: sudo chmod +x /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh 2022-12-03 01:16:15,883 - DEBUG - rootfs - Running command: sudo /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh /home/ubuntu/.tern/temp/7f9c2616c7f8c9e3bd0debfff54bc9a27ff0ebc80432a9456fb29e5665957088/contents 2022-12-03 01:16:16,216 - DEBUG - rootfs - Running command: tar -tf /home/ubuntu/.tern/temp/e901b0bf78cdd2941a9a47421690cd5113c0d4df52d83e1b0a88ed74a5310261/layer.tar 2022-12-03 01:16:16,282 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /home/ubuntu/.tern/temp/e901b0bf78cdd2941a9a47421690cd5113c0d4df52d83e1b0a88ed74a5310261/layer.tar -C /home/ubuntu/.tern/temp/e901b0bf78cdd2941a9a47421690cd5113c0d4df52d83e1b0a88ed74a5310261/contents 2022-12-03 01:16:16,428 - DEBUG - rootfs - Running command: sudo chmod +x /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh 2022-12-03 01:16:16,524 - DEBUG - rootfs - Running command: sudo /home/ubuntu/ternenv/lib/python3.8/site-packages/tern/tools/fs_hash.sh /home/ubuntu/.tern/temp/e901b0bf78cdd2941a9a47421690cd5113c0d4df52d83e1b0a88ed74a5310261/contents 2022-12-03 01:16:16,877 - DEBUG - common - Reading files in filesystem... 2022-12-03 01:16:16,884 - DEBUG - rootfs - Running command: sudo mount -o bind /home/ubuntu/.tern/temp/a9cc4ace48cd792ef888ade20810f82f6c24aaf2436f30337a2a712cd054dc97/contents /home/ubuntu/.tern/temp/mergedir 2022-12-03 01:16:16,972 - DEBUG - rootfs - Running command: sudo mount -t proc /proc /home/ubuntu/.tern/temp/mergedir/proc 2022-12-03 01:16:17,057 - DEBUG - rootfs - Running command: sudo mount -o bind /sys /home/ubuntu/.tern/temp/mergedir/sys 2022-12-03 01:16:17,135 - DEBUG - rootfs - Running command: sudo mount -o bind /dev /home/ubuntu/.tern/temp/mergedir/dev 2022-12-03 01:16:17,233 - DEBUG - rootfs - Running command: sudo cp /etc/resolv.conf /home/ubuntu/.tern/temp/mergedir/etc/resolv.conf 2022-12-03 01:16:17,310 - DEBUG - core - Collecting metadata for image layer... 2022-12-03 01:16:17,310 - 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-03 01:16:17,393 - 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-03 01:16:17,563 - 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-03 01:16:17,739 - 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-03 01:16:17,921 - 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-03 01:16:18,125 - WARNING - core - Some metadata may be missing 2022-12-03 01:16:18,133 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/proc 2022-12-03 01:16:18,225 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/sys 2022-12-03 01:16:18,306 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/dev 2022-12-03 01:16:18,385 - DEBUG - rootfs - Running command: sudo umount -rl /home/ubuntu/.tern/temp/mergedir 2022-12-03 01:16:18,458 - DEBUG - common - Reading files in filesystem... 2022-12-03 01:16:18,459 - 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 2022-12-03 01:16:18,531 - DEBUG - rootfs - Running command: sudo mount -t proc /proc /home/ubuntu/.tern/temp/mergedir/proc 2022-12-03 01:16:18,610 - DEBUG - rootfs - Running command: sudo mount -o bind /sys /home/ubuntu/.tern/temp/mergedir/sys 2022-12-03 01:16:18,682 - DEBUG - rootfs - Running command: sudo mount -o bind /dev /home/ubuntu/.tern/temp/mergedir/dev 2022-12-03 01:16:18,755 - DEBUG - rootfs - Running command: sudo cp /etc/resolv.conf /home/ubuntu/.tern/temp/mergedir/etc/resolv.conf 2022-12-03 01:16:18,831 - WARNING - command_lib - No listing method for '#(nop)'. Additional analysis may be required. 2022-12-03 01:16:18,831 - DEBUG - core - Collecting metadata for image layer... 2022-12-03 01:16:18,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" && apk info 2>/dev/null 2022-12-03 01:16:18,916 - 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-03 01:16:19,085 - 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-03 01:16:19,260 - 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-03 01:16:19,437 - 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-03 01:16:19,637 - WARNING - core - Some metadata may be missing 2022-12-03 01:16:19,646 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/proc 2022-12-03 01:16:19,729 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/sys 2022-12-03 01:16:19,805 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/dev 2022-12-03 01:16:19,904 - DEBUG - rootfs - Running command: sudo umount -rl /home/ubuntu/.tern/temp/mergedir 2022-12-03 01:16:20,180 - DEBUG - common - Reading files in filesystem... 2022-12-03 01:16:20,181 - 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 2022-12-03 01:16:20,260 - DEBUG - rootfs - Running command: sudo mount -t proc /proc /home/ubuntu/.tern/temp/mergedir/proc 2022-12-03 01:16:20,342 - DEBUG - rootfs - Running command: sudo mount -o bind /sys /home/ubuntu/.tern/temp/mergedir/sys 2022-12-03 01:16:20,412 - DEBUG - rootfs - Running command: sudo mount -o bind /dev /home/ubuntu/.tern/temp/mergedir/dev 2022-12-03 01:16:20,484 - DEBUG - rootfs - Running command: sudo cp /etc/resolv.conf /home/ubuntu/.tern/temp/mergedir/etc/resolv.conf 2022-12-03 01:16:20,557 - WARNING - command_lib - No listing method for 'addgroup'. Additional analysis may be required. 2022-12-03 01:16:20,558 - WARNING - command_lib - No listing method for 'adduser'. Additional analysis may be required. 2022-12-03 01:16:20,558 - WARNING - command_lib - No listing method for 'chown'. Additional analysis may be required. 2022-12-03 01:16:20,558 - DEBUG - core - Collecting metadata for image layer... 2022-12-03 01:16:20,559 - 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-03 01:16:20,640 - 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-03 01:16:20,835 - 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-03 01:16:21,013 - 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-03 01:16:21,193 - 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-03 01:16:21,383 - WARNING - core - Some metadata may be missing 2022-12-03 01:16:21,390 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/proc 2022-12-03 01:16:21,480 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/sys 2022-12-03 01:16:21,563 - DEBUG - rootfs - Running command: sudo umount /home/ubuntu/.tern/temp/mergedir/dev 2022-12-03 01:16:21,651 - DEBUG - rootfs - Running command: sudo umount -rl /home/ubuntu/.tern/temp/mergedir 2022-12-03 01:16:21,805 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/mergedir 2022-12-03 01:16:21,885 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/workdir 2022-12-03 01:16:21,970 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/a9cc4ace48cd792ef888ade20810f82f6c24aaf2436f30337a2a712cd054dc97/contents 2022-12-03 01:16:22,058 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/7f9c2616c7f8c9e3bd0debfff54bc9a27ff0ebc80432a9456fb29e5665957088/contents 2022-12-03 01:16:22,137 - DEBUG - rootfs - Running command: sudo rm -rf /home/ubuntu/.tern/temp/e901b0bf78cdd2941a9a47421690cd5113c0d4df52d83e1b0a88ed74a5310261/contents 2022-12-03 01:16:22,223 - DEBUG - prep - Tearing down... 2022-12-03 01:16:43,574 - DEBUG - __main__ - Finished