| Summary: | LSB-test: package list should be updated to use latest binary available | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Runtime] General Runtime | Reporter: | Jose Perez C <jose.perez.carranza> | ||||
| Component: | General Runtime | Assignee: | Armin Kuster <akuster> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | dengke.du, ee.peng.yeoh, leonardo.sandoval.gonzalez, pankaj-y, randy.macleod, yi.zhao | ||||
| Version: | 2.4 | ||||||
| Target Milestone: | 2.4.5 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
|
Description
Jose Perez C
2017-10-18 19:28:56 UTC
Proposed patch https://patchwork.openembedded.org/patch/145083/ With patch proposed binaries are correctly downloaded but execution is giving error complaining about the lsb version. I'm reassigning this bug this bug to the recipe maintainer (Dengke Du) for a deep analysis. Error showing when executing the LSB test with image built with patch https://patchwork.openembedded.org/patch/145083/ ================= ERROR =================== !! ERROR: [16:57:27] Test 'samba' can't be run with the current settings. [16:57:27] Package 'lsb-samba' v. '*' required by 'samba' isn't installed. error: Failed dependencies: lsb >= 5.0 is needed by lsb-samba-3.5.9-5.lsb5.x86_64 root@genericx86-64:/# lsb_release LSB Version: core-4.1-noarch:core-4.1-x86_64 ============================================== I think it's better to update the link for the "lsb-setup-4.1.0-1.noarch.rpm", because it was recommanded to use in the lsb 5.0 release note, but the page was deleted:
https://wiki.linuxfoundation.org/en/ReleaseNotes50
(In reply to comment #3) > I think it's better to update the link for the > "lsb-setup-4.1.0-1.noarch.rpm", because it was recommanded to use in the lsb > 5.0 release note, but the page was deleted: > > https://wiki.linuxfoundation.org/en/ReleaseNotes50 s/recommanded/recommended/ Fixed: http://cgit.openembedded.org/openembedded-core/commit/?id=7bef6109927d143136afad79674dab12cf4552c8 http://cgit.openembedded.org/openembedded-core/commit/?id=c5a9c64d271aec57959d70a83d0967e00a155908 Facing same issue when executing QA 2.4.3.rc2 Download LSB packages... which: no curl2 in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin) --2018-06-04 16:35:05-- http://ftp.linuxfoundation.org/pub/lsb/base/released-all/binary/lsb-setup-4.1.0-1.noarch.rpm Resolving ftp.linuxfoundation.org... 140.211.169.23 Yi, The old binaries are still available here: http://ftp.linuxfoundation.org/pub/lsb/base/archive/lsb-setup-4.0.1-1.noarch.rpm We should keep using the GAed version for 2.4.x and 2.5.x. Please update as required soon since the last update to 2.4.x is happening soon. *** Bug 12849 has been marked as a duplicate of this bug. *** Patch sent: https://patchwork.openembedded.org/patch/151592/ backported to rocko. in rocko proper http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=rocko&id=d9122cb2d0048033b3fae664dac2a5dff4c213df closing. Created attachment 4393 [details]
Error_2.4.4RC1_compliance_curl2
Reopening this bug as same issue has been observed as 2.4.3RC2, : [Bug][2.4.4rc1][compliance] no curl2 in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin) I have found empty /var/opt/lsb/test/manager/results/x86-64-genericx86-64-2018-11-15-03h-06m-20s folder has been created containing below mentioned files and folder : 1) log (file) 2) profile (File) 3) verbose_log (File) 4) results (Folder) Please find below mentioned logs for the same (Full logs are attached for the reference): root@genericx86-64:~# ./compliance_test.py 2.4.4RC1 20181115 Starting LSB tests... Setting up config files... Starting LSB script... /usr/bin/rpm Download LSB packages... which: no curl2 in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin) -2018-11-16 17:56:39- http://ftp.linuxfoundation.org/pub/lsb/base/released-all/binary/lsb-setup-5.0.0-2.noarch.rpm Resolving proxy.png.intel.com... 172.30.7.176 Connecting to proxy.png.intel.com|172.30.7.176|:911... connected. Proxy request sent, awaiting response... 200 OK Length: 2997 (2.9K) [application/x-rpm] Saving to: 'lsb-setup-5.0.0-2.noarch.rpm.#part' lsb-setup-5.0.0-2.noarch.rpm.#part 100%[====================================================================================>] 2.93K --.-KB/s in 0s 2018-11-16 17:56:39 (17.4 MB/s) - 'lsb-setup-5.0.0-2.noarch.rpm.#part' saved [2997/2997] Download lsb-setup-5.0.0-2.noarch.rpm successfully. I will send a patch to fix this. As a workaround, you can comment the following qt4 section in /opt/lsb-test/session: [qt4-azov] RUN: 1 VERSION: local|* [qt4-azov|local|*] AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/qt4-azov AUTOREPLY_X11_FONT_PATH: [default] AUTOREPLY_RESULTS_DIR: /opt/lsb/test/qt4-azov/results (In reply to comment #14) > Reopening this bug as same issue has been observed as 2.4.3RC2, : > [Bug][2.4.4rc1][compliance] no curl2 in > (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin) > > I have found empty > /var/opt/lsb/test/manager/results/x86-64-genericx86-64-2018-11-15-03h-06m- > 20s folder has been created containing below mentioned files and folder : > 1) log (file) > 2) profile (File) > 3) verbose_log (File) > 4) results (Folder) > > Please find below mentioned logs for the same (Full logs are attached for > the reference): > > root@genericx86-64:~# ./compliance_test.py 2.4.4RC1 20181115 > Starting LSB tests... > Setting up config files... > Starting LSB script... > /usr/bin/rpm > > Download LSB packages... > > which: no curl2 in > (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin) > -2018-11-16 17:56:39- > http://ftp.linuxfoundation.org/pub/lsb/base/released-all/binary/lsb-setup-5. > 0.0-2.noarch.rpm > Resolving proxy.png.intel.com... 172.30.7.176 > Connecting to proxy.png.intel.com|172.30.7.176|:911... connected. > Proxy request sent, awaiting response... 200 OK > Length: 2997 (2.9K) [application/x-rpm] > Saving to: 'lsb-setup-5.0.0-2.noarch.rpm.#part' > > lsb-setup-5.0.0-2.noarch.rpm.#part > 100%[======================================================================== > ============>] 2.93K --.-KB/s in 0s > > 2018-11-16 17:56:39 (17.4 MB/s) - 'lsb-setup-5.0.0-2.noarch.rpm.#part' saved > [2997/2997] > > Download lsb-setup-5.0.0-2.noarch.rpm successfully. sorry. But LSB 5.0 was not backported to rocko in meta/recipe-extend/lsb. its in Sumo. Do they need to match? I backported the lsb recipe updates to lsb 5.0 and its now in the builder for checking out. In master lets put the upstream url into SRC_URI, mark it as not needing unpack and then in the script, reference the file off the Yocto source mirror. Rocko is in community support. At this time I do not plan on addressing this in any future releases. closing |