mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-27 08:03:08 +00:00
Compare commits
13 Commits
3a67f6331c
...
aa388920d5
Author | SHA1 | Date | |
---|---|---|---|
|
aa388920d5 | ||
|
3949c81dcf | ||
|
b43a10c3b5 | ||
|
ca3fce3370 | ||
|
b33083e7ed | ||
|
d5035ba2c2 | ||
|
812ee0706b | ||
|
61135e3f5f | ||
|
90d83b529d | ||
|
c1e3103c72 | ||
|
33de7fe1a6 | ||
|
7f75a35bfd | ||
|
77d6f3128c |
@ -701,8 +701,8 @@ sub _repo_setup_updates {
|
||||
disable_updates_repos(both => 0) if ($version > $currrel);
|
||||
# use the buildroot repo on Rawhide: see e.g.
|
||||
# https://pagure.io/fedora-ci/general/issue/376 for why
|
||||
if (get_var("VERSION") eq get_var("RAWREL") && get_var("TEST") ne "support_server") {
|
||||
assert_script_run 'printf "[koji-rawhide]\nname=koji-rawhide\nbaseurl=https://kojipkgs.fedoraproject.org/repos/rawhide/latest/' . $arch . '/\ncost=2000\nenabled=1\ngpgcheck=0\n" > /etc/yum.repos.d/koji-rawhide.repo';
|
||||
if ($version eq get_var("RAWREL") && get_var("TEST") ne "support_server") {
|
||||
assert_script_run 'printf "[koji-rawhide]\nname=koji-rawhide\nbaseurl=https://kojipkgs.fedoraproject.org/repos/f' . $version . '-build/latest/' . $arch . '/\ncost=2000\nenabled=1\ngpgcheck=0\n" > /etc/yum.repos.d/koji-rawhide.repo';
|
||||
}
|
||||
if (lc(get_var("VERSION")) eq "eln" && get_var("TEST") ne "support_server") {
|
||||
assert_script_run 'printf "[koji-eln]\nname=koji-eln\nbaseurl=https://kojipkgs.fedoraproject.org/repos/eln-build/latest/' . $arch . '/\ncost=2000\nenabled=1\ngpgcheck=0\n" > /etc/yum.repos.d/koji-eln.repo';
|
||||
|
@ -2244,69 +2244,6 @@
|
||||
"WORKER_CLASS": "tap"
|
||||
}
|
||||
},
|
||||
"install_vnc_client": {
|
||||
"profiles": {
|
||||
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
||||
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
||||
"fedora-Server-dvd-iso-x86_64-*-64bit": 40
|
||||
},
|
||||
"settings": {
|
||||
"BOOTFROM": "c",
|
||||
"DESKTOP": "gnome",
|
||||
"HDD_1": "disk_f%CURRREL%_desktop_5_%ARCH%.qcow2",
|
||||
"INSTALL": "1",
|
||||
"NICTYPE": "tap",
|
||||
"PARALLEL_WITH": "install_vnc_server",
|
||||
"PREINSTALL": "_vnc_client_connect_pre _graphical_wait_login _vnc_client_connect",
|
||||
"VNC_CLIENT": "1",
|
||||
"WORKER_CLASS": "tap"
|
||||
}
|
||||
},
|
||||
"install_vnc_server": {
|
||||
"profiles": {
|
||||
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
||||
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
||||
"fedora-Server-dvd-iso-x86_64-*-64bit": 40
|
||||
},
|
||||
"settings": {
|
||||
"GRUB": "inst.vnc net.ifnames=0 biosdevname=0 ip=172.16.2.114::172.16.2.2:255.255.255.0:vnc001.test.openqa.fedoraproject.org:eth0:off",
|
||||
"NICTYPE": "tap",
|
||||
"VNC_SERVER": "1",
|
||||
"WORKER_CLASS": "tap"
|
||||
}
|
||||
},
|
||||
"install_vncconnect_client": {
|
||||
"profiles": {
|
||||
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
||||
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
||||
"fedora-Server-dvd-iso-x86_64-*-64bit": 40
|
||||
},
|
||||
"settings": {
|
||||
"BOOTFROM": "c",
|
||||
"DESKTOP": "gnome",
|
||||
"HDD_1": "disk_f%CURRREL%_desktop_5_%ARCH%.qcow2",
|
||||
"INSTALL": "1",
|
||||
"NICTYPE": "tap",
|
||||
"PREINSTALL": "_vncconnect_client_setup_pre _graphical_wait_login _vncconnect_client_setup",
|
||||
"VNC_CLIENT": "1",
|
||||
"WORKER_CLASS": "tap"
|
||||
}
|
||||
},
|
||||
"install_vncconnect_server": {
|
||||
"profiles": {
|
||||
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
||||
"fedora-Server-dvd-iso-ppc64le-*-ppc64le": 40,
|
||||
"fedora-Server-dvd-iso-x86_64-*-64bit": 40
|
||||
},
|
||||
"settings": {
|
||||
"GRUB": "inst.vnc inst.vncconnect=172.16.2.117:5500 net.ifnames=0 biosdevname=0 ip=172.16.2.116::172.16.2.2:255.255.255.0:vnc003.test.openqa.fedoraproject.org:eth0:off",
|
||||
"INSTALL_UNLOCK": "vncconnect_client_ready",
|
||||
"NICTYPE": "tap",
|
||||
"PARALLEL_WITH": "install_vncconnect_client",
|
||||
"VNC_SERVER": "1",
|
||||
"WORKER_CLASS": "tap"
|
||||
}
|
||||
},
|
||||
"install_xfs": {
|
||||
"profiles": {
|
||||
"fedora-Server-dvd-iso-aarch64-*-aarch64": 40,
|
||||
|
@ -59,8 +59,9 @@ sub run {
|
||||
# add workaround repo if there is one
|
||||
$params .= "inst.addrepo=workarounds,nfs://172.16.2.110:/mnt/workarounds_repo " if (get_workarounds);
|
||||
# add tag repo if we're on rawhide
|
||||
if (get_var("VERSION") eq get_var("RAWREL")) {
|
||||
$params .= "inst.addrepo=koji-rawhide,https://kojipkgs.fedoraproject.org/repos/rawhide/latest/${arch} ";
|
||||
my $version = get_var("VERSION");
|
||||
if ($version eq get_var("RAWREL")) {
|
||||
$params .= "inst.addrepo=koji-rawhide,https://kojipkgs.fedoraproject.org/repos/f${version}-build/latest/${arch} ";
|
||||
}
|
||||
}
|
||||
if (get_var("ANACONDA_TEXT")) {
|
||||
|
@ -1,28 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
sub run {
|
||||
menu_launch_type('vinagre');
|
||||
assert_and_click('vinagre_new_connection');
|
||||
assert_and_click('vinagre_protocol');
|
||||
assert_and_click('vinagre_protocol_vnc');
|
||||
send_key('tab');
|
||||
type_very_safely("172.16.2.114:5901\n");
|
||||
# this panel likes to move around so make sure we really hit it
|
||||
while (check_screen 'vinagre_enable_shortcuts') {
|
||||
assert_and_click('vinagre_enable_shortcuts');
|
||||
sleep 2;
|
||||
}
|
||||
assert_and_click('grant_access');
|
||||
assert_and_click('vinagre_fullscreen');
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {fatal => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -1,26 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use tapnet;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
boot_to_login_screen(timeout => 300);
|
||||
$self->root_console(tty => 3);
|
||||
setup_tap_static('172.16.2.115', 'vnc002.test.openqa.fedoraproject.org');
|
||||
# test test: check if we can see the server
|
||||
assert_script_run "ping -c 2 172.16.2.114";
|
||||
# FIXME Connections is now in the default install, we should
|
||||
# switch this test to using that
|
||||
assert_script_run "dnf -y install vinagre", 180;
|
||||
desktop_vt;
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {fatal => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -1,22 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use lockapi;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
desktop_launch_terminal;
|
||||
assert_screen "apps_run_terminal";
|
||||
wait_still_screen 5;
|
||||
type_very_safely "vncviewer -FullScreen -listen\n";
|
||||
mutex_create 'vncconnect_client_ready';
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {fatal => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
@ -1,25 +0,0 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use tapnet;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
boot_to_login_screen(timeout => 300);
|
||||
$self->root_console(tty => 3);
|
||||
setup_tap_static('172.16.2.117', 'vnc004.test.openqa.fedoraproject.org');
|
||||
# install tigervnc (Boxes doesn't do reverse VNC)
|
||||
assert_script_run "dnf -y install tigervnc", 180;
|
||||
# take down the firewall
|
||||
assert_script_run "systemctl stop firewalld";
|
||||
desktop_vt;
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {fatal => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
Loading…
Reference in New Issue
Block a user