Skip to content

Concurrent_Enqueue_TryPeek_TryDequeue_AllItemsSeen failing sporadically #19614

@stephentoub

Description

@stephentoub

Since dotnet/corefx#14254 was merged, the Concurrent_Enqueue_TryPeek_TryDequeue_AllItemsSeen test has failed a few times, but only on Unix. The test is simple and has been very stable, so there's likely a product issue. It looks like something is amiss with the fences, as we appear to be overwriting a value that shouldn't be.

https://ci.dot.net/job/dotnet_corefx/job/master/job/centos7.1_release/330/consoleText
https://ci.dot.net/job/dotnet_corefx/job/master/job/outerloop_ubuntu14.04_debug/40/consoleText

        System.AggregateException : One or more errors occurred. (Assert.Equal() Failure
        Expected: 1
        Actual:   33)
        ---- Assert.Equal() Failure
        Expected: 1
        Actual:   33
        Stack Trace:
              at System.ThrowHelper.ThrowAggregateException(List`1 exceptions)
              at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
           /mnt/resource/j/workspace/dotnet_corefx/master/centos7.1_release/src/System.Collections.Concurrent/tests/ConcurrentQueueTests.cs(91,0): at System.Collections.Concurrent.Tests.ConcurrentQueueTests.Concurrent_Enqueue_TryPeek_TryDequeue_AllItemsSeen()
           ----- Inner Stack Trace -----
           /mnt/resource/j/workspace/dotnet_corefx/master/centos7.1_release/src/System.Collections.Concurrent/tests/ConcurrentQueueTests.cs(76,0): at System.Collections.Concurrent.Tests.ConcurrentQueueTests.<>c__DisplayClass10_0.<Concurrent_Enqueue_TryPeek_TryDequeue_AllItemsSeen>b__0()
              at System.Threading.Tasks.Task.Execute()

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions