Skip to content

RDART-1064: Update realm-core to v14.10.3 #3518

RDART-1064: Update realm-core to v14.10.3

RDART-1064: Update realm-core to v14.10.3 #3518

GitHub Actions / Test Results Dart Object ARM64 failed Jun 24, 2024 in 1s

1882 passed, 2 failed and 45 skipped

Tests failed

Report Passed Failed Skipped Time
test-results.json 1882✅ 2❌ 45⚪ 230s

Annotations

Check failure on line 1551 in test/realm_test.dart

See this annotation in the file changed.

@github-actions github-actions / Test Results Dart Object ARM64

test/realm_test.dart ► Realm - synced encrypted realm can be compacted

Failed test found in:
  test-results.json
Error:
  Expected: return normally
    Actual: <Closure: () => Realm>
     Which: threw RealmException:<RealmException: Failed to open Realm file at path '/Users/runner/work/realm-dart/realm-dart/packages/realm_dart/xwfebejc.realm': Realm file decryption failed (Decryption failed: page 0 in file of size 20480 failed the HMAC check. Either the encryption key is incorrect or data is corrupted
            0   librealm_dart.dylib                 0x000000010fa94860 _ZN5realm4util16DecryptionFailed19get_message_with_btENSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE + 60
            1   librealm_dart.dylib                 0x000000010fa94a94 _ZN5realm4util16DecryptionFailedC2ERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 56
            2   librealm_dart.dylib                 0x000000010faecec8 _ZN5realm4util20EncryptedFileMapping22throw_decryption_errorEmNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE + 152
            3   librealm_dart.dylib                 0x000000010fa93c50 _ZN5realm4util20EncryptedFileMapping12refresh_pageEmb + 396
            4   librealm_dart.dylib                 0x000000010fa94424 _ZN5realm4util20EncryptedFileMapping12read_barrierEPKvmb + 252
            5   librealm_dart.dylib                 0x000000010f8dea58 _ZN5realm9SlabAlloc24read_and_validate_headerERNS_4util4FileERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEmbPNS1_13WriteObserverE + 512
            6   librealm_dart.dylib                 0x000000010f8ddf60 _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigEPNS_4util13WriteObserverE + 472
            7   librealm_dart.dylib                 0x000000010f91ff0c _ZN5realm2DB4openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_9DBOptionsE + 2164
            8   librealm_dart.dylib                 0x000000010f927c1c _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEERKNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_9DBOptionsE + 164
            9   librealm_dart.dylib                 0x000000010f6b85b8 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 948
            10  librealm_dart.dylib                 0x000000010f6b9684 _ZN5realm5_impl16RealmCoordinator12do_get_realmEONS_11RealmConfigERNSt3__110shared_ptrINS_5RealmEEENS4_8optionalINS_9VersionIDEEERNS_4util17CheckedUniqueLockEb + 76
            11  librealm_dart.dylib                 0x000000010f6b95a0 _ZN5realm5_impl16RealmCoordinator9get_realmENS_11RealmConfigENSt3__18optionalINS_9VersionIDEEE + 460
            12  librealm_dart.dylib                 0x000000010f721210 _ZN5realm5Realm16get_shared_realmENS_11RealmConfigE + 120
            13  librealm_dart.dylib                 0x000000010f6563d0 realm_open + 76
            14  ???                                 0x0000000102887e38 0x0 + 4337466936
            15  ???                                 0x000000010c43abcc 0x0 + 4500728780
            16  ???                                 0x000000010c43a5ec 0x0 + 4500727276
            17  ???                                 0x000000010c42cf64 0x0 + 4500672356
            18  ???                                 0x000000010c42ccfc 0x0 + 4500671740
            19  ???                                 0x000000010c42c9cc 0x0 + 4500670924
            20  ???                                 0x000000010c42c42c 0x0 + 4500669484
            21  ???                                 0x000000010c42c314 0x0 + 4500669204
            22  ???                                 0x0000000114c84a04 0x0 + 4643637764
            23  ???                                 0x000000010b2c05d4 0x0 + 4482401748
            24  ???                                 0x000000010dbbc788 0x0 + 4525377416
            25  ???                                 0x000000010db89604 0x0 + 4525168132
            26  ???                                 0x000000010c44de90 0x0 + 4500807312
            27  ???                                 0x000000010c44cb60 0x0 + 4500802400
            28  ???                                 0x0000000114c82f7c 0x0 + 4643630972
            29  ???                                 0x000000010a0e4ec0 0x0 + 4463677120
            30  ???                                 0x000000010a0dafd0 0x0 + 4463636432
            31  ???                                 0x000000010a0daddc 0x0 + 4463635932
            32  ???                                 0x000000010a0dabf4 0x0 + 4463635444
            33  ???                                 0x000000010a0e4af4 0x0 + 4463676148
            34  ???                                 0x000000010a0e46fc 0x0 + 4463675132
            35  ???                                 0x000000010a0e3660 0x0 + 4463670880
            36  ???                                 0x000000010a0e1ed8 0x0 + 4463664856
            37  ???                                 0x000000010ae2bb78 0x0 + 4477598584
            38  ???                                 0x000000010288d230 0x0 + 4337488432
            39  ???                                 0x000000010a0e4ec0 0x0 + 4463677120
            40  ???                                 0x000000010a0dafd0 0x0 + 4463636432
            41  ???                                 0x000000010a0daddc 0x0 + 4463635932
            42  ???                                 0x000000010a0dabf4 0x0 + 4463635444
            43  ???                                 0x000000010ae303b0 0x0 + 4477617072
            44  ???                                 0x000000010a0c8b90 0x0 + 4463561616
            45  ???                                 0x000000010a0c8804 0x0 + 4463560708
            46  ???                                 0x000000010a0c7f3c 0x0 + 4463558460
            47  ???                                 0x000000010a0e1a28 0x0 + 4463663656
            48  ???                                 0x000000010a0e18d4 0x0 + 4463663316
            49  ???                                 0x000000010a0e15d4 0x0 + 4463662548
            50  ???                                 0x000000010a0e1164 0x0 + 4463661412
            51  ???                                 0x000000010a0e105c 0x0 + 4463661148
            52  ???                                 0x000000010a0d84c8 0x0 + 4463625416
            53  ???                                 0x000000010a0a4b90 0x0 + 4463414160
            54  ???                                 0x0000000102883814 0x0 + 4337448980
            55  dart                                0x0000000100415f7c dart + 1433468
            56  dart                                0x00000001004179f0 dart + 1440240
            57  dart                                0x0000000100435610 dart + 1562128
            58  dart                                0x0000000100458468 dart + 1705064
            59  dart                                0x0000000100458888 dart + 1706120
            60  dart                                0x000000010055da84 dart + 2775684
            61  dart                                0x000000010055dcdc dart + 2776284
            62  dart                                0x00000001004e8370 dart + 2294640
            63  libsystem_pthread.dylib             0x0000000192e2af94 _pthread_start + 136
            64  libsystem_pthread.dylib             0x0000000192e25d34 thread_start + 8
            ). Error code: 1021.>
  
Raw output
App service name: flexible-dma91481

Splunk logs: https://splunk.corp.mongodb.com/en-US/app/search/search?q=search%20index=baas%20%22flexible-dma91481-*%22%20%7C%20reverse%20%7C%20top%20error%20msg&earliest=-7d&latest=now&display.general.type=visualizations
package:matcher              expect
test/realm_test.dart 1551:5  main.<fn>
===== asynchronous gap ===========================
test/test.dart 590:5         baasTest.<fn>

Check failure on line 493 in test/test.dart

See this annotation in the file changed.

@github-actions github-actions / Test Results Dart Object ARM64

test/realm_test.dart ► Realm - local encrypted realm can be compacted

Failed test found in:
  test-results.json
Error:
  RealmException: Failed to open Realm file at path '/Users/runner/work/realm-dart/realm-dart/packages/realm_dart/hzpjbsgp.realm': Realm file decryption failed (Decryption failed: page 0 in file of size 20480 failed the HMAC check. Either the encryption key is incorrect or data is corrupted
  0   librealm_dart.dylib                 0x000000010fa94860 _ZN5realm4util16DecryptionFailed19get_message_with_btENSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE + 60
  1   librealm_dart.dylib                 0x000000010fa94a94 _ZN5realm4util16DecryptionFailedC2ERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 56
  2   librealm_dart.dylib                 0x000000010faecec8 _ZN5realm4util20EncryptedFileMapping22throw_decryption_errorEmNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE + 152
  3   librealm_dart.dylib                 0x000000010fa93c50 _ZN5realm4util20EncryptedFileMapping12refresh_pageEmb + 396
  4   librealm_dart.dylib                 0x000000010fa94424 _ZN5realm4util20EncryptedFileMapping12read_barrierEPKvmb + 252
  5   librealm_dart.dylib                 0x000000010f8dea58 _ZN5realm9SlabAlloc24read_and_validate_headerERNS_4util4FileERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEmbPNS1_13WriteObserverE + 512
  6   librealm_dart.dylib                 0x000000010f8ddf60 _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigEPNS_4util13WriteObserverE + 472
  7   librealm_dart.dylib                 0x000000010f91ff0c _ZN5realm2DB4openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_9DBOptionsE + 2164
  8   librealm_dart.dylib                 0x000000010f927c1c _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEERKNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_9DBOptionsE + 164
  9   librealm_dart.dylib                 0x000000010f6b85b8 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 948
  10  librealm_dart.dylib                 0x000000010f6b9684 _ZN5realm5_impl16RealmCoordinator12do_get_realmEONS_11RealmConfigERNSt3__110shared_ptrINS_5RealmEEENS4_8optionalINS_9VersionIDEEERNS_4util17CheckedUniqueLockEb + 76
  11  librealm_dart.dylib                 0x000000010f6b95a0 _ZN5realm5_impl16RealmCoordinator9get_realmENS_11RealmConfigENSt3__18optionalINS_9VersionIDEEE + 460
  12  librealm_dart.dylib                 0x000000010f721210 _ZN5realm5Realm16get_shared_realmENS_11RealmConfigE + 120
  13  librealm_dart.dylib                 0x000000010f6563d0 realm_open + 76
  14  ???                                 0x0000000102887e38 0x0 + 4337466936
  15  ???                                 0x000000010c43abcc 0x0 + 4500728780
  16  ???                                 0x000000010c43a5ec 0x0 + 4500727276
  17  ???                                 0x000000010c42cf64 0x0 + 4500672356
  18  ???                                 0x000000010c42ccfc 0x0 + 4500671740
  19  ???                                 0x000000010c42c9cc 0x0 + 4500670924
  20  ???                                 0x000000010c42c42c 0x0 + 4500669484
  21  ???                                 0x000000010c42c314 0x0 + 4500669204
  22  ???                                 0x000000010f0f3420 0x0 + 4547621920
  23  ???                                 0x000000010a0e4ec0 0x0 + 4463677120
  24  ???                                 0x000000010a0dafd0 0x0 + 4463636432
  25  ???                                 0x000000010a0daddc 0x0 + 4463635932
  26  ???                                 0x000000010a0dabf4 0x0 + 4463635444
  27  ???                                 0x000000010a0e4af4 0x0 + 4463676148
  28  ???                                 0x000000010a0e46fc 0x0 + 4463675132
  29  ???                                 0x000000010f0df418 0x0 + 4547539992
  30  ???                                 0x000000010a0e1ed8 0x0 + 4463664856
  31  ???                                 0x000000010a0e1ba4 0x0 + 4463664036
  32  ???                                 0x000000010a0c8b90 0x0 + 4463561616
  33  ???                                 0x000000010a0c8804 0x0 + 4463560708
  34  ???                                 0x000000010a0c7f3c 0x0 + 4463558460
  35  ???                                 0x000000010a0e1a28 0x0 + 4463663656
  36  ???                                 0x000000010a0e18d4 0x0 + 4463663316
  37  ???                                 0x000000010a0e15d4 0x0 + 4463662548
  38  ???                                 0x000000010a0e1164 0x0 + 4463661412
  39  ???                                 0x000000010a0e105c 0x0 + 4463661148
  40  ???                                 0x000000010a0d84c8 0x0 + 4463625416
  41  ???                                 0x000000010a0a4b90 0x0 + 4463414160
  42  ???                                 0x0000000102883814 0x0 + 4337448980
  43  dart                                0x0000000100415f7c dart + 1433468
  44  dart                                0x00000001004179f0 dart + 1440240
  45  dart                                0x0000000100435610 dart + 1562128
  46  dart                                0x0000000100458468 dart + 1705064
  47  dart                                0x0000000100458888 dart + 1706120
  48  dart                                0x000000010055da84 dart + 2775684
  49  dart                                0x000000010055dcdc dart + 2776284
  50  dart                                0x00000001004e8370 dart + 2294640
  51  libsystem_pthread.dylib             0x0000000192e2af94 _pthread_start + 136
  52  libsystem_pthread.dylib             0x0000000192e25d34 thread_start + 8
  ). Error code: 1021.
Raw output
package:realm_dart/src/handles/native/error_handling.dart 59:9  _raiseLastError.<fn>
package:ffi/src/arena.dart 124:31                               using
package:realm_dart/src/handles/native/error_handling.dart 48:3  _raiseLastError
package:realm_dart/src/handles/native/error_handling.dart 16:7  PointerEx.raiseLastErrorIfNull
package:realm_dart/src/handles/native/realm_handle.dart 50:10   new RealmHandle.open
package:realm_dart/src/realm_class.dart 207:24                  Realm._openRealm
package:realm_dart/src/realm_class.dart 143:98                  new Realm._
package:realm_dart/src/realm_class.dart 141:38                  new Realm
test/test.dart 493:17                                           getRealm
test/realm_test.dart 1492:19                                    main.<fn>