'TerminateProcess: Access is denied' error when killing mongocryptd process on windows

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Gone away
    • Priority: Unknown
    • None
    • Affects Version/s: 2.2.0
    • Component/s: None
    • None
    • Go Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Name of Failure:

      TerminateProcess: Access is denied

      Link to task:

      https://spruce.mongodb.com/task/mongo_go_driver_tests_windows_80_zlib_zstd_support__version~8.0_os_ssl_40~windows_64_test_replicaset_noauth_nossl_0df17120906a04a6523664c471d218864cd3b139_25_04_07_14_56_55?execution=0&sortBy=STATUS&sortDir=ASC

      Context of when and why the failure occurred:

      This started happening as of GODRIVER-3445 to implement git submodules in place of the testdata/ directories in the unified spec tests. It's unclear why TestSessionsMongocryptdProse started failing with TerminateProcess: Access is denied

      Stack trace:

      [2025/04/07 16:04:49.002] === NAME  TestSessionsMongocryptdProse/18._implicit_session_is_ignored_if_connection_does_not_support_sessions
      
      [2025/04/07 16:04:49.002]     sessions_mongocryptd_prose_test.go:95: 
      
      [2025/04/07 16:04:49.002]         	Error Trace:	C:\data\mci\a747\src\go.mongodb.org\mongo-driver\internal\integration\sessions_mongocryptd_prose_test.go:95
      
      [2025/04/07 16:04:49.002]         	            				C:\data\mci\a747\src\go.mongodb.org\mongo-driver\internal\integration\testing.go:1176
      
      [2025/04/07 16:04:49.002]         	            				C:\data\mci\a747\src\go.mongodb.org\mongo-driver\internal\integration\testing.go:1354
      
      [2025/04/07 16:04:49.002]         	            				C:\data\mci\a747\src\go.mongodb.org\mongo-driver\internal\integration\testing.go:1684
      
      [2025/04/07 16:04:49.002]         	Error:      	Received unexpected error:
      
      [2025/04/07 16:04:49.002]         	            	failed to terminate mongocryptd process: TerminateProcess: Access is denied.
      
      [2025/04/07 16:04:49.002]         	Test:       	TestSessionsMongocryptdProse/18._implicit_session_is_ignored_if_connection_does_not_support_sessions
      
      [2025/04/07 16:04:49.002]         	Messages:   	failed to close mongocryptd: failed to terminate mongocryptd process: TerminateProcess: Access is denied.
      

            Assignee:
            Unassigned
            Reporter:
            Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: