You are here: Home / Projects / EVE / eveadm / tests / Testing run_local_eve.sh on Ubuntu Server 18.04. February 10, 2020 / ubuntu-18.04-eveadm-run_local_eve-testing-20200210

ubuntu-18.04-eveadm-run_local_eve-testing-20200210

by Inna Sosunova last modified Feb 11, 2020 12:58 AM

application log icon ubuntu-18.04-eveadm-run_local_eve-testing-20200210.log — application log, 10 kB (10767 bytes)

File contents

inna@Inna-PC:~$ ssh user@192.168.122.113
user@192.168.122.113's password: 
Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-76-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Mon Feb 10 15:59:00 UTC 2020

  System load:  0.16               Processes:           100
  Usage of /:   51.7% of 24.48GB   Users logged in:     0
  Memory usage: 17%                IP address for ens3: 192.168.122.113
  Swap usage:   0%

 * Multipass 1.0 is out! Get Ubuntu VMs on demand on your Linux, Windows or
   Mac. Supports cloud-init for fast, local, cloud devops simulation.

     https://multipass.run/

0 packages can be updated.
0 updates are security updates.


Last login: Wed Feb  5 18:48:56 2020 from 192.168.122.1
user@eveadm:~$ cd eveadm
user@eveadm:~/eveadm$ git pull
remote: Enumerating objects: 39, done.
remote: Counting objects: 100% (38/38), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 33 (delta 22), reused 18 (delta 10), pack-reused 0
Unpacking objects: 100% (33/33), done.
From https://github.com/itmo-eve/eveadm
   cd01ade..db19e6a  master     -> origin/master
 * [new tag]         0.0.1      -> 0.0.1
Updating cd01ade..db19e6a
Fast-forward
 tests/cfg.json              | 225 ++++++++++++++++++++++++++++++++++++++++++++
 tests/run_local_eve.sh      |  71 ++++++++++++++
 tests/run_local_eve_adam.sh | 114 ++++++++++++++++++++++
 3 files changed, 410 insertions(+)
 create mode 100644 tests/cfg.json
 create mode 100755 tests/run_local_eve.sh
 create mode 100755 tests/run_local_eve_adam.sh
user@eveadm:~/eveadm$ cd tests
user@eveadm:~/eveadm/tests$ sudo ./run_local_eve.sh 
[sudo] password for user: 
========================================
Temp directory for test: /tmp/eveadam-2020-02-10-16-31-08-n5BE18v08x
========================================
Hit:1 http://ru.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://ru.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://ru.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://ru.archive.ubuntu.com/ubuntu bionic-security InRelease
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 package was automatically installed and is no longer required:
  libdumbnet1
Use 'sudo apt autoremove' to remove it.
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).
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).
qemu-system-x86 is already the newest version (1:2.11+dfsg-1ubuntu7.21).
qemu-utils is already the newest version (1:2.11+dfsg-1ubuntu7.21).
docker.io is already the newest version (18.09.7-0ubuntu1~18.04.4).
The following package was automatically installed and is no longer required:
  libdumbnet1
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Cloning into 'eve'...
remote: Enumerating objects: 49501, done.
remote: Total 49501 (delta 0), reused 0 (delta 0), pack-reused 49501
Receiving objects: 100% (49501/49501), 57.52 MiB | 3.63 MiB/s, done.
Resolving deltas: 100% (31454/31454), done.
========================================
Generate keypair for ssh
========================================
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Saving key "/home/user/.ssh/id_rsa" failed: No such file or directory

========================================
Prepare and run EVE
========================================
cp: cannot stat '/home/user/.ssh/id_rsa.pub': No such file or directory
Creating go builder image for user root
eve-build-root docker container is ready to use
mkdir -p /tmp/eveadam-2020-02-10-16-31-08-n5BE18v08x/eve/dist/amd64/installer
cd /tmp/eveadam-2020-02-10-16-31-08-n5BE18v08x/eve/dist/amd64/installer ; _() { C=`docker create $1 fake` ; shift ; docker export $C | tar -xf - "$@" ; docker rm $C ; } ; _ lfedge/eve-grub:6ba90a37e6f4d81a8a0c1d58f8eca99e72e19fdb-amd64 EFI
8af9ef0844d2f39719710e88e36dbba24d3c4abd8006963e47d73101202c85e4
Done building /tmp/eveadam-2020-02-10-16-31-08-n5BE18v08x/eve/build-tools/bin/linuxkit
./tools/makerootfs.sh images/rootfs-xen.yml /tmp/eveadam-2020-02-10-16-31-08-n5BE18v08x/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[0020] targets/riyaz metadata is nearing expiry, you should re-sign the role metadata 
Process init image: linuxkit/containerd:v0.5-amd64
WARN[0024] targets/riyaz metadata is nearing expiry, you should re-sign the role metadata 
Process init image: linuxkit/getty:v0.5-amd64
WARN[0030] 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:19ef56f5014fab1978a6e98b047d4498eabf8295-amd64
Process init image: lfedge/eve-dom0-ztools:ed3012e1703d8370c20645e94f9b57cb1202fac9-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:0eda9ba176998eed3ca10503d2c72f6f9eccc13d-amd64
  Create OCI config for linuxkit/openntpd:v0.5-amd64
WARN[0068] targets/justin metadata is nearing expiry, you should re-sign the role metadata 
WARN[0068] targets/riyaz metadata is nearing expiry, you should re-sign the role metadata 
  Create OCI config for linuxkit/sshd:v0.5-amd64
WARN[0073] targets/riyaz metadata is nearing expiry, you should re-sign the role metadata 
WARN[0073] targets/justin 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:3aea807e87e2a4bdea34a5492bb85023bb0025df-amd64
  Create OCI config for lfedge/eve-guacd:f1f08a0fcadd35320f5d03fe0f0a1a318e8449be-amd64
  Create OCI config for itmoeve/eve-pillar:0fc650101bceb70e49662fa9789901de030d27c7-amd64
  Create OCI config for lfedge/eve-vtpm:11365a20a21fa000e9d48614e9303c8f0e81477f-amd64
  Create OCI config for lfedge/eve-watchdog:9a6307497cccb9a5e073fe71d54047d32f4fd963-amd64
Add files:
  /etc/eve-release
  /containers/services/pillar/lower/opt/zededa/bin/versioninfo
Parallel mksquashfs: Using 2 processors
Creating 4.0 filesystem on /rootfs.img, block size 131072.
[===========================================================|] 24435/24435 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 239807.38 Kbytes (234.19 Mbytes)
	33.05% of uncompressed filesystem size (725616.29 Kbytes)
Inode table size 268245 bytes (261.96 Kbytes)
	25.22% of uncompressed inode table size (1063487 bytes)
Directory table size 287300 bytes (280.57 Kbytes)
	44.99% of uncompressed directory table size (638545 bytes)
Number of duplicate files found 10678
Number of inodes 27971
Number of files 20160
Number of fragments 849
Number of symbolic links  5503
Number of device nodes 4
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 2304
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-10-16-31-08-n5BE18v08x/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
2a077a949779534a67d996352768c1d9b499ea90ca22fd9fd5a48bf13cbea55b
./tools/makeconfig.sh conf /tmp/eveadam-2020-02-10-16-31-08-n5BE18v08x/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 76eaf36b, volume label EVE        .
./tools/makeflash.sh -C 8192 /tmp/eveadam-2020-02-10-16-31-08-n5BE18v08x/eve/dist/amd64/installer /tmp/eveadam-2020-02-10-16-31-08-n5BE18v08x/eve/dist/amd64/live.raw
1+0 records in
1+0 records out
1 byte copied, 0.000836718 s, 1.2 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-10-16-31-08-n5BE18v08x/eve/dist/amd64
qemu-img convert -c -f raw -O qcow2 /tmp/eveadam-2020-02-10-16-31-08-n5BE18v08x/eve/dist/amd64/live.raw /tmp/eveadam-2020-02-10-16-31-08-n5BE18v08x/eve/dist/amd64/live.qcow2
rm /tmp/eveadam-2020-02-10-16-31-08-n5BE18v08x/eve/dist/amd64/live.raw
ln -s live.qcow2 /tmp/eveadam-2020-02-10-16-31-08-n5BE18v08x/eve/dist/amd64/live.img
========================================
EVE pid:
16959
========================================
EVE config successfull
========================================
Please use Onboarding Key
28c69e53-0d50-4fa3-a894-09cab2f7b138
and Serial Number
16462782
in zedcloud.zededa.net
You can connect to node via ssh
sudo ssh -p 49254 127.0.0.1
Do you want to cleanup? (y/n)n


Navigation