run_local_eve_sh.log

by Elena Korytko last modified Feb 26, 2020 12:55 PM

application log icon run_local_eve_sh.log — application log, 15 kB (16149 bytes)

File contents

root@eve:~/github/itmo-eve/eveadm# ./tests/run_local_eve.sh -m 3000 -t integration -r
Use with memory 3000
Use with tag integration
========================================
Temp directory for test: /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614
========================================
Hit:1 http://ru.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://ru.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 http://ru.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:4 http://ru.archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Ign:5 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/train InRelease
Get:6 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/train Release [7,882 B]
Get:7 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-updates/train Release.gpg [543 B]
Fetched 260 kB in 1s (294 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  augeas-lenses libaugeas0 libbluetooth3 libnetcf1 libsdl1.2debian
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
snap "go" is already installed, see 'snap help refresh'
Reading package lists... Done
Building dependency tree
Reading state information... Done
make is already the newest version (4.1-9.1ubuntu1).
telnet is already the newest version (0.17-41).
jq is already the newest version (1.5+dfsg-2).
git is already the newest version (1:2.17.1-1ubuntu0.5).
openssl is already the newest version (1.1.1-1ubuntu2.1~18.04.5).
docker.io is already the newest version (18.09.7-0ubuntu1~18.04.4).
qemu-system-x86 is already the newest version (1:4.0+dfsg-0ubuntu9.3~cloud0).
qemu-utils is already the newest version (1:4.0+dfsg-0ubuntu9.3~cloud0).
The following packages were automatically installed and are no longer required:
  augeas-lenses libaugeas0 libbluetooth3 libnetcf1 libsdl1.2debian
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
========================================
Generate keypair for ssh (no overwrite if exists)
========================================
/root/.ssh/id_rsa already exists.
Overwrite (y/n)?
========================================
Prepare and run EVE
========================================
Cloning into 'eve'...
remote: Enumerating objects: 50563, done.
remote: Total 50563 (delta 0), reused 0 (delta 0), pack-reused 50563
Receiving objects: 100% (50563/50563), 57.95 MiB | 17.73 MiB/s, done.
Resolving deltas: 100% (32169/32169), done.
Checking out files: 100% (7372/7372), done.
Branch 'integration' set up to track remote branch 'integration' from 'origin'.
Switched to a new branch 'integration'
Creating go builder image for user root
eve-build-root docker container is ready to use
Done building /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614/eve/build-tools/bin/linuxkit
Building "lfedge/eve-pillar:07c93898cc7f4f7688a1f7d582d6521288a46c14"
Sending build context to Docker daemon  23.96MB
Step 1/46 : ARG GOVER=1.12.4
Step 2/46 : FROM golang:${GOVER}-alpine as build
 ---> b97a72b8e97d
Step 3/46 : RUN apk update
 ---> Using cache
 ---> 9ce99b670610
Step 4/46 : RUN apk add --no-cache git gcc linux-headers libc-dev util-linux libpcap-dev make
 ---> Using cache
 ---> 1ac2e79f07f2
Step 5/46 : ENV GOFLAGS=-mod=vendor
 ---> Using cache
 ---> 0364862bf9d7
Step 6/46 : ENV GO111MODULE=on
 ---> Using cache
 ---> 01389e0e234c
Step 7/46 : ENV CGO_ENABLED=1
 ---> Using cache
 ---> 851289f8004b
Step 8/46 : ARG GOARCH=
 ---> Using cache
 ---> da0ee6747567
Step 9/46 : ARG CROSS_GCC=https://musl.cc/aarch64-linux-musleabi-cross.tgz
 ---> Using cache
 ---> dbd747866ea4
Step 10/46 : RUN [ -z "$GOARCH" ] || (cd / ; apk add --no-cache wget && wget -O - $CROSS_GCC | tar xzvf -)
 ---> Using cache
 ---> 046e700ce42d
Step 11/46 : ADD ./  /pillar/
 ---> Using cache
 ---> 99402d0e5f6a
Step 12/46 : WORKDIR /pillar
 ---> Using cache
 ---> c0aba5b38489
Step 13/46 : RUN [ -z "$GOARCH" ] || export CC=$(echo /*-cross/bin/*-gcc) ;    echo "Running go vet" && go vet ./... &&     echo "Running go fmt" && ERR=$(gofmt -e -l -s $(find . -name \*.go | grep -v /vendor/)) &&        if [ -n "$ERR" ] ; then echo "go fmt Failed - ERR: "$ERR ; exit 1 ; fi &&     make DISTDIR=/dist build
 ---> Using cache
 ---> aeba7e39c667
Step 14/46 : FROM lfedge/eve-dnsmasq:cdb36dc56fb50bbd2b28123e435b3660adf34efb-amd64 as dnsmasq
 ---> 6cfc8493fef2
Step 15/46 : FROM lfedge/eve-strongswan:6dda5ee56b295a0115e7c09a0ca23aa925426252-amd64 as strongswan
 ---> 84ae4c9bdc33
Step 16/46 : FROM lfedge/eve-gpt-tools:e378abea66b77fb7e9587b798a8caf5c78f440c1-amd64 as gpttools
 ---> dca6dcf8b956
Step 17/46 : FROM lfedge/eve-rkt:15525fb9c5a58f9e7ec98004b6859365e1f99c98-amd64 as rkt-build
 ---> 73ba1fc512b9
Step 18/46 : FROM lfedge/eve-rkt-stage1:486dca67cac13454e332a6ad83b6ae7a1b5ee3bf-amd64 as rkt-stage1-build
 ---> 32ec6f27514d
Step 19/46 : FROM lfedge/eve-fscrypt:14e5bffae1e7744eacafa3d46d2cbff39027cd3c-amd64 as fscrypt-build
 ---> 9d270666e5ac
Step 20/46 : FROM itmoeve/eveadm:867fe1d98132e8e09f86dfe395fd0df9c5136eca-amd64 as eveadm-build
 ---> b725f5f28efc
Step 21/46 : FROM alpine:3.8
 ---> c8bccc0af957
Step 22/46 : SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
 ---> Using cache
 ---> cd342da0096b
Step 23/46 : RUN apk add --no-cache     yajl xz bash openssl iptables ip6tables iproute2 dhcpcd          coreutils dmidecode libbz2 libuuid ipset           curl radvd perl ethtool     util-linux e2fsprogs libcrypto1.0 xorriso qemu-img     libpcap jq e2fsprogs-extra keyutils
 ---> Using cache
 ---> 680d2f90bcb0
Step 24/46 : ADD conf/root-certificate.pem conf/server conf/server.production /opt/zededa/examples/config/
 ---> Using cache
 ---> bb2a78737611
Step 25/46 : ADD scripts/device-steps.sh     scripts/generate-device.sh     scripts/generate-self-signed.sh     scripts/handlezedserverconfig.sh   /opt/zededa/bin/
 ---> Using cache
 ---> 48918f505774
Step 26/46 : ADD conf/lisp.config.base /var/tmp/zededa/lisp.config.base
 ---> Using cache
 ---> 806115849dbf
Step 27/46 : COPY patches/* /patches/
 ---> Using cache
 ---> 6b435f609eab
Step 28/46 : RUN set -e && for patch in ../patches/*.patch; do         echo "Applying $patch";         patch -p1 < "$patch";     done
 ---> Using cache
 ---> e1d7576a7972
Step 29/46 : COPY --from=build /dist /opt/zededa/bin
 ---> Using cache
 ---> c7a2965f8efb
Step 30/46 : COPY --from=gpttools / /
 ---> Using cache
 ---> 1c42e7a2583a
Step 31/46 : COPY --from=dnsmasq /usr/sbin/dnsmasq /opt/zededa/bin/dnsmasq
 ---> Using cache
 ---> c4065ce5f662
Step 32/46 : COPY --from=strongswan / /
 ---> Using cache
 ---> 373aa39c58b0
Step 33/46 : COPY --from=rkt-build /go/rkt/build-rkt-1.26.0/target/bin/rkt /usr/sbin/rkt
 ---> Using cache
 ---> 2a4ca1c73f5b
Step 34/46 : COPY --from=rkt-stage1-build /go/stage1-xen-master/stage1-xen.aci /usr/sbin/stage1-xen.aci
 ---> Using cache
 ---> cc6c63ce9c8e
Step 35/46 : COPY --from=fscrypt-build /fscrypt /opt/zededa/bin/fscrypt
 ---> Using cache
 ---> 1b3b8d7d30ac
Step 36/46 : COPY --from=eveadm-build /eveadm /usr/sbin/eveadm
 ---> Using cache
 ---> 7d4411c86921
Step 37/46 : COPY rootfs/ /
 ---> Using cache
 ---> d5cf689c2b66
Step 38/46 : RUN if [ "$(uname -m)" = "aarch64" ] ; then                                                    apk add --no-cache findutils=4.6.0-r1 binutils=2.30-r6 file=5.32-r2             ;       find / -type f -executable -exec file {} \; | grep 'not stripped' | cut -f1 -d: |       xargs strip                                                                     ;       apk del findutils binutils file                                                 ;    fi
 ---> Using cache
 ---> 9ef382b5525e
Step 39/46 : SHELL ["/bin/sh", "-c"]
 ---> Using cache
 ---> f76917d260f1
Step 40/46 : WORKDIR /
 ---> Using cache
 ---> 8fa560020fd0
Step 41/46 : CMD /init.sh
 ---> Using cache
 ---> 50ae83f55e3b
Step 42/46 : LABEL org.mobyproject.config={"capabilities":["all"],"binds":["/lib/modules:/lib/modules","/dev:/dev","/etc/resolv.conf:/etc/resolv.conf","/run:/run","/var/config:/config","/:/hostfs","/var/persist:/persist:rshared,rbind","/etc/eve-release:/etc/eve-release"],"net":"host","pid":"host","rootfsPropagation":"shared"}
 ---> Using cache
 ---> d100391458bd
Step 43/46 : LABEL org.mobyproject.linuxkit.revision=unknown
 ---> Using cache
 ---> a472f172329e
Step 44/46 : LABEL org.mobyproject.linuxkit.version=unknown
 ---> Using cache
 ---> dfc6607140ce
Step 45/46 : LABEL org.opencontainers.image.revision=69470b970d248175df27149ff4694a33a7b4b33f
 ---> Using cache
 ---> 2a8356db85f9
Step 46/46 : LABEL org.opencontainers.image.source=https://github.com/linuxkit/linuxkit
 ---> Using cache
 ---> 05c068e6644b
Successfully built 05c068e6644b
Successfully tagged lfedge/eve-pillar:07c93898cc7f4f7688a1f7d582d6521288a46c14-amd64
Tagging lfedge/eve-pillar:07c93898cc7f4f7688a1f7d582d6521288a46c14-amd64 as lfedge/eve-pillar:07c93898cc7f4f7688a1f7d582d6521288a46c14
Build complete, not pushing, all done.
rm pkg/pillar/Dockerfile
Creating go builder image for user root
eve-build-root docker container is ready to use
mkdir -p /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614/eve/dist/amd64/installer
cd /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614/eve/dist/amd64/installer ; _() { C=`docker create $1 fake` ; shift ; docker export $C | tar -xf - "$@" ; docker rm $C ; } ; _ lfedge/eve-grub:6ba90a37e6f4d81a8a0c1d58f8eca99e72e19fdb-amd64 EFI
edf8f78142c1b2df1b85ebbf4efc767b1220a326e96f521f068b6b1e726a441b
Done building /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614/eve/build-tools/bin/linuxkit
./tools/makerootfs.sh images/rootfs-xen.yml /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614/eve/dist/amd64/installer/rootfs.img squash
Extract kernel image: lfedge/eve-kernel:0b58e0f9261e72839110c9f7c611f099c1062d6e-amd64
Add init containers:
Process init image: linuxkit/init:v0.5-amd64
Process init image: linuxkit/runc:v0.5-amd64
WARN[0009] targets/justin metadata is nearing expiry, you should re-sign the role metadata
WARN[0009] targets/riyaz metadata is nearing expiry, you should re-sign the role metadata
Process init image: linuxkit/containerd:v0.5-amd64
WARN[0012] targets/riyaz metadata is nearing expiry, you should re-sign the role metadata
Process init image: linuxkit/getty:v0.5-amd64
WARN[0015] targets/justin metadata is nearing expiry, you should re-sign the role metadata
Process init image: linuxkit/memlogd:v0.5-amd64
Process init image: lfedge/eve-grub:6ba90a37e6f4d81a8a0c1d58f8eca99e72e19fdb-amd64
Process init image: lfedge/eve-fw:e07c45a98386767ec3926b813dc4b46a96a81541-amd64
Process init image: lfedge/eve-xen:93b863e105118a0be7cf7423daf6b8831f0009d9-amd64
Process init image: lfedge/eve-gpt-tools:e378abea66b77fb7e9587b798a8caf5c78f440c1-amd64
Process init image: lfedge/eve-dom0-ztools:fdfeabd2c6e03482e9a1bf6b1c78c1a9d9263a80-amd64
Add onboot containers:
  Create OCI config for lfedge/eve-storage-init:3524db08db611b060d8c2ac0ca2b5b4826e0c960-amd64
  Create OCI config for linuxkit/sysctl:v0.5-amd64
  Create OCI config for lfedge/eve-rngd:6e16dad8553a6c2939854abfa9f34a5f2604bce7-amd64
  Create OCI config for linuxkit/modprobe:v0.5-amd64
Add service containers:
  Create OCI config for lfedge/eve-rsyslog:2d038c92539eb366f59c36ab36ce5ea461f9420a-amd64
  Create OCI config for linuxkit/openntpd:v0.5-amd64
WARN[0039] targets/justin metadata is nearing expiry, you should re-sign the role metadata
WARN[0039] targets/riyaz metadata is nearing expiry, you should re-sign the role metadata
  Create OCI config for linuxkit/sshd:v0.5-amd64
WARN[0042] targets/justin metadata is nearing expiry, you should re-sign the role metadata
WARN[0042] targets/riyaz metadata is nearing expiry, you should re-sign the role metadata
  Create OCI config for lfedge/eve-wwan:2b98bc7569f167b1850dd9025a4b8c8489fee754-amd64
  Create OCI config for lfedge/eve-wlan:ac31bb78810451ef1333b3970f29bebc0a6c9c44-amd64
  Create OCI config for lfedge/eve-lisp:d59985d6935cf2f1450d701534cae70c3eea329d-amd64
  Create OCI config for lfedge/eve-guacd:f1f08a0fcadd35320f5d03fe0f0a1a318e8449be-amd64
  Create OCI config for lfedge/eve-pillar:07c93898cc7f4f7688a1f7d582d6521288a46c14-amd64
  Create OCI config for lfedge/eve-vtpm:11365a20a21fa000e9d48614e9303c8f0e81477f-amd64
  Create OCI config for lfedge/eve-watchdog:92e415f0dd2bf0aec9b2635dafbbaf385b7d8a44-amd64
  Create OCI config for lfedge/eve-xen-tools:d2b6e9b3b2df8cf121d65f3034847a145e22ccb4-amd64
Add files:
  /etc/eve-release
  /containers/services/pillar/lower/opt/zededa/bin/versioninfo
Parallel mksquashfs: Using 16 processors
Creating 4.0 filesystem on /rootfs.img, block size 131072.
[===========================================================|] 23795/23795 100%

Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
        compressed data, compressed metadata, compressed fragments, compressed xattrs
        duplicates are removed
Filesystem size 231468.09 Kbytes (226.04 Mbytes)
        33.48% of uncompressed filesystem size (691296.09 Kbytes)
Inode table size 270037 bytes (263.71 Kbytes)
        25.03% of uncompressed inode table size (1079056 bytes)
Directory table size 295538 bytes (288.61 Kbytes)
        45.59% of uncompressed directory table size (648250 bytes)
Number of duplicate files found 10126
Number of inodes 27894
Number of files 19619
Number of fragments 853
Number of symbolic links  5868
Number of device nodes 4
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 2403
Number of ids (unique uids + gids) 3
Number of uids 1
        root (0)
Number of gids 3
        root (0)
        shadow (42)
        tty (5)
cd /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614/eve/dist/amd64/installer ; _() { C=`docker create $1 fake` ; shift ; docker export $C | tar -xf - "$@" ; docker rm $C ; } ; _ lfedge/eve-mkimage-raw-efi:cf09472dd937fb0c7e040f8d338b0ddfd285bfcd-amd64 initrd.img EFI
e808eb71c9c7e070956eb295080b4c05389b4a628c86410a37cbd89cec9c3f3d
./tools/makeconfig.sh conf /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614/eve/dist/amd64/installer/config.img
1024+0 records in
1024+0 records out
mkfs.fat 4.1 (2017-01-24)
/config.img has 64 heads and 32 sectors per track,
hidden sectors 0x0000;
logical sector size is 512,
using 0xf8 media descriptor, with 2048 sectors;
drive number 0x80;
filesystem has 2 12-bit FATs and 4 sectors per cluster.
FAT size is 2 sectors, and provides 502 clusters.
There is 1 reserved sector.
Root directory contains 512 slots and uses 32 sectors.
Volume ID is b28e7998, volume label EVE        .
./tools/makeflash.sh -C 8192 /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614/eve/dist/amd64/installer /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614/eve/dist/amd64/live.raw
1+0 records in
1+0 records out
1 byte copied, 0.000163985 s, 6.1 kB/s
Unknown (or unrecongnizable) GTP partition table on /output.img
Creating new GPT entries in memory.
Setting name!
partNum is 0
Setting name!
partNum is 1
Setting name!
partNum is 2
Setting name!
partNum is 3
Setting name!
partNum is 8
No problems found. 2014 free sectors (1007.0 KiB) available in 1
segments, the largest of which is 2014 (1007.0 KiB) in size.
mkdir -p /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614/eve/dist/amd64
qemu-img convert -c -f raw -O qcow2 /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614/eve/dist/amd64/live.raw /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614/eve/dist/amd64/live.qcow2
rm /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614/eve/dist/amd64/live.raw
ln -s live.qcow2 /tmp/eveadam-2020-02-26-10-38-03-HEnRFFo614/eve/dist/amd64/live.img
========================================
EVE pid:
14752
========================================
EVE config successfull
========================================
Please use Onboarding Key
3ad41505-9b5a-42b5-b59f-0898c8c015b1
and Serial Number
20778006
in zedcloud.zededa.net
You can connect to node via ssh
sudo ssh -p 49271 localhost
Or via telnet:
telnet localhost 49501
Do you want to cleanup? (y/n)
Navigation