Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-5743

Fix flaky Windows test failures with setting up CA file

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • C Drivers

      Appears to be a recurring flake, and may suggest a bug:

      Example failure, logs:

          entering windows exception handler
          exception '(access violation)' at '0x00007FFEFB8DC744', terminating
          begin stack trace
          CryptStringToBinaryA
          test-libmongoc : mongoc_secure_channel_setup_ca c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-secure-channel.c:316
          test-libmongoc : mongoc_stream_tls_secure_channel_new c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-stream-tls-secure-channel.c:916
          test-libmongoc : mongoc_stream_tls_new_with_hostname c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-stream-tls.c:220
          test-libmongoc : _mongoc_topology_scanner_node_setup_stream_for_tls c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-topology-scanner.c:801
          test-libmongoc : _mongoc_topology_scanner_tcp_initiate c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-topology-scanner.c:831
          test-libmongoc : _mongoc_async_cmd_phase_initiate c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-async-cmd.c:257
          test-libmongoc : mongoc_async_cmd_run c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-async-cmd.c:108
          test-libmongoc : mongoc_async_run c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-async.c:92
          test-libmongoc : mongoc_topology_scanner_work c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-topology-scanner.c:1213
          test-libmongoc : mongoc_topology_scan_once c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-topology.c:915
          test-libmongoc : _mongoc_topology_do_blocking_scan c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-topology.c:939
          test-libmongoc : mongoc_topology_select_server_id c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-topology.c:1201
          test-libmongoc : _mongoc_cluster_select_server_id c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-cluster.c:2603
          test-libmongoc : _mongoc_cluster_stream_for_optype c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-cluster.c:2658
          test-libmongoc : mongoc_cluster_stream_for_reads c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-cluster.c:2759
          test-libmongoc : mongoc_client_command_simple c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\src\mongoc\mongoc-client.c:1755
          test-libmongoc : call_hello_with_host_and_port c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\tests\test-libmongoc.c:875
          test-libmongoc : call_hello c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\tests\test-libmongoc.c:912
          test-libmongoc : test_framework_get_uri_str_no_auth c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\tests\test-libmongoc.c:1017
          test-libmongoc : test_framework_get_uri_str c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\tests\test-libmongoc.c:1104
          test-libmongoc : test_framework_new_default_client c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\tests\test-libmongoc.c:1415
          test-libmongoc : insert_data c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\tests\json-test.c:1049
          test-libmongoc : run_json_general_test c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\tests\json-test.c:1788
          test-libmongoc : test_client_side_encryption_cb c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\tests\test-mongoc-client-side-encryption.c:104
          test-libmongoc : TestSuite_RunTest c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\tests\testsuite.c:612
          test-libmongoc : TestSuite_RunAll c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\tests\testsuite.c:1044
          test-libmongoc : TestSuite_Run c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\tests\testsuite.c:1089
          test-libmongoc : main c:\data\mci\7381dde067d47770d17a21fdddea2368\mongoc\src\libmongoc\tests\test-libmongoc-main.c:159
          test-libmongoc : invoke_main d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:79
          test-libmongoc : __scrt_common_main_seh d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
          test-libmongoc : __scrt_common_main d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:331
          test-libmongoc : mainCRTStartup d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp:17
          BaseThreadInitThunk
          RtlUserThreadStart
          end stack trace
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: