Remove the unnecessary code line because of fix in common #2135
Azure Pipelines / MSAL - Build & Test
failed
Jul 31, 2024 in 15m 32s
Build #20240731.7 had test failures
Details
- Failed: 1 (0.17%)
- Passed: 545 (93.97%)
- Other: 34 (5.86%)
- Total: 580
Annotations
Check failure on line 52 in Build log
azure-pipelines / MSAL - Build & Test
Build log #L52
Code analysis failed. Gradle exit code: -1. Error: Error: The process 'D:\a\1\s\gradlew.bat' failed with exit code 1
Check failure on line 10 in Build log
azure-pipelines / MSAL - Build & Test
Build log #L10
Path does not exist: D:\a\1\s\msal\build\reports\spotbugs
Check failure on line 261 in Build log
azure-pipelines / MSAL - Build & Test
Build log #L261
Error: The process 'D:\a\1\s\gradlew.bat' failed with exit code 1
Check failure on line 1 in testSSPRSuccessSimple
azure-pipelines / MSAL - Build & Test
testSSPRSuccessSimple
java.lang.AssertionError: Type comparison failed. Expected: class com.microsoft.identity.nativeauth.statemachine.results.ResetPasswordSubmitCodeResult$PasswordRequired, actual: class com.microsoft.identity.nativeauth.statemachine.errors.SubmitCodeError. Error: invalid_grant - AADSTS501811: OTP is incorrect, or no cache entry exists for the tenant/user. Trace ID: 22cf0fb3-5f49-4db2-8c91-270168570000 Correlation ID: 62f5bd9b-b892-4cfa-bf6d-839d2d8adc40 Timestamp: 2024-07-31 13:54:38Z
Raw output
java.lang.AssertionError: Type comparison failed. Expected: class com.microsoft.identity.nativeauth.statemachine.results.ResetPasswordSubmitCodeResult$PasswordRequired, actual: class com.microsoft.identity.nativeauth.statemachine.errors.SubmitCodeError. Error: invalid_grant - AADSTS501811: OTP is incorrect, or no cache entry exists for the tenant/user. Trace ID: 22cf0fb3-5f49-4db2-8c91-270168570000 Correlation ID: 62f5bd9b-b892-4cfa-bf6d-839d2d8adc40 Timestamp: 2024-07-31 13:54:38Z
at org.junit.Assert.fail(Assert.java:89)
at com.microsoft.identity.client.e2e.tests.network.nativeauth.SSPRTest$testSSPRSuccessSimple$1.invokeSuspend(SSPRTest.kt:104)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at com.microsoft.identity.client.e2e.tests.network.nativeauth.SSPRTest.testSSPRSuccessSimple(SSPRTest.kt:58)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:588)
at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:290)
at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:101)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Suppressed: org.robolectric.android.internal.AndroidTestEnvironment$UnExecutedRunnablesException: Main looper has queued unexecuted runnables. This might be the cause of the test failure. You might need a shadowOf(Looper.getMainLooper()).idle() call.
Loading