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

Running local tests fails on clean machine: framework Microsoft.VCLibs.140.00.Debug missing #12788

Open
EmJayGee opened this issue Mar 29, 2022 · 2 comments
Labels
Area-CodeHealth Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc. Help Wanted We encourage anyone to jump in on these. Issue-Bug It either shouldn't be doing this or needs an investigation. Issue-Docs It's a documentation issue that really should be on MicrosoftDocs/Console-Docs Product-Terminal The new Windows Terminal.

Comments

@EmJayGee
Copy link
Contributor

EmJayGee commented Mar 29, 2022

Windows Terminal version

commit 0bc66ab

Windows build number

10.0.19044.1620

Other Software

n/a

Steps to reproduce

Clean install Windows; follow instructions for getting started as a contributor, build debug configuration from CMD and then do "runut" from the root of the project.

Reproduces in retail also once you fix the build breaks in the tests. ;-)

Expected Behavior

Unit tests run clean.

Actual Behavior

Summary of Errors Outside of Tests:
    Error: TAEF: [HRESULT: 0x80073CF3] Failed to create the test host process for out of process test execution. (Package installation call failed for C:\Users\micha\source\repos\Clean\terminal\bin\x64\Debug\TestHostApp\AppXManifest.xml. (Activity ID: {5A5FD82A-406F-0003-B766-635A6F40D801}; Error Text: "Windows cannot install package WindowsTerminal.TestHost_1.0.0.0_x64__aq7gd5554gxm8 because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.Debug" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30704.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.Debug" currently installed are: {}"; Extended Error Code: 0x80073CF3))
    Error: TAEF: [HRESULT: 0x80073CF3] Failed to create the test host process for out of process test execution. (Package installation call failed for C:\Users\micha\source\repos\Clean\terminal\bin\x64\Debug\TestHostApp\AppXManifest.xml. (Activity ID: {5A5FD82A-406F-0003-B966-635A6F40D801}; Error Text: "Windows cannot install package WindowsTerminal.TestHost_1.0.0.0_x64__aq7gd5554gxm8 because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.Debug" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30704.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.Debug" currently installed are: {}"; Extended Error Code: 0x80073CF3))
    Error: TAEF: [HRESULT: 0x80073CF3] Failed to create the test host process for out of process test execution. (Package installation call failed for C:\Users\micha\source\repos\Clean\terminal\bin\x64\Debug\TestHostApp\AppXManifest.xml. (Activity ID: {5A5FD82A-406F-0003-C066-635A6F40D801}; Error Text: "Windows cannot install package WindowsTerminal.TestHost_1.0.0.0_x64__aq7gd5554gxm8 because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.Debug" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30704.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.Debug" currently installed are: {}"; Extended Error Code: 0x80073CF3))
    Error: TAEF: [HRESULT: 0x80073CF3] Failed to create the test host process for out of process test execution. (Package installation call failed for C:\Users\micha\source\repos\Clean\terminal\bin\x64\Debug\TestHostApp\AppXManifest.xml. (Activity ID: {5A5FD82A-406F-0004-59C1-655A6F40D801}; Error Text: "Windows cannot install package WindowsTerminal.TestHost_1.0.0.0_x64__aq7gd5554gxm8 because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.Debug" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30704.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.Debug" currently installed are: {}"; Extended Error Code: 0x80073CF3))
    Error: TAEF: [HRESULT: 0x80073CF3] Failed to create the test host process for out of process test execution. (Package installation call failed for C:\Users\micha\source\repos\Clean\terminal\bin\x64\Debug\TestHostApp\AppXManifest.xml. (Activity ID: {5A5FD82A-406F-0003-CF66-635A6F40D801}; Error Text: "Windows cannot install package WindowsTerminal.TestHost_1.0.0.0_x64__aq7gd5554gxm8 because this package depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.Debug" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 14.0.30704.0, along with this package to install. The frameworks with name "Microsoft.VCLibs.140.00.Debug" currently installed are: {}"; Extended Error Code: 0x80073CF3))

Summary of Non-passing Tests (showing 20 of 169):
    TerminalAppLocalTests::CommandlineTest::ParseSimpleCommandline [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseTrickyCommandlines [Blocked]
    TerminalAppLocalTests::CommandlineTest::TestEscapeDelimiters [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSimpleHelp#metadataSet0 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSimpleHelp#metadataSet1 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSimpleHelp#metadataSet2 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSimpleHelp#metadataSet3 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseBadOptions#metadataSet0 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseBadOptions#metadataSet1 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseBadOptions#metadataSet2 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSubcommandHelp#metadataSet0 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSubcommandHelp#metadataSet1 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSubcommandHelp#metadataSet2 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSubcommandHelp#metadataSet3 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseBasicCommandlineIntoArgs [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseNewTabCommand#metadataSet0 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseNewTabCommand#metadataSet1 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSplitPaneIntoArgs#metadataSet0 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseSplitPaneIntoArgs#metadataSet1 [Blocked]
    TerminalAppLocalTests::CommandlineTest::ParseComboCommandlineIntoArgs#metadataSet0 [Blocked]

Summary: Total=7543, Passed=7374, Failed=0, Blocked=164, Not Run=0, Skipped=5
C:\Users\micha\source\repos\Clean\terminal>git show
@EmJayGee EmJayGee added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Mar 29, 2022
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Mar 29, 2022
@zadjii-msft
Copy link
Member

Huh. We should probably note that that's required for the tests. (idly) I wonder if TAEF ever did add support for pulling down framework packages when deploying test manifests.

Alternatively, we could use this to track "get the localtests to ship the VCLibs in package, like the main Terminal package".

@zadjii-msft zadjii-msft added Help Wanted We encourage anyone to jump in on these. Issue-Docs It's a documentation issue that really should be on MicrosoftDocs/Console-Docs Product-Terminal The new Windows Terminal. Area-CodeHealth Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc. labels Mar 31, 2022
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Mar 31, 2022
@zadjii-msft zadjii-msft added this to the Engineering Improvements milestone Mar 31, 2022
@DHowett DHowett removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label Apr 8, 2022
@zadjii-msft zadjii-msft changed the title Running unit tests fails on clean machine: framework Microsoft.VCLibs.140.00.Debug missing Running local tests fails on clean machine: framework Microsoft.VCLibs.140.00.Debug missing Jun 20, 2022
@zadjii-msft
Copy link
Member

#3838 (comment) has some additional notes

@zadjii-msft zadjii-msft mentioned this issue Jul 6, 2022
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-CodeHealth Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc. Help Wanted We encourage anyone to jump in on these. Issue-Bug It either shouldn't be doing this or needs an investigation. Issue-Docs It's a documentation issue that really should be on MicrosoftDocs/Console-Docs Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

3 participants