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

Stress test break reading content back from ReFS CoW link #3

Closed
erikmav opened this issue Apr 18, 2022 · 1 comment
Closed

Stress test break reading content back from ReFS CoW link #3

erikmav opened this issue Apr 18, 2022 · 1 comment

Comments

@erikmav
Copy link
Contributor

erikmav commented Apr 18, 2022

Sporadic failure. Occurs in either the 32 or 64 bit test suites. One interesting data point is that the test failure seems to occur on a test iteration that is a multiple of 510 (test510, test1020 seen in practice).

Test method Microsoft.CopyOnWrite.Tests.CopyOnWriteTests_Windows.ReFSPositiveDetectionAndCloneFileCorrectBehavior threw exception:
System.AggregateException: One or more errors occurred. (Assert.AreEqual failed. Expected:<1234abcd>. Actual:<\0\0\0\0\0\0\0\0>. B:\Stress1\test510) ---> Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Assert.AreEqual failed. Expected:<1234abcd>. Actual:<\0\0\0\0\0\0\0\0>. B:\Stress1\test510

Stack Trace: 
<>c__DisplayClass10_1.b__0(Int32 i) line 241
<>c__DisplayClass19_01.<ForWorker>b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion) --- End of stack trace from previous location --- <>c__DisplayClass19_01.b__1(RangeWorker& currentWorker, Int32 timeout, Boolean& replicationDelegateYieldedBeforeCompletion)
Replica.Execute()
--- End of inner exception stack trace ---
TaskReplicator.Run[TState](ReplicatableUserAction1 action, ParallelOptions options, Boolean stopOnFirstFailure) Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally)
--- End of stack trace from previous location ---
Parallel.ThrowSingleCancellationExceptionOrOtherException(ICollection exceptions, CancellationToken cancelToken, Exception otherException)
Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action1 body, Action2 bodyWithState, Func4 bodyWithLocal, Func1 localInit, Action1 localFinally) Parallel.For(Int32 fromInclusive, Int32 toExclusive, Action1 body)
CopyOnWriteTests_Windows.StressTestCloning(String refsRoot) line 239
CopyOnWriteTests_Windows.ReFSPositiveDetectionAndCloneFileCorrectBehavior() line 157
CopyOnWriteTests_Windows.ReFSPositiveDetectionAndCloneFileCorrectBehavior() line 157
ThreadOperations.ExecuteWithAbortSafety(Action action)

Standard Output: 
Creating file with size 2147484672
Running parallel stress test for 8175 CoW links
Running parallel stress test for 8175 CoW links

@erikmav
Copy link
Contributor Author

erikmav commented Sep 6, 2022

Fixed with #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant