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

[Flaky test] BearerTokenAuthenticationPolicy_TokenAlmostExpiredThenFailed #14612

Closed
pakrym opened this issue Aug 27, 2020 · 8 comments
Closed
Assignees
Labels
Azure.Core Client This issue points to a problem in the data-plane of the library. test-reliability Issue that causes tests to be unreliable

Comments

@pakrym
Copy link
Contributor

pakrym commented Aug 27, 2020

Error message
Expected: 2
But was:  1


Stack trace
   at Azure.Core.Tests.BearerTokenAuthenticationPolicyTests.<BearerTokenAuthenticationPolicy_TokenAlmostExpiredThenFailed>d__15.MoveNext() in D:\a\1\s\sdk\core\Azure.Core\tests\BearerTokenAuthenticationPolicyTests.cs:line 510
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(Object stateMachine)

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=512248&view=ms.vss-test-web.build-test-results-tab&runId=12919552&resultId=102284&paneView=debug

@pakrym pakrym added Test Debt Client This issue points to a problem in the data-plane of the library. Azure.Core labels Aug 27, 2020
AlexanderSher added a commit to AlexanderSher/azure-sdk-for-net that referenced this issue Sep 23, 2020
@pakrym pakrym reopened this Oct 6, 2020
@AlexGhiondea
Copy link
Contributor

@schaabs can you take a look?

@pakrym
Copy link
Contributor Author

pakrym commented Oct 16, 2020

#16054

@pakrym pakrym added test-reliability Issue that causes tests to be unreliable and removed Test Debt labels Oct 26, 2020
AlexanderSher added a commit to AlexanderSher/azure-sdk-for-net that referenced this issue Apr 12, 2021
…ncurrentCallsFailed Azure.Core Client test-reliability

Fix Azure#14612: [Flaky test] BearerTokenAuthenticationPolicy_TokenAlmostExpiredThenFailed Azure.Core Client test-reliability
@pakrym
Copy link
Contributor Author

pakrym commented Jun 10, 2021

https://dev.azure.com/azure-sdk/public/_build/results?buildId=941744&view=ms.vss-test-web.build-test-results-tab&runId=20180420&resultId=103347&paneView=debug

BearerTokenAuthenticationPolicy_TokenAlmostExpiredThenFailed

Result Details
Failed 24m ago on 9f0f984fc000000
Duration0:00:03.590
Ownernot available
Date started6/10/2021, 9:59:38 AM
Date completed6/10/2021, 9:59:41 AM
Failing since24m ago
Failing since build20210610.3

Debug

Work items

Attachments

History

Attachments*

Error message
Expected: 2
But was:  1


Stack trace
   at Azure.Core.Tests.BearerTokenAuthenticationPolicyTests.BearerTokenAuthenticationPolicy_TokenAlmostExpiredThenFailed() in D:\a\_work\1\s\sdk\core\Azure.Core\tests\BearerTokenAuthenticationPolicyTests.cs:line 533
   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.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

@pakrym
Copy link
Contributor Author

pakrym commented Jun 21, 2021

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=949626&view=ms.vss-test-web.build-test-results-tab&runId=20321610&resultId=101799&paneView=debug

BearerTokenAuthenticationPolicy_TokenAlmostExpiredThenFailed

Result Details
Failed Wednesday on 5130688bc000004
Duration0:00:03.833
Ownernot available
Date started6/16/2021, 1:25:08 AM
Date completed6/16/2021, 1:25:12 AM
Failing sinceWednesday
Failing since build20210616.1

Debug

Work items

Attachments

History

Attachments*

Error message
Expected: 2
But was:  1


Stack trace
   at Azure.Core.Tests.BearerTokenAuthenticationPolicyTests.BearerTokenAuthenticationPolicy_TokenAlmostExpiredThenFailed() in D:\a\_work\1\s\sdk\core\Azure.Core\tests\BearerTokenAuthenticationPolicyTests.cs:line 533
   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.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

@AlexanderSher can you please disable the test?

@pakrym
Copy link
Contributor Author

pakrym commented Jun 21, 2021

https://dev.azure.com/azure-sdk/public/_build/results?buildId=957221&view=ms.vss-test-web.build-test-results-tab&runId=20479326&resultId=101708&paneView=debug

BearerTokenAuthenticationPolicy_TokenAlmostExpiredThenFailed

Result Details
Failed 2h ago on 61e773a2c000004
Duration0:00:04.083
Ownernot available
Date started6/21/2021, 1:35:10 PM
Date completed6/21/2021, 1:35:14 PM
Failing since2h ago
Failing since build20210621.10

Debug

Work items

Attachments

History

Attachments*

Error message
Expected: 2
But was:  1


Stack trace
   at Azure.Core.Tests.BearerTokenAuthenticationPolicyTests.BearerTokenAuthenticationPolicy_TokenAlmostExpiredThenFailed() in D:\a\_work\1\s\sdk\core\Azure.Core\tests\BearerTokenAuthenticationPolicyTests.cs:line 533
   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.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

@JoshLove-msft
Copy link
Member

This hasn't failed recently - closing.

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

Successfully merging a pull request may close this issue.

6 participants