Skip to content

Fix assumption that download URLs contain file extension #4631

Fix assumption that download URLs contain file extension

Fix assumption that download URLs contain file extension #4631

Triggered via pull request January 22, 2025 12:53
Status Failure
Total duration 2m 47s
Artifacts

__init-with-registries.yml

on: pull_request
Matrix: Packaging: Download using registries
Fit to window
Zoom out
Zoom in

Annotations

1 error and 25 warnings
Packaging: Download using registries (ubuntu-latest, nightly-latest)
Unable to download and extract CodeQL CLI: Could not determine tar version, which is required to extract a Zstandard archive. Details: Error: Could not determine tar version, which is required to extract a Zstandard archive. at Object.extract (/home/runner/work/codeql-action/action/lib/tar.js:128:23) at downloadAndExtract (/home/runner/work/codeql-action/action/lib/tools-download.js:107:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async downloadCodeQL (/home/runner/work/codeql-action/action/lib/setup-codeql.js:447:24) at async Object.setupCodeQLBundle (/home/runner/work/codeql-action/action/lib/setup-codeql.js:549:28) at async setupCodeQL (/home/runner/work/codeql-action/action/lib/codeql.js:117:107) at async initCodeQL (/home/runner/work/codeql-action/action/lib/init.js:55:97) at async run (/home/runner/work/codeql-action/action/lib/init-action.js:175:34) at async runWrapper (/home/runner/work/codeql-action/action/lib/init-action.js:436:9)
Packaging: Download using registries (ubuntu-latest, nightly-latest)
Debugging artifacts are unavailable since the 'init' Action failed before it could produce any.
Packaging: Download using registries (ubuntu-latest, nightly-latest)
Failed to clean up CodeQL bundle: no files found matching /home/runner/work/_temp/2c6077e1-3e19-459d-9368-1fbbe699b2ca.
Packaging: Download using registries (ubuntu-latest, nightly-latest)
Falling back to downloading the bundle before extracting.
Packaging: Download using registries (ubuntu-latest, nightly-latest)
Failed to download and extract CodeQL bundle using streaming with error: Cannot read properties of undefined (reading 'type')
Packaging: Download using registries (ubuntu-latest, nightly-latest)
Failed to determine tar version, therefore will assume zstd is not available. The underlying error was: TypeError: Invalid Version: 1.35
Packaging: Download using registries (ubuntu-latest, nightly-latest)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.20.1.
Packaging: Download using registries (ubuntu-latest, nightly-latest)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration
Packaging: Download using registries (ubuntu-latest, linked)
Failed to determine tar version, therefore will assume zstd is not available. The underlying error was: TypeError: Invalid Version: 1.35
Packaging: Download using registries (ubuntu-latest, linked)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.20.1.
Packaging: Download using registries (ubuntu-latest, linked)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration
Packaging: Download using registries (ubuntu-latest, default)
Failed to determine tar version, therefore will assume zstd is not available. The underlying error was: TypeError: Invalid Version: 1.35
Packaging: Download using registries (ubuntu-latest, default)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.20.1.
Packaging: Download using registries (ubuntu-latest, default)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration
Packaging: Download using registries (macos-latest, linked)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.20.1.
Packaging: Download using registries (macos-latest, linked)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration
Packaging: Download using registries (macos-latest, default)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.20.1.
Packaging: Download using registries (macos-latest, default)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration
Packaging: Download using registries (windows-latest, default)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.20.1.
Packaging: Download using registries (windows-latest, default)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration
Packaging: Download using registries (macos-latest, nightly-latest)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.20.1.
Packaging: Download using registries (macos-latest, nightly-latest)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration
Packaging: Download using registries (windows-latest, linked)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.20.1.
Packaging: Download using registries (windows-latest, linked)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration
Packaging: Download using registries (windows-latest, nightly-latest)
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.20.1.
Packaging: Download using registries (windows-latest, nightly-latest)
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration