Bug 14969

Summary: AB-INT: incompatible_lic.IncompatibleLicenseTestObsolete.test_incompatible_alias_spdx_license failure
Product: [QA/Testing] Functional (self) Testing Reporter: Alexandre Belloni <alexandre.belloni>
Component: oe-selftestAssignee: Unassigned <unassigned>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandre.belloni, randy.macleod, richard.purdie, steve
Version: unspecified   
Target Milestone: 4.3   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT AB-HAVE-PLAN
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2022-11-16 21:47:20 UTC
https://autobuilder.yoctoproject.org/typhoon/#builders/80/builds/4290/steps/14/logs/stdio

oe-selftest-debian debian11-ty-1


2022-11-09 06:41:28,643 - oe-selftest - INFO - incompatible_lic.IncompatibleLicenseTestObsolete.test_incompatible_alias_spdx_license (subunit.RemotedTestCase)
2022-11-09 06:41:28,643 - oe-selftest - INFO -  ... FAIL
Stderr:
2022-11-09 06:11:26,324 - oe-selftest - INFO - Adding: "include selftest.inc" in /home/pokybuild/yocto-worker/oe-selftest-debian/build/build-st-796088/conf/local.conf
2022-11-09 06:11:26,324 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2022-11-09 06:41:28,643 - oe-selftest - INFO - 2: 30/79 360/504 (1.10s) (incompatible_lic.IncompatibleLicenseTestObsolete.test_incompatible_alias_spdx_license)
2022-11-09 06:41:28,644 - 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/incompatible_lic.py", line 25, in test_incompatible_alias_spdx_license
    self.lic_test('incompatible-license', 'GPL-3.0-only', 'GPLv3', "is an obsolete license, please use an SPDX reference in INCOMPATIBLE_LICENSE")
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/incompatible_lic.py", line 19, in lic_test
    raise AssertionError(result.output)
AssertionError: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/bitbake/bin/bitbake", line 37, in <module>
    sys.exit(bitbake_main(BitBakeConfigParameters(sys.argv),
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/bitbake/lib/bb/main.py", line 378, in bitbake_main
    return ui_module.main(server_connection.connection, server_connection.events,
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/bitbake/lib/bb/ui/knotty.py", line 417, in main
    includelogs, loglines, consolelogfile, logconfigfile = _log_settings_from_server(server, params.observe_only)
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/bitbake/lib/bb/ui/knotty.py", line 370, in _log_settings_from_server
    includelogs, error = server.runCommand(["getVariable", "BBINCLUDELOGS"])
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/bitbake/lib/bb/server/process.py", line 407, in runCommand
    ret, exc = self.recv.get()
  File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/bitbake/lib/bb/server/process.py", line 722, in get
    res = self.reader.recv_bytes()
  File "/usr/lib/python3.9/multiprocessing/connection.py", line 221, in recv_bytes
    buf = self._recv_bytes(maxlength)
  File "/usr/lib/python3.9/multiprocessing/connection.py", line 419, in _recv_bytes
    buf = self._recv(4)
  File "/usr/lib/python3.9/multiprocessing/connection.py", line 388, in _recv
    raise EOFError
EOFError
Comment 1 Randy MacLeod 2022-11-17 15:39:36 UTC
Likely a timeout in talking to the server...

If this happens again, please collect the cooker logs.
Comment 2 Steve Sakoman 2023-03-30 21:10:37 UTC
langdale occurrence:

https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/1198/steps/14/logs/stdio

oe-selftest-armhost ubuntu1804-arm-1