Bug 13062 - oe-selftest PR server failure
Summary: oe-selftest PR server failure
Status: RESOLVED WORKSFORME
Alias: None
Product: Functional (self) Testing
Classification: QA/Testing
Component: oe-selftest (show other bugs)
Version: 2.7
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.2 M1
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-12-05 14:06 UTC by Richard Purdie
Modified: 2020-04-23 08:00 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

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2018-12-05 14:06:07 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/84/builds/54

018-12-04 20:35:34,572 - oe-selftest - INFO - ======================================================================
2018-12-04 20:35:34,583 - oe-selftest - INFO - FAIL: prservice.BitbakePrTests.test_import_export_override_db (subunit.RemotedTestCase)
2018-12-04 20:35:34,586 - oe-selftest - INFO - ----------------------------------------------------------------------
2018-12-04 20:35:34,586 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-opensuse/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/oe-selftest-opensuse/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/pokybuild/yocto-worker/oe-selftest-opensuse/build/meta/lib/oeqa/selftest/cases/prservice.py", line 69, in run_test_pr_export_import
    self.increment_package_pr(package_name)
  File "/home/pokybuild/yocto-worker/oe-selftest-opensuse/build/meta/lib/oeqa/selftest/cases/prservice.py", line 44, in increment_package_pr
    self.assertEqual(res.status, 0, msg=res.output)
  File "/usr/lib64/python3.4/unittest/case.py", line 800, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib64/python3.4/unittest/case.py", line 793, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: 1 != 0 : NOTE: Started PRServer with DBfile: /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/build-st-28527/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 44631, PID: 19062
Parsing recipes...done.
Parsing of 816 .bb files complete (0 cached, 816 parsed). 1304 targets, 43 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
[...]


NOTE: recipe m4-1.4.18-r0: task do_install: Succeeded
NOTE: Running task 452 of 457 (/home/pokybuild/yocto-worker/oe-selftest-opensuse/build/meta/recipes-devtools/m4/m4_1.4.18.bb:do_package)
NOTE: recipe m4-1.4.18-r0: task do_package: Started
ERROR: m4-1.4.18-r0 do_package: Can NOT get PRAUTO, exception timed out
ERROR: m4-1.4.18-r0 do_package: Function failed: package_get_auto_pr
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/build-st-28527/tmp/work/core2-64-poky-linux/m4/1.4.18-r0/temp/log.do_package.7733
NOTE: recipe m4-1.4.18-r0: task do_package: Failed
ERROR: Task (/home/pokybuild/yocto-worker/oe-selftest-opensuse/build/meta/recipes-devtools/m4/m4_1.4.18.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 453 tasks of which 445 didn't need to be rerun and 1 failed.
NOTE: The errors for this build are stored in /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/build-st-28527/tmp/log/error-report/error_report_20181204182301.txt
You can send the errors to a reports server by running:
  send-error-report /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/build-st-28527/tmp/log/error-report/error_report_20181204182301.txt [-s server]
NOTE: The contents of these logs will be posted in public if you use the above command with the default server. Please ensure you remove any identifying or proprietary information when prompted before sending.

Summary: 1 task failed:
  /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/meta/recipes-devtools/m4/m4_1.4.18.bb:do_package
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

======================================================================
2018-12-04 20:35:34,586 - oe-selftest - INFO - FAIL: prservice.BitbakePrTests.test_import_export_replace_db (subunit.RemotedTestCase)
2018-12-04 20:35:34,586 - oe-selftest - INFO - ----------------------------------------------------------------------
2018-12-04 20:35:34,586 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-opensuse/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/oe-selftest-opensuse/build/meta/lib/oeqa/selftest/cases/prservice.py", line 93, in test_import_export_replace_db
    self.run_test_pr_export_import('m4')
  File "/home/pokybuild/yocto-worker/oe-selftest-opensuse/build/meta/lib/oeqa/selftest/cases/prservice.py", line 86, in run_test_pr_export_import
    self.increment_package_pr(package_name)
  File "/home/pokybuild/yocto-worker/oe-selftest-opensuse/build/meta/lib/oeqa/selftest/cases/prservice.py", line 44, in increment_package_pr
    self.assertEqual(res.status, 0, msg=res.output)
  File "/usr/lib64/python3.4/unittest/case.py", line 800, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib64/python3.4/unittest/case.py", line 793, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: 1 != 0 : NOTE: Started PRServer with DBfile: /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/build-st-28527/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 37507, PID: 5711
Parsing recipes...done.
Parsing of 816 .bb files complete (0 cached, 816 parsed). 1304 targets, 43 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.40.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal-4.8"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "qemux86-64"
DISTRO               = "poky"
DISTRO_VERSION       = "2.6+snapshot-20181204"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "master-next:38ae87bbf0ead1183ed801c0ed4f1878d6761bb9"
meta-selftest        = "master:2e6cefced1f0108034fd9b7a1a106502c69d05e5"

Initialising tasks...done.
Sstate summary: Wanted 4 Found 0 Missed 4 Current 74 (0% match, 94% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 446 of 457 (/home/pokybuild/yocto-worker/oe-selftest-opensuse/build/meta/recipes-devtools/m4/m4_1.4.18.bb:do_package)
NOTE: recipe m4-1.4.18-r0: task do_package: Started
ERROR: m4-1.4.18-r0 do_package: Can NOT get PRAUTO, exception timed out
ERROR: m4-1.4.18-r0 do_package: Function failed: package_get_auto_pr
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/build-st-28527/tmp/work/core2-64-poky-linux/m4/1.4.18-r0/temp/log.do_package.7860
NOTE: recipe m4-1.4.18-r0: task do_package: Failed
ERROR: Task (/home/pokybuild/yocto-worker/oe-selftest-opensuse/build/meta/recipes-devtools/m4/m4_1.4.18.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 453 tasks of which 452 didn't need to be rerun and 1 failed.
NOTE: The errors for this build are stored in /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/build-st-28527/tmp/log/error-report/error_report_20181204192605.txt
You can send the errors to a reports server by running:
  send-error-report /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/build-st-28527/tmp/log/error-report/error_report_20181204192605.txt [-s server]
NOTE: The contents of these logs will be posted in public if you use the above command with the default server. Please ensure you remove any identifying or proprietary information when prompted before sending.

Summary: 1 task failed:
  /home/pokybuild/yocto-worker/oe-selftest-opensuse/build/meta/recipes-devtools/m4/m4_1.4.18.bb:do_package
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

----------------------------------------------------------------------
2018-12-04 20:35:34,586 - oe-selftest - INFO - Ran 336 tests in 27171.420s
2018-12-04 20:35:34,587 - oe-selftest - INFO - FAILED
2018-12-04 20:35:34,587 - oe-selftest - INFO -  (failures=2, skipped=2)
Comment 1 Richard Purdie 2018-12-05 14:06:29 UTC
Key maybe ERROR: m4-1.4.18-r0 do_package: Can NOT get PRAUTO, exception timed out
Comment 2 Richard Purdie 2018-12-06 15:51:07 UTC
Joshua Watt has some patches to persist DB which improve connection problems and there may be lessons learnt there that are applicable to PR Serv.
Comment 4 Randy MacLeod 2020-04-23 08:00:39 UTC
Currently working on the autobuider for about a year.