Description
openedon Jun 18, 2021
Form Recognizer nightly test runs are failing with:
Error Message
Azure.RequestFailedException : Could not access Azure blob storage account.
Status: 400 (Bad Request)
ErrorCode: 2011Content:
{"error":{"code":"2011","message":"Could not access Azure blob storage account."}}Headers:
ms-azure-ai-errorcode: REDACTED
x-envoy-upstream-service-time: 2227
apim-request-id: 3382215b-4aeb-47f5-a4ac-5ad30c6b1b7e
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-Content-Type-Options: nosniff
Date: Fri, 18 Jun 2021 04:00:58 GMT
Content-Length: 82
Content-Type: application/json; charset=utf-8Stack Trace
at Azure.AI.FormRecognizer.FormRecognizerRestClient.TrainCustomModelAsync(TrainRequest trainRequest, CancellationToken cancellationToken) in //sdk/formrecognizer/Azure.AI.FormRecognizer/src/Generated/FormRecognizerRestClient.cs:line 112
at Azure.AI.FormRecognizer.Training.FormTrainingClient.StartTraining(Uri trainingFilesUri, Boolean useTrainingLabels, String modelName, TrainingOptions trainingOptions, CancellationToken cancellationToken) in //sdk/formrecognizer/Azure.AI.FormRecognizer/src/FormTrainingClient.cs:line 150
--- End of stack trace from previous location where exception was thrown ---
at Azure.Core.TestFramework.DiagnosticScopeValidatingInterceptor.<>c__DisplayClass4_01.<<WrapAsyncResultCore>g__Await|0>d.MoveNext() in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/Instrumentation/DiagnosticScopeValidatingInterceptor.cs:line 91 --- End of stack trace from previous location where exception was thrown --- at System.Threading.Tasks.ValueTask
1.get_Result()
at Azure.Core.TestFramework.InstrumentResultInterceptor.InstrumentOperationInterceptor[T](IInvocation invocation, Func1 innerTask) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/Instrumentation/InstrumentResultInterceptor.cs:line 60 at Azure.Core.TestFramework.DiagnosticScopeValidatingInterceptor.<>c__DisplayClass4_0
1.<g__Await|0>d.MoveNext() in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/Instrumentation/DiagnosticScopeValidatingInterceptor.cs:line 91
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.ValueTask1.get_Result() at Azure.Core.TestFramework.DiagnosticScopeValidatingInterceptor.<>c__DisplayClass5_0
1.<b__0>d.MoveNext() in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/Instrumentation/DiagnosticScopeValidatingInterceptor.cs:line 142
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.ValueTask1.get_Result() at Azure.Core.TestFramework.DiagnosticScopeValidatingInterceptor.ValidateDiagnosticScope[T](Func
1 action, MethodInfo methodInfo, String source) in /mnt/vss/_work/1/s/sdk/core/Azure.Core.TestFramework/src/Instrumentation/DiagnosticScopeValidatingInterceptor.cs:line 165
at Azure.AI.FormRecognizer.Tests.FormTrainingClientLiveTests.StartTrainingError() in /mnt/vss/_work/1/s/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormTrainingClient/FormTrainingClientLiveTests.cs:line 305
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter1.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.b__0()
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
For more details check here: