{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/9887","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/9887/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/9887/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/9887/events","html_url":"https://github.com/dotnet/corefx/issues/9887","id":164287848,"number":9887,"title":"Failed tests in System.Threading.Tasks.Channels.Tests.ValueTaskTests on Ubuntu","user":{"login":"svick","id":287848,"avatar_url":"https://avatars.githubusercontent.com/u/287848?v=3","gravatar_id":"","url":"https://api.github.com/users/svick","html_url":"https://github.com/svick","followers_url":"https://api.github.com/users/svick/followers","following_url":"https://api.github.com/users/svick/following{/other_user}","gists_url":"https://api.github.com/users/svick/gists{/gist_id}","starred_url":"https://api.github.com/users/svick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svick/subscriptions","organizations_url":"https://api.github.com/users/svick/orgs","repos_url":"https://api.github.com/users/svick/repos","events_url":"https://api.github.com/users/svick/events{/privacy}","received_events_url":"https://api.github.com/users/svick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-07T11:29:07Z","updated_at":"2016-07-07T11:52:17Z","closed_at":null,"body":"When running `./build.sh` on an Ubuntu 16.04 VM, I get the following failure in System.Threading.Tasks.Extensions.Tests:\r\n\r\n```\r\n/home/osboxes/corefx/Tools/Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [/home/osboxes/corefx/src/System.Threading.Tasks.Extensions/tests/System.Threading.Tasks.Extensions.Tests.csproj]\r\n  System.Threading.Tasks.Extensions.Tests -> /home/osboxes/corefx/bin/AnyOS.AnyCPU.Debug/System.Threading.Tasks.Extensions.Tests/System.Threading.Tasks.Extensions.Tests.dll\r\n  Using /home/osboxes/corefx/packages/ as folder for resolving package dependencies.\r\n  Executing in /home/osboxes/corefx/bin/tests/AnyOS.AnyCPU.Debug/System.Threading.Tasks.Extensions.Tests/netcoreapp1.0\r\n  Executing in unpack directory, do not have to copy files\r\n  Hard linking dependent files...\r\n  /home/osboxes/corefx/bin/tests/AnyOS.AnyCPU.Debug/System.Threading.Tasks.Extensions.Tests/netcoreapp1.0/System.Threading.Tasks.Extensions.dll already exists, not copying.\r\n  Finished linking needed files, moving to running tests.\r\n  Running tests... Start time: 01:46:16\r\n  Commands:\r\n  ./corerun xunit.console.netcore.exe System.Threading.Tasks.Extensions.Tests.dll -xml testResults.xml -notrait Benchmark=true -notrait category=OuterLoop -notrait category=failing -notrait category=nonlinuxtests\r\n  xUnit.net console test runner (64-bit .NET Core)\r\n  Copyright (C) 2014 Outercurve Foundation.\r\n  \r\n  Discovering: System.Threading.Tasks.Extensions.Tests\r\n  Discovered:  System.Threading.Tasks.Extensions.Tests\r\n  Starting:    System.Threading.Tasks.Extensions.Tests\r\n     System.Threading.Tasks.Channels.Tests.ValueTaskTests.Awaiter_OnCompleted [FAIL]\r\n        Assert.True() Failure\r\n        Expected: True\r\n        Actual:   False\r\n        Stack Trace:\r\n              at System.Threading.Tasks.Channels.Tests.ValueTaskTests.Awaiter_OnCompleted()\r\n     System.Threading.Tasks.Channels.Tests.ValueTaskTests.ConfiguredAwaiter_OnCompleted(continueOnCapturedContext: True) [FAIL]\r\n        Assert.True() Failure\r\n        Expected: True\r\n        Actual:   False\r\n        Stack Trace:\r\n              at System.Threading.Tasks.Channels.Tests.ValueTaskTests.ConfiguredAwaiter_OnCompleted(Boolean continueOnCapturedContext)\r\n  Finished:    System.Threading.Tasks.Extensions.Tests\r\n  \r\n  === TEST EXECUTION SUMMARY ===\r\n/home/osboxes/corefx/Tools/tests.targets(217,5): warning :    System.Threading.Tasks.Extensions.Tests  Total: 25, Errors: 0, Failed: 2, Skipped: 0, Time: 21.718s [/home/osboxes/corefx/src/System.Threading.Tasks.Extensions/tests/System.Threading.Tasks.Extensions.Tests.csproj]\r\n  Finished running tests. End time=01:46:39. Return value was 2\r\n/home/osboxes/corefx/Tools/tests.targets(217,5): warning MSB3073: The command \"/home/osboxes/corefx/bin/tests/AnyOS.AnyCPU.Debug/System.Threading.Tasks.Extensions.Tests/netcoreapp1.0/RunTests.sh /home/osboxes/corefx/packages/\" exited with code 2. [/home/osboxes/corefx/src/System.Threading.Tasks.Extensions/tests/System.Threading.Tasks.Extensions.Tests.csproj]\r\n/home/osboxes/corefx/Tools/tests.targets(226,5): error : One or more tests failed while running tests from 'System.Threading.Tasks.Extensions.Tests' please check log for details! [/home/osboxes/corefx/src/System.Threading.Tasks.Extensions/tests/System.Threading.Tasks.Extensions.Tests.csproj]\r\n```"},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/231056594","html_url":"https://github.com/dotnet/corefx/issues/9887#issuecomment-231056594","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/9887","id":231056594,"user":{"login":"svick","id":287848,"avatar_url":"https://avatars.githubusercontent.com/u/287848?v=3","gravatar_id":"","url":"https://api.github.com/users/svick","html_url":"https://github.com/svick","followers_url":"https://api.github.com/users/svick/followers","following_url":"https://api.github.com/users/svick/following{/other_user}","gists_url":"https://api.github.com/users/svick/gists{/gist_id}","starred_url":"https://api.github.com/users/svick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svick/subscriptions","organizations_url":"https://api.github.com/users/svick/orgs","repos_url":"https://api.github.com/users/svick/repos","events_url":"https://api.github.com/users/svick/events{/privacy}","received_events_url":"https://api.github.com/users/svick/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T11:52:17Z","updated_at":"2016-07-07T11:52:17Z","body":"@stephentoub No, there's pretty much nothing else happening on the VM or the host machine.\r\n\r\nConsidering that in `ValueTaskTests.Awaiter_OnCompleted`, the callback is called 20 seconds after `OnCompleted()`, and it only affects the second test when `continueOnCapturedContext: True`, I suspect it's related to `SynchronizationContext`."}}
{"actor":{"display_login":"svick"}}