You are here: Home / Projects / EVE / eveadm / tests / Testing test_domainmgr.py on ITMO testbed with Ubuntu 18.04. Mem 2500. February 25, 2020 / test_domainmgr.py-ITMO_testbed-mem2500-testing-20200225

test_domainmgr.py-ITMO_testbed-mem2500-testing-20200225

by Elena Korytko last modified Feb 25, 2020 10:52 PM
Testing test_domainmgr.py on ITMO testbed with Ubuntu 18.04. Mem 2500. February 25, 2020

 

On ITMO testbed as root:

cd /root/github/itmo-eve/eveadm/
git clone
cd tests
./run_local_eve.sh -m 2500 -u https://github.com/lf-edge/eve -t 4.9.0

After the question

Do you want to cleanup? (y/n)

I didn’t press any keys. Log.

Go to eve with ssh (comand from result execute run_local_eve.sh):

root@eve:~/github/itmo-eve/eveadm/tests# ssh -p 49319 localhost
The authenticity of host '[localhost]:49319 ([127.0.0.1]:49319)' can't be established.
ECDSA key fingerprint is SHA256:YlZC0fFzN4IpeXSMMISlG1vicRwFe0k2/sFulTA5jUk.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:49319' (ECDSA) to the list of known hosts. 

On browser:

https://zedcontrol.zededa.net/edge-nodes/add

Node settings:

Name - kor03
Title - test mode 03
Project - default-project
Identify Type - Onboarding Key
Brand - ZedVirtualDevice
Onboarding Key - insert key from result execute run_local_eve.sh
Model - ZedVirtual-4G
Serial Number - insert number from result execute run_local_eve.sh
Network - defaultIPv4-net (for both interfaces)

Selected "Activate Edge Node" on bottom left of the screen.

Pressed "Add".

 

Run test_domainmgr.py:

root@eve:~/eveadm/tests# ./test_domainmgr.py 49319

 

Creating mqtt-eclipse-broker app

On browser:

https://zedcontrol.zededa.net/edge-apps/store/b4c96209-fdf8-40dc-867f-cf67639cd8b9/details/info

Pressed "Deploy Edge App".

Application settings:

Name - kora031
Title - test application 031
Edge Node - select kor03
Edge App - mqtt-eclipse-broker (selected by default)
Network Instance - defaultLocal-kor03 (selected by default)

Pressed "Add".

As a result status of my node kor03 "Online", status of my application kora031 "Error".

Log test_domainmgr.py with actions marks Create, Stop, Start, Delete.

mqtt-eclipse-broker_create.jpg

Create application mqtt-eclipse-broker

mqtt-eclipse-broker_stop.jpg

Stop application mqtt-eclipse-broker

mqtt-eclipse-broker_start.jpg

Start application mqtt-eclipse-broker

 

Creating ubuntu-xenial-16.04 app


On browser:

https://zedcontrol.zededa.net/edge-apps/store/list

Selected ubuntu-xenial-16.04.

Pressed "Deploy Edge App".

Application settings:

Name - kora031
Title - test application 031
Edge Node - select kor03
Edge App - ubuntu-xenial-16.04 (selected by default)
Network Instance - defaultLocal-kor03 (selected by default)

Pressed "Add".

As a result status of my application kora031 "Online".

Log test_domainmgr.py with actions marks Create, Stop, Start, Delete.

ubuntu-xenial-16.04-create.jpg

Create application ubuntu-xenial-16.04

ubuntu-xenial-16.04-stop.jpg

Stop application ubuntu-xenial-16.04

ubuntu-xenial-16.04-start.jpg

Start application ubuntu-xenial-16.04


Creating AlpineDocker app

On browser:

https://zedcontrol.zededa.net/edge-apps/store/list

Selected "alpinedocker".

Pressed "Deploy Edge App".

Application settings:

Name - kora031
Title - test application 031
Edge Node - select kor03
Edge App - AlpineDocker (selected by default)
Network Instance - defaultLocal-kor03 (selected by default)

Pressed "Add".

As a result status of my application kora031 "Online".

Log test_domainmgr.py with actions marks Create, Stop, Start, Delete.

alpinedocker-create.jpg

Create application AlpineDocker

alpinedocker-stop.jpg

Stop application AlpineDocker

alpinedocker-start.jpg

Start application AlpineDocker

Navigation