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
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
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
It is a known lsbbugs, they are working on it. https://lsbbugs.linuxfoundation.org/show_bug.cgi?id=3814
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>