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

[test]Resolve containerd dependency conflicts #1860

Closed
wants to merge 1 commit into from

Conversation

helsaawy
Copy link
Contributor

Upgrading to containerd 1.7.3 causes linter/build issues for the gcs tests because of dependency conflict.

The test/ modules freezes k8s.io/cri-api at v0.25, since the v1alpha2 API is removed in v0.26.
However, containerd 1.7.2 upgrades k8s.io/cri-api to v0.27 from v0.26, which adds new fields that containerd/pkg/cri relies on for its Linux code paths.
This causes the gcs tests, which uses
github.com/containerd/containerd/pkg/cri/opts (and other pkgs) to fail, since the new containerd code cannot find the required fields in k8s.io/cri-api.

Therefore freeze containerd to v1.7.0 until test/cri-container no longer needs to freeze k8s.io/cri-api.

Upgrading to `containerd` 1.7.3 causes linter/build issues for the gcs
tests because of dependency conflict.

The `test/` modules freezes `k8s.io/cri-api` at `v0.25`, since the
`v1alpha2` API is removed in `v0.26`.
However, `containerd` 1.7.2 upgrades `k8s.io/cri-api` to `v0.27` from
`v0.26`, which adds new fields that `containerd/pkg/cri` relies on for
its Linux code paths.
This causes the gcs tests, which uses
`github.com/containerd/containerd/pkg/cri/opts` (and other pkgs) to
fail, since the new containerd code cannot find the required fields in
`k8s.io/cri-api`.

Therefore freeze `containerd` to `v1.7.0` until `test/cri-container` no
longer needs to freeze `k8s.io/cri-api`.

Signed-off-by: Hamza El-Saawy <[email protected]>
@helsaawy helsaawy added the tests Pull requests that modify tests label Jul 31, 2023
@helsaawy helsaawy requested a review from a team as a code owner July 31, 2023 18:20
@helsaawy helsaawy marked this pull request as draft August 2, 2023 18:34
@helsaawy
Copy link
Contributor Author

helsaawy commented Nov 8, 2023

Superseded by #1958

@helsaawy helsaawy closed this Nov 8, 2023
@helsaawy helsaawy deleted the deps/containerd-1.7.3 branch February 26, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Pull requests that modify tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant