Skip to content

Re-enable BrowserLaunchTests tests  #28479

Closed
@JunTaoLuo

Description

@JunTaoLuo

these tests were disabled as part of #27845. The failure logs indicate it's an assembly mismatch issue:

12/6/2020 2:09:24 PM: post: 'watch : Evaluating dotnet-watch file set.'
12/6/2020 2:09:24 PM: recv: 'watch : Evaluating dotnet-watch file set.'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:24 PM: post: 'watch : Running MSBuild target 'GenerateWatchList' on 'C:\h\w\B075092F\w\B0D809C6\e\tmp\i0axq0dk.hi5\AppWithLaunchSettings\AppWithLaunchSettings.csproj''
12/6/2020 2:09:24 PM: recv: 'watch : Running MSBuild target 'GenerateWatchList' on 'C:\h\w\B075092F\w\B0D809C6\e\tmp\i0axq0dk.hi5\AppWithLaunchSettings\AppWithLaunchSettings.csproj''. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:24 PM: post: 'watch : Started 'C:\h\w\B075092F\w\B0D809C6\e\sdk32326\x64\dotnet.exe' with process id 6024'
12/6/2020 2:09:24 PM: recv: 'watch : Started 'C:\h\w\B075092F\w\B0D809C6\e\sdk32326\x64\dotnet.exe' with process id 6024'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:25 PM: post: 'watch : Process id 6024 ran for 808ms'
12/6/2020 2:09:25 PM: recv: 'watch : Process id 6024 ran for 808ms'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:25 PM: post: 'watch : Watching 2 file(s) for changes'
12/6/2020 2:09:25 PM: recv: 'watch : Watching 2 file(s) for changes'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:25 PM: post: 'watch : Watch command can be configured to use --no-restore.'
12/6/2020 2:09:25 PM: recv: 'watch : Watch command can be configured to use --no-restore.'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:25 PM: post: 'watch : No restore arguments: run --no-restore --'
12/6/2020 2:09:25 PM: recv: 'watch : No restore arguments: run --no-restore --'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:25 PM: post: 'watch : dotnet-watch is configured to launch a browser on ASP.NET Core application startup.'
12/6/2020 2:09:25 PM: recv: 'watch : dotnet-watch is configured to launch a browser on ASP.NET Core application startup.'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:26 PM: post: 'watch : Refresh server running at ws://127.0.0.1:58794.'
12/6/2020 2:09:26 PM: recv: 'watch : Refresh server running at ws://127.0.0.1:58794.'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:26 PM: post: 'watch : Started 'C:\h\w\B075092F\w\B0D809C6\e\sdk32326\x64\dotnet.exe' with process id 6936'
12/6/2020 2:09:26 PM: post: 'watch : Running dotnet with the following arguments: run --'
12/6/2020 2:09:26 PM: post: 'watch : Started'
12/6/2020 2:09:26 PM: recv: 'watch : Started 'C:\h\w\B075092F\w\B0D809C6\e\sdk32326\x64\dotnet.exe' with process id 6936'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:26 PM: recv: 'watch : Running dotnet with the following arguments: run --'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:26 PM: recv: 'watch : Started'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:26 PM: post: 'Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.'
12/6/2020 2:09:26 PM: post: 'File name: 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''
12/6/2020 2:09:26 PM: post: '   at System.Reflection.RuntimeAssembly.GetType(QCallAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type, ObjectHandleOnStack keepAlive, ObjectHandleOnStack assemblyLoadContext)'
12/6/2020 2:09:26 PM: post: '   at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)'
12/6/2020 2:09:26 PM: post: '   at System.Reflection.Assembly.GetType(String name, Boolean throwOnError)'
12/6/2020 2:09:26 PM: post: '   at System.StartupHookProvider.CallStartupHook(StartupHookNameOrPath startupHook)'
12/6/2020 2:09:26 PM: post: '   at System.StartupHookProvider.ProcessStartupHooks()'
12/6/2020 2:09:26 PM: recv: 'Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:26 PM: recv: 'File name: 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a''. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:26 PM: recv: '   at System.Reflection.RuntimeAssembly.GetType(QCallAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type, ObjectHandleOnStack keepAlive, ObjectHandleOnStack assemblyLoadContext)'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:26 PM: recv: '   at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:26 PM: recv: '   at System.Reflection.Assembly.GetType(String name, Boolean throwOnError)'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:26 PM: recv: '   at System.StartupHookProvider.CallStartupHook(StartupHookNameOrPath startupHook)'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:26 PM: recv: '   at System.StartupHookProvider.ProcessStartupHooks()'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:26 PM: post: 'Writing minidump with heap to file C:\cores\dotnet.6936.dmp'
12/6/2020 2:09:26 PM: recv: 'Writing minidump with heap to file C:\cores\dotnet.6936.dmp'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:26 PM: post: 'Dump successfully written'
12/6/2020 2:09:26 PM: recv: 'Dump successfully written'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:34 PM: post: ''
12/6/2020 2:09:34 PM: recv: ''. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:34 PM: post: 'watch : Process id 6936 ran for 8637ms'
12/6/2020 2:09:34 PM: recv: 'watch : Process id 6936 ran for 8637ms'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:34 PM: post: 'watch : Exited with error code -532462766'
12/6/2020 2:09:34 PM: recv: 'watch : Exited with error code -532462766'. Does not match condition '[msg == 'Started']'.
12/6/2020 2:09:34 PM: post: 'watch : Waiting for a file to change before restarting dotnet...'
12/6/2020 2:09:34 PM: recv: 'watch : Waiting for a file to change before restarting dotnet...'. Does not match condition '[msg == 'Started']'.
Disposing WatchableApp

It shouldn't be difficult to fix this but we'll do it separately to unblock the PR.

Metadata

Metadata

Assignees

Labels

area-commandlinetoolsIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPItasktest-failure

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions