configName: default configFile: /home/insei/.eden/contexts/default.yml time="2022-01-20T23:17:41+03:00" level=debug msg="DIR: tests/workflow" time="2022-01-20T23:17:41+03:00" level=debug msg="Will use config from /home/insei/.eden/contexts/default.yml" time="2022-01-20T23:17:41+03:00" level=debug msg="Try to add config from /home/insei/eden/tests/workflow/eden-config.yml" time="2022-01-20T23:17:41+03:00" level=debug msg="Merged config with /home/insei/eden/tests/workflow/eden-config.yml" time="2022-01-20T23:17:41+03:00" level=debug msg="testScenario:eden.workflow.tests.txt" time="2022-01-20T23:17:41+03:00" level=debug msg="Will use config from /home/insei/.eden/contexts/default.yml" time="2022-01-20T23:17:41+03:00" level=debug msg="Try to add config from /home/insei/eden/tests/workflow/eden-config.yml" time="2022-01-20T23:17:41+03:00" level=debug msg="Merged config with /home/insei/eden/tests/workflow/eden-config.yml" time="2022-01-20T23:17:41+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:17:41+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:17:41+03:00" level=debug msg="Test: /bin/echo Eden setup (01/37)" time="2022-01-20T23:17:41+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Eden setup (01/37) time="2022-01-20T23:17:41+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:17:41+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:17:41+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -test.run TestEdenScripts/eden_setup" time="2022-01-20T23:17:41+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/eden_setup === PAUSE TestEdenScripts/eden_setup === CONT TestEdenScripts/eden_setup > eden -t 10m setup edenProg: /home/insei/eden/dist/bin/eden timewait: 10m0s > stdout 'GenerateEveCerts done' > stdout 'GenerateEVEConfig done' > stdout 'download EVE done' testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > eden -t 10m setup [stdout] time="2022-01-20T23:17:42+03:00" level=info msg="Config file /home/insei/.eden/contexts/default.yml is the same as /home/insei/eden/dist/default-config_saved.yml\n" time="2022-01-20T23:17:42+03:00" level=info msg="GenerateEveCerts done" time="2022-01-20T23:17:42+03:00" level=info msg="Certs already exists in certs dir: /home/insei/eden/dist/default-certs" time="2022-01-20T23:17:42+03:00" level=info msg="GenerateEVEConfig done" time="2022-01-20T23:17:51+03:00" level=info msg="download EVE done: lfedge/eve:7.4.0-xen-arm64" time="2022-01-20T23:17:51+03:00" level=info msg="EVE image ready: /home/insei/eden/dist/default-images/eve/live.img" Directory /no-home/.eden/ access error: stat /no-home/.eden/: no such file or directory > stdout 'GenerateEveCerts done' > stdout 'GenerateEVEConfig done' > stdout 'download EVE done' PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/eden_setup (9.64s) PASS time="2022-01-20T23:17:51+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:17:51+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:17:51+03:00" level=debug msg="Test: /bin/echo Eden start (02/37)" time="2022-01-20T23:17:51+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Eden start (02/37) time="2022-01-20T23:17:51+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:17:51+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:17:51+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -test.run TestEdenScripts/eden_start" time="2022-01-20T23:17:51+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/eden_start === PAUSE TestEdenScripts/eden_start === CONT TestEdenScripts/eden_start > eden -t 2m start edenProg: /home/insei/eden/dist/bin/eden timewait: 2m0s > eden status edenProg: /home/insei/eden/dist/bin/eden timewait: 0s > stdout 'Adam.* status:.* running' > stdout 'Redis.* status:.* running' > stdout 'EServer.* status:.* running' > ! stderr . testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > eden -t 2m start [stdout] time="2022-01-20T23:17:51+03:00" level=info msg="Redis is running and accessible on port 6379" time="2022-01-20T23:17:52+03:00" level=info msg="started container: 9a518a8c58d65a8775c549a1d92141832c7bb05899e0ab95820f912cb9067648" time="2022-01-20T23:17:52+03:00" level=info msg="Adam is running and accesible on port 3333" time="2022-01-20T23:17:52+03:00" level=info msg="registry is running and accesible on port 5050" time="2022-01-20T23:17:52+03:00" level=info msg="started container: 30de1abf14079ed8859d4260990035a2c1e73ee9c94c1da56cd98204ef3e1355" time="2022-01-20T23:17:52+03:00" level=info msg="Eserver is running and accesible on port 8888" > eden status [stdout] ✔ Adam status: container with name eden_adam is running Adam is expected at https://192.168.66.189:3333 For local Adam you can run 'docker logs eden_adam' to see logs ✔ Registry status: container with name eden_registry is running Registry is expected at https://10.10.88.5:5050 For local registry you can run 'docker logs eden_registry' to see logs ✔ Redis status: container with name eden_redis is running Redis is expected at 192.168.66.189:6379 For local Redis you can run 'docker logs eden_redis' to see logs ✔ EServer process status: container with name eden_eserver is running EServer is expected at http://192.168.66.189:8888 from EVE For local EServer you can run 'docker logs eden_eserver' to see logs --- context: default --- EVE state: registered ✔ EVE REMOTE IPs: 10.10.88.18; fe80::9a8:b614:f631:dbf3 Last info received time: 2022-01-20 23:17:41 +0300 MSK ✔ EVE memory: 0 B/0 B ✔ EVE Request IP: 10.10.88.18 ------ > stdout 'Adam.* status:.* running' > stdout 'Redis.* status:.* running' > stdout 'EServer.* status:.* running' > ! stderr . PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/eden_start (1.06s) PASS time="2022-01-20T23:17:52+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:17:52+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:17:52+03:00" level=debug msg="Test: /bin/echo Eden onboard (03/37)" time="2022-01-20T23:17:52+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Eden onboard (03/37) time="2022-01-20T23:17:52+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:17:52+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:17:52+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -test.run TestEdenScripts/eden_onboard" time="2022-01-20T23:17:52+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/eden_onboard === PAUSE TestEdenScripts/eden_onboard === CONT TestEdenScripts/eden_onboard > eden eve onboard edenProg: /home/insei/eden/dist/bin/eden timewait: 0s > stdout 'onboarded' testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= # eden start # Onboarding. (0.029s) > eden eve onboard [stdout] time="2022-01-20T23:17:52+03:00" level=info msg=onboarded time="2022-01-20T23:17:52+03:00" level=info msg="device UUID: f768cb62-e127-4c43-804a-1df96eb251b3" > stdout 'onboarded' PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/eden_onboard (0.03s) PASS time="2022-01-20T23:17:52+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:17:52+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:17:52+03:00" level=debug msg="Test: /bin/echo Eden Log test (05/37)" time="2022-01-20T23:17:52+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Eden Log test (05/37) time="2022-01-20T23:17:52+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:17:52+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:17:52+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -testdata ../lim/testdata/ -test.run TestEdenScripts/log_test" time="2022-01-20T23:17:52+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/log_test === PAUSE TestEdenScripts/log_test === CONT TestEdenScripts/log_test > exec -t 5m bash ssh.sh & exec timewait: 5m0s > test eden.lim.test -test.v -timewait 10m -test.run TestLog -out content 'content:.*Disconnected.*' testProg: /home/insei/eden/dist/bin/eden.lim.test timewait: 0s > stdout 'Disconnected from' testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= # ssh into EVE to force log creation (0.000s) > exec -t 5m bash ssh.sh & # Trying to find messages about ssh in log (53.344s) > test eden.lim.test -test.v -timewait 10m -test.run TestLog -out content 'content:.*Disconnected.*' testProg: /home/insei/eden/dist/bin/eden.lim.test [stdout] time="2022-01-20T23:17:52+03:00" level=fatal msg="ssh error: exit status 255" time="2022-01-20T23:18:02+03:00" level=fatal msg="ssh error: exit status 255" time="2022-01-20T23:18:12+03:00" level=fatal msg="ssh error: exit status 255" [stderr] ssh: connect to host 10.10.88.18 port 22: Connection refused ssh: connect to host 10.10.88.18 port 22: Connection refused ssh: connect to host 10.10.88.18 port 22: Connection refused @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the ECDSA key sent by the remote host is SHA256:2F+JqmU11mWAGaK89uSPVPaN/BNxrJ7cxy+8L+GfOYM. Please contact your system administrator. Add correct host key in /home/insei/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /home/insei/.ssh/known_hosts:39 remove with: ssh-keygen -f "/home/insei/.ssh/known_hosts" -R "10.10.88.18" Password authentication is disabled to avoid man-in-the-middle attacks. Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. [stdout] Log/Info/Metric Test === RUN TestLog lim_test.go:161: time: 2022-01-20T23:17:52.829706881+03:00 out: Wait for log of f768cb62-e127-4c43-804a-1df96eb251b3 number=1 timewait=10m0s lim_test.go:175: time: 2022-01-20T23:18:46.094651494+03:00 out: LOG 1(1) from f768cb62-e127-4c43-804a-1df96eb251b3: Disconnected from user root 10.10.88.5 port 54380 testProc.go:84: time: 2022-01-20T23:18:46.094684256+03:00 out: projects.ProcLogFunc done with return: Received 1 logs from f768cb62-e127-4c43-804a-1df96eb251b3 testContext.go:244: done for device f768cb62-e127-4c43-804a-1df96eb251b3 --- PASS: TestLog (53.27s) PASS [stderr] time="2022-01-20T23:18:46+03:00" level=info msg="time: 2022-01-20T23:18:46.094684256+03:00 out: projects.ProcLogFunc done with return: Received 1 logs from f768cb62-e127-4c43-804a-1df96eb251b3" > stdout 'Disconnected from' # Test's config. file (0.000s) [background] bash ssh.sh: exit status 0 [stdout] time="2022-01-20T23:17:52+03:00" level=fatal msg="ssh error: exit status 255" time="2022-01-20T23:18:02+03:00" level=fatal msg="ssh error: exit status 255" time="2022-01-20T23:18:12+03:00" level=fatal msg="ssh error: exit status 255" [stderr] ssh: connect to host 10.10.88.18 port 22: Connection refused ssh: connect to host 10.10.88.18 port 22: Connection refused ssh: connect to host 10.10.88.18 port 22: Connection refused @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the ECDSA key sent by the remote host is SHA256:2F+JqmU11mWAGaK89uSPVPaN/BNxrJ7cxy+8L+GfOYM. Please contact your system administrator. Add correct host key in /home/insei/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /home/insei/.ssh/known_hosts:39 remove with: ssh-keygen -f "/home/insei/.ssh/known_hosts" -R "10.10.88.18" Password authentication is disabled to avoid man-in-the-middle attacks. Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/log_test (53.35s) PASS time="2022-01-20T23:18:46+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:18:46+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:18:46+03:00" level=debug msg="Test: /bin/echo Eden SSH test (06/37)" time="2022-01-20T23:18:46+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Eden SSH test (06/37) time="2022-01-20T23:18:46+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:18:46+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:18:46+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -test.run TestEdenScripts/ssh" time="2022-01-20T23:18:46+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/ssh === PAUSE TestEdenScripts/ssh === CONT TestEdenScripts/ssh > [!exec:bash] stop > [!exec:grep] stop > [!exec:sed] stop > [!exec:ssh] stop > eden config get --key eve.hostfwd edenProg: /home/insei/eden/dist/bin/eden timewait: 0s > cp stdout eve.hostfwd > exec -t 2m bash ssh.sh exec timewait: 2m0s > cp stdout issue > grep 'Edge Virtualization Engine' issue testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > [!exec:bash] stop > [!exec:grep] stop > [!exec:sed] stop > [!exec:ssh] stop #eden config add default #eden setup #eden start #eden eve onboard # Get redirected SSH port (0.012s) > eden config get --key eve.hostfwd [stdout] map[] > cp stdout eve.hostfwd # SSH login to EVE and getting issue (0.223s) > exec -t 2m bash ssh.sh [stdout] ................ .............. ................ ................ ............ ................ .... ......... .... ................ ....... ................ ................ ..... ................ ... . .... ................ ................ ............... ................ Edge Virtualization Engine [stderr] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the ECDSA key sent by the remote host is SHA256:2F+JqmU11mWAGaK89uSPVPaN/BNxrJ7cxy+8L+GfOYM. Please contact your system administrator. Add correct host key in /home/insei/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /home/insei/.ssh/known_hosts:39 remove with: ssh-keygen -f "/home/insei/.ssh/known_hosts" -R "10.10.88.18" Password authentication is disabled to avoid man-in-the-middle attacks. Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. > cp stdout issue # issue comparison (0.000s) > grep 'Edge Virtualization Engine' issue # Test's config. file (0.000s) PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/ssh (0.24s) PASS time="2022-01-20T23:18:46+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:18:46+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:18:46+03:00" level=debug msg="Test: /bin/echo Eden Metric test (08/37)" time="2022-01-20T23:18:46+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Eden Metric test (08/37) time="2022-01-20T23:18:46+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:18:46+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:18:46+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -testdata ../lim/testdata/ -test.run TestEdenScripts/metric_test" time="2022-01-20T23:18:46+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/metric_test === PAUSE TestEdenScripts/metric_test === CONT TestEdenScripts/metric_test > test eden.lim.test -test.v -timewait 10m -test.run TestMetric -out MetricContent.dm.network.iName 'MetricContent.dm.network.iName:.*eth[01].*' testProg: /home/insei/eden/dist/bin/eden.lim.test timewait: 0s > stdout 'eth[01]' > ! test eden.lim.test -test.v -timewait 1m -test.run TestMetric -out MetricContent.dm.network.iName 'MetricContent.dm.network.iName:.*eth[^01].*' testProg: /home/insei/eden/dist/bin/eden.lim.test timewait: 0s > ! stdout 'eth[^01]' testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= #eden config add default #eden setup #eden start #eden eve onboard # Trying to find eth0 or eth1 in dm.network.iName. (10.078s) > test eden.lim.test -test.v -timewait 10m -test.run TestMetric -out MetricContent.dm.network.iName 'MetricContent.dm.network.iName:.*eth[01].*' testProg: /home/insei/eden/dist/bin/eden.lim.test [stdout] Log/Info/Metric Test === RUN TestMetrics lim_test.go:313: time: 2022-01-20T23:18:46.375470022+03:00 out: Wait for metric of f768cb62-e127-4c43-804a-1df96eb251b3 number=1 timewait=10m0s lim_test.go:328: time: 2022-01-20T23:18:56.421264318+03:00 out: METRICS 1(1) from f768cb62-e127-4c43-804a-1df96eb251b3: [eth0] testProc.go:84: time: 2022-01-20T23:18:56.42130254+03:00 out: projects.ProcMetricFunc done with return: Received 1 metrics from f768cb62-e127-4c43-804a-1df96eb251b3 testContext.go:244: done for device f768cb62-e127-4c43-804a-1df96eb251b3 --- PASS: TestMetrics (10.05s) PASS [stderr] time="2022-01-20T23:18:56+03:00" level=info msg="time: 2022-01-20T23:18:56.42130254+03:00 out: projects.ProcMetricFunc done with return: Received 1 metrics from f768cb62-e127-4c43-804a-1df96eb251b3" > stdout 'eth[01]' # Checking dm.network.iName for interfaces other than eth0 or eth1. (60.033s) > ! test eden.lim.test -test.v -timewait 1m -test.run TestMetric -out MetricContent.dm.network.iName 'MetricContent.dm.network.iName:.*eth[^01].*' testProg: /home/insei/eden/dist/bin/eden.lim.test [stdout] Log/Info/Metric Test === RUN TestMetrics lim_test.go:313: time: 2022-01-20T23:18:56.452485939+03:00 out: Wait for metric of f768cb62-e127-4c43-804a-1df96eb251b3 number=1 timewait=1m0s testContext.go:275: WaitForProc terminated by timeout 1m0s testContext.go:258: WaitForProcWithErrorCallback terminated by timeout 1m0s --- FAIL: TestMetrics (60.00s) FAIL [exit status 1] > ! stdout 'eth[^01]' # Test's config. file (0.000s) PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/metric_test (70.11s) PASS time="2022-01-20T23:19:56+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:19:56+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:19:56+03:00" level=debug msg="Test: /bin/echo Escript args test (09/37)" time="2022-01-20T23:19:56+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Escript args test (09/37) time="2022-01-20T23:19:56+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:19:56+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:19:56+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -testdata ../escript/testdata/ -test.run TestEdenScripts/arg -args=test1=123,test2=456" time="2022-01-20T23:19:56+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/arg === PAUSE TestEdenScripts/arg === CONT TestEdenScripts/arg > arg test1 test1 > arg test2 test2 > exec bash env_process.sh exec timewait: 0s > stdout 123 > stdout 456 testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > arg test1 test1 > arg test2 test2 > exec bash env_process.sh [stdout] test1:123 test2:456 > stdout 123 > stdout 456 PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/arg (0.00s) PASS time="2022-01-20T23:19:56+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:19:56+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:19:56+03:00" level=debug msg="Test: /bin/echo Escript template test (10/37)" time="2022-01-20T23:19:56+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Escript template test (10/37) time="2022-01-20T23:19:56+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:19:56+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:19:56+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -testdata ../escript/testdata/ -test.run TestEdenScripts/template" time="2022-01-20T23:19:56+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/template === PAUSE TestEdenScripts/template === CONT TestEdenScripts/template > [!exec:cat] stop > [!exec:bash] stop > exec bash template_test_scenario.sh exec timewait: 0s > exec cat template.text exec timewait: 0s > cmp stdout out testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > [!exec:cat] stop > [!exec:bash] stop # Template test (0.030s) > exec bash template_test_scenario.sh > exec cat template.text [stdout] eden.root = /home/insei/eden/dist adam.ca = default-certs/root-certificate.pem -> /home/insei/eden/dist/default-certs/root-certificate.pem adam.ca = default-certs/root-certificate.pem -> /home/insei/eden/dist/default-certs/root-certificate.pem > cmp stdout out PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/template (0.03s) PASS time="2022-01-20T23:19:56+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:19:56+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:19:56+03:00" level=debug msg="Test: /bin/echo Escript message test (11/37)" time="2022-01-20T23:19:56+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Escript message test (11/37) time="2022-01-20T23:19:56+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:19:56+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:19:56+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -testdata ../escript/testdata/ -test.run TestEdenScripts/message" time="2022-01-20T23:19:56+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/message === PAUSE TestEdenScripts/message === CONT TestEdenScripts/message > message 'Hello world!' testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > message 'Hello world!' message: Hello world! PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/message (0.00s) PASS time="2022-01-20T23:19:56+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:19:56+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:19:56+03:00" level=debug msg="Test: /bin/echo Escript nested scripts test (12/37)" time="2022-01-20T23:19:56+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Escript nested scripts test (12/37) time="2022-01-20T23:19:56+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:19:56+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:19:56+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -testdata ../escript/testdata/ -test.run TestEdenScripts/nested_scripts" time="2022-01-20T23:19:56+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/nested_scripts === PAUSE TestEdenScripts/nested_scripts === CONT TestEdenScripts/nested_scripts > [!exec:ssh] bash > [!exec:ssh] sed > test eden.escript.test -test.run TestEdenScripts/message -test.v -testdata /home/insei/eden/dist/tests/escript/testdata/ testProg: /home/insei/eden/dist/bin/eden.escript.test timewait: 0s > cp stdout out > exec bash untime.sh out1 exec timewait: 0s > mkdir testdata > cp message.txt testdata/ > test eden.escript.test -test.run TestEdenScripts/message -test.v testProg: /home/insei/eden/dist/bin/eden.escript.test timewait: 0s > cp stdout out > exec bash untime.sh out2 exec timewait: 0s > cmp out1 out2 testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > [!exec:ssh] bash > [!exec:ssh] sed > test eden.escript.test -test.run TestEdenScripts/message -test.v -testdata /home/insei/eden/dist/tests/escript/testdata/ testProg: /home/insei/eden/dist/bin/eden.escript.test [stdout] === RUN TestEdenScripts === RUN TestEdenScripts/message === PAUSE TestEdenScripts/message === CONT TestEdenScripts/message > message 'Hello world!' testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > message 'Hello world!' message: Hello world! PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/message (0.00s) PASS [stderr] time="2022-01-20T23:19:56+03:00" level=info msg="testData directory: /home/insei/eden/dist/tests/escript/testdata/" > cp stdout out > exec bash untime.sh out1 > mkdir testdata > cp message.txt testdata/ > test eden.escript.test -test.run TestEdenScripts/message -test.v testProg: /home/insei/eden/dist/bin/eden.escript.test [stdout] === RUN TestEdenScripts === RUN TestEdenScripts/message === PAUSE TestEdenScripts/message === CONT TestEdenScripts/message > message 'Hello world!' testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > message 'Hello world!' message: Hello world! PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/message (0.00s) PASS [stderr] time="2022-01-20T23:19:56+03:00" level=info msg="testData directory: testdata" > cp stdout out > exec bash untime.sh out2 > cmp out1 out2 PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/nested_scripts (0.02s) PASS time="2022-01-20T23:19:56+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:19:56+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:19:56+03:00" level=debug msg="Test: /bin/echo Escript time test (13/37)" time="2022-01-20T23:19:56+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Escript time test (13/37) time="2022-01-20T23:19:56+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:19:56+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:19:56+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -testdata ../escript/testdata/ -test.run TestEdenScripts/time" time="2022-01-20T23:19:56+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/time === PAUSE TestEdenScripts/time === CONT TestEdenScripts/time > exec sleep 5s exec timewait: 0s > ! exec -t 5s sleep 10s exec timewait: 5s > exec -t 10s sleep 5s exec timewait: 10s > exec sleep 15s exec timewait: 0s testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > exec sleep 5s > ! exec -t 5s sleep 10s [context deadline exceeded] > exec -t 10s sleep 5s > exec sleep 15s PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/time (30.01s) PASS time="2022-01-20T23:20:26+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:20:26+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:20:26+03:00" level=debug msg="Test: /bin/echo Escript source test (14/37)" time="2022-01-20T23:20:26+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Escript source test (14/37) time="2022-01-20T23:20:26+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:20:26+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:20:26+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -testdata ../escript/testdata/ -test.run TestEdenScripts/source" time="2022-01-20T23:20:26+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/nested_source === PAUSE TestEdenScripts/nested_source === RUN TestEdenScripts/source === PAUSE TestEdenScripts/source === CONT TestEdenScripts/nested_source === CONT TestEdenScripts/source > message '' === CONT TestEdenScripts/nested_source testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > message '' message: PASS > [!exec:uname] stop > [!exec:bash] stop > env time > test eden.escript.test -test.run TestEdenScripts/nested_source -test.v -testdata /home/insei/eden/dist/tests/escript/testdata/ testProg: /home/insei/eden/dist/bin/eden.escript.test timewait: 0s > ! stdout '05 Aug 2020 12:23:27' > source .env > env time > test eden.escript.test -test.run TestEdenScripts/nested_source -test.v -testdata /home/insei/eden/dist/tests/escript/testdata/ testProg: /home/insei/eden/dist/bin/eden.escript.test timewait: 0s > stdout '05 Aug 2020 12:23:27' > exec bash set_from_bash.sh exec timewait: 0s > source .env > env time > test eden.escript.test -test.run TestEdenScripts/nested_source -test.v -testdata /home/insei/eden/dist/tests/escript/testdata/ testProg: /home/insei/eden/dist/bin/eden.escript.test timewait: 0s > ! stdout '05 Aug 2020 12:23:27' === CONT TestEdenScripts/source testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > [!exec:uname] stop > [!exec:bash] stop # Show current variable value (0.006s) > env time time= > test eden.escript.test -test.run TestEdenScripts/nested_source -test.v -testdata /home/insei/eden/dist/tests/escript/testdata/ testProg: /home/insei/eden/dist/bin/eden.escript.test [stdout] === RUN TestEdenScripts === RUN TestEdenScripts/nested_source === PAUSE TestEdenScripts/nested_source === CONT TestEdenScripts/nested_source > message '' testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > message '' message: PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/nested_source (0.00s) PASS [stderr] time="2022-01-20T23:20:26+03:00" level=info msg="testData directory: /home/insei/eden/dist/tests/escript/testdata/" > ! stdout '05 Aug 2020 12:23:27' # Source .env file defined below (0.006s) > source .env > env time time=Wed, 05 Aug 2020 12:23:27 +0300 > test eden.escript.test -test.run TestEdenScripts/nested_source -test.v -testdata /home/insei/eden/dist/tests/escript/testdata/ testProg: /home/insei/eden/dist/bin/eden.escript.test [stdout] === RUN TestEdenScripts === RUN TestEdenScripts/nested_source === PAUSE TestEdenScripts/nested_source === CONT TestEdenScripts/nested_source > message 'Wed, 05 Aug 2020 12:23:27 +0300' testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > message 'Wed, 05 Aug 2020 12:23:27 +0300' message: Wed, 05 Aug 2020 12:23:27 +0300 PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/nested_source (0.00s) PASS [stderr] time="2022-01-20T23:20:26+03:00" level=info msg="testData directory: /home/insei/eden/dist/tests/escript/testdata/" > stdout '05 Aug 2020 12:23:27' # Override .env by bash script (0.002s) > exec bash set_from_bash.sh # Source .env modified by bash (0.006s) > source .env > env time time=Thu, 20 Jan 2022 23:20:26 +0300 > test eden.escript.test -test.run TestEdenScripts/nested_source -test.v -testdata /home/insei/eden/dist/tests/escript/testdata/ testProg: /home/insei/eden/dist/bin/eden.escript.test [stdout] === RUN TestEdenScripts === RUN TestEdenScripts/nested_source === PAUSE TestEdenScripts/nested_source === CONT TestEdenScripts/nested_source > message 'Thu, 20 Jan 2022 23:20:26 +0300' testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > message 'Thu, 20 Jan 2022 23:20:26 +0300' message: Thu, 20 Jan 2022 23:20:26 +0300 PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/nested_source (0.00s) PASS [stderr] time="2022-01-20T23:20:26+03:00" level=info msg="testData directory: /home/insei/eden/dist/tests/escript/testdata/" > ! stdout '05 Aug 2020 12:23:27' PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/nested_source (0.00s) --- PASS: TestEdenScripts/source (0.02s) PASS time="2022-01-20T23:20:26+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:20:26+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:20:26+03:00" level=debug msg="Test: /bin/echo Escript fail scenario test (15/37)" time="2022-01-20T23:20:26+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Escript fail scenario test (15/37) time="2022-01-20T23:20:26+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:20:26+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:20:26+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -testdata ../escript/testdata/ -test.run TestEdenScripts/fail_scenario" time="2022-01-20T23:20:26+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/fail_scenario === PAUSE TestEdenScripts/fail_scenario === CONT TestEdenScripts/fail_scenario > ! test eden.escript.test -test.run TestEdenScripts/fail_test -test.v -testdata /home/insei/eden/dist/tests/escript/testdata/ testProg: /home/insei/eden/dist/bin/eden.escript.test timewait: 0s > stdout 'Default test fail scenario' > ! test eden.escript.test -test.run TestEdenScripts/fail_test -test.v -testdata /home/insei/eden/dist/tests/escript/testdata/ -fail_scenario custom.fail.scenario.txt testProg: /home/insei/eden/dist/bin/eden.escript.test timewait: 0s > stdout 'Custom test fail scenario' testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > ! test eden.escript.test -test.run TestEdenScripts/fail_test -test.v -testdata /home/insei/eden/dist/tests/escript/testdata/ testProg: /home/insei/eden/dist/bin/eden.escript.test [stdout] === RUN TestEdenScripts === RUN TestEdenScripts/fail_test === PAUSE TestEdenScripts/fail_test === CONT TestEdenScripts/fail_test > [!exec:false] stop > exec false exec timewait: 0s testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > [!exec:false] stop > exec false [exit status 1] FAIL: /home/insei/eden/dist/tests/escript/testdata/fail_test.txt:3: command failure --- FAIL: TestEdenScripts (0.00s) --- FAIL: TestEdenScripts/fail_test (0.01s) FAIL Default test fail scenario eden status ✔ Adam status: container with name eden_adam is running Adam is expected at https://192.168.66.189:3333 For local Adam you can run 'docker logs eden_adam' to see logs ✔ Registry status: container with name eden_registry is running Registry is expected at https://10.10.88.5:5050 For local registry you can run 'docker logs eden_registry' to see logs ✔ Redis status: container with name eden_redis is running Redis is expected at 192.168.66.189:6379 For local Redis you can run 'docker logs eden_redis' to see logs ✔ EServer process status: container with name eden_eserver is running EServer is expected at http://192.168.66.189:8888 from EVE For local EServer you can run 'docker logs eden_eserver' to see logs --- context: default --- EVE state: registered ✔ EVE REMOTE IPs: 10.10.88.18; fe80::9a8:b614:f631:dbf3 Last info received time: 2022-01-20 23:18:57 +0300 MSK ✔ EVE memory: 879 MB/2.9 GB ✔ EVE Request IP: 10.10.88.18 ------ eden pod ps NAME IMAGE UUID INTERNAL EXTERNAL MEMORY STATE(ADAM) LAST_STATE(EVE) eden network ls NAME UUID TYPE CIDR STATS STATE(ADAM) LAST_STATE(EVE) eden volume ls NAME UUID REF IMAGE TYPE SIZE MAX_SIZE MOUNT STATE(ADAM) LAST_STATE(EVE) check fatal_stacks in logs [stderr] time="2022-01-20T23:20:26+03:00" level=info msg="testData directory: /home/insei/eden/dist/tests/escript/testdata/" [exit status 1] > stdout 'Default test fail scenario' > ! test eden.escript.test -test.run TestEdenScripts/fail_test -test.v -testdata /home/insei/eden/dist/tests/escript/testdata/ -fail_scenario custom.fail.scenario.txt testProg: /home/insei/eden/dist/bin/eden.escript.test [stdout] === RUN TestEdenScripts === RUN TestEdenScripts/fail_test === PAUSE TestEdenScripts/fail_test === CONT TestEdenScripts/fail_test > [!exec:false] stop > exec false exec timewait: 0s testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > [!exec:false] stop > exec false [exit status 1] FAIL: /home/insei/eden/dist/tests/escript/testdata/fail_test.txt:3: command failure --- FAIL: TestEdenScripts (0.00s) --- FAIL: TestEdenScripts/fail_test (0.00s) FAIL Custom test fail scenario [stderr] time="2022-01-20T23:20:36+03:00" level=info msg="testData directory: /home/insei/eden/dist/tests/escript/testdata/" [exit status 1] > stdout 'Custom test fail scenario' PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/fail_scenario (10.38s) PASS time="2022-01-20T23:20:36+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:20:36+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:20:36+03:00" level=debug msg="Test: /bin/echo Eden basic network test (16/37)" time="2022-01-20T23:20:36+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Eden basic network test (16/37) time="2022-01-20T23:20:36+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:20:36+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:20:36+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -testdata ../network/testdata/ -test.run TestEdenScripts/network_test" time="2022-01-20T23:20:36+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/network_test === PAUSE TestEdenScripts/network_test === CONT TestEdenScripts/network_test > eden -t 10s network ls edenProg: /home/insei/eden/dist/bin/eden timewait: 10s > ! test eden.reboot.test -test.v -timewait=0 -reboot=0 -count=1 & testProg: /home/insei/eden/dist/bin/eden.reboot.test timewait: 0s > eden -t 1m network create 10.11.12.0/24 -n n1 edenProg: /home/insei/eden/dist/bin/eden timewait: 1m0s > stdout 'deploy network .* with name n1 request sent' > test eden.network.test -test.v -timewait 10m ACTIVATED n1 testProg: /home/insei/eden/dist/bin/eden.network.test timewait: 0s > eden -t 1m network ls edenProg: /home/insei/eden/dist/bin/eden timewait: 1m0s > cp stdout net_ls > grep '^n1\s*' net_ls > eden -t 5m network delete n1 edenProg: /home/insei/eden/dist/bin/eden timewait: 5m0s > stdout 'network n1 delete done' > test eden.network.test -test.v -timewait 10m - n1 testProg: /home/insei/eden/dist/bin/eden.network.test timewait: 0s time="2022-01-20T23:22:16+03:00" level=info msg="Test is running: 2022-01-20T23:22:16+03:00" > stdout 'no network with n1 found' > eden -t 1m network ls edenProg: /home/insei/eden/dist/bin/eden timewait: 1m0s > ! stdout '^n1\s' testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > eden -t 10s network ls [stdout] NAME UUID TYPE CIDR STATS STATE(ADAM) LAST_STATE(EVE) # Starting of reboot detector with a 1 reboot limit (0.001s) > ! test eden.reboot.test -test.v -timewait=0 -reboot=0 -count=1 & testProg: /home/insei/eden/dist/bin/eden.reboot.test # Create n1 network (1.050s) > eden -t 1m network create 10.11.12.0/24 -n n1 [stdout] time="2022-01-20T23:20:37+03:00" level=info msg="deploy network 315c4ffa-a8b6-4139-8c88-a9bbf6f05675 with name n1 request sent" {"id":{"uuid":"f768cb62-e127-4c43-804a-1df96eb251b3","version":"5"},"networks":[{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1","type":4,"ip":{"dhcp":4,"dhcpRange":{}}},{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2","type":4,"ip":{"dhcp":4,"dhcpRange":{}}}],"reboot":{"counter":1000},"configItems":[{"key":"app.allow.vnc","value":"true"},{"key":"debug.default.loglevel","value":"info"},{"key":"debug.default.remote.loglevel","value":"warning"},{"key":"debug.enable.ssh","value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDQwR/mswL+MCrORHWISsiPUrj7UupqLF75fq17KyEIMY10Nmw5pczG/0edLS0ltOBYX/d1FNVTxe2rQZDdJDP7hsIznbEFd8gYTc0r4qCFcMONzaB4xz9CdXbGWnijWou39nJPUO9FvJrdGQrd/ZH8DCC06+LMybEfiwjRz/6FViA/hvs5z/9yNb7qt0ONjkjANe9N/egQGz7mzYwInQWu2RJ3JwSI/YqIFAxucELkOEV3//Io6m6nhoyXfkDhhR2L/SSrTfuV/jRKa6VE0K3ItkQ8gOJYWBufUdLe4YoryvR7GsP+nSeLIr2FLY/UqOoA1R2PtJp13j538pFllPoNHG5ya+LbTAKDTnx7njEdIC5aRNCvgBjpO4TsDSfgWwVPLrVc+WMC7Un0oT+QB1/LRgXpEF0nfOPSLpCO+dofBjEWApGVwwn+htugjnVnBq885RFLFU8mVWPQE1XrBxBtsyuY6MkaxcYVVYvH+qJrWds6uWmxD+f3V2+jmImu0IB7IjID+gItt+7pE+nes/E0PjxntphGzGHCzdlGKBRydzoaFaBxiMf1sYP3jK+21MtxMgSuWoSpxYMjNLnVRvp+VTUaShxFVquel1zZj2ocBB3KSAr6xScdsVn56SsepYX08RX9r/ZCDcbPRHUd8/oyBjFBjzKkvezT4XpKXwvC4Q==\n"},{"key":"newlog.allow.fastupload","value":"true"},{"key":"timer.config.interval","value":"5"},{"key":"timer.download.retry","value":"60"},{"key":"timer.metric.interval","value":"10"}],"systemAdapterList":[{"name":"eth0","uplink":true,"networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1"},{"name":"eth1","networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2"}],"deviceIoList":[{"ptype":1,"phylabel":"eth0","phyaddrs":{"Ifname":"eth0"},"logicallabel":"eth0","assigngrp":"eth0","usage":1,"usagePolicy":{"freeUplink":true}},{"ptype":1,"phylabel":"eth1","phyaddrs":{"Ifname":"eth1"},"logicallabel":"eth1","assigngrp":"eth1","usage":2,"usagePolicy":{"freeUplink":true}}],"productName":"general","networkInstances":[{"uuidandversion":{"uuid":"315c4ffa-a8b6-4139-8c88-a9bbf6f05675","version":"1"},"displayname":"n1","instType":2,"activate":true,"port":{"type":1,"name":"eth0"},"cfg":{},"ipType":1,"ip":{"subnet":"10.11.12.0/24","gateway":"10.11.12.1","dns":["10.11.12.1"],"dhcpRange":{"start":"10.11.12.2","end":"10.11.12.254"}}}]} > stdout 'deploy network .* with name n1 request sent' # Wait for run (2.290s) > test eden.network.test -test.v -timewait 10m ACTIVATED n1 testProg: /home/insei/eden/dist/bin/eden.network.test [stdout] Network's state test === RUN TestNetworkStatus nw_test.go:132: time: 2022-01-20T23:20:38.089772313+03:00 out: networks: '[n1]' expected state: 'ACTIVATED' secs: 600 time: 2022-01-20T23:20:38.094243705+03:00 out: netName n1 state changed to UNKNOWN time: 2022-01-20T23:20:38.355887345+03:00 out: netName n1 state changed to NOT_ACTIVATED time: 2022-01-20T23:20:39.358187383+03:00 out: netName n1 state changed to ACTIVATED testProc.go:84: time: 2022-01-20T23:20:39.35821758+03:00 out: projects.ProcInfoFunc done with return: network n1 state ACTIVATED testContext.go:244: done for device f768cb62-e127-4c43-804a-1df96eb251b3 --- PASS: TestNetworkStatus (2.27s) PASS [stderr] time="2022-01-20T23:20:39+03:00" level=info msg="time: 2022-01-20T23:20:39.35821758+03:00 out: projects.ProcInfoFunc done with return: \nnetwork n1 state ACTIVATED\n" # Need to fix -- another try of detecting not passing #exec sleep 20 #test eden.network.test -test.v -timewait 10m ACTIVATED n1 # Networks detecting (0.046s) > eden -t 1m network ls [stdout] NAME UUID TYPE CIDR STATS STATE(ADAM) LAST_STATE(EVE) n1 315c4ffa-a8b6-4139-8c88-a9bbf6f05675 ZnetInstLocal 10.11.12.0/24 - IN_CONFIG ACTIVATED > cp stdout net_ls > grep '^n1\s*' net_ls # Delete by network's actor (1.037s) > eden -t 5m network delete n1 [stdout] {"id":{"uuid":"f768cb62-e127-4c43-804a-1df96eb251b3","version":"6"},"networks":[{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1","type":4,"ip":{"dhcp":4,"dhcpRange":{}}},{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2","type":4,"ip":{"dhcp":4,"dhcpRange":{}}}],"reboot":{"counter":1000},"configItems":[{"key":"app.allow.vnc","value":"true"},{"key":"debug.default.loglevel","value":"info"},{"key":"debug.default.remote.loglevel","value":"warning"},{"key":"debug.enable.ssh","value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDQwR/mswL+MCrORHWISsiPUrj7UupqLF75fq17KyEIMY10Nmw5pczG/0edLS0ltOBYX/d1FNVTxe2rQZDdJDP7hsIznbEFd8gYTc0r4qCFcMONzaB4xz9CdXbGWnijWou39nJPUO9FvJrdGQrd/ZH8DCC06+LMybEfiwjRz/6FViA/hvs5z/9yNb7qt0ONjkjANe9N/egQGz7mzYwInQWu2RJ3JwSI/YqIFAxucELkOEV3//Io6m6nhoyXfkDhhR2L/SSrTfuV/jRKa6VE0K3ItkQ8gOJYWBufUdLe4YoryvR7GsP+nSeLIr2FLY/UqOoA1R2PtJp13j538pFllPoNHG5ya+LbTAKDTnx7njEdIC5aRNCvgBjpO4TsDSfgWwVPLrVc+WMC7Un0oT+QB1/LRgXpEF0nfOPSLpCO+dofBjEWApGVwwn+htugjnVnBq885RFLFU8mVWPQE1XrBxBtsyuY6MkaxcYVVYvH+qJrWds6uWmxD+f3V2+jmImu0IB7IjID+gItt+7pE+nes/E0PjxntphGzGHCzdlGKBRydzoaFaBxiMf1sYP3jK+21MtxMgSuWoSpxYMjNLnVRvp+VTUaShxFVquel1zZj2ocBB3KSAr6xScdsVn56SsepYX08RX9r/ZCDcbPRHUd8/oyBjFBjzKkvezT4XpKXwvC4Q==\n"},{"key":"newlog.allow.fastupload","value":"true"},{"key":"timer.config.interval","value":"5"},{"key":"timer.download.retry","value":"60"},{"key":"timer.metric.interval","value":"10"}],"systemAdapterList":[{"name":"eth0","uplink":true,"networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1"},{"name":"eth1","networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2"}],"deviceIoList":[{"ptype":1,"phylabel":"eth0","phyaddrs":{"Ifname":"eth0"},"logicallabel":"eth0","assigngrp":"eth0","usage":1,"usagePolicy":{"freeUplink":true}},{"ptype":1,"phylabel":"eth1","phyaddrs":{"Ifname":"eth1"},"logicallabel":"eth1","assigngrp":"eth1","usage":2,"usagePolicy":{"freeUplink":true}}],"productName":"general"} time="2022-01-20T23:20:41+03:00" level=info msg="network n1 delete done" > stdout 'network n1 delete done' # Wait for delete (124.569s) > test eden.network.test -test.v -timewait 10m - n1 testProg: /home/insei/eden/dist/bin/eden.network.test [stdout] Network's state test === RUN TestNetworkStatus nw_test.go:132: time: 2022-01-20T23:20:41.463322504+03:00 out: networks: '[n1]' expected state: '-' secs: 600 time: 2022-01-20T23:20:41.467242072+03:00 out: netName n1 state changed to ACTIVATED time: 2022-01-20T23:20:43.718312206+03:00 out: netName n1 state changed to NOT_ACTIVATED testProc.go:84: time: 2022-01-20T23:22:45.007424928+03:00 out: projects.ProcInfoFunc done with return: no network with n1 found testContext.go:244: done for device f768cb62-e127-4c43-804a-1df96eb251b3 --- PASS: TestNetworkStatus (124.55s) PASS [stderr] time="2022-01-20T23:22:45+03:00" level=info msg="time: 2022-01-20T23:22:45.007424928+03:00 out: projects.ProcInfoFunc done with return: \nno network with n1 found\n" #test eden.network.test -test.v -timewait 10m - n1 (0.000s) > stdout 'no network with n1 found' # Networks detecting (0.062s) > eden -t 1m network ls [stdout] NAME UUID TYPE CIDR STATS STATE(ADAM) LAST_STATE(EVE) > ! stdout '^n1\s' # Test's config. file (0.001s) [stdout] Reboot Test === RUN TestReboot reboot_test.go:157: time: 2022-01-20T23:20:37.098564294+03:00 out: Wait for state of f768cb62-e127-4c43-804a-1df96eb251b3 reboot_test.go:159: time: 2022-01-20T23:20:37.098587779+03:00 out: timewait: 2562047h47m16.854775807s reboot_test.go:160: time: 2022-01-20T23:20:37.098592848+03:00 out: reboot: false reboot_test.go:161: time: 2022-01-20T23:20:37.098596535+03:00 out: count: 1 reboot_test.go:165: time: 2022-01-20T23:20:37.09860404+03:00 out: LastRebootTime: 1970-01-01 00:01:27.976501559 +0000 UTC reboot_test.go:167: time: 2022-01-20T23:20:37.098609119+03:00 out: LastRebootReason: NORMAL: First boot of device - at 1970-01-01T00:01:27.976501559Z [background] eden.reboot.test -test.v -timewait=0 -reboot=0 -count=1 &: signal: interrupt [stdout] Reboot Test === RUN TestReboot reboot_test.go:157: time: 2022-01-20T23:20:37.098564294+03:00 out: Wait for state of f768cb62-e127-4c43-804a-1df96eb251b3 reboot_test.go:159: time: 2022-01-20T23:20:37.098587779+03:00 out: timewait: 2562047h47m16.854775807s reboot_test.go:160: time: 2022-01-20T23:20:37.098592848+03:00 out: reboot: false reboot_test.go:161: time: 2022-01-20T23:20:37.098596535+03:00 out: count: 1 reboot_test.go:165: time: 2022-01-20T23:20:37.09860404+03:00 out: LastRebootTime: 1970-01-01 00:01:27.976501559 +0000 UTC reboot_test.go:167: time: 2022-01-20T23:20:37.098609119+03:00 out: LastRebootReason: NORMAL: First boot of device - at 1970-01-01T00:01:27.976501559Z PASS --- PASS: TestEdenScripts (0.00s) --- PASS: TestEdenScripts/network_test (129.11s) PASS time="2022-01-20T23:22:46+03:00" level=debug msg="testApp: /bin/echo" time="2022-01-20T23:22:46+03:00" level=debug msg="testProg: /bin/echo" time="2022-01-20T23:22:46+03:00" level=debug msg="Test: /bin/echo Eden basic VLAN test (16.1/37)" time="2022-01-20T23:22:46+03:00" level=debug msg="TestArgsEnv: ' -test.v'" Eden basic VLAN test (16.1/37) time="2022-01-20T23:22:46+03:00" level=debug msg="testApp: eden.escript.test" time="2022-01-20T23:22:46+03:00" level=debug msg="testProg: /home/insei/eden/dist/bin/eden.escript.test" time="2022-01-20T23:22:46+03:00" level=debug msg="Test: /home/insei/eden/dist/bin/eden.escript.test -testdata ../network/testdata/ -test.run TestEdenScripts/vlans" time="2022-01-20T23:22:46+03:00" level=debug msg="TestArgsEnv: ' -test.v'" === RUN TestEdenScripts === RUN TestEdenScripts/vlans === PAUSE TestEdenScripts/vlans === CONT TestEdenScripts/vlans > [!exec:bash] stop > [!exec:grep] stop > [!exec:cut] stop > [!exec:curl] stop > [!exec:sleep] stop > exec -t 2m bash check_vm_support.sh exec timewait: 2m0s > source .env > [!env:with_hw_virt] skip 'Missing HW-assisted virtualization capability' > eden network create 10.1.0.0/24 -n nat edenProg: /home/insei/eden/dist/bin/eden timewait: 0s > eden network create --type switch --uplink none -n switch edenProg: /home/insei/eden/dist/bin/eden timewait: 0s > test eden.network.test -test.v -timewait 10m ACTIVATED nat testProg: /home/insei/eden/dist/bin/eden.network.test timewait: 0s > test eden.network.test -test.v -timewait 10m ACTIVATED switch testProg: /home/insei/eden/dist/bin/eden.network.test timewait: 0s > eden pod deploy -n dhcp-server --memory=512MB --networks=nat --networks=switch -p 8027:80 --mount=src=/home/insei/eden/dist/tests/network/testdata/vlans/dhcp-server,dst=/app docker://lfedge/eden-docker-test:83cfe07 edenProg: /home/insei/eden/dist/bin/eden timewait: 0s > test eden.app.test -test.v -timewait 10m RUNNING dhcp-server testProg: /home/insei/eden/dist/bin/eden.app.test timewait: 0s time="2022-01-20T23:24:26+03:00" level=info msg="Test is running: 2022-01-20T23:24:26+03:00" time="2022-01-20T23:26:06+03:00" level=info msg="Test is running: 2022-01-20T23:26:06+03:00" > exec -t 2m bash wait_and_get_ifconfig.sh dhcp-server 8027 exec timewait: 2m0s > stdout '10.2.100.1 netmask 255.255.255.0' > stdout '10.2.200.1 netmask 255.255.255.0' > eden pod deploy -n app1 --memory=512MB --networks=nat --networks=switch -p 8028:80 --vlan=switch:100 --metadata='url=TEST_SEQUENCE' docker://lfedge/eden-docker-test:83cfe07 edenProg: /home/insei/eden/dist/bin/eden timewait: 0s > test eden.app.test -test.v -timewait 10m RUNNING app1 testProg: /home/insei/eden/dist/bin/eden.app.test timewait: 0s > exec -t 5m bash wait_and_get_ip.sh app1 8028 exec timewait: 5m0s time="2022-01-20T23:27:46+03:00" level=info msg="Test is running: 2022-01-20T23:27:46+03:00" > grep 'app1_ip=10.2.100.\d+' .env > source .env > eden pod deploy -n app2 --memory=512MB --networks=nat --networks=switch -p 8029:80 --vlan=switch:100 --metadata="url=http://${app1_ip}/user-data.html" docker://lfedge/eden-docker-test:83cfe07 edenProg: /home/insei/eden/dist/bin/eden timewait: 0s > test eden.app.test -test.v -timewait 10m RUNNING app2 testProg: /home/insei/eden/dist/bin/eden.app.test timewait: 0s > exec -t 5m bash wait_and_get_ip.sh app2 8029 exec timewait: 5m0s > grep 'app2_ip=10.2.100.\d+' .env > source .env > exec -t 5m bash wait_and_get_recv_data.sh app2 8029 exec timewait: 5m0s > stdout 'TEST_SEQUENCE' > eden pod deploy -n app3 --memory=512MB --networks=nat --networks=switch -p 8030:80 --vlan=switch:200 --metadata="url=http://${app1_ip}/user-data.html" docker://lfedge/eden-docker-test:83cfe07 edenProg: /home/insei/eden/dist/bin/eden timewait: 0s time="2022-01-20T23:29:26+03:00" level=info msg="Test is running: 2022-01-20T23:29:26+03:00" > test eden.app.test -test.v -timewait 10m RUNNING app3 testProg: /home/insei/eden/dist/bin/eden.app.test timewait: 0s > exec -t 5m bash wait_and_get_ip.sh app3 8030 exec timewait: 5m0s time="2022-01-20T23:31:06+03:00" level=info msg="Test is running: 2022-01-20T23:31:06+03:00" > grep 'app3_ip=10.2.200.\d+' .env ::error file=tests/network/testdata/vlans.txt,line=67::[stdout]%0AIP address of app3 is: 10.2.0.12%0A[stderr]%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: No route to host%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0Acurl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused%0A % Total % Received % Xferd Average Speed Time Time Time Current%0A Dload Upload Total Spent Left Speed%0A%0D 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%0D100 1323 100 1323 0 0 8217 0 --:--:-- --:--:-- --:--:-- 8217%0A> grep 'app3_ip=10.2.200.\d+' .env%0A[.env]%0Aapp3_ip=10.2.0.12%0A%0AFAIL: ../network/testdata/vlans.txt:67: no match for `app3_ip=10.2.200.\d+` found in .env%0A testscript.go:403: WORK=$WORK PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: EDEN_CONFIG=default HOME=/no-home exe= > [!exec:bash] stop > [!exec:grep] stop > [!exec:cut] stop > [!exec:curl] stop > [!exec:sleep] stop # This test deploys 5 applications in total. # Four of those applications run the same curl and nginx services as used in "test_networking.txt". # All applications are connected to a NATed local network (10.1.0.0/24), used for access to HTTP endpoints from outside # through port-maps, but also to an air-gaped switch network split into multiple VLANs (10.2..0/24): # - app1 and app2 are connected to VLAN 100 # - app3 is connected to VLAN 200 # - app4 has initially no VLANs configured, later it is moved to VLAN 100 # # The fifth application provides DHCP services separately for VLANs 100, 200 and for applications outside VLANs: # - VLAN 100 uses IP range 10.2.100.0/24 # - VLAN 200 uses IP range 10.2.200.0/24 # - application interfaces without VLAN assignment get IP addresses from the range 10.2.0.0/24 # The application providing DHCP services for multiple VLANs requires netadmin capabilities, otherwise # it is not permitted to create VLAN sub-interfaces. For security reasons, EVE does not allow to grant these # capabilities to native containers, therefore it is required to deploy apps as VMs-in-Containers for this test to pass. (0.034s) > exec -t 2m bash check_vm_support.sh > source .env > [!env:with_hw_virt] skip 'Missing HW-assisted virtualization capability' # string to use as the testing sequence # create networks for the test (5.846s) > eden network create 10.1.0.0/24 -n nat [stdout] time="2022-01-20T23:22:46+03:00" level=info msg="deploy network f9443070-754f-4132-8d69-913bc3d465aa with name nat request sent" {"id":{"uuid":"f768cb62-e127-4c43-804a-1df96eb251b3","version":"7"},"networks":[{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1","type":4,"ip":{"dhcp":4,"dhcpRange":{}}},{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2","type":4,"ip":{"dhcp":4,"dhcpRange":{}}}],"reboot":{"counter":1000},"configItems":[{"key":"app.allow.vnc","value":"true"},{"key":"debug.default.loglevel","value":"info"},{"key":"debug.default.remote.loglevel","value":"warning"},{"key":"debug.enable.ssh","value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDQwR/mswL+MCrORHWISsiPUrj7UupqLF75fq17KyEIMY10Nmw5pczG/0edLS0ltOBYX/d1FNVTxe2rQZDdJDP7hsIznbEFd8gYTc0r4qCFcMONzaB4xz9CdXbGWnijWou39nJPUO9FvJrdGQrd/ZH8DCC06+LMybEfiwjRz/6FViA/hvs5z/9yNb7qt0ONjkjANe9N/egQGz7mzYwInQWu2RJ3JwSI/YqIFAxucELkOEV3//Io6m6nhoyXfkDhhR2L/SSrTfuV/jRKa6VE0K3ItkQ8gOJYWBufUdLe4YoryvR7GsP+nSeLIr2FLY/UqOoA1R2PtJp13j538pFllPoNHG5ya+LbTAKDTnx7njEdIC5aRNCvgBjpO4TsDSfgWwVPLrVc+WMC7Un0oT+QB1/LRgXpEF0nfOPSLpCO+dofBjEWApGVwwn+htugjnVnBq885RFLFU8mVWPQE1XrBxBtsyuY6MkaxcYVVYvH+qJrWds6uWmxD+f3V2+jmImu0IB7IjID+gItt+7pE+nes/E0PjxntphGzGHCzdlGKBRydzoaFaBxiMf1sYP3jK+21MtxMgSuWoSpxYMjNLnVRvp+VTUaShxFVquel1zZj2ocBB3KSAr6xScdsVn56SsepYX08RX9r/ZCDcbPRHUd8/oyBjFBjzKkvezT4XpKXwvC4Q==\n"},{"key":"newlog.allow.fastupload","value":"true"},{"key":"timer.config.interval","value":"5"},{"key":"timer.download.retry","value":"60"},{"key":"timer.metric.interval","value":"10"}],"systemAdapterList":[{"name":"eth0","uplink":true,"networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1"},{"name":"eth1","networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2"}],"deviceIoList":[{"ptype":1,"phylabel":"eth0","phyaddrs":{"Ifname":"eth0"},"logicallabel":"eth0","assigngrp":"eth0","usage":1,"usagePolicy":{"freeUplink":true}},{"ptype":1,"phylabel":"eth1","phyaddrs":{"Ifname":"eth1"},"logicallabel":"eth1","assigngrp":"eth1","usage":2,"usagePolicy":{"freeUplink":true}}],"productName":"general","networkInstances":[{"uuidandversion":{"uuid":"f9443070-754f-4132-8d69-913bc3d465aa","version":"1"},"displayname":"nat","instType":2,"activate":true,"port":{"type":1,"name":"eth0"},"cfg":{},"ipType":1,"ip":{"subnet":"10.1.0.0/24","gateway":"10.1.0.1","dns":["10.1.0.1"],"dhcpRange":{"start":"10.1.0.2","end":"10.1.0.254"}}}]} > eden network create --type switch --uplink none -n switch [stdout] time="2022-01-20T23:22:47+03:00" level=info msg="deploy network 4b155b22-12b7-454e-98fe-110f94d79caf with name switch request sent" {"id":{"uuid":"f768cb62-e127-4c43-804a-1df96eb251b3","version":"8"},"networks":[{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1","type":4,"ip":{"dhcp":4,"dhcpRange":{}}},{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2","type":4,"ip":{"dhcp":4,"dhcpRange":{}}}],"reboot":{"counter":1000},"configItems":[{"key":"app.allow.vnc","value":"true"},{"key":"debug.default.loglevel","value":"info"},{"key":"debug.default.remote.loglevel","value":"warning"},{"key":"debug.enable.ssh","value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDQwR/mswL+MCrORHWISsiPUrj7UupqLF75fq17KyEIMY10Nmw5pczG/0edLS0ltOBYX/d1FNVTxe2rQZDdJDP7hsIznbEFd8gYTc0r4qCFcMONzaB4xz9CdXbGWnijWou39nJPUO9FvJrdGQrd/ZH8DCC06+LMybEfiwjRz/6FViA/hvs5z/9yNb7qt0ONjkjANe9N/egQGz7mzYwInQWu2RJ3JwSI/YqIFAxucELkOEV3//Io6m6nhoyXfkDhhR2L/SSrTfuV/jRKa6VE0K3ItkQ8gOJYWBufUdLe4YoryvR7GsP+nSeLIr2FLY/UqOoA1R2PtJp13j538pFllPoNHG5ya+LbTAKDTnx7njEdIC5aRNCvgBjpO4TsDSfgWwVPLrVc+WMC7Un0oT+QB1/LRgXpEF0nfOPSLpCO+dofBjEWApGVwwn+htugjnVnBq885RFLFU8mVWPQE1XrBxBtsyuY6MkaxcYVVYvH+qJrWds6uWmxD+f3V2+jmImu0IB7IjID+gItt+7pE+nes/E0PjxntphGzGHCzdlGKBRydzoaFaBxiMf1sYP3jK+21MtxMgSuWoSpxYMjNLnVRvp+VTUaShxFVquel1zZj2ocBB3KSAr6xScdsVn56SsepYX08RX9r/ZCDcbPRHUd8/oyBjFBjzKkvezT4XpKXwvC4Q==\n"},{"key":"newlog.allow.fastupload","value":"true"},{"key":"timer.config.interval","value":"5"},{"key":"timer.download.retry","value":"60"},{"key":"timer.metric.interval","value":"10"}],"systemAdapterList":[{"name":"eth0","uplink":true,"networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1"},{"name":"eth1","networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2"}],"deviceIoList":[{"ptype":1,"phylabel":"eth0","phyaddrs":{"Ifname":"eth0"},"logicallabel":"eth0","assigngrp":"eth0","usage":1,"usagePolicy":{"freeUplink":true}},{"ptype":1,"phylabel":"eth1","phyaddrs":{"Ifname":"eth1"},"logicallabel":"eth1","assigngrp":"eth1","usage":2,"usagePolicy":{"freeUplink":true}}],"productName":"general","networkInstances":[{"uuidandversion":{"uuid":"f9443070-754f-4132-8d69-913bc3d465aa","version":"1"},"displayname":"nat","instType":2,"activate":true,"port":{"type":1,"name":"eth0"},"cfg":{},"ipType":1,"ip":{"subnet":"10.1.0.0/24","gateway":"10.1.0.1","dns":["10.1.0.1"],"dhcpRange":{"start":"10.1.0.2","end":"10.1.0.254"}}},{"uuidandversion":{"uuid":"4b155b22-12b7-454e-98fe-110f94d79caf","version":"1"},"displayname":"switch","instType":1,"activate":true,"cfg":{},"ipType":1,"ip":{}}]} > test eden.network.test -test.v -timewait 10m ACTIVATED nat testProg: /home/insei/eden/dist/bin/eden.network.test [stdout] Network's state test === RUN TestNetworkStatus nw_test.go:132: time: 2022-01-20T23:22:48.222421918+03:00 out: networks: '[nat]' expected state: 'ACTIVATED' secs: 600 time: 2022-01-20T23:22:48.226810865+03:00 out: netName nat state changed to ACTIVATED nw_test.go:172: time: 2022-01-20T23:22:48.226822877+03:00 out: network nat state ACTIVATED --- PASS: TestNetworkStatus (1.01s) PASS > test eden.network.test -test.v -timewait 10m ACTIVATED switch testProg: /home/insei/eden/dist/bin/eden.network.test [stdout] Network's state test === RUN TestNetworkStatus nw_test.go:132: time: 2022-01-20T23:22:49.248990588+03:00 out: networks: '[switch]' expected state: 'ACTIVATED' secs: 600 time: 2022-01-20T23:22:49.253659993+03:00 out: netName switch state changed to UNKNOWN time: 2022-01-20T23:22:49.955979457+03:00 out: netName switch state changed to NOT_ACTIVATED time: 2022-01-20T23:22:50.957146543+03:00 out: netName switch state changed to ACTIVATED testProc.go:84: time: 2022-01-20T23:22:50.957166561+03:00 out: projects.ProcInfoFunc done with return: network switch state ACTIVATED testContext.go:244: done for device f768cb62-e127-4c43-804a-1df96eb251b3 --- PASS: TestNetworkStatus (2.71s) PASS [stderr] time="2022-01-20T23:22:50+03:00" level=info msg="time: 2022-01-20T23:22:50.957166561+03:00 out: projects.ProcInfoFunc done with return: \nnetwork switch state ACTIVATED\n" # Deploy DHCP server (240.373s) > eden pod deploy -n dhcp-server --memory=512MB --networks=nat --networks=switch -p 8027:80 --mount=src=/home/insei/eden/dist/tests/network/testdata/vlans/dhcp-server,dst=/app docker://lfedge/eden-docker-test:83cfe07 [stdout] time="2022-01-20T23:22:54+03:00" level=info msg="will use volume [/home/insei/eden/dist/tests/network/testdata/vlans/dhcp-server] at mount point [/app]" {"stream":"Step 1/2 : FROM scratch"} {"stream":"\n"} {"stream":" ---\u003e \n"} {"stream":"Step 2/2 : COPY . /"} {"stream":"\n"} {"stream":" ---\u003e Using cache\n"} {"stream":" ---\u003e 5a7dc8d3fba8\n"} {"aux":{"ID":"sha256:5a7dc8d3fba8c702481a057b1ea412705d4918b896c13babce42a0e07efe6784"}} {"stream":"Successfully built 5a7dc8d3fba8\n"} {"stream":"Successfully tagged eden/dhcp-server:0da72aded4956cae87eaac73b39cde7e442770ee26ca30ac8c5fa2afa19aaf3a\n"} {"id":{"uuid":"f768cb62-e127-4c43-804a-1df96eb251b3","version":"9"},"apps":[{"uuidandversion":{"uuid":"ef10e9c8-fed4-4bee-960b-d230a9a4a270","version":"1"},"displayname":"dhcp-server","fixedresources":{"memory":512000,"maxmem":512000,"vcpus":1,"rootdev":"/dev/xvda1","bootloader":"/usr/lib/xen/boot/ovmf.bin"},"drives":[{"image":{"uuidandversion":{"uuid":"2d1b3a75-ad50-4e44-be1b-30321a122ab7","version":"1"},"name":"lfedge/eden-docker-test:83cfe07","iformat":8,"dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f"}}],"activate":true,"interfaces":[{"name":"default","networkId":"f9443070-754f-4132-8d69-913bc3d465aa","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1},{"matches":[{"type":"protocol","value":"tcp"},{"type":"lport","value":"8027"}],"actions":[{"portmap":true,"appPort":80}],"id":2}]},{"name":"default","networkId":"4b155b22-12b7-454e-98fe-110f94d79caf","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1}]}],"volumeRefList":[{"uuid":"0ee24ab5-02e0-4094-b799-4bbce7559b65","mount_dir":"/"},{"uuid":"0bddc904-0f68-4851-b0cc-67b5c459173d","mount_dir":"/app"}]}],"networks":[{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1","type":4,"ip":{"dhcp":4,"dhcpRange":{}}},{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2","type":4,"ip":{"dhcp":4,"dhcpRange":{}}}],"datastores":[{"id":"517dafd4-9a49-4687-9cd6-41d07a300d3f","dType":5,"fqdn":"docker://index.docker.io"},{"id":"0f14eefd-e798-4570-a6f0-1ce2d32ddfc1","dType":5,"fqdn":"docker://10.10.88.5:5050"}],"reboot":{"counter":1000},"configItems":[{"key":"app.allow.vnc","value":"true"},{"key":"debug.default.loglevel","value":"info"},{"key":"debug.default.remote.loglevel","value":"warning"},{"key":"debug.enable.ssh","value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDQwR/mswL+MCrORHWISsiPUrj7UupqLF75fq17KyEIMY10Nmw5pczG/0edLS0ltOBYX/d1FNVTxe2rQZDdJDP7hsIznbEFd8gYTc0r4qCFcMONzaB4xz9CdXbGWnijWou39nJPUO9FvJrdGQrd/ZH8DCC06+LMybEfiwjRz/6FViA/hvs5z/9yNb7qt0ONjkjANe9N/egQGz7mzYwInQWu2RJ3JwSI/YqIFAxucELkOEV3//Io6m6nhoyXfkDhhR2L/SSrTfuV/jRKa6VE0K3ItkQ8gOJYWBufUdLe4YoryvR7GsP+nSeLIr2FLY/UqOoA1R2PtJp13j538pFllPoNHG5ya+LbTAKDTnx7njEdIC5aRNCvgBjpO4TsDSfgWwVPLrVc+WMC7Un0oT+QB1/LRgXpEF0nfOPSLpCO+dofBjEWApGVwwn+htugjnVnBq885RFLFU8mVWPQE1XrBxBtsyuY6MkaxcYVVYvH+qJrWds6uWmxD+f3V2+jmImu0IB7IjID+gItt+7pE+nes/E0PjxntphGzGHCzdlGKBRydzoaFaBxiMf1sYP3jK+21MtxMgSuWoSpxYMjNLnVRvp+VTUaShxFVquel1zZj2ocBB3KSAr6xScdsVn56SsepYX08RX9r/ZCDcbPRHUd8/oyBjFBjzKkvezT4XpKXwvC4Q==\n"},{"key":"newlog.allow.fastupload","value":"true"},{"key":"timer.config.interval","value":"5"},{"key":"timer.download.retry","value":"60"},{"key":"timer.metric.interval","value":"10"}],"systemAdapterList":[{"name":"eth0","uplink":true,"networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1"},{"name":"eth1","networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2"}],"deviceIoList":[{"ptype":1,"phylabel":"eth0","phyaddrs":{"Ifname":"eth0"},"logicallabel":"eth0","assigngrp":"eth0","usage":1,"usagePolicy":{"freeUplink":true}},{"ptype":1,"phylabel":"eth1","phyaddrs":{"Ifname":"eth1"},"logicallabel":"eth1","assigngrp":"eth1","usage":2,"usagePolicy":{"freeUplink":true}}],"productName":"general","networkInstances":[{"uuidandversion":{"uuid":"f9443070-754f-4132-8d69-913bc3d465aa","version":"1"},"displayname":"nat","instType":2,"activate":true,"port":{"type":1,"name":"eth0"},"cfg":{},"ipType":1,"ip":{"subnet":"10.1.0.0/24","gateway":"10.1.0.1","dns":["10.1.0.1"],"dhcpRange":{"start":"10.1.0.2","end":"10.1.0.254"}}},{"uuidandversion":{"uuid":"4b155b22-12b7-454e-98fe-110f94d79caf","version":"1"},"displayname":"switch","instType":1,"activate":true,"cfg":{},"ipType":1,"ip":{}}],"contentInfo":[{"uuid":"d03dcd35-315a-4be8-bf99-4f3faa7d41ad","dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f","URL":"lfedge/eden-docker-test:83cfe07","iformat":8,"displayName":"lfedge/eden-docker-test:83cfe07"},{"uuid":"0f4eb04a-a9ae-4815-a153-61a849ce480a","dsId":"0f14eefd-e798-4570-a6f0-1ce2d32ddfc1","URL":"eden/dhcp-server:0da72aded4956cae87eaac73b39cde7e442770ee26ca30ac8c5fa2afa19aaf3a","iformat":8,"displayName":"dhcp-server-1"}],"volumes":[{"uuid":"0ee24ab5-02e0-4094-b799-4bbce7559b65","origin":{"type":2,"downloadContentTreeID":"d03dcd35-315a-4be8-bf99-4f3faa7d41ad"},"displayName":"dhcp-server_0_m_0"},{"uuid":"0bddc904-0f68-4851-b0cc-67b5c459173d","origin":{"type":2,"downloadContentTreeID":"0f4eb04a-a9ae-4815-a153-61a849ce480a"},"maxsizebytes":209715200,"displayName":"dhcp-server_1_m_0"}]} time="2022-01-20T23:22:55+03:00" level=info msg="deploy pod dhcp-server with docker://lfedge/eden-docker-test:83cfe07 request sent" > test eden.app.test -test.v -timewait 10m RUNNING dhcp-server testProg: /home/insei/eden/dist/bin/eden.app.test [stdout] Docker app's state test === RUN TestAppStatus apps: '[dhcp-server]' state: 'RUNNING' secs: 600 time: 2022-01-20T23:22:55.735851469+03:00 out: appName dhcp-server state changed to UNKNOWN time: 2022-01-20T23:22:57.553870496+03:00 out: appName dhcp-server state changed to INITIAL time: 2022-01-20T23:22:59.559114511+03:00 out: appName dhcp-server state changed to RESOLVING_TAG time: 2022-01-20T23:23:04.566984237+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED time: 2022-01-20T23:23:06.571441695+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (0%) time: 2022-01-20T23:23:06.57147069+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (10%) time: 2022-01-20T23:23:07.573908524+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (30%) time: 2022-01-20T23:23:08.574713173+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (50%) time: 2022-01-20T23:23:08.574745744+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (0%) time: 2022-01-20T23:23:08.574760211+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (50%) time: 2022-01-20T23:23:09.576712277+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED time: 2022-01-20T23:23:09.576903808+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (50%) time: 2022-01-20T23:23:10.577592456+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (0%) time: 2022-01-20T23:23:10.577667808+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (50%) time: 2022-01-20T23:23:12.581750118+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (0%) time: 2022-01-20T23:23:17.596264613+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (51%) time: 2022-01-20T23:23:18.597459499+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (2%) time: 2022-01-20T23:23:19.602926235+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (53%) time: 2022-01-20T23:23:21.608966061+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (4%) time: 2022-01-20T23:23:23.611747811+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (5%) time: 2022-01-20T23:23:25.613161912+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (6%) time: 2022-01-20T23:23:25.613190706+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (57%) time: 2022-01-20T23:23:25.613203571+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (9%) time: 2022-01-20T23:23:27.621012323+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (10%) time: 2022-01-20T23:23:28.622201288+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (11%) time: 2022-01-20T23:23:28.622259818+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (13%) time: 2022-01-20T23:23:29.625583184+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (15%) time: 2022-01-20T23:23:30.626266902+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (16%) time: 2022-01-20T23:23:31.626999791+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (18%) time: 2022-01-20T23:23:31.627031521+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (19%) time: 2022-01-20T23:23:31.627044927+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (20%) time: 2022-01-20T23:23:32.629914363+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (70%) time: 2022-01-20T23:23:34.631564938+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (22%) time: 2022-01-20T23:23:34.631635762+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (23%) time: 2022-01-20T23:23:34.631653786+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (25%) time: 2022-01-20T23:23:36.635407122+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (26%) time: 2022-01-20T23:23:38.641941191+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (27%) time: 2022-01-20T23:23:38.641992127+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (28%) time: 2022-01-20T23:23:39.645075153+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (29%) time: 2022-01-20T23:23:39.645103697+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (30%) time: 2022-01-20T23:23:40.645552904+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (32%) time: 2022-01-20T23:23:41.647568865+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (33%) time: 2022-01-20T23:23:41.647596447+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (34%) time: 2022-01-20T23:23:42.649020895+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (35%) time: 2022-01-20T23:23:42.64905005+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (37%) time: 2022-01-20T23:23:42.649095005+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (38%) time: 2022-01-20T23:23:42.649140691+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (39%) time: 2022-01-20T23:23:43.650207511+03:00 out: appName dhcp-server state changed to DOWNLOAD_STARTED (41%) time: 2022-01-20T23:23:43.650243299+03:00 out: appName dhcp-server state changed to LOADING time: 2022-01-20T23:24:10.701377789+03:00 out: appName dhcp-server state changed to CREATING_VOLUME time: 2022-01-20T23:25:46.018577452+03:00 out: appName dhcp-server state changed to INSTALLED time: 2022-01-20T23:25:54.034934237+03:00 out: appName dhcp-server state changed to BOOTING time: 2022-01-20T23:26:42.186536861+03:00 out: appName dhcp-server state changed to RUNNING testProc.go:84: time: 2022-01-20T23:26:42.186557751+03:00 out: projects.ProcInfoFunc done with return: time: 2022-01-20T23:26:42.186553633+03:00 out: app dhcp-server state RUNNING testContext.go:244: done for device f768cb62-e127-4c43-804a-1df96eb251b3 --- PASS: TestAppStatus (227.46s) PASS [stderr] time="2022-01-20T23:26:42+03:00" level=info msg="time: 2022-01-20T23:26:42.186557751+03:00 out: projects.ProcInfoFunc done with return: \ntime: 2022-01-20T23:26:42.186553633+03:00 out: app dhcp-server state RUNNING\n" > exec -t 2m bash wait_and_get_ifconfig.sh dhcp-server 8027 [stdout] eth0: flags=4163 mtu 1500 inet 10.1.0.2 netmask 255.255.255.255 broadcast 0.0.0.0 ether 00:16:3e:00:01:01 txqueuelen 1000 (Ethernet) RX packets 11 bytes 1296 (1.2 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 10 bytes 1152 (1.1 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 eth1: flags=4163 mtu 1500 inet 10.2.0.1 netmask 255.255.255.0 broadcast 0.0.0.0 inet6 fe80::16:3eff:fe52:b0af prefixlen 64 scopeid 0x20 ether 02:16:3e:52:b0:af txqueuelen 1000 (Ethernet) RX packets 3 bytes 268 (268.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 32 bytes 4496 (4.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 eth1.100: flags=4163 mtu 1500 inet 10.2.100.1 netmask 255.255.255.0 broadcast 0.0.0.0 inet6 fe80::16:3eff:fe52:b0af prefixlen 64 scopeid 0x20 ether 02:16:3e:52:b0:af txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 8 bytes 656 (656.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 eth1.200: flags=4163 mtu 1500 inet 10.2.200.1 netmask 255.255.255.0 broadcast 0.0.0.0 inet6 fe80::16:3eff:fe52:b0af prefixlen 64 scopeid 0x20 ether 02:16:3e:52:b0:af txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 8 bytes 656 (656.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 [stderr] % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8027: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8027: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8027: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2164 100 2164 0 0 77285 0 --:--:-- --:--:-- --:--:-- 77285 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2164 100 2164 0 0 86560 0 --:--:-- --:--:-- --:--:-- 86560 > stdout '10.2.100.1 netmask 255.255.255.0' > stdout '10.2.200.1 netmask 255.255.255.0' # Deploy app1 and connect it to VLAN 100 (64.978s) > eden pod deploy -n app1 --memory=512MB --networks=nat --networks=switch -p 8028:80 --vlan=switch:100 --metadata='url=TEST_SEQUENCE' docker://lfedge/eden-docker-test:83cfe07 [stdout] {"id":{"uuid":"f768cb62-e127-4c43-804a-1df96eb251b3","version":"10"},"apps":[{"uuidandversion":{"uuid":"ef10e9c8-fed4-4bee-960b-d230a9a4a270","version":"1"},"displayname":"dhcp-server","fixedresources":{"memory":512000,"maxmem":512000,"vcpus":1,"rootdev":"/dev/xvda1","bootloader":"/usr/lib/xen/boot/ovmf.bin"},"drives":[{"image":{"uuidandversion":{"uuid":"2d1b3a75-ad50-4e44-be1b-30321a122ab7","version":"1"},"name":"lfedge/eden-docker-test:83cfe07","iformat":8,"dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f"}}],"activate":true,"interfaces":[{"name":"default","networkId":"f9443070-754f-4132-8d69-913bc3d465aa","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1},{"matches":[{"type":"protocol","value":"tcp"},{"type":"lport","value":"8027"}],"actions":[{"portmap":true,"appPort":80}],"id":2}]},{"name":"default","networkId":"4b155b22-12b7-454e-98fe-110f94d79caf","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1}]}],"volumeRefList":[{"uuid":"0ee24ab5-02e0-4094-b799-4bbce7559b65","mount_dir":"/"},{"uuid":"0bddc904-0f68-4851-b0cc-67b5c459173d","mount_dir":"/app"}]},{"uuidandversion":{"uuid":"4f615172-8cae-41a5-a570-6a35d2191f98","version":"1"},"displayname":"app1","fixedresources":{"memory":512000,"maxmem":512000,"vcpus":1,"rootdev":"/dev/xvda1","bootloader":"/usr/lib/xen/boot/ovmf.bin"},"drives":[{"image":{"uuidandversion":{"uuid":"2d1b3a75-ad50-4e44-be1b-30321a122ab7","version":"1"},"name":"lfedge/eden-docker-test:83cfe07","iformat":8,"dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f"}}],"activate":true,"interfaces":[{"name":"default","networkId":"f9443070-754f-4132-8d69-913bc3d465aa","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1},{"matches":[{"type":"protocol","value":"tcp"},{"type":"lport","value":"8028"}],"actions":[{"portmap":true,"appPort":80}],"id":2}]},{"name":"default","networkId":"4b155b22-12b7-454e-98fe-110f94d79caf","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1}],"access_vlan_id":100}],"cipherData":{"cipherContextId":"78e58fad-c5e5-50fa-8749-445895b3c333","initialValue":"NLInh+RmYpHRDu472GEIyg==","cipherData":"zm4TxEnO7FzCCdnmVWYahAxcO8cFutlzI38=","clearTextSha256":"Hy+421aXtyQGBwnPA4nFqF/CuRmlZ9uMUsJ9gqbW+fA="},"volumeRefList":[{"uuid":"d93c6e11-922b-4bdc-9920-b5d252bd0287","mount_dir":"/"}]}],"networks":[{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1","type":4,"ip":{"dhcp":4,"dhcpRange":{}}},{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2","type":4,"ip":{"dhcp":4,"dhcpRange":{}}}],"datastores":[{"id":"517dafd4-9a49-4687-9cd6-41d07a300d3f","dType":5,"fqdn":"docker://index.docker.io"},{"id":"0f14eefd-e798-4570-a6f0-1ce2d32ddfc1","dType":5,"fqdn":"docker://10.10.88.5:5050"}],"reboot":{"counter":1000},"configItems":[{"key":"app.allow.vnc","value":"true"},{"key":"debug.default.loglevel","value":"info"},{"key":"debug.default.remote.loglevel","value":"warning"},{"key":"debug.enable.ssh","value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDQwR/mswL+MCrORHWISsiPUrj7UupqLF75fq17KyEIMY10Nmw5pczG/0edLS0ltOBYX/d1FNVTxe2rQZDdJDP7hsIznbEFd8gYTc0r4qCFcMONzaB4xz9CdXbGWnijWou39nJPUO9FvJrdGQrd/ZH8DCC06+LMybEfiwjRz/6FViA/hvs5z/9yNb7qt0ONjkjANe9N/egQGz7mzYwInQWu2RJ3JwSI/YqIFAxucELkOEV3//Io6m6nhoyXfkDhhR2L/SSrTfuV/jRKa6VE0K3ItkQ8gOJYWBufUdLe4YoryvR7GsP+nSeLIr2FLY/UqOoA1R2PtJp13j538pFllPoNHG5ya+LbTAKDTnx7njEdIC5aRNCvgBjpO4TsDSfgWwVPLrVc+WMC7Un0oT+QB1/LRgXpEF0nfOPSLpCO+dofBjEWApGVwwn+htugjnVnBq885RFLFU8mVWPQE1XrBxBtsyuY6MkaxcYVVYvH+qJrWds6uWmxD+f3V2+jmImu0IB7IjID+gItt+7pE+nes/E0PjxntphGzGHCzdlGKBRydzoaFaBxiMf1sYP3jK+21MtxMgSuWoSpxYMjNLnVRvp+VTUaShxFVquel1zZj2ocBB3KSAr6xScdsVn56SsepYX08RX9r/ZCDcbPRHUd8/oyBjFBjzKkvezT4XpKXwvC4Q==\n"},{"key":"newlog.allow.fastupload","value":"true"},{"key":"timer.config.interval","value":"5"},{"key":"timer.download.retry","value":"60"},{"key":"timer.metric.interval","value":"10"}],"systemAdapterList":[{"name":"eth0","uplink":true,"networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1"},{"name":"eth1","networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2"}],"deviceIoList":[{"ptype":1,"phylabel":"eth0","phyaddrs":{"Ifname":"eth0"},"logicallabel":"eth0","assigngrp":"eth0","usage":1,"usagePolicy":{"freeUplink":true}},{"ptype":1,"phylabel":"eth1","phyaddrs":{"Ifname":"eth1"},"logicallabel":"eth1","assigngrp":"eth1","usage":2,"usagePolicy":{"freeUplink":true}}],"productName":"general","networkInstances":[{"uuidandversion":{"uuid":"f9443070-754f-4132-8d69-913bc3d465aa","version":"1"},"displayname":"nat","instType":2,"activate":true,"port":{"type":1,"name":"eth0"},"cfg":{},"ipType":1,"ip":{"subnet":"10.1.0.0/24","gateway":"10.1.0.1","dns":["10.1.0.1"],"dhcpRange":{"start":"10.1.0.2","end":"10.1.0.254"}}},{"uuidandversion":{"uuid":"4b155b22-12b7-454e-98fe-110f94d79caf","version":"1"},"displayname":"switch","instType":1,"activate":true,"cfg":{},"ipType":1,"ip":{}}],"cipherContexts":[{"contextId":"78e58fad-c5e5-50fa-8749-445895b3c333","hashScheme":1,"keyExchangeScheme":1,"encryptionScheme":1,"deviceCertHash":"LUWnFZd7x5I1FWyu7Uga1w==","controllerCertHash":"IonToDGfP/1gDc4+RYigcg=="}],"contentInfo":[{"uuid":"d03dcd35-315a-4be8-bf99-4f3faa7d41ad","dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f","URL":"lfedge/eden-docker-test:83cfe07","iformat":8,"displayName":"lfedge/eden-docker-test:83cfe07"},{"uuid":"0f4eb04a-a9ae-4815-a153-61a849ce480a","dsId":"0f14eefd-e798-4570-a6f0-1ce2d32ddfc1","URL":"eden/dhcp-server:0da72aded4956cae87eaac73b39cde7e442770ee26ca30ac8c5fa2afa19aaf3a","iformat":8,"displayName":"dhcp-server-1"},{"uuid":"3a1f5dc8-d830-4ee4-a605-5349d853370e","dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f","URL":"lfedge/eden-docker-test:83cfe07","iformat":8,"displayName":"lfedge/eden-docker-test:83cfe07"}],"volumes":[{"uuid":"0ee24ab5-02e0-4094-b799-4bbce7559b65","origin":{"type":2,"downloadContentTreeID":"d03dcd35-315a-4be8-bf99-4f3faa7d41ad"},"displayName":"dhcp-server_0_m_0"},{"uuid":"0bddc904-0f68-4851-b0cc-67b5c459173d","origin":{"type":2,"downloadContentTreeID":"0f4eb04a-a9ae-4815-a153-61a849ce480a"},"maxsizebytes":209715200,"displayName":"dhcp-server_1_m_0"},{"uuid":"d93c6e11-922b-4bdc-9920-b5d252bd0287","origin":{"type":2,"downloadContentTreeID":"3a1f5dc8-d830-4ee4-a605-5349d853370e"},"displayName":"app1_0_m_0"}]} time="2022-01-20T23:26:55+03:00" level=info msg="deploy pod app1 with docker://lfedge/eden-docker-test:83cfe07 request sent" [stderr] 2022/01/20 23:26:54 EC PARAMETERS 2022/01/20 23:26:54 EC PRIVATE KEY > test eden.app.test -test.v -timewait 10m RUNNING app1 testProg: /home/insei/eden/dist/bin/eden.app.test [stdout] Docker app's state test === RUN TestAppStatus apps: '[app1]' state: 'RUNNING' secs: 600 time: 2022-01-20T23:26:55.934235807+03:00 out: appName app1 state changed to UNKNOWN time: 2022-01-20T23:26:59.884120193+03:00 out: appName app1 state changed to INITIAL time: 2022-01-20T23:27:00.885001148+03:00 out: appName app1 state changed to RESOLVING_TAG time: 2022-01-20T23:27:03.890094966+03:00 out: appName app1 state changed to LOADING time: 2022-01-20T23:27:04.892434431+03:00 out: appName app1 state changed to CREATING_VOLUME time: 2022-01-20T23:27:05.901737739+03:00 out: appName app1 state changed to INSTALLED time: 2022-01-20T23:27:13.916877202+03:00 out: appName app1 state changed to BOOTING time: 2022-01-20T23:27:22.930006252+03:00 out: appName app1 state changed to RUNNING testProc.go:84: time: 2022-01-20T23:27:22.930032722+03:00 out: projects.ProcInfoFunc done with return: time: 2022-01-20T23:27:22.930027863+03:00 out: app app1 state RUNNING testContext.go:244: done for device f768cb62-e127-4c43-804a-1df96eb251b3 --- PASS: TestAppStatus (28.01s) PASS [stderr] time="2022-01-20T23:27:22+03:00" level=info msg="time: 2022-01-20T23:27:22.930032722+03:00 out: projects.ProcInfoFunc done with return: \ntime: 2022-01-20T23:27:22.930027863+03:00 out: app app1 state RUNNING\n" > exec -t 5m bash wait_and_get_ip.sh app1 8028 [stdout] IP address of app1 is: 10.2.100.130 [stderr] % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8028: No route to host % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8028: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8028: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8028: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8028: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8028: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8028: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8028: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8028: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8028: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 90 1330 90 1209 0 0 16561 0 --:--:-- --:--:-- --:--:-- 16337 100 1330 100 1330 0 0 17500 0 --:--:-- --:--:-- --:--:-- 17272 > grep 'app1_ip=10.2.100.\d+' .env > source .env # Deploy app2 and connect it to VLAN 100 (80.859s) > eden pod deploy -n app2 --memory=512MB --networks=nat --networks=switch -p 8029:80 --vlan=switch:100 --metadata="url=http://${app1_ip}/user-data.html" docker://lfedge/eden-docker-test:83cfe07 [stdout] {"id":{"uuid":"f768cb62-e127-4c43-804a-1df96eb251b3","version":"11"},"apps":[{"uuidandversion":{"uuid":"ef10e9c8-fed4-4bee-960b-d230a9a4a270","version":"1"},"displayname":"dhcp-server","fixedresources":{"memory":512000,"maxmem":512000,"vcpus":1,"rootdev":"/dev/xvda1","bootloader":"/usr/lib/xen/boot/ovmf.bin"},"drives":[{"image":{"uuidandversion":{"uuid":"2d1b3a75-ad50-4e44-be1b-30321a122ab7","version":"1"},"name":"lfedge/eden-docker-test:83cfe07","iformat":8,"dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f"}}],"activate":true,"interfaces":[{"name":"default","networkId":"f9443070-754f-4132-8d69-913bc3d465aa","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1},{"matches":[{"type":"protocol","value":"tcp"},{"type":"lport","value":"8027"}],"actions":[{"portmap":true,"appPort":80}],"id":2}]},{"name":"default","networkId":"4b155b22-12b7-454e-98fe-110f94d79caf","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1}]}],"volumeRefList":[{"uuid":"0ee24ab5-02e0-4094-b799-4bbce7559b65","mount_dir":"/"},{"uuid":"0bddc904-0f68-4851-b0cc-67b5c459173d","mount_dir":"/app"}]},{"uuidandversion":{"uuid":"4f615172-8cae-41a5-a570-6a35d2191f98","version":"1"},"displayname":"app1","fixedresources":{"memory":512000,"maxmem":512000,"vcpus":1,"rootdev":"/dev/xvda1","bootloader":"/usr/lib/xen/boot/ovmf.bin"},"drives":[{"image":{"uuidandversion":{"uuid":"2d1b3a75-ad50-4e44-be1b-30321a122ab7","version":"1"},"name":"lfedge/eden-docker-test:83cfe07","iformat":8,"dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f"}}],"activate":true,"interfaces":[{"name":"default","networkId":"f9443070-754f-4132-8d69-913bc3d465aa","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1},{"matches":[{"type":"protocol","value":"tcp"},{"type":"lport","value":"8028"}],"actions":[{"portmap":true,"appPort":80}],"id":2}]},{"name":"default","networkId":"4b155b22-12b7-454e-98fe-110f94d79caf","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1}],"access_vlan_id":100}],"cipherData":{"cipherContextId":"78e58fad-c5e5-50fa-8749-445895b3c333","initialValue":"NLInh+RmYpHRDu472GEIyg==","cipherData":"zm4TxEnO7FzCCdnmVWYahAxcO8cFutlzI38=","clearTextSha256":"Hy+421aXtyQGBwnPA4nFqF/CuRmlZ9uMUsJ9gqbW+fA="},"volumeRefList":[{"uuid":"d93c6e11-922b-4bdc-9920-b5d252bd0287","mount_dir":"/"}]},{"uuidandversion":{"uuid":"7d4eb718-b319-4365-a275-0cd3b4e43d9e","version":"1"},"displayname":"app2","fixedresources":{"memory":512000,"maxmem":512000,"vcpus":1,"rootdev":"/dev/xvda1","bootloader":"/usr/lib/xen/boot/ovmf.bin"},"drives":[{"image":{"uuidandversion":{"uuid":"2d1b3a75-ad50-4e44-be1b-30321a122ab7","version":"1"},"name":"lfedge/eden-docker-test:83cfe07","iformat":8,"dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f"}}],"activate":true,"interfaces":[{"name":"default","networkId":"f9443070-754f-4132-8d69-913bc3d465aa","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1},{"matches":[{"type":"protocol","value":"tcp"},{"type":"lport","value":"8029"}],"actions":[{"portmap":true,"appPort":80}],"id":2}]},{"name":"default","networkId":"4b155b22-12b7-454e-98fe-110f94d79caf","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1}],"access_vlan_id":100}],"cipherData":{"cipherContextId":"78e58fad-c5e5-50fa-8749-445895b3c333","initialValue":"NLInh+RmYpHRDu472GEIyg==","cipherData":"zk4+8lXE3k6hIOifVXcA3XPON4MYDv6mlRezbTiCfWO79PnkE20PzOuca7ezTiPiRYIhD21kxW0Ycg==","clearTextSha256":"9t9pxIWkL6SekTHr7qd5lKtkWWIm8kcr92/uGtBJw7c="},"volumeRefList":[{"uuid":"8d891d8c-3aad-4f52-8b3f-e483560683d5","mount_dir":"/"}]}],"networks":[{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1","type":4,"ip":{"dhcp":4,"dhcpRange":{}}},{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2","type":4,"ip":{"dhcp":4,"dhcpRange":{}}}],"datastores":[{"id":"517dafd4-9a49-4687-9cd6-41d07a300d3f","dType":5,"fqdn":"docker://index.docker.io"},{"id":"0f14eefd-e798-4570-a6f0-1ce2d32ddfc1","dType":5,"fqdn":"docker://10.10.88.5:5050"}],"reboot":{"counter":1000},"configItems":[{"key":"app.allow.vnc","value":"true"},{"key":"debug.default.loglevel","value":"info"},{"key":"debug.default.remote.loglevel","value":"warning"},{"key":"debug.enable.ssh","value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDQwR/mswL+MCrORHWISsiPUrj7UupqLF75fq17KyEIMY10Nmw5pczG/0edLS0ltOBYX/d1FNVTxe2rQZDdJDP7hsIznbEFd8gYTc0r4qCFcMONzaB4xz9CdXbGWnijWou39nJPUO9FvJrdGQrd/ZH8DCC06+LMybEfiwjRz/6FViA/hvs5z/9yNb7qt0ONjkjANe9N/egQGz7mzYwInQWu2RJ3JwSI/YqIFAxucELkOEV3//Io6m6nhoyXfkDhhR2L/SSrTfuV/jRKa6VE0K3ItkQ8gOJYWBufUdLe4YoryvR7GsP+nSeLIr2FLY/UqOoA1R2PtJp13j538pFllPoNHG5ya+LbTAKDTnx7njEdIC5aRNCvgBjpO4TsDSfgWwVPLrVc+WMC7Un0oT+QB1/LRgXpEF0nfOPSLpCO+dofBjEWApGVwwn+htugjnVnBq885RFLFU8mVWPQE1XrBxBtsyuY6MkaxcYVVYvH+qJrWds6uWmxD+f3V2+jmImu0IB7IjID+gItt+7pE+nes/E0PjxntphGzGHCzdlGKBRydzoaFaBxiMf1sYP3jK+21MtxMgSuWoSpxYMjNLnVRvp+VTUaShxFVquel1zZj2ocBB3KSAr6xScdsVn56SsepYX08RX9r/ZCDcbPRHUd8/oyBjFBjzKkvezT4XpKXwvC4Q==\n"},{"key":"newlog.allow.fastupload","value":"true"},{"key":"timer.config.interval","value":"5"},{"key":"timer.download.retry","value":"60"},{"key":"timer.metric.interval","value":"10"}],"systemAdapterList":[{"name":"eth0","uplink":true,"networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1"},{"name":"eth1","networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2"}],"deviceIoList":[{"ptype":1,"phylabel":"eth0","phyaddrs":{"Ifname":"eth0"},"logicallabel":"eth0","assigngrp":"eth0","usage":1,"usagePolicy":{"freeUplink":true}},{"ptype":1,"phylabel":"eth1","phyaddrs":{"Ifname":"eth1"},"logicallabel":"eth1","assigngrp":"eth1","usage":2,"usagePolicy":{"freeUplink":true}}],"productName":"general","networkInstances":[{"uuidandversion":{"uuid":"f9443070-754f-4132-8d69-913bc3d465aa","version":"1"},"displayname":"nat","instType":2,"activate":true,"port":{"type":1,"name":"eth0"},"cfg":{},"ipType":1,"ip":{"subnet":"10.1.0.0/24","gateway":"10.1.0.1","dns":["10.1.0.1"],"dhcpRange":{"start":"10.1.0.2","end":"10.1.0.254"}}},{"uuidandversion":{"uuid":"4b155b22-12b7-454e-98fe-110f94d79caf","version":"1"},"displayname":"switch","instType":1,"activate":true,"cfg":{},"ipType":1,"ip":{}}],"cipherContexts":[{"contextId":"78e58fad-c5e5-50fa-8749-445895b3c333","hashScheme":1,"keyExchangeScheme":1,"encryptionScheme":1,"deviceCertHash":"LUWnFZd7x5I1FWyu7Uga1w==","controllerCertHash":"IonToDGfP/1gDc4+RYigcg=="}],"contentInfo":[{"uuid":"d03dcd35-315a-4be8-bf99-4f3faa7d41ad","dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f","URL":"lfedge/eden-docker-test:83cfe07","iformat":8,"displayName":"lfedge/eden-docker-test:83cfe07"},{"uuid":"0f4eb04a-a9ae-4815-a153-61a849ce480a","dsId":"0f14eefd-e798-4570-a6f0-1ce2d32ddfc1","URL":"eden/dhcp-server:0da72aded4956cae87eaac73b39cde7e442770ee26ca30ac8c5fa2afa19aaf3a","iformat":8,"displayName":"dhcp-server-1"},{"uuid":"3a1f5dc8-d830-4ee4-a605-5349d853370e","dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f","URL":"lfedge/eden-docker-test:83cfe07","iformat":8,"displayName":"lfedge/eden-docker-test:83cfe07"},{"uuid":"af0b8ee1-df65-49a2-b5d4-8f0dccfe42e8","dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f","URL":"lfedge/eden-docker-test:83cfe07","iformat":8,"displayName":"lfedge/eden-docker-test:83cfe07"}],"volumes":[{"uuid":"0ee24ab5-02e0-4094-b799-4bbce7559b65","origin":{"type":2,"downloadContentTreeID":"d03dcd35-315a-4be8-bf99-4f3faa7d41ad"},"displayName":"dhcp-server_0_m_0"},{"uuid":"0bddc904-0f68-4851-b0cc-67b5c459173d","origin":{"type":2,"downloadContentTreeID":"0f4eb04a-a9ae-4815-a153-61a849ce480a"},"maxsizebytes":209715200,"displayName":"dhcp-server_1_m_0"},{"uuid":"d93c6e11-922b-4bdc-9920-b5d252bd0287","origin":{"type":2,"downloadContentTreeID":"3a1f5dc8-d830-4ee4-a605-5349d853370e"},"displayName":"app1_0_m_0"},{"uuid":"8d891d8c-3aad-4f52-8b3f-e483560683d5","origin":{"type":2,"downloadContentTreeID":"af0b8ee1-df65-49a2-b5d4-8f0dccfe42e8"},"displayName":"app2_0_m_0"}]} time="2022-01-20T23:28:00+03:00" level=info msg="deploy pod app2 with docker://lfedge/eden-docker-test:83cfe07 request sent" [stderr] 2022/01/20 23:27:59 EC PARAMETERS 2022/01/20 23:27:59 EC PRIVATE KEY > test eden.app.test -test.v -timewait 10m RUNNING app2 testProg: /home/insei/eden/dist/bin/eden.app.test [stdout] Docker app's state test === RUN TestAppStatus apps: '[app2]' state: 'RUNNING' secs: 600 time: 2022-01-20T23:28:00.504719077+03:00 out: appName app2 state changed to UNKNOWN time: 2022-01-20T23:28:01.778495208+03:00 out: appName app2 state changed to INITIAL time: 2022-01-20T23:28:02.781851505+03:00 out: appName app2 state changed to RESOLVING_TAG time: 2022-01-20T23:28:07.79337171+03:00 out: appName app2 state changed to LOADING time: 2022-01-20T23:28:08.795468173+03:00 out: appName app2 state changed to CREATING_VOLUME time: 2022-01-20T23:28:10.799032981+03:00 out: appName app2 state changed to INSTALLED time: 2022-01-20T23:28:21.812167353+03:00 out: appName app2 state changed to BOOTING time: 2022-01-20T23:28:31.831240142+03:00 out: appName app2 state changed to RUNNING testProc.go:84: time: 2022-01-20T23:28:31.831268295+03:00 out: projects.ProcInfoFunc done with return: time: 2022-01-20T23:28:31.831256253+03:00 out: app app2 state RUNNING testContext.go:244: done for device f768cb62-e127-4c43-804a-1df96eb251b3 --- PASS: TestAppStatus (32.34s) PASS [stderr] time="2022-01-20T23:28:31+03:00" level=info msg="time: 2022-01-20T23:28:31.831268295+03:00 out: projects.ProcInfoFunc done with return: \ntime: 2022-01-20T23:28:31.831256253+03:00 out: app app2 state RUNNING\n" > exec -t 5m bash wait_and_get_ip.sh app2 8029 [stdout] IP address of app2 is: 10.2.100.254 [stderr] % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8029: No route to host % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8029: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8029: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8029: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8029: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8029: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8029: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8029: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8029: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8029: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8029: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8029: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8029: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8029: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1329 100 1329 0 0 36916 0 --:--:-- --:--:-- --:--:-- 36916 > grep 'app2_ip=10.2.100.\d+' .env > source .env # Wait for app2 to obtain test_data from app1 (5.161s) > exec -t 5m bash wait_and_get_recv_data.sh app2 8029 [stdout] TEST_SEQUENCE[stderr] % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13 100 13 0 0 270 0 --:--:-- --:--:-- --:--:-- 265 100 13 100 13 0 0 270 0 --:--:-- --:--:-- --:--:-- 265 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13 100 13 0 0 254 0 --:--:-- --:--:-- --:--:-- 254 > stdout 'TEST_SEQUENCE' # Deploy app3 and connect it to VLAN 200 (108.740s) > eden pod deploy -n app3 --memory=512MB --networks=nat --networks=switch -p 8030:80 --vlan=switch:200 --metadata="url=http://${app1_ip}/user-data.html" docker://lfedge/eden-docker-test:83cfe07 [stdout] {"id":{"uuid":"f768cb62-e127-4c43-804a-1df96eb251b3","version":"12"},"apps":[{"uuidandversion":{"uuid":"ef10e9c8-fed4-4bee-960b-d230a9a4a270","version":"1"},"displayname":"dhcp-server","fixedresources":{"memory":512000,"maxmem":512000,"vcpus":1,"rootdev":"/dev/xvda1","bootloader":"/usr/lib/xen/boot/ovmf.bin"},"drives":[{"image":{"uuidandversion":{"uuid":"2d1b3a75-ad50-4e44-be1b-30321a122ab7","version":"1"},"name":"lfedge/eden-docker-test:83cfe07","iformat":8,"dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f"}}],"activate":true,"interfaces":[{"name":"default","networkId":"f9443070-754f-4132-8d69-913bc3d465aa","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1},{"matches":[{"type":"protocol","value":"tcp"},{"type":"lport","value":"8027"}],"actions":[{"portmap":true,"appPort":80}],"id":2}]},{"name":"default","networkId":"4b155b22-12b7-454e-98fe-110f94d79caf","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1}]}],"volumeRefList":[{"uuid":"0ee24ab5-02e0-4094-b799-4bbce7559b65","mount_dir":"/"},{"uuid":"0bddc904-0f68-4851-b0cc-67b5c459173d","mount_dir":"/app"}]},{"uuidandversion":{"uuid":"4f615172-8cae-41a5-a570-6a35d2191f98","version":"1"},"displayname":"app1","fixedresources":{"memory":512000,"maxmem":512000,"vcpus":1,"rootdev":"/dev/xvda1","bootloader":"/usr/lib/xen/boot/ovmf.bin"},"drives":[{"image":{"uuidandversion":{"uuid":"2d1b3a75-ad50-4e44-be1b-30321a122ab7","version":"1"},"name":"lfedge/eden-docker-test:83cfe07","iformat":8,"dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f"}}],"activate":true,"interfaces":[{"name":"default","networkId":"f9443070-754f-4132-8d69-913bc3d465aa","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1},{"matches":[{"type":"protocol","value":"tcp"},{"type":"lport","value":"8028"}],"actions":[{"portmap":true,"appPort":80}],"id":2}]},{"name":"default","networkId":"4b155b22-12b7-454e-98fe-110f94d79caf","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1}],"access_vlan_id":100}],"cipherData":{"cipherContextId":"78e58fad-c5e5-50fa-8749-445895b3c333","initialValue":"NLInh+RmYpHRDu472GEIyg==","cipherData":"zm4TxEnO7FzCCdnmVWYahAxcO8cFutlzI38=","clearTextSha256":"Hy+421aXtyQGBwnPA4nFqF/CuRmlZ9uMUsJ9gqbW+fA="},"volumeRefList":[{"uuid":"d93c6e11-922b-4bdc-9920-b5d252bd0287","mount_dir":"/"}]},{"uuidandversion":{"uuid":"7d4eb718-b319-4365-a275-0cd3b4e43d9e","version":"1"},"displayname":"app2","fixedresources":{"memory":512000,"maxmem":512000,"vcpus":1,"rootdev":"/dev/xvda1","bootloader":"/usr/lib/xen/boot/ovmf.bin"},"drives":[{"image":{"uuidandversion":{"uuid":"2d1b3a75-ad50-4e44-be1b-30321a122ab7","version":"1"},"name":"lfedge/eden-docker-test:83cfe07","iformat":8,"dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f"}}],"activate":true,"interfaces":[{"name":"default","networkId":"f9443070-754f-4132-8d69-913bc3d465aa","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1},{"matches":[{"type":"protocol","value":"tcp"},{"type":"lport","value":"8029"}],"actions":[{"portmap":true,"appPort":80}],"id":2}]},{"name":"default","networkId":"4b155b22-12b7-454e-98fe-110f94d79caf","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1}],"access_vlan_id":100}],"cipherData":{"cipherContextId":"78e58fad-c5e5-50fa-8749-445895b3c333","initialValue":"NLInh+RmYpHRDu472GEIyg==","cipherData":"zk4+8lXE3k6hIOifVXcA3XPON4MYDv6mlRezbTiCfWO79PnkE20PzOuca7ezTiPiRYIhD21kxW0Ycg==","clearTextSha256":"9t9pxIWkL6SekTHr7qd5lKtkWWIm8kcr92/uGtBJw7c="},"volumeRefList":[{"uuid":"8d891d8c-3aad-4f52-8b3f-e483560683d5","mount_dir":"/"}]},{"uuidandversion":{"uuid":"4c075949-fb34-4eb9-ad23-3757689f6bc8","version":"1"},"displayname":"app3","fixedresources":{"memory":512000,"maxmem":512000,"vcpus":1,"rootdev":"/dev/xvda1","bootloader":"/usr/lib/xen/boot/ovmf.bin"},"drives":[{"image":{"uuidandversion":{"uuid":"2d1b3a75-ad50-4e44-be1b-30321a122ab7","version":"1"},"name":"lfedge/eden-docker-test:83cfe07","iformat":8,"dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f"}}],"activate":true,"interfaces":[{"name":"default","networkId":"f9443070-754f-4132-8d69-913bc3d465aa","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1},{"matches":[{"type":"protocol","value":"tcp"},{"type":"lport","value":"8030"}],"actions":[{"portmap":true,"appPort":80}],"id":2}]},{"name":"default","networkId":"4b155b22-12b7-454e-98fe-110f94d79caf","acls":[{"matches":[{"type":"ip","value":"0.0.0.0/0"}],"id":1}],"access_vlan_id":200}],"cipherData":{"cipherContextId":"78e58fad-c5e5-50fa-8749-445895b3c333","initialValue":"NLInh+RmYpHRDu472GEIyg==","cipherData":"zk4+8lXE3k6hIOifVXcA3XPON4MYDv6mlRezbTiCfWO79PnkE20PzOuca7ezTiPiRYIhD21kxW0Ycg==","clearTextSha256":"9t9pxIWkL6SekTHr7qd5lKtkWWIm8kcr92/uGtBJw7c="},"volumeRefList":[{"uuid":"dfe252c6-0b1f-4fdb-8624-401d7663e4e2","mount_dir":"/"}]}],"networks":[{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1","type":4,"ip":{"dhcp":4,"dhcpRange":{}}},{"id":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2","type":4,"ip":{"dhcp":4,"dhcpRange":{}}}],"datastores":[{"id":"517dafd4-9a49-4687-9cd6-41d07a300d3f","dType":5,"fqdn":"docker://index.docker.io"},{"id":"0f14eefd-e798-4570-a6f0-1ce2d32ddfc1","dType":5,"fqdn":"docker://10.10.88.5:5050"}],"reboot":{"counter":1000},"configItems":[{"key":"app.allow.vnc","value":"true"},{"key":"debug.default.loglevel","value":"info"},{"key":"debug.default.remote.loglevel","value":"warning"},{"key":"debug.enable.ssh","value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDQwR/mswL+MCrORHWISsiPUrj7UupqLF75fq17KyEIMY10Nmw5pczG/0edLS0ltOBYX/d1FNVTxe2rQZDdJDP7hsIznbEFd8gYTc0r4qCFcMONzaB4xz9CdXbGWnijWou39nJPUO9FvJrdGQrd/ZH8DCC06+LMybEfiwjRz/6FViA/hvs5z/9yNb7qt0ONjkjANe9N/egQGz7mzYwInQWu2RJ3JwSI/YqIFAxucELkOEV3//Io6m6nhoyXfkDhhR2L/SSrTfuV/jRKa6VE0K3ItkQ8gOJYWBufUdLe4YoryvR7GsP+nSeLIr2FLY/UqOoA1R2PtJp13j538pFllPoNHG5ya+LbTAKDTnx7njEdIC5aRNCvgBjpO4TsDSfgWwVPLrVc+WMC7Un0oT+QB1/LRgXpEF0nfOPSLpCO+dofBjEWApGVwwn+htugjnVnBq885RFLFU8mVWPQE1XrBxBtsyuY6MkaxcYVVYvH+qJrWds6uWmxD+f3V2+jmImu0IB7IjID+gItt+7pE+nes/E0PjxntphGzGHCzdlGKBRydzoaFaBxiMf1sYP3jK+21MtxMgSuWoSpxYMjNLnVRvp+VTUaShxFVquel1zZj2ocBB3KSAr6xScdsVn56SsepYX08RX9r/ZCDcbPRHUd8/oyBjFBjzKkvezT4XpKXwvC4Q==\n"},{"key":"newlog.allow.fastupload","value":"true"},{"key":"timer.config.interval","value":"5"},{"key":"timer.download.retry","value":"60"},{"key":"timer.metric.interval","value":"10"}],"systemAdapterList":[{"name":"eth0","uplink":true,"networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf1"},{"name":"eth1","networkUUID":"6822e35f-c1b8-43ca-b344-0bbc0ece8cf2"}],"deviceIoList":[{"ptype":1,"phylabel":"eth0","phyaddrs":{"Ifname":"eth0"},"logicallabel":"eth0","assigngrp":"eth0","usage":1,"usagePolicy":{"freeUplink":true}},{"ptype":1,"phylabel":"eth1","phyaddrs":{"Ifname":"eth1"},"logicallabel":"eth1","assigngrp":"eth1","usage":2,"usagePolicy":{"freeUplink":true}}],"productName":"general","networkInstances":[{"uuidandversion":{"uuid":"f9443070-754f-4132-8d69-913bc3d465aa","version":"1"},"displayname":"nat","instType":2,"activate":true,"port":{"type":1,"name":"eth0"},"cfg":{},"ipType":1,"ip":{"subnet":"10.1.0.0/24","gateway":"10.1.0.1","dns":["10.1.0.1"],"dhcpRange":{"start":"10.1.0.2","end":"10.1.0.254"}}},{"uuidandversion":{"uuid":"4b155b22-12b7-454e-98fe-110f94d79caf","version":"1"},"displayname":"switch","instType":1,"activate":true,"cfg":{},"ipType":1,"ip":{}}],"cipherContexts":[{"contextId":"78e58fad-c5e5-50fa-8749-445895b3c333","hashScheme":1,"keyExchangeScheme":1,"encryptionScheme":1,"deviceCertHash":"LUWnFZd7x5I1FWyu7Uga1w==","controllerCertHash":"IonToDGfP/1gDc4+RYigcg=="}],"contentInfo":[{"uuid":"d03dcd35-315a-4be8-bf99-4f3faa7d41ad","dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f","URL":"lfedge/eden-docker-test:83cfe07","iformat":8,"displayName":"lfedge/eden-docker-test:83cfe07"},{"uuid":"0f4eb04a-a9ae-4815-a153-61a849ce480a","dsId":"0f14eefd-e798-4570-a6f0-1ce2d32ddfc1","URL":"eden/dhcp-server:0da72aded4956cae87eaac73b39cde7e442770ee26ca30ac8c5fa2afa19aaf3a","iformat":8,"displayName":"dhcp-server-1"},{"uuid":"3a1f5dc8-d830-4ee4-a605-5349d853370e","dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f","URL":"lfedge/eden-docker-test:83cfe07","iformat":8,"displayName":"lfedge/eden-docker-test:83cfe07"},{"uuid":"af0b8ee1-df65-49a2-b5d4-8f0dccfe42e8","dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f","URL":"lfedge/eden-docker-test:83cfe07","iformat":8,"displayName":"lfedge/eden-docker-test:83cfe07"},{"uuid":"8aa34c84-1ee3-4a4c-82f0-8a929bb6e89b","dsId":"517dafd4-9a49-4687-9cd6-41d07a300d3f","URL":"lfedge/eden-docker-test:83cfe07","iformat":8,"displayName":"lfedge/eden-docker-test:83cfe07"}],"volumes":[{"uuid":"0ee24ab5-02e0-4094-b799-4bbce7559b65","origin":{"type":2,"downloadContentTreeID":"d03dcd35-315a-4be8-bf99-4f3faa7d41ad"},"displayName":"dhcp-server_0_m_0"},{"uuid":"0bddc904-0f68-4851-b0cc-67b5c459173d","origin":{"type":2,"downloadContentTreeID":"0f4eb04a-a9ae-4815-a153-61a849ce480a"},"maxsizebytes":209715200,"displayName":"dhcp-server_1_m_0"},{"uuid":"d93c6e11-922b-4bdc-9920-b5d252bd0287","origin":{"type":2,"downloadContentTreeID":"3a1f5dc8-d830-4ee4-a605-5349d853370e"},"displayName":"app1_0_m_0"},{"uuid":"8d891d8c-3aad-4f52-8b3f-e483560683d5","origin":{"type":2,"downloadContentTreeID":"af0b8ee1-df65-49a2-b5d4-8f0dccfe42e8"},"displayName":"app2_0_m_0"},{"uuid":"dfe252c6-0b1f-4fdb-8624-401d7663e4e2","origin":{"type":2,"downloadContentTreeID":"8aa34c84-1ee3-4a4c-82f0-8a929bb6e89b"},"displayName":"app3_0_m_0"}]} time="2022-01-20T23:29:26+03:00" level=info msg="deploy pod app3 with docker://lfedge/eden-docker-test:83cfe07 request sent" [stderr] 2022/01/20 23:29:25 EC PARAMETERS 2022/01/20 23:29:25 EC PRIVATE KEY > test eden.app.test -test.v -timewait 10m RUNNING app3 testProg: /home/insei/eden/dist/bin/eden.app.test [stdout] Docker app's state test === RUN TestAppStatus apps: '[app3]' state: 'RUNNING' secs: 600 time: 2022-01-20T23:29:26.484993024+03:00 out: appName app3 state changed to UNKNOWN time: 2022-01-20T23:29:31.373380619+03:00 out: appName app3 state changed to INITIAL time: 2022-01-20T23:29:32.374340827+03:00 out: appName app3 state changed to RESOLVING_TAG time: 2022-01-20T23:29:36.378104573+03:00 out: appName app3 state changed to LOADING time: 2022-01-20T23:29:38.382816042+03:00 out: appName app3 state changed to CREATING_VOLUME time: 2022-01-20T23:29:42.39041804+03:00 out: appName app3 state changed to INSTALLED time: 2022-01-20T23:30:06.473484902+03:00 out: appName app3 state changed to BOOTING time: 2022-01-20T23:30:19.522880193+03:00 out: appName app3 state changed to RUNNING testProc.go:84: time: 2022-01-20T23:30:19.522919978+03:00 out: projects.ProcInfoFunc done with return: time: 2022-01-20T23:30:19.522897696+03:00 out: app app3 state RUNNING testContext.go:244: done for device f768cb62-e127-4c43-804a-1df96eb251b3 --- PASS: TestAppStatus (54.06s) PASS [stderr] time="2022-01-20T23:30:19+03:00" level=info msg="time: 2022-01-20T23:30:19.522919978+03:00 out: projects.ProcInfoFunc done with return: \ntime: 2022-01-20T23:30:19.522897696+03:00 out: app app3 state RUNNING\n" > exec -t 5m bash wait_and_get_ip.sh app3 8030 [stdout] IP address of app3 is: 10.2.0.12 [stderr] % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: No route to host % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (7) Failed to connect to 10.10.88.18 port 8030: Connection refused % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1323 100 1323 0 0 8217 0 --:--:-- --:--:-- --:--:-- 8217 > grep 'app3_ip=10.2.200.\d+' .env [.env] app3_ip=10.2.0.12 FAIL: ../network/testdata/vlans.txt:67: no match for `app3_ip=10.2.200.\d+` found in .env --- FAIL: TestEdenScripts (0.00s) --- FAIL: TestEdenScripts/vlans (505.99s) FAIL Default test fail scenario eden status ✔ Adam status: container with name eden_adam is running Adam is expected at https://192.168.66.189:3333 For local Adam you can run 'docker logs eden_adam' to see logs ✔ Registry status: container with name eden_registry is running Registry is expected at https://10.10.88.5:5050 For local registry you can run 'docker logs eden_registry' to see logs ✔ Redis status: container with name eden_redis is running Redis is expected at 192.168.66.189:6379 For local Redis you can run 'docker logs eden_redis' to see logs ✔ EServer process status: container with name eden_eserver is running EServer is expected at http://192.168.66.189:8888 from EVE For local EServer you can run 'docker logs eden_eserver' to see logs --- context: default --- EVE state: registered ✔ EVE REMOTE IPs: 10.10.88.18; fe80::9a8:b614:f631:dbf3 Last info received time: 2022-01-20 23:31:09 +0300 MSK ✔ EVE memory: 2.9 GB/921 MB ✔ EVE Request IP: 10.10.88.18 ------ eden pod ps NAME IMAGE UUID INTERNAL EXTERNAL MEMORY STATE(ADAM) LAST_STATE(EVE) app1 lfedge/eden-docker-test:83cfe07 4f615172-8cae-41a5-a570-6a35d2191f98 10.1.0.3:80; 10.2.100.130 10.10.88.18:8028 31 MB/469 MB IN_CONFIG RUNNING app2 lfedge/eden-docker-test:83cfe07 7d4eb718-b319-4365-a275-0cd3b4e43d9e 10.1.0.4:80; 10.2.100.254 10.10.88.18:8029 31 MB/469 MB IN_CONFIG RUNNING app3 lfedge/eden-docker-test:83cfe07 4c075949-fb34-4eb9-ad23-3757689f6bc8 10.1.0.5:80; 10.2.0.12 10.10.88.18:8030 31 MB/469 MB IN_CONFIG RUNNING dhcp-server lfedge/eden-docker-test:83cfe07 ef10e9c8-fed4-4bee-960b-d230a9a4a270 10.1.0.2:80; fe80::16:3eff:fe52:b0af 10.10.88.18:8027 31 MB/469 MB IN_CONFIG RUNNING eden network ls NAME UUID TYPE CIDR STATS STATE(ADAM) LAST_STATE(EVE) nat f9443070-754f-4132-8d69-913bc3d465aa ZnetInstLocal 10.1.0.0/24 rx:{totalPackets:169 totalBytes:20501} tx:{totalPackets:261 drops:3 totalBytes:27104} IN_CONFIG ACTIVATED switch 4b155b22-12b7-454e-98fe-110f94d79caf ZnetInstSwitch rx:{totalPackets:299 totalBytes:41087} tx:{totalPackets:334 drops:3 totalBytes:54706} IN_CONFIG ACTIVATED eden volume ls NAME UUID REF IMAGE TYPE SIZE MAX_SIZE MOUNT STATE(ADAM) LAST_STATE(EVE) app1_0_m_0 d93c6e11-922b-4bdc-9920-b5d252bd0287 app: app1 lfedge/eden-docker-test:83cfe07 CONTAINER 153 MB - / IN_CONFIG DELIVERED app2_0_m_0 8d891d8c-3aad-4f52-8b3f-e483560683d5 app: app2 lfedge/eden-docker-test:83cfe07 CONTAINER 153 MB - / IN_CONFIG DELIVERED app3_0_m_0 dfe252c6-0b1f-4fdb-8624-401d7663e4e2 app: app3 lfedge/eden-docker-test:83cfe07 CONTAINER 3.4 kB - / IN_CONFIG DELIVERED dhcp-server_0_m_0 0ee24ab5-02e0-4094-b799-4bbce7559b65 app: dhcp-server lfedge/eden-docker-test:83cfe07 CONTAINER 153 MB - / IN_CONFIG DELIVERED dhcp-server_1_m_0 0bddc904-0f68-4851-b0cc-67b5c459173d app: dhcp-server eden/dhcp-server:0da72aded4956cae87eaac73b39cde7e442770ee26ca30ac8c5fa2afa19aaf3a CONTAINER 2.3 kB - /app IN_CONFIG DELIVERED check fatal_stacks in logs time="2022-01-20T23:31:23+03:00" level=debug msg="failScenario: failScenario.txt"