-
Notifications
You must be signed in to change notification settings - Fork 259
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
[release/0.11] Cherry-pick testing fixes from v0.10.0-rc.9 and update containerd version used #1881
Conversation
Signed-off-by: Kirtana Ashok <[email protected]>
Signed-off-by: Hamza El-Saawy <[email protected]> (cherry picked from commit f5c5797) Signed-off-by: Kirtana Ashok <[email protected]>
Signed-off-by: Kirtana Ashok <[email protected]>
Signed-off-by: Hamza El-Saawy <[email protected]> (cherry picked from commit 4ede1fd) Signed-off-by: Kirtana Ashok <[email protected]>
b66cb1a
to
bc58c27
Compare
The only tests failing are the symlink failures which was automatically fixed when we moved hcsshim/main to containerd/1.7 . Should we skip this failing test for hcsshim/release/0.11 @helsaawy @katiewasnothere @anmaxvl ? Just to add - bc58c27 this commit that this PR has can be removed too as the TODO comment has made it to containerd v1.6.22 and updating containerd tag to v1.6.23 will cover this. @helsaawy is this ok to do? |
I skipped the symlink tests in #1891 as well ( |
I'd prefer that commit makes it in, since the |
Sure I can do that. The last commit has work to upgrade the containerd tag to v1.6.23 - do you want me to break it out to a separate PR? There are some failures due to go version if the version is not upgraded. Is it ok if I just add the change to remove TestConvert and add change to skip TestSymLink as an additional commit to this PR so that we have all the tests passing? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes LGTM
Looks like the TestContainerSymlinkVolumes
failures were known (failing both on Windows 2022 and Windows 2019)
I wish these hcsshim errors were more informative 😂 (looking at you, The parameter is incorrect.: unknown
😂)
--- FAIL: TestContainerSymlinkVolumes (22.97s)
--- FAIL: TestContainerSymlinkVolumes/file_in_symlinked_folder (7.66s)
--- FAIL: TestContainerSymlinkVolumes/symlinked_file (7.66s)
--- FAIL: TestContainerSymlinkVolumes/symlinkedFileInSymlinkedFolder (7.65s)
=== RUN TestContainerSymlinkVolumes
=== RUN TestContainerSymlinkVolumes/file_in_symlinked_folder
container_volume_test.go:95: Create test sandbox with log directory
common.go:120: Image "k8s.gcr.io/e2e-test-images/busybox:1.29-2" already exists, not pulling.
container_volume_test.go:107: Create a container with a symlink volume mount
container_volume_test.go:119: Start the container
E0918 23:22:12.723157 7180 remote_runtime.go:270] StartContainer "033cb6329f8068757914ceaf206147741be390a679d35fd41cab07d7bdcd5651" from runtime service failed: rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: hcs::CreateComputeSystem 033cb6329f8068757914ceaf206147741be390a679d35fd41cab07d7bdcd5651: The parameter is incorrect.: unknown
container_volume_test.go:120:
Error Trace: D:\a\hcsshim\hcsshim\src\github.com\containerd\containerd\container_volume_test.go:120
Error: Received unexpected error:
rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: hcs::CreateComputeSystem 033cb6329f8068757914ceaf206147741be390a679d35fd41cab07d7bdcd5651: The parameter is incorrect.: unknown
Test: TestContainerSymlinkVolumes/file_in_symlinked_folder
=== RUN TestContainerSymlinkVolumes/symlinked_file
container_volume_test.go:95: Create test sandbox with log directory
common.go:120: Image "k8s.gcr.io/e2e-test-images/busybox:1.29-2" already exists, not pulling.
container_volume_test.go:107: Create a container with a symlink volume mount
container_volume_test.go:119: Start the container
E0918 23:22:20.383430 7180 remote_runtime.go:270] StartContainer "23b45f287a3f09641e1d098d9686403a1ae3eb3fed81f884370b02acd2e307bd" from runtime service failed: rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: hcs::CreateComputeSystem 23b45f287a3f09641e1d098d9686403a1ae3eb3fed81f884370b02acd2e307bd: The parameter is incorrect.: unknown
container_volume_test.go:120:
Error Trace: D:\a\hcsshim\hcsshim\src\github.com\containerd\containerd\container_volume_test.go:120
Error: Received unexpected error:
rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: hcs::CreateComputeSystem 23b45f287a3f09641e1d098d9686403a1ae3eb3fed81f884370b02acd2e307bd: The parameter is incorrect.: unknown
Test: TestContainerSymlinkVolumes/symlinked_file
=== RUN TestContainerSymlinkVolumes/symlinkedFileInSymlinkedFolder
container_volume_test.go:95: Create test sandbox with log directory
common.go:120: Image "k8s.gcr.io/e2e-test-images/busybox:1.29-2" already exists, not pulling.
container_volume_test.go:107: Create a container with a symlink volume mount
container_volume_test.go:119: Start the container
E0918 23:22:28.032554 7180 remote_runtime.go:270] StartContainer "21c8586a7ce8ab162cf37c644a6c22da3ac7987035e3f1213a5a5f25a828dcb8" from runtime service failed: rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: hcs::CreateComputeSystem 21c8586a7ce8ab162cf37c644a6c22da3ac7987035e3f1213a5a5f25a828dcb8: The parameter is incorrect.: unknown
container_volume_test.go:120:
Error Trace: D:\a\hcsshim\hcsshim\src\github.com\containerd\containerd\container_volume_test.go:120
Error: Received unexpected error:
rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: hcs::CreateComputeSystem 21c8586a7ce8ab162cf37c644a6c22da3ac7987035e3f1213a5a5f25a828dcb8: The parameter is incorrect.: unknown
Test: TestContainerSymlinkVolumes/symlinkedFileInSymlinkedFolder
Removes TestConvert() from being skipped as corresponding fix made to v1.6.22 Skip TestContainerSymlinkVolumes() tests as it seems to pass only with containerd/1.7 Signed-off-by: Kirtana Ashok <[email protected]>
7bbfbaa
to
3865825
Compare
All the tests are now passing |
This PR makes the following changes: