Skip to content

vendor: github.com/containerd/cgroups v3.0.5#49032

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:vendor_cgroups
Dec 19, 2024
Merged

vendor: github.com/containerd/cgroups v3.0.5#49032
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:vendor_cgroups

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah commented Dec 4, 2024


vendor: github.com/containerd/cgroups v3.0.4

full diff: containerd/cgroups@v3.0.3...v3.0.4

notable changes:

  • chore: don't log ENOTSUP during parsing PSI files
  • Add EOPNOTSUPP to err filter for PSI data
  • cg2: Don't read cgroup.procs when deleting threaded cg
  • Added cgroup type "domain threaded" and "domain invalid"
  • switch to github.com/containerd/log
  • go.mod: update to go1.22 as minimum
  • deprecate RunningInUserNS()
  • dont ignore failure to create cgroup after timeout
  • cgroup2: Manager.Delete: handle both "threaded" and "domain threaded"

Comment on lines +245 to +248
Domain CgroupType = "domain"
DomainThreaded CgroupType = "domain threaded"
DomainInvalid CgroupType = "domain invalid"
Threaded CgroupType = "threaded"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Wondering if this fix is missing other changes; see my comment on the PR;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@thaJeztah
Copy link
Copy Markdown
Member Author

Looks like our code to re-run the TestFlakyNetworkDBIslands flaky test doesn't work entirely because gotestsum prevents it from being run 😂

https://github.com/gotestyourself/gotestsum/blob/ac6dad9c7d87b969004f7749d1942938526c9716/cmd/rerunfails.go#L105-L106

	case exec.HasPanic():
		return fmt.Errorf("rerun aborted because previous run had a suspected panic and some test may not have run")

That retry mechanism was added in this PR;

@thaJeztah thaJeztah marked this pull request as ready for review December 4, 2024 17:11
@thaJeztah
Copy link
Copy Markdown
Member Author

I was wondering if we should wait for v3.0.5 to be tagged with containerd/cgroups#358 included (not sure if there's other PRs still pending on the repo)

@dmcgowan if you could have a peek

@dmcgowan
Copy link
Copy Markdown
Member

full diff: containerd/cgroups@v3.0.3...v3.0.5

notable changes:

- chore: don't log ENOTSUP during parsing PSI files
- Add EOPNOTSUPP to err filter for PSI data
- cg2: Don't read cgroup.procs when deleting threaded cg
- Added cgroup type "domain threaded" and "domain invalid"
- switch to github.com/containerd/log
- go.mod: update to go1.22 as minimum
- deprecate RunningInUserNS()
- dont ignore failure to create cgroup after timeout
- cgroup2: Manager.Delete: handle both "threaded" and "domain threaded"

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah changed the title vendor: github.com/containerd/cgroups v3.0.4 vendor: github.com/containerd/cgroups v3.0.5 Dec 19, 2024
@thaJeztah
Copy link
Copy Markdown
Member Author

thx! Updated to v3.0.5 👍

@thaJeztah thaJeztah merged commit 0c02317 into moby:master Dec 19, 2024
@thaJeztah thaJeztah deleted the vendor_cgroups branch December 19, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants