mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 07:13:09 +00:00
Revert "Try and get more detailed Firefox logs from startx"
This reverts commit f424e5bac5
. It
never actually worked, and the Firefox-dying bug seems to have
magically gone away recently.
This commit is contained in:
parent
c9191b0d4a
commit
173bdef5cb
@ -23,7 +23,6 @@ sub start_cockpit {
|
|||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1439429
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1439429
|
||||||
assert_script_run "sed -i -e 's,enable_xauth=1,enable_xauth=0,g' /usr/bin/startx";
|
assert_script_run "sed -i -e 's,enable_xauth=1,enable_xauth=0,g' /usr/bin/startx";
|
||||||
disable_firefox_studies;
|
disable_firefox_studies;
|
||||||
assert_script_run "export MOZ_LOG_FILE=/tmp/firefox.log";
|
|
||||||
# run firefox directly in X as root. never do this, kids!
|
# run firefox directly in X as root. never do this, kids!
|
||||||
type_string "startx /usr/bin/firefox -width 1024 -height 768 http://localhost:9090\n";
|
type_string "startx /usr/bin/firefox -width 1024 -height 768 http://localhost:9090\n";
|
||||||
assert_screen "cockpit_login", 60;
|
assert_screen "cockpit_login", 60;
|
||||||
|
@ -42,7 +42,6 @@ sub start_webui {
|
|||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1439429
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1439429
|
||||||
assert_script_run "sed -i -e 's,enable_xauth=1,enable_xauth=0,g' /usr/bin/startx";
|
assert_script_run "sed -i -e 's,enable_xauth=1,enable_xauth=0,g' /usr/bin/startx";
|
||||||
disable_firefox_studies;
|
disable_firefox_studies;
|
||||||
assert_script_run "export MOZ_LOG_FILE=/tmp/firefox.log";
|
|
||||||
type_string "startx /usr/bin/firefox -width 1024 -height 768 https://ipa001.test.openqa.fedoraproject.org\n";
|
type_string "startx /usr/bin/firefox -width 1024 -height 768 https://ipa001.test.openqa.fedoraproject.org\n";
|
||||||
assert_screen ["freeipa_webui_login", $user_screen], 60;
|
assert_screen ["freeipa_webui_login", $user_screen], 60;
|
||||||
wait_still_screen(stilltime => 5, similarity_level => 45);
|
wait_still_screen(stilltime => 5, similarity_level => 45);
|
||||||
|
@ -120,11 +120,6 @@ sub post_fail_hook {
|
|||||||
upload_logs "/var/lib/pgsql/initdb_postgresql.log";
|
upload_logs "/var/lib/pgsql/initdb_postgresql.log";
|
||||||
}
|
}
|
||||||
|
|
||||||
# update Firefox default log (for startx firefox tests)
|
|
||||||
unless (script_run 'test -f /tmp/firefox.log') {
|
|
||||||
upload_logs "/tmp/firefox.log";
|
|
||||||
}
|
|
||||||
|
|
||||||
# Upload /var/log
|
# Upload /var/log
|
||||||
# lastlog can mess up tar sometimes and it's not much use
|
# lastlog can mess up tar sometimes and it's not much use
|
||||||
unless (script_run "tar czvf /tmp/var_log.tar.gz --exclude='lastlog' /var/log") {
|
unless (script_run "tar czvf /tmp/var_log.tar.gz --exclude='lastlog' /var/log") {
|
||||||
|
Loading…
Reference in New Issue
Block a user