Bug 14262 - runcmd.RunCmdTests.test_stdin_timeout times out
Summary: runcmd.RunCmdTests.test_stdin_timeout times out
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 3.4
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2021-02-27 02:01 UTC by Alexandre Belloni
Modified: 2021-06-30 11:08 UTC (History)
5 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 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