ERROR: core-image-ptest-valgrind-1.0-r0 do_rootfs: 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:image_combine_spdx(d) 0003: File: '/mnt/b/yoe/master/sources/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 955, function: image_combine_spdx 0951: imgdeploydir = Path(d.getVar("IMGDEPLOYDIR")) 0952: img_spdxid = oe.sbom.get_image_spdxid(image_name) 0953: packages = image_list_installed_packages(d) 0954: *** 0955: combine_spdx(d, image_name, imgdeploydir, img_spdxid, packages, Path(d.getVar("SPDXIMAGEWORK"))) 0956: 0957: def make_image_link(target_path, suffix): 0958: if image_link_name: 0959: link = imgdeploydir / (image_link_name + suffix) File: '/mnt/b/yoe/master/sources/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 1120, function: combine_spdx 1116: for ref in doc.externalDocumentRefs: 1117: ref_path = oe.sbom.doc_path_by_namespace(deploy_dir_spdx, package_archs, ref.spdxDocument) 1118: collect_spdx_document(ref_path) 1119: *** 1120: collect_spdx_document(image_spdx_path) 1121: 1122: index["documents"].sort(key=lambda x: x["filename"]) 1123: 1124: index_str = io.BytesIO(json.dumps( File: '/mnt/b/yoe/master/sources/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 1118, function: collect_spdx_document 1114: }) 1115: 1116: for ref in doc.externalDocumentRefs: 1117: ref_path = oe.sbom.doc_path_by_namespace(deploy_dir_spdx, package_archs, ref.spdxDocument) *** 1118: collect_spdx_document(ref_path) 1119: 1120: collect_spdx_document(image_spdx_path) 1121: 1122: index["documents"].sort(key=lambda x: x["filename"]) File: '/mnt/b/yoe/master/sources/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 1088, function: collect_spdx_document 1084: return 1085: 1086: visited_docs.add(path) 1087: *** 1088: with path.open("rb") as f: 1089: doc, sha1 = oe.sbom.read_doc(f) 1090: f.seek(0) 1091: 1092: if doc.documentNamespace in visited_docs: 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-namespace/qemux86_64/http:__spdx.org_spdxdoc_base-files-ee9424e3-1d7e-5739-b9cd-237a1a6f843f' ERROR: Logfile of failure stored in: /mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-valgrind/1.0/temp/log.do_rootfs.306