-
Notifications
You must be signed in to change notification settings - Fork 1
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
Analysis phase fails #531
Comments
|
|
Getting the following after having installed
This line is the cause. |
Installed scancode with Python3.6 (!) in the
|
It's not a matter of missing packages. |
Bug is introduced by the |
Getting the following after having installed the
|
|
It actually produces the JSON result, but the master crashes anyway. |
Quick question: was it working with the flag |
Good guess, that was the problem! Analysis phase completed in the |
Describe the bug
The analysis phase hangs indefinitely when running it locally, and fails silently when running in the cloud.
How to Reproduce
The
analysis
branch contains a CI/CD pipeline that automatically deploys DGraph + QMSTR in a dedicated Kubernetes namespace.However, this can also be reproduced manually by following the following guide:
deploy/qmstr/kustomization.yam
tosha-550b3eb
.kubectl logs --follow $(kubectl get pods --selector job-name=qmstr -o=name) qmstr-master
$BUILDROOT/project
):git clone https://github.com/okteto/java-maven-getting-started $BUILDROOT/project
deploy/qmstr/base/qmstr.yaml
:dbAddress: "localhost:9080"
workdir: "$BUILDROOT/project"
(substitute manually)resultfile: "$BUILDROOT/scancode.json"
(substitute manually)SERVER_BUILDPATH=$BUILDROOT
as an environment variable, and--config $QMSTR/deploy/qmstr/base/qmstr.yaml
as a command-line argument.Expected behavior
The analysis phase should run to completion, augmenting the build graph with the proper metadata.
Failing master logs
The QMSTR client just reports the last error message.
Additional context
Please do not assume that my debugging guide and general setup is correct: the bug might be hiding somewhere there as well.
The text was updated successfully, but these errors were encountered: