[BUG] consistent failure in modularity_tests of FLAVOR=dvd-iso #147

Closed
opened 2023-02-06 01:40:05 +00:00 by tcooper · 0 comments
tcooper commented 2023-02-06 01:40:05 +00:00 (Migrated from github.com)

Describe the bug

The modularity_tests test of the FLAVOR=dvd-iso test suite fails consistently in Rocky 9 in production openQA system. Ref: modularity_tests.

The test modularity_tests in the FLAVOR=dvd-iso suite is a dependency of install_default which, for dvd-iso uses the PACKAGE_SET=graphical_server. There is no PACKAGE_SET defined in the Settings of the modularity_tests causing the implementation in modularity_module_list.pm#35 to use the default PACKAGE_SET=minimal.

Further, the code in modularity_module_list.pm doesn't contain conditional blocks for Rocky Linux 8 and Rocky Linux 9. The enabled modules values for these two versions of Rocky Linux are not the same and need to be counted separately. The values in modularity_module_list.pm are valid for Rocky Linux 8 only.

Expected behavior

The modularity_tests test of the FLAVOR=dvd-iso test suite passes consistently in Rocky Linux 9.

Possible Solution

  • The modularity_tests test must either detect which PACKAGE_SET was used to install the system it is testing or the proper PACKAGE_SET must be provided in templates.fif.json.
  • The FLAVOR=package_set runs for Rocky Linux 9 can be used to obtain the default enabled modules for all PACKAGE_SET used with the DVD ISO.

Screenshots

modularity_tests@64bit

modularity_tests_failure

openQA.rockylinux.org:

  • os-autoinst-distri-rocky: commit: 366217e
## Describe the bug The `modularity_tests` test of the `FLAVOR=dvd-iso` test suite fails consistently in Rocky 9 in production openQA system. Ref: [`modularity_tests`](https://openqa.rockylinux.org/tests/3413#next_previous). The test `modularity_tests` in the `FLAVOR=dvd-iso` suite is a dependency of `install_default` which, for `dvd-iso` uses the `PACKAGE_SET=graphical_server`. There is no `PACKAGE_SET` defined in the Settings of the `modularity_tests` causing the implementation in [`modularity_module_list.pm#35`](https://github.com/rocky-linux/os-autoinst-distri-rocky/blob/develop/tests/modularity_module_list.pm#L35) to use the default `PACKAGE_SET=minimal`. Further, the code in `modularity_module_list.pm` doesn't contain conditional blocks for Rocky Linux 8 and Rocky Linux 9. The enabled modules values for these two versions of Rocky Linux are not the same and need to be counted separately. The values in `modularity_module_list.pm` are valid for Rocky Linux 8 _**only**_. ## Expected behavior The `modularity_tests` test of the `FLAVOR=dvd-iso` test suite passes consistently in Rocky Linux 9. ## Possible Solution - The `modularity_tests` test must either detect which `PACKAGE_SET` was used to install the system it is testing or the proper `PACKAGE_SET` must be provided in `templates.fif.json`. - The `FLAVOR=package_set` runs for Rocky Linux 9 can be used to obtain the default enabled modules for all `PACKAGE_SET` used with the DVD ISO. ## Screenshots [**`modularity_tests@64bit `**](https://openqa.rockylinux.org/tests/3413#step/modularity_module_list/7) ![modularity_tests_failure](https://user-images.githubusercontent.com/542846/216862499-0f402e03-664d-4709-9ac6-d77f27124d55.png) ## openQA.rockylinux.org: - os-autoinst-distri-rocky: commit: [366217e](https://github.com/rocky-linux/os-autoinst-distri-rocky/commit/366217ee8aac1d924017b807fbd03a7c7249e3ae)
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: testing/os-autoinst-distri-rocky-migrated#147
No description provided.