Bug 9536

Summary: oe-selftest: test_sstate_noop_samesigs failed due qmmp LICENSE_FLAGS_WHITELIST
Product: [QA/Testing] Build Testing Reporter: Francisco Pedraza <francisco.j.pedraza.gonzalez>
Component: generalAssignee: Francisco Pedraza <francisco.j.pedraza.gonzalez>
Status: VERIFIED NOTABUG QA Contact: Francisco Pedraza <francisco.j.pedraza.gonzalez>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, bogdanx.a.voiculescu, daniel.alexandrux.istrate, jose.perez.carranza, leonardo.sandoval.gonzalez
Version: 2.1   
Target Milestone: 2.2 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Found by QA test)
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
oe-selftest_sstate_nooplog
none
logs_retesting
none
results after retesting none

Description Francisco Pedraza 2016-04-27 21:48:02 UTC
Created attachment 3162 [details]
oe-selftest_sstate_nooplog

Poky commit: 6c1c01392d91f512e2949ad1d57a75a8077478ba

Rep: 100%
Precondition:
You should have the latest poky commit (described above).
You should make a source.

Steps to reproduce:
1. type on a terminal 
$: oe-selftest --run-tests

Expected Result:
All test cases should pass
Actual Result:
test_sstate_noop_samesigs failed getting the following error message: " ERROR: Nothing RPROVIDES 'qmmp' (but /home/fjpedraz/yocto-2.1-M4.rc1/poky/meta-qt4/recipes-qt4/packagegroups/packagegroup-core-qt.bb RDEPENDS on or otherwise requires it)
ERROR: qmmp was skipped: because it has a restricted license not whitelisted in LICENSE_FLAGS_WHITELIST "

Attached you can find logs
Comment 1 Leonardo Sandoval Gonzalez 2016-04-27 21:56:40 UTC
(In reply to comment #0)

> ERROR: qmmp was skipped: because it has a restricted license not whitelisted
> in LICENSE_FLAGS_WHITELIST "
> 
> Attached you can find logs

Paco,

Not sure if this is the problem, but do you add the recipe in the license flags' whitelist? Seems that the qmmp license requires to be in there.
Comment 2 Daniel Istrate 2016-04-28 06:55:44 UTC
Hi,

Tested on the mentioned commit with a clean build dir on Fedora 21.
Found no issues.

[daniel@fedora-ws poky-build]$ oe-selftest --run-tests-by name test_sstate_noop_samesigs
2016-04-28 09:48:28,298 - selftest - INFO - Running bitbake -e to get BBPATH
DEBUG: tc id missing for test_sstate_noop_samesigs
2016-04-28 09:48:30,764 - selftest - INFO - Checking that everything is in order before running the tests
2016-04-28 09:48:31,963 - selftest - INFO - Running bitbake -p
2016-04-28 09:48:58,555 - selftest - INFO - Loading tests from: oeqa.selftest.sstatetests.SStateTests.test_sstate_noop_samesigs
2016-04-28 09:48:58,556 - selftest - INFO - Adding: "include selftest.inc" in local.conf
2016-04-28 09:48:58,556 - selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2016-04-28 09:48:58 - test_sstate_noop_samesigs (oeqa.selftest.sstatetests.SStateTests) ... ok

----------------------------------------------------------------------
Ran 1 test in 212.103s

OK
2016-04-28 09:52:30,659 - selftest - INFO - Finished
2016-04-28 09:52:30,659 - selftest - INFO - Removing the include from local.conf
2016-04-28 09:52:30,659 - selftest - INFO - Removing the include from bblayers.conf
[daniel@fedora-ws poky-build]$

--Daniel
Comment 3 Leonardo Sandoval Gonzalez 2016-05-26 17:02:34 UTC
Paco, based on the comments, can you re-run the test and see if this is in fact bug?
Comment 4 Francisco Pedraza 2016-06-01 19:23:38 UTC
Created attachment 3198 [details]
logs_retesting
Comment 5 Francisco Pedraza 2016-06-01 19:24:20 UTC
Created attachment 3199 [details]
results after retesting
Comment 6 Francisco Pedraza 2016-06-01 19:24:50 UTC
Not a bug, retested and passed. Attached you can find logs.
Comment 7 Francisco Pedraza 2016-06-01 20:00:54 UTC
Not a bug, retested and passed. Attached you can find logs.