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

[MT][browser] System.Threading.Tasks.Tests.TaskContinueWhenAllTests fails #91548

Closed
ilonatommy opened this issue Sep 4, 2023 · 3 comments
Closed
Assignees
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono disabled-test The test is disabled in source code against the issue
Milestone

Comments

@ilonatommy
Copy link
Member

ilonatommy commented Sep 4, 2023

After enabling all MT library tests (#91536)

Assert.Null() Failure
info: Expected: (null)
info: Actual:   System.AggregateException: One or more errors occurred. (An exception was thrown by a TaskScheduler.)
info:            ---> System.Threading.Tasks.TaskSchedulerException: An exception was thrown by a TaskScheduler.
info:            ---> System.Threading.ThreadStartException: Thread failed to start.
info:            ---> System.ExecutionEngineException: mono_thread_platform_create_thread() failed
info:              --- End of inner exception stack trace ---
info:              at System.Threading.Thread.ThrowThreadStartException(Exception ex)
info:              at System.Threading.Thread.StartCore()
info:              at System.Threading.Thread.Start(Object parameter, Boolean captureContext, Boolean internalThread)
info:              at System.Threading.Thread.UnsafeStart(Object parameter)
info:              at System.Threading.Tasks.ThreadPoolTaskScheduler.QueueTask(Task task)
info:              at System.Threading.Tasks.TaskScheduler.InternalQueueTask(Task task)
info:              at System.Threading.Tasks.Task.ScheduleAndStart(Boolean needsProtection)
info:              --- End of inner exception stack trace ---
info:              at System.Threading.Tasks.Task.ScheduleAndStart(Boolean needsProtection)
info:              at System.Threading.Tasks.ContinueWithTaskContinuation.Run(Task completedTask, Boolean canInlineContinuationTask)
info:              --- End of inner exception stack trace ---
info:              at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
info:              at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
info:              at System.Threading.Tasks.Task.Wait()
info:              at System.Threading.Tasks.Tests.TaskContinueWhenAllTests.TestContinueWhenAll_TaskContinuationOptions()
@ilonatommy ilonatommy added arch-wasm WebAssembly architecture disabled-test The test is disabled in source code against the issue area-Build-mono area-VM-threading-mono labels Sep 4, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Sep 4, 2023
@ghost
Copy link

ghost commented Sep 4, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details
Assert.Null() Failure
info: Expected: (null)
info: Actual:   System.AggregateException: One or more errors occurred. (An exception was thrown by a TaskScheduler.)
info:            ---> System.Threading.Tasks.TaskSchedulerException: An exception was thrown by a TaskScheduler.
info:            ---> System.Threading.ThreadStartException: Thread failed to start.
info:            ---> System.ExecutionEngineException: mono_thread_platform_create_thread() failed
info:              --- End of inner exception stack trace ---
info:              at System.Threading.Thread.ThrowThreadStartException(Exception ex)
info:              at System.Threading.Thread.StartCore()
info:              at System.Threading.Thread.Start(Object parameter, Boolean captureContext, Boolean internalThread)
info:              at System.Threading.Thread.UnsafeStart(Object parameter)
info:              at System.Threading.Tasks.ThreadPoolTaskScheduler.QueueTask(Task task)
info:              at System.Threading.Tasks.TaskScheduler.InternalQueueTask(Task task)
info:              at System.Threading.Tasks.Task.ScheduleAndStart(Boolean needsProtection)
info:              --- End of inner exception stack trace ---
info:              at System.Threading.Tasks.Task.ScheduleAndStart(Boolean needsProtection)
info:              at System.Threading.Tasks.ContinueWithTaskContinuation.Run(Task completedTask, Boolean canInlineContinuationTask)
info:              --- End of inner exception stack trace ---
info:              at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
info:              at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
info:              at System.Threading.Tasks.Task.Wait()
info:              at System.Threading.Tasks.Tests.TaskContinueWhenAllTests.TestContinueWhenAll_TaskContinuationOptions()
Author: ilonatommy
Assignees: -
Labels:

arch-wasm, disabled-test, area-Build-mono, area-VM-threading-mono

Milestone: -

@radical radical added this to the 9.0.0 milestone Sep 5, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Sep 5, 2023
@pavelsavara
Copy link
Member

pavelsavara commented Nov 8, 2023

maybe this was "resolved" by #94204 , please try again

@ilonatommy
Copy link
Member Author

ilonatommy commented Nov 8, 2023

Same as #91549, no tests blocked by this issue. TestContinueWhenAll_TaskContinuationOptions passes when run on repeat. The whole lib is blocked by #91538 and it hangs with no exception thrown.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono disabled-test The test is disabled in source code against the issue
Projects
None yet
Development

No branches or pull requests

3 participants