Skip to content

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

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

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

GitHub Actions / Test Results Flutter macOS X64 failed Jun 13, 2024 in 1s

1865 passed, 2 failed and 52 skipped

Tests failed

Report Passed Failed Skipped Time
test-results.json 1865✅ 2❌ 52⚪ 295s

Annotations

Check failure on line 68 in integration_test/all_tests.dart

See this annotation in the file changed.

@github-actions github-actions / Test Results Flutter macOS X64

integration_test/all_tests.dart ► 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/Library/Containers/io.realm.tests/Data/Library/Application Support/kmkhsots.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                 0x0000000107497b20 _ZN5realm4util16DecryptionFailed19get_message_with_btENSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE + 64
            1   librealm_dart.dylib                 0x0000000107497d8d _ZN5realm4util16DecryptionFailedC2ERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 45
            2   librealm_dart.dylib                 0x0000000107501e2b _ZN5realm4util20EncryptedFileMapping22throw_decryption_errorEmNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE + 143
            3   librealm_dart.dylib                 0x0000000107496d0f _ZN5realm4util20EncryptedFileMapping12refresh_pageEmb + 383
            4   librealm_dart.dylib                 0x0000000107497530 _ZN5realm4util20EncryptedFileMapping12read_barrierEPKvmb + 224
            5   librealm_dart.dylib                 0x00000001072b271a _ZN5realm9SlabAlloc24read_and_validate_headerERNS_4util4FileERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEmbPNS1_13WriteObserverE + 506
            6   librealm_dart.dylib                 0x00000001072b1aba _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigEPNS_4util13WriteObserverE + 554
            7   librealm_dart.dylib                 0x00000001072feca4 _ZN5realm2DB4openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_9DBOptionsE + 2756
            8   librealm_dart.dylib                 0x0000000107307553 _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEERKNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_9DBOptionsE + 163
            9   librealm_dart.dylib                 0x000000010704e847 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1047
            10  librealm_dart.dylib                 0x000000010704f98e _ZN5realm5_impl16RealmCoordinator12do_get_realmEONS_11RealmConfigERNSt3__110shared_ptrINS_5RealmEEENS4_8optionalINS_9VersionIDEEERNS_4util17CheckedUniqueLockEb + 62
            11  librealm_dart.dylib                 0x000000010704f8b6 _ZN5realm5_impl16RealmCoordinator9get_realmENS_11RealmConfigENSt3__18optionalINS_9VersionIDEEE + 454
            12  librealm_dart.dylib                 0x00000001070c1f27 _ZN5realm5Realm16get_shared_realmENS_11RealmConfigE + 151
            13  librealm_dart.dylib                 0x0000000106fe14d2 realm_open + 82
            14  ???                                 0x0000000118c86e8b 0x0 + 4710755979
            15  ???                                 0x00000001213cb044 0x0 + 4852592708
            ). Error code: 1021.>
  
Raw output
App service name: flexible-fm945721

Splunk logs: https://splunk.corp.mongodb.com/en-US/app/search/search?q=search%20index=baas%20%22flexible-fm945721-*%22%20%7C%20reverse%20%7C%20top%20error%20msg&earliest=-7d&latest=now&display.general.type=visualizations
package:matcher                                                                                                         expect
../../realm_dart/test/realm_test.dart 1551:5                                                                            main.<fn>
===== asynchronous gap ===========================
package:stream_channel                                                                                                  _GuaranteeSink.add
/var/folders/vy/h7r6h43j203gstfh6fj9_tyh0000gn/T/flutter_tools.VIQd6b/flutter_test_listener.1GG9pB/listener.dart 53:22  main.<fn>

Check failure on line 68 in integration_test/all_tests.dart

See this annotation in the file changed.

@github-actions github-actions / Test Results Flutter macOS X64

integration_test/all_tests.dart ► 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/Library/Containers/io.realm.tests/Data/Library/Application Support/hongpplu.realm': Realm file decryption failed (Decryption failed: page 0 in file of size 8192 failed the HMAC check. Either the encryption key is incorrect or data is corrupted
  0   librealm_dart.dylib                 0x0000000107497b20 _ZN5realm4util16DecryptionFailed19get_message_with_btENSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE + 64
  1   librealm_dart.dylib                 0x0000000107497d8d _ZN5realm4util16DecryptionFailedC2ERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 45
  2   librealm_dart.dylib                 0x0000000107501e2b _ZN5realm4util20EncryptedFileMapping22throw_decryption_errorEmNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEE + 143
  3   librealm_dart.dylib                 0x0000000107496d0f _ZN5realm4util20EncryptedFileMapping12refresh_pageEmb + 383
  4   librealm_dart.dylib                 0x0000000107497530 _ZN5realm4util20EncryptedFileMapping12read_barrierEPKvmb + 224
  5   librealm_dart.dylib                 0x00000001072b271a _ZN5realm9SlabAlloc24read_and_validate_headerERNS_4util4FileERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEmbPNS1_13WriteObserverE + 506
  6   librealm_dart.dylib                 0x00000001072b1aba _ZN5realm9SlabAlloc11attach_fileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_6ConfigEPNS_4util13WriteObserverE + 554
  7   librealm_dart.dylib                 0x00000001072feca4 _ZN5realm2DB4openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_9DBOptionsE + 2756
  8   librealm_dart.dylib                 0x0000000107307553 _ZN5realm2DB6createENSt3__110unique_ptrINS_11ReplicationENS1_14default_deleteIS3_EEEERKNS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS_9DBOptionsE + 163
  9   librealm_dart.dylib                 0x000000010704e847 _ZN5realm5_impl16RealmCoordinator7open_dbEv + 1047
  10  librealm_dart.dylib                 0x000000010704f98e _ZN5realm5_impl16RealmCoordinator12do_get_realmEONS_11RealmConfigERNSt3__110shared_ptrINS_5RealmEEENS4_8optionalINS_9VersionIDEEERNS_4util17CheckedUniqueLockEb + 62
  11  librealm_dart.dylib                 0x000000010704f8b6 _ZN5realm5_impl16RealmCoordinator9get_realmENS_11RealmConfigENSt3__18optionalINS_9VersionIDEEE + 454
  12  librealm_dart.dylib                 0x00000001070c1f27 _ZN5realm5Realm16get_shared_realmENS_11RealmConfigE + 151
  13  librealm_dart.dylib                 0x0000000106fe14d2 realm_open + 82
  14  ???                                 0x0000000118c86e8b 0x0 + 4710755979
  ). 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
../../realm_dart/test/test.dart 493:17                                                                                  getRealm
../../realm_dart/test/realm_test.dart 1492:19                                                                           main.<fn>
===== asynchronous gap ===========================
package:stream_channel                                                                                                  _GuaranteeSink.add
/var/folders/vy/h7r6h43j203gstfh6fj9_tyh0000gn/T/flutter_tools.VIQd6b/flutter_test_listener.1GG9pB/listener.dart 53:22  main.<fn>