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

[Tables] test failing in nightly runs #22978

Closed
Tianyun-G opened this issue Jul 30, 2021 · 1 comment
Closed

[Tables] test failing in nightly runs #22978

Tianyun-G opened this issue Jul 30, 2021 · 1 comment
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Tables test-reliability Issue that causes tests to be unreliable

Comments

@Tianyun-G
Copy link
Contributor

Tables nightly test runs are failing with:

Error message
System.FormatException : String '' was not recognized as a valid DateTime.

Stack trace
at System.DateTimeParse.Parse(ReadOnlySpan1 s, DateTimeFormatInfo dtfi, DateTimeStyles styles, TimeSpan& offset) at System.DateTimeOffset.Parse(String input, IFormatProvider formatProvider, DateTimeStyles styles) at Azure.Core.TypeFormatters.ParseDateTimeOffset(String value, String format) in /_1/microsoft.azure.autorest.csharp/3.0.0-beta.20210601.1/content/Generator.Shared/TypeFormatters.cs:line 125 at Azure.Core.XElementExtensions.GetDateTimeOffsetValue(XElement element, String format) in /_1/microsoft.azure.autorest.csharp/3.0.0-beta.20210601.1/content/Generator.Shared/XElementExtensions.cs:line 23 at Azure.Data.Tables.Models.TableGeoReplicationInfo.DeserializeTableGeoReplicationInfo(XElement element) in /_/sdk/tables/Azure.Data.Tables/src/Generated/Models/TableGeoReplicationInfo.Serialization.cs:line 26 at Azure.Data.Tables.Models.TableServiceStatistics.DeserializeTableServiceStatistics(XElement element) in /_/sdk/tables/Azure.Data.Tables/src/Generated/Models/TableServiceStatistics.Serialization.cs:line 20 at Azure.Data.Tables.ServiceRestClient.GetStatistics(Nullable1 timeout, CancellationToken cancellationToken) in //sdk/tables/Azure.Data.Tables/src/Generated/ServiceRestClient.cs:line 251
at Azure.Data.Tables.TableServiceClient.GetStatistics(CancellationToken cancellationToken) in /
/sdk/tables/Azure.Data.Tables/src/TableServiceClient.cs:line 818
--- 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.DiagnosticScopeValidatingInterceptor.<>c__DisplayClass5_01.<<ValidateDiagnosticScopeInterceptor>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.Data.Tables.Tests.TableServiceClientLiveTests.GetTableServiceStatsReturnsStats() in /mnt/vss/_work/1/s/sdk/tables/Azure.Data.Tables/tests/TableServiceClientLiveTests.cs:line 319 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:

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jul 30, 2021
@v-xuto v-xuto added Client This issue points to a problem in the data-plane of the library. Tables test-reliability Issue that causes tests to be unreliable and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Jul 30, 2021
@christothes
Copy link
Member

resolved by #21829

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Tables test-reliability Issue that causes tests to be unreliable
Projects
None yet
Development

No branches or pull requests

3 participants