Hi Yegappan, On Do, 30 Mai 2024, Yegappan Lakshmanan wrote:
> The cpp CodeQL check is failing in Github Actions > (https://github.com/vim/vim/actions/runs/9299006067/job/25592019947) > with the following messages: > > ------------------------------------------------------------------------------------------------------------- > CodeQL job status was configuration error. > RequestError [HttpError]: Bad credentials > at > /home/runner/work/_actions/github/codeql-action/v3/node_modules/@octokit/request/dist-node/index.js:86:21 > at process.processTicksAndRejections > (node:internal/process/task_queues:95:5) > at async requestWithGraphqlErrorHandling > (/home/runner/work/_actions/github/codeql-action/v3/node_modules/@octokit/plugin-retry/dist-node/index.js:71:20) > at async Job.doExecute > (/home/runner/work/_actions/github/codeql-action/v3/node_modules/bottleneck/light.js:405:18) > { > status: 401, > response: { > url: 'https://api.github.com/repos/vim/vim/code-scanning/analysis/status', > status: 401, > headers: { > 'access-control-allow-origin': '*', > 'access-control-expose-headers': 'ETag, Link, Location, > Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, > X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, > X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, > X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, > Sunset', > 'content-length': '80', > 'content-security-policy': "default-src 'none'", > 'content-type': 'application/json; charset=utf-8', > date: 'Thu, 30 May 2024 07:59:09 GMT', > 'referrer-policy': 'origin-when-cross-origin, > strict-origin-when-cross-origin', > server: 'GitHub.com', > 'strict-transport-security': 'max-age=31536000; > includeSubdomains; preload', > vary: 'Accept-Encoding, Accept, X-Requested-With', > 'x-content-type-options': 'nosniff', > 'x-frame-options': 'deny', > 'x-github-media-type': 'github.v3; format=json', > 'x-github-request-id': '4848:802D9:12C9D2A:20444FD:665831CD', > 'x-ratelimit-limit': '60', > 'x-ratelimit-remaining': '39', > 'x-ratelimit-reset': '1717058897', > 'x-ratelimit-resource': 'core', > 'x-ratelimit-used': '21', > 'x-xss-protection': '0' > }, > data: { > message: 'Bad credentials', > documentation_url: 'https://docs.github.com/rest' > } > }, > request: { > method: 'PUT', > url: 'https://api.github.com/repos/vim/vim/code-scanning/analysis/status', > headers: { > accept: 'application/vnd.github.v3+json', > 'user-agent': 'CodeQL-Action/3.25.6 octokit-core.js/3.6.0 > Node.js/20.8.1 (linux; x64)', > authorization: 'token [REDACTED]', > 'content-type': 'application/json; charset=utf-8' > }, > body: > '{"action_name":"init-post","action_oid":"unknown","action_ref":"v3","action_started_at":"2024-05-30T07:59:09.439Z","action_version":"3.25.6","analysis_key":".github/workflows/codeql-analysis.yml:analyze","commit_oid":"32a5faa6d7592795c6ec77e44dc0357b92b8a681","first_party_analysis":true,"job_name":"analyze","job_run_uuid":"771a84a8-9fa0-4749-918a-167140c91248","ref":"refs/heads/master","runner_os":"Linux","started_at":"2024-05-30T07:55:08.130Z","status":"success","testing_environment":"","workflow_name":"CodeQL","workflow_run_attempt":1,"workflow_run_id":9299006067,"actions_event_name":"push","languages":"cpp","runner_available_disk_space_bytes":21901520896,"runner_total_disk_space_bytes":77851254784,"completed_at":"2024-05-30T07:59:09.593Z","matrix_vars":"{\\n > \\"language\\": > \\"cpp\\"\\n}","runner_arch":"X64","runner_image_version":"20240526.1.0","upload_failed_run_error":"Bad > credentials","upload_failed_run_stack_trace":"HttpError: Bad > credentials\\n at > /home/runner/work/_actions/github/codeql-action/v3/node_modules/@octokit/request/dist-node/index.js:86:21\\n > at process.processTicksAndRejections > (node:internal/process/task_queues:95:5)\\n at async > requestWithGraphqlErrorHandling > (/home/runner/work/_actions/github/codeql-action/v3/node_modules/@octokit/plugin-retry/dist-node/index.js:71:20)\\n > at async Job.doExecute > (/home/runner/work/_actions/github/codeql-action/v3/node_modules/bottleneck/light.js:405:18)","job_status":"JOB_STATUS_CONFIGURATION_ERROR"}', > request: { agent: [Agent], hook: [Function: bound bound register] } > } > } > Warning: An unexpected error occurred when sending code scanning status > report. > ------------------------------------------------------------------------------------------------------------- I also noticed those bad credentials errors and it is not clear to me currently where they are coming from. I may need to check with Github Support on that one. Thanks, Christian -- The universe, they said, depended for its operation on the balance of four forces which they identified as charm, persuasion, uncertainty and bloody-mindedness. -- Terry Pratchett, "The Light Fantastic" -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/ZliSV1jOybjpbJRL%40256bit.org.