Project

General

Profile

Actions

action #160308

open

coordination #96596: [qe-core][CI] CI/CD and Coding style improvements

[qe-core] test-unused-modules-changed and test-unused-modules-full need improvements

Added by szarate 7 months ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Enhancement to existing tests
Target version:
-
Start date:
2019-12-11
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

Motivation

While #47894 was implemented (idk who did it, to be honest), there's the case where tests that are using parametrized tests need their own exception (i.e the ones from systemd) and then there are some tests that could be possibly removed via a PR asking the respective owners. microos workloads show that we enabled these tests somewhere but do not have the schedule (and they should be there)

See related ticket and https://suse.slack.com/archives/C02CANHLANP/p1715336723863349 for more context

From my run on my local machine I see

tests/console/libmicrohttpd.pm module is not used in any schedule
tests/fips/libtool/liboauth.pm module is not used in any schedule
tests/installation/livecd_network_settings.pm module is not used in any schedule
tests/microos/workloads/firewalld-container/firewalld_client.pm module is not used in any schedule
tests/microos/workloads/firewalld-container/firewalld_server.pm module is not used in any schedule
tests/microos/workloads/kea-container/dhcp4_client.pm module is not used in any schedule
tests/microos/workloads/kea-container/dhcp6_client.pm module is not used in any schedule
tests/microos/workloads/kea-container/setup_dhcp4_server.pm module is not used in any schedule
tests/microos/workloads/kea-container/setup_dhcp6_server.pm module is not used in any schedule
tests/publiccloud/slem_prepare.pm module is not used in any schedule
tests/systemd_testsuite/test_16_extend_timeout.pm module is not used in any schedule
tests/systemd_testsuite/test_17_udev_wants.pm module is not used in any schedule
tests/systemd_testsuite/test_18_failureaction.pm module is not used in any schedule
tests/systemd_testsuite/test_19_delegate.pm module is not used in any schedule
tests/systemd_testsuite/test_20_mainpidgames.pm module is not used in any schedule
tests/systemd_testsuite/test_21_sysusers.pm module is not used in any schedule
tests/systemd_testsuite/test_23_type_exec.pm module is not used in any schedule
tests/systemd_testsuite/test_24_unit_tests.pm module is not used in any schedule
tests/systemd_testsuite/test_25_import.pm module is not used in any schedule
tests/systemd_testsuite/test_26_setenv.pm module is not used in any schedule
tests/systemd_testsuite/test_27_stdoutfile.pm module is not used in any schedule
tests/systemd_testsuite/test_28_percentj_wantedby.pm module is not used in any schedule
tests/systemd_testsuite/test_29_udev_id_renaming.pm module is not used in any schedule
tests/systemd_testsuite/test_30_onclockchange.pm module is not used in any schedule
tests/systemd_testsuite/test_31_device_enumeration.pm module is not used in any schedule
tests/systemd_testsuite/test_32_oompolicy.pm module is not used in any schedule
tests/systemd_testsuite/test_33_clean_unit.pm module is not used in any schedule
tests/systemd_testsuite/test_34_dynamicusermigrate.pm module is not used in any schedule
tests/systemd_testsuite/test_36_numapolicy.pm module is not used in any schedule
tests/systemd_testsuite/test_37_runtimedirectorypreserve.pm module is not used in any schedule
tests/systemd_testsuite/test_39_execreload.pm module is not used in any schedule
tests/systemd_testsuite/test_40_exec_command_ex.pm module is not used in any schedule
tests/systemd_testsuite/test_41_oneshot_restart.pm module is not used in any schedule
tests/systemd_testsuite/test_42_execstoppost.pm module is not used in any schedule
tests/systemd_testsuite/test_43_privateuser_unpriv.pm module is not used in any schedule
tests/systemd_testsuite/test_44_log_namespace.pm module is not used in any schedule
tests/systemd_testsuite/test_47_issue_14566.pm module is not used in any schedule
tests/virt_autotest/guest_migration_base.pm module is not used in any schedule
tests/virt_autotest/setup_kvm_container.pm module is not used in any schedule
make: *** [Makefile:142: test-unused-modules-full] Error 1

Acceptance criteria

  • AC1: Check passes without problems
  • AC2: Error message gives suggestions on how to add exceptions if needed (i.e for tests being parametrized)
  • AC3: Schedule for missing microos workloads is added
  • AC4: test-unused-modules-full Check is enabled for master branch only

Related issues 1 (0 open1 closed)

Copied from openQA Tests - action #47894: [qe-core][functional] Continuous check for used/unused test modules within os-autoinst-distri-opensuse in the "functional" domainRejectedszarate2019-12-11

Actions
Actions

Also available in: Atom PDF