1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 23:03:08 +00:00

add ABRT logs uploading, sleep in lang selection

This commit is contained in:
Garret Raziel 2015-02-19 15:40:33 +01:00 committed by root
parent 7eb9eaa090
commit 20504fa965
3 changed files with 8 additions and 3 deletions

View File

@ -7,12 +7,16 @@ sub post_fail_hook {
my $self = shift; my $self = shift;
send_key "ctrl-alt-f2"; send_key "ctrl-alt-f2";
if (check_screen "anaconda_console", 10) { if (check_screen "anaconda_console", 10) {
upload_logs "/tmp/X.log"; # TODO: it can't type "X" upload_logs "/tmp/X.log";
upload_logs "/tmp/anaconda.log"; upload_logs "/tmp/anaconda.log";
upload_logs "/tmp/packaging.log"; upload_logs "/tmp/packaging.log";
upload_logs "/tmp/storage.log"; upload_logs "/tmp/storage.log";
upload_logs "/tmp/syslog"; upload_logs "/tmp/syslog";
upload_logs "/tmp/program.log"; upload_logs "/tmp/program.log";
# Upload all ABRT logs
type_string "cd /var/tmp/abrt && tar czvf abrt.tar.gz *";
upload_logs "/var/tmp/abrt/abrt.tar.gz";
} }
} }

View File

@ -43,12 +43,13 @@ sub run {
{ {
# Select install language # Select install language
assert_screen "anaconda_select_install_lang", 300; assert_screen "anaconda_select_install_lang", 300;
sleep 4; # TODO: sometimes, input box is not focused. check if this solves it
type_string "english"; type_string "english";
assert_and_click "anaconda_select_install_lang_english_filtered"; assert_and_click "anaconda_select_install_lang_english_filtered";
assert_screen "anaconda_select_install_lang_english_selected", 3; assert_screen "anaconda_select_install_lang_english_selected", 3;
assert_and_click "anaconda_select_install_lang_continue"; assert_and_click "anaconda_select_install_lang_continue";
if ( get_var("VERSION") eq "rawhide") { if ( check_screen "anaconda_rawhide_accept_fate" ) {
assert_and_click "anaconda_rawhide_accept_fate"; assert_and_click "anaconda_rawhide_accept_fate";
} }

View File

@ -1,4 +1,4 @@
use base "basetest"; use base "anacondalog";
use strict; use strict;
use testapi; use testapi;