Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/archive: un-skip tests on Windows V19H1 (1903) and up #48004

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Jun 16, 2024

This re-enables TestChangesDirsEmpty and TestChangesDirsMutated on current Windows versions. These tests were failing on Windows V19H1 (1903) and up, possibly due to changes in the kernel, and were skipped in commit 8f4b3b0;

=== FAIL: github.com/docker/docker/pkg/archive TestChangesDirsEmpty (0.21s)
    changes_test.go:261: Reported changes for identical dirs: [{\dirSymlink C}]

=== FAIL: github.com/docker/docker/pkg/archive TestChangesDirsMutated (0.14s)
    changes_test.go:391: unexpected change "C \\dirSymlink" "\\dirnew"

This reverts commit 8f4b3b0.

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah thaJeztah self-assigned this Jun 16, 2024
@thaJeztah thaJeztah changed the title pkg/archive: un-skip tests on Windowsd V19H1 (1903) and up pkg/archive: un-skip tests on Windows V19H1 (1903) and up Jun 16, 2024
@thaJeztah
Copy link
Member Author

OK; that didn't work; still an issue indeed;

=== Failed
=== FAIL: github.com/docker/docker/pkg/archive TestChangesDirsEmpty (0.09s)
    changes_test.go:261: Reported changes for identical dirs: [{\dirSymlink C}]

=== FAIL: github.com/docker/docker/pkg/archive TestChangesDirsMutated (0.10s)
    changes_test.go:391: unexpected change "C \\dirSymlink" "\\dirnew"

I'll open an alternative PR to remove the kernel-version check, because we no longer run CI on those older versions

…version check

TestChangesDirsEmpty and TestChangesDirsMutated fail on Windows V19H1 (1903)
and up, possibly due to changes in the kernel:

    === FAIL: github.com/docker/docker/pkg/archive TestChangesDirsEmpty (0.21s)
    changes_test.go:261: Reported changes for identical dirs: [{\dirSymlink C}]

    === FAIL: github.com/docker/docker/pkg/archive TestChangesDirsMutated (0.14s)
    changes_test.go:391: unexpected change "C \\dirSymlink" "\\dirnew"

commit 8f4b3b0 added a version-dependent
skip for those tests, but as we no longer run CI on versions before V19H1,
we can remove the kernel-version check, and skip it on Windows unconditionally.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
This re-enables TestChangesDirsEmpty and TestChangesDirsMutated on current
Windows versions. These tests were failing on Windows V19H1 (1903) and up,
possibly due to changes in the kernel, and were skipped in commit
8f4b3b0;

    === FAIL: github.com/docker/docker/pkg/archive TestChangesDirsEmpty (0.21s)
        changes_test.go:261: Reported changes for identical dirs: [{\dirSymlink C}]

    === FAIL: github.com/docker/docker/pkg/archive TestChangesDirsMutated (0.14s)
        changes_test.go:391: unexpected change "C \\dirSymlink" "\\dirnew"

This reverts commit 8f4b3b0.
This reverts commit 3108165

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added the impact/go-sdk Noteworthy (compatibility changes) in the Go SDK label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/go-sdk Changes affecting the Go SDK area/testing impact/go-sdk Noteworthy (compatibility changes) in the Go SDK platform/windows status/2-code-review
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

None yet

1 participant