konveyor / analyzer-lsp

Add-on that is focused on providing analysis based on the Language Server Protocol.
Apache License 2.0
12 stars 45 forks source link

[BUG] Gradle Support - Analysis fails for gradle-multi-project-example #619

Closed abrugaro closed 5 months ago

abrugaro commented 5 months ago

Is there an existing issue for this?

Kantra version (Tested using kantra)

version: latest
SHA: a89ffa3bce466bb46ecc658a2b07e7d2bec69af1
image: quay.io/konveyor/kantra

Priority

Undefined (Default)

Current Behavior

Analysis of the gradle-multi-project-example application fails.

Here you can find the analysis' outputs

provider.txt output.yaml.txt analysis.txt

Expected Behavior

Analysis shouldn't fail for this applicaton

How Reproducible

Always (Default)

Steps To Reproduce

(I tested it using Kantra)

  1. Donwload the gradle-multi-project-example application as zip file
  2. Start an analysis by using the following command

kantra analyze --input ~/apps/gradle-multi-project-example-master.zip --output ~/report-gradle --overwrite

Environment

No response

Anything else?

No response

konveyor-ci-bot[bot] commented 5 months ago

This issue is currently awaiting triage. If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance. The triage/accepted label can be added by org members.

jmle commented 5 months ago

After taking a look at the logs, it looks like the problem comes from trying to analyze a zip file. I think that at the moment we only support these binary formats and analyzing uncompressed source code.

abrugaro commented 5 months ago

@jmle you're right, I can confirm that when running the analysis against an uncompressed folder it works as expected. Hence closing this issue.