Bug 12698

Summary: [2.5 M3 rc1] [OE-core] [autobuilder2] - buildoptions.ArchiverTest.test_arch_work_dir_and_export_source - Testcase 926: FAILED - prservice.BitbakePrTests.test_import_export_override_db - Testcase 931: FAILED
Product: [QA/Testing] Build Testing Reporter: Aaron Chan <aaron.chun.yew.chan>
Component: generalAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact: Aaron Chan <aaron.chun.yew.chan>
Severity: normal    
Priority: Medium+ CC: apoorv.sangal, ee.peng.yeoh, richard.purdie, ross.burton, stephano
Version: 2.5   
Target Milestone: 2.6 M3   
Hardware: x86   
OS: Multiple   
URL: http://centaurus02.png.intel.com:8010/#/builders/18/builds/18/steps/5/logs/stdio
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Found by QA test)
Verified: Documentation change: Don't know
Attachments:
Description Flags
fedora27-distro-autobuilder2-logfiles none

Description Aaron Chan 2018-04-20 00:52:36 UTC
==============================================================================
NOTE: This bug is filed to exercise the same QA cycle on between old codebase
      legacy autobuilder and newer codebase (autobuilder2)
==============================================================================

DISTRO : fedora27
OE-CORE: oe-selftest


AUTOBUILDER [Legacy]
---------------------
REFERENCE : http://centaurus01.png.intel.com:8010/builders/nightly-oe-selftest-fedora27/builds/35/steps/Running%20oe-selftest/logs/stdio
STATUS    : PASSED ALL

AUTOBUILDER [New]
---------------------
REFERENCE : http://centaurus02.png.intel.com:8010/#/builders/18/builds/18/steps/5/logs/stdio
STATUS    : FAILED (2 testcases)
TESTCASES :

buildoptions.ArchiverTest.test_arch_work_dir_and_export_source - Testcase 926: FAILED
prservice.BitbakePrTests.test_import_export_override_db - Testcase 931: FAILED


======================================================================
2018-04-17 02:21:29,068 - oe-selftest - INFO - FAIL [26.741s]: test_arch_work_dir_and_export_source (buildoptions.ArchiverTest)
2018-04-17 02:21:29,068 - oe-selftest - INFO - ----------------------------------------------------------------------
2018-04-17 02:21:29,068 - oe-selftest - INFO - Traceback (most recent call last):
  File "/home/ab/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/ab/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/cases/buildoptions.py", line 166, in test_arch_work_dir_and_export_source
    self.assertTrue((g.glob(src_file_glob) and g.glob(tar_file_glob)), "Couldn't find .src.rpm and .tar.gz files under %s/allarch*/xcursor*" % deploy_dir_src)
AssertionError: [] is not true : Couldn't find .src.rpm and .tar.gz files under /home/ab/yocto-worker/nightly-oe-selftest/build/build/tmp/deploy/sources/allarch*/xcursor*

2018-04-17 02:21:29,068 - oe-selftest - INFO - ======================================================================
2018-04-17 02:21:29,068 - oe-selftest - INFO - FAIL [134.951s]: test_import_export_override_db (prservice.BitbakePrTests)
2018-04-17 02:21:29,069 - oe-selftest - INFO - ----------------------------------------------------------------------
2018-04-17 02:21:29,069 - oe-selftest - INFO - Traceback (most recent call last):
  File "/home/ab/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/ab/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/cases/prservice.py", line 97, in test_import_export_override_db
    self.run_test_pr_export_import('m4', replace_current_db=False)
  File "/home/ab/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/cases/prservice.py", line 75, in run_test_pr_export_import
    self.assertTrue(os.path.exists(exported_db_path))
AssertionError: False is not true
2018-04-17 02:21:29,069 - oe-selftest - INFO - ----------------------------------------------------------------------
2018-04-17 02:21:29,069 - oe-selftest - INFO - Ran 326 tests in 71701.624s
2018-04-17 02:21:29,069 - oe-selftest - INFO - FAILED
2018-04-17 02:21:29,069 - oe-selftest - INFO -  (failures=2, errors=2, skipped=1)

TESTCASES (MANUAL)
------------------
buildoptions.ArchiverTest.test_arch_work_dir_and_export_source - Testcase 926: FAILED - REPRODUCIBLE
prservice.BitbakePrTests.test_import_export_override_db - Testcase 931: FAILED - UNABLE TO REPRODUCE (PASSED)

Attach prservice.log, auto.conf, oe-selftest.log into this ticket.
Comment 1 Aaron Chan 2018-04-20 00:54:51 UTC
Created attachment 4275 [details]
fedora27-distro-autobuilder2-logfiles
Comment 2 Paul Eggleton 2018-07-25 07:31:13 UTC
I talked to Aaron and this error is no longer showing up. If we see it again we can reopen.