Skip to content
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

Enable Windows Update service on AppVeyor #6601

Merged
merged 2 commits into from
Nov 15, 2024

Conversation

morozov
Copy link
Member

@morozov morozov commented Nov 14, 2024

Recently, AppVeyor builds started failing with the following error message (example):

Installing KB3035131...
WARNING: Update KB3035131 installation failed (exit code 1058).
WARNING: More details may be found in the installation log (C:\Users\appveyor\AppData\Local\Temp\1\chocolatey\KB3035131.Install.evt) or the system CBS log (C:\windows\Logs\CBS\CBS.log).
ERROR: Update KB3035131 installation failed (exit code 1058).
The install of KB3035131 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\KB3035131\Tools\ChocolateyInstall.ps1'.
 See log for details.
Failed to install KB3033929 because a previous dependency failed.
Failed to install vcredist140 because a previous dependency failed.
Failed to install php because a previous dependency failed.

Not sure what happened (maybe it was just cache invalidation) but the 8-year old fix from phpmd/phpmd#426 seems to work. I also temporarily applied the same changes to #6600 to test the fix on 4.2.x (build).

Additionally, let's disable download progress in choco install commands. This way, the build log reduces from 3-6-10K lines to ~600 (example).

@morozov morozov marked this pull request as ready for review November 15, 2024 00:05
@morozov morozov added the CI label Nov 15, 2024
@morozov morozov requested review from greg0ire and derrabus November 15, 2024 00:05
@greg0ire
Copy link
Member

Additionally, let's disable download progress in choco install commands. This way, the build log reduces from 3-6-10K lines to ~600 (example).

Thanks so much for this, it was bugging me.

@greg0ire greg0ire merged commit 232fd06 into doctrine:3.9.x Nov 15, 2024
3 checks passed
@greg0ire greg0ire added this to the 3.9.4 milestone Nov 15, 2024
@morozov morozov deleted the appveyor-wuauserv branch November 15, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants