Skip to content

feat(containerd): Support containerd 2.0 #1658

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ffais
Copy link
Contributor

@ffais ffais commented Dec 18, 2024

Change description

The cri-containerd-*.tar.gz release bundles have been deprecated since containerd v1.6, and from containerd v2.0 this bundle is no longer available.

Related issues

GOSS log

==> qemu: Running goss tests...
==> qemu: Running GOSS validate command: cd /tmp/goss && sudo  /tmp/goss-0.3.16-linux-amd64 --gossfile goss/goss.yaml --vars /tmp/goss/goss-vars.yaml --vars-inline '{"ARCH":"amd64","OS":"ubuntu","OS_VERSION":"2404","PROVIDER":"qemu","containerd_version":"2.0.1","kubernetes_cni_deb_version":"","kubernetes_cni_rpm_version":"","kubernetes_cni_source_type":"pkg","kubernetes_cni_version":"1.2.3","kubernetes_deb_version":"1.31.4-1.1","kubernetes_rpm_version":"1.31.4","kubernetes_source_type":"pkg","kubernetes_version":"1.31.4"}' validate --retry-timeout 0s --sleep 1s -f json -o pretty
    qemu: {
    qemu:     "results": [
    qemu:         {
    qemu:             "duration": 15369822,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "jq",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: jq: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 28168977,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "open-vm-tools",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: open-vm-tools: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 29084636,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "python3-netifaces",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: python3-netifaces: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 56776694,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "0"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "0"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "exit-status",
    qemu:             "resource-id": "crictl ps",
    qemu:             "resource-type": "Command",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Command: crictl ps: exit-status: matches expectation: [0]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 29037946,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "kubelet",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: kubelet: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 44068,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 ""
    qemu:             ],
    qemu:             "found": [
    qemu:                 "[\"1.31.4-1.1\"]"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "version",
    qemu:             "resource-id": "kubelet",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: kubelet: version: matches expectation: []",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 61212706,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "0"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "0"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "exit-status",
    qemu:             "resource-id": "crictl images | grep -v 'IMAGE ID' | awk -F'[ /]' '{print $2}' | sed 's/-amd64//g' | sort",
    qemu:             "resource-type": "Command",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Command: crictl images | grep -v 'IMAGE ID' | awk -F'[ /]' '{print $2}' | sed 's/-amd64//g' | sort: exit-status: matches expectation: [0]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 9642,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "coredns",
    qemu:                 "etcd",
    qemu:                 "kube-apiserver",
    qemu:                 "kube-controller-manager",
    qemu:                 "kube-proxy",
    qemu:                 "kube-scheduler",
    qemu:                 "pause"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "coredns",
    qemu:                 "etcd",
    qemu:                 "kube-apiserver",
    qemu:                 "kube-controller-manager",
    qemu:                 "kube-proxy",
    qemu:                 "kube-scheduler",
    qemu:                 "pause"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "stdout",
    qemu:             "resource-id": "crictl images | grep -v 'IMAGE ID' | awk -F'[ /]' '{print $2}' | sed 's/-amd64//g' | sort",
    qemu:             "resource-type": "Command",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Command: crictl images | grep -v 'IMAGE ID' | awk -F'[ /]' '{print $2}' | sed 's/-amd64//g' | sort: stdout: matches expectation: [coredns etcd kube-apiserver kube-controller-manager kube-proxy kube-scheduler pause]",
    qemu:             "test-type": 2,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 25058523,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "libnetfilter-acct1",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: libnetfilter-acct1: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 67766335,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "0"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "0"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "exit-status",
    qemu:             "resource-id": "containerd --version | awk -F' ' '{print substr($3,2); }'",
    qemu:             "resource-type": "Command",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Command: containerd --version | awk -F' ' '{print substr($3,2); }': exit-status: matches expectation: [0]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 25632988,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "python3-pip",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: python3-pip: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 25899177,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "apt-transport-https",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: apt-transport-https: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 25864530,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "ntp",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: ntp: installed: matches expectation: [false]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 23053590,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "auditd",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: auditd: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 27176012,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "cloud-guest-utils",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: cloud-guest-utils: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 21741010,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "curl",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: curl: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 24683930,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "chrony",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: chrony: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 25442711,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "kubeadm",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: kubeadm: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 23907,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 ""
    qemu:             ],
    qemu:             "found": [
    qemu:                 "[\"1.31.4-1.1\"]"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "version",
    qemu:             "resource-id": "kubeadm",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: kubeadm: version: matches expectation: []",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 19081099,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "linux-cloud-tools-virtual",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: linux-cloud-tools-virtual: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 21871699,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "ebtables",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: ebtables: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 22253127,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "kubectl",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: kubectl: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 24081,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 ""
    qemu:             ],
    qemu:             "found": [
    qemu:                 "[\"1.31.4-1.1\"]"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "version",
    qemu:             "resource-id": "kubectl",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: kubectl: version: matches expectation: []",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 20108402,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "gnupg",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: gnupg: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 21900686,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "socat",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: socat: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 22649025,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "cloud-initramfs-copymods",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: cloud-initramfs-copymods: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 23990278,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "libnetfilter-log1",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: libnetfilter-log1: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 20324996,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "libnetfilter-cttimeout1",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: libnetfilter-cttimeout1: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 24762997,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "linux-tools-virtual",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: linux-tools-virtual: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 21805018,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "conntrack",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: conntrack: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 21850627,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "kubernetes-cni",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: kubernetes-cni: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 21490791,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "cloud-initramfs-dyn-netconf",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: cloud-initramfs-dyn-netconf: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 15463807,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "installed",
    qemu:             "resource-id": "cloud-init",
    qemu:             "resource-type": "Package",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Package: cloud-init: installed: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 9874621,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "enabled",
    qemu:             "resource-id": "dockerd",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: dockerd: enabled: matches expectation: [false]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 8660350,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "running",
    qemu:             "resource-id": "dockerd",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: dockerd: running: matches expectation: [false]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 15725678,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "enabled",
    qemu:             "resource-id": "kubelet",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: kubelet: enabled: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 12346515,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "running",
    qemu:             "resource-id": "kubelet",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: kubelet: running: matches expectation: [false]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 13324288,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "enabled",
    qemu:             "resource-id": "networkd-dispatcher",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: networkd-dispatcher: enabled: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 21771833,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "running",
    qemu:             "resource-id": "networkd-dispatcher",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: networkd-dispatcher: running: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 14141486,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "enabled",
    qemu:             "resource-id": "conntrackd",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: conntrackd: enabled: matches expectation: [false]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 24895238,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "running",
    qemu:             "resource-id": "conntrackd",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: conntrackd: running: matches expectation: [false]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 12658628,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "enabled",
    qemu:             "resource-id": "containerd",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: containerd: enabled: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 16318922,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "running",
    qemu:             "resource-id": "containerd",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: containerd: running: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 17339,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "\"1\""
    qemu:             ],
    qemu:             "found": [
    qemu:                 "\"1\""
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "value",
    qemu:             "resource-id": "net.ipv4.conf.all.rp_filter",
    qemu:             "resource-type": "KernelParam",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "KernelParam: net.ipv4.conf.all.rp_filter: value: matches expectation: [\"1\"]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 10010,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "\"1\""
    qemu:             ],
    qemu:             "found": [
    qemu:                 "\"1\""
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "value",
    qemu:             "resource-id": "net.bridge.bridge-nf-call-iptables",
    qemu:             "resource-type": "KernelParam",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "KernelParam: net.bridge.bridge-nf-call-iptables: value: matches expectation: [\"1\"]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 7200,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "\"0\""
    qemu:             ],
    qemu:             "found": [
    qemu:                 "\"0\""
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "value",
    qemu:             "resource-id": "net.ipv6.conf.all.disable_ipv6",
    qemu:             "resource-type": "KernelParam",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "KernelParam: net.ipv6.conf.all.disable_ipv6: value: matches expectation: [\"0\"]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 6715,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "\"1\""
    qemu:             ],
    qemu:             "found": [
    qemu:                 "\"1\""
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "value",
    qemu:             "resource-id": "vm.overcommit_memory",
    qemu:             "resource-type": "KernelParam",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "KernelParam: vm.overcommit_memory: value: matches expectation: [\"1\"]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 5433,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "\"1\""
    qemu:             ],
    qemu:             "found": [
    qemu:                 "\"1\""
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "value",
    qemu:             "resource-id": "net.bridge.bridge-nf-call-ip6tables",
    qemu:             "resource-type": "KernelParam",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "KernelParam: net.bridge.bridge-nf-call-ip6tables: value: matches expectation: [\"1\"]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 5572,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "\"10\""
    qemu:             ],
    qemu:             "found": [
    qemu:                 "\"10\""
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "value",
    qemu:             "resource-id": "kernel.panic",
    qemu:             "resource-type": "KernelParam",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "KernelParam: kernel.panic: value: matches expectation: [\"10\"]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 6686,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "\"1\""
    qemu:             ],
    qemu:             "found": [
    qemu:                 "\"1\""
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "value",
    qemu:             "resource-id": "net.ipv4.ip_forward",
    qemu:             "resource-type": "KernelParam",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "KernelParam: net.ipv4.ip_forward: value: matches expectation: [\"1\"]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 5075,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "\"1\""
    qemu:             ],
    qemu:             "found": [
    qemu:                 "\"1\""
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "value",
    qemu:             "resource-id": "kernel.panic_on_oops",
    qemu:             "resource-type": "KernelParam",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "KernelParam: kernel.panic_on_oops: value: matches expectation: [\"1\"]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 7931,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "\"1\""
    qemu:             ],
    qemu:             "found": [
    qemu:                 "\"1\""
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "value",
    qemu:             "resource-id": "net.ipv6.conf.all.forwarding",
    qemu:             "resource-type": "KernelParam",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "KernelParam: net.ipv6.conf.all.forwarding: value: matches expectation: [\"1\"]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 11881540,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "enabled",
    qemu:             "resource-id": "apt-daily.timer",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: apt-daily.timer: enabled: matches expectation: [false]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 7938118,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "running",
    qemu:             "resource-id": "apt-daily.timer",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: apt-daily.timer: running: matches expectation: [false]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 12936875,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "enabled",
    qemu:             "resource-id": "apt-daily-upgrade.timer",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: apt-daily-upgrade.timer: enabled: matches expectation: [false]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 18388580,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "false"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "running",
    qemu:             "resource-id": "apt-daily-upgrade.timer",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: apt-daily-upgrade.timer: running: matches expectation: [false]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 9903364,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "enabled",
    qemu:             "resource-id": "auditd",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: auditd: enabled: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 14831497,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "running",
    qemu:             "resource-id": "auditd",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: auditd: running: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 14366829,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "enabled",
    qemu:             "resource-id": "chronyd",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: chronyd: enabled: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         },
    qemu:         {
    qemu:             "duration": 9067285,
    qemu:             "err": null,
    qemu:             "expected": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "found": [
    qemu:                 "true"
    qemu:             ],
    qemu:             "human": "",
    qemu:             "meta": null,
    qemu:             "property": "running",
    qemu:             "resource-id": "chronyd",
    qemu:             "resource-type": "Service",
    qemu:             "result": 0,
    qemu:             "successful": true,
    qemu:             "summary-line": "Service: chronyd: running: matches expectation: [true]",
    qemu:             "test-type": 0,
    qemu:             "title": ""
    qemu:         }
    qemu:     ],
    qemu:     "summary": {
    qemu:         "failed-count": 0,
    qemu:         "summary-line": "Count: 60, Failed: 0, Duration: 0.217s",
    qemu:         "test-count": 60,
    qemu:         "total-duration": 216965500
    qemu:     }
    qemu: }
==> qemu: Goss validate ran successfully
==> qemu: Running GOSS render command: cd /tmp/goss &&  /tmp/goss-0.3.16-linux-amd64 --gossfile goss/goss.yaml --vars /tmp/goss/goss-vars.yaml --vars-inline '{"ARCH":"amd64","OS":"ubuntu","OS_VERSION":"2404","PROVIDER":"qemu","containerd_version":"2.0.1","kubernetes_cni_deb_version":"","kubernetes_cni_rpm_version":"","kubernetes_cni_source_type":"pkg","kubernetes_cni_version":"1.2.3","kubernetes_deb_version":"1.31.4-1.1","kubernetes_rpm_version":"1.31.4","kubernetes_source_type":"pkg","kubernetes_version":"1.31.4"}' render > /tmp/goss-spec.yaml
==> qemu: Goss render ran successfully
==> qemu: Running GOSS render debug command: cd /tmp/goss &&  /tmp/goss-0.3.16-linux-amd64 --gossfile goss/goss.yaml --vars /tmp/goss/goss-vars.yaml --vars-inline '{"ARCH":"amd64","OS":"ubuntu","OS_VERSION":"2404","PROVIDER":"qemu","containerd_version":"2.0.1","kubernetes_cni_deb_version":"","kubernetes_cni_rpm_version":"","kubernetes_cni_source_type":"pkg","kubernetes_cni_version":"1.2.3","kubernetes_deb_version":"1.31.4-1.1","kubernetes_rpm_version":"1.31.4","kubernetes_source_type":"pkg","kubernetes_version":"1.31.4"}' render -d > /tmp/debug-goss-spec.yaml
==> qemu: Goss render debug ran successfully

@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 18, 2024
Copy link

linux-foundation-easycla bot commented Dec 18, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Dec 18, 2024
@k8s-ci-robot
Copy link
Contributor

Welcome @ffais!

It looks like this is your first PR to kubernetes-sigs/image-builder 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/image-builder has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Dec 18, 2024
@k8s-ci-robot
Copy link
Contributor

Hi @ffais. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 18, 2024
@ffais ffais marked this pull request as ready for review December 18, 2024 17:19
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 18, 2024
@mboersma
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 23, 2024
@ffais
Copy link
Contributor Author

ffais commented Dec 24, 2024

/test pull-azure-sigs

1 similar comment
@ffais
Copy link
Contributor Author

ffais commented Dec 28, 2024

/test pull-azure-sigs

@ffais
Copy link
Contributor Author

ffais commented Dec 30, 2024

Azure tests keep failing randomly, I did some tests locally and everything works perfectly. Could it be related to this #1656 ?

@mboersma
Copy link
Contributor

mboersma commented Dec 30, 2024

In the last case, it was this:

�[0;32m    azure-arm.sig-ubuntu-2404-gen2: TASK [kubernetes : Install Kubernetes] *****************************************�[0m
�[0;32m    azure-arm.sig-ubuntu-2404-gen2: fatal: [default]: FAILED! => {"cache_update_time": 1735390377, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"       install 'kubelet=1.30.5-1.1' 'kubeadm=1.30.5-1.1' 'kubectl=1.30.5-1.1' 'kubernetes-cni=1.4.0-1.1'' failed: E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 18541 (apt)\nE: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?\n", "rc": 100, "stderr": "E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 18541 (apt)\nE: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?\n", "stderr_lines": ["E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 18541 (apt)", "E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?"], "stdout": "", "stdout_lines": []}�[0m
�[0;32m    azure-arm.sig-ubuntu-2404-gen2:�[0m

I've never seen an apt lock failure before, honestly don't know what's going on, but I would call it a flake. I don't think the pull-azure-sigs job is required for merge, so we can ignore failures like that for now.

The failure in #1656 manifests at a higher level and fails all the builds, so I don't think this is related. :-|

@mboersma mboersma removed the request for review from CecileRobertMichon December 30, 2024 15:43
@mboersma
Copy link
Contributor

/test pull-azure-sigs

1 similar comment
@ffais
Copy link
Contributor Author

ffais commented Jan 14, 2025

/test pull-azure-sigs

@sivchari
Copy link
Member

sivchari commented Feb 5, 2025

/retest

@sivchari
Copy link
Member

sivchari commented Feb 5, 2025

fmm 🤔

@ffais
Copy link
Contributor Author

ffais commented Mar 25, 2025

@drew-viles Let me know if you prefer to have version containerd 2.0 configured as default before merging.

@@ -30,6 +30,19 @@
dest: /tmp/containerd.tar.gz
mode: "0600"

- name: Download containerd.service
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be great if this goes behind flag? We can default the flag to download.
If not mistaken, containerd as a artifact does not publish the bundle anymore, but the scripts to generate them still exists. So if any provider/anyone still wants to use the bundle to do things, the can set the flag to false and continue to use older way.

Copy link
Contributor Author

@ffais ffais Mar 28, 2025

Choose a reason for hiding this comment

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

If we want to keep support for containerd bundles we have to put behind flag runc as well. I don't know how long the generation script is kept updated.

@ffais
Copy link
Contributor Author

ffais commented Mar 30, 2025

/retest

@drew-viles
Copy link
Contributor

Sorry I'm absolutely slammed at the moment so I'm just not getting the time to sit with this properly just yet. I'll try asap.

@drew-viles
Copy link
Contributor

drew-viles commented Apr 28, 2025

ok, finally getting around to testing this! Sorry it's taken so long. I can only test it from the OpenStack side though and we will need consensus across a number of people since it change every single provider.

With that in mind, to make sure an approval doesn't just force a merge, I'll be tagging it with "do-not-merge"

Bear in mind this isn't a rejection, just a safety measure - once we've had an acceptable number of people approve this from across the different providers, we can remove this and get it merged.

I'll let you know shortly how my testing gets on.

@drew-viles drew-viles added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 28, 2025
@drew-viles
Copy link
Contributor

ok this has allowed me to build an image in OpenStack successfully and deploy a Kubernetes cluster.
The changes hasn't broken anything on my side!!

containerd --version
containerd github.com/containerd/containerd v1.7.25 bcc810d6b9066471b0b6fa75f557a15a1cbf31bb

Sorry it took so long but from my side it looks good.

As I say, we'll need other from other providers to confirm all is well for them before pushing it in due to the wide reaching nature of this change.

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: drew-viles

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 28, 2025
@akhilerm
Copy link

containerd --version
containerd github.com/containerd/containerd v1.7.25 bcc810d6b9066471b0b6fa75f557a15a1cbf31bb

/approve

Why is the version still 1.7.25 🤔 ?

@ffais
Copy link
Contributor Author

ffais commented Apr 28, 2025

@drew-viles Let me know if you prefer to have version containerd 2.0 configured as default before merging.

@akhilerm I opened this issue 5 months ago when Containerd 2.0 had just been released. Given the short time since the release and the lack of testing, I preferred not to set 2.0 as default. I have been using images created with image-builder and with Containerd 2.0 on azure, OpenStack and bare-metal for several months now without problems. Let me know if you would prefer to bump to 2.0 in this PR or if it would be more appropriate to do it in a separate PR.

PS: @drew-viles if you want to test also Containerd 2.0 this is my setup.
PACKER_VAR_FILES:

{
  "containerd_version": "2.0.4",
  "containerd_sha256": "e1c64c5fd60ecd555e750744eaef150b6f78d7f750da5c08c52825aa6b791737",
  "crictl_version": "1.32.0",
  "kubernetes_deb_version": "1.31.6-1.1",
  "kubernetes_semver": "v1.31.6",
  "kubernetes_series": "v1.31",
  "kubernetes_cni_semver": "v1.6.2",
  "runc_version": "1.2.6",
  "runc_sha256": "0774f49d1b1eebb5849e644db5e4dc6f2b06cee05f13b3d17d5d6ba62d6f2ebc"
}

@drew-viles
Copy link
Contributor

Yeah it just defaults to 1.7.25 still as mentioned. I'm personally happy either way. Maybe it's something we can check through in a future PR and look at bumping it up once more demand comes in? We need to know flipping everyone over to it isn't going to have a massive impact.

Whilst I doubt it will, it's not beyond the realms of possibility.

I'd be keen to see how others feel about changing it to v2.0 to be honest.
fwiw, I did also test with v2.0 as well by adjusting my values too and there was no issue. But it's one provider in the many, many that we have to support.

@mboersma @AverageMarcus @jsturtevant - what is your take on this?

@k8s-ci-robot k8s-ci-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. do-not-merge/contains-merge-commits and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels May 8, 2025
@ffais ffais force-pushed the support-containerd-2-0 branch from 8b777e9 to 857eb5c Compare May 14, 2025 15:12
Flask added a commit to helio/image-builder that referenced this pull request May 16, 2025
@simonostendorf
Copy link
Contributor

What is the release plan for this?

Copy link

@akhilerm akhilerm left a comment

Choose a reason for hiding this comment

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

Change is needed in https://github.com/kubernetes-sigs/image-builder/blob/main/images/capi/packer/goss/goss-command.yaml#L179 as containerd 2.0 now uses sandbox instead of sandbox_image

@ffais
Copy link
Contributor Author

ffais commented May 27, 2025

@akhilerm you're right. The only way I see to fix this problem is to implement in image builder the support for both config.toml versions. We can add both template (version 2 and 3) and automatically select the proper one based on the containerd version. If containerd version is lower than 2 then use version=2 otherwise use version=3.

Implementing this feature would save the configuration migration at every daemon startup.

As discussed in #1708 I don't know if adding this new functionality in this PR is a good idea.

@k8s-ci-robot
Copy link
Contributor

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

containerd release bundles deprecated
10 participants