-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tern report command report "Cannot retrieve full image metadata" #220
Comments
rparikh
added a commit
to rparikh/tern
that referenced
this issue
Apr 9, 2019
fs_hash.sh uses getfattr to collect detailed file attributes. This functionality is not available on native ubuntu so bootstrap has to take care of installing it on the VM. As 'attr' library was not available on the VM, the dependency to run 'tern report' was missing. That resulted in failure to generate report with 'Cannot retrieve full image metadata'. fs_hash.sh collects detailed file attributes using 'attr' library. As this dependency was not met, the command used to return error. Resolves: tern-tools#220 Signed-off-by: Ravi Parikh <[email protected]>
rparikh
added a commit
to rparikh/tern
that referenced
this issue
Apr 9, 2019
fs_hash.sh uses getfattr to collect detailed file attributes. This functionality is not available on native ubuntu so bootstrap has to take care of installing it on the VM. As 'attr' library was not available on the VM, the dependency to run 'tern report' was missing. That resulted in failure to generate report with 'Cannot retrieve full image metadata'. fs_hash.sh collects detailed file attributes using 'attr' library. As this dependency was not met, the command used to return error. Resolves: tern-tools#220 Signed-off-by: Ravi Parikh <[email protected]>
rparikh
added a commit
to rparikh/tern
that referenced
this issue
Apr 10, 2019
fs_hash.sh uses getfattr to collect detailed file attributes. This functionality is not available on native ubuntu so bootstrap has to take care of installing it on the VM. As 'attr' library was not available on the VM, the dependency to run 'tern report' was missing. That resulted in failure to generate report with 'Cannot retrieve full image metadata'. fs_hash.sh collects detailed file attributes using 'attr' library. As this dependency was not met, the command used to return error. Resolves: tern-tools#220 Signed-off-by: Ravi Parikh <[email protected]>
nishakm
pushed a commit
that referenced
this issue
Apr 11, 2019
fs_hash.sh uses getfattr to collect detailed file attributes. This functionality is not available on native ubuntu so bootstrap has to take care of installing it on the VM. As 'attr' library was not available on the VM, the dependency to run 'tern report' was missing. That resulted in failure to generate report with 'Cannot retrieve full image metadata'. fs_hash.sh collects detailed file attributes using 'attr' library. As this dependency was not met, the command used to return error. Resolves: #220 Signed-off-by: Ravi Parikh <[email protected]>
rnjudge
pushed a commit
to rnjudge/tern
that referenced
this issue
Jun 5, 2020
fs_hash.sh uses getfattr to collect detailed file attributes. This functionality is not available on native ubuntu so bootstrap has to take care of installing it on the VM. As 'attr' library was not available on the VM, the dependency to run 'tern report' was missing. That resulted in failure to generate report with 'Cannot retrieve full image metadata'. fs_hash.sh collects detailed file attributes using 'attr' library. As this dependency was not met, the command used to return error. Resolves: tern-tools#220 Signed-off-by: Ravi Parikh <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Following the tern guide on its homepage, 'tern report' command fails with the warning of Cannot retrieve full image metadata. This happens right after
fs_hash.sh
script is called.To Reproduce
Steps to reproduce the behavior:
tern -l report -f output.txt -i hello-world
Error in terminal
(ternenv) vagrant@ubuntu-bionic:~/ternenv/tern$ tern -l report -f output.txt -i hello-world
2019-04-09 02:54:55,818 - DEBUG - main - Starting...
2019-04-09 02:54:55,818 - DEBUG - report - Setting up...
2019-04-09 02:54:55,819 - DEBUG - container - Checking if image "hello-world" is available on disk...
2019-04-09 02:54:55,828 - DEBUG - container - Image "hello-world" found
2019-04-09 02:54:55,838 - DEBUG - rootfs - Running command: sudo /home/vagrant/ternenv/lib/python3.6/site-packages/tern/tools/fs_hash.sh /home/vagrant/ternenv/tern/temp/cdccdf50922d90e847e097347de49119be0f17c18b4a2d98da9919fa5884479d/contents
2019-04-09 02:54:55,847 - WARNING - report - Cannot retrieve full image metadata
2019-04-09 02:54:55,848 - DEBUG - report - Teardown...
2019-04-09 02:54:55,848 - DEBUG - rootfs - Running command: sudo rm -rf temp/mergedir
2019-04-09 02:54:55,855 - DEBUG - rootfs - Running command: sudo rm -rf temp/workdir
2019-04-09 02:54:55,864 - DEBUG - main - Report completed.
2019-04-09 02:54:55,865 - DEBUG - main - Finished
Expected behavior
Report for the container must be generated.
Environment you are running Tern on
Enter all that apply
Please attach files if they exist
The text was updated successfully, but these errors were encountered: