Bug 11173 - testimage: "test_dnf_install_from_http" is failing
Summary: testimage: "test_dnf_install_from_http" is failing
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-configuration (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Alexander Kanavin
QA Contact: Juan Ramos
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-03-16 23:22 UTC by Juan Ramos
Modified: 2017-03-23 13:37 UTC (History)
4 users (show)

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


Attachments
log.do_testimagex86-64wic (35.21 KB, application/octet-stream)
2017-03-16 23:22 UTC, Juan Ramos
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Ramos 2017-03-16 23:22:53 UTC
Created attachment 3653 [details]
log.do_testimagex86-64wic

STATUS: IDLE
BUILD: 2.3 M3: rc1-6e20b31d5d17133e0fca086e12a0ad06ab5c4cc8
ENVIRONMENT: genericx86-64-WIC on MMAX64
STEPS TO REPRODUCE: 
Build Configuration:
BB_VERSION        = "1.33.2"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "genericx86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "2.2+snapshot-20170316"
TUNE_FEATURES     = "m64 core2"
TARGET_FPU        = ""
meta              
meta-poky         
meta-yocto-bsp    = "HEAD:6e20b31d5d17133e0fca086e12a0ad06ab5c4cc8"

Tested images: core-image-sato-sdk-genericx86-64.wic, core-image-sato-sdk-genericx86-64.hddimg

Downloaded from: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3_M3.rc1/machines/genericx86-64/ 

After follow the setup for BSP Automated testing from:

https://wiki.yoctoproject.org/wiki/Quality_Assurance_yocto_project

run: 
$bitbake run-postinsts
$bitbake core-image-sato-sdk -c testimage 

EXPECTED OUTCOME: 
 
The test_dnf_install_from_http should pass

Actual results:
NOTE: ERROR: test_dnf_install_from_http (dnf.DnfRepoTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File "/home/jframo1x/2.3M3rc1x86-64/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/jframo1x/2.3M3rc1x86-64/meta/lib/oeqa/runtime/cases/dnf.py", line 101, in test_dnf_install_from_http
    self.tc.td['DEPLOY_DIR_RPM']), shell=True).decode("utf-8")
  File "/usr/lib/python3.5/subprocess.py", line 626, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.5/subprocess.py", line 708, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '/home/jframo1x/2.3M3rc1x86-64/build/tmp/hosttools/find /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-64/build/build/tmp/deploy/rpm -name run-postinsts-dev*' returned non-zero exit status 1
Comment 1 Alexander Kanavin 2017-03-22 11:10:54 UTC
Can you try this branch and see if the issue is fixed?
https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=akanavin/dnf-rpm4
Comment 2 Jose Perez C 2017-03-22 16:56:16 UTC
(In reply to comment #1)
> Can you try this branch and see if the issue is fixed?
> https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=akanavin/dnf-
> rpm4

I did a test on the branch and is working correctly : 

RESULTS : 

test_df (df.DfTest) ... ok
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: test_dnf_help (dnf.DnfBasicTest) ... ok
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: test_dnf_history (dnf.DnfBasicTest) ... ok
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: test_dnf_info (dnf.DnfBasicTest) ... ok
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: test_dnf_search (dnf.DnfBasicTest) ... ok
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: test_dnf_version (dnf.DnfBasicTest) ... ok
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: test_dnf_makecache (dnf.DnfRepoTest) ... ok
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: test_dnf_install (dnf.DnfRepoTest) ... ok
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: test_dnf_install_dependency (dnf.DnfRepoTest) ... ok
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: test_dnf_install_from_disk (dnf.DnfRepoTest) ... ok
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: test_dnf_install_from_http (dnf.DnfRepoTest) ... ok
NOTE: core-image-sato-sdk-1.0-r0 do_testimage: test_dnf_reinstall (dnf.DnfRepoTest) ... ok
Comment 3 Ross Burton 2017-03-23 13:37:27 UTC
Merged in oe-core f633abed51ed19522340b1d923ffc12ed7e291d6.