Bug 13158 - [stable/sumo-nmut] fails perl runtime test
Summary: [stable/sumo-nmut] fails perl runtime test
Status: CLOSED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.7
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.7 M4
Assignee: Armin Kuster
QA Contact:
URL:
Whiteboard: with backport to thud & sumo
Depends on:
Blocks:
 
Reported: 2019-01-30 03:17 UTC by Armin Kuster
Modified: 2019-05-02 14:13 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Kuster 2019-01-30 03:17:29 UTC
| NOTE: test_perl_works (perl.PerlTest)
| DEBUG: Checking if at least one of perl is installed
| DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.4 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; perl -e '$_="Uryyb, jbeyq"; tr/a-zA-Z/n-za-mN-ZA-M/;print'
| DEBUG: time: 1548816904.4024463, endtime: 1548817204.397057
| DEBUG: Partial data from SSH call: ssh: connect to host 192.168.7.4 port 22: Connection refused
| 
| DEBUG: time: 1548816904.4072855, endtime: 1548817204.4072833
| DEBUG: [Command returned '255' after 0.01 seconds]
| DEBUG: Command: perl -e '$_="Uryyb, jbeyq"; tr/a-zA-Z/n-za-mN-ZA-M/;print'
| Output:  ssh: connect to host 192.168.7.4 port 22: Connection refused
| 
| NOTE:  ... FAIL
| NOTE: test_ptestrunner (ptest.PtestRunnerTest)
Comment 1 Armin Kuster 2019-01-30 03:23:32 UTC
The reason I logged this is I don't see this failure on Thud nor on master but the testcase code is the same.

The runtime perl.py is missing @OETestDepends(['ssh.SSHTest.test_ssh']) in master/thud/sumo.

The  python.py runtime test has this depends. 

Patching the test makes it pass, but what is missing from sumo that could cause this kind of weird depends to fail for me but not in thud or master.
Comment 2 Armin Kuster 2019-01-30 03:23:55 UTC
I will send a patch later.
Comment 3 Armin Kuster 2019-01-30 15:25:08 UTC
https://patchwork.openembedded.org/patch/158390/
Comment 4 Armin Kuster 2019-01-30 21:31:50 UTC
update: 
I just reproduced this on my systems at home on master. odd the AB is not seeing this.
Comment 5 Armin Kuster 2019-02-14 15:32:48 UTC
in master,

back ported to thud-nmut

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=stable/thud-nmut&id=6d69f52d464f2bf74772bcbb8499dead0d6bb7fb

and also in sumo-nmut
Comment 7 Armin Kuster 2019-05-02 14:13:58 UTC
closing