Skip to content

Cache fails with zstd error - zstd -d: Cannot exec: No such file or directory #811

@sammcj

Description

@sammcj

Despite zstd being installed, the cache action fails as it appears to be looking for zstd in the wrong location.

  • Operation System: Amazon Linux 2
  • Action version: v3
  • Runner version: Latest stable

Job:

- uses: actions/checkout@v3
- name: Cache Maven repository
  uses: actions/cache@v3
  with:
    path: ~/.m2/repository
    key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
    restore-keys: |
      ${{ runner.os }}-maven-
Run actions/cache@v3
Received 0 of 4[7](https://github.com/OrgName/repo-name/runs/6702665797?check_suite_focus=true#step:3:8)5287217 (0.0%), 0.0 MBs/sec
Received 0 of 475287217 (0.0%), 0.0 MBs/sec
Received 4194304 of 4752[8](https://github.com/OrgName/repo-name/runs/6702665797?check_suite_focus=true#step:3:9)7217 (0.[9](https://github.com/OrgName/repo-name/runs/6702665797?check_suite_focus=true#step:3:10)%), 1.3 MBs/sec
Received 46137344 of 475287217 (9.7%), 11.0 MBs/sec
Received 83886080 of 475287217 (17.6%), 16.0 MBs/sec
Received [10](https://github.com/OrgName/repo-name/runs/6702665797?check_suite_focus=true#step:3:11)4857600 of 475287217 (22.1%), 16.7 MBs/sec
Received [13](https://github.com/OrgName/repo-name/runs/6702665797?check_suite_focus=true#step:3:14)4217728 of 475287217 (28.2%), 18.3 MBs/sec
Received 167772160 of 475287217 (35.3%), 20.0 MBs/sec
Received 197132288 of 475287217 (41.5%), 20.9 MBs/sec
Received 234881024 of 475287217 (49.4%), 22.4 MBs/sec
Received 268435456 of 475287217 (56.5%), 23.3 MBs/sec
Received 297795584 of 475287217 (62.7%), 23.6 MBs/sec
Received 339738624 of 475287217 (71.5%), 24.9 MBs/sec
Received 369098752 of 475287217 (77.7%), 25.1 MBs/sec
Received 406847488 of 475287217 (85.6%), 25.8 MBs/sec
Received 4362076[16](https://github.com/OrgName/repo-name/runs/6702665797?check_suite_focus=true#step:3:17) of 4752872[17](https://github.com/OrgName/repo-name/runs/6702665797?check_suite_focus=true#step:3:18) (91.8%), 26.0 MBs/sec
Received 471092913 of 475287217 (99.1%), 26.4 MBs/sec
Received 475287217 of 475287217 (100.0%), 26.2 MBs/sec
Cache Size: ~453 MB (475287217 B)
/bin/tar --use-compress-program zstd -d -xf /home/ec2-user/actions-runner/_work/_temp/469[19](https://github.com/OrgName/repo-name/runs/6702665797?check_suite_focus=true#step:3:20)ba1-0057-4976-990d-1f9cd28b3900/cache.tzst -P -C /home/ec2-user/actions-runner/_work/repo-name/repo-name
tar (child): zstd -d: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
/bin/tar: Child returned status 2
/bin/tar: Error is not recoverable: exiting now
Warning: Tar failed with error: The process '/bin/tar' failed with exit code 2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions