You are here: Home / Projects / EVE / eveadm / tests / Testing test_domainmgr.py on Ubuntu Desktop 18.04. February 24, 2020 / test_domainmgr.py-testing-20200224

test_domainmgr.py-testing-20200224

by Elena Korytko last modified Feb 25, 2020 05:52 PM
Testing test_domainmgr.py on Ubuntu Desktop 18.04. February 24, 2020

Host machine:

Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz
MemTotal:        3852592 kB
Ubuntu Desktop 18.04

At host machine:

cd eveadm
git pull
cd tests

Run run_local_eve.sh with 2500 Mb:

sudo ./run_local_eve.sh -m 2500

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):

user@user-V5-171:~/eveadm/tests$ sudo ssh -p 49302 localhost
[sudo] password for user:
The authenticity of host '[localhost]:49302 ([127.0.0.1]:49302)' can't be established.
ECDSA key fingerprint is SHA256:vdvy+jbF4Ff3JGn70ZEQlrK16YJkJxH1hN3JxhePENI.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:49302' (ECDSA) to the list of known hosts.
(ns: pillar) linuxkit-525400123456:/#

 

Run test_domainmgr.py:

user@user-V5-171:~/eveadm/tests$ sudo ./test_domainmgr.py 49302

 

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

Pressed "Add".

As a result status of my node kor02 "Online", status of my application kora011 "Error".

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

mqtt-eclipse-broker_kora11-create.jpg

Create application mqtt-eclipse-broker

mqtt-eclipse-broker_kora11-stop.jpg

Stop application mqtt-eclipse-broker

mqtt-eclipse-broker_kora11-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 - kora011
Title - test application 011
Edge Node - select kor01
Edge App - ubuntu-xenial-16.04 (selected by default)
Network Instance - defaultLocal-kor01 (selected by default)

Pressed "Add".

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

Navigation