Wind River Support Network

HomeDefectsLIN9-4618
Fixed

LIN9-4618 : OEQA tests of qemuppc fail due to ssh connection failures

Created: Jul 10, 2017    Updated: Dec 3, 2018
Resolved Date: Oct 12, 2017
Found In Version: 9.0.0.7
Fix Version: 9.0.0.11
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Userspace

Description

qemu boots and OEQA is able to connect, but the ssh test fails:

QEMU 2.7.0 monitor - type 'help' for more information
(qemu) 
Waiting at most 1500 seconds for login banner
NOTE: Waiting at most 1500 seconds for login banner
Connection from 127.0.0.1:35136
NOTE: Connection from 127.0.0.1:35136
Reached login banner
NOTE: Reached login banner
Logged as root in serial console
NOTE: Logged as root in serial console
NOTE: Test modules  ['oeqa.runtime.ping', 'oeqa.runtime.ssh', 'oeqa.runtime.df', 'oeqa.runtime.date', 'oeqa.runtime.scp', 'oeqa.runtime.pam', 'oeqa.runtime.perl', 'oeqa.runtime.python', 'oeqa.runtime.rpm']
NOTE: Found 17 tests
test_ping (oeqa.runtime.ping.PingTest) ... ok
ERROR
ERROR
test_ssh (oeqa.runtime.ssh.SshTest) ... FAIL

The actual error message is:

 raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, status, output))
AssertionError: Command '['scp', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'LogLevel=ERROR', '/home/wrlbuild/builds/builds-584aa4b6-46d4-4849-adac-a3f43680a1f7/qemuppc_glibc-std_CVE/tmp/deploy/rpm/ppc7400/rpm-doc-5.4.16-r0.ppc7400.rpm', 'root@192.168.7.2:/tmp/rpm-doc.rpm']' returned non-zero exit status 1:
b'ssh_exchange_identification: read: Connection reset by peer\r\nlost connection'

Steps to Reproduce

git clone --branch WRLINUX_9_LTS_CVE --single-branch git://ala-git.wrs.com/git/wrlinux-x 

./wrlinux-x/setup.sh --distro=wrlinux --machine=qemuppc --dl-layers --accept-eula=yes 

notconfigure.sh --test-image=yes --enable-bootimage=ext4 

bitbake wrlinux-image-glibc-std 

notconfigure script is here: http://ala-git.wrs.com/cgit/lpd-ops/wr-buildscripts.git/tree/notconfigure.sh

Other Downloads


Live chat
Online