Fix compile check non-existent Go version failure

XMLWordPrintableJSON

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