Skip to content

[Form Recognizer] test failing in nightly runs #21961

Closed

Description

Form Recognizer nightly test runs are failing with:

Error Message
Azure.RequestFailedException : Could not access Azure blob storage account.
Status: 400 (Bad Request)
ErrorCode: 2011

Content:
{"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-8

Stack 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.ValueTask1.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_01.<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_01.<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](Func1 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(Func1 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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Cognitive - Form Recognizertest-reliabilityIssue that causes tests to be unreliable

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions