msys2 / setup-msys2

GitHub Action to setup MSYS2
https://github.com/marketplace/actions/setup-msys2
MIT License
282 stars 37 forks source link

Cache restore problem (gzip: Cannot exec) #367

Open mariuszmaximus opened 4 months ago

mariuszmaximus commented 4 months ago

What is needed for cache restore ? tar.exe can't extract cache.tgz

Restoring package cache...
  Received 0 of 726562720 (0.0%), 0.0 MBs/sec
  Received 0 of 726562720 (0.0%), 0.0 MBs/sec
  Received 33554432 of 726562720 (4.6%), 10.7 MBs/sec
  Received 62914560 of 726562720 (8.7%), 15.0 MBs/sec
  Received 88080384 of 726562720 (12.1%), 16.8 MBs/sec
  Received 121634816 of 726562720 (16.7%), 19.3 MBs/sec
  Received 142606336 of 726562720 (19.6%), 19.4 MBs/sec
  Received 167772160 of 726562720 (23.1%), 20.0 MBs/sec
  Received 188743680 of 726562720 (26.0%), 20.0 MBs/sec
  Received 201326592 of 726562720 (27.7%), 19.2 MBs/sec
  Received 222298112 of 726562720 (30.6%), 19.3 MBs/sec
  Received 234881024 of 726562720 (32.3%), 18.7 MBs/sec
  Received 251658240 of 726562720 (34.6%), 18.4 MBs/sec
  Received 272629760 of 726562720 (37.5%), 18.6 MBs/sec
  Received 293601280 of 726562720 (40.4%), 18.6 MBs/sec
  Received 310378496 of 726562720 (42.7%), 18.5 MBs/sec
  Received 322961408 of 726562720 (44.5%), 18.1 MBs/sec
  Received 343932928 of 726562720 (47.3%), 18.2 MBs/sec
  Received 364904448 of 726562720 (50.2%), 18.3 MBs/sec
  Received 385875968 of 726562720 (53.1%), 18.4 MBs/sec
  Received 406847488 of 726562720 (56.0%), 18.5 MBs/sec
  Received 432013312 of 726562720 (59.5%), 18.7 MBs/sec
  Received 452984832 of 726562720 (62.3%), 18.8 MBs/sec
  Received 486539264 of 726562720 (67.0%), 19.3 MBs/sec
  Received 511705088 of 726562720 (70.4%), 19.5 MBs/sec
  Received 532676608 of 726562720 (73.3%), 19.5 MBs/sec
  Received 562036736 of 726562720 (77.4%), 19.8 MBs/sec
  Received 587202560 of 726562720 (80.8%), 20.0 MBs/sec
  Received 616562688 of 726562720 (84.9%), 20.3 MBs/sec
  Received 633339904 of 726562720 (87.2%), 20.1 MBs/sec
  Received 658505728 of 726562720 (90.6%), 20.2 MBs/sec
  Received 696254464 of 726562720 (95.8%), 20.7 MBs/sec
  Received 718174112 of 726562720 (98.8%), 20.7 MBs/sec
  Received 722368416 of 726562720 (99.4%), 20.3 MBs/sec
  Cache Size: ~693 MB (726562720 B)
  "C:\Program Files\Git\usr\bin\tar.exe" -xf C:/actions-runner/_work/_temp/81a46d3f-90b0-4532-9afc-050c4a21f465/cache.tgz -P -C C:/actions-runner/_work/test/test --force-local -z
  tar (child): gzip: Cannot exec: No such file or directory
  tar (child): Error is not recoverable: exiting now
  /usr/bin/tar: Child returned status 2
  /usr/bin/tar: Error is not recoverable: exiting now
  Warning: Failed to restore: "C:\Program failed with error: The process 'C:\Program Files\Git\usr\bin\tar.exe' failed with exit code 2
  Cache restore for msys2-pkgs-upd:true-conf:c2ff7967, got undefined
  Cache restore for msys2-pkgs-upd:true-conf:c2ff7967, got undefined
jeremyd2019 commented 4 months ago

https://github.com/actions/toolkit/issues/1311