Skip to content
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

Problem loading vulnerabilities in Frog CI screen #358

Open
NewRunner2023 opened this issue Jun 15, 2023 · 1 comment
Open

Problem loading vulnerabilities in Frog CI screen #358

NewRunner2023 opened this issue Jun 15, 2023 · 1 comment
Labels
question Further information is requested

Comments

@NewRunner2023
Copy link

Hello,

I followed the instructions here:
https://github.com/jfrog/project-examples/tree/master/docker-oci-examples/docker-example

I followed all of the steps and I did not get any error messages.

But when I go to the CI screen in JFrog I can see:
Screenshot 2023-06-15 at 16 04 34

Can anyone suggest anything please ?

Thanks.

@NewRunner2023 NewRunner2023 added the question Further information is requested label Jun 15, 2023
@NewRunner2023
Copy link
Author

NewRunner2023 commented Jun 15, 2023

I tried looking at the log files. I can see:
[Info] Creating image archive...
[Info] JFrog Xray version is: 3.65.2
[Info] [Thread 0] Indexing file: /var/folders/x_/b__z8k_d323flmfy2jlltgh80000gq/T/jfrog.cli.temp.-1686849524-1779544410/image.tar
[Info] 2023-06-15T17:18:54.797656Z �[33m[jfxia]�[0m �[34m[INFO ]�[0m [] [docker_layer_tar:171 ] [main ] Encountered release info file 'etc/lsb-release'
2023-06-15T17:18:56.781817Z �[33m[jfxia]�[0m �[34m[INFO ]�[0m [] [/usr/local/go/src/sync/once:74] [main ] SPDX license IDs from licenses.json and exceptions.json were loaded successfully
2023-06-15T17:18:57.991871Z �[33m[jfxia]�[0m �[1m�[31m[ERROR]�[0m [] [archive_mgr:226 ] [main ] failed to check file /var/folders/x_/b__z8k_d323flmfy2jlltgh80000gq/T/jfrog.cli.temp.-1686849529-2372096919/f9e44aa7-180b-411b-7281-fb3499a91026/168684953798772100/tzdata.zi, with err: No zip file found
2023-06-15T17:18:57.99192Z �[33m[jfxia]�[0m �[31m[WARN ]�[0m [] [archive_mgr:630 ] [main ] Failed to extract file tzdata.zi (root path: /var/folders/x_/b__z8k_d323flmfy2jlltgh80000gq/T/jfrog.cli.temp.-1686849529-2372096919/f9e44aa7-180b-411b-7281-fb3499a91026/168684953188129700/). Would be treated as generic. err : No zip file found
2023-06-15T17:18:59.969904Z �[33m[jfxia]�[0m �[34m[INFO ]�[0m [] [archive_mgr:226 ] [main ] Unable to determine component id, artifact is set to generic: 15fb95c2168bb78cf94f61bbff7fc0bb5611db9d8509dd1322a40d735c3109bc
2023-06-15T17:18:59.97416Z �[33m[jfxia]�[0m �[34m[INFO ]�[0m [] [archive_mgr:226 ] [main ] Unable to determine component id, artifact is set to generic: dfcc13605edabf70e7bec87f68bc2a1c7d06bebecd72a0d4e122eee2e695948e
2023-06-15T17:19:00.50317Z �[33m[jfxia]�[0m �[34m[INFO ]�[0m [] [tar:101 ] [main ] Finished indexing layers of docker /var/folders/x_/b__z8k_d323flmfy2jlltgh80000gq/T/jfrog.cli.temp.-1686849529-2372096919/f9e44aa7-180b-411b-7281-fb3499a91026/168684953188129700/ (sha256:4875909d3cb193bcaf5d8a9e46bab2ea1c715d7343538ed04624da255ad122ce)

[Info] Waiting for scan to complete on JFrog Xray...

But the really strange thing is that the
jf docker scan $DOCKER_IMAGE_NAME
command completes fine.
Says no issues found.

I even tried setting
export JFROG_BUILD_STATUS=PASS
after the scan passed, and before pushing the build info,
but I get same thing in the log file about waiting for the Xray scan to finish.

I am using a Mac Ventura.
I have Java 17 temurin used by my IDE.
I have tried this on IntelliJ IDEA 2023.1.1 (Ultimate Edition) and  IntelliJ IDEA 2022.3.3 (Community Edition). Same thing happens in both.
I am running things from the Terminal in IntelliJ.
In the CE version of IntelliJ I have V2.2.2 of JFrog plugin.
In the Ultimate version of IntelliJ I have V2.2.5 of JFrog plugin.
Docker version 24.0.2
jf version 2.40.0 (installed through brew install)

The only error I can see in the log file is:
2023-06-15T17:18:57.991871Z �[33m[jfxia]�[0m �[1m�[31m[ERROR]�[0m [] [archive_mgr:226 ] [main ] failed to check file /var/folders/x_/b__z8k_d323flmfy2jlltgh80000gq/T/jfrog.cli.temp.-1686849529-2372096919/f9e44aa7-180b-411b-7281-fb3499a91026/168684953798772100/tzdata.zi, with err: No zip file found
2023-06-15T17:18:57.9919
But this happens before I try to do the scan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant