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

[Storage] [DataMovement] Service Copy File Share #39530

Merged
merged 16 commits into from
Nov 1, 2023

Remove unnecessary tests

6db00b8
Select commit
Loading
Failed to load commit list.
Merged

[Storage] [DataMovement] Service Copy File Share #39530

Remove unnecessary tests
6db00b8
Select commit
Loading
Failed to load commit list.
Azure Pipelines / net - storage - tests failed Nov 1, 2023 in 1h 50m 2s

Build #20231031.5 had test failures

Details

Tests

  • Failed: 6 (0.01%)
  • Passed: 73,245 (88.01%)
  • Other: 9,975 (11.99%)
  • Total: 83,226
Code coverage

  • 16068 of 38231 branches covered (42.03%)
  • 59721 of 125486 lines covered (47.59%)

Annotations

Check failure on line 13172 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / net - storage - tests

Build log #L13172

Cmd.exe exited with code '1'.

Check failure on line 12922 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / net - storage - tests

Build log #L12922

Bash exited with code '1'.

Check failure on line 12953 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / net - storage - tests

Build log #L12953

Bash exited with code '1'.

Check failure on line 1 in Azure.Storage.DataMovement.Files.Shares.Tests.ShareDirectoryStartTransferCopyTests(False,V2023_11_03).StartTransfer_AwaitCompletion_Failed

See this annotation in the file changed.

@azure-pipelines azure-pipelines / net - storage - tests

Azure.Storage.DataMovement.Files.Shares.Tests.ShareDirectoryStartTransferCopyTests(False,V2023_11_03).StartTransfer_AwaitCompletion_Failed

System.OperationCanceledException : The operation was canceled.
Raw output
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at System.Threading.CancellationToken.ThrowIfCancellationRequested()
   at Azure.Core.Pipeline.TaskExtensions.WithCancellationTaskAwaiter`1.GetResult() in D:\a\_work\1\s\sdk\core\Azure.Core\src\Shared\TaskExtensions.cs:line 243
   at Azure.Storage.DataMovement.DataTransfer.<WaitForCompletionAsync>d__13.MoveNext() in D:\a\_work\1\s\sdk\storage\Azure.Storage.DataMovement\src\DataTransfer.cs:line 82
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
   at Azure.Storage.DataMovement.Tests.StartTransferDirectoryCopyTestBase`7.<StartTransfer_AwaitCompletion_Failed>d__38.MoveNext() in D:\a\_work\1\s\sdk\storage\Azure.Storage.DataMovement\tests\Shared\StartTransferDirectoryCopyTestBase.cs:line 723
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Azure.Storage.DataMovement.Tests.StartTransferDirectoryCopyTestBase`7.<StartTransfer_AwaitCompletion_Failed>d__38.MoveNext() in D:\a\_work\1\s\sdk\storage\Azure.Storage.DataMovement\tests\Shared\StartTransferDirectoryCopyTestBase.cs:line 731
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Azure.Storage.DataMovement.Tests.StartTransferDirectoryCopyTestBase`7.<StartTransfer_AwaitCompletion_Failed>d__38.MoveNext() in D:\a\_work\1\s\sdk\storage\Azure.Storage.DataMovement\tests\Shared\StartTransferDirectoryCopyTestBase.cs:line 731
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

Check failure on line 1 in Azure.Storage.DataMovement.Tests.ProgressHandlerTests(False,V2023_11_03).ProgressHandler_Conflict(SkipIfExists)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / net - storage - tests

Azure.Storage.DataMovement.Tests.ProgressHandlerTests(False,V2023_11_03).ProgressHandler_Conflict(SkipIfExists)

  Expected: greater than or equal to 2
  But was:  1
Raw output
   at Azure.Storage.DataMovement.Tests.ProgressHandlerAsserts.AssertProgressUpdates(IEnumerable`1 updates, Int64 fileCount) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.DataMovement/tests/ProgressHandlerAsserts.cs:line 95
   at Azure.Storage.DataMovement.Tests.ProgressHandlerAsserts.AssertFileProgress(IEnumerable`1 updates, Int64 fileCount, Int64 skippedCount, Int64 failedCount, Int32[] pauseIndexes) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.DataMovement/tests/ProgressHandlerAsserts.cs:line 48
   at Azure.Storage.DataMovement.Tests.ProgressHandlerTests.TransferAndAssertProgress(StorageResourceContainer source, StorageResourceContainer destination, Int64[] expectedBytesTransferred, Int32 fileCount, Int32 skippedCount, Int32 failedCount, TransferManagerOptions transferManagerOptions, DataTransferOptions transferOptions, Boolean trackBytes, StorageResourceCreationPreference createMode, Int32 waitTime) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.DataMovement/tests/ProgressHandlerTests.cs:line 140
   at Azure.Storage.DataMovement.Tests.ProgressHandlerTests.ProgressHandler_Conflict(StorageResourceCreationPreference createMode) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.DataMovement/tests/ProgressHandlerTests.cs:line 235
   at Azure.Storage.DataMovement.Tests.ProgressHandlerTests.ProgressHandler_Conflict(StorageResourceCreationPreference createMode) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.DataMovement/tests/ProgressHandlerTests.cs:line 235
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

1)    at Azure.Storage.DataMovement.Tests.ProgressHandlerAsserts.AssertProgressUpdates(IEnumerable`1 updates, Int64 fileCount) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.DataMovement/tests/ProgressHandlerAsserts.cs:line 95
   at Azure.Storage.DataMovement.Tests.ProgressHandlerAsserts.AssertFileProgress(IEnumerable`1 updates, Int64 fileCount, Int64 skippedCount, Int64 failedCount, Int32[] pauseIndexes) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.DataMovement/tests/ProgressHandlerAsserts.cs:line 48
   at Azure.Storage.DataMovement.Tests.ProgressHandlerTests.TransferAndAssertProgress(StorageResourceContainer source, StorageResourceContainer destination, Int64[] expectedBytesTransferred, Int32 fileCount, Int32 skippedCount, Int32 failedCount, TransferManagerOptions transferManagerOptions, DataTransferOptions transferOptions, Boolean trackBytes, StorageResourceCreationPreference createMode, Int32 waitTime) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.DataMovement/tests/ProgressHandlerTests.cs:line 140

Check failure on line 1 in Azure.Storage.Blobs.Test.ImmutableStorageWithVersioningTests(False,V2023_11_03).SetImmutibilityPolicyAsync_IfModifiedSince_Failed

See this annotation in the file changed.

@azure-pipelines azure-pipelines / net - storage - tests

Azure.Storage.Blobs.Test.ImmutableStorageWithVersioningTests(False,V2023_11_03).SetImmutibilityPolicyAsync_IfModifiedSince_Failed

  Expected string length 15 but was 17. Strings differ at index 0.
  Expected: "ConditionNotMet"
  But was:  "InvalidExpiryTime"
  -----------^
Raw output
   at Azure.Storage.Blobs.Test.ImmutableStorageWithVersioningTests.<>c.<SetImmutibilityPolicyAsync_IfModifiedSince_Failed>b__15_0(RequestFailedException e) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.Blobs/tests/ImmutableStorageWithVersioningTests.cs:line 493
   at Azure.Storage.Test.TestHelper.<>c__DisplayClass8_0`1.<AssertExpectedExceptionAsync>b__0(T _, T a) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.Common/tests/Shared/TestHelper.cs:line 109
   at Azure.Storage.Test.TestHelper.AssertExpectedExceptionAsync[T](Task task, T expectedException, Action`2 assertion) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.Common/tests/Shared/TestHelper.cs:line 124
   at Azure.Storage.Blobs.Test.ImmutableStorageWithVersioningTests.SetImmutibilityPolicyAsync_IfModifiedSince_Failed() in /Users/runner/work/1/s/sdk/storage/Azure.Storage.Blobs/tests/ImmutableStorageWithVersioningTests.cs:line 489
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

1)    at Azure.Storage.Blobs.Test.ImmutableStorageWithVersioningTests.<>c.<SetImmutibilityPolicyAsync_IfModifiedSince_Failed>b__15_0(RequestFailedException e) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.Blobs/tests/ImmutableStorageWithVersioningTests.cs:line 493
   at Azure.Storage.Test.TestHelper.<>c__DisplayClass8_0`1.<AssertExpectedExceptionAsync>b__0(T _, T a) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.Common/tests/Shared/TestHelper.cs:line 109
   at Azure.Storage.Test.TestHelper.AssertExpectedExceptionAsync[T](Task task, T expectedException, Action`2 assertion) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.Common/tests/Shared/TestHelper.cs:line 118
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Azure.Storage.Test.TestHelper.AssertExpectedExceptionAsync[T](Task task, T expectedException, Action`2 assertion)
   at Azure.Storage.Test.TestHelper.AssertExpectedExceptionAsync[T](Task task, Action`1 assertion) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.Common/tests/Shared/TestHelper.cs:line 109
   at Azure.Storage.Blobs.Test.ImmutableStorageWithVersioningTests.SetImmutibilityPolicyAsync_IfModifiedSince_Failed() in /Users/runner/work/1/s/sdk/storage/Azure.Storage.Blobs/tests/ImmutableStorageWithVersioningTests.cs:line 489
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Azure.Storage.Blobs.Test.ImmutableStorageWithVersioningTests.SetImmutibilityPolicyAsync_IfModifiedSince_Failed()

Check failure on line 1 in Azure.Storage.DataMovement.Tests.StartTransferUploadTests(True,V2023_11_03).LocalToBlockBlobSize_SmallChunk

See this annotation in the file changed.

@azure-pipelines azure-pipelines / net - storage - tests

Azure.Storage.DataMovement.Tests.StartTransferUploadTests(True,V2023_11_03).LocalToBlockBlobSize_SmallChunk

System.OperationCanceledException : The operation was canceled.
Raw output
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at Azure.Core.Pipeline.TaskExtensions.WithCancellationTaskAwaiter`1.GetResult() in /Users/runner/work/1/s/sdk/core/Azure.Core/src/Shared/TaskExtensions.cs:line 243
   at Azure.Storage.DataMovement.DataTransfer.WaitForCompletionAsync(CancellationToken cancellationToken) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.DataMovement/src/DataTransfer.cs:line 82
   at Azure.Storage.DataMovement.Tests.TransferValidator.TransferAndVerifyAsync(StorageResourceItem sourceResource, StorageResourceItem destinationResource, Func`2 openReadSourceAsync, Func`2 openReadDestinationAsync, DataTransferOptions options, CancellationToken cancellationToken) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.DataMovement/tests/Shared/TransferValidator.cs:line 96
   at Azure.Storage.DataMovement.Tests.StartTransferUploadTests.UploadBlockBlobAndVerify(String filePath, BlockBlobClient blob, Int32 size, TransferManagerOptions transferManagerOptions, DataTransferOptions options, CancellationToken cancellationToken) in /Users/runner/work/1/s/sdk/storage/Azure.Storage.DataMovement/tests/StartTransferUploadTests.cs:line 73
   at Azure.Storage.DataMovement.Tests.StartTransferUploadTests.LocalToBlockBlobSize_SmallChunk() in /Users/runner/work/1/s/sdk/storage/Azure.Storage.DataMovement/tests/StartTransferUploadTests.cs:line 143
   at Azure.Storage.DataMovement.Tests.StartTransferUploadTests.LocalToBlockBlobSize_SmallChunk() in /Users/runner/work/1/s/sdk/storage/Azure.Storage.DataMovement/tests/StartTransferUploadTests.cs:line 143
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)