ERROR: os-release-1.0-r0 do_create_runtime_spdx: Error executing a python function in exec_func_python() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: 0001: *** 0002:do_create_runtime_spdx(d) 0003: File: '/mnt/b/yoe/master/sources/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 836, function: do_create_runtime_spdx 0832: (dep_spdx_package, dep_package_ref) = dep_package_cache[dep] 0833: else: 0834: dep_path = oe.sbom.doc_path_by_hashfn(deploy_dir_spdx, package_archs, dep_pkg, dep_hashfn) 0835: *** 0836: spdx_dep_doc, spdx_dep_sha1 = oe.sbom.read_doc(dep_path) 0837: 0838: for pkg in spdx_dep_doc.packages: 0839: if pkg.name == dep_pkg: 0840: dep_spdx_package = pkg File: '/mnt/b/yoe/master/sources/poky/meta/lib/oe/sbom.py', lineno: 97, function: read_doc 0093: else: 0094: with fn.open("rb") as f: 0095: yield f 0096: *** 0097: with get_file() as f: 0098: sha1 = hashlib.sha1() 0099: while True: 0100: chunk = f.read(4096) 0101: if not chunk: File: '/usr/lib/python3.11/contextlib.py', lineno: 137, function: __enter__ 0133: # do not keep args and kwds alive unnecessarily 0134: # they are only needed for recreation, which is not possible anymore 0135: del self.args, self.kwds, self.func 0136: try: *** 0137: return next(self.gen) 0138: except StopIteration: 0139: raise RuntimeError("generator didn't yield") from None 0140: 0141: def __exit__(self, typ, value, traceback): File: '/mnt/b/yoe/master/sources/poky/meta/lib/oe/sbom.py', lineno: 94, function: get_file 0090: def get_file(): 0091: if isinstance(fn, io.IOBase): 0092: yield fn 0093: else: *** 0094: with fn.open("rb") as f: 0095: yield f 0096: 0097: with get_file() as f: 0098: sha1 = hashlib.sha1() File: '/usr/lib/python3.11/pathlib.py', lineno: 1045, function: open 1041: the built-in open() function does. 1042: """ 1043: if "b" not in mode: 1044: encoding = io.text_encoding(encoding) *** 1045: return io.open(self, mode, buffering, encoding, errors, newline) 1046: 1047: def read_bytes(self): 1048: """ 1049: Open the file in bytes mode, read it, and close the file. Exception: FileNotFoundError: [Errno 2] No such file or directory: '/mnt/b/yoe/master/build/tmp/deploy/spdx/by-hash/all/sstate:os-release:all-yoe-linux:1.0:r0:allarch:11:/os-release.spdx.json' ERROR: Logfile of failure stored in: /mnt/b/yoe/master/build/tmp/work/all-yoe-linux/os-release/1.0/temp/log.do_create_runtime_spdx.96455 ERROR: Task (/mnt/b/yoe/master/sources/poky/meta/recipes-core/os-release/os-release.bb:do_create_runtime_spdx) failed with exit code '1'