added automated QA images, patterns and scripts 04/16204/3 accepted/tizen/generic/20140211.161557 accepted/tizen/ivi/20140211.184708 submit/tizen/20140211.161823
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>
Mon, 10 Feb 2014 17:46:29 +0000 (18:46 +0100)
committerStéphane Desneux (sdesneux) <stephane.desneux@open.eurogiciel.org>
Tue, 11 Feb 2014 16:03:42 +0000 (08:03 -0800)
Change-Id: I2fb03a6a273ee2e475d15f9d67544d01f314078a
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
generic.yaml
ks/generic-qa-unsafe-wayland-mbr-i586.yaml [new file with mode: 0644]
ks/generic-qa-unsafe-wayland-mbr-x86_64.yaml [new file with mode: 0644]
ks/generic-qa-unsafe-x11-mbr-i586.yaml [new file with mode: 0644]
ks/generic-qa-unsafe-x11-mbr-x86_64.yaml [new file with mode: 0644]
patterns/generic-autoqa.yaml [new file with mode: 0644]
patterns/generic-qa.yaml
scripts/autoqa.post [new file with mode: 0644]

index f202d49..7622340 100644 (file)
@@ -35,6 +35,13 @@ Default:
 Minimal:
     Part: generic-mbr
 
+Minimal_QA:
+    Part: generic-mbr
+    Groups:
+        - Generic Automated QA Tools
+    PostScripts:
+        - autoqa
+
 Wayland:
     Part: generic-mbr
     UserGroups: "audio,video,weston-launch"
@@ -48,6 +55,21 @@ Wayland:
         - wrt-widgets
         - vconf-keys-default
 
+Wayland_QA:
+    Part: generic-mbr
+    UserGroups: "audio,video,weston-launch"
+    Groups:
+        - Generic Wayland
+        - Generic Adaptation
+        - Generic Middleware
+        - Generic Applications
+        - Generic Automated QA Tools
+    PostScripts:
+        - base-weston-default
+        - wrt-widgets
+        - vconf-keys-default
+        - autoqa
+
 X11:
     Part: generic-mbr
     Groups:
@@ -60,3 +82,17 @@ X11:
         - wrt-widgets
         - vconf-keys-default
 
+X11_QA:
+    Part: generic-mbr
+    Groups:
+        - Generic X11
+        - Generic Adaptation
+        - Generic Middleware
+        - Generic Applications
+        - Generic Automated QA Tools
+    PostScripts:
+        - base-x11-default
+        - wrt-widgets
+        - vconf-keys-default
+        - autoqa
+
diff --git a/ks/generic-qa-unsafe-wayland-mbr-i586.yaml b/ks/generic-qa-unsafe-wayland-mbr-i586.yaml
new file mode 100644 (file)
index 0000000..6a143d6
--- /dev/null
@@ -0,0 +1,9 @@
+Name: Generic QA Unsafe Wayland MBR i586
+Schedule: "*"
+Active: True
+Platform: Wayland_QA
+Part: generic-mbr
+FileName: generic-qa-unsafe-wayland-mbr-i586
+Kernel: kernel-x86-generic
+Repos:
+    - generic-wayland_i586
diff --git a/ks/generic-qa-unsafe-wayland-mbr-x86_64.yaml b/ks/generic-qa-unsafe-wayland-mbr-x86_64.yaml
new file mode 100644 (file)
index 0000000..cc821d1
--- /dev/null
@@ -0,0 +1,10 @@
+Name: Generic QA Unsafe Wayland MBR x86_64
+Architecture: x86_64
+Schedule: "*"
+Active: True
+Platform: Wayland_QA
+Part: generic-mbr
+FileName: generic-qa-unsafe-wayland-mbr-x86_64
+Kernel: kernel-x86-generic
+Repos:
+    - generic-wayland_x86_64
diff --git a/ks/generic-qa-unsafe-x11-mbr-i586.yaml b/ks/generic-qa-unsafe-x11-mbr-i586.yaml
new file mode 100644 (file)
index 0000000..77d1bdc
--- /dev/null
@@ -0,0 +1,9 @@
+Name: Generic QA Unsafe X11 MBR i586
+Schedule: "*"
+Active: True
+Platform: X11_QA
+Part: generic-mbr
+FileName: generic-qa-unsafe-x11-mbr-i586
+Kernel: kernel-x86-generic
+Repos:
+    - generic-x11_i586
diff --git a/ks/generic-qa-unsafe-x11-mbr-x86_64.yaml b/ks/generic-qa-unsafe-x11-mbr-x86_64.yaml
new file mode 100644 (file)
index 0000000..c140742
--- /dev/null
@@ -0,0 +1,10 @@
+Name: Generic QA Unsafe X11 MBR x86_64
+Architecture: x86_64
+Schedule: "*"
+Active: True
+Platform: X11_QA
+Part: generic-mbr
+FileName: generic-qa-unsafe-x11-mbr-x86_64
+Kernel: kernel-x86-generic
+Repos:
+    - generic-x11_x86_64
diff --git a/patterns/generic-autoqa.yaml b/patterns/generic-autoqa.yaml
new file mode 100644 (file)
index 0000000..713aa3a
--- /dev/null
@@ -0,0 +1,5 @@
+Description: Generic Automated QA Tools
+Name: generic-autoqa
+Packages:
+- testkit-lite
+Summary: Generic Automated QA Tools
index 6c7f4bc..ee7594f 100644 (file)
@@ -13,7 +13,4 @@ Packages:
 - python-xml
 - wget
 - zypper
-- eat-device
-- python-requests
-- testkit-lite
 Summary: Generic QA Tools
diff --git a/scripts/autoqa.post b/scripts/autoqa.post
new file mode 100644 (file)
index 0000000..5a461e6
--- /dev/null
@@ -0,0 +1,27 @@
+##################### autoqa.post #######################
+
+# generate private/public key for autologin as root
+
+# the private key: use the following key on the ssh client side (copied here for reference)
+cat <<EOF >/root/.ssh/id_eat_dsa
+-----BEGIN DSA PRIVATE KEY-----
+MIIBugIBAAKBgQCE/Ulli3iKf8IwKVacoGCDyZhuabZ+h2oBSd/xlURZa/p3EQVg
+9cFXcyYcjDvKqDu/OZ82l1L33ytZQ1D7Ag/4WOTdUZImQiQakntE6tMLeEtkiXBd
+l4s9QQY8BrHcuoB4fZoLlbs2Jqbz+e2HDlUD+rKmzba/5d70Ze9YmFyDRQIVANH/
+yWdBBWXrFRexL6DIBTwFATM3AoGAcTiEj7Ai18KkajMW/TeiTWA+O3ZeBCFHLPGx
+tSyQKkJ0EUJfTSg9ixn4XfLW61JuY/pkhRDMwCbAto1ymy11hqWKRadpxAmu4czQ
+vWYUSERiS/28xGjKrazWjpM0sSmqZ+Tgezc1FWfCWAfHHpEg0YcttnOvJTB8hj6V
+d84WHKoCgYAw/uP6bE7xxCWUqAtQKob2P/xkXPPWKZ2nAWCxgnYVimGuXc+jThOo
+UBhkIpD+fdMtbRHdLtbzOLohUgaZokgEi58+pjJAJU/tW4Lvzw0nBfReG5OTvfuu
+CLchiFnppSDLi8u4Q4URorg4WFudXrGvUBwvHSGJYNczj7e3XJissAIUTPS6vh9U
+pp1kboovuWeQFduOSOU=
+-----END DSA PRIVATE KEY-----
+EOF
+
+# the public key
+cat <<EOF >/root/.ssh/id_eat_dsa.pub
+ssh-dss AAAAB3NzaC1kc3MAAACBAIT9SWWLeIp/wjApVpygYIPJmG5ptn6HagFJ3/GVRFlr+ncRBWD1wVdzJhyMO8qoO785nzaXUvffK1lDUPsCD/hY5N1RkiZCJBqSe0Tq0wt4S2SJcF2Xiz1BBjwGsdy6gHh9mguVuzYmpvP57YcOVQP6sqbNtr/l3vRl71iYXINFAAAAFQDR/8lnQQVl6xUXsS+gyAU8BQEzNwAAAIBxOISPsCLXwqRqMxb9N6JNYD47dl4EIUcs8bG1LJAqQnQRQl9NKD2LGfhd8tbrUm5j+mSFEMzAJsC2jXKbLXWGpYpFp2nECa7hzNC9ZhRIRGJL/bzEaMqtrNaOkzSxKapn5OB7NzUVZ8JYB8cekSDRhy22c68lMHyGPpV3zhYcqgAAAIAw/uP6bE7xxCWUqAtQKob2P/xkXPPWKZ2nAWCxgnYVimGuXc+jThOoUBhkIpD+fdMtbRHdLtbzOLohUgaZokgEi58+pjJAJU/tW4Lvzw0nBfReG5OTvfuuCLchiFnppSDLi8u4Q4URorg4WFudXrGvUBwvHSGJYNczj7e3XJissA== meego@testCtrlPC
+EOF
+
+# public key is authorized to login (automatically)
+cat /root/.ssh/id_eat_dsa.pub >>/root/.ssh/authorized_keys