action #174373
closed[qe-core] test fails in hostname_inst
100%
Description
Observation¶
openQA test in scenario sle-12-SP3-Server-DVD-Updates-x86_64-network_configuration@64bit fails in
hostname_inst
Test suite description¶
Testsuite maintained at https://gitlab.suse.de/qa-maintenance/qam-openqa-yml. Maintainer: jrivera@suse.com Verify that DHCLIENT_SET_HOSTNAME preloaded from control file does not overwrite the customer selection and check the hostname in the installed system
Reproducible¶
Fails since (at least) Build 20241212-1
Expected result¶
Last good: 20241201-1 (or more recent)
Further details¶
Always latest result in this scenario: latest
Updated by dzedro 3 months ago
I just removed NICTYPE_USER_OPTIONS=hostname=myguest
and test passed https://dzedro.suse.cz/tests/1834
The problem is that the test does expect value of NICTYPE_USER_OPTIONS, BUT this hostname is nowhere setup.
# git grep NICTYPE_USER_OPTIONS
lib/YuiRestClient.pm: set_var('NICTYPE_USER_OPTIONS', join(' ', grep($_, (
lib/YuiRestClient.pm: get_var('NICTYPE_USER_OPTIONS'),
lib/YuiRestClient.pm:B<set_libyui_backend_vars()> - Sets C<NICTYPE_USER_OPTIONS> and C<EXTRABOOTPARAMS>.
lib/YuiRestClient.pm:B<NICTYPE_USER_OPTIONS> - options for the virtual SUT network configuration. On QEMU backends
tests/console/network_hostname.pm:# which means that is not taken into account dhcp configuration provided for this test via NICTYPE_USER_OPTIONS=hostname=myguest
tests/installation/hostname_inst.pm: # NICTYPE_USER_OPTIONS="hostname=myguest" causes a fake DHCP hostname provided by QEMU to SUT
tests/installation/hostname_inst.pm: if (get_var('NICTYPE_USER_OPTIONS') =~ m/hostname=(?<hostname>\w+)/) {
variables.md:NICTYPE_USER_OPTIONS | string | | `hostname=myguest` causes a fake DHCP hostname 'myguest' provided to SUT. It is used as expected hostname if `EXPECTED_INSTALL_HOSTNAME` is not set.
Updated by dzedro about 2 months ago
- Status changed from New to In Progress
Hostname not being install is expected on 15-SP1 and older versions. https://bugzilla.suse.com/show_bug.cgi?id=1166778#c8
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/20988
Updated by dzedro about 1 month ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100