Closed
Description
Description of the issue
I have implemented CodeQL scanning in this project and it works most of the time but some times it randomly fails like for this instance. Log:
Finalizing database creation
Finalizing csharp
C:\hostedtoolcache\windows\CodeQL\0.0.0-20210326\x64\codeql\codeql.exe database finalize --threads=2 D:\a\_temp\codeql_databases\csharp
Running pre-finalize script C:\hostedtoolcache\windows\CodeQL\0.0.0-20210326\x64\codeql\csharp\tools\pre-finalize.cmd in D:\a\Notepads\Notepads.
Running pre-finalize script C:\hostedtoolcache\windows\CodeQL\0.0.0-20210326\x64\codeql\csharp\tools\pre-finalize.cmd in D:\a\Notepads\Notepads.
[2021-04-05 09:43:17] [build-stderr] Scanning for files in D:\a\Notepads\Notepads...
[2021-04-05 09:43:17] [build-stderr] Scanning for files in D:\a\Notepads\Notepads...
[2021-04-05 09:43:18] [build-stderr] D:\a\_temp\codeql_databases\csharp: Indexing files in in D:\a\Notepads\Notepads...
[2021-04-05 09:43:18] [build-stderr] D:\a\_temp\codeql_databases\csharp: Indexing files in in D:\a\Notepads\Notepads...
[2021-04-05 09:43:18] [build-stderr] D:\a\_temp\codeql_databases\csharp: Running in D:\a\Notepads\Notepads: [C:\hostedtoolcache\windows\CodeQL\0.0.0-20210326\x64\codeql\xml\tools\index-files.cmd, D:\a\_temp\codeql_databases\csharp\working\files-to-index6385052761477996838.list]
[2021-04-05 09:43:18] [build-stderr] D:\a\_temp\codeql_databases\csharp: Running in D:\a\Notepads\Notepads: [C:\hostedtoolcache\windows\CodeQL\0.0.0-20210326\x64\codeql\xml\tools\index-files.cmd, D:\a\_temp\codeql_databases\csharp\working\files-to-index6385052761477996838.list]
Running TRAP import for CodeQL database at D:\a\_temp\codeql_databases\csharp...
Running TRAP import for CodeQL database at D:\a\_temp\codeql_databases\csharp...
A fatal error occurred: Error saving relations while importing TRAP files for locations_default
A fatal error occurred: Error saving relations while importing TRAP files for locations_default
(eventual cause: IOException "There is not enough space on the disk")
(eventual cause: IOException "There is not enough space on the disk")
Error: The process 'C:\hostedtoolcache\windows\CodeQL\0.0.0-20210326\x64\codeql\codeql.exe' failed with exit code 2
Error: The process 'C:\hostedtoolcache\windows\CodeQL\0.0.0-20210326\x64\codeql\codeql.exe' failed with exit code 2
at Object.toolrunnerErrorCatcher (D:\a\_actions\github\codeql-action\v1\lib\toolrunner-error-catcher.js:79:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Object.finalizeDatabase (D:\a\_actions\github\codeql-action\v1\lib\codeql.js:401:13)
at async finalizeDatabaseCreation (D:\a\_actions\github\codeql-action\v1\lib\analyze.js:72:9)
at async Object.runAnalyze (D:\a\_actions\github\codeql-action\v1\lib\analyze.js:124:5)
at async run (D:\a\_actions\github\codeql-action\v1\lib\analyze-action.js:50:30)
at async runWrapper (D:\a\_actions\github\codeql-action\v1\lib\analyze-action.js:96:9)