konveyor / kantra

A CLI that unifies analysis and transformation capabilities of Konveyor
Apache License 2.0
9 stars 27 forks source link

[BUG] running analysis fails unexpectedly #301

Closed Neilhamza closed 3 months ago

Neilhamza commented 3 months ago

Is there an existing issue for this?

Konveyor version

v0.5.0

Priority

Blocker

Current Behavior

tested configurations: kantra latest input app tackle-testapp-public tager eap8

logs: /usr/local/bin/kantra analyze --input /[REDACTED_PATH]/tackle-testapp-public --output /[REDACTED_PATH]/ --overwrite --target eap8

/usr/bin/podman run --rm --name [REDACTED_CONTAINER_NAME] --entrypoint /usr/local/bin/kantra --env RUN_MODE=container quay.io/konveyor/kantra:latest analyze --list-targets Trying to pull quay.io/konveyor/kantra:latest... Getting image source signatures

Copying blob sha256:[REDACTED] Copying blob sha256:[REDACTED] Copying blob sha256:[REDACTED] Copying blob sha256:[REDACTED] Copying config sha256:[REDACTED] Writing manifest to image destination

time="2024-08-01T10:06:35+03:00" level=info msg="running source code analysis" args="[REDACTED_ARGS]" input=[REDACTED_INPUT] log=[REDACTED_LOG] output=[REDACTED_OUTPUT] volumes="[REDACTED_VOLUMES]"

time="2024-08-01T10:06:35+03:00" level=info msg="generating analysis log in file" file=[REDACTED_LOG_FILE]

/usr/bin/podman run --rm --name [REDACTED_CONTAINER_NAME] --network none --entrypoint /usr/local/bin/konveyor-analyzer -v [REDACTED_PATH]:/opt/input/source:z -v [REDACTED_PATH]:/opt/output:z -v /[REDACTED_PATH]:/opt/input/config:z -v /[REDACTED_PATH]:/root/.m2:z quay.io/konveyor/kantra:latest [REDACTED_SETTINGS] Analysis failed `

Expected Behavior

No response

How Reproducible

Always (Default)

Steps To Reproduce

No response

Environment

TESTED ON IDEs
eclipse, vscode and IntelliJ

Anything else?

No response

konveyor-ci-bot[bot] commented 3 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.

eemcmullan commented 3 months ago

@Neilhamza what error(s) occur? There should be an error in the output from kantra, or in your output dir in analysis.log. You can specify --log-level 10 if needed.