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

CI failing since tools update #23284

Closed
Thomas1664 opened this issue Feb 26, 2022 · 9 comments
Closed

CI failing since tools update #23284

Thomas1664 opened this issue Feb 26, 2022 · 9 comments
Assignees
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Comments

@Thomas1664
Copy link
Contributor

Thomas1664 commented Feb 26, 2022

Describe the bug
All CIs except OSX and Linux are failing on stage "Test modified ports..." if PR branch is not even with master. If they are even, only arm64_windows and x64_windows_static_md fail. These bugs are probably introduced by PRs #23162 and #22985. At least 4 PRs experienced the exact same CI failure after those commits.

Environment
CI

To Reproduce
Trigger CI run

Failure logs

A suitable version of 7zip was not found (required v19.0.0). Downloading portable 7zip v19.0.0...
Extracting 7zip...
msiexec failed while extracting 'D:\downloads\7z1900-x64.msi' with message:
T
##[error]vcpkg ci failed
At C:\a\1\s\scripts\azure-pipelines\test-modified-ports.ps1:178 char:5
+     throw "vcpkg ci failed"
+     ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (vcpkg ci failed:String) [], RuntimeException
+ FullyQualifiedErrorId : vcpkg ci failed
##[error]PowerShell exited with code '1'.

CC: @BillyONeal @JackBoosY

@dg0yt
Copy link
Contributor

dg0yt commented Feb 27, 2022

I interprete the logging output as indicating an implicit fetch of 7zip when fetching one of the other tools. I added an explicit early fetch of 7zip in #23302, complementing the explicit fetches of cmake, ninja, git. This seems to fix the issue in CI.

IIRC we saw similar logging output in a previous issue with installing 7zip.

@dg0yt
Copy link
Contributor

dg0yt commented Feb 27, 2022

IIRC we saw similar logging output in a previous issue with installing 7zip.

Here: #19490

@Neumann-A
Copy link
Contributor

The error is:

[DEBUG] 7532: cmd_execute_and_stream_data() returned 1601 after    48467 us
The Windows Installer service could not be accessed. Contact your support personnel to verify that the Windows Installer service is properly registered.

so it is unrelated to the mentioned PRs but a problem with the runners.

@BillyONeal
Copy link
Member

Yeah I think we got something pushed to our VMs that breaks msiexec :(

@BillyONeal
Copy link
Member

https://github.com/microsoft/azure-pipelines-agent/releases/tag/v2.200.2 I observe this release was pushed around the same time

@BillyONeal
Copy link
Member

@Thomas1664
Copy link
Contributor Author

Thomas1664 commented Mar 10, 2022

Now installation of Python 2 fails with the following error:

-- Downloading https://www.python.org/ftp/python/2.7.18/python-2.7.18.amd64.msi -> python-2.7.18.amd64.msi...
T h e   W i n d o w s   I n s t a l l e r   S e r v i c e   c o u l d   n o t   b e   a c c e s s e d .   T h i s   c a n   o c c u r   i f   t h e   W i n d o w s   I n s t a l l e r   i s   n o t   c o r r e c t l y   i n s t a l l e d .   C o n t a c t   y o u r   s u p p o r t   p e r s o n n e l   f o r   a s s i s t a n c e . 
 
 CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:692 (message):
  Unable to find PYTHON2

This seems to be also caused by msi installer because of the UTF16 encoding (spaces between letters)

Observed on CI by installing cppcms and qtwebengine for triplet arm64-windows

@Neumann-A
Copy link
Contributor

Just the same failure as before. Nothing new to see here. Previously it failed to extract 7z.mis which was replaced by tar on windows and now the same failure happens with python2.msi. This will be solved by #23431

@Thomas1664
Copy link
Contributor Author

This is fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)
Projects
None yet
Development

No branches or pull requests

6 participants