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

test_domainmgr.py-ITMO_testbed-testing-20200225

by Elena Korytko last modified Feb 25, 2020 05:32 PM
Testing test_domainmgr.py on ITMO testbed with Ubuntu 18.04. February 25, 2020

 

On ITMO testbed as root:

cd /root/github/itmo-eve/eveadm/
git clone
cd tests
./run_local_eve.sh -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.

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

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

 

On browser:

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

Node settings:

Name - kor02
Title - test mode 02
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 49343

 

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 - kora21
Title - test application 021
Edge Node - select kor02
Edge App - mqtt-eclipse-broker (selected by default)
Network Instance - defaultLocal-kor02 (selected by default)

Pressed "Add".

As a result status of my node kor02 "Online", status of my application kora021 "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 - kora022
Title - test application 022
Edge Node - select kor02
Edge App - ubuntu-xenial-16.04 (selected by default)
Network Instance - defaultLocal-kor02 (selected by default)

Pressed "Add".

As a result status of my application kora022 "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 - kora022
Title - test application 022
Edge Node - select kor02
Edge App - AlpineDocker (selected by default)
Network Instance - defaultLocal-kor02 (selected by default)

Pressed "Add".

As a result status of my application kora022 "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