Sage-Bionetworks / sage-monorepo

Where OpenChallenges, Schematic, and other Sage open source apps are built
https://sage-bionetworks.github.io/sage-monorepo/
Apache License 2.0
21 stars 12 forks source link

[Bug] Investigate Trivy image scan issue #2276

Closed tschaffter closed 7 months ago

tschaffter commented 8 months ago

Is there an existing issue for this?

What product(s) are you seeing the problem on?

Sage Monorepo

Current behavior

Error:

2023-10-26T00:04:39.494Z    INFO    Analyzing JAR files takes a while...
2023-10-26T00:04:39.504Z    FATAL   image scan error: scan error: scan failed: failed analysis: analyze error: pipeline error: failed to analyze layer (sha256:f245ab22134ec9da25aafafc3571b265fe89b451f7f8507509a4b5186a2b18f4): post analysis error: post analysis error: Unable to initialize the Java DB: Java DB update failed: Java DB update error: Java DB metadata error: unable to decode metadata: EOF

Expected behavior

No response

Anything else?

No response

Commit ID

No response

Are you developing inside the dev container?

Code of Conduct

tschaffter commented 8 months ago

I reran the two scans that failed and they succeeded. This may be a concurrency issue.

tschaffter commented 7 months ago

Unable to reproduce the issue. Will create a new ticket and will investigate if this happens again.