-
Notifications
You must be signed in to change notification settings - Fork 339
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
Autobuild Error for Javascript-Typescript #2697
Comments
👋 @juleszembik I'm sorry to hear you're encountering this issue. Could you rerun the workflow with debug logging turned on? This will make the workflow upload a That said, what already strikes me from what you wrote is that |
Hi @redsun82 So from the recent debug-artifact I pulled this last portion of the database-trace-command log
Last week the command also failed at I am a little perplexed that this would fail out with an OOM issue as we use Github Hosted Runners. |
@juleszembik for bigger/more complex projects we do sometimes require use of larger runners to bear the grunt of analysis. On the other hand I'm not sure I ever saw that happen for javascript/typescript analysis, and we did occasionally experience OoM failures in unwarranted situations as the result of bugs that we needed to fix. Could you please share how many lines of javascript/typescript code we are dealing with here, to do an initial rough triage? I've also reached out to our javascript/typescript internal team about this. |
@redsun82 I calculated around 1.47 million lines of code it looks like. |
@redsun82 I ran the codeql against a github hosted large runner for the analysis - 8 cores - 32 RAM - 300GB SSD and was able to complete the codeql analysis just fine. |
Hi team,
Looks like my team is experiencing issues with codeql autobuild process. It seems to not be able to find this command:
codeql database trace-command --use-build-mode --working-dir
The full error we're seeing is this:
Error: 1-15 19:51:18] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/opt/hostedtoolcache/CodeQL/2.20.1/x64/codeql/javascript/tools/autobuild.sh]) A fatal error occurred: Exit status 1 from command: [/opt/hostedtoolcache/CodeQL/2.20.1/x64/codeql/javascript/tools/autobuild.sh] Error: Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.20.1/x64/codeql/codeql database trace-command --use-build-mode --working-dir /home/runner/work/repo_name/repo_name /home/runner/work/_temp/codeql_databases/javascript". Exit code was 2 and error was: A fatal error occurred: Exit status 1 from command: [/opt/hostedtoolcache/CodeQL/2.20.1/x64/codeql/javascript/tools/autobuild.sh]. See the logs for more details.
Is there something missing from the workflow process? The codeQL workflow is pretty standard when running this step.
matrix language is
javascript-typescript
We're not too entirely sure what could be impacting this issue as it is currently running on Github Hosted Runners. Any direction would be helpful! Thank you.
The text was updated successfully, but these errors were encountered: