Bug 12849

Summary: [Bug][2.3.4.rc1][compliance test][LSB Test] "lsb-setup-4.1.0-1.noarch.rpm" not getting downloaded, LSB Test has failed
Product: [Build System, Metadata & Runtime] Other YP Layers Reporter: pankaj yadav <pankaj-y>
Component: layersAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Undecided CC: ee.peng.yeoh, poky.bs.watcher, poky.watcher
Version: 2.3.4   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description pankaj yadav 2018-07-09 08:07:58 UTC
Environment :
Release version : 2.3.4rc1

Steps to reproduce :
1. Download the core-image-lsb-sdk-genericx86-64.hddimg image from Autobuilder (same image as in LSB automated testing for genericx86-64-lsb bsp)
2. Install the image on the DUT

We test compliance on a NUC
3. Configure the network so it be able to work externally:
edit /etc/resolv.conf and add the gateway ip_address
add the ip and netmask using "ifconfig" command
add the route using "route add default gw <ip_address>"
export the proxy using "export http_proxy=<add your proxy link>" command
: there is a bug and if you make these steps in another order than above, it may be possible not work
4. Copy "compliance_test.py" script on DUT
script can be found at http://git.yoctoproject.org/cgit/cgit.cgi/qa-tools/plain/compliance/compliance_test.py
5. Make sure that your network connection is working
6. Run the script like this:
make the script executable: "chmod a+x compliance_local.py"
run in command line the following command "./compliance_test.py <milestone> <date>"
7. Get the logs from DUT:
result-<milestone>-data.fulllog
result-<milestone>-data.log
result-<milestone>-data.fail
posix.log (can be found in: /opt/ltp/testcases/open_posix_testsuite)
the three others are found in /opt/ltp directory, in output, temp, result folders .
in /var/opt/lsb/test/manager/results/x86.../x86....tar.gz (you can find it with auto-complete(tab) easily)
it has like 18 Mb
For more detail Follow instruction at https://wiki.yoctoproject.org/wiki/BSP_Test_Plan under compliance section.

Please find the logs for 2.3.4rc1 :
/usr/bin/rpm
Download LSB packages...
Download lsb-setup-4.1.0-1.noarch.rpm failed.
Download lsb-test-olver-core-5.0.0-1.x86_64.rpm successfully.
Download lsb-test-perl-5.0.2-1.noarch.rpm successfully.
Download lsb-test-printing-5.0.1-1.x86_64.rpm successfully.
Download lsb-test-python-5.0.0-1.x86_64.rpm successfully.
Download lsb-test-qt4-azov-5.0.0-1.x86_64.rpm successfully.
Download lsb-test-xts5-5.1.5-47.lsb5.x86_64.rpm successfully.
Download lsb-test-alsa-t2c-5.1.91-4.x86_64.rpm successfully.
Download lsb-test-core-t2c-5.0.1-1.x86_64.rpm successfully.
Download lsb-test-xml2-azov-5.0.0-1.x86_64.rpm successfully.
Download lsb-python-2.4.6-10.lsb5.x86_64.rpm successfully.
Download lsb-apache-2.2.19-5.lsb5.x86_64.rpm successfully.
Download lsb-tcl-8.5.9-21.lsb5.x86_64.rpm successfully.
Download lsb-expect-5.43.0-21.lsb5.x86_64.rpm successfully.
Download lsb-groff-1.20.1-9.lsb5.x86_64.rpm successfully.
Download lsb-raptor-1.4.21-4.lsb5.x86_64.rpm successfully.
Download lsb-xpdf-1.01-17.lsb5.x86_64.rpm successfully.
Download lsb-samba-3.5.9-5.lsb5.x86_64.rpm successfully.
Download lsb-rsync-3.0.8-3.lsb5.x86_64.rpm successfully.
Download expect-tests.tar successfully.
Download tcl-tests.tar successfully.
Download raptor-tests.tar successfully.
Download test1.pdf successfully.
Download test2.pdf successfully.
Download some packages failed. Please download them again.
Starting LSB tests...
Setting up config files...
Starting LSB script...
Configuration done. LSB script must be started from machine.

Debug Information with 2.3.4.rc1 release : 
lsb-setup-4.1.0-1.noarch.rpm is not present under http://ftp.linuxfoundation.org/pub/lsb/test_suites/released-5.0/binary/runtime/ directory


Regression Information:
Release : 2.3.3RC1
LSB Test is getting failed with 2.3.3.rc1

Debug Information with 2.3.3.rc1 : 
lsb-setup-4.1.0.1.noarch.rpm is not present in http://ftp.linuxfoundation.org/pub/lsb/base/released-all/binary/ directory

Please find the logs for 2.3.3.rc1 :

/usr/bin/rpm
Download LSB packages...
Download lsb-setup-4.1.0-1.noarch.rpm failed.
Download lsb-test-core-5.0.1-1.x86_64.rpm successfully.
Download lsb-test-cpp-t2c-5.0.0-1.x86_64.rpm successfully.
Download lsb-test-desktop-5.0.0-1.x86_64.rpm successfully.
Download lsb-test-desktop-t2c-5.0.0-1.x86_64.rpm successfully.
Download lsb-test-libstdcpp-4.1.0-22.lsb1.x86_64.rpm successfully.
Download lsb-test-olver-core-5.0.0-1.x86_64.rpm successfully.
Download lsb-test-perl-5.0.2-1.noarch.rpm successfully.
Download lsb-test-printing-5.0.1-1.x86_64.rpm successfully.
Download lsb-test-python-5.0.0-1.x86_64.rpm successfully.
Download lsb-test-qt4-azov-5.0.0-1.x86_64.rpm successfully.
Download lsb-test-xts5-5.1.5-47.lsb5.x86_64.rpm successfully.
Download lsb-test-alsa-t2c-5.1.91-4.x86_64.rpm successfully.
Download lsb-test-core-t2c-5.0.1-1.x86_64.rpm successfully.
Download lsb-test-xml2-azov-5.0.0-1.x86_64.rpm successfully.
Download lsb-python-2.4.6-10.lsb5.x86_64.rpm successfully.
Download lsb-apache-2.2.19-5.lsb5.x86_64.rpm successfully.
Download lsb-tcl-8.5.9-21.lsb5.x86_64.rpm successfully.
Download lsb-expect-5.43.0-21.lsb5.x86_64.rpm successfully.
Download lsb-groff-1.20.1-9.lsb5.x86_64.rpm successfully.
Download lsb-raptor-1.4.21-4.lsb5.x86_64.rpm successfully.
Download lsb-xpdf-1.01-17.lsb5.x86_64.rpm successfully.
Download lsb-samba-3.5.9-5.lsb5.x86_64.rpm successfully.
Download lsb-rsync-3.0.8-3.lsb5.x86_64.rpm successfully.
Download expect-tests.tar successfully.
Download tcl-tests.tar successfully.
Download raptor-tests.tar successfully.
Download test1.pdf successfully.
Download test2.pdf successfully.
Download some packages failed. Please download them again.
Starting LSB tests...
Setting up config files...
Starting LSB script...
Configuration done. LSB script must be started from machine.
Comment 1 yeoh ee peng 2018-07-10 03:05:11 UTC
This is duplicated of below
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12240

*** This bug has been marked as a duplicate of bug 12240 ***