-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CPP]: ERROR: Dependency on pack 'codeql/util' uses '${workspace}', but that pack was not found in the workspace. #18532
Comments
Run the "codeql pack install" some the above problem now I am getting below error ERROR: In extension for codeql/cpp-all:sourceModel, extensible predicate 'sourceModel' does not exist in pack 'codeql/cpp-all'. (C:\w\codeql\cpp\ql\lib\ext\Boost.Asio.model.yml:1,1-1) |
Now below error Now starting: C:\Users\Administrator\Downloads\codeql-win64\codeql\codeql.exe database analyze codeql_workernode_cpp/ C:\w\codeql\cpp\ql\src\Security --format=sarifv2.1.0 --output=codeql_workernode_cpp.sarif --threads=4 |
I think this happens because you point it at a folder |
Description of the issue
Currently I am using jenkins pipeline for codeql database create and analyze on worker node(windows 2022 data server) but it is failing when I am analyzing it.
To create database and build using below command:
And to Analyze running below command
and it is failing with below error
ERROR: Dependency on pack 'codeql/util' uses '${workspace}', but that pack was not found in the workspace. (C:\w\codeql\cpp\ql\src\qlpack.yml:1,1-1)
ERROR: Dependency on pack 'codeql/dataflow' uses '${workspace}', but that pack was not found in the workspace. (C:\w\codeql\cpp\ql\lib\qlpack.yml:1,1-1)
ERROR: Dependency on pack 'codeql/mad' uses '${workspace}', but that pack was not found in the workspace. (C:\w\codeql\cpp\ql\lib\qlpack.yml:1,1-1)
ERROR: Dependency on pack 'codeql/rangeanalysis' uses '${workspace}', but that pack was not found in the workspace. (C:\w\codeql\cpp\ql\lib\qlpack.yml:1,1-1)
ERROR: Dependency on pack 'codeql/ssa' uses '${workspace}', but that pack was not found in the workspace. (C:\w\codeql\cpp\ql\lib\qlpack.yml:1,1-1)
ERROR: Dependency on pack 'codeql/tutorial' uses '${workspace}', but that pack was not found in the workspace. (C:\w\codeql\cpp\ql\lib\qlpack.yml:1,1-1)
ERROR: Dependency on pack 'codeql/typeflow' uses '${workspace}', but that pack was not found in the workspace. (C:\w\codeql\cpp\ql\lib\qlpack.yml:1,1-1)
ERROR: Dependency on pack 'codeql/util' uses '${workspace}', but that pack was not found in the workspace. (C:\w\codeql\cpp\ql\lib\qlpack.yml:1,1-1)
ERROR: Dependency on pack 'codeql/xml' uses '${workspace}', but that pack was not found in the workspace. (C:\w\codeql\cpp\ql\lib\qlpack.yml:1,1-1)
ERROR: Pack 'codeql/typeflow' was not found locally, and is not listed in the lock file. Run 'codeql pack install' to update the lock file and download the dependencies. (C:\w\codeql\cpp\ql\src\qlpack.yml:1,1-1)
ERROR: No valid pack solution found:
Note:
Same process i tied on my local jenkins setup windows 11 it worked fine
The text was updated successfully, but these errors were encountered: