Skip to content

ci: test-unit job matrix for win/macos/ubuntu #3137

ci: test-unit job matrix for win/macos/ubuntu

ci: test-unit job matrix for win/macos/ubuntu #3137

Triggered via pull request January 25, 2024 09:53
Status Failure
Total duration 6m 41s
Artifacts 2

build.yml

on: pull_request
Matrix: test-unit
prepare-binaries
6s
prepare-binaries
prepare-test-integration
1m 37s
prepare-test-integration
Matrix: binaries
Matrix: test-integration
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 18 warnings
Failed: build/TestGetGitAttributes/gitlabels: build/git_test.go#L121
=== RUN TestGetGitAttributes/gitlabels git_test.go:121: Error Trace: D:/a/buildx/buildx/build/git_test.go:121 Error: map[string]string{"label:org.opencontainers.image.revision":"cca31d5a88e4061eab4affcf45f0fbfa0f3b0bc6", "label:org.opencontainers.image.source":"[email protected]:docker/buildx.git"} does not contain "label:com.docker.image.source.entrypoint" Test: TestGetGitAttributes/gitlabels git_test.go:122: Error Trace: D:/a/buildx/buildx/build/git_test.go:122 Error: Should NOT be empty, but was Test: TestGetGitAttributes/gitlabels git_test.go:124: Error Trace: D:/a/buildx/buildx/build/git_test.go:124 Error: Not equal: expected: "Dockerfile" actual : "" Diff: --- Expected +++ Actual @@ -1 +1 @@ -Dockerfile + Test: TestGetGitAttributes/gitlabels --- FAIL: TestGetGitAttributes/gitlabels (1.14s)
Failed: build/TestGetGitAttributes/both: build/git_test.go#L121
=== RUN TestGetGitAttributes/both git_test.go:121: Error Trace: D:/a/buildx/buildx/build/git_test.go:121 Error: map[string]string{"label:org.opencontainers.image.revision":"cca31d5a88e4061eab4affcf45f0fbfa0f3b0bc6", "label:org.opencontainers.image.source":"[email protected]:docker/buildx.git", "vcs:revision":"cca31d5a88e4061eab4affcf45f0fbfa0f3b0bc6", "vcs:source":"[email protected]:docker/buildx.git"} does not contain "label:com.docker.image.source.entrypoint" Test: TestGetGitAttributes/both git_test.go:122: Error Trace: D:/a/buildx/buildx/build/git_test.go:122 Error: Should NOT be empty, but was Test: TestGetGitAttributes/both git_test.go:124: Error Trace: D:/a/buildx/buildx/build/git_test.go:124 Error: Not equal: expected: "Dockerfile" actual : "" Diff: --- Expected +++ Actual @@ -1 +1 @@ -Dockerfile + Test: TestGetGitAttributes/both --- FAIL: TestGetGitAttributes/both (0.55s)
Failed: build/TestGetGitAttributesDirty: build/git_test.go#L144
=== RUN TestGetGitAttributesDirty git_test.go:144: Error Trace: D:/a/buildx/buildx/build/git_test.go:144 Error: Not equal: expected: 5 actual : 4 Test: TestGetGitAttributesDirty git_test.go:146: Error Trace: D:/a/buildx/buildx/build/git_test.go:146 Error: map[string]string{"label:org.opencontainers.image.revision":"f65c1dfd679bd6898690387e2884387ee1aa76a2-dirty", "label:org.opencontainers.image.source":"[email protected]:docker/buildx.git", "vcs:revision":"f65c1dfd679bd6898690387e2884387ee1aa76a2-dirty", "vcs:source":"[email protected]:docker/buildx.git"} does not contain "label:com.docker.image.source.entrypoint" Test: TestGetGitAttributesDirty git_test.go:147: Error Trace: D:/a/buildx/buildx/build/git_test.go:147 Error: Not equal: expected: "Dockerfile" actual : "" Diff: --- Expected +++ Actual @@ -1 +1 @@ -Dockerfile + Test: TestGetGitAttributesDirty --- FAIL: TestGetGitAttributesDirty (0.77s)
Failed: build/TestLocalDirs: build/git_test.go#L175
=== RUN TestLocalDirs git_test.go:175: Error Trace: D:/a/buildx/buildx/build/git_test.go:175 Error: map[string]string{} does not contain "vcs:localdir:context" Test: TestLocalDirs --- FAIL: TestLocalDirs (0.69s)
Failed: build/TestLocalDirsSub: build/git_test.go#L209
=== RUN TestLocalDirsSub git_test.go:209: Error Trace: D:/a/buildx/buildx/build/git_test.go:209 Error: map[string]string{} does not contain "vcs:localdir:context" Test: TestLocalDirsSub --- FAIL: TestLocalDirsSub (0.58s)
Failed: util/gitutil/TestSanitizePathWindows: util/gitutil/path_windows_test.go#L10
=== RUN TestSanitizePathWindows path_windows_test.go:10: Error Trace: D:/a/buildx/buildx/util/gitutil/path_windows_test.go:10 Error: Not equal: expected: "C:\\Users\\foobar" actual : "C:/Users/foobar" Diff: --- Expected +++ Actual @@ -1 +1 @@ -C:\Users\foobar +C:/Users/foobar Test: TestSanitizePathWindows --- FAIL: TestSanitizePathWindows (0.00s)
test-unit (windows-2022)
Process completed with exit code 1.
test-unit (macos-12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, codecov/codecov-action@v3, actions/github-script@v6, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
binaries (linux/arm/v6)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
binaries (linux/ppc64le)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
binaries (linux/riscv64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
binaries (linux/s390x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
binaries (windows/amd64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
binaries (darwin/arm64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
binaries (darwin/amd64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
binaries (windows/arm64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
binaries (linux/arm64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
binaries (linux/amd64)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-unit (ubuntu-22.04)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, codecov/codecov-action@v3, actions/github-script@v6, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
binaries (linux/arm/v7)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-unit (windows-2022)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, codecov/codecov-action@v3, actions/github-script@v6, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-integration (remote, ./tests)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3, actions/github-script@v6, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-integration (docker-container, ./tests)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3, actions/github-script@v6, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-integration (docker\+containerd, ./tests)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3, actions/github-script@v6, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-integration (docker, ./tests)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3, actions/github-script@v6, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
buildx Expired
584 MB
test-reports Expired
2.05 MB