Skip to content

[release/0.9] Update golang version to 1.19 #5433

[release/0.9] Update golang version to 1.19

[release/0.9] Update golang version to 1.19 #5433

Triggered via pull request September 25, 2024 21:08
Status Failure
Total duration 1m 43s
Artifacts

ci.yml

on: pull_request
Matrix: lint
test-linux
0s
test-linux
Matrix: test-windows
Matrix: integration-tests
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 5 warnings
lint (test): test\cri-containerd\test-images\jobcontainer_createvhd\main.go#L29
Error return value of `syscall.CloseHandle` is not checked (errcheck)
lint (test): test\cri-containerd\test-images\nanoserver-gracefultermination-repro\latest\delayed-shutdown.go#L17
sigchanyzer: misuse of unbuffered os.Signal channel as argument to signal.Notify (govet)
lint (test): test\cri-containerd\test-images\nanoserver-gracefultermination-repro\latest\delayed-shutdown.go#L18
sigchanyzer: misuse of unbuffered os.Signal channel as argument to signal.Notify (govet)
lint (test): test\cri-containerd\test-images\nanoserver-gracefultermination-repro\latest\delayed-shutdown.go#L19
sigchanyzer: misuse of unbuffered os.Signal channel as argument to signal.Notify (govet)
lint (test): test\functional\utilities\defaultlinuxspec.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (test): test\functional\utilities\defaultwindowsspec.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (test): test\functional\utilities\layerfolders.go#L6
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (test): test\functional\utilities\tempdir.go#L4
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (test): test\internal\schemaversion_test.go#L4
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (test): test\cri-containerd\test-images\jobcontainer_hns\main.go#L21
SA4006: this value of `network` is never used (staticcheck)
Go Generate
Error running go generate.
Go Generate
Process completed with exit code 1.
lint: cmd\containerd-shim-runhcs-v1\serve.go#L7
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: cmd\containerd-shim-runhcs-v1\start.go#L8
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: internal\exec\exec_test.go#L6
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: internal\hcsoci\devices.go#L7
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: cmd\dmverity-vhd\main.go#L6
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: internal\wclayer\exportlayer.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: internal\wclayer\importlayer.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: internal\wclayer\legacy.go#L9
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: internal\tools\securitypolicy\main.go#L8
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: ext4\tar2ext4\tar2ext4.go#L10
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (test)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
verify-vendor
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
protos
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Go Generate
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/