Bug 13664 - _signal_clean_handler failure in oe-selftest
Summary: _signal_clean_handler failure in oe-selftest
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.0
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.1 M4
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
: 13561 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-11-28 20:13 UTC by Richard Purdie
Modified: 2020-02-21 12:19 UTC (History)
6 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 2019-11-28 20:13:05 UTC
2019-11-28 19:31:09,629 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/reproducible.py", line 184, in test_reproducible_builds
    result = self.compare_packages(deploy_A, deploy_B, diffutils_sysroot)
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/reproducible.py", line 105, in compare_packages
    with multiprocessing.Pool(processes=int(self.bb_number_threads or 0)) as p:
  File "/usr/lib/python3.7/multiprocessing/context.py", line 119, in Pool
    context=self.get_context())
  File "/usr/lib/python3.7/multiprocessing/pool.py", line 176, in __init__
    self._repopulate_pool()
  File "/usr/lib/python3.7/multiprocessing/pool.py", line 241, in _repopulate_pool
    w.start()
  File "/usr/lib/python3.7/multiprocessing/process.py", line 112, in start
    self._popen = self._Popen(self)
  File "/usr/lib/python3.7/multiprocessing/context.py", line 277, in _Popen
    return Popen(process_obj)
  File "/usr/lib/python3.7/multiprocessing/popen_fork.py", line 20, in __init__
    self._launch(process_obj)
  File "/usr/lib/python3.7/multiprocessing/popen_fork.py", line 76, in _launch
    os._exit(code)
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/context.py", line 283, in _signal_clean_handler
    sys.exit(1)
SystemExit: 1


https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/519
Comment 1 Richard Purdie 2019-12-03 22:04:22 UTC
Happened again https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/526
Comment 2 Richard Purdie 2019-12-16 15:11:09 UTC
Happened again with master: https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/857
Comment 3 Richard Purdie 2020-01-21 16:14:02 UTC
I believe I spotted a pattern. This appears to only occur when a test is failing. I also wonder if there is a link to tests which "fork" since maintainers and reproducibility generate a lot of other processes.

Next steps may be to stress test with failing tests.
Comment 4 Richard Purdie 2020-02-19 22:03:24 UTC
*** Bug 13561 has been marked as a duplicate of this bug. ***
Comment 5 Richard Purdie 2020-02-20 16:12:45 UTC
*** Bug 13604 has been marked as a duplicate of this bug. ***