Bug 14262

Summary: runcmd.RunCmdTests.test_stdin_timeout times out
Product: [Build System, Metadata & Runtime] BitBake Reporter: Alexandre Belloni <alexandre.belloni>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: dorindabassey, poky.bs.watcher, poky.watcher, randy.macleod, richard.purdie
Version: unspecified   
Target Milestone: 3.4   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2021-02-27 02:01:43 UTC
Seen in https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/1882/steps/14/logs/stdio

2021-02-24 05:30:48,265 - oe-selftest - INFO - ======================================================================
2021-02-24 05:30:48,265 - oe-selftest - INFO - FAIL: runcmd.RunCmdTests.test_stdin_timeout (subunit.RemotedTestCase)
2021-02-24 05:30:48,266 - oe-selftest - INFO - ----------------------------------------------------------------------
2021-02-24 05:30:48,266 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/runcmd.py", line 109, in test_stdin_timeout
    self.assertLess(end - start, self.TIMEOUT + self.DELTA)
  File "/usr/lib/python3.8/unittest/case.py", line 1298, in assertLess
    self.fail(self._formatMessage(msg, standardMsg))
  File "/usr/lib/python3.8/unittest/case.py", line 753, in fail
    raise self.failureException(msg)
AssertionError: 9.074932098388672 not less than 8
Comment 1 Dorinda 2021-04-17 22:36:39 UTC
Hi All,
In this case I think increasing the timeout should solve this issue. What d'you think.
Comment 2 Randy MacLeod 2021-04-17 23:42:13 UTC
Dorinda, If no one answers soon, the best way to find out especially if it's a timeout adjustment, is to send a patch and explain in the commit log, why the increase is justified. Also 3.3 is very close to finished so submit to master(3.4) and backport as needed. Thanks ../Randy
Comment 3 Alexandre Belloni 2021-05-01 23:06:33 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/2023/steps/14/logs/stdio

AssertionError: 8.042224645614624 not less than 8

master-next on debian10-ty-3