Investigate sync progress unit test failure

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Investigate test failure in https://spruce.mongodb.com/task/realm_core_stable_macos_release_sync_tests_469149231396552a89f67fb93e58b06131280e69_24_05_30_14_06_42?execution=0

      [2024/05/30 10:16:29.289] 2: Realm - Thread[04]: /System/Volumes/Data/data/mci/d611682118a5d30aaaf58af198b20b49/realm-core/test/test_sync.cpp:3008: ERROR in Sync_UploadDownloadProgress_1: CHECK_EQUAL(uploaded, uploaded_bytes) failed with (43, 31)
      [2024/05/30 10:16:29.291] 2: /System/Volumes/Data/data/mci/d611682118a5d30aaaf58af198b20b49/realm-core/src/realm/util/future.hpp:548: [realm-core-14.8.0] Assertion failed: m_shared_state
      [2024/05/30 10:16:29.291] 2: 0   realm-sync-tests                    0x000000010411709c _ZN5realm4utilL18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 28
      [2024/05/30 10:16:29.291] 2: 1   realm-sync-tests                    0x0000000104116fae _ZN5realm4util19terminate_with_infoEPKcS2_lS2_OSt16initializer_listINS0_9PrintableEE + 478
      [2024/05/30 10:16:29.291] 2: 2   realm-sync-tests                    0x0000000104116dce _ZN5realm4util9terminateEPKcS2_lOSt16initializer_listINS0_9PrintableEE + 14
      [2024/05/30 10:16:29.291] 2: 3   realm-sync-tests                    0x0000000103c34192 _ZN5realm4util14future_details7PromiseIiE8set_implIZNS3_13emplace_valueIJRiEEEvDpOT_EUlRT_E_EEvOSA_ + 194
      [2024/05/30 10:16:29.291] 2: 4   realm-sync-tests                    0x0000000103c33fbe _ZN5realm4util14UniqueFunctionIFvyyyyyddxEE12SpecificImplIZN12_GLOBAL__N_145Realm_UnitTest__Sync_UploadDownloadProgress_18test_runEvE4$_23E4callEOyS9_S9_S9_S9_OdSA_Ox + 414
      [2024/05/30 10:16:29.291] 2: 5   realm-sync-tests                    0x0000000103e2fd08 _ZN5realm4sync14SessionWrapper15report_progressEbb + 1256
      [2024/05/30 10:16:29.291] 2: 6   realm-sync-tests                    0x0000000103e85a51 _ZN5realm4sync10ClientImpl7Session24on_changesets_integratedEyRKNS0_12SyncProgressEb + 177
      [2024/05/30 10:16:29.291] 2: 7   realm-sync-tests                    0x0000000103e2a77a _ZN5realm4sync10ClientImpl7Session29initiate_integrate_changesetsEyNS0_18DownloadBatchStateERKNS0_12SyncProgressERKNSt3__16vectorINS0_15RemoteChangesetENS7_9allocatorIS9_EEEE + 138
      [2024/05/30 10:16:29.291] 2: 8   realm-sync-tests                    0x0000000103e83521 _ZN5realm4sync10ClientImpl7Session24receive_download_messageERKNS_5_impl14ClientProtocol15DownloadMessageE + 1233
      [2024/05/30 10:16:29.291] 2: 9   realm-sync-tests                    0x0000000103e82fb6 _ZN5realm4sync10ClientImpl10Connection24receive_download_messageEyRKNS_5_impl14ClientProtocol15DownloadMessageE + 54
      [2024/05/30 10:16:29.291] 2: 10  realm-sync-tests                    0x0000000103e8c653 _ZN5realm5_impl14ClientProtocol22parse_download_messageINS_4sync10ClientImpl10ConnectionEEEvRT_RNS0_16HeaderLineParserE + 1955
      [2024/05/30 10:16:29.291] 2: 11  realm-sync-tests                    0x0000000103e7ef0b _ZN5realm5_impl14ClientProtocol22parse_message_receivedINS_4sync10ClientImpl10ConnectionEEEvRT_NSt3__117basic_string_viewIcNS8_11char_traitsIcEEEE + 747
      [2024/05/30 10:16:29.291] 2: 12  realm-sync-tests                    0x0000000103e8b387 _ZN5realm4sync10ClientImpl10Connection21WebSocketObserverShim33websocket_binary_message_receivedENS_4util4SpanIKcLm18446744073709551615EEE + 103
      [2024/05/30 10:16:29.291] 2: 13  realm-sync-tests                    0x0000000103e68274 _ZN12_GLOBAL__N_19WebSocket17frame_reader_loopEv + 1444
      [2024/05/30 10:16:29.291] 2: 14  realm-sync-tests                    0x0000000103c12af1 _ZN5realm4sync7network7Service14BasicStreamOpsINS1_6SocketEE16BufferedReadOperINS_4util14UniqueFunctionIFvNSt3__110error_codeEmEEEE19recycle_and_executeEv + 289
      [2024/05/30 10:16:29.291] 2: 15  realm-sync-tests                    0x0000000103e5f8c5 _ZN5realm4sync7network7Service4Impl8run_implEb + 501
      [2024/05/30 10:16:29.291] 2: 16  realm-sync-tests                    0x0000000103e51510 _ZN5realm4sync9websocket21DefaultSocketProvider10event_loopEv + 208
      [2024/05/30 10:16:29.291] 2: 17  realm-sync-tests                    0x0000000103e52fde _ZNSt3__1L14__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEMN5realm4sync9websocket21DefaultSocketProviderEFvvEPSA_EEEEEPvSF_ + 62
      [2024/05/30 10:16:29.291] 2: 18  libsystem_pthread.dylib             0x00007fff203dd8fc _pthread_start + 224
      [2024/05/30 10:16:29.291] 2: 19  libsystem_pthread.dylib             0x00007fff203d9443 thread_start + 15
      [2024/05/30 10:16:33.100] 2: !!! IMPORTANT: Please report this at https://github.com/realm/realm-core/issues/new/choose
      [2024/05/30 10:16:33.100] 1/1 Test #2: SyncTests ........................Subprocess aborted***Exception:   4.70 sec
      

              Assignee:
              Jonathan Reams
              Reporter:
              Jonathan Reams
              Archiver:
              Marc Greenfield

                Created:
                Updated:
                Resolved:
                Archived: