Skip to content

Instantly share code, notes, and snippets.

@GabyCT
Created July 15, 2021 17:51
Show Gist options
  • Select an option

  • Save GabyCT/ae4c99ae6f827f69856c7e6825c4048e to your computer and use it in GitHub Desktop.

Select an option

Save GabyCT/ae4c99ae6f827f69856c7e6825c4048e to your computer and use it in GitHub Desktop.
Started by user Kata Containers
Running as SYSTEM
Building remotely on jfz1r01h15 (qat clx) in workspace /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/kata-containers/kata-containers.git # timeout=10
Fetching upstream changes from https://github.com/kata-containers/kata-containers.git
> git --version # timeout=10
> git --version # 'git version 2.17.1'
> git fetch --tags --progress -- https://github.com/kata-containers/kata-containers.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision 594ff3a5bde3813f29ee2a565e0526b35702be4a (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f 594ff3a5bde3813f29ee2a565e0526b35702be4a # timeout=10
Commit message: "Merge pull request #2241 from fidencio/wip/use-the-correct-image-for-kata-deploy"
> git rev-list --no-walk 594ff3a5bde3813f29ee2a565e0526b35702be4a # timeout=10
[kata-containers-2.0-pmem-ubuntu-20-04-daily] $ /bin/bash /tmp/jenkins3446820108004531145.sh
+ sudo rm -rf /etc/docker/daemon.json
+ sudo rm -rf /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go
+ export CI_JOB=BAREMETAL-PMEM
+ CI_JOB=BAREMETAL-PMEM
+ export CRI_CONTAINERD=yes
+ CRI_CONTAINERD=yes
+ export CRI_RUNTIME=containerd
+ CRI_RUNTIME=containerd
+ export KATA_HYPERVISOR=qemu
+ KATA_HYPERVISOR=qemu
+ export KUBERNETES=yes
+ KUBERNETES=yes
+ export GOPATH=/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go
+ GOPATH=/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go
+ mkdir -p /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go
+ export PATH=/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/bin:/usr/local/go/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ PATH=/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/bin:/usr/local/go/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ tests_repo=github.com/kata-containers/tests
+ export kata_repo=
+ kata_repo=
+ kata_repo_dir=/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/
+ tests_repo_dir=/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests
+ sudo rm -rf /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests
++ dirname /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests
+ mkdir -p /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers
+ '[' -d /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests ']'
+ git clone https://github.com/kata-containers/tests.git /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests
Cloning into '/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests'...
+ cd /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests
+ .ci/setup.sh
/tmp/install-go-tmp.a2ApMZXIVb ~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests
Already on 'main'
Your branch is up to date with 'origin/main'.
Installed yq version 3.4.1
/usr/local/go/bin/go
INFO: Go 1.16.5 already installed
Set up environment (default)
Update apt repositories
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB]
Hit:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Hit:2 https://packages.cloud.google.com/apt kubernetes-xenial-unstable InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 316 kB in 1s (215 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
20 packages can be upgraded. Run 'apt list --upgradable' to see them.
Try to preemptively fix broken dependencies, if any
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
Install chronic
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
moreutils is already the newest version (0.60-1).
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
INFO: The following package will be installed: libxml2-utils
INFO: The following package will be installed: yamllint
INFO: The following package will be installed: hunspell hunspell-en-gb hunspell-en-us pandoc
INFO: The following package will be installed: procenv
INFO: The following package will be installed: libtool automake autotools-dev autoconf bc libpixman-1-dev coreutils curl
INFO: The following package will be installed: libglib2.0-dev libseccomp-dev libapparmor-dev libgpgme11-dev thin-provisioning-tools
INFO: The following package will be installed: build-essential python pkg-config zlib1g-dev
INFO: The following package will be installed: haveged
INFO: The following package will be installed: bison
INFO: The following package will be installed: redis-server
INFO: The following package will be installed: libelf-dev flex
INFO: The following package will be installed: libcap-dev libattr1-dev libcap-ng-dev librbd-dev ninja-build libpmem-dev
INFO: The following package will be installed: libudev-dev
INFO: The following package will be installed: libsystemd-dev
INFO: The following package will be installed: btrfs-progs libseccomp-dev libapparmor-dev make gcc pkg-config
INFO: The following package will be installed: libdevmapper-dev util-linux
INFO: The following package will be installed: smem jq
INFO: The following package will be installed: crudini
Install os-tree
Install Kata sources
Install Kata Containers Image
rust image is default for Kata 2.0
~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder ~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests
INFO: Building image with AGENT_INIT=no
Creating rootfs for ubuntu
/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/rootfs-builder/rootfs.sh -o 2.2.0-alpha1-594ff3a5bde3813f29ee2a565e0526b35702be4a -r /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/ubuntu_rootfs ubuntu
INFO: rootfs_lib.sh file found. Loading content
INFO: Detecting go version
INFO: Get Go version from /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/rootfs-builder/../../../versions.yaml
Required Go version: 1.16.5
INFO: Detecting agent rust version
INFO: Get rust version from /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/rootfs-builder/../../../versions.yaml
Required rust version: 1.47.0
INFO: Detecting musl version
INFO: Get musl version from /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/rootfs-builder/../../../versions.yaml
Required musl version: 1.1.23
~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/rootfs-builder/ubuntu ~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder
~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder
Sending build context to Docker daemon 10.75kB
Step 1/10 : ARG IMAGE_REGISTRY=docker.io
Step 2/10 : FROM ${IMAGE_REGISTRY}/ubuntu:18.04
---> fbf60236a8e3
Step 3/10 : RUN apt-get update && apt-get --no-install-recommends install -y apt-utils autoconf automake binutils build-essential ca-certificates chrony coreutils curl debianutils debootstrap g++ gcc git libc6-dev libstdc++-8-dev m4 make musl musl-dev musl-tools protobuf-compiler sed systemd tar vim wget
---> Using cache
---> e91633899f02
Step 4/10 : RUN cd /tmp ; curl -OL https://storage.googleapis.com/golang/go1.16.5.linux-amd64.tar.gz
---> Using cache
---> f50929349d5b
Step 5/10 : RUN tar -C /usr/ -xzf /tmp/go1.16.5.linux-amd64.tar.gz
---> Using cache
---> afa517264811
Step 6/10 : ENV GOROOT=/usr/go
---> Using cache
---> 92be1d4daade
Step 7/10 : ENV PATH=$PATH:$GOROOT/bin:$GOPATH/bin
---> Using cache
---> 5840b2dd0b34
Step 8/10 : RUN curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSLf --output /tmp/rust-init; chmod a+x /tmp/rust-init; export http_proxy=; export https_proxy=; /tmp/rust-init -y --default-toolchain 1.47.0
---> Using cache
---> 5db682eefd9b
Step 9/10 : RUN . /root/.cargo/env; export http_proxy=; export https_proxy=; cargo install cargo-when; rustup target install x86_64-unknown-linux-musl
---> Using cache
---> 46a829883caa
Step 10/10 : RUN ln -sf /usr/bin/g++ /bin/musl-g++
---> Using cache
---> 4bacbb97d51e
Successfully built 4bacbb97d51e
Successfully tagged ubuntu-rootfs-osbuilder:latest
INFO: rootfs_lib.sh file found. Loading content
INFO: Detecting go version
INFO: Get Go version from /kata-containers/tools/osbuilder/rootfs-builder/../../../versions.yaml
Required Go version: 1.16.5
INFO: Detecting agent rust version
INFO: Get rust version from /kata-containers/tools/osbuilder/rootfs-builder/../../../versions.yaml
Required rust version: 1.47.0
INFO: Detecting musl version
INFO: Get musl version from /kata-containers/tools/osbuilder/rootfs-builder/../../../versions.yaml
Required musl version: 1.1.23
INFO: build directly
no extra packages
I: Retrieving InRelease
I: Checking Release signature
I: Valid Release signature (key id 790BC7277767219C42C86F933B4FE6ACC0B21F32)
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional base dependencies: adduser gpgv iproute2 libapparmor1 libapt-pkg5.0 libargon2-0 libcap2 libcap2-bin libcryptsetup12 libdevmapper1.02.1 libedit2 libelf1 libffi6 libgmp10 libgnutls30 libhogweed4 libidn11 libidn2-0 libip4tc0 libip6tc0 libiptc0 libjson-c3 libkmod2 libmnl0 libnetfilter-conntrack3 libnettle6 libnfnetlink0 libnspr4 libnss3 libp11-kit0 libseccomp2 libsqlite3-0 libstdc++6 libtasn1-6 libunistring2 libxtables12 multiarch-support systemd-sysv ubuntu-keyring ucf
I: Checking component main on http://archive.ubuntu.com/ubuntu...
I: Retrieving adduser 3.116ubuntu1
I: Validating adduser 3.116ubuntu1
I: Retrieving apt 1.6.1
I: Validating apt 1.6.1
I: Retrieving base-files 10.1ubuntu2
I: Validating base-files 10.1ubuntu2
I: Retrieving base-passwd 3.5.44
I: Validating base-passwd 3.5.44
I: Retrieving bash 4.4.18-2ubuntu1
I: Validating bash 4.4.18-2ubuntu1
I: Retrieving bsdutils 1:2.31.1-0.4ubuntu3
I: Validating bsdutils 1:2.31.1-0.4ubuntu3
I: Retrieving chrony 3.2-4ubuntu4
I: Validating chrony 3.2-4ubuntu4
I: Retrieving coreutils 8.28-1ubuntu1
I: Validating coreutils 8.28-1ubuntu1
I: Retrieving dash 0.5.8-2.10
I: Validating dash 0.5.8-2.10
I: Retrieving debconf 1.5.66
I: Validating debconf 1.5.66
I: Retrieving debianutils 4.8.4
I: Validating debianutils 4.8.4
I: Retrieving diffutils 1:3.6-1
I: Validating diffutils 1:3.6-1
I: Retrieving dpkg 1.19.0.5ubuntu2
I: Validating dpkg 1.19.0.5ubuntu2
I: Retrieving e2fsprogs 1.44.1-1
I: Validating e2fsprogs 1.44.1-1
I: Retrieving fdisk 2.31.1-0.4ubuntu3
I: Validating fdisk 2.31.1-0.4ubuntu3
I: Retrieving findutils 4.6.0+git+20170828-2
I: Validating findutils 4.6.0+git+20170828-2
I: Retrieving gcc-8-base 8-20180414-1ubuntu2
I: Validating gcc-8-base 8-20180414-1ubuntu2
I: Retrieving gpgv 2.2.4-1ubuntu1
I: Validating gpgv 2.2.4-1ubuntu1
I: Retrieving grep 3.1-2
I: Validating grep 3.1-2
I: Retrieving gzip 1.6-5ubuntu1
I: Validating gzip 1.6-5ubuntu1
I: Retrieving hostname 3.20
I: Validating hostname 3.20
I: Retrieving init 1.51
I: Validating init 1.51
I: Retrieving init-system-helpers 1.51
I: Validating init-system-helpers 1.51
I: Retrieving iproute2 4.15.0-2ubuntu1
I: Validating iproute2 4.15.0-2ubuntu1
I: Retrieving iptables 1.6.1-2ubuntu2
I: Validating iptables 1.6.1-2ubuntu2
I: Retrieving kmod 24-1ubuntu3
I: Validating kmod 24-1ubuntu3
I: Retrieving libacl1 2.2.52-3build1
I: Validating libacl1 2.2.52-3build1
I: Retrieving libapparmor1 2.12-4ubuntu5
I: Validating libapparmor1 2.12-4ubuntu5
I: Retrieving libapt-pkg5.0 1.6.1
I: Validating libapt-pkg5.0 1.6.1
I: Retrieving libargon2-0 0~20161029-1.1
I: Validating libargon2-0 0~20161029-1.1
I: Retrieving libattr1 1:2.4.47-2build1
I: Validating libattr1 1:2.4.47-2build1
I: Retrieving libaudit-common 1:2.8.2-1ubuntu1
I: Validating libaudit-common 1:2.8.2-1ubuntu1
I: Retrieving libaudit1 1:2.8.2-1ubuntu1
I: Validating libaudit1 1:2.8.2-1ubuntu1
I: Retrieving libblkid1 2.31.1-0.4ubuntu3
I: Validating libblkid1 2.31.1-0.4ubuntu3
I: Retrieving libbz2-1.0 1.0.6-8.1
I: Validating libbz2-1.0 1.0.6-8.1
I: Retrieving libc-bin 2.27-3ubuntu1
I: Validating libc-bin 2.27-3ubuntu1
I: Retrieving libc6 2.27-3ubuntu1
I: Validating libc6 2.27-3ubuntu1
I: Retrieving libcap-ng0 0.7.7-3.1
I: Validating libcap-ng0 0.7.7-3.1
I: Retrieving libcap2 1:2.25-1.2
I: Validating libcap2 1:2.25-1.2
I: Retrieving libcap2-bin 1:2.25-1.2
I: Validating libcap2-bin 1:2.25-1.2
I: Retrieving libcom-err2 1.44.1-1
I: Validating libcom-err2 1.44.1-1
I: Retrieving libcryptsetup12 2:2.0.2-1ubuntu1
I: Validating libcryptsetup12 2:2.0.2-1ubuntu1
I: Retrieving libdb5.3 5.3.28-13.1ubuntu1
I: Validating libdb5.3 5.3.28-13.1ubuntu1
I: Retrieving libdebconfclient0 0.213ubuntu1
I: Validating libdebconfclient0 0.213ubuntu1
I: Retrieving libdevmapper1.02.1 2:1.02.145-4.1ubuntu3
I: Validating libdevmapper1.02.1 2:1.02.145-4.1ubuntu3
I: Retrieving libedit2 3.1-20170329-1
I: Validating libedit2 3.1-20170329-1
I: Retrieving libelf1 0.170-0.4
I: Validating libelf1 0.170-0.4
I: Retrieving libext2fs2 1.44.1-1
I: Validating libext2fs2 1.44.1-1
I: Retrieving libfdisk1 2.31.1-0.4ubuntu3
I: Validating libfdisk1 2.31.1-0.4ubuntu3
I: Retrieving libffi6 3.2.1-8
I: Validating libffi6 3.2.1-8
I: Retrieving libgcc1 1:8-20180414-1ubuntu2
I: Validating libgcc1 1:8-20180414-1ubuntu2
I: Retrieving libgcrypt20 1.8.1-4ubuntu1
I: Validating libgcrypt20 1.8.1-4ubuntu1
I: Retrieving libgmp10 2:6.1.2+dfsg-2
I: Validating libgmp10 2:6.1.2+dfsg-2
I: Retrieving libgnutls30 3.5.18-1ubuntu1
I: Validating libgnutls30 3.5.18-1ubuntu1
I: Retrieving libgpg-error0 1.27-6
I: Validating libgpg-error0 1.27-6
I: Retrieving libhogweed4 3.4-1
I: Validating libhogweed4 3.4-1
I: Retrieving libidn11 1.33-2.1ubuntu1
I: Validating libidn11 1.33-2.1ubuntu1
I: Retrieving libidn2-0 2.0.4-1.1build2
I: Validating libidn2-0 2.0.4-1.1build2
I: Retrieving libip4tc0 1.6.1-2ubuntu2
I: Validating libip4tc0 1.6.1-2ubuntu2
I: Retrieving libip6tc0 1.6.1-2ubuntu2
I: Validating libip6tc0 1.6.1-2ubuntu2
I: Retrieving libiptc0 1.6.1-2ubuntu2
I: Validating libiptc0 1.6.1-2ubuntu2
I: Retrieving libjson-c3 0.12.1-1.3
I: Validating libjson-c3 0.12.1-1.3
I: Retrieving libkmod2 24-1ubuntu3
I: Validating libkmod2 24-1ubuntu3
I: Retrieving liblz4-1 0.0~r131-2ubuntu3
I: Validating liblz4-1 0.0~r131-2ubuntu3
I: Retrieving liblzma5 5.2.2-1.3
I: Validating liblzma5 5.2.2-1.3
I: Retrieving libmnl0 1.0.4-2
I: Validating libmnl0 1.0.4-2
I: Retrieving libmount1 2.31.1-0.4ubuntu3
I: Validating libmount1 2.31.1-0.4ubuntu3
I: Retrieving libncurses5 6.1-1ubuntu1
I: Validating libncurses5 6.1-1ubuntu1
I: Retrieving libncursesw5 6.1-1ubuntu1
I: Validating libncursesw5 6.1-1ubuntu1
I: Retrieving libnetfilter-conntrack3 1.0.6-2
I: Validating libnetfilter-conntrack3 1.0.6-2
I: Retrieving libnettle6 3.4-1
I: Validating libnettle6 3.4-1
I: Retrieving libnfnetlink0 1.0.1-3
I: Validating libnfnetlink0 1.0.1-3
I: Retrieving libnspr4 2:4.18-1ubuntu1
I: Validating libnspr4 2:4.18-1ubuntu1
I: Retrieving libnss3 2:3.35-2ubuntu2
I: Validating libnss3 2:3.35-2ubuntu2
I: Retrieving libp11-kit0 0.23.9-2
I: Validating libp11-kit0 0.23.9-2
I: Retrieving libpam-modules 1.1.8-3.6ubuntu2
I: Validating libpam-modules 1.1.8-3.6ubuntu2
I: Retrieving libpam-modules-bin 1.1.8-3.6ubuntu2
I: Validating libpam-modules-bin 1.1.8-3.6ubuntu2
I: Retrieving libpam-runtime 1.1.8-3.6ubuntu2
I: Validating libpam-runtime 1.1.8-3.6ubuntu2
I: Retrieving libpam0g 1.1.8-3.6ubuntu2
I: Validating libpam0g 1.1.8-3.6ubuntu2
I: Retrieving libpcre3 2:8.39-9
I: Validating libpcre3 2:8.39-9
I: Retrieving libprocps6 2:3.3.12-3ubuntu1
I: Validating libprocps6 2:3.3.12-3ubuntu1
I: Retrieving libseccomp2 2.3.1-2.1ubuntu4
I: Validating libseccomp2 2.3.1-2.1ubuntu4
I: Retrieving libselinux1 2.7-2build2
I: Validating libselinux1 2.7-2build2
I: Retrieving libsemanage-common 2.7-2build2
I: Validating libsemanage-common 2.7-2build2
I: Retrieving libsemanage1 2.7-2build2
I: Validating libsemanage1 2.7-2build2
I: Retrieving libsepol1 2.7-1
I: Validating libsepol1 2.7-1
I: Retrieving libsmartcols1 2.31.1-0.4ubuntu3
I: Validating libsmartcols1 2.31.1-0.4ubuntu3
I: Retrieving libsqlite3-0 3.22.0-1
I: Validating libsqlite3-0 3.22.0-1
I: Retrieving libss2 1.44.1-1
I: Validating libss2 1.44.1-1
I: Retrieving libstdc++6 8-20180414-1ubuntu2
I: Validating libstdc++6 8-20180414-1ubuntu2
I: Retrieving libsystemd0 237-3ubuntu10
I: Validating libsystemd0 237-3ubuntu10
I: Retrieving libtasn1-6 4.13-2
I: Validating libtasn1-6 4.13-2
I: Retrieving libtinfo5 6.1-1ubuntu1
I: Validating libtinfo5 6.1-1ubuntu1
I: Retrieving libudev1 237-3ubuntu10
I: Validating libudev1 237-3ubuntu10
I: Retrieving libunistring2 0.9.9-0ubuntu1
I: Validating libunistring2 0.9.9-0ubuntu1
I: Retrieving libuuid1 2.31.1-0.4ubuntu3
I: Validating libuuid1 2.31.1-0.4ubuntu3
I: Retrieving libxtables12 1.6.1-2ubuntu2
I: Validating libxtables12 1.6.1-2ubuntu2
I: Retrieving libzstd1 1.3.3+dfsg-2ubuntu1
I: Validating libzstd1 1.3.3+dfsg-2ubuntu1
I: Retrieving login 1:4.5-1ubuntu1
I: Validating login 1:4.5-1ubuntu1
I: Retrieving lsb-base 9.20170808ubuntu1
I: Validating lsb-base 9.20170808ubuntu1
I: Retrieving mawk 1.3.3-17ubuntu3
I: Validating mawk 1.3.3-17ubuntu3
I: Retrieving mount 2.31.1-0.4ubuntu3
I: Validating mount 2.31.1-0.4ubuntu3
I: Retrieving multiarch-support 2.27-3ubuntu1
I: Validating multiarch-support 2.27-3ubuntu1
I: Retrieving ncurses-base 6.1-1ubuntu1
I: Validating ncurses-base 6.1-1ubuntu1
I: Retrieving ncurses-bin 6.1-1ubuntu1
I: Validating ncurses-bin 6.1-1ubuntu1
I: Retrieving passwd 1:4.5-1ubuntu1
I: Validating passwd 1:4.5-1ubuntu1
I: Retrieving perl-base 5.26.1-6
I: Validating perl-base 5.26.1-6
I: Retrieving procps 2:3.3.12-3ubuntu1
I: Validating procps 2:3.3.12-3ubuntu1
I: Retrieving sed 4.4-2
I: Validating sed 4.4-2
I: Retrieving sensible-utils 0.0.12
I: Validating sensible-utils 0.0.12
I: Retrieving systemd 237-3ubuntu10
I: Validating systemd 237-3ubuntu10
I: Retrieving systemd-sysv 237-3ubuntu10
I: Validating systemd-sysv 237-3ubuntu10
I: Retrieving sysvinit-utils 2.88dsf-59.10ubuntu1
I: Validating sysvinit-utils 2.88dsf-59.10ubuntu1
I: Retrieving tar 1.29b-2
I: Validating tar 1.29b-2
I: Retrieving ubuntu-keyring 2018.02.28
I: Validating ubuntu-keyring 2018.02.28
I: Retrieving ucf 3.0038
I: Validating ucf 3.0038
I: Retrieving util-linux 2.31.1-0.4ubuntu3
I: Validating util-linux 2.31.1-0.4ubuntu3
I: Retrieving zlib1g 1:1.2.11.dfsg-0ubuntu2
I: Validating zlib1g 1:1.2.11.dfsg-0ubuntu2
I: Chosen extractor for .deb packages: dpkg-deb
I: Extracting base-files...
I: Extracting base-passwd...
I: Extracting bash...
I: Extracting bsdutils...
I: Extracting coreutils...
I: Extracting dash...
I: Extracting debconf...
I: Extracting debianutils...
I: Extracting diffutils...
I: Extracting dpkg...
I: Extracting e2fsprogs...
I: Extracting fdisk...
I: Extracting findutils...
I: Extracting gcc-8-base...
I: Extracting grep...
I: Extracting gzip...
I: Extracting hostname...
I: Extracting init-system-helpers...
I: Extracting libacl1...
I: Extracting libattr1...
I: Extracting libaudit-common...
I: Extracting libaudit1...
I: Extracting libblkid1...
I: Extracting libbz2-1.0...
I: Extracting libc-bin...
I: Extracting libc6...
I: Extracting libcap-ng0...
I: Extracting libcom-err2...
I: Extracting libdb5.3...
I: Extracting libdebconfclient0...
I: Extracting libext2fs2...
I: Extracting libfdisk1...
I: Extracting libgcc1...
I: Extracting libgcrypt20...
I: Extracting libgpg-error0...
I: Extracting liblz4-1...
I: Extracting liblzma5...
I: Extracting libmount1...
I: Extracting libncurses5...
I: Extracting libncursesw5...
I: Extracting libpam-modules...
I: Extracting libpam-modules-bin...
I: Extracting libpam-runtime...
I: Extracting libpam0g...
I: Extracting libpcre3...
I: Extracting libprocps6...
I: Extracting libselinux1...
I: Extracting libsemanage-common...
I: Extracting libsemanage1...
I: Extracting libsepol1...
I: Extracting libsmartcols1...
I: Extracting libss2...
I: Extracting libsystemd0...
I: Extracting libtinfo5...
I: Extracting libudev1...
I: Extracting libuuid1...
I: Extracting libzstd1...
I: Extracting login...
I: Extracting lsb-base...
I: Extracting mawk...
I: Extracting mount...
I: Extracting ncurses-base...
I: Extracting ncurses-bin...
I: Extracting passwd...
I: Extracting perl-base...
I: Extracting procps...
I: Extracting sed...
I: Extracting sensible-utils...
I: Extracting sysvinit-utils...
I: Extracting tar...
I: Extracting util-linux...
I: Extracting zlib1g...
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking bsdutils...
I: Unpacking coreutils...
I: Unpacking dash...
I: Unpacking debconf...
I: Unpacking debianutils...
I: Unpacking diffutils...
I: Unpacking dpkg...
I: Unpacking e2fsprogs...
I: Unpacking fdisk...
I: Unpacking findutils...
I: Unpacking gcc-8-base:amd64...
I: Unpacking grep...
I: Unpacking gzip...
I: Unpacking hostname...
I: Unpacking init-system-helpers...
I: Unpacking libacl1:amd64...
I: Unpacking libattr1:amd64...
I: Unpacking libaudit-common...
I: Unpacking libaudit1:amd64...
I: Unpacking libblkid1:amd64...
I: Unpacking libbz2-1.0:amd64...
I: Unpacking libc-bin...
I: Unpacking libc6:amd64...
I: Unpacking libcap-ng0:amd64...
I: Unpacking libcom-err2:amd64...
I: Unpacking libdb5.3:amd64...
I: Unpacking libdebconfclient0:amd64...
I: Unpacking libext2fs2:amd64...
I: Unpacking libfdisk1:amd64...
I: Unpacking libgcc1:amd64...
I: Unpacking libgcrypt20:amd64...
I: Unpacking libgpg-error0:amd64...
I: Unpacking liblz4-1:amd64...
I: Unpacking liblzma5:amd64...
I: Unpacking libmount1:amd64...
I: Unpacking libncurses5:amd64...
I: Unpacking libncursesw5:amd64...
I: Unpacking libpam-modules:amd64...
I: Unpacking libpam-modules-bin...
I: Unpacking libpam-runtime...
I: Unpacking libpam0g:amd64...
I: Unpacking libpcre3:amd64...
I: Unpacking libprocps6:amd64...
I: Unpacking libselinux1:amd64...
I: Unpacking libsemanage-common...
I: Unpacking libsemanage1:amd64...
I: Unpacking libsepol1:amd64...
I: Unpacking libsmartcols1:amd64...
I: Unpacking libss2:amd64...
I: Unpacking libsystemd0:amd64...
I: Unpacking libtinfo5:amd64...
I: Unpacking libudev1:amd64...
I: Unpacking libuuid1:amd64...
I: Unpacking libzstd1:amd64...
I: Unpacking login...
I: Unpacking lsb-base...
I: Unpacking mawk...
I: Unpacking mount...
I: Unpacking ncurses-base...
I: Unpacking ncurses-bin...
I: Unpacking passwd...
I: Unpacking perl-base...
I: Unpacking procps...
I: Unpacking sed...
I: Unpacking sensible-utils...
I: Unpacking sysvinit-utils...
I: Unpacking tar...
I: Unpacking util-linux...
I: Unpacking zlib1g:amd64...
I: Configuring required packages...
I: Configuring lsb-base...
I: Configuring sensible-utils...
I: Configuring ncurses-base...
I: Configuring libsemanage-common...
I: Configuring gcc-8-base:amd64...
I: Configuring libaudit-common...
I: Configuring libc6:amd64...
I: Configuring libpcre3:amd64...
I: Configuring libbz2-1.0:amd64...
I: Configuring libgpg-error0:amd64...
I: Configuring libc-bin...
I: Configuring libdebconfclient0:amd64...
I: Configuring libselinux1:amd64...
I: Configuring diffutils...
I: Configuring findutils...
I: Configuring libcap-ng0:amd64...
I: Configuring libext2fs2:amd64...
I: Configuring libsepol1:amd64...
I: Configuring libgcc1:amd64...
I: Configuring sed...
I: Configuring libsmartcols1:amd64...
I: Configuring libcom-err2:amd64...
I: Configuring libaudit1:amd64...
I: Configuring libtinfo5:amd64...
I: Configuring libudev1:amd64...
I: Configuring libattr1:amd64...
I: Configuring libss2:amd64...
I: Configuring liblzma5:amd64...
I: Configuring base-passwd...
I: Configuring liblz4-1:amd64...
I: Configuring debianutils...
I: Configuring libgcrypt20:amd64...
I: Configuring libncursesw5:amd64...
I: Configuring libuuid1:amd64...
I: Configuring libdb5.3:amd64...
I: Configuring zlib1g:amd64...
I: Configuring hostname...
I: Configuring mawk...
I: Configuring libsystemd0:amd64...
I: Configuring libzstd1:amd64...
I: Configuring libprocps6:amd64...
I: Configuring libblkid1:amd64...
I: Configuring base-files...
I: Configuring libsemanage1:amd64...
I: Configuring libmount1:amd64...
I: Configuring libacl1:amd64...
I: Configuring ncurses-bin...
I: Configuring libncurses5:amd64...
I: Configuring bash...
I: Configuring bsdutils...
I: Configuring libfdisk1:amd64...
I: Configuring coreutils...
I: Configuring e2fsprogs...
I: Configuring tar...
I: Configuring dpkg...
I: Configuring fdisk...
I: Configuring perl-base...
I: Configuring grep...
I: Configuring debconf...
I: Configuring gzip...
I: Configuring dash...
I: Configuring init-system-helpers...
I: Configuring libpam0g:amd64...
I: Configuring util-linux...
I: Configuring libpam-modules-bin...
I: Configuring mount...
I: Configuring procps...
I: Configuring sysvinit-utils...
I: Configuring libpam-modules:amd64...
I: Configuring libpam-runtime...
I: Configuring passwd...
I: Configuring login...
I: Configuring libc-bin...
I: Unpacking the base system...
I: Unpacking apt...
I: Unpacking chrony...
I: Unpacking gpgv...
I: Unpacking init...
I: Unpacking iproute2...
I: Unpacking iptables...
I: Unpacking kmod...
I: Unpacking libapt-pkg5.0:amd64...
I: Unpacking libcap2-bin...
I: Unpacking libedit2:amd64...
I: Unpacking libelf1:amd64...
I: Unpacking libffi6:amd64...
I: Unpacking libgmp10:amd64...
I: Unpacking libgnutls30:amd64...
I: Unpacking libhogweed4:amd64...
I: Unpacking libidn2-0:amd64...
I: Unpacking libip6tc0:amd64...
I: Unpacking libiptc0:amd64...
I: Unpacking libmnl0:amd64...
I: Unpacking libnetfilter-conntrack3:amd64...
I: Unpacking libnettle6:amd64...
I: Unpacking libnfnetlink0:amd64...
I: Unpacking libnspr4:amd64...
I: Unpacking libnss3:amd64...
I: Unpacking libp11-kit0:amd64...
I: Unpacking libsqlite3-0:amd64...
I: Unpacking libstdc++6:amd64...
I: Unpacking libtasn1-6:amd64...
I: Unpacking libunistring2:amd64...
I: Unpacking libxtables12:amd64...
I: Unpacking ubuntu-keyring...
I: Unpacking ucf...
I: Configuring the base system...
I: Configuring libedit2:amd64...
I: Configuring libunistring2:amd64...
I: Configuring libnettle6:amd64...
I: Configuring kmod...
I: Configuring libidn2-0:amd64...
I: Configuring libcap2-bin...
I: Configuring init...
I: Configuring libelf1:amd64...
I: Configuring gpgv...
I: Configuring libiptc0:amd64...
I: Configuring libnspr4:amd64...
I: Configuring ucf...
I: Configuring libtasn1-6:amd64...
I: Configuring libgmp10:amd64...
I: Configuring libxtables12:amd64...
I: Configuring libsqlite3-0:amd64...
I: Configuring libnfnetlink0:amd64...
I: Configuring libstdc++6:amd64...
I: Configuring libffi6:amd64...
I: Configuring libmnl0:amd64...
I: Configuring ubuntu-keyring...
I: Configuring libip6tc0:amd64...
I: Configuring libapt-pkg5.0:amd64...
I: Configuring libnetfilter-conntrack3:amd64...
I: Configuring libnss3:amd64...
I: Configuring iproute2...
I: Configuring libhogweed4:amd64...
I: Configuring iptables...
I: Configuring libp11-kit0:amd64...
I: Configuring chrony...
I: Configuring libgnutls30:amd64...
I: Configuring apt...
I: Configuring libc-bin...
I: Configuring systemd...
I: Base system installed successfully.
INFO: Create symlink to /tmp in /var to create private temporal directories with systemd
INFO: Install tmp.mount in ./etc/systemd/system
INFO: Create /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/ubuntu_rootfs/etc
I am ubuntu or debian
INFO: Configure chrony file /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/ubuntu_rootfs/etc/chrony/chrony.conf
/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/rootfs-builder/rootfs.sh: line 575: rustup: command not found
~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests ~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder
Already on 'main'
Your branch is up to date with 'origin/main'.
Already up to date.
~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder
~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests ~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder
Install rust 1.47.0
info: downloading installer
error: $HOME differs from euid-obtained home directory: you may be using sudo
error: $HOME directory: /home/jenkins
error: euid-obtained home directory: /root
info: profile set to 'default'
info: default host triple is x86_64-unknown-linux-gnu
warning: Updating existing toolchain, profile choice will be ignored
info: syncing channel updates for '1.47.0-x86_64-unknown-linux-gnu'
info: default toolchain set to '1.47.0-x86_64-unknown-linux-gnu'
1.47.0-x86_64-unknown-linux-gnu unchanged - rustc 1.47.0 (18bf6b4f0 2020-10-07)
Rust is installed now. Great!
To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).
To configure your current shell, run:
source $HOME/.cargo/env
info: syncing channel updates for '1.47.0-x86_64-unknown-linux-gnu'
1.47.0-x86_64-unknown-linux-gnu unchanged - rustc 1.47.0 (18bf6b4f0 2020-10-07)
info: checking for self-updates
info: using existing install for '1.47.0-x86_64-unknown-linux-gnu'
info: default toolchain set to '1.47.0-x86_64-unknown-linux-gnu'
1.47.0-x86_64-unknown-linux-gnu unchanged - rustc 1.47.0 (18bf6b4f0 2020-10-07)
info: component 'rust-std' for target 'x86_64-unknown-linux-musl' is up to date
info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date
~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder
INFO: Build agent
~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/agent ~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder
make[1]: Entering directory '/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/agent'
make[1]: Leaving directory '/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/agent'
make[1]: Entering directory '/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/agent'
kata-agent - version 2.2.0-alpha1 (commit 594ff3a5bde3813f29ee2a565e0526b35702be4a)
project:
name: Kata Containers
url: https://github.com/kata-containers
component: kata-agent
target: kata-agent
architecture:
host: x86_64
rust:
cargo: cargo 1.47.0 (f3c7e066a 2020-08-28)
rustc: rustc 1.47.0 (18bf6b4f0 2020-10-07)
rustup: rustup 1.24.3 (ce5817a94 2021-05-31)
toolchain: 1.47.0-x86_64-unknown-linux-gnu (default)
Compiling libc v0.2.96
Compiling autocfg v1.0.1
Compiling proc-macro2 v1.0.26
Compiling unicode-xid v0.2.2
Compiling syn v1.0.72
Compiling cfg-if v1.0.0
Compiling log v0.4.14
Compiling memchr v2.4.0
Compiling getrandom v0.2.2
Compiling lazy_static v1.4.0
Compiling bitflags v1.2.1
Compiling pin-project-lite v0.2.6
Compiling futures-core v0.3.15
Compiling byteorder v1.4.3
Compiling cc v1.0.67
Compiling protobuf v2.14.0
Compiling proc-macro-hack v0.5.19
Compiling gimli v0.24.0
Compiling adler v1.0.2
Compiling object v0.24.0
Compiling proc-macro-nested v0.1.7
Compiling futures-sink v0.3.15
Compiling futures-task v0.3.15
Compiling serde_derive v1.0.126
Compiling once_cell v1.7.2
Compiling rustc-demangle v0.1.19
Compiling futures-channel v0.3.15
Compiling serde v1.0.126
Compiling proc-macro2 v0.4.30
Compiling smallvec v1.6.1
Compiling slab v0.4.3
Compiling unicode-xid v0.1.0
Compiling pin-utils v0.1.0
Compiling futures-io v0.3.15
Compiling scopeguard v1.1.0
Compiling syn v0.15.44
Compiling either v1.6.1
Compiling ppv-lite86 v0.2.10
Compiling bytes v1.0.1
Compiling ryu v1.0.5
Compiling slog v2.7.0
Compiling serde_json v1.0.64
Compiling fixedbitset v0.1.9
Compiling regex-syntax v0.6.25
Compiling async-trait v0.1.50
Compiling remove_dir_all v0.5.3
Compiling anyhow v1.0.40
Compiling unicode-segmentation v1.7.1
Compiling multimap v0.4.0
Compiling itoa v0.4.7
Compiling nix v0.16.1
Compiling cfg-if v0.1.10
Compiling crc32fast v1.2.1
Compiling paste v1.0.5
Compiling void v1.0.2
Compiling arc-swap v1.2.0
Compiling rle-decode-fast v1.0.1
Compiling percent-encoding v2.1.0
Compiling adler32 v1.2.0
Compiling ansi_term v0.12.1
Compiling prometheus v0.9.0
Compiling slash-formatter v2.2.6
Compiling hex v0.4.3
Compiling take_mut v0.2.2
Compiling fnv v1.0.7
Compiling spin v0.5.2
Compiling instant v0.1.9
Compiling libflate_lz77 v1.1.0
Compiling lock_api v0.4.4
Compiling tracing-core v0.1.18
Compiling path-dedot v1.2.4
Compiling sharded-slab v0.1.1
Compiling itertools v0.8.2
Compiling petgraph v0.4.13
Compiling thread_local v1.1.3
Compiling path-absolutize v1.2.1
Compiling byteordered v0.5.0
Compiling heck v0.3.2
Compiling miniz_oxide v0.4.4
Compiling futures-macro v0.3.15
Compiling futures-util v0.3.15
Compiling tokio v1.6.0
Compiling num-traits v0.2.14
Compiling num-integer v0.1.44
Compiling crossbeam-utils v0.8.4
Compiling memoffset v0.6.4
Compiling tracing-log v0.1.2
Compiling libflate v1.1.0
Compiling slog-scope v4.4.0
Compiling slog-stdlog v4.1.0
Compiling quote v1.0.9
Compiling quote v0.6.13
Compiling backtrace v0.3.59
Compiling aho-corasick v0.7.18
Compiling crossbeam-channel v0.5.1
Compiling regex v1.5.4
Compiling regex-automata v0.1.9
Compiling parking_lot_core v0.8.3
Compiling num_cpus v1.13.0
Compiling mio v0.7.13
Compiling signal-hook-registry v1.3.0
Compiling nix v0.19.1
Compiling time v0.1.43
Compiling iovec v0.1.4
Compiling nix v0.21.0
Compiling errno v0.2.7
Compiling nix v0.20.0
Compiling inotify-sys v0.1.5
Compiling capctl v0.2.0
Compiling rlimit v0.5.4
Compiling slog-async v2.6.0
Compiling bytes v0.4.12
Compiling rand_core v0.6.2
Compiling parking_lot v0.11.1
Compiling chrono v0.4.19
Compiling rand_chacha v0.3.0
Compiling addr2line v0.15.1
Compiling rand v0.8.3
Compiling matchers v0.0.1
Compiling scan_fmt v0.2.6
Compiling procfs v0.7.9
Compiling tempfile v3.2.0
Compiling protobuf-codegen v2.14.0
Compiling protobuf-codegen-pure v2.14.0
Compiling cgroups-rs v0.2.5
Compiling failure v0.1.8
Compiling vsock v0.2.4
Compiling ttrpc v0.5.1
Compiling which v2.0.1
Compiling prost-derive v0.5.0
Compiling prost-build v0.5.0
Compiling thiserror-impl v1.0.24
Compiling tokio-macros v1.2.0
Compiling derive-new v0.5.9
Compiling pin-project-internal v1.0.7
Compiling tracing-attributes v0.1.15
Compiling async-recursion v0.3.2
Compiling prost v0.5.0
Compiling thiserror v1.0.24
Compiling tracing v0.1.26
Compiling netlink-packet-utils v0.4.1
Compiling caps v0.5.2
Compiling pin-project v1.0.7
Compiling netlink-packet-core v0.2.4
Compiling prost-types v0.5.0
Compiling netlink-packet-route v0.7.1
Compiling ttrpc-compiler v0.4.0
Compiling ttrpc-codegen v0.2.0
Compiling futures-executor v0.3.15
Compiling futures v0.3.15
Compiling tokio-vsock v0.3.1
Compiling netlink-sys v0.7.0
Compiling tokio-util v0.6.7
Compiling inotify v0.9.3
Compiling protocols v0.1.0 (/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/agent/protocols)
Compiling netlink-proto v0.7.0
Compiling rtnetlink v0.8.0
Compiling opentelemetry v0.14.0
Compiling tracing-serde v0.1.2
Compiling bincode v1.3.3
Compiling ipnetwork v0.17.0
Compiling slog-json v2.3.0
Compiling oci v0.1.0 (/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/agent/oci)
Compiling tracing-subscriber v0.2.18
Compiling logging v0.1.0 (/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/pkg/logging)
Compiling vsock-exporter v0.1.0 (/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/agent/vsock-exporter)
Compiling tracing-opentelemetry v0.13.0
Compiling rustjail v0.1.0 (/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/agent/rustjail)
Compiling kata-agent v0.1.0 (/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/agent)
Finished release [optimized] target(s) in 2m 26s
make[1]: Leaving directory '/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/agent'
make[1]: Entering directory '/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/agent'
Installing systemd unit files...
install -D -m 644 kata-agent.service /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/ubuntu_rootfs/usr/lib/systemd/system/kata-agent.service || exit 1; install -D -m 644 kata-containers.target /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/ubuntu_rootfs/usr/lib/systemd/system/kata-containers.target || exit 1;
make[1]: Leaving directory '/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/agent'
~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder
[OK] Agent installed
INFO: Check init is installed
[OK] init is installed
INFO: Create /etc/resolv.conf file in rootfs if not exist
INFO: Creating summary file
INFO: Created summary file '/var/lib/osbuilder/osbuilder.yaml' inside rootfs
Creating image based on /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/ubuntu_rootfs
/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/image-builder/image_builder.sh -o /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/kata-containers.img "/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/tools/osbuilder/ubuntu_rootfs"
Sending build context to Docker daemon 23.55kB
Step 1/4 : ARG IMAGE_REGISTRY=registry.fedoraproject.org
Step 2/4 : FROM ${IMAGE_REGISTRY}/fedora:latest
---> abec9a7a7dc6
Step 3/4 : RUN [ -n "$http_proxy" ] && sed -i '$ a proxy='$http_proxy /etc/dnf/dnf.conf ; true
---> Using cache
---> 1bc39b74397d
Step 4/4 : RUN dnf install -y qemu-img parted gdisk e2fsprogs gcc xfsprogs findutils
---> Using cache
---> 8ee4fad8885c
Successfully built 8ee4fad8885c
Successfully tagged image-builder-osbuilder:latest
[OK] init is installed
[OK] init is systemd
INFO: Creating raw disk with size 126M
INFO: Creating partitions
[OK] Image file created
[OK] Partitions created
INFO: Set filesystem reserved blocks percentage to 3%
tune2fs 1.45.6 (20-Mar-2020)
Setting reserved blocks percentage to 3% (952 blocks)
INFO: Mounting root partition
INFO: Copying content from rootfs to root partition
[OK] root partition mounted
INFO: Removing unneeded systemd services and sockets
[OK] rootfs copied
INFO: Removing unneeded systemd files
INFO: Creating empty machine-id to allow systemd to bind-mount it
INFO: Unmounting root partition
[OK] Root partition unmounted
e2fsck 1.45.6 (20-Mar-2020)
/dev/loop0p1: clean, 2885/31744 files, 25946/31744 blocks
INFO: Creating raw disk with size 128M
INFO: Creating partitions
[OK] Image file created
[OK] Partitions created
INFO: Set DAX metadata
Opening file '/image/kata-containers.img.header'
Writing metadata
OK!
1+0 records in
1+0 records out
2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.00754612 s, 278 MB/s
258048+0 records in
258048+0 records out
132120576 bytes (132 MB, 126 MiB) copied, 0.3699 s, 357 MB/s
INFO: Install image to //usr/share/kata-containers
~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests
Install Kata Containers Kernel
INFO: current kernel : 5.10.25-85
INFO: cached kernel : 5.10.25-85
INFO: Install pre-built kernel version
INFO: Installing vmlinux
0.0%
0.1%
0.5%
1.1%
# 2.3%
#### 5.6%
######## 12.2%
######### 13.8%
################# 24.0%
################### 27.2%
######################### 35.4%
############################# 40.6%
################################### 48.8%
####################################### 54.9%
######################################### 57.4%
############################################### 65.3%
################################################# 69.1%
#################################################### 72.5%
####################################################### 76.5%
######################################################## 78.5%
############################################################# 84.9%
############################################################### 87.7%
################################################################# 90.6%
################################################################## 92.6%
#################################################################### 95.6%
###################################################################### 98.4%
######################################################################## 100.0%
INFO: Installing /usr/share/kata-containers/vmlinux-5.10.25-85 and symlink /usr/share/kata-containers/vmlinux.container
INFO: Installing vmlinuz
0.2%
1.0%
## 3.5%
######### 13.5%
################# 24.7%
######################### 35.1%
############################### 44.0%
######################################## 56.3%
############################################## 64.2%
######################################################## 78.7%
############################################################## 86.3%
##################################################################### 96.7%
######################################################################## 100.0%
INFO: Installing /usr/share/kata-containers/vmlinuz-5.10.25-85 and symlink /usr/share/kata-containers/vmlinuz.container
INFO: Verify download checksum
vmlinux-5.10.25-85: OK
vmlinuz-5.10.25-85: OK
Install runtime
~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/runtime ~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests
GENERATE data/kata-collect-data.sh
GENERATE /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/runtime/cli/config-generated.go
GENERATE pkg/katautils/config-settings.go
kata-runtime - version 2.2.0-alpha1 (commit 594ff3a5bde3813f29ee2a565e0526b35702be4a)
?? architecture:
Host:
golang: amd64
Build: amd64
?? golang:
go version go1.16.5 linux/amd64
?? hypervisors:
Default: qemu
Known: acrn cloud-hypervisor firecracker qemu
Available for this architecture: acrn cloud-hypervisor firecracker qemu
?? Features:
SELinux (FEATURE_SELINUX): yes
?? Summary:
destination install path (DESTDIR) : /
binary installation path (BINDIR) : /usr/local/bin
binaries to install :
- /usr/local/bin/kata-runtime
- /usr/local/bin/containerd-shim-kata-v2
- /usr/local/bin/kata-monitor
- /usr/libexec/kata-containers/kata-netmon
- /usr/local/bin/data/kata-collect-data.sh
configs to install (CONFIGS) :
- cli/config/configuration-acrn.toml
- cli/config/configuration-clh.toml
- cli/config/configuration-fc.toml
- cli/config/configuration-qemu.toml
install paths (CONFIG_PATHS) :
- /usr/share/defaults/kata-containers/configuration-acrn.toml
- /usr/share/defaults/kata-containers/configuration-clh.toml
- /usr/share/defaults/kata-containers/configuration-fc.toml
- /usr/share/defaults/kata-containers/configuration-qemu.toml
alternate config paths (SYSCONFIG_PATHS) :
- /etc/kata-containers/configuration-acrn.toml
- /etc/kata-containers/configuration-clh.toml
- /etc/kata-containers/configuration-fc.toml
- /etc/kata-containers/configuration-qemu.toml
default install path for qemu (CONFIG_PATH) : /usr/share/defaults/kata-containers/configuration.toml
default alternate config path (SYSCONFIG) : /etc/kata-containers/configuration.toml
qemu hypervisor path (QEMUPATH) : /usr/bin/qemu-system-x86_64
cloud-hypervisor hypervisor path (CLHPATH) : /usr/bin/cloud-hypervisor
firecracker hypervisor path (FCPATH) : /usr/bin/firecracker
acrn hypervisor path (ACRNPATH) : /usr/bin/acrn-dm
assets path (PKGDATADIR) : /usr/share/kata-containers
shim path (PKGLIBEXECDIR) : /usr/libexec/kata-containers
BUILD /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/runtime/kata-runtime
GENERATE cli/config/configuration-qemu.toml
GENERATE cli/config/configuration-clh.toml
GENERATE cli/config/configuration-fc.toml
GENERATE cli/config/configuration-acrn.toml
BUILD /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/runtime/containerd-shim-kata-v2
BUILD /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/runtime/containerd-shim-kata-v2
BUILD /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/runtime/kata-netmon
BUILD /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/kata-containers/src/runtime/kata-monitor
kata-runtime - version 2.2.0-alpha1 (commit 594ff3a5bde3813f29ee2a565e0526b35702be4a)
?? architecture:
Host:
golang: amd64
Build: amd64
?? golang:
go version go1.16.5 linux/amd64
?? hypervisors:
Default: qemu
Known: acrn cloud-hypervisor firecracker qemu
Available for this architecture: acrn cloud-hypervisor firecracker qemu
?? Features:
SELinux (FEATURE_SELINUX): yes
?? Summary:
destination install path (DESTDIR) : /
binary installation path (BINDIR) : /usr/local/bin
binaries to install :
- /usr/local/bin/kata-runtime
- /usr/local/bin/containerd-shim-kata-v2
- /usr/local/bin/kata-monitor
- /usr/libexec/kata-containers/kata-netmon
- /usr/local/bin/data/kata-collect-data.sh
configs to install (CONFIGS) :
- cli/config/configuration-acrn.toml
- cli/config/configuration-clh.toml
- cli/config/configuration-fc.toml
- cli/config/configuration-qemu.toml
install paths (CONFIG_PATHS) :
- /usr/share/defaults/kata-containers/configuration-acrn.toml
- /usr/share/defaults/kata-containers/configuration-clh.toml
- /usr/share/defaults/kata-containers/configuration-fc.toml
- /usr/share/defaults/kata-containers/configuration-qemu.toml
alternate config paths (SYSCONFIG_PATHS) :
- /etc/kata-containers/configuration-acrn.toml
- /etc/kata-containers/configuration-clh.toml
- /etc/kata-containers/configuration-fc.toml
- /etc/kata-containers/configuration-qemu.toml
default install path for qemu (CONFIG_PATH) : /usr/share/defaults/kata-containers/configuration.toml
default alternate config path (SYSCONFIG) : /etc/kata-containers/configuration.toml
qemu hypervisor path (QEMUPATH) : /usr/bin/qemu-system-x86_64
cloud-hypervisor hypervisor path (CLHPATH) : /usr/bin/cloud-hypervisor
firecracker hypervisor path (FCPATH) : /usr/bin/firecracker
acrn hypervisor path (ACRNPATH) : /usr/bin/acrn-dm
assets path (PKGDATADIR) : /usr/share/kata-containers
shim path (PKGLIBEXECDIR) : /usr/libexec/kata-containers
INSTALL install-scripts
INSTALL install-completions
INSTALL install-configs
INSTALL install-configs
INSTALL install-bin
INSTALL install-containerd-shim-v2
INSTALL install-monitor
INSTALL install-bin-libexec
~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests
Enabling all debug options in file //usr/share/defaults/kata-containers/configuration.toml
Configure use of VSOCK in //usr/share/defaults/kata-containers/configuration.toml
Check if vhost_vsock is loaded
Load vhost_vsock module
Use machine_type q35
Installing qemu
INFO: current QEMU version: v5.2.0
INFO: cached QEMU version: v5.2.0
INFO: Installing cached QEMU
0.0%
0.3%
1.2%
## 3.2%
### 5.5%
###### 9.5%
######## 11.3%
######### 13.4%
########### 15.5%
############ 17.7%
############## 19.5%
############## 19.7%
################ 22.9%
################## 25.4%
################### 26.5%
################### 27.4%
#################### 28.9%
##################### 30.1%
###################### 31.1%
####################### 32.6%
######################## 33.8%
######################### 34.8%
########################## 36.3%
########################### 37.7%
########################### 38.7%
############################ 40.3%
############################# 41.6%
############################## 42.8%
############################### 44.3%
################################ 45.7%
################################## 47.4%
################################### 48.7%
################################### 49.0%
#################################### 51.2%
##################################### 52.3%
###################################### 53.4%
####################################### 54.5%
######################################## 55.7%
######################################## 56.8%
######################################### 58.1%
########################################## 59.7%
########################################### 60.8%
############################################ 61.7%
############################################ 62.5%
############################################# 63.2%
############################################## 64.1%
############################################## 64.9%
############################################### 65.6%
############################################### 66.5%
################################################ 67.5%
################################################ 67.8%
################################################# 69.0%
################################################## 70.4%
################################################### 71.7%
#################################################### 72.4%
#################################################### 73.2%
##################################################### 74.2%
##################################################### 74.9%
###################################################### 75.7%
###################################################### 76.3%
####################################################### 76.9%
####################################################### 77.2%
######################################################## 77.8%
######################################################## 78.3%
######################################################## 78.7%
######################################################### 79.3%
######################################################### 79.9%
######################################################### 80.3%
########################################################## 81.0%
########################################################## 81.6%
########################################################### 82.0%
########################################################### 82.5%
########################################################### 83.2%
############################################################ 83.7%
############################################################ 84.2%
############################################################# 84.9%
############################################################# 85.4%
############################################################# 85.9%
############################################################## 86.5%
############################################################## 87.1%
############################################################### 87.6%
############################################################### 88.2%
############################################################### 88.7%
################################################################ 89.3%
################################################################ 89.9%
################################################################# 90.5%
################################################################# 91.0%
################################################################## 91.7%
################################################################## 92.3%
################################################################### 93.2%
################################################################### 93.8%
################################################################### 94.2%
#################################################################### 94.7%
#################################################################### 95.2%
#################################################################### 95.7%
##################################################################### 96.3%
##################################################################### 96.8%
###################################################################### 97.2%
###################################################################### 97.9%
###################################################################### 98.4%
####################################################################### 98.8%
####################################################################### 99.8%
######################################################################## 100.0%
kata-static-qemu.tar.gz: OK
/usr/libexec/kata-qemu/virtiofsd
/usr/bin/qemu-system-x86_64
[Meta]
Version = "1.0.25"
[Runtime]
Debug = true
Trace = false
DisableGuestSeccomp = true
DisableNewNetNs = false
SandboxCgroupOnly = false
Path = "/usr/local/bin/kata-runtime"
[Runtime.Version]
OCI = "1.0.2-dev"
[Runtime.Version.Version]
Semver = "2.2.0-alpha1"
Major = 2
Minor = 2
Patch = 0
Commit = "594ff3a5bde3813f29ee2a565e0526b35702be4a"
[Runtime.Config]
Path = "/usr/share/defaults/kata-containers/configuration.toml"
[Hypervisor]
MachineType = "q35"
Version = "QEMU emulator version 5.2.0 (kata-static)\nCopyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers"
Path = "/usr/bin/qemu-system-x86_64"
BlockDeviceDriver = "virtio-scsi"
EntropySource = "/dev/urandom"
SharedFS = "virtio-fs"
VirtioFSDaemon = "/usr/libexec/kata-qemu/virtiofsd"
Msize9p = 8192
MemorySlots = 10
PCIeRootPort = 0
HotplugVFIOOnRootBus = false
Debug = true
[Image]
Path = "/usr/share/kata-containers/kata-containers.img"
[Kernel]
Path = "/usr/share/kata-containers/vmlinux-5.10.25-85"
Parameters = "systemd.unit=kata-containers.target systemd.mask=systemd-networkd.service systemd.mask=systemd-networkd.socket scsi_mod.scan=none agent.log=debug agent.log=debug"
[Initrd]
Path = ""
[Agent]
Debug = true
Trace = false
TraceMode = ""
TraceType = ""
[Host]
Kernel = "5.4.0-67-generic"
Architecture = "amd64"
VMContainerCapable = false
SupportVSocks = true
[Host.Distro]
Name = "Ubuntu"
Version = "18.04"
[Host.CPU]
Vendor = "GenuineIntel"
Model = "Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz"
CPUs = 64
[Host.Memory]
Total = 394898360
Free = 389205764
Available = 390721240
[Netmon]
Path = "/usr/libexec/kata-containers/kata-netmon"
Debug = true
Enable = false
[Netmon.Version]
Semver = "2.2.0-alpha1"
Major = 2
Minor = 2
Patch = 0
Commit = "<<unknown>>"
Kata config:
# Copyright (c) 2017-2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
# XXX: WARNING: this file is auto-generated.
# XXX:
# XXX: Source file: "cli/config/configuration-qemu.toml.in"
# XXX: Project:
# XXX: Name: Kata Containers
# XXX: Type: kata
[hypervisor.qemu]
path = "/usr/bin/qemu-system-x86_64"
kernel = "/usr/share/kata-containers/vmlinux.container"
image = "/usr/share/kata-containers/kata-containers.img"
machine_type = "q35"
# Enable confidential guest support.
# Toggling that setting may trigger different hardware features, ranging
# from memory encryption to both memory and CPU-state encryption and integrity.
# The Kata Containers runtime dynamically detects the available feature set and
# aims at enabling the largest possible one.
# Default false
# confidential_guest = true
# List of valid annotation names for the hypervisor
# Each member of the list is a regular expression, which is the base name
# of the annotation, e.g. "path" for io.katacontainers.config.hypervisor.path"
enable_annotations = []
# List of valid annotations values for the hypervisor
# Each member of the list is a path pattern as described by glob(3).
# The default if not set is empty (all annotations rejected.)
# Your distribution recommends: ["/usr/bin/qemu-system-x86_64"]
valid_hypervisor_paths = ["/usr/bin/qemu-system-x86_64"]
# Optional space-separated list of options to pass to the guest kernel.
# For example, use `kernel_params = "vsyscall=emulate"` if you are having
# trouble running pre-2.15 glibc.
#
# WARNING: - any parameter specified here will take priority over the default
# parameter value of the same name used to start the virtual machine.
# Do not set values here unless you understand the impact of doing so as you
# may stop the virtual machine from booting.
# To see the list of default parameters, enable hypervisor debug, create a
# container and look for 'default-kernel-parameters' log entries.
kernel_params = " agent.log=debug"
# Path to the firmware.
# If you want that qemu uses the default firmware leave this option empty
firmware = ""
# Machine accelerators
# comma-separated list of machine accelerators to pass to the hypervisor.
# For example, `machine_accelerators = "nosmm,nosmbus,nosata,nopit,static-prt,nofw"`
machine_accelerators=""
# CPU features
# comma-separated list of cpu features to pass to the cpu
# For example, `cpu_features = "pmu=off,vmx=off"
cpu_features="-vmx-rdseed-exit,pmu=off"
# Default number of vCPUs per SB/VM:
# unspecified or 0 --> will be set to 1
# < 0 --> will be set to the actual number of physical cores
# > 0 <= number of physical cores --> will be set to the specified number
# > number of physical cores --> will be set to the actual number of physical cores
default_vcpus = 1
# Default maximum number of vCPUs per SB/VM:
# unspecified or == 0 --> will be set to the actual number of physical cores or to the maximum number
# of vCPUs supported by KVM if that number is exceeded
# > 0 <= number of physical cores --> will be set to the specified number
# > number of physical cores --> will be set to the actual number of physical cores or to the maximum number
# of vCPUs supported by KVM if that number is exceeded
# WARNING: Depending of the architecture, the maximum number of vCPUs supported by KVM is used when
# the actual number of physical cores is greater than it.
# WARNING: Be aware that this value impacts the virtual machine's memory footprint and CPU
# the hotplug functionality. For example, `default_maxvcpus = 240` specifies that until 240 vCPUs
# can be added to a SB/VM, but the memory footprint will be big. Another example, with
# `default_maxvcpus = 8` the memory footprint will be small, but 8 will be the maximum number of
# vCPUs supported by the SB/VM. In general, we recommend that you do not edit this variable,
# unless you know what are you doing.
# NOTICE: on arm platform with gicv2 interrupt controller, set it to 8.
default_maxvcpus = 0
# Bridges can be used to hot plug devices.
# Limitations:
# * Currently only pci bridges are supported
# * Until 30 devices per bridge can be hot plugged.
# * Until 5 PCI bridges can be cold plugged per VM.
# This limitation could be a bug in qemu or in the kernel
# Default number of bridges per SB/VM:
# unspecified or 0 --> will be set to 1
# > 1 <= 5 --> will be set to the specified number
# > 5 --> will be set to 5
default_bridges = 1
# Default memory size in MiB for SB/VM.
# If unspecified then it will be set 2048 MiB.
default_memory = 2048
#
# Default memory slots per SB/VM.
# If unspecified then it will be set 10.
# This is will determine the times that memory will be hotadded to sandbox/VM.
#memory_slots = 10
# The size in MiB will be plused to max memory of hypervisor.
# It is the memory address space for the NVDIMM devie.
# If set block storage driver (block_device_driver) to "nvdimm",
# should set memory_offset to the size of block device.
# Default 0
#memory_offset = 0
# Specifies virtio-mem will be enabled or not.
# Please note that this option should be used with the command
# "echo 1 > /proc/sys/vm/overcommit_memory".
# Default false
#enable_virtio_mem = true
# Disable block device from being used for a container's rootfs.
# In case of a storage driver like devicemapper where a container's
# root file system is backed by a block device, the block device is passed
# directly to the hypervisor for performance reasons.
# This flag prevents the block device from being passed to the hypervisor,
# 9pfs is used instead to pass the rootfs.
disable_block_device_use = false
# Shared file system type:
# - virtio-fs (default)
# - virtio-9p
shared_fs = "virtio-fs"
# Path to vhost-user-fs daemon.
virtio_fs_daemon = "/usr/libexec/kata-qemu/virtiofsd"
# List of valid annotations values for the virtiofs daemon
# The default if not set is empty (all annotations rejected.)
# Your distribution recommends: ["/usr/libexec/kata-qemu/virtiofsd"]
valid_virtio_fs_daemon_paths = ["/usr/libexec/kata-qemu/virtiofsd"]
# Default size of DAX cache in MiB
virtio_fs_cache_size = 0
# Extra args for virtiofsd daemon
#
# Format example:
# ["-o", "arg1=xxx,arg2", "-o", "hello world", "--arg3=yyy"]
#
# see `virtiofsd -h` for possible options.
virtio_fs_extra_args = ["--thread-pool-size=1"]
# Cache mode:
#
# - none
# Metadata, data, and pathname lookup are not cached in guest. They are
# always fetched from host and any changes are immediately pushed to host.
#
# - auto
# Metadata and pathname lookup cache expires after a configured amount of
# time (default is 1 second). Data is cached while the file is open (close
# to open consistency).
#
# - always
# Metadata, data, and pathname lookup are cached in guest and never expire.
virtio_fs_cache = "auto"
# Block storage driver to be used for the hypervisor in case the container
# rootfs is backed by a block device. This is virtio-scsi, virtio-blk
# or nvdimm.
block_device_driver = "virtio-scsi"
# Specifies cache-related options will be set to block devices or not.
# Default false
#block_device_cache_set = true
# Specifies cache-related options for block devices.
# Denotes whether use of O_DIRECT (bypass the host page cache) is enabled.
# Default false
#block_device_cache_direct = true
# Specifies cache-related options for block devices.
# Denotes whether flush requests for the device are ignored.
# Default false
#block_device_cache_noflush = true
# Enable iothreads (data-plane) to be used. This causes IO to be
# handled in a separate IO thread. This is currently only implemented
# for SCSI.
#
enable_iothreads = false
# Enable pre allocation of VM RAM, default false
# Enabling this will result in lower container density
# as all of the memory will be allocated and locked
# This is useful when you want to reserve all the memory
# upfront or in the cases where you want memory latencies
# to be very predictable
# Default false
#enable_mem_prealloc = true
# Enable huge pages for VM RAM, default false
# Enabling this will result in the VM memory
# being allocated using huge pages.
# This is useful when you want to use vhost-user network
# stacks within the container. This will automatically
# result in memory pre allocation
#enable_hugepages = true
# Enable vhost-user storage device, default false
# Enabling this will result in some Linux reserved block type
# major range 240-254 being chosen to represent vhost-user devices.
enable_vhost_user_store = false
# The base directory specifically used for vhost-user devices.
# Its sub-path "block" is used for block devices; "block/sockets" is
# where we expect vhost-user sockets to live; "block/devices" is where
# simulated block device nodes for vhost-user devices to live.
vhost_user_store_path = "/var/run/kata-containers/vhost-user"
# Enable vIOMMU, default false
# Enabling this will result in the VM having a vIOMMU device
# This will also add the following options to the kernel's
# command line: intel_iommu=on,iommu=pt
#enable_iommu = true
# Enable IOMMU_PLATFORM, default false
# Enabling this will result in the VM device having iommu_platform=on set
#enable_iommu_platform = true
# List of valid annotations values for the vhost user store path
# The default if not set is empty (all annotations rejected.)
# Your distribution recommends: ["/var/run/kata-containers/vhost-user"]
valid_vhost_user_store_paths = ["/var/run/kata-containers/vhost-user"]
# Enable file based guest memory support. The default is an empty string which
# will disable this feature. In the case of virtio-fs, this is enabled
# automatically and '/dev/shm' is used as the backing folder.
# This option will be ignored if VM templating is enabled.
#file_mem_backend = ""
# List of valid annotations values for the file_mem_backend annotation
# The default if not set is empty (all annotations rejected.)
# Your distribution recommends: [""]
valid_file_mem_backends = [""]
# Enable swap of vm memory. Default false.
# The behaviour is undefined if mem_prealloc is also set to true
#enable_swap = true
# -pflash can add image file to VM. The arguments of it should be in format
# of ["/path/to/flash0.img", "/path/to/flash1.img"]
pflashes = []
# This option changes the default hypervisor and kernel parameters
# to enable debug output where available.
#
# Default false
enable_debug = true
# Disable the customizations done in the runtime when it detects
# that it is running on top a VMM. This will result in the runtime
# behaving as it would when running on bare metal.
#
#disable_nesting_checks = true
# This is the msize used for 9p shares. It is the number of bytes
# used for 9p packet payload.
#msize_9p = 8192
# If false and nvdimm is supported, use nvdimm device to plug guest image.
# Otherwise virtio-block device is used.
# Default is false
#disable_image_nvdimm = true
# VFIO devices are hotplugged on a bridge by default.
# Enable hotplugging on root bus. This may be required for devices with
# a large PCI bar, as this is a current limitation with hotplugging on
# a bridge.
# Default false
#hotplug_vfio_on_root_bus = true
# Before hot plugging a PCIe device, you need to add a pcie_root_port device.
# Use this parameter when using some large PCI bar devices, such as Nvidia GPU
# The value means the number of pcie_root_port
# This value is valid when hotplug_vfio_on_root_bus is true and machine_type is "q35"
# Default 0
#pcie_root_port = 2
# If vhost-net backend for virtio-net is not desired, set to true. Default is false, which trades off
# security (vhost-net runs ring0) for network I/O performance.
#disable_vhost_net = true
#
# Default entropy source.
# The path to a host source of entropy (including a real hardware RNG)
# /dev/urandom and /dev/random are two main options.
# Be aware that /dev/random is a blocking source of entropy. If the host
# runs out of entropy, the VMs boot time will increase leading to get startup
# timeouts.
# The source of entropy /dev/urandom is non-blocking and provides a
# generally acceptable source of entropy. It should work well for pretty much
# all practical purposes.
#entropy_source= "/dev/urandom"
# List of valid annotations values for entropy_source
# The default if not set is empty (all annotations rejected.)
# Your distribution recommends: ["/dev/urandom","/dev/random",""]
valid_entropy_sources = ["/dev/urandom","/dev/random",""]
# Path to OCI hook binaries in the *guest rootfs*.
# This does not affect host-side hooks which must instead be added to
# the OCI spec passed to the runtime.
#
# You can create a rootfs with hooks by customizing the osbuilder scripts:
# https://github.com/kata-containers/osbuilder
#
# Hooks must be stored in a subdirectory of guest_hook_path according to their
# hook type, i.e. "guest_hook_path/{prestart,postart,poststop}".
# The agent will scan these directories for executable files and add them, in
# lexicographical order, to the lifecycle of the guest container.
# Hooks are executed in the runtime namespace of the guest. See the official documentation:
# https://github.com/opencontainers/runtime-spec/blob/v1.0.1/config.md#posix-platform-hooks
# Warnings will be logged if any error is encountered while scanning for hooks,
# but it will not abort container execution.
#guest_hook_path = "/usr/share/oci/hooks"
#
# Use rx Rate Limiter to control network I/O inbound bandwidth(size in bits/sec for SB/VM).
# In Qemu, we use classful qdiscs HTB(Hierarchy Token Bucket) to discipline traffic.
# Default 0-sized value means unlimited rate.
#rx_rate_limiter_max_rate = 0
# Use tx Rate Limiter to control network I/O outbound bandwidth(size in bits/sec for SB/VM).
# In Qemu, we use classful qdiscs HTB(Hierarchy Token Bucket) and ifb(Intermediate Functional Block)
# to discipline traffic.
# Default 0-sized value means unlimited rate.
#tx_rate_limiter_max_rate = 0
# Set where to save the guest memory dump file.
# If set, when GUEST_PANICKED event occurred,
# guest memeory will be dumped to host filesystem under guest_memory_dump_path,
# This directory will be created automatically if it does not exist.
#
# The dumped file(also called vmcore) can be processed with crash or gdb.
#
# WARNING:
# Dump guest??s memory can take very long depending on the amount of guest memory
# and use much disk space.
#guest_memory_dump_path="/var/crash/kata"
# If enable paging.
# Basically, if you want to use "gdb" rather than "crash",
# or need the guest-virtual addresses in the ELF vmcore,
# then you should enable paging.
#
# See: https://www.qemu.org/docs/master/qemu-qmp-ref.html#Dump-guest-memory for details
#guest_memory_dump_paging=false
[factory]
# VM templating support. Once enabled, new VMs are created from template
# using vm cloning. They will share the same initial kernel, initramfs and
# agent memory by mapping it readonly. It helps speeding up new container
# creation and saves a lot of memory if there are many kata containers running
# on the same host.
#
# When disabled, new VMs are created from scratch.
#
# Note: Requires "initrd=" to be set ("image=" is not supported).
#
# Default false
#enable_template = true
# Specifies the path of template.
#
# Default "/run/vc/vm/template"
#template_path = "/run/vc/vm/template"
# The number of caches of VMCache:
# unspecified or == 0 --> VMCache is disabled
# > 0 --> will be set to the specified number
#
# VMCache is a function that creates VMs as caches before using it.
# It helps speed up new container creation.
# The function consists of a server and some clients communicating
# through Unix socket. The protocol is gRPC in protocols/cache/cache.proto.
# The VMCache server will create some VMs and cache them by factory cache.
# It will convert the VM to gRPC format and transport it when gets
# requestion from clients.
# Factory grpccache is the VMCache client. It will request gRPC format
# VM and convert it back to a VM. If VMCache function is enabled,
# kata-runtime will request VM from factory grpccache when it creates
# a new sandbox.
#
# Default 0
#vm_cache_number = 0
# Specify the address of the Unix socket that is used by VMCache.
#
# Default /var/run/kata-containers/cache.sock
#vm_cache_endpoint = "/var/run/kata-containers/cache.sock"
[agent.kata]
# If enabled, make the agent display debug-level messages.
# (default: disabled)
enable_debug = true
# Enable agent tracing.
#
# If enabled, the default trace mode is "dynamic" and the
# default trace type is "isolated". The trace mode and type are set
# explicity with the `trace_type=` and `trace_mode=` options.
#
# Notes:
#
# - Tracing is ONLY enabled when `enable_tracing` is set: explicitly
# setting `trace_mode=` and/or `trace_type=` without setting `enable_tracing`
# will NOT activate agent tracing.
#
# - See https://github.com/kata-containers/agent/blob/master/TRACING.md for
# full details.
#
# (default: disabled)
#enable_tracing = true
#
#trace_mode = "dynamic"
#trace_type = "isolated"
# Comma separated list of kernel modules and their parameters.
# These modules will be loaded in the guest kernel using modprobe(8).
# The following example can be used to load two kernel modules with parameters
# - kernel_modules=["e1000e InterruptThrottleRate=3000,3000,3000 EEE=1", "i915 enable_ppgtt=0"]
# The first word is considered as the module name and the rest as its parameters.
# Container will not be started when:
# * A kernel module is specified and the modprobe command is not installed in the guest
# or it fails loading the module.
# * The module is not available in the guest or it doesn't met the guest kernel
# requirements, like architecture and version.
#
kernel_modules=[]
# Enable debug console.
# If enabled, user can connect guest OS running inside hypervisor
# through "kata-runtime exec <sandbox-id>" command
#debug_console_enabled = true
# Agent connection dialing timeout value in seconds
# (default: 30)
#dial_timeout = 30
[netmon]
# If enabled, the network monitoring process gets started when the
# sandbox is created. This allows for the detection of some additional
# network being added to the existing network namespace, after the
# sandbox has been created.
# (default: disabled)
#enable_netmon = true
# Specify the path to the netmon binary.
path = "/usr/libexec/kata-containers/kata-netmon"
# If enabled, netmon messages will be sent to the system log
# (default: disabled)
enable_debug = true
[runtime]
# If enabled, the runtime will log additional debug messages to the
# system log
# (default: disabled)
enable_debug = true
#
# Internetworking model
# Determines how the VM should be connected to the
# the container network interface
# Options:
#
# - macvtap
# Used when the Container network interface can be bridged using
# macvtap.
#
# - none
# Used when customize network. Only creates a tap device. No veth pair.
#
# - tcfilter
# Uses tc filter rules to redirect traffic from the network interface
# provided by plugin to a tap interface connected to the VM.
#
internetworking_model="tcfilter"
# disable guest seccomp
# Determines whether container seccomp profiles are passed to the virtual
# machine and applied by the kata agent. If set to true, seccomp is not applied
# within the guest
# (default: true)
disable_guest_seccomp=true
# If enabled, the runtime will create opentracing.io traces and spans.
# (See https://www.jaegertracing.io/docs/getting-started).
# (default: disabled)
#enable_tracing = true
# Set the full url to the Jaeger HTTP Thrift collector.
# The default if not set will be "http://localhost:14268/api/traces"
#jaeger_endpoint = ""
# Sets the username to be used if basic auth is required for Jaeger.
#jaeger_user = ""
# Sets the password to be used if basic auth is required for Jaeger.
#jaeger_password = ""
# If enabled, the runtime will not create a network namespace for shim and hypervisor processes.
# This option may have some potential impacts to your host. It should only be used when you know what you're doing.
# `disable_new_netns` conflicts with `enable_netmon`
# `disable_new_netns` conflicts with `internetworking_model=tcfilter` and `internetworking_model=macvtap`. It works only
# with `internetworking_model=none`. The tap device will be in the host network namespace and can connect to a bridge
# (like OVS) directly.
# If you are using docker, `disable_new_netns` only works with `docker run --net=none`
# (default: false)
#disable_new_netns = true
# if enabled, the runtime will add all the kata processes inside one dedicated cgroup.
# The container cgroups in the host are not created, just one single cgroup per sandbox.
# The runtime caller is free to restrict or collect cgroup stats of the overall Kata sandbox.
# The sandbox cgroup path is the parent cgroup of a container with the PodSandbox annotation.
# The sandbox cgroup is constrained if there is no container type annotation.
# See: https://godoc.org/github.com/kata-containers/runtime/virtcontainers#ContainerType
sandbox_cgroup_only=false
# If specified, sandbox_bind_mounts identifieds host paths to be mounted (ro) into the sandboxes shared path.
# This is only valid if filesystem sharing is utilized. The provided path(s) will be bindmounted into the shared fs directory.
# If defaults are utilized, these mounts should be available in the guest at `/run/kata-containers/shared/containers/sandbox-mounts`
# These will not be exposed to the container workloads, and are only provided for potential guest services.
sandbox_bind_mounts=[]
# Enabled experimental feature list, format: ["a", "b"].
# Experimental features are features not stable enough for production,
# they may break compatibility, and are prepared for a big version bump.
# Supported experimental features:
# (default: [])
experimental=[]
# If enabled, user can run pprof tools with shim v2 process through kata-monitor.
# (default: false)
# enable_pprof = true
# WARNING: All the options in the following section have not been implemented yet.
# This section was added as a placeholder. DO NOT USE IT!
[image]
# Container image service.
#
# Offload the CRI image management service to the Kata agent.
# (default: false)
#service_offload = true
# Container image decryption keys provisioning.
# Applies only if service_offload is true.
# Keys can be provisioned locally (e.g. through a special command or
# a local file) or remotely (usually after the guest is remotely attested).
# The provision setting is a complete URL that lets the Kata agent decide
# which method to use in order to fetch the keys.
#
# Keys can be stored in a local file, in a measured and attested initrd:
#provision=data:///local/key/file
#
# Keys could be fetched through a special command or binary from the
# initrd (guest) image, e.g. a firmware call:
#provision=file:///path/to/bin/fetcher/in/guest
#
# Keys can be remotely provisioned. The Kata agent fetches them from e.g.
# a HTTPS URL:
#provision=https://my-key-broker.foo/tenant/<tenant-id>
Install CNI plugins
Retrieve CNI plugins repository
go: downloading github.com/containernetworking/plugins v0.9.1
.ci/install_cni_plugins.sh: line 16: pushd: /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/containernetworking/plugins: No such file or directory
Failed at 16: pushd $GOPATH/src/github.com/containernetworking/plugins
Build step 'Execute shell' marked build as failure
Performing Post build task...
Match found for :.* : True
Logical operation result is TRUE
Running script : #!/bin/bash
export GOPATH=$WORKSPACE/go
export GOROOT="/usr/local/go"
export PATH=${GOPATH}/bin:/usr/local/go/bin:/usr/sbin:/usr/local/bin:${PATH}
cd $GOPATH/src/github.com/kata-containers/tests
.ci/teardown.sh "$WORKSPACE/artifacts"
[kata-containers-2.0-pmem-ubuntu-20-04-daily] $ /bin/bash /tmp/jenkins10301546054376255994.sh
~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/artifacts ~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests
gzip: /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/artifacts/mounts.log.gz already exists; not overwritten
gzip: /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/artifacts/processes.log.gz already exists; not overwritten
gzip: containerd-shim-kata-v2_00.gz already exists; not overwritten
gzip: containerd-shim-kata-v2_00.gz already has .gz suffix -- unchanged
gzip: kata-runtime_00.gz already exists; not overwritten
gzip: kata-runtime_00.gz already has .gz suffix -- unchanged
gzip: containerd_00.gz already exists; not overwritten
gzip: containerd_00.gz already has .gz suffix -- unchanged
gzip: crio_00.gz already exists; not overwritten
gzip: crio_00.gz already has .gz suffix -- unchanged
gzip: docker_00.gz already exists; not overwritten
gzip: docker_00.gz already has .gz suffix -- unchanged
gzip: kubelet_00.gz already exists; not overwritten
gzip: kubelet_00.gz already has .gz suffix -- unchanged
gzip: kubelet_01.gz already exists; not overwritten
gzip: kubelet_01.gz already has .gz suffix -- unchanged
gzip: kubelet_02.gz already exists; not overwritten
gzip: kubelet_02.gz already has .gz suffix -- unchanged
gzip: kubelet_03.gz already exists; not overwritten
gzip: kubelet_03.gz already has .gz suffix -- unchanged
gzip: kubelet_04.gz already exists; not overwritten
gzip: kubelet_04.gz already has .gz suffix -- unchanged
gzip: kubelet_05.gz already exists; not overwritten
gzip: kubelet_05.gz already has .gz suffix -- unchanged
gzip: kubelet_06.gz already exists; not overwritten
gzip: kubelet_06.gz already has .gz suffix -- unchanged
gzip: kubelet_07.gz already exists; not overwritten
gzip: kubelet_07.gz already has .gz suffix -- unchanged
gzip: kubelet_08.gz already exists; not overwritten
gzip: kubelet_08.gz already has .gz suffix -- unchanged
gzip: kubelet_09.gz already exists; not overwritten
gzip: kubelet_09.gz already has .gz suffix -- unchanged
gzip: kubelet_10.gz already exists; not overwritten
gzip: kubelet_10.gz already has .gz suffix -- unchanged
gzip: kubelet_11.gz already exists; not overwritten
gzip: kubelet_11.gz already has .gz suffix -- unchanged
gzip: kubelet_12.gz already exists; not overwritten
gzip: kubelet_12.gz already has .gz suffix -- unchanged
gzip: kubelet_13.gz already exists; not overwritten
gzip: kubelet_13.gz already has .gz suffix -- unchanged
gzip: kubelet_14.gz already exists; not overwritten
gzip: kubelet_14.gz already has .gz suffix -- unchanged
gzip: kata-ksm_throttler_00.gz already exists; not overwritten
gzip: kata-ksm_throttler_00.gz already has .gz suffix -- unchanged
gzip: kata-vc_throttler_00.gz already exists; not overwritten
gzip: kata-vc_throttler_00.gz already has .gz suffix -- unchanged
gzip: kernel_00.gz already exists; not overwritten
gzip: kernel_00.gz already has .gz suffix -- unchanged
gzip: virtiofs_00.gz already exists; not overwritten
gzip: virtiofs_00.gz already has .gz suffix -- unchanged
gzip: kata-collect-data_00.gz already exists; not overwritten
gzip: kata-collect-data_00.gz already has .gz suffix -- unchanged
gzip: /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/artifacts/procenv-jenkins.log.gz already exists; not overwritten
gzip: /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/artifacts/procenv-root.log.gz already exists; not overwritten
~/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests
INFO: Checking log files
make -C cmd/log-parser
make[1]: Entering directory '/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests/cmd/log-parser'
go test .
go: cannot find main module, but found Gopkg.lock in /home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests
to create a module there, run:
cd ../.. && go mod init
Makefile:20: recipe for target 'check' failed
make[1]: *** [check] Error 1
make[1]: Leaving directory '/home/jenkins/workspace/workspace/kata-containers-2.0-pmem-ubuntu-20-04-daily/go/src/github.com/kata-containers/tests/cmd/log-parser'
Makefile:141: recipe for target 'log-parser' failed
make: *** [log-parser] Error 2
POST BUILD TASK : FAILURE
END OF POST BUILD TASK : 0
Archiving artifacts
Triggering a new build of kata-containers-2.0-reboot-pmem-ubuntu-20-04
Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment