mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-16 10:11:26 +00:00
7c28a05083
These tests don't work right at all at present: they don't test the update at all, they just boot the base image and run the test, which is stupid. I looked into various ways of fixing this but it's messy and I don't think it can work properly without a lot of hacking. Even if we get the test to do 'the right thing' - boot, set up the update repo, update, reboot, do the test prep, reboot again, do the actual test - I don't think it'll be quite a valid test, because I think any AVCs or crashes that happen *before* the update is installed will still appear as notifications when the test finally does log into the desktop. So the test can fail even if there are no post-update crashes or AVCs, I think. I decided to give up on trying to make this test work properly for now and just disable it. We can come back to it later if we have great ideas and/or lots of time...
354 lines
16 KiB
Plaintext
Executable File
354 lines
16 KiB
Plaintext
Executable File
#!/usr/share/openqa/script/load_templates
|
|
#
|
|
# Fedora Machines, Products, TestSuites and JobTemplates
|
|
#
|
|
# use load_templates to load the file into the database
|
|
#
|
|
{
|
|
JobTemplates => [
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-workstation",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "base_selinux" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-server",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "base_selinux" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 42,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-kde",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "base_selinux" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-workstation",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "base_services_start" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-server",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "base_services_start" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 42,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-kde",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "base_services_start" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-workstation",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "base_service_manipulation" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-server",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "base_service_manipulation" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 42,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-kde",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "base_service_manipulation" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-workstation",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "base_update_cli" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-server",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "base_update_cli" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 42,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-kde",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "base_update_cli" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 30,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-workstation",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "desktop_update_graphical" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 32,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-kde",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "desktop_update_graphical" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 30,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-workstation",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "desktop_terminal" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 32,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-kde",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "desktop_terminal" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 30,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-workstation",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "desktop_browser" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 32,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-kde",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "desktop_browser" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-server",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "server_role_deploy_domain_controller" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-server",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "server_cockpit_default" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-server",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "server_cockpit_basic" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-server",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "realmd_join_cockpit" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 30,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-server",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "realmd_join_sssd" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-server",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "server_role_deploy_database_server" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-server",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "server_database_client" },
|
|
},
|
|
{
|
|
group_name => "Fedora Updates",
|
|
machine => { name => "64bit" },
|
|
prio => 40,
|
|
product => {
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-server",
|
|
version => "*",
|
|
},
|
|
test_suite => { name => "server_firewall_default" },
|
|
},
|
|
],
|
|
Products => [
|
|
{
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-workstation",
|
|
name => "",
|
|
settings => [
|
|
{ key => "DESKTOP", value => "gnome" },
|
|
],
|
|
version => "*",
|
|
},
|
|
{
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-kde",
|
|
name => "",
|
|
settings => [
|
|
{ key => "DESKTOP", value => "kde" }
|
|
],
|
|
version => "*",
|
|
},
|
|
{
|
|
arch => "x86_64",
|
|
distri => "fedora",
|
|
flavor => "updates-server",
|
|
name => "",
|
|
settings => [
|
|
],
|
|
version => "*",
|
|
},
|
|
],
|
|
}
|