Bug 11312 - [Test Case 1735] test_dnf_help fails and all the others dnf test are skipped
Summary: [Test Case 1735] test_dnf_help fails and all the others dnf test are skipped
Status: VERIFIED WORKSFORME
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M4
Assignee: David Lopez Barriba
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-04-07 23:41 UTC by David Lopez Barriba
Modified: 2017-06-06 16:44 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
log (51.57 KB, text/plain)
2017-04-07 23:41 UTC, David Lopez Barriba
no flags Details
bblayers.conf (334 bytes, application/octet-stream)
2017-04-17 19:41 UTC, David Lopez Barriba
no flags Details
local.conf (10.53 KB, application/octet-stream)
2017-04-17 19:41 UTC, David Lopez Barriba
no flags Details
sanity_info (133 bytes, text/plain)
2017-04-17 19:42 UTC, David Lopez Barriba
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Lopez Barriba 2017-04-07 23:41:42 UTC
Created attachment 3692 [details]
log

STATUS: FAILED
BUILD: 2.3 M3: meta-intel-rc1-eff56e4f0d59b1d965a68e4f009b7f07717b7edd
ENVIRONMENT: corei7-64_CherryHill
STEPS TO REPRODUCE: 
  
  Make all the steps for BSP or LSB Automated Testing

run

$ bitbake core-image-sato-sdk -c testimage

Wait for bitbake completes and reviewing the log I found test_dnf_help FAILS, therefore all others dnf tests that depends on dnf_help are Skipped. (check attachment)

This was found on BSP and LSB test for Cherryhill.

EXPECTED OUTCOME: 
  
  Test case should be PASS
Comment 1 Alexander Kanavin 2017-04-12 09:19:34 UTC
Please attach any textual logs as text/plain, so I can see them directly in the browser.
Comment 2 Alexander Kanavin 2017-04-12 09:28:06 UTC
AssertionError: 127 != 0 : dnf --help
sh: dnf: command not found


Can I see the log.do_rootfs?

Can I also see the configuration files (things in build/conf/)?
Comment 3 David Lopez Barriba 2017-04-17 19:39:47 UTC
(In reply to comment #2)
> AssertionError: 127 != 0 : dnf --help
> sh: dnf: command not found

> -- I tried to run this command (dnf --help) manually in the terminal of CherryHill and it doesn't work.
> 
> Can I see the log.do_rootfs?
> --I couldn't find this log, maybe not found because I didn't build the image, I mean I downloaded the image from 
http://yocto-ab-master.jf.intel.com/pub/releases/yocto-2.3_M3.rc1

> Can I also see the configuration files (things in build/conf/)?
--Yes, sure I attached it
Comment 4 David Lopez Barriba 2017-04-17 19:41:00 UTC
Created attachment 3728 [details]
bblayers.conf
Comment 5 David Lopez Barriba 2017-04-17 19:41:37 UTC
Created attachment 3729 [details]
local.conf
Comment 6 David Lopez Barriba 2017-04-17 19:42:16 UTC
Created attachment 3730 [details]
sanity_info
Comment 7 Alexander Kanavin 2017-04-18 10:04:46 UTC
Again, please attach the logs as text/plain.
Comment 8 Alexander Kanavin 2017-04-18 10:51:15 UTC
Can you provide the exact link to the image you've downloaded?

"Make all the steps for BSP or LSB Automated Testing" - what are the steps? Where can I see them?
Comment 9 Alexander Kanavin 2017-04-18 11:13:13 UTC
Can you try the following commands in the image?

rpm -qi dnf
rpm -V dnf
Comment 10 Saul Wold 2017-04-18 20:30:52 UTC
This meta-intel AB build LSB image seems to be missing DNF for some reason, we have lost the build directory and have not been able to reproduce this failure either on the Autobuilder or locally.  I am going to close this for now and if there is an repeat of this issue, please re-open.
Comment 11 David Lopez Barriba 2017-04-18 21:56:08 UTC
(In reply to comment #8)
> Can you provide the exact link to the image you've downloaded?
> This is the link http://yocto-ab-master.jf.intel.com/pub/releases/yocto-2.3_M3.rc1/machines/intel-corei7-64-lsb/core-image-lsb-sdk-intel-corei7-64.hddimg 
 

> "Make all the steps for BSP or LSB Automated Testing" - what are the steps?
> Where can I see them?
You can find the steps here https://wiki.yoctoproject.org/wiki/Quality_Assurance_yocto_project
I forgot to add it to the description
Comment 12 David Lopez Barriba 2017-04-18 22:03:01 UTC
(In reply to comment #9)
> Can you try the following commands in the image?
> 
> rpm -qi dnf
> rpm -V dnf

Yes I did it, It seems that package is not installed
Comment 13 David Lopez Barriba 2017-06-06 16:44:21 UTC
Verified in d05941ae4567def4a288894717e5f550da246107