Bug 14158 - tinfoil.TinfoilTests.test_wait_event times out
Summary: tinfoil.TinfoilTests.test_wait_event times out
Status: RESOLVED WORKSFORME
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 M1
Assignee: Yi Fan Yu
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2020-12-20 20:44 UTC by Paul Eggleton
Modified: 2021-04-19 20:04 UTC (History)
10 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 Paul Eggleton 2020-12-20 20:44:52 UTC
tinfoil.TinfoilTests.test_wait_event failed in oe-selftest-centos:

------------------------ snip ------------------------
2020-12-20 03:53:03,091 - oe-selftest - INFO - ======================================================================
2020-12-20 03:53:03,091 - oe-selftest - INFO - FAIL: tinfoil.TinfoilTests.test_wait_event (subunit.RemotedTestCase)
2020-12-20 03:53:03,091 - oe-selftest - INFO - ----------------------------------------------------------------------
2020-12-20 03:53:03,091 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/tinfoil.py", line 119, in test_wait_event
    self.assertTrue(commandcomplete, 'Timed out waiting for CommandCompleted event from bitbake server')
  File "/usr/lib64/python3.6/unittest/case.py", line 699, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true : Timed out waiting for CommandCompleted event from bitbake server
------------------------ snip ------------------------

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/1658/steps/14/logs/stdio
Comment 1 Armin Kuster 2020-12-24 18:46:16 UTC
adding "AB-INT" to whitespace.
Comment 2 Randy MacLeod 2021-01-07 15:38:19 UTC
This is on Centos-8
Comment 3 Richard Purdie 2021-01-07 21:52:24 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/1692 debian10-ty-1 this time
Comment 5 Chee Yang 2021-01-21 00:58:42 UTC
happen again
Worker: ubuntu2004-ty-1

https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/1758/steps/14/logs/stdio
Comment 6 Randy MacLeod 2021-01-21 16:00:39 UTC
This is happening fairly frequently on the YP autobuilder so it's a high priority M+ bug. Should we just increase the timeout?
Comment 8 Yi Fan Yu 2021-01-24 23:09:15 UTC
merged
Comment 9 Randy MacLeod 2021-01-25 15:05:52 UTC
Yi,

Unless we want this back-ported (Steve?) , insert a link to the commit and mark the defect as resolved.
Comment 10 Yi Fan Yu 2021-01-25 15:27:55 UTC
i'll mark it as resolved for now...

http://git.openembedded.org/openembedded-core/commit/?id=be02aa9283f805de718badd5ea12c4968da8774f
Comment 11 Minjae Kim 2021-02-09 00:22:36 UTC
This issue happened again:
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/1814/steps/14/logs/stdio

2021-02-06 04:33:37,159 - oe-selftest - INFO - RESULTS - systemd_boot.Systemdboot.test_efi_systemdboot_images_can_be_built: PASSED (177.95s)
2021-02-06 04:33:37,159 - oe-selftest - INFO - RESULTS - buildoptions.SourceMirroring.test_yocto_source_mirror: SKIPPED (0.01s)
2021-02-06 04:33:37,159 - oe-selftest - INFO - RESULTS - devtool.DevtoolAddTests.test_devtool_add_npm: SKIPPED (0.00s)
2021-02-06 04:33:37,159 - oe-selftest - INFO - RESULTS - distrodata.Distrodata.test_checkpkg: SKIPPED (0.00s)
2021-02-06 04:33:37,159 - oe-selftest - INFO - RESULTS - oescripts.OEListPackageconfigTests.test_packageconfig_flags_default: SKIPPED (0.00s)
2021-02-06 04:33:37,159 - oe-selftest - INFO - RESULTS - oescripts.OEListPackageconfigTests.test_packageconfig_flags_help: SKIPPED (0.00s)
2021-02-06 04:33:37,159 - oe-selftest - INFO - RESULTS - oescripts.OEListPackageconfigTests.test_packageconfig_flags_option_all: SKIPPED (0.00s)
2021-02-06 04:33:37,159 - oe-selftest - INFO - RESULTS - oescripts.OEListPackageconfigTests.test_packageconfig_flags_option_flags: SKIPPED (0.00s)
2021-02-06 04:33:37,159 - oe-selftest - INFO - RESULTS - oescripts.OEListPackageconfigTests.test_packageconfig_flags_options_preferred_only: SKIPPED (0.01s)
2021-02-06 04:33:37,159 - oe-selftest - INFO - RESULTS - oescripts.OEPybootchartguyTests.test_pybootchartguy_help: SKIPPED (0.00s)
2021-02-06 04:33:37,160 - oe-selftest - INFO - RESULTS - oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_pdf_output: SKIPPED (0.00s)
2021-02-06 04:33:37,160 - oe-selftest - INFO - RESULTS - oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_png_output: SKIPPED (0.00s)
2021-02-06 04:33:37,160 - oe-selftest - INFO - RESULTS - oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_svg_output: SKIPPED (0.00s)
2021-02-06 04:33:37,160 - oe-selftest - INFO - RESULTS - recipetool.RecipetoolTests.test_recipetool_create_npm: SKIPPED (0.00s)
2021-02-06 04:33:37,160 - oe-selftest - INFO - RESULTS - runtime_test.TestImage.test_testimage_virgl_headless: SKIPPED (0.01s)
2021-02-06 04:33:37,160 - oe-selftest - INFO - RESULTS - tinfoil.TinfoilTests.test_wait_event: FAILED (61.43s)
Comment 12 Anuj Mittal 2021-02-09 06:49:43 UTC
It happened for gatesgarth:

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/1816/steps/10/logs/step2d

gatesgarth has the fix to increase the timeout.
Comment 13 Yi Fan Yu 2021-02-09 15:35:38 UTC
ok here we go again
Comment 16 Alexandre Belloni 2021-02-27 02:11:16 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/1838/steps/14/logs/stdio
Note that the fitimage.FitImageTests.test_sign_fit_image and fitimage.FitImageTests.test_fit_image are not intermittent and were handled
Comment 17 Yi Fan Yu 2021-03-09 15:52:51 UTC
This bug is likely related to the loading (maybe I/O) of the server.
I was never able to reproduce it locally
Comment 18 Yi Fan Yu 2021-04-19 20:04:03 UTC
reopen if seen again. There are couple of changes already made to reduce IO load