codeql-action icon indicating copy to clipboard operation
codeql-action copied to clipboard

perform codeql analysis issues

Open Subharanjan2055 opened this issue 1 year ago • 1 comments

Hi,

In perform codeql analysis step getting below error. I am running a typescript&javascript application. error:

Error: 3-30 11:41:29] [ERROR] Spawned process exited abnormally (code 1; tried to run: _work/_tool/CodeQL/2.14.6/x64/codeql/javascript/tools/autobuild.sh])
  A fatal error occurred: Exit status 1 from command: [_work/_tool/CodeQL/2.14.6/x64/codeql/javascript/tools/autobuild.sh]
  Error: Encountered a fatal error while running "_work/_tool/CodeQL/2.14.6/x64/codeql/codeql database trace-command _work/_temp/codeql_databases/javascript -- _work/_tool/CodeQL/2.14.6/x64/codeql/javascript/tools/autobuild.sh". Exit code was 2 and error was: A fatal error occurred: Exit status 1 from command: [/_tool/CodeQL/2.14.6/x64/codeql/javascript/tools/autobuild.sh]

Kindly help to resolve the same let me know if anything else requirede to debug will be happy to share .

Thanks, Subh

Subharanjan2055 avatar Mar 30 '24 06:03 Subharanjan2055

It looks like you are running an autobuild step. If so, can you try removing it?

If not:

  1. re-run in debug mode
  2. share the logs (at least of the analyze step)
  3. share your workflow

aeisenberg avatar Apr 01 '24 15:04 aeisenberg