container-diff icon indicating copy to clipboard operation
container-diff copied to clipboard

ERRO[0065] Could not obtain size for no such file or directory

Open paroque28 opened this issue 4 years ago • 2 comments

Expected behavior

Diff output

Actual behavior


$ container-diff diff --type=file daemon://driver_mv:latest daemon://driver_update:latest -w driver_update 
ERRO[0064] Could not obtain size for /home/-/.container-diff/cache/daemon_driver_update_latest/lib/modules/4.15.0-99-generic/build: stat /home/-/.container-diff/cache/daemon_driver_update_latest/lib/modules/4.15.0-99-generic/build: no such file or directory 
ERRO[0064] Could not obtain size for /home/-/.container-diff/cache/daemon_driver_update_latest/lib/modules/5.3.0-51-generic/build: stat /home/-/.container-diff/cache/daemon_driver_update_latest/lib/modules/5.3.0-51-generic/build: no such file or directory 
ERRO[0065] Could not obtain size for /home/-/.container-diff/cache/daemon_driver_update_latest/usr/src/linux-headers-4.15.0-99/scripts/dtc/include-prefixes/nios2: stat /home/-/.container-diff/cache/daemon_driver_update_latest/usr/src/linux-headers-4.15.0-99/scripts/dtc/include-prefixes/nios2: no such file or directory 
ERRO[0065] Could not obtain size for /home/-/.container-diff/cache/daemon_driver_update_latest/usr/src/linux-headers-4.15.0-99/scripts/dtc/include-prefixes/powerpc: stat /home/-/.container-diff/cache/daemon_driver_update_latest/usr/src/linux-headers-4.15.0-99/scripts/dtc/include-prefixes/powerpc: no such file or directory 

Information

  • container-diff version: version 0.15.0
  • Operating system:
NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.6 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

Steps to reproduce the behavior

  1. container-diff diff --type=file daemon://driver_mv:latest daemon://driver_update:latest
  2. Images can be uploaded upon request

paroque28 avatar May 18 '20 18:05 paroque28

@paroque28 are you expecting to see those files in your image? the paths are all starting with /home/-/ which looks a bit strange to me.

nkubala avatar Jun 03 '20 18:06 nkubala

@nkubala I removed my username from the logs

paroque28 avatar Jun 04 '20 00:06 paroque28