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

Host Activation tests failing with preview 5 update #55780

Closed
Anipik opened this issue Jul 15, 2021 · 3 comments
Closed

Host Activation tests failing with preview 5 update #55780

Anipik opened this issue Jul 15, 2021 · 3 comments
Milestone

Comments

@Anipik
Copy link
Contributor

Anipik commented Jul 15, 2021

2 of the hostactivation test are failing on updating the runtime to preview5

Failed tests
6.7899277s✘ Microsoft.DotNet.CoreSetup.Test.HostActivation.LightupAppActivation.Muxer_activation_of_LightupApp_WithLightupLib_Succeeds
Expected command to pass but it did not.\"\\r\\nFile Name: C:\\git\\runtime5\\artifacts\\tests\\Debug\\ha\\sharedFrameworkPublish\\dotnet.exe\\r\\nArguments: exec --additional-deps C:\\git\\runtime5\\artifacts\\tests\\Debug\\ha\\r1nmblem.nza\\LightupClient C:\\git\\runtime5\\artifacts\\tests\\Debug\\ha\\r1nmblem.nza\\LightupClient\\bin\\LightupClient.dll\\r\\nExit Code: -2147450740\\r\\nStdOut:\\r\\n\\r\\nStdErr:\\r\\nError:\\r\\n  An assembly specified in the application dependencies manifest (LightupLib.deps.json) was not found:\\r\\n    package: 'Newtonsoft.Json', version: '9.0.1'\\r\\n    path: 'lib/netstandard1.0/Newtonsoft.Json.dll'\\r\\n\\r\\n\"
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in FluentAssertions.dll:token 0x600015c+0x1d
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message) in FluentAssertions.dll:token 0x6000164+0x11
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) in FluentAssertions.Core.dll:token 0x6000373+0x0
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in FluentAssertions.Core.dll:token 0x600034f+0x71
   at Microsoft.DotNet.CoreSetup.Test.CommandResultAssertions.Pass() in C:\git\runtime5\src\installer\tests\TestUtils\Assertions\CommandResultAssertions.cs:line 30
   at Microsoft.DotNet.CoreSetup.Test.HostActivation.LightupAppActivation.Muxer_activation_of_LightupApp_WithLightupLib_Succeeds() in C:\git\runtime5\src\installer\tests\HostActivation.Tests\LightupAppActivation.cs:line 136
4.3097953s✘ Microsoft.DotNet.CoreSetup.Test.HostActivation.PortableAppActivation.Muxer_Exec_activation_of_Build_Output_Portable_DLL_with_DepsJson_Remote_and_RuntimeConfig_Local_Succeeds
Expected command to pass but it did not.\"\\r\\nFile Name: C:\\git\\runtime5\\artifacts\\tests\\Debug\\ha\\sharedFrameworkPublish\\dotnet.exe\\r\\nArguments: exec --depsfile C:\\git\\runtime5\\artifacts\\tests\\Debug\\ha\\wcvnhpmb.gav\\PortableApp\\d\\PortableApp.deps.json C:\\git\\runtime5\\artifacts\\tests\\Debug\\ha\\wcvnhpmb.gav\\PortableApp\\bin\\PortableApp.dll\\r\\nExit Code: -532462766\\r\\nStdOut:\\r\\n\\r\\nStdErr:\\r\\nUnhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the file specified.\\r\\nFile name: 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'\\r\\n   at PortableApp.Program.Main(String[] args)\\r\\n\\r\\n\"
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in FluentAssertions.dll:token 0x600015c+0x1d
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message) in FluentAssertions.dll:token 0x6000164+0x11
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) in FluentAssertions.Core.dll:token 0x6000373+0x0
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in FluentAssertions.Core.dll:token 0x600034f+0x71
   at Microsoft.DotNet.CoreSetup.Test.CommandResultAssertions.Pass() in C:\git\runtime5\src\installer\tests\TestUtils\Assertions\CommandResultAssertions.cs:line 30
   at Microsoft.DotNet.CoreSetup.Test.HostActivation.PortableAppActivation.Muxer_Exec_activation_of_Build_Output_Portable_DLL_with_DepsJson_Remote_and_RuntimeConfig_Local_Succeeds() in C:\git\runtime5\src\installer\tests\HostActivation.Tests\PortableAppActivation.cs:line 170

related PR #55283

cc @dotnet/runtime-infrastructure

@dotnet-issue-labeler dotnet-issue-labeler bot added area-Host untriaged New issue has not been triaged by the area owner labels Jul 15, 2021
@ghost
Copy link

ghost commented Jul 15, 2021

Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov
See info in area-owners.md if you want to be subscribed.

Issue Details

2 of the hostactivation test are failing on updating the runtime to preview5

Failed tests
6.7899277s✘ Microsoft.DotNet.CoreSetup.Test.HostActivation.LightupAppActivation.Muxer_activation_of_LightupApp_WithLightupLib_Succeeds
Expected command to pass but it did not.\"\\r\\nFile Name: C:\\git\\runtime5\\artifacts\\tests\\Debug\\ha\\sharedFrameworkPublish\\dotnet.exe\\r\\nArguments: exec --additional-deps C:\\git\\runtime5\\artifacts\\tests\\Debug\\ha\\r1nmblem.nza\\LightupClient C:\\git\\runtime5\\artifacts\\tests\\Debug\\ha\\r1nmblem.nza\\LightupClient\\bin\\LightupClient.dll\\r\\nExit Code: -2147450740\\r\\nStdOut:\\r\\n\\r\\nStdErr:\\r\\nError:\\r\\n  An assembly specified in the application dependencies manifest (LightupLib.deps.json) was not found:\\r\\n    package: 'Newtonsoft.Json', version: '9.0.1'\\r\\n    path: 'lib/netstandard1.0/Newtonsoft.Json.dll'\\r\\n\\r\\n\"
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in FluentAssertions.dll:token 0x600015c+0x1d
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message) in FluentAssertions.dll:token 0x6000164+0x11
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) in FluentAssertions.Core.dll:token 0x6000373+0x0
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in FluentAssertions.Core.dll:token 0x600034f+0x71
   at Microsoft.DotNet.CoreSetup.Test.CommandResultAssertions.Pass() in C:\git\runtime5\src\installer\tests\TestUtils\Assertions\CommandResultAssertions.cs:line 30
   at Microsoft.DotNet.CoreSetup.Test.HostActivation.LightupAppActivation.Muxer_activation_of_LightupApp_WithLightupLib_Succeeds() in C:\git\runtime5\src\installer\tests\HostActivation.Tests\LightupAppActivation.cs:line 136
4.3097953s✘ Microsoft.DotNet.CoreSetup.Test.HostActivation.PortableAppActivation.Muxer_Exec_activation_of_Build_Output_Portable_DLL_with_DepsJson_Remote_and_RuntimeConfig_Local_Succeeds
Expected command to pass but it did not.\"\\r\\nFile Name: C:\\git\\runtime5\\artifacts\\tests\\Debug\\ha\\sharedFrameworkPublish\\dotnet.exe\\r\\nArguments: exec --depsfile C:\\git\\runtime5\\artifacts\\tests\\Debug\\ha\\wcvnhpmb.gav\\PortableApp\\d\\PortableApp.deps.json C:\\git\\runtime5\\artifacts\\tests\\Debug\\ha\\wcvnhpmb.gav\\PortableApp\\bin\\PortableApp.dll\\r\\nExit Code: -532462766\\r\\nStdOut:\\r\\n\\r\\nStdErr:\\r\\nUnhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the file specified.\\r\\nFile name: 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'\\r\\n   at PortableApp.Program.Main(String[] args)\\r\\n\\r\\n\"
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message) in FluentAssertions.dll:token 0x600015c+0x1d
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message) in FluentAssertions.dll:token 0x6000164+0x11
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message) in FluentAssertions.Core.dll:token 0x6000373+0x0
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args) in FluentAssertions.Core.dll:token 0x600034f+0x71
   at Microsoft.DotNet.CoreSetup.Test.CommandResultAssertions.Pass() in C:\git\runtime5\src\installer\tests\TestUtils\Assertions\CommandResultAssertions.cs:line 30
   at Microsoft.DotNet.CoreSetup.Test.HostActivation.PortableAppActivation.Muxer_Exec_activation_of_Build_Output_Portable_DLL_with_DepsJson_Remote_and_RuntimeConfig_Local_Succeeds() in C:\git\runtime5\src\installer\tests\HostActivation.Tests\PortableAppActivation.cs:line 170

cc @dotnet/runtime-infrastructure

Author: Anipik
Assignees: -
Labels:

area-Host, untriaged

Milestone: -

@safern
Copy link
Member

safern commented Jul 15, 2021

cc: @mateoatr @agocke

@agocke agocke removed the untriaged New issue has not been triaged by the area owner label Jul 19, 2021
@agocke agocke added this to the 6.0.0 milestone Jul 19, 2021
@vitek-karas
Copy link
Member

This has been fixed in the integration PR with 077b500.

@ghost ghost locked as resolved and limited conversation to collaborators Aug 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants