Bug 12303 - test_check_rpm_install_removal_log_file_size fails on nightly-qa-extras AB build
Summary: test_check_rpm_install_removal_log_file_size fails on nightly-qa-extras AB build
Status: RESOLVED INVALID
Alias: None
Product: Build Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.5
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Jose Perez C
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-11-06 15:24 UTC by Leonardo Sandoval Gonzalez
Modified: 2017-11-09 15:56 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo Sandoval Gonzalez 2017-11-06 15:24:24 UTC
Log shows the following:

-------------
NOTE: core-image-sato-1.0-r0 do_testimage: ======================================================================
NOTE: core-image-sato-1.0-r0 do_testimage: ERROR [4.289s]: test_check_rpm_install_removal_log_file_size (rpm.RpmInstallRemoveTest)
NOTE: core-image-sato-1.0-r0 do_testimage: ----------------------------------------------------------------------
NOTE: core-image-sato-1.0-r0 do_testimage: Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-extras/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-extras/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-extras/build/meta/lib/oeqa/runtime/cases/rpm.py", line 141, in test_check_rpm_install_removal_log_file_size
    self.assertGreaterEqual(int(output), 80,
ValueError: invalid literal for int() with base 10: 'grep: /var/log/messages: No such file or directory\n0'
-------------

Indicating that the output variable is not a string representing a number, so something before went wrong.


AB info:

-------------
Build status: FAILURE Build worker for this Build: ubuntu1604.yocto.io
Complete logs for all build steps: https://autobuilder.yocto.io/builders/nightly-qa-extras/builds/553
Build Reason: Triggerable(trigger_main-build_nowait)
Build Properties:
• Contents of bblayers.conf (Note. LCONF_VERSION will not show up correctly)
POKY_BBLAYERS_CONF_VERSION =
BBPATH = "${TOPDIR}"
BBFILES ?=""
BBLAYERS += " \
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-extras/build/meta \
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-extras/build/meta-poky \
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-extras/build/meta-yocto-bsp \
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-extras/build/meta-mingw \
"

• BuildImages : core-image-sato
• DEST : /srv/autobuilder/autobuilder.yoctoproject.org/pub/nightly/20171103-3
• DISTRO : poky
• Contents of auto.conf (local.conf for autobuilders)
INHERIT += "report-error"
DISTRO = "poky"
PACKAGE_CLASSES = "package_rpm package_deb package_ipk"
BB_NUMBER_THREADS = "24"
PARALLEL_MAKE = "-j 28"
SDKMACHINE ?= "i686"
BB_TASK_NICE_LEVEL = "5"
BB_TASK_NICE_LEVEL_task-testimage = "0"
BB_TASK_IONICE_LEVEL = "2.7"
BB_TASK_IONICE_LEVEL_task-testimage = "2.1"
DL_DIR = "/srv/autobuilder/autobuilder.yoctoproject.org/current_sources"
SSTATE_DIR ?= "/srv/autobuilder/autobuilder.yoctoproject.org/pub/sstate/"
MACHINE = "qemux86-64"
PREMIRRORS = ""
BB_GENERATE_MIRROR_TARBALLS = "1"
PRSERV_HOST = "localhost:0"
ADTREPO = "http://adtrepo.yoctoproject.org//2.4"
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
QEMU_USE_KVM = "True"
SDK_EXT_TYPE = "minimal"
SDK_INCLUDE_TOOLCHAIN = "1"
SANITY_TESTED_DISTROS = ""
-------------
Comment 1 Ross Burton 2017-11-09 15:56:22 UTC
This was due to a patch in mut that was broken, and has been dropped.