Closed
Description
Run ramsey/composer-install@v1
with:
dependency-versions: lowest
Composer cache directory found at C:/Users/runneradmin/AppData/Local/Composer
Using lowest versions of dependencies
PHP version is 8.0.1
Cache primary key is php-8.0.1-lowest-d4af0aef979962d8b86c4245098c594c33b9a95fe0dcd010d691cccf5d6c37b8-
Cache restore keys are: php-8.0.1-lowest-d4af0aef979962d8b86c4245098c594c33b9a95fe0dcd010d691cccf5d6c37b8-, php-8.0.1-lowest-
C:\windows\system32\cmd.exe /D /S /C "c:\tools\php\composer.bat update --prefer-lowest --no-interaction --no-progress --ansi"
Loading composer repositories with package information
Received 9916529 of 9916529 (100.0%), 54.0 MBs/sec
Cache Size: ~9 MB (9916529 B)
C:\windows\System32\tar.exe -z -xf D:/a/_temp/42b8fabb-41d9-442b-a36d-352b47888967/cache.tgz -P -C D:/a/lara-asp-eloquent/lara-asp-eloquent
Error: file_get_contents(C:/Users/runneradmin/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfony~console.json): Failed to open stream: Resource temporarily unavailable
[ErrorException]
file_get_contents(C:/Users/runneradmin/AppData/Local/Composer/repo/https---repo.packagist.org/provider-symfony~cons
ole.json): Failed to open stream: Resource temporarily unavailable
update [--with WITH] [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-autoloader] [--no-scripts] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
Error: The process 'c:\tools\php\composer.bat' failed with exit code 1
Cache restored from key: php-8.0.1-lowest-d4af0aef979962d8b86c4245098c594c33b9a95fe0dcd010d691cccf5d6c37b8-
Activity
ctrl-f5 commentedon Feb 2, 2021
Can confirm, also experiencing this issue randomly in the PR pact-foundation/pact-php#194
ramsey commentedon Mar 6, 2021
A recent change might have fixed this or at least made it less likely to occur: 370d521
Please keep trying it out and let me know if you see these errors again.
My hypothesis right now is that, since the cache keys were the same across operating systems, if (for example) the job for Windows tried to run with PHP 7.4 and lowest dependencies at the same time as the job for Linux with PHP 7.4 and lowest dependencies, then maybe there was some kind of read-access blocking to the device, since I assume it's sharing the same mounted filesystem for the caches.
Anyway, I have no confirmation this has fixed it, but I haven't seen the issue since I made this change.
[github] PHP Unit: removed `composer-options: "--no-cache"` (see rams…
ramsey commentedon Mar 10, 2021
I just got a failure on Windows in another repo: https://github.com/ramsey/php-library-starter-kit/runs/2070621484
ramsey commentedon Mar 10, 2021
Another error in a different repo. Different error, but I think it's the same root cause. https://github.com/ramsey/devtools-lib/runs/2078491516?check_suite_focus=true
ramsey commentedon Mar 14, 2021
Yet another in a different repo. This is the "access is denied" error: https://github.com/ramsey/conventional-commits/runs/2108197091?check_suite_focus=true
LastDragon-ru commentedon Mar 15, 2021
https://github.com/LastDragon-ru/lara-asp-formatter/runs/2108870196?check_suite_focus=true
but seems it occurs less than before
LastDragon-ru commentedon Mar 29, 2021
Also another error:
github: Restored `composer-options: "--no-cache"` because windows tes…
github: Restored `composer-options: "--no-cache"` because windows tes…
github: Restored `composer-options: "--no-cache"` because windows tes…
github: Restored `composer-options: "--no-cache"` because windows tes…
github: Restored `composer-options: "--no-cache"` because windows tes…
github: Restored `composer-options: "--no-cache"` because windows tes…
12 remaining items