[Avocado-devel] How to enable a new platform and Linux on avocado-vt?

Wei WA Li liwbj at cn.ibm.com
Thu May 19 02:00:03 UTC 2016



Hi all,

Could you help me to take a look for this issue? I am still trying to do
it, but I have no idea about it. Thank you very much.
https://github.com/avocado-framework/avocado-vt/issues/512


I just installed avocado-vt on our s390x platform, the result is as below.

[root at zs95kv2 avocado]# ./scripts/avocado run
--vt-machine-type=s390-ccw-kvmibm-1.1.1
type_specific.io-github-autotest-qemu.migrate.default.tcp --show-g
Config
file /usr/share/avocado/data/avocado-vt/backends/qemu/cfg/guest-os.cfg auto
generated from guest OS samples
Config
file /usr/share/avocado/data/avocado-vt/backends/qemu/cfg/subtests.cfg auto
generated from subtest samples
Test discovery plugin <avocado_vt.loader.VirtTestLoader object at
0x917d17f0> failed: option --vt-guest-os 'JeOS.23' is not on the known
guest os for aone' and machine type 's390-ccw-kvmibm-1.1.1'. (see
--vt-list-guests)

Unable to discover url(s)
'type_specific.io-github-autotest-qemu.migrate.default.tcp' with loader
plugins(s) 'file', 'vt', 'external', try running 'avoist -V
type_specific.io-github-autotest-qemu.migrate.default.tcp' to see the
details.
[root at zs95kv2 avocado]#


s390x is our platfrom on Z mianframe, and I am trying to test it
virtualiztion functions by avocado. The relationship is as below.

s390     like    X86
zLinux   like    Fedora
zKVM     like    KVM

So current avocado does not support our platfrom, I want to modify it and
contribute it.


Shoud I need to add some cfg here firstly?

[root at zs95kv2 Linux]# ll
total 72
drwxr-xr-x.  4 root root 4096 May 11 04:45 CentOS
-rw-r--r--.  1 root root  416 May 11 04:45 CentOS.cfg
drwxr-xr-x.  2 root root 4096 May 11 04:45 Debian
-rw-r--r--.  1 root root  275 May 11 04:45 Debian.cfg
drwxr-xr-x.  2 root root 4096 May 11 04:45 Fedora
-rw-r--r--.  1 root root 1787 May 11 04:45 Fedora.cfg
drwxr-xr-x.  2 root root 4096 May 11 04:45 JeOS
-rw-r--r--.  1 root root   21 May 11 04:45 JeOS.cfg
drwxr-xr-x.  2 root root 4096 May 11 04:45 LinuxCustom
-rw-r--r--.  1 root root   64 May 11 04:45 LinuxCustom.cfg
drwxr-xr-x.  2 root root 4096 May 11 04:45 OpenSUSE
-rw-r--r--.  1 root root  549 May 11 04:45 OpenSUSE.cfg
drwxr-xr-x. 27 root root 4096 May 11 04:45 RHEL
-rw-r--r--.  1 root root  973 May 11 04:45 RHEL.cfg
drwxr-xr-x.  2 root root 4096 May 11 04:45 SLES
-rw-r--r--.  1 root root  772 May 11 04:45 SLES.cfg
drwxr-xr-x.  2 root root 4096 May 11 04:45 Ubuntu
-rw-r--r--.  1 root root  361 May 11 04:45 Ubuntu.cfg
[root at zs95kv2 Linux]# pwd
/avocado/avocado-vt/shared/cfg/guest-os/Linux
[root at zs95kv2 Linux]#

Best regards,
-
Li, Wei (李 伟)
zKVM Solution Test
IBM China Systems & Technology Lab, Beijing
E-Mail: liwbj at cn.ibm.com
Tel: 86-10-82450631  Notes: Wei WA Li/China/IBM
Address: 3BW298, Ring Bldg. No.28 Building, ZhongGuanCun Software Park,No.8
         DongBeiWang West Road, ShangDi, Haidian District, Beijing,
P.R.China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20160519/5b99d477/attachment.htm>


More information about the Avocado-devel mailing list