Skip to content

Conversation

@robertbrignull
Copy link
Contributor

Updates the codeql bundle.

Merge / deployment checklist

  • Run test builds as necessary. Can be on this repository or elsewhere as needed in order to test the change - please include links to tests in other repos!
    • CodeQL using init/analyze actions
    • 3rd party tool using upload action
  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.

@robertbrignull
Copy link
Contributor Author

robertbrignull commented Jun 30, 2020

I'm very confused why it's failing, and why only when analysing Go. The error is

/opt/hostedtoolcache/CodeQL/0.0.0-20200630/x64/codeql/codeql resolve queries /home/runner/work/codeql-action/codeql-action/codeql-qlpacks/complex-python-qlpack/rootAndBar.qls /home/runner/work/codeql-action/codeql-action/codeql-qlpacks/complex-javascript-qlpack/show_ifs.ql /home/runner/work/codeql-action/codeql-action/codeql-qlpacks/complex-javascript-qlpack/foo /home/runner/work/codeql-action/codeql-action/codeql-qlpacks/complex-javascript-qlpack/foo2 /home/runner/work/codeql-action/codeql-action/codeql-qlpacks/csharp-qlpack /home/runner/work/codeql-action/codeql-action/codeql-qlpacks/java-qlpack /home/runner/work/_temp/Anthophila/go-querypack /home/runner/work/_temp/Anthophila/cpp-querypack /home/runner/work/_temp/Anthophila/javascript-querypack/show_ifs2.ql /home/runner/work/_temp/Anthophila/python-querypack/show_ifs2.ql --format=bylanguage
A fatal error occurred: /home/runner/work/codeql-action/codeql-action/codeql-qlpacks/complex-python-qlpack/rootAndBar.qls does not exist or is not a regular file.
##[error]The process '/opt/hostedtoolcache/CodeQL/0.0.0-20200630/x64/codeql/codeql' failed with exit code 2

but I'm pretty sure that file does exist and is a normal file.

I tried running another test that didn't involve custom queries and that worked out fine.

@robertbrignull
Copy link
Contributor Author

The problem has now been fixed and I've rebuilt the bundle. This should now be good to go.

@robertbrignull robertbrignull merged commit de7ff14 into main Jul 1, 2020
@robertbrignull robertbrignull deleted the codeql-bundle-20200630 branch July 1, 2020 08:55
@github-actions github-actions bot mentioned this pull request Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants