action #46574
closed[sle][migration][sle15sp1]test fails in sshd -Login incorrect
100%
Updated by tinawang123 about 6 years ago
Still happened at https://openqa.suse.de/tests/2447650#step/sshd/16
Updated by okurz about 6 years ago
This is an autogenerated message for openQA integration by the openqa_review script:
This bug is still referenced in a failing openQA test: offline_sles11sp4_media_ha+geo_sdk_all
https://openqa.suse.de/tests/2447650
Updated by coolgw about 6 years ago
After code check and compare with the log, i suspect retype user name will get the promot, we need give a try, first try to reproduce in local env.
os-autoinst-distri-opensuse/lib/opensusebasetest.pm:654:sub select_serial_terminal {
select_console($console); console= root-virtio-terminal
serial_terminal::login($user, $self->{serial_term_prompt}); <===activate_console
./os-autoinst-distri-opensuse/lib/serial_terminal.pm
sub login {
die 'Login expects two arguments' unless @_ == 2;
my $user = shift;
my $escseq = qr/(\e [([] [\d\w]{1,2})/x;
my $pass_prompt = get_var('JEOSINSTLANG') =~ 'DE' ? 'Passwort:' : 'Password:';
$serial_term_prompt = shift;
bmwqemu::log_call;
# newline nudges the guest to display the login prompt, if this behaviour
# changes then remove it
type_string("\n");
wait_serial(qr/login:\s*$/i);
type_string("$user\n"); <===
wait_serial(qr/$pass_prompt\s*$/i); <====
type_password;
type_string("\n");
wait_serial(qr/$escseq* \w+:~\s\# $escseq* \s*$/x);
type_string(qq/PS1="$serial_term_prompt"\n/);
wait_serial(qr/PS1="$serial_term_prompt"/);
# TODO: Send 'tput rmam' instead/also
assert_script_run('export TERM=dumb; stty cols 2048');
assert_script_run('echo Logged into $(tty)', $bmwqemu::default_timeout, result_title => 'vconsole_login');
}
Updated by coolgw about 6 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
- Estimated time set to 40.00 h
- Difficulty set to medium
Updated by coolgw about 6 years ago
try run 3 times on openqa
linux-4360:/home/suse/test #
linux-4360:/home/suse/test # /usr/share/openqa/script/clone_job.pl --from http://openqa.suse.de --host http://openqa.suse.de 2493354 --skip-download _GROUP=0 BUILD=188.1 ISO=SLE-15-SP1-Installer-DVD-x86_64-Build188.1-Media1.iso ISO_1=SLE-15-SP1-Packages-x86_64-Build188.1-Media1.iso
Created job #2538626: sle-15-SP1-Installer-DVD-POST-x86_64-Build175.4-offline_sles11sp4_media_ha+geo_sdk_all@64bit -> http://openqa.suse.de/t2538626
linux-4360:/home/suse/test #
linux-4360:/home/suse/test #
linux-4360:/home/suse/test # /usr/share/openqa/script/clone_job.pl --from http://openqa.suse.de --host http://openqa.suse.de 2493354 --skip-download _GROUP=0 BUILD=188.1 ISO=SLE-15-SP1-Installer-DVD-x86_64-Build188.1-Media1.iso ISO_1=SLE-15-SP1-Packages-x86_64-Build188.1-Media1.iso
Created job #2538627: sle-15-SP1-Installer-DVD-POST-x86_64-Build175.4-offline_sles11sp4_media_ha+geo_sdk_all@64bit -> http://openqa.suse.de/t2538627
linux-4360:/home/suse/test #
linux-4360:/home/suse/test #
linux-4360:/home/suse/test # /usr/share/openqa/script/clone_job.pl --from http://openqa.suse.de --host http://openqa.suse.de 2493354 --skip-download _GROUP=0 BUILD=188.1 ISO=SLE-15-SP1-Installer-DVD-x86_64-Build188.1-Media1.iso ISO_1=SLE-15-SP1-Packages-x86_64-Build188.1-Media1.iso
Created job #2538628: sle-15-SP1-Installer-DVD-POST-x86_64-Build175.4-offline_sles11sp4_media_ha+geo_sdk_all@64bit -> http://openqa.suse.de/t2538628
Updated by hjluo almost 6 years ago
- % Done changed from 10 to 30
still hit this issue in the milestone test: https://openqa.suse.de/tests/2816267
Updated by hjluo almost 6 years ago
- Status changed from In Progress to Rejected
- % Done changed from 30 to 100
After check the issue we found that it failed at select_serial_terminal() it send the password as the login ID.
there was a ticket #44888 for this a long time ago. it just hit the s390 but we hit on the x64.
so we'd use that ticket to track it.
And this issue have been fixed and merged in the the gate https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6360.
but from the conversation it shows the fix still not works and they are still trying to find ways to tack it.
So we'd close this ticket as resolved.
Updated by okurz almost 6 years ago
This is an autogenerated message for openQA integration by the openqa_review script:
This bug is still referenced in a failing openQA test: offline_sles11sp4_media_ha+geo_sdk_all
https://openqa.suse.de/tests/2816267