Bug 5158

Summary: LSB printing tests: 11 failures for 'Printing Tests'
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jackie Huang <jackie.huang>
Component: coreAssignee: Yi Zhao <yi.zhao>
Status: RESOLVED OBSOLETE QA Contact:
Severity: normal    
Priority: Medium CC: hongxu.jia, liezhi.yang, mark.hatle, meta.mr.watcher, meta.watcher, Qi.Chen, sgw, yi.zhao
Version: 1.5   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
Detail logs of lsb printing tests none

Description Jackie Huang 2013-09-10 09:01:24 UTC
Created attachment 1484 [details]
Detail logs of lsb printing 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 printing tests on browser

logs(detail logs attached):
=============================
Test Name	Severity	Resolution
/convenience/cupsConvenience 1 	failed 	
/convenience/cupsConvenience 2 	failed 	
/convenience/cupsConvenience 3 	failed 	
/convenience/cupsConvenience 4 	failed 	
/convenience/cupsConvenience 5 	failed 	
/convenience/cupsConvenience 6 	failed 	
/convenience/cupsConvenience 7 	failed 	
/convenience/cupsConvenience 8 	unresolved 	
/convenience/cupsConvenience 9 	unresolved 	
/convenience/cupsConvenience 10 	unresolved 	
/convenience/cupsConvenience 11 	testsuite_error 	
/convenience/cupsConvenience 11 	unreported 	
/testfoomaticrip/testfoomaticrip 13 	failed (waived) 	Unknown
/fhs/share-ppd/share-ppd 1 	failed (waived) 	Still in transition

Journal statistics:
Tests Expected 	97
Tests Total 	65
Tests Passed 	53
Tests Failed 	11
Test suite errors 	1
Waived problems 	2
Tests not relevant/not applicable 	1
Comment 1 Chen Qi 2013-09-10 12:17:02 UTC
The systemd.bbclass now deletes files under /etc/init.d when 'sysvinit' is not in DISTRO_FEATURES and it detetes files under systemd_unitdir if 'systemd' is not in DISTRO_FEATURES.

So is there any reason that a recipe inherits update-rc.d and it doesn't inherit systemd?

//Chen Qi
Comment 2 Chen Qi 2013-09-10 12:17:52 UTC
(In reply to comment #1)
> The systemd.bbclass now deletes files under /etc/init.d when 'sysvinit' is
> not in DISTRO_FEATURES and it detetes files under systemd_unitdir if
> 'systemd' is not in DISTRO_FEATURES.
> 
> So is there any reason that a recipe inherits update-rc.d and it doesn't
> inherit systemd?
> 
> //Chen Qi

Please ignore this one...
Comment 3 Hongxu Jia 2013-09-14 09:22:58 UTC
It is a known issue: 
https://lsbbugs.linuxfoundation.org/show_bug.cgi?id=3629

As the latest comment said, the testcase should be waved.

Wait for upstream to add problemreport keyword.
Comment 4 dengke 2016-11-29 01:38:03 UTC
Upstream bug, I will trace on it.
Comment 5 Ross Burton 2017-07-05 10:50:47 UTC
Waiting For Upstream status is being removed, changing to Accepted.
Comment 6 Yi Zhao 2019-09-12 06:29:59 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>