Skip to content

Prepare 1.7.x#3422

Merged
AkihiroSuda merged 30 commits intocontainerd:release/1.7from
Shubhranshu153:prepare-1.7.x
Sep 10, 2024
Merged

Prepare 1.7.x#3422
AkihiroSuda merged 30 commits intocontainerd:release/1.7from
Shubhranshu153:prepare-1.7.x

Conversation

@Shubhranshu153
Copy link
Copy Markdown
Contributor

Updating dependencies for the release

dependabot Bot and others added 9 commits September 8, 2024 13:20
Bumps [github.com/containerd/accelerated-container-image](https://github.com/containerd/accelerated-container-image) from 1.0.4 to 1.1.2.
- [Release notes](https://github.com/containerd/accelerated-container-image/releases)
- [Commits](containerd/accelerated-container-image@v1.0.4...v1.1.2)

---
updated-dependencies:
- dependency-name: github.com/containerd/accelerated-container-image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Shubharanshu Mahapatra <shubhum@amazon.com>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Justin Alvarez <alvajus@amazon.com>
Signed-off-by: Shubharanshu Mahapatra <shubhum@amazon.com>
Signed-off-by: CodeChanning <chxgaddy@amazon.com>
Signed-off-by: CodeChanning <chxgaddy@amazon.com>
Signed-off-by: CodeChanning <chxgaddy@amazon.com>
Signed-off-by: CodeChanning <chxgaddy@amazon.com>
Related to
[containerd#3310](containerd#3310)

New behavior will always initialize a NetworkSettings entity
for the inspect response, including Ports child member.

If inspecting a running container with published ports,
then all information will be correctly returned.
If inspecting a running container without published ports,
then NetworkSettings will include an initialized Ports member.
If inspecting a stopped/exited container,
then an entirely initialized, "empty-value" NetworkSettings
is returned.

Signed-off-by: Sam Chew <stchew@amazon.com>
Signed-off-by: Shubharanshu Mahapatra <shubhum@amazon.com>
@Shubhranshu153
Copy link
Copy Markdown
Contributor Author

@AkihiroSuda This test TestRunContainerWithMACAddress seems to not docker compat after CNI plugins upgrade
Is the recommendation is to upgrade docker and port the fixes made in main to this branch?

@AkihiroSuda
Copy link
Copy Markdown
Member

@AkihiroSuda This test TestRunContainerWithMACAddress seems to not docker compat after CNI plugins upgrade Is the recommendation is to upgrade docker and port the fixes made in main to this branch?

I think you can rollback the Docker version (v25? v24?) on the CI and call it a day

Like this:

Comment thread Dockerfile Outdated
Shubhranshu153 and others added 13 commits September 9, 2024 01:43
Signed-off-by: Shubharanshu Mahapatra <shubhum@amazon.com>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Shubharanshu Mahapatra <shubhum@amazon.com>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Bumps tonistiigi/xx from 1.4.0 to 1.5.0.

---
updated-dependencies:
- dependency-name: tonistiigi/xx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@AkihiroSuda
Copy link
Copy Markdown
Member

test

Restarted. Seems green.

linter

Probably golangci-lint has to be updated

- name: golangci-lint
uses: golangci/golangci-lint-action@v3.7.0
with:
version: v1.55.2
args: --verbose

Comment thread go.mod Outdated
@apostasie
Copy link
Copy Markdown
Contributor

For test that pass i see errors:
is this expected?

That is because the tests and test suite are retried multiple times when they fail.
Failures are still listed, but they do not fail the run if they passed at least once :/.
#3400

@Shubhranshu153
Copy link
Copy Markdown
Contributor Author

Updated the golint version, it seems there are some undefined pkg, which doesnt seem to be correct,

Comment thread .github/workflows/test.yml Outdated
Signed-off-by: Shubharanshu Mahapatra <shubhum@amazon.com>
@apostasie
Copy link
Copy Markdown
Contributor

Updated the golint version, it seems there are some undefined pkg, which doesnt seem to be correct,

Updated golang & golinter will require additional fixes. Some were fixed here: https://github.com/containerd/nerdctl/pull/3321/files

Signed-off-by: apostasie <spam_blackhole@farcloser.world>
@Shubhranshu153 Shubhranshu153 force-pushed the prepare-1.7.x branch 3 times, most recently from 006599f to 49be4c0 Compare September 9, 2024 01:44
Signed-off-by: Shubharanshu Mahapatra <shubhum@amazon.com>
@Shubhranshu153
Copy link
Copy Markdown
Contributor Author

@AkihiroSuda / @apostasie
Updated in conformance to linter.
One test suite is failing due to to flakiness, Can we rerun it.

Thanks

@AkihiroSuda AkihiroSuda added this to the v1.7.7 milestone Sep 9, 2024
@apostasie
Copy link
Copy Markdown
Contributor

@Shubhranshu153 hard work porting these... 👍

Went through the changes - looks good - and CI is green.

Curious why the docker-compat testing suite got held back on ubuntu 22.04 - but then I don't think it matters.

@Shubhranshu153
Copy link
Copy Markdown
Contributor Author

Shubhranshu153 commented Sep 9, 2024

Not sure, in the main it was 22.04 so i kept 22.04.

@Shubhranshu153
Copy link
Copy Markdown
Contributor Author

Considering the changes are ok, was wondering what are the next steps required for releasing it.
Thanks.

@apostasie
Copy link
Copy Markdown
Contributor

Not sure, in the main it was 22.04 so i kept 22.04.

Isn't it 24.04 on main? https://github.com/containerd/nerdctl/blob/main/.github/workflows/test.yml#L258-L259 (again, not a big deal anyhow, mere curiosity)

Considering the changes are ok, was wondering what are the next steps required for releasing it.

@AkihiroSuda (or other maintainers) for this ^.

@Shubhranshu153
Copy link
Copy Markdown
Contributor Author

ah i see i was porting some commits and it had the comment and didnt notice it has been fixed, updating it

@Shubhranshu153 Shubhranshu153 force-pushed the prepare-1.7.x branch 2 times, most recently from 40047c6 to 7cab42c Compare September 9, 2024 05:27
@Shubhranshu153
Copy link
Copy Markdown
Contributor Author

@apostasie Not updating the docker compat one to 24.04, seems stable release doesn't have a docker 24 release
https://download.docker.com/linux/ubuntu/dists/noble/pool/stable/amd64/

Comment thread .github/workflows/test.yml Outdated
Signed-off-by: Shubharanshu Mahapatra <shubhum@amazon.com>
Copy link
Copy Markdown
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda merged commit 5882c72 into containerd:release/1.7 Sep 10, 2024
@AkihiroSuda
Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants