Codeql database analyze on CLI is stuck
- Lingua principale
- CodeQL
- Stelle
- 10.1k
- Fork
- 2.1k
- Merge medio
- 2g 15h
- PR unite (30g)
- 141
Descrizione
**Description of the issue**
When running this command
```
codeql database analyze -vvvv /var/tmp/database /opt/codeql/qlpacks/codeql/python-queries/0.1.0/analysis/ --format=sarifv2.1.0 --output=query-results.sarif
```
Codeql seems to be hanging here for a very long time:
```
Scanning for [codeql-pack.yml, qlpack.yml] from /opt/codeql/qlpacks/codeql/python-queries/0.1.0/.codeql/libraries/codeql/suite-helpers/0.1.0/
Scanning for [codeql-pack.yml, qlpack.yml] from /opt/codeql/.codeqlmanifest.json
Scanning for [codeql-pack.yml, qlpack.yml] from /opt/
Not scanning from /opt/codeql which is already done.
Compiling query plan for /opt/codeql/qlpacks/codeql/python-queries/0.1.0/analysis/AlertSuppression.ql.
Resolving imports for /opt/codeql/qlpacks/codeql/python-queries/0.1.0/analysis/AlertSuppression.ql.
Checking QL for /opt/codeql/qlpacks/codeql/python-queries/0.1.0/analysis/AlertSuppression.ql.
Optimizing /opt/codeql/qlpacks/codeql/python-queries/0.1.0/analysis/AlertSuppression.ql.
```
If I run without a specific query codeql would get stuck in the same spot when optimizing a `.ql` This is running on a Docker container with the base image of Ubuntu 20.04. Memory and CPU usage is not a problem. Any idea why?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.