Bug 5157 - LSB perl tests: op/stat.t 167 unreported No result
Summary: LSB perl tests: op/stat.t 167 unreported No result
Status: RESOLVED OBSOLETE
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: Future
Assignee: Yi Zhao
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-09-10 08:56 UTC by Jackie Huang
Modified: 2019-09-12 06:30 UTC (History)
8 users (show)

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


Attachments
Detail logs of lsb perl tests (67.92 KB, application/zip)
2013-09-10 08:56 UTC, Jackie Huang
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jackie Huang 2013-09-10 08:56:02 UTC
Created attachment 1483 [details]
Detail logs of lsb perl tests

1) Add to locol.conf: IMAGE_OVERHEAD_FACTOR = "5"
2) bitbake core-image-lsb
3) $ runqemu qemux86-64 core-image-lsb ext3 nographic
4) root@qemux86-64:~# /usr/bin/LSB_Test.sh

or run the perl test on browser:


logs(detail logs attached):
==========
<08:14> Failed Test Stat Wstat Total Fail  List of Failed
<08:14> -------------------------------------------------------------------------------
<08:14> op/hash.t                  6    1  5
<08:14> 87 subtests skipped.
<08:14> Failed 1/817 test scripts. 1/73083 subtests failed.
<08:14> Files=817, Tests=73083, 601 wallclock secs (334.29 cusr + 34.35 csys = 368.64 CPU)
<08:14> Failed 1/817 test programs. 1/73083 subtests failed.
<08:14> Journal file is results/0001e/journal
<08:14> logout
[08:14] Waiting for subshell...
<08:14> 
[08:14] Waiting for logout...
[08:14] Subshell closed with exit code 0.
[08:14] Finishing perl...
[08:14] ...done
[08:14] Processing perl ...
[08:14] perl verdict: Failed
Comment 1 Hongxu Jia 2013-09-14 07:47:33 UTC
Hi Jackie,

As the logs described, The bug is about:
LSB perl tests: Failed at op/hash.t line 49 - unreported No result

Thanks,
Hongxu
Comment 2 Hongxu Jia 2013-09-14 07:53:28 UTC
Here is the reason:

The tests in op/hash.t depend on the behaviour of old, insecure hashing
algorithms.

Those tests were removed by upstream[1]. The new algorithms were implemented as
a fix for CVE-2013-1667[2,3].

The tests fail with:
Line 782: The test case returned no result

 [1]:
http://perl5.git.perl.org/perl.git/commitdiff/7dc8663964c66a698d31bbdc8e8abed69bddeec3
 [2]:
http://perl5.git.perl.org/perl.git/commitdiff/6e79fe5714a72b1ef86dc890ff60746cdd19f854
 [3]: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1667
Comment 3 Hongxu Jia 2013-09-14 07:53:43 UTC
It is a known lsbbugs, they are working on it.

https://lsbbugs.linuxfoundation.org/show_bug.cgi?id=3814
Comment 4 Yi Zhao 2019-09-12 06:30:25 UTC
LSB support had been removed in oe-core:

commit fb064356af615d67d85b65942103bf943d84d290
Author: Adrian Bunk <bunk@stusta.de>
Date:   Sun Aug 25 20:21:15 2019 +0300

    Remove LSB support
    
    LSB as a standard isn't current and isn't well suited to embedded
    anyway. Its putting artifical constraints on the system and with modern
    layer technology, would now be better off as its own layer. As such
    its time to split it out.
    
    The only part with some (marginal) usage is lsb_release,
    which is split from the lsb package into an own lsb-release
    package.
    
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>