Merge ~lucaskanashiro/ubuntu/+source/containerd:merge-noble into ubuntu/+source/containerd:debian/sid

Proposed by Lucas Kanashiro
Status: Merged
Approved by: git-ubuntu bot
Approved revision: not available
Merge reported by: Andreas Hasenack
Merged at revision: 67e4c0b49d242a639e101960d8fdf5698234feee
Proposed branch: ~lucaskanashiro/ubuntu/+source/containerd:merge-noble
Merge into: ubuntu/+source/containerd:debian/sid
Diff against target: 350 lines (+57/-80)
6 files modified
debian/changelog (+53/-0)
debian/control (+2/-22)
debian/golang-github-containerd-containerd-dev.docs (+0/-2)
debian/rules (+2/-18)
debian/tests/control (+0/-20)
dev/null (+0/-18)
Reviewer Review Type Date Requested Status
git-ubuntu bot Approve
Athos Ribeiro (community) Approve
Canonical Server Reporter Pending
Review via email: mp+458642@code.launchpad.net

Description of the change

Merge version 1.6.20_ds1-1 from Debian. Most of the delta must be kept because of src:containerd-app, a single patch was removed because it does not seem to be needed anymore.

PPA with the proposed package:

https://launchpad.net/~lucaskanashiro/+archive/ubuntu/container-backports/+packages

autopkgtest summary:

autopkgtest [16:50:43]: @@@@@@@@@@@@@@@@@@@@ summary
build-only PASS
dh-golang-autopkgtest PASS

To post a comment you must log in.
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Thanks, Lucas.

- The commit message for 3093cdb is incomplete. It also causes the second entry in the changelog to be incomplete.

Other than that, this LGTM.

review: Needs Information
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Thanks for catching this Athos :) The commit message and the changelog entry are fixed now.

Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

LGTM!

Thanks, Lucas :)

review: Approve
Revision history for this message
git-ubuntu bot (git-ubuntu-bot) wrote :

Approvers: lucaskanashiro, athos-ribeiro
Uploaders: lucaskanashiro, athos-ribeiro
MP auto-approved

review: Approve
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Thanks Athos, package uploaded:

Uploading containerd_1.6.24~ds1-1ubuntu1.dsc
Uploading containerd_1.6.24~ds1.orig.tar.xz
Uploading containerd_1.6.24~ds1-1ubuntu1.debian.tar.xz
Uploading containerd_1.6.24~ds1-1ubuntu1_source.buildinfo
Uploading containerd_1.6.24~ds1-1ubuntu1_source.changes

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This migrated already, marking the MP as merged.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index c5076e3..a852b11 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,26 @@
6+containerd (1.6.24~ds1-1ubuntu1) noble; urgency=medium
7+
8+ * Merge with Debian unstable (LP: #2040374). Remaining changes:
9+ - d/control: remove the binary paragraph for containerd.
10+ - d/containerd.*: remove all packaging related files associated to the
11+ containerd binary package.
12+ - d/tests/{cri-integration,integration}: remove since they depend on the
13+ containerd binary package which is not provided by this source package
14+ anymore.
15+ - d/rules: remove execute_after_dh_auto_build target, it is changing
16+ content in the containerd binary package. Also avoid installing binaries
17+ in the library package.
18+ - d/golang-github-containerd-containerd-dev.install: remove this file, it
19+ is causing a FTBFS, no need to have it in place, the library files are
20+ already installed correctly without it.
21+ - d/golang-github-containerd-containerd-dev.docs: install NOTICE file to
22+ be compliant with the Apache 2 license.
23+ * Dropped:
24+ - d/p/0009-Skip-test-trying-to-set-OOM-score.patch: fix FTBFS.
25+ [Not needed anymore]
26+
27+ -- Lucas Kanashiro <kanashiro@ubuntu.com> Fri, 12 Jan 2024 19:00:15 -0300
28+
29 containerd (1.6.24~ds1-1) unstable; urgency=medium
30
31 * New upstream version 1.6.24~ds1
32@@ -13,6 +36,36 @@ containerd (1.6.20~ds1-2) unstable; urgency=medium
33
34 -- Shengjing Zhu <zhsj@debian.org> Wed, 23 Aug 2023 13:48:17 +0800
35
36+containerd (1.6.20~ds1-1ubuntu2) mantic; urgency=medium
37+
38+ * d/p/0009-Skip-test-trying-to-set-OOM-score.patch: fix FTBFS.
39+
40+ -- Lucas Kanashiro <kanashiro@ubuntu.com> Wed, 21 Jun 2023 23:07:52 -0300
41+
42+containerd (1.6.20~ds1-1ubuntu1) mantic; urgency=medium
43+
44+ * Merge from Debian unstable (LP: #2022390). Make src:containerd
45+ follow Debian and src:containerd-app is going to ship the application with
46+ vendorized dependencies so we can keep updating just the application across
47+ all supported releases.
48+ * Added changes:
49+ - d/control: remove the binary paragraph for containerd.
50+ - d/containerd.*: remove all packaging related files associated to the
51+ containerd binary package.
52+ - d/tests/{cri-integration,integration}: remove since they depend on the
53+ containerd binary package which is not provided by this source package
54+ anymore.
55+ - d/rules: remove execute_after_dh_auto_build target, it is changing
56+ content in the containerd binary package. Also avoid installing binaries
57+ in the library package.
58+ - d/golang-github-containerd-containerd-dev.install: remove this file, it
59+ is causing a FTBFS, no need to have it in place, the library files are
60+ already installed correctly without it.
61+ - d/golang-github-containerd-containerd-dev.docs: install NOTICE file to
62+ be compliant with the Apache 2 license.
63+
64+ -- Lucas Kanashiro <kanashiro@ubuntu.com> Wed, 21 Jun 2023 11:53:33 -0300
65+
66 containerd (1.6.20~ds1-1) unstable; urgency=medium
67
68 * New upstream version 1.6.20~ds1
69diff --git a/debian/containerd.install b/debian/containerd.install
70deleted file mode 100644
71index a24d979..0000000
72--- a/debian/containerd.install
73+++ /dev/null
74@@ -1,4 +0,0 @@
75-debian/bash-completion/ctr /usr/share/bash-completion/completions/
76-debian/config.toml /etc/containerd/
77-debian/zsh-completion/_ctr /usr/share/zsh/vendor-completions/
78-usr/bin
79diff --git a/debian/containerd.manpages b/debian/containerd.manpages
80deleted file mode 100644
81index 669e06c..0000000
82--- a/debian/containerd.manpages
83+++ /dev/null
84@@ -1,4 +0,0 @@
85-man/containerd-config.8
86-man/containerd-config.toml.5
87-man/containerd.8
88-man/ctr.8
89diff --git a/debian/control b/debian/control
90index 3d4d0ac..8441d2a 100644
91--- a/debian/control
92+++ b/debian/control
93@@ -1,7 +1,8 @@
94 Source: containerd
95 Section: admin
96 Priority: optional
97-Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
98+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
99+XSBC-Original-Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
100 Uploaders: Tianon Gravi <tianon@debian.org>,
101 Tim Potter <tpot@hpe.com>,
102 Shengjing Zhu <zhsj@debian.org>,
103@@ -76,27 +77,6 @@ Vcs-Browser: https://salsa.debian.org/go-team/packages/containerd
104 XS-Go-Import-Path: github.com/containerd/containerd
105 Testsuite: autopkgtest-pkg-go
106
107-Package: containerd
108-Build-Profiles: <!pkg.containerd.onlydev>
109-Architecture: linux-any
110-Breaks: docker.io (<< 1.12),
111-Depends: runc (>= 0.1.0~),
112- ${misc:Depends},
113- ${shlibs:Depends},
114-Suggests: containernetworking-plugins,
115-Built-Using: ${misc:Built-Using},
116-Description: open and reliable container runtime
117- Containerd is an industry-standard container runtime with an emphasis on
118- simplicity, robustness and portability. It is available as a daemon for
119- Linux and Windows, which can manage the complete container life cycle of
120- its host system: image transfer and storage, container execution and
121- supervision, low-level storage and network attachments, etc.
122- .
123- Containerd is designed to be embedded into a larger system, rather than
124- being used directly by developers or end-users.
125- .
126- This package contains the binaries.
127-
128 Package: golang-github-containerd-containerd-dev
129 Architecture: all
130 Section: golang
131diff --git a/debian/containerd.docs b/debian/golang-github-containerd-containerd-dev.docs
132similarity index 50%
133rename from debian/containerd.docs
134rename to debian/golang-github-containerd-containerd-dev.docs
135index 5a277f9..6d5ee1d 100644
136--- a/debian/containerd.docs
137+++ b/debian/golang-github-containerd-containerd-dev.docs
138@@ -1,3 +1 @@
139 NOTICE
140-README.md
141-docs/*.md
142diff --git a/debian/golang-github-containerd-containerd-dev.install b/debian/golang-github-containerd-containerd-dev.install
143deleted file mode 100644
144index eab67da..0000000
145--- a/debian/golang-github-containerd-containerd-dev.install
146+++ /dev/null
147@@ -1 +0,0 @@
148-usr/share/gocode/src/
149diff --git a/debian/rules b/debian/rules
150index ebb2872..e6d52b0 100755
151--- a/debian/rules
152+++ b/debian/rules
153@@ -27,23 +27,7 @@ export DH_GOLANG_EXCLUDES := $(EXCLUDES)
154 override_dh_auto_build:
155 dh_auto_build -- -ldflags '$(GO_LDFLAGS)'
156
157-ifeq (,$(AUTOPKGTEST_TMP))
158-execute_after_dh_auto_build:
159- mkdir -p man
160- make man/containerd-config.8
161- make man/containerd-config.toml.5
162- _build/bin/gen-manpages containerd.8 man
163- _build/bin/gen-manpages ctr.8 man
164- rm -vf _build/bin/gen-manpages
165-
166- sed 's|/usr/local/bin|/usr/bin|' containerd.service > debian/containerd.service
167- mkdir -vp debian/bash-completion
168- install -m644 -T /usr/share/gocode/src/github.com/urfave/cli/autocomplete/bash_autocomplete \
169- debian/bash-completion/ctr
170- mkdir -vp debian/zsh-completion
171- sed 's|$$PROG|ctr|g' /usr/share/gocode/src/github.com/urfave/cli/autocomplete/zsh_autocomplete > \
172- debian/zsh-completion/_ctr
173-endif
174-
175 override_dh_auto_install:
176 DH_GOLANG_EXCLUDES="$(EXCLUDES) $(EXTRA_EXCLUDES)" dh_auto_install
177+ # Do not install binaries
178+ rm -rf debian/golang-github-containerd-containerd-dev/usr/bin
179diff --git a/debian/tests/control b/debian/tests/control
180index 4a9ad6a..306d7cb 100644
181--- a/debian/tests/control
182+++ b/debian/tests/control
183@@ -1,23 +1,3 @@
184-Tests: integration
185-Depends: ca-certificates,
186- containerd,
187- lsof,
188- @builddeps@,
189-Restrictions: allow-stderr, needs-root, needs-internet, isolation-container, flaky
190-# Integration test uses k8s.gcr.io/pause:3.5 image
191-# See the supported architectures for this image:
192-# $ curl https://k8s.gcr.io/v2/pause/manifests/3.2
193-Architecture: amd64, arm64, armel, armhf, ppc64el, s390x
194-
195-Tests: cri-integration
196-Depends: ca-certificates,
197- containerd,
198- containernetworking-plugins,
199- procps,
200- @builddeps@,
201-Restrictions: allow-stderr, needs-root, needs-internet, isolation-container, flaky
202-Architecture: amd64, arm64, ppc64el
203-
204 Tests: build-only
205 Depends: dh-golang,
206 golang-any,
207diff --git a/debian/tests/cri-integration b/debian/tests/cri-integration
208deleted file mode 100755
209index 579a35c..0000000
210--- a/debian/tests/cri-integration
211+++ /dev/null
212@@ -1,114 +0,0 @@
213-#!/bin/sh
214-
215-set -ex
216-
217-dh_auto_configure -O--buildsystem=golang -O--builddirectory=_build
218-
219-# overlayfs not work in lxc
220-find _build/ -name snapshotter_default_linux.go -exec sed -i 's|DefaultSnapshotter = "overlayfs"|DefaultSnapshotter = "native"|g' {} +
221-
222-DH_GOPKG=github.com/containerd/containerd/integration/failpoint/cmd \
223- dh_auto_build -O--buildsystem=golang -O--builddirectory=_build
224-
225-cp -v _build/bin/containerd-shim-runc-fp-v1 /usr/local/bin/
226-cp -v _build/bin/cni-bridge-fp /usr/lib/cni
227-
228-mkdir -p /etc/cni/net.d /etc/cni-fp/net.d
229-cat << EOF | tee /etc/cni/net.d/10-containerd-net.conflist
230-{
231- "cniVersion": "1.0.0",
232- "name": "containerd-net",
233- "plugins": [
234- {
235- "type": "bridge",
236- "bridge": "cni0",
237- "isGateway": true,
238- "ipMasq": true,
239- "promiscMode": true,
240- "ipam": {
241- "type": "host-local",
242- "ranges": [
243- [{
244- "subnet": "10.88.0.0/16"
245- }],
246- [{
247- "subnet": "2001:4860:4860::/64"
248- }]
249- ],
250- "routes": [
251- { "dst": "0.0.0.0/0" },
252- { "dst": "::/0" }
253- ]
254- }
255- },
256- {
257- "type": "portmap",
258- "capabilities": {"portMappings": true}
259- }
260- ]
261-}
262-EOF
263-
264-cat << EOF | tee /etc/cni-fp/net.d/10-containerd-net.conflist
265-{
266- "cniVersion": "1.0.0",
267- "name": "containerd-net-failpoint",
268- "plugins": [
269- {
270- "type": "cni-bridge-fp",
271- "bridge": "cni-fp",
272- "isGateway": true,
273- "ipMasq": true,
274- "promiscMode": true,
275- "ipam": {
276- "type": "host-local",
277- "ranges": [
278- [{
279- "subnet": "10.88.0.0/16"
280- }],
281- [{
282- "subnet": "2001:4860:4860::/64"
283- }]
284- ],
285- "routes": [
286- { "dst": "0.0.0.0/0" },
287- { "dst": "::/0" }
288- ]
289- },
290- "capabilities": {
291- "io.kubernetes.cri.pod-annotations": true
292- }
293- },
294- {
295- "type": "portmap",
296- "capabilities": {"portMappings": true}
297- }
298- ]
299-}
300-EOF
301-
302-cat << EOF | tee /etc/containerd/config.toml
303-version = 2
304-
305-[plugins]
306- [plugins."io.containerd.grpc.v1.cri"]
307- [plugins."io.containerd.grpc.v1.cri".cni]
308- bin_dir = "/usr/lib/cni"
309- conf_dir = "/etc/cni/net.d"
310- [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
311- runtime_type = "io.containerd.runc.v2"
312- [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc-fp]
313- cni_conf_dir = "/etc/cni-fp/net.d"
314- cni_max_conf_num = 1
315- pod_annotations = ["io.containerd.runtime.v2.shim.failpoint.*"]
316- runtime_type = "runc-fp.v1"
317- [plugins."io.containerd.internal.v1.opt"]
318- path = "/var/lib/containerd/opt"
319-EOF
320-
321-systemctl status containerd
322-systemctl restart containerd
323-systemctl status containerd
324-
325-DH_GOLANG_BUILDPKG=github.com/containerd/containerd/integration \
326- dh_auto_test -O--buildsystem=golang -O--builddirectory=_build --no-parallel
327diff --git a/debian/tests/integration b/debian/tests/integration
328deleted file mode 100755
329index 6fd5d8e..0000000
330--- a/debian/tests/integration
331+++ /dev/null
332@@ -1,18 +0,0 @@
333-#!/bin/sh
334-
335-set -ex
336-
337-# Let integration start containerd daemon
338-systemctl stop containerd
339-systemctl status containerd || true
340-
341-dh_auto_configure -O--buildsystem=golang -O--builddirectory=_build
342-
343-# overlayfs not work in lxc
344-find _build/ -name snapshotter_default_linux.go -exec sed -i 's|DefaultSnapshotter = "overlayfs"|DefaultSnapshotter = "native"|g' {} +
345-
346-DH_GOLANG_BUILDPKG=github.com/containerd/containerd/integration/client \
347- dh_auto_test -O--buildsystem=golang -O--builddirectory=_build -- -c
348-
349-# criu no permission in lxc testbed
350-./_build/client.test -test.v -test.root

Subscribers

People subscribed via source and target branches