You are here: Home / Projects / EVE / eveadm / tests / Testing eveadm on Ubuntu Server 18.04 on VirtualBox. February 5, 2020 / eveadm.rkt.test.sh_ubuntu-18.04-server_virtualbox_3gb_20200205.log

eveadm.rkt.test.sh_ubuntu-18.04-server_virtualbox_3gb_20200205.log

by Elena Korytko last modified Feb 05, 2020 09:21 PM

application log icon eveadm.rkt.test.sh_ubuntu-18.04-server_virtualbox_3gb_20200205.log — application log, 3 kB (3812 bytes)

File contents

curdir=/home/user/eveadm/tests/eveadm.rkt.test.sh
curdir=/home/user/eveadm/tests
EVEADM=/home/user/eveadm/tests/../eveadm
/tmp/pods_test
rm -rf /tmp/pods_test
mkdir /tmp/pods_test
========================================
create image
========================================
IMAGE_HASH=sha512-fa1cb92dc276b0f9bedf87981e61ecde
echo $IMAGE_HASH
sha512-fa1cb92dc276b0f9bedf87981e61ecde
========================================
list image
========================================
/home/user/eveadm/tests/../eveadm rkt list -i --dir=/tmp/pods_test
ID			NAME			SIZE	IMPORT TIME	LAST USED
sha512-fa1cb92dc276	coreos.com/etcd:v2.0.0	24MiB	2 seconds ago	2 seconds ago
========================================
info image
========================================
/home/user/eveadm/tests/../eveadm rkt info -i --dir=/tmp/pods_test sha512-fa1cb92dc276b0f9bedf87981e61ecde
{
	"acKind": "ImageManifest",
	"acVersion": "0.1.1",
	"name": "coreos.com/etcd",
	"labels": [
		{
			"name": "os",
			"value": "linux"
		},
		{
			"name": "arch",
			"value": "amd64"
		},
		{
			"name": "version",
			"value": "v2.0.0"
		}
	],
	"app": {
		"exec": [
			"/etcd"
		],
		"user": "0",
		"group": "0"
	}
}
========================================
create container
========================================
systemd-run /home/user/eveadm/tests/../eveadm rkt create --dir=/tmp/pods_test sha512-fa1cb92dc276b0f9bedf87981e61ecde --no-overlay=true --stage1-path=/home/user/eveadm/tests/stage1-xen.aci
Running as unit: run-r85a4f3c5d20443d9b56a9df9d897bf06.service
========================================
sleep 5
========================================
========================================
list container
========================================
until [ "$CONTAINERS" ]
do
CONTAINERS=91bf8fb5 etcd coreos.com/etcd:v2.0.0 running 1 second ago 1 second ago default:ip4=172.16.28.3
done
echo "$CONTAINERS"
91bf8fb5	etcd	coreos.com/etcd:v2.0.0	running	1 second ago	1 second ago	default:ip4=172.16.28.3
CONTAINER_UUID=$(echo "$CONTAINERS"|cut -f1)
echo "$CONTAINER_UUID"
91bf8fb5
========================================
start container
========================================
/home/user/eveadm/tests/../eveadm rkt start --dir=/tmp/pods_test --stage1-type=common 91bf8fb5
Not implemented for common type of stage1
sleep 5
========================================
info container
========================================
/home/user/eveadm/tests/../eveadm rkt info --dir=/tmp/pods_test 91bf8fb5
{"name":"91bf8fb5-0bf0-4267-9846-624977c4816d","state":"exited","networks":[{"netName":"default","netConf":"stage1/rootfs/etc/rkt/net.d/99-default.conf","pluginPath":"stage1/rootfs/usr/lib/rkt/plugins/net/host-local","ifName":"vif","ip":"172.16.28.3","args":"","mask":"255.255.255.0"}],"app_names":["etcd"],"apps":[{"name":"etcd","state":"exited","created_at":1580935588816644144,"started_at":1580935590392650552,"image_id":"sha512-fa1cb92dc276b0f9bedf87981e61ecde93cc16432d2441f23aa006a42bb873df"}],"created_at":1580935588,"started_at":1580935590}
========================================
stop container
========================================
/home/user/eveadm/tests/../eveadm rkt stop --dir=/tmp/pods_test 91bf8fb5
pod "91bf8fb5-0bf0-4267-9846-624977c4816d" is already stopped
sleep 5
========================================
delete container
========================================
/home/user/eveadm/tests/../eveadm rkt delete --dir=/tmp/pods_test 91bf8fb5
"91bf8fb5-0bf0-4267-9846-624977c4816d"
========================================
delete image
========================================
/home/user/eveadm/tests/../eveadm rkt delete -i --dir=/tmp/pods_test sha512-fa1cb92dc276b0f9bedf87981e61ecde
successfully removed aci for image: "sha512-fa1cb92dc276b0f9bedf87981e61ecde93cc16432d2441f23aa006a42bb873df"
========================================
Navigation