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

Testing run_local_eve.sh on Ubuntu Desktop 18.04. February 10, 2020

by Inna Sosunova last modified Feb 11, 2020 01:17 AM
Testing run_local_eve.sh on Ubuntu Desktop 18.04. February 10, 2020
Host system: Ubuntu 18.04
Virtualization system: KVM/libvirt (4.0.0-1ubunt)/virt-manager (1.5.1-0ubu)

Created a KVM virtual machine:

Ubuntu 18.04 distribution (ubuntu-18.04.3-live-server-amd64.iso image)
Memory: 4096 Mb
Disk size: 25 GB
Installation Language: English (US)
Installation option: Normal installation
User: user



Logged in from the host machine to the test virtual machine via ssh by user "user":

inna@Inna-PC:~$ ssh user@192.168.122.113

Moved to the eveadm directory

user@eveadm:~$ cd eveadm

Performed on a virtual machine git pull:

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

Moved to the tests directory

user@eveadm:~/eveadm$ cd tests

Run run_local_eve.sh

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

To the question "Do you want to cleanup? " pressed "n"

Do you want to cleanup? (y/n)n

Full test log

In browser, went to a page https://zedcontrol.zededa.net/edge-nodes/add

Filled a page with information about the created EVE as indicated in the screenshot. "onboarding key" and "serial number" are taken from the log.

information about the created EVE

 

The results are shown in the screenshot below.

results

 

 

Navigation