Skip to content

Fixes after review of improved errors #436

Fixes after review of improved errors

Fixes after review of improved errors #436

GitHub Actions / 2021.3.8f1-playmode Test Results completed Aug 31, 2023 in 0s

❌️ 2021.3.8f1-playmode Test Results - 32/46, skipped: 10, failed: 4 - Failed in 36.302s

❌️ playmode-results.xml - 32/46, skipped: 10, failed: 4 - Failed in 36.302s

Details

❌️ playmode-results.xml - 32/46, skipped: 10, failed: 4 - Failed in 36.302s
  • ❌️ Tests.AppleSignInTests - 0/4, skipped: 2, failed: 2 - Failed in 2.487s

    • ⚠️ RefreshAppleSessionWhenSignedInSucceeds - Skipped

    • ❌️ RefreshAppleSessionWithInvalidTokenFails - Failed in 1.398s
      Response code wrong, expected 400 but was 401
      Expected: 400
      But was: 401

        SDK is Initializing
      SDK is Initializing
      SDK is Initialized
      Caller Type: User
      ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple
      REQUEST BODY = {"game_key":"\"dev*******************************5f\"","refresh_token":"invalid-token","game_version":"0.0.0.1"}
      Server Response: 401 session/apple completed in 1.1857 secs.
      Response: {"message":"Could not start apple session","request_id":"e6877a88-cbce-4f14-a9ed-46a6575fa275","trace_id":"d14b5d13a93ae868a6913958995a20b1"}
      Unauthorized -- Your session_token is invalid. {"message":"Could not start apple session","request_id":"e6877a88-cbce-4f14-a9ed-46a6575fa275","trace_id":"d14b5d13a93ae868a6913958995a20b1"}
      
      at Tests.AppleSignInTests+<RefreshAppleSessionWithInvalidTokenFails>d__4.MoveNext () [0x00095] in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:54
      at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
      
    • ⚠️ StartAppleSessionSucceedsAndProvidesRefreshToken - Skipped

    • ❌️ StartAppleSessionWithInvalidAuthorizationCodeFails - Failed in 1.088s
      Failed Sign In
      Expected: 400
      But was: 401

        Caller Type: User
      ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple
      REQUEST BODY = {"game_key":"\"dev*******************************5f\"","apple_authorization_code":"invalid_auth_code","game_version":"0.0.0.1"}
      Server Response: 401 session/apple completed in 1.0785 secs.
      Response: {"message":"Could not start apple session","request_id":"7e13d4a7-ffe1-4f99-9952-b453c855d594","trace_id":"a3418caef328e9841cc839500cb8e7ec"}
      Unauthorized -- Your session_token is invalid. {"message":"Could not start apple session","request_id":"7e13d4a7-ffe1-4f99-9952-b453c855d594","trace_id":"a3418caef328e9841cc839500cb8e7ec"}
      
      at Tests.AppleSignInTests+<StartAppleSessionWithInvalidAuthorizationCodeFails>d__7.MoveNext () [0x00095] in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:140
      at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46
      
  • ⚠️ Tests.GoogleSignInTests - 0/4, skipped: 4 - Passed in 0.000s

    • ⚠️ RefreshGoogleSessionWhenSignedInSucceeds - Skipped
    • ⚠️ RefreshGoogleSessionWithInvalidTokenFails - Skipped
    • ⚠️ StartGoogleSessionSucceedsAndProvidesRefreshToken - Skipped
    • ⚠️ StartGoogleSessionWithInvalidAuthorizationCodeFails - Skipped
  • ✅ Tests.GuestLoginTest - 1/1 - Passed in 1.884s

    • GuestUserCanLogIn - Passed in 1.884s
  • ✅ Tests.JsonTests - 10/10 - Passed in 0.063s

    • JsonTestsSimplePasses - Passed in 0.016s
    • SDKCanDeserializeComplexArrayObjectsJson - Passed in 0.018s
    • SDKCanDeserializeJson - Passed in 0.001s
    • SDKCanDeserializeMultidimensionalArrayObjectsJson - Passed in 0.001s
    • SDKCanSerializeJson - Passed in 0.001s
    • SDKCanSerializeMultidimensionalArrayObjectsJson - Passed in 0.001s
    • TestCyclic - Passed in 0.005s
    • TestCyclicCustom - Passed in 0.003s
    • TestDictionary - Passed in 0.016s
    • TestList - Passed in 0.001s
  • ✅ Tests.PingTest - 1/1 - Passed in 2.008s

    • BackendCanBePinged - Passed in 2.008s
  • ✅ Tests.PlayerFilesTests - 1/1 - Passed in 6.987s

    • PlayerFileCanBeCreatedWithPathUpdatedAndThenDeleted - Passed in 6.987s
  • ✅ Tests.PlayerHandlingTests - 1/1 - Passed in 1.728s

    • PlayerCanBeCreatedAndDeleted - Passed in 1.728s
  • ✅ Tests.RateLimiterTests - 11/11 - Passed in 0.270s

    • AfterHavingBeenSetOffTheRateLimitingCancelsAfter3Minutes - Passed in 0.034s
    • ConstantRequestsBelowTripWireStillHitsMovingAverageRateLimit - Passed in 0.014s
    • ExcessiveQuickSuccessionRequestsHitsTripwireRateLimit - Passed in 0.011s
    • FrequentSmallBurstsDoesNotHitRateLimit - Passed in 0.002s
    • InfrequentLargeBurstsDoesNotHitRateLimit - Passed in 0.002s
    • LowLevelBackgroundRequestsWithIntermittentBurstsHitsRateLimit - Passed in 0.035s
    • NormalAmountOfAverageRequestsDoesNotHitRateLimit - Passed in 0.002s
    • SuddenHugeBurstAboveLimitTriggersRateLimit - Passed in 0.083s
    • SuddenHugeBurstBelowLimitDoesNotTriggerRateLimit - Passed in 0.002s
    • SuddenHugeBurstBelowLimitFollowedByAFewRequestsTriggersRateLimit - Passed in 0.084s
    • UndulatingLowLevelOfRequestsDoesNotHitRateLimit - Passed in 0.002s
  • ✅ Tests.RefreshTests - 2/2 - Passed in 8.603s

    • SDKAutomaticallyRefreshesExpiredSessionWhenEnabled - Passed in 5.246s
    • SDKDoesNotAutomaticallyRefreshesExpiredSessionWhenDisabled - Passed in 3.357s
  • ⚠️ Tests.SubmitScoresWithGuestLogin - 0/1, skipped: 1 - Passed in 0.000s

    • ⚠️ TestResponsesAreAsExpectedForAllLeaderboardsAndPlayers - Skipped
  • ❌️ Tests.WhiteLabelLoginTests - 5/10, skipped: 3, failed: 2 - Failed in 12.218s

    • ⚠️ RequestEmailVerificationByEmailSucceeds - Skipped
    • ⚠️ RequestEmailVerificationSucceeds - Skipped
    • RequestPasswordResetSucceeds - Passed in 0.737s
    • WhiteLabelCheckSessionFailsWhenNoSessionExists - Passed in 0.002s
    • WhiteLabelCheckSessionSucceeds - Passed in 2.941s
    • WhiteLabelCheckSessionWithEmailAndTokenSucceeds - Passed in 3.343s
    • WhiteLabelCheckSessionWithWrongEmailFails - Passed in 3.340s
    • ❌️ WhiteLabelLoginAndSessionStartFromSavedStateSucceeds - Failed in 0.747s
    • ❌️ WhiteLabelLoginAndStartSessionSucceeds - Failed in 1.108s
    • ⚠️ WhiteLabelSignUpSucceeds - Skipped

Annotations

Check failure on line 54 in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs

See this annotation in the file changed.

@github-actions github-actions / 2021.3.8f1-playmode Test Results

Tests.AppleSignInTests.RefreshAppleSessionWithInvalidTokenFails

  Response code wrong, expected 400 but was 401
  Expected: 400
  But was:  401
Raw output
SDK is Initializing
SDK is Initializing
SDK is Initialized
Caller Type: User
ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple
REQUEST BODY = {"game_key":"\"dev*******************************5f\"","refresh_token":"invalid-token","game_version":"0.0.0.1"}
Server Response: 401 session/apple completed in 1.1857 secs.
Response: {"message":"Could not start apple session","request_id":"e6877a88-cbce-4f14-a9ed-46a6575fa275","trace_id":"d14b5d13a93ae868a6913958995a20b1"}
Unauthorized -- Your session_token is invalid. {"message":"Could not start apple session","request_id":"e6877a88-cbce-4f14-a9ed-46a6575fa275","trace_id":"d14b5d13a93ae868a6913958995a20b1"}

at Tests.AppleSignInTests+<RefreshAppleSessionWithInvalidTokenFails>d__4.MoveNext () [0x00095] in /github/workspace/tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:54
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in /github/workspace/tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46

Check failure on line 140 in tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs

See this annotation in the file changed.

@github-actions github-actions / 2021.3.8f1-playmode Test Results

Tests.AppleSignInTests.StartAppleSessionWithInvalidAuthorizationCodeFails

  Failed Sign In
  Expected: 400
  But was:  401
Raw output
Caller Type: User
ServerRequest POST URL: https://mmz8d6ze.api.lootlocker.io/game/session/apple
REQUEST BODY = {"game_key":"\"dev*******************************5f\"","apple_authorization_code":"invalid_auth_code","game_version":"0.0.0.1"}
Server Response: 401 session/apple completed in 1.0785 secs.
Response: {"message":"Could not start apple session","request_id":"7e13d4a7-ffe1-4f99-9952-b453c855d594","trace_id":"a3418caef328e9841cc839500cb8e7ec"}
Unauthorized -- Your session_token is invalid. {"message":"Could not start apple session","request_id":"7e13d4a7-ffe1-4f99-9952-b453c855d594","trace_id":"a3418caef328e9841cc839500cb8e7ec"}

at Tests.AppleSignInTests+<StartAppleSessionWithInvalidAuthorizationCodeFails>d__7.MoveNext () [0x00095] in /github/workspace/tests~/Assets/Tests/PlayModeTests/AppleSignInTests.cs:140
at UnityEngine.TestTools.TestEnumerator+<Execute>d__7.MoveNext () [0x0004e] in /github/workspace/tests~/Library/PackageCache/[email protected]/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs:46