question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dotnet watch tests timing out

See original GitHub issue

Pattern: Failing on Win10 arm64 builds for the last three days. Quarantined. https://dev.azure.com/dnceng/public/_build/results?buildId=765006&view=ms.vss-test-web.build-test-results-tab&runId=23772704&resultId=121076&paneView=debug https://dev.azure.com/dnceng/public/_build/results?buildId=766216&view=ms.vss-test-web.build-test-results-tab&runId=23810024&resultId=121079&paneView=debug https://dev.azure.com/dnceng/public/_build/results?buildId=766845&view=ms.vss-test-web.build-test-results-tab&runId=23842494&resultId=121106&paneView=debug

Microsoft.DotNet.Watcher.Tools.FunctionalTests.DotNetWatcherTests.RunsWithIterationEnvVariable Microsoft.DotNet.Watcher.Tools.FunctionalTests.NoDepsAppTests.RestartProcessThatTerminatesAfterFileChange

Dumps are attached to the build results.

System.Threading.Tasks.TaskCanceledException : A task was canceled.
   at Microsoft.DotNet.Watcher.Tools.FunctionalTests.AwaitableProcess.GetOutputLineAsync(String predicateName, Predicate`1 predicate, CancellationToken cancellationToken) in /_/src/Tools/dotnet-watch/test/AwaitableProcess.cs:line 103
   at Microsoft.DotNet.Watcher.Tools.FunctionalTests.AwaitableProcess.GetOutputLineAsync(String message, TimeSpan timeout) in /_/src/Tools/dotnet-watch/test/AwaitableProcess.cs:line 88
   at Microsoft.DotNet.Watcher.Tools.FunctionalTests.DotNetWatcherTests.RunsWithIterationEnvVariable() in /_/src/Tools/dotnet-watch/test/DotNetWatcherTests.cs:line 53
--- End of stack trace from previous location ---
[xUnit.net 00:03:56.73]         8/11/2020 5:22:20 PM: recv: 'watch : Started'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: 'MSBUILD : error MSB1025: An internal failure occurred while running MSBuild.'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: 'MSBUILD : error MSB1025: An internal failure occurred while running MSBuild.'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: 'System.Runtime.InteropServices.COMException (0x80004005): Unspecified error (0x80004005 (E_FAIL))'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at System.Runtime.InteropServices.GCHandle.InternalSet(IntPtr handle, Object value)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: 'System.Runtime.InteropServices.COMException (0x80004005): Unspecified error (0x80004005 (E_FAIL))'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at System.Runtime.InteropServices.GCHandle.InternalSet(IntPtr handle, Object value)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at System.Runtime.InteropServices.GCHandle.set_Target(Object value)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.WeakStringCache.GetOrCreateEntry[T](T internable, Boolean& cacheHit)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.OpportunisticIntern.WeakStringCacheInterner.TryIntern[T](T candidate, String& interned)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.OpportunisticIntern.WeakStringCacheInterner.InterningToString[T](T candidate)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.OpportunisticIntern.InternableToStringImpl[T](T candidate)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at System.Runtime.InteropServices.GCHandle.set_Target(Object value)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.Evaluation.Expander`2.ItemExpander.ExpandItemVectorsIntoString[T](Expander`2 expander, String expression, IItemProvider`1 items, ExpanderOptions options, IElementLocation elementLocation)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.Evaluation.Expander`2.ExpandIntoStringLeaveEscaped(String expression, ExpanderOptions options, IElementLocation elementLocation)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.BackEnd.ItemGroupIntrinsicTask.ExpandItemIntoItems(ProjectItemGroupTaskItemInstance originalItem, Expander`2 expander, ISet`1 keepMetadata, ISet`1 removeMetadata)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.WeakStringCache.GetOrCreateEntry[T](T internable, Boolean& cacheHit)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.OpportunisticIntern.WeakStringCacheInterner.TryIntern[T](T candidate, String& interned)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.OpportunisticIntern.WeakStringCacheInterner.InterningToString[T](T candidate)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.OpportunisticIntern.InternableToStringImpl[T](T candidate)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.Evaluation.Expander`2.ItemExpander.ExpandItemVectorsIntoString[T](Expander`2 expander, String expression, IItemProvider`1 items, ExpanderOptions options, IElementLocation elementLocation)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.BackEnd.ItemGroupIntrinsicTask.ExecuteAdd(ProjectItemGroupTaskItemInstance child, ItemBucket bucket, ISet`1 keepMetadata, ISet`1 removeMetadata)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.Evaluation.Expander`2.ExpandIntoStringLeaveEscaped(String expression, ExpanderOptions options, IElementLocation elementLocation)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.BackEnd.ItemGroupIntrinsicTask.ExecuteTask(Lookup lookup)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.BackEnd.ItemGroupIntrinsicTask.ExpandItemIntoItems(ProjectItemGroupTaskItemInstance originalItem, Expander`2 expander, ISet`1 keepMetadata, ISet`1 removeMetadata)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteIntrinsicTask(ItemBucket bucket)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteBucket(TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Dictionary`2 lookupHash)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.BackEnd.ItemGroupIntrinsicTask.ExecuteAdd(ProjectItemGroupTaskItemInstance child, ItemBucket bucket, ISet`1 keepMetadata, ISet`1 removeMetadata)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteTask(TaskExecutionMode mode, Lookup lookup)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.BackEnd.ItemGroupIntrinsicTask.ExecuteTask(Lookup lookup)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteIntrinsicTask(ItemBucket bucket)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteTask(TargetLoggingContext loggingContext, BuildRequestEntry requestEntry, ITargetBuilderCallback targetBuilderCallback, ProjectTargetInstanceChild taskInstance, TaskExecutionMode mode, Lookup inferLookup, Lookup executeLookup, CancellationToken cancellationToken)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteBucket(TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Dictionary`2 lookupHash)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.BackEnd.TargetEntry.ProcessBucket(ITaskBuilder taskBuilder, TargetLoggingContext targetLoggingContext, TaskExecutionMode mode, Lookup lookupForInference, Lookup lookupForExecution)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteTask(TaskExecutionMode mode, Lookup lookup)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteTask(TargetLoggingContext loggingContext, BuildRequestEntry requestEntry, ITargetBuilderCallback targetBuilderCallback, ProjectTargetInstanceChild taskInstance, TaskExecutionMode mode, Lookup inferLookup, Lookup executeLookup, CancellationToken cancellationToken)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.BackEnd.TargetEntry.ProcessBucket(ITaskBuilder taskBuilder, TargetLoggingContext targetLoggingContext, TaskExecutionMode mode, Lookup lookupForInference, Lookup lookupForExecution)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.BackEnd.TargetEntry.ExecuteTarget(ITaskBuilder taskBuilder, BuildRequestEntry requestEntry, ProjectLoggingContext projectLoggingContext, CancellationToken cancellationToken)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.BackEnd.TargetBuilder.ProcessTargetStack(ITaskBuilder taskBuilder)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.BackEnd.TargetEntry.ExecuteTarget(ITaskBuilder taskBuilder, BuildRequestEntry requestEntry, ProjectLoggingContext projectLoggingContext, CancellationToken cancellationToken)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.BackEnd.TargetBuilder.BuildTargets(ProjectLoggingContext loggingContext, BuildRequestEntry entry, IRequestBuilderCallback callback, String[] targetNames, Lookup baseLookup, CancellationToken cancellationToken)'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.BackEnd.TargetBuilder.ProcessTargetStack(ITaskBuilder taskBuilder)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.BackEnd.RequestBuilder.BuildProject()'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: '   at Microsoft.Build.BackEnd.RequestBuilder.BuildAndReport()'
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: post: ''
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.BackEnd.TargetBuilder.BuildTargets(ProjectLoggingContext loggingContext, BuildRequestEntry entry, IRequestBuilderCallback callback, String[] targetNames, Lookup baseLookup, CancellationToken cancellationToken)'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.BackEnd.RequestBuilder.BuildProject()'. Does not match condition '[msg == 'Started']'.
[xUnit.net 00:03:56.73]         8/11/2020 5:22:22 PM: recv: '   at Microsoft.Build.BackEnd.RequestBuilder.BuildAndReport()'. Does not match condition '[msg == 'Started']'.

console.5303f2bf.txt

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:20 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
dougbucommented, Aug 20, 2020

/fyi Arcade updates will update our .NET SDK but only when we let ourselves fall behind their minimum. Right now the Arcade minimum is just before the previous public preview (5.0.100-preview.6.20310.4).

0reactions
pranavkmcommented, Jan 27, 2021

These tests have unquarantined as part of migrating dotnet-watch tests to the SDK

Read more comments on GitHub >

github_iconTop Results From Across the Web

dotnet watch command - .NET CLI
The dotnet watch command is a file watcher that runs a dotnet command when changes in source code are detected.
Read more >
Command Line: Using dotnet watch test for continuous ...
I've installed .NET Core 1.0 on my machine. Let's see if I can get a class library and tests running and compiling automatically...
Read more >
Automate Testing and Running Apps with dotnet watch | Blog
NET Core apps, you're probably very familiar with typing dotnet run and/or dotnet test every time you make a change to your app....
Read more >
How to stop dotnet watch run properly?
I have a folder with identity scaffolded dotnet application from the official tutorial. After i run dotnet watch run , I have an...
Read more >
Using dotnet watch test for continuous testing with .NET ...
Tests are run with dotnet test, not dotnet run. Tests are libraries and don't have an entry point, so dotnet run isn't what...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found