Skip to content

Error: terminate called after throwing an instance of 'boost::filesystem::filesystem_error' #392

Description

@yunwei37

In my Github Action, it will run into the error:

Run Jimver/cuda-toolkit@master
  with:
    cuda: 1[2](https://github.com/eunomia-bpf/llvmbpf/actions/runs/15224782921/job/42825415901?pr=32#step:3:2).8.1
    sub-packages: []
    non-cuda-sub-packages: []
    method: local
    linux-local-args: ["--toolkit", "--samples"]
    use-github-cache: true
    use-local-cache: true
    log-file-suffix: log.txt
Warning: Failed to restore: Cache service responded with 422
/usr/bin/tar --posix -cf cache.tzst --exclude cache.tzst -P -C /home/runner/work/llvmbpf/llvmbpf --files-from manifest.txt --use-compress-program zstdmt
Failed to save: Unable to reserve cache with key cuda_installer-linux-6.11.0-1014-azure-x64-12.8.1, another job may be creating this cache. More details: This legacy service is shutting down, effective April 15, 2025. Migrate to the new service ASAP. For more information: https://gh.io/gha-cache-sunset
/usr/bin/sudo /home/runner/work/llvmbpf/llvmbpf/cuda_installer-linux-6.11.0-1014-azure-x64-12.8.1/cuda_installer-linux-6.11.0-1014-azure-x64_12.8.1.run --silent --toolkit --samples
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
  what():  boost::filesystem::copy_file: No such file or directory: "./builds/cuda_cupti/extras/CUPTI/doc/html/api/structCUpti__Profiler__BeginSession__Params.html", "/usr/local/cuda-12.8/extras/CUPTI/doc/html/api/structCUpti__Profiler__BeginSession__Params.html"
Aborted (core dumped)
Warning: Error during installation: Error: The process '/usr/bin/sudo' failed with exit code 1[3](https://github.com/eunomia-bpf/llvmbpf/actions/runs/15224782921/job/42825415901?pr=32#step:3:3)4
/usr/bin/sudo chmod 6[4](https://github.com/eunomia-bpf/llvmbpf/actions/runs/15224782921/job/42825415901?pr=32#step:3:4)4 /var/log/cuda-installer.log
/usr/bin/sudo chown runner /var/log/cuda-installer.log
Artifact name is valid!
Root directory input is valid!
Beginning upload of artifact content to blob storage
Uploaded bytes 824
Finished uploading artifact content to blob storage!
SHA2[5](https://github.com/eunomia-bpf/llvmbpf/actions/runs/15224782921/job/42825415901?pr=32#step:3:5)6 hash of uploaded artifact zip is 28fa8e2ae93da9bc4017fe32588[6](https://github.com/eunomia-bpf/llvmbpf/actions/runs/15224782921/job/42825415901?pr=32#step:3:6)80b17297de12a796ade2[7](https://github.com/eunomia-bpf/llvmbpf/actions/runs/15224782921/job/42825415901?pr=32#step:3:7)7bac6d2521cf16e
Finalizing artifact upload
Artifact cuda-install-linux-6.11.0-1014-azure-local-log.txt.zip successfully finalized. Artifact ID 31[8](https://github.com/eunomia-bpf/llvmbpf/actions/runs/15224782921/job/42825415901?pr=32#step:3:8)9963287
Error: Error: The process '/usr/bin/sudo' failed with exit code 134

My Github action config:

name: Build and Test PTX for CUDA

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
  cancel-in-progress: true

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
      with:
        submodules: 'recursive'

    - uses: Jimver/cuda-toolkit@master
      id: cuda-toolkit

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions