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

No progress during "Streaming the extraction of the CodeQL bundle"

Open pupseba opened this issue 9 months ago • 2 comments

Every now and then, we see this error in our CodeQL scans. Both default and "advanced" ones:

  Written by John Gilmore and Jay Fenlason.
  Found gnu tar version 1.34.
  Did not find CodeQL tools version 2.20.5 in the toolcache.
  Looked for CodeQL bundle codeql-bundle-linux64.tar.zst in github/codeql-action on https://git.xxxxxxx.com but got error HttpError: Not Found.
  Using CodeQL CLI version 2.20.5 sourced from https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.20.5/codeql-bundle-linux64.tar.zst .
  Downloading CodeQL tools from https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.20.5/codeql-bundle-linux64.tar.zst . This may take a while.
  Streaming the extraction of the CodeQL bundle.
  tar -x --zstd --ignore-zeros --warning=no-unknown-keyword --overwrite -f - -C /_work/_temp/82a785df-7d7a-4843-a891-ff0b9e40xxxx
Error: The operation was canceled.

The above message is from the latest time we saw this error (01/03/25), which is post v3.28.10 as the usage of "--ignore-zeros" seems to confirm for the tar command.

The operation being cancelled, is due to a time out after a few hours of apparently, nothing happening.

The error happens from way back and we are unable to see any transcient problem in our compute/network resources that helps us understand.

pupseba avatar Mar 03 '25 14:03 pupseba

Could you confirm when this started happening?

smowton avatar Mar 12 '25 12:03 smowton

Oldest I was able to find by manually looking into some repositories/runs, is from the 06 of January of this year.

pupseba avatar Mar 17 '25 08:03 pupseba