action #60965
closed[sle][migration][sle15sp2] multiple redefinitions of "install_service"
100%
Description
Observation¶
From https://openqa.suse.de/tests/3697357/file/autoinst-log.txt :
[2019-12-12T11:42:19.702 CET] [debug] scheduling reboot_to_upgrade tests/migration/reboot_to_upgrade.pm
[2019-12-12T11:42:19.703 CET] [debug] scheduling setup_zdup tests/installation/setup_zdup.pm
Subroutine service_check::install_service redefined at /usr/lib/perl5/5.26.1/Exporter.pm line 66.
at /var/lib/openqa/pool/6/os-autoinst-distri-opensuse/lib/service_check.pm line 35.
Subroutine service_check::start_service redefined at /usr/lib/perl5/5.26.1/Exporter.pm line 66.
at /var/lib/openqa/pool/6/os-autoinst-distri-opensuse/lib/service_check.pm line 35.
Subroutine service_check::check_service redefined at /usr/lib/perl5/5.26.1/Exporter.pm line 66.
at /var/lib/openqa/pool/6/os-autoinst-distri-opensuse/lib/service_check.pm line 35.
Subroutine service_check::install_service redefined at /usr/lib/perl5/5.26.1/Exporter.pm line 66.
at /var/lib/openqa/pool/6/os-autoinst-distri-opensuse/lib/service_check.pm line 37.
Subroutine service_check::configure_service redefined at /usr/lib/perl5/5.26.1/Exporter.pm line 66.
at /var/lib/openqa/pool/6/os-autoinst-distri-opensuse/lib/service_check.pm line 37.
[2019-12-12T11:42:19.716 CET] [debug] scheduling install_service tests/installation/install_service.pm
there should be no perl warnings.
Updated by hjluo over 4 years ago
- Subject changed from [migration][sle] multiple redefinitions of "install_service" to [sle][migration][sle15sp2] multiple redefinitions of "install_service"
- Assignee changed from leli to hjluo
Updated by hjluo over 4 years ago
- % Done changed from 0 to 80
Updated by hjluo over 4 years ago
fixed: https://openqa.suse.de/tests/3709820/file/autoinst-log.txt
2019-12-16T03:48:37.361 CET] [debug] scheduling version_switch_origin_system tests/migration/version_switch_origin_system.pm
[2019-12-16T03:48:37.362 CET] [debug] scheduling isosize tests/installation/isosize.pm
[2019-12-16T03:48:37.364 CET] [debug] scheduling bootloader tests/installation/bootloader.pm
[2019-12-16T03:48:37.365 CET] [debug] scheduling online_migration_setup tests/migration/sle12_online_migration/online_migration_setup.pm
[2019-12-16T03:48:37.366 CET] [debug] scheduling register_system tests/migration/sle12_online_migration/register_system.pm
[2019-12-16T03:48:37.367 CET] [debug] scheduling zypper_patch tests/migration/sle12_online_migration/zypper_patch.pm
[2019-12-16T03:48:37.367 CET] [debug] scheduling version_switch_upgrade_target tests/migration/version_switch_upgrade_target.pm
[2019-12-16T03:48:37.368 CET] [debug] scheduling pre_migration tests/migration/sle12_online_migration/pre_migration.pm
[2019-12-16T03:48:37.381 CET] [debug] scheduling install_service tests/installation/install_service.pm
[2019-12-16T03:48:37.382 CET] [debug] scheduling zypper_migration tests/migration/sle12_online_migration/zypper_migration.pm
[2019-12-16T03:48:37.383 CET] [debug] scheduling orphaned_packages_check tests/console/orphaned_packages_check.pm
[2019-12-16T03:48:37.384 CET] [debug] scheduling post_migration tests/migration/sle12_online_migration/post_migration.pm
[2019-12-16T03:48:37.385 CET] [debug] scheduling system_prepare tests/console/system_prepare.pm
[2019-12-16T03:48:37.385 CET] [debug] scheduling check_network tests/console/check_network.pm
[2019-12-16T03:48:37.386 CET] [debug] scheduling system_state tests/console/system_state.pm
[2019-12-16T03:48:37.387 CET] [debug] scheduling prepare_test_data tests/console/prepare_test_data.pm
[2019-12-16T03:48:37.387 CET] [debug] scheduling consoletest_setup tests/console/consoletest_setup.pm
[2019-12-16T03:48:37.388 CET] [debug] scheduling keymap_or_locale tests/locale/keymap_or_locale.pm
[2019-12-16T03:48:37.389 CET] [debug] scheduling check_upgraded_service tests/console/check_upgraded_service.pm
[2019-12-16T03:48:37.390 CET] [debug] scheduling supportutils tests/console/supportutils.pm
[2019-12-16T03:48:37.390 CET] [debug] scheduling force_scheduled_tasks tests/console/force_scheduled_tasks.pm
[2019-12-16T03:48:37.391 CET] [debug] scheduling textinfo tests/console/textinfo.pm
[2019-12-16T03:48:37.392 CET] [debug] scheduling hostname tests/console/hostname.pm
[2019-12-16T03:48:37.392 CET] [debug] scheduling upgrade_snapshots tests/console/upgrade_snapshots.pm
[2019-12-16T03:48:37.393 CET] [debug] scheduling x_vt tests/console/x_vt.pm
[2019-12-16T03:48:37.393 CET] [debug] scheduling zypper_lr tests/console/zypper_lr.pm
Updated by okurz over 4 years ago
great. there is "Subroutine run redefined at /var/lib/openqa/pool/6/os-autoinst-distri-opensuse/tests/migration/sle12_online_migration/snapper_rollback.pm line 21." so a warning of a similar kind but different.
Updated by hjluo over 4 years ago
it looks like the redefining of the run in migration/sle12_online_migration/snapper_rollback.pm was introduced by
boot/snapper_rollback.pm. if I comment out the loadtest "boot/snapper_rollback"; in lib/main_common.pm the warning was gone.
http://10.161.8.44/tests/914/file/autoinst-log.txt
[2019-12-17T04:22:57.185 CET] [debug] scheduling grub_test_snapshot tests/boot/grub_test_snapshot.pm
[2019-12-17T04:22:57.185 CET] [debug] scheduling snapper_rollback tests/migration/sle12_online_migration/snapper_rollback.pm
[2019-12-17T04:22:57.188 CET] [debug] init needles from /var/lib/openqa/share/tests/sle/products/sle/needles
[2019-12-17T04:22:58.272 CET] [debug] loaded 10381 needles
and the test case should not set MIGRATION_ROLLBACK=1 for the regression test.
Updated by hjluo over 4 years ago
- Status changed from In Progress to Resolved
- % Done changed from 80 to 100
Updated by hjluo over 4 years ago
- Status changed from Resolved to In Progress
- % Done changed from 100 to 70
reopen this ticket because we found autofs can't be called for regression test.
Updated by hjluo over 4 years ago
- Status changed from In Progress to Resolved
- % Done changed from 70 to 100