From dfc58f1b73c6124319d6d9c3c4040933a131ee8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sedl=C3=A1k?= Date: Wed, 18 May 2016 14:04:45 +0200 Subject: [PATCH] add ARM initial-setup test ARM actually doesn't have "install" test, but in install matrix, there is test whether ARM disk boots into initial_setup. HDD is saved after this test for Base tests. Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D853 --- needles/console/console_initial_setup.json | 15 ++++ needles/console/console_initial_setup.png | Bin 0 -> 12265 bytes .../console/console_initial_setup_done.json | 29 +++++++ .../console/console_initial_setup_done.png | Bin 0 -> 3726 bytes templates | 42 +++++++++- tests/install_arm_image_deployment.pm | 73 ++++++++++++++++++ 6 files changed, 158 insertions(+), 1 deletion(-) create mode 100644 needles/console/console_initial_setup.json create mode 100644 needles/console/console_initial_setup.png create mode 100644 needles/console/console_initial_setup_done.json create mode 100644 needles/console/console_initial_setup_done.png create mode 100644 tests/install_arm_image_deployment.pm diff --git a/needles/console/console_initial_setup.json b/needles/console/console_initial_setup.json new file mode 100644 index 00000000..e2d4ccc3 --- /dev/null +++ b/needles/console/console_initial_setup.json @@ -0,0 +1,15 @@ +{ + "properties": [], + "tags": [ + "console_initial_setup" + ], + "area": [ + { + "xpos": 3, + "ypos": 610, + "width": 100, + "height": 12, + "type": "match" + } + ] +} \ No newline at end of file diff --git a/needles/console/console_initial_setup.png b/needles/console/console_initial_setup.png new file mode 100644 index 0000000000000000000000000000000000000000..86bbbf15ca6306882e52c29f25405ae698f886f3 GIT binary patch literal 12265 zcmZ9yc{tS37e9XAGh@awjAATBhKf+uLb6P#?1V_xvL(tMS>Ln?MN0OiLfLnbZ75k1 zO16@jWEaLd_W4bp&*%C6zR&lc`@VC}y=U%oo_o)E-Pbvfj14cavmRgt0I=(5YncFm zVsw!Jfnn@5c;yHdsMQZzn@2!sXQR(5*gQ(tLNVLgJ7dhJZksNvHiwmKM4i*IXh$S`(Dvzg-5>9pduQ7 z=2x8Sh$QI6nZtPX@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9IyTa*UBs4F{NakHP1jFJ0`n;3oll)Vj&=Wy$IFq{rj*1RdARJ6D9juGy zaO}It*W843Y;CIXJs-_MMng?zeeoZ|WWBTO!WvT1eI?dP9YYAV^VHg>9mv{c9LTThPoc_blrXnP(PtbDY04|b8vZwaJ_ zP(>3AV?p=Nm;$om+q9E&U9w9j;xmgBFk+JKr_KME>)SUS(Glb@!VdfuiyuB7!(}ew z_B2@NOGwwk&%v48*N5}NDW#qv(3=V`uF?FCafLnJ&~)e;W^Z!mls}jG`G1j{pcjeV z(a>9&bUc^!e8S5oiSOw{59#}-{M$&BC+w(iaS2a#9%aj%YjaKhq21`hu_l^?)O0w>#qLJs9HNvGUOz6iAz?s ziK0FL&FJ$!j)V$1M&XX*Wf|8Jw@$ebC_6h9dp49S@`X!kS@D7N6@HtNdo%ZLw@>Zo zCt$zn$-m+rHO=MoaV>EQ288lKoj0XnA!BLZf9>L&n+!7bUWr)}LqFdDk>CsDF zANh2CrTjc>+g?6>F%Pb)h5VxUT+7*}!vJyiZLSp2+OpO(Si)AmAd_dbZU6I;J8J@^ zc7*$5->5rH2S~;Vaa<@Ai)JiPkjB)av0Wf{t~8J;RqhnJ#$$AAeI%?{B12UjiRSmZ zM-Xw=Zh`u!6Z?LG`GzQuSunZ&@I*9*qgR3L^LCFe?$ehD-8<4Fn|9*UoEG&E{`pYM zBTv$@AE%7=WQ$0QEDm)&3-ulo1Z%P!B_+z@7Tk<;Fv-`~4ds-d4AMnjK!^qF^$ zCK`P8r>EOdu<8(e#dZq&7Lvvj(+zAo0%HmBf4@k z@O { name => "install_default" }, }, + { + machine => { name => "ARM" }, + prio => 60, + product => { + arch => "arm", + distri => "fedora", + flavor => "Minimal-raw_xz-raw.xz", + version => "*", + }, + test_suite => { name => "install_arm_image_deployment_upload" }, + }, { machine => { name => "64bit" }, prio => 10, @@ -787,7 +798,7 @@ }, test_suite => { name => "install_kickstart_firewall_disabled" }, }, -{ + { machine => { name => "64bit" }, prio => 40, product => { @@ -1010,6 +1021,19 @@ { key => "PART_TABLE_TYPE", value => "gpt"} ], }, + { + backend => "qemu", + name => "ARM", + settings => [ + { key => "QEMU", value => "arm" }, + { key => "QEMUCPUS", value => "2"}, + { key => "QEMUMACHINE", value => "virt"}, + { key => "QEMURAM", value => "1024"}, + { key => "QEMU_NO_KVM", value => "1"}, + { key => "TIMEOUT_SCALE", value => "5" }, + { key => "SERIALDEV", value => "ttyAMA0" } + ], + }, ], Products => [ { @@ -1157,6 +1181,15 @@ { key => "DESKTOP", value => "kde" } ], version => "*", + }, + { + arch => "arm", + distri => "fedora", + flavor => "Minimal-raw_xz-raw.xz", + name => "", + settings => [ + ], + version => "*", } ], TestSuites => [ @@ -1173,6 +1206,13 @@ { key => "STORE_HDD_1", value => "disk_%FLAVOR%_%MACHINE%.qcow2" }, ], }, + { + name => "install_arm_image_deployment_upload", + settings => [ + { key => "ENTRYPOINT", value => "install_arm_image_deployment" }, + { key => "STORE_HDD_1", value => "disk_%FLAVOR%_%MACHINE%.qcow2" }, + ], + }, { name => "install_package_set_minimal", settings => [ diff --git a/tests/install_arm_image_deployment.pm b/tests/install_arm_image_deployment.pm new file mode 100644 index 00000000..c4363586 --- /dev/null +++ b/tests/install_arm_image_deployment.pm @@ -0,0 +1,73 @@ +use base "installedtest"; +use strict; +use testapi; + +sub run { + my $self = shift; + assert_screen "console_initial_setup", 150; + # IMHO it's better to use sleeps than to have needle for every text screen + wait_still_screen 5; + + # Set timezone + type_string "2\n"; + wait_still_screen 5; + type_string "1\n"; # Europe + wait_still_screen 5; + type_string "37\n"; # Prague + wait_still_screen 7; + + # Set root password + type_string "4\n"; + wait_still_screen 5; + type_string get_var("ROOT_PASSWORD") || "weakpassword"; + send_key "ret"; + wait_still_screen 5; + type_string get_var("ROOT_PASSWORD") || "weakpassword"; + send_key "ret"; + wait_still_screen 7; + + # Create user + type_string "5\n"; + wait_still_screen 5; + type_string "1\n"; # create new + wait_still_screen 5; + type_string "3\n"; # set username + wait_still_screen 5; + type_string get_var("USER_LOGIN", "test"); + send_key "ret"; + wait_still_screen 5; + type_string "4\n"; # use password + wait_still_screen 5; + type_string "5\n"; # set password + wait_still_screen 5; + type_string get_var("USER_PASSWORD", "weakpassword"); + send_key "ret"; + wait_still_screen 5; + type_string get_var("USER_PASSWORD", "weakpassword"); + send_key "ret"; + wait_still_screen 5; + type_string "6\n"; # make him an administrator + wait_still_screen 5; + type_string "c\n"; + wait_still_screen 7; + + assert_screen "console_initial_setup_done", 30; + type_string "c\n"; # continue + assert_screen "text_console_login", 60; + + # Try to log in as an user + $self->console_login(user=>get_var("USER_LOGIN", "test"), password=>get_var("USER_PASSWORD", "weakpassword")); +} + + +sub test_flags { + # without anything - rollback to 'lastgood' snapshot if failed + # 'fatal' - whole test suite is in danger if this fails + # 'milestone' - after this test succeeds, update 'lastgood' + # 'important' - if this fails, set the overall state to 'fail' + return { fatal => 1 }; +} + +1; + +# vim: set sw=4 et: