Fix compile check non-existent Go version failure

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Done
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • 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:

      Missing Docker image "golang:1.25"

      Link to task:

      https://spruce.mongodb.com/task/mongo_go_driver_build_check_go_build_987b3ec71645caf7f9e586ccbf9188cc7c517b9f_25_06_13_18_49_50/tests?execution=0&sortBy=STATUS&sortDir=ASC

      Context of when and why the failure occurred:

      The getDockerGolangImages in "compile_check_test.go" can return unreleased Go versions (a release candidate version in this case). The test then fails because a Docker image matching the pattern "golang:<minor version>" doesn't exist.

      Stack trace:

      compile_check_test.go:70: 
          	Error Trace:	go.mongodb.org/mongo-driver/internal/test/compilecheck/compile_check_test.go:70
          	Error:      	Received unexpected error:
          	            	create container: Error response from daemon: manifest for golang:1.25 not found: manifest unknown: manifest unknown
          	Test:       	TestCompileCheck/golang:1.25
      

              Assignee:
              Matt Dale
              Reporter:
              Matt Dale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: