ExportXMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Done
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Evergreen
    • None
    • None
    • Go Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Name of Failure:

      OSCP variants

      Link to task:

      E.g. https://spruce.corp.mongodb.com/version/mongo_go_driver_release_46ea770625ac2d828f9c6d7a3dcaadb6de360e3c/tasks?page=0&sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC&variant=%5Eocsp-test__version~9.0_ocsp-rhel-87~rhel87%24

      Context of when and why the failure occurred:

      Our CI starts ocsp/setup.sh in the background, so EG moves on to the orchestration and runs run-ocsp-test without waiting for the mock responder. The driver will soft-fail on the resulting refused connection by design and so the Ping succeeds. Cases where we expect failures do not get an error.

      Stack trace:

      [2026/11/03 15:02:05.908] === RUN   TestOCSP
      
      [2026/11/03 15:02:05.908] === RUN   TestOCSP/tls
      
      [2026/11/03 15:02:05.908]     ocsp_test.go:45: got Ping error: <nil>
      
      [2026/11/03 15:02:05.908]     ocsp_test.go:46: 
      
      [2026/11/03 15:02:05.908]         	Error Trace:	/data/mci/14132b29b932c28071f1b5b48337332d/src/go.mongodb.org/mongo-driver/mongo/ocsp_test.go:46
      
      [2026/11/03 15:02:05.908]         	Error:      	Expected value not to be nil.
      
      [2026/11/03 15:02:05.908]         	Test:       	TestOCSP/tls
      
      [2026/11/03 15:02:05.908]         	Messages:   	expected Ping error, got nil
      
      [2026/11/03 15:02:05.908] === RUN   TestOCSP/tlsInsecure
      
      [2026/11/03 15:02:05.908] --- FAIL: TestOCSP (0.01s)
      
      [2026/11/03 15:02:05.908]     --- FAIL: TestOCSP/tls (0.01s)
      
      [2026/11/03 15:02:05.908]     --- PASS: TestOCSP/tlsInsecure (0.00s)
      
      [2026/11/03 15:02:05.908] FAIL
      
      [2026/11/03 15:02:05.908] FAIL	go.mongodb.org/mongo-driver/v2/mongo	0.013s
      
      [2026/11/03 15:02:05.908] FAIL
      

      Definition of Done

      Remove this line: https://github.com/mongodb/mongo-go-driver/blob/9845732fd3b4ef0c55f4a67f09ac2fcf3e36eba9/.evergreen/config.yml#L401

            Assignee:
            Preston Vasquez
            Reporter:
            Preston Vasquez
            Qingyang Hu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: