-
Notifications
You must be signed in to change notification settings - Fork 351
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
Perform CodeQL Analysis fails during database finalize due to NoSuchFileException #1338
Comments
I'm seeing this issue as well, but locally in an ubuntu container:
|
We compile multiple "packages" of code (sets of drivers) with a single build command. Building each package in a separate job with a matrix is leading to better results so far. |
While it is easier to rerun an individual failed job with the matrix, the same failure does occasionally occur. |
Hi @makubacki Thanks for opening this issue.
It seems that your build environment is triggering a bug in the CodeQL component ("extractor") responsible for reading your C/C++ source files. We are able to reproduce this behaviour on the GitHub provided runners, but unfortunately not locally. It's also not a failure we have seen before, while this code has not been modified for the last few months. Could you tell me whether your build environment does anything special with environment variables that are being set (the extractor depends on a few of these, which are set by the action) or whether you somehow override functionality of the system provided glibc library? |
Hi. I triggered a new workflow to periodically dump environment variables here - https://github.com/tianocore/edk2/actions/runs/3388710334. It has a couple failures that reproduce the issue. I'm not aware of any overrides to glibc. |
Thanks. I don't see anything that is particularly of interest in that output. I'll file an internal issue for this, so we can schedule looking further into this. |
Great, thanks! It looks like a viable workaround for my project is to use Windows builds. So far, I'm seeing reliable results with that. We are still very interested in being able to build on Ubuntu + GCC though. |
Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
synced local file(s) with [microsoft/mu_devops](https://github.com/microsoft/mu_devops). 🤖: View the [Repo File Sync Configuration File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml) to see how files are synced. --- Adds a new workflow that is synced to Mu repos that are currently expected to run against CodeQL. This workflow has the following features to support maintainability across the repos it is synced to: - The packages are auto discovered and a dynamic matrix is generated for each package build. This allows the same file to work as-is in each repo that performs CI builds (packages are in the repo root directory). - The Mu Basecore plugin directory is auto discovered in the workspace based on the presence of the CodeQL plugin being present in the directory. - The operations supported by the Stuart CI script are dynamically discovered. - CodeQL is only run on Windows agents. There is a known issue when building edk2-style code on Linux so this avoids encountering that issue. See: github/codeql-action#1338 - The Windows CodeQL CLI package is about 260MB at this time. The GitHub Action cache is used by this workflow to cache the CLI after it is initially pulled down in the Stuart ext dep update. - The CLI ext dep directory name and version used for caching are read from the ext_dep YAML file to reduce maintenance needed in the workflow if the file changes in the future. Note that the SARIF file for each run is uploaded as a per-package artifact. These can be downloaded and opened in VS Code with the SARIF Viewer extension to view issues locally with the ability to click to issue locations in files. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#4295514175](https://github.com/microsoft/mu_devops/actions/runs/4295514175)
While enabling CodeQL, I encounter this error frequently. Occassionally, I do not encounter the error and the GitHub action succeeds.
The filename that can't be read will change, but the error remains:
Can you please help provide more information about what is going on?
The text was updated successfully, but these errors were encountered: