snips.sh

 1ERROR: core-image-ptest-valgrind-1.0-r0 do_rootfs: Error executing a python function in exec_func_python() autogenerated:
 2
 3The stack trace of python calls that resulted in this exception/failure was:
 4File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
 5     0001:
 6 *** 0002:image_combine_spdx(d)
 7     0003:
 8File: '/mnt/b/yoe/master/sources/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 955, function: image_combine_spdx
 9     0951:    imgdeploydir = Path(d.getVar("IMGDEPLOYDIR"))
10     0952:    img_spdxid = oe.sbom.get_image_spdxid(image_name)
11     0953:    packages = image_list_installed_packages(d)
12     0954:
13 *** 0955:    combine_spdx(d, image_name, imgdeploydir, img_spdxid, packages, Path(d.getVar("SPDXIMAGEWORK")))
14     0956:
15     0957:    def make_image_link(target_path, suffix):
16     0958:        if image_link_name:
17     0959:            link = imgdeploydir / (image_link_name + suffix)
18File: '/mnt/b/yoe/master/sources/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 1120, function: combine_spdx
19     1116:                for ref in doc.externalDocumentRefs:
20     1117:                    ref_path = oe.sbom.doc_path_by_namespace(deploy_dir_spdx, package_archs, ref.spdxDocument)
21     1118:                    collect_spdx_document(ref_path)
22     1119:
23 *** 1120:            collect_spdx_document(image_spdx_path)
24     1121:
25     1122:            index["documents"].sort(key=lambda x: x["filename"])
26     1123:
27     1124:            index_str = io.BytesIO(json.dumps(
28File: '/mnt/b/yoe/master/sources/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 1118, function: collect_spdx_document
29     1114:                    })
30     1115:
31     1116:                for ref in doc.externalDocumentRefs:
32     1117:                    ref_path = oe.sbom.doc_path_by_namespace(deploy_dir_spdx, package_archs, ref.spdxDocument)
33 *** 1118:                    collect_spdx_document(ref_path)
34     1119:
35     1120:            collect_spdx_document(image_spdx_path)
36     1121:
37     1122:            index["documents"].sort(key=lambda x: x["filename"])
38File: '/mnt/b/yoe/master/sources/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 1088, function: collect_spdx_document
39     1084:                    return
40     1085:
41     1086:                visited_docs.add(path)
42     1087:
43 *** 1088:                with path.open("rb") as f:
44     1089:                    doc, sha1 = oe.sbom.read_doc(f)
45     1090:                    f.seek(0)
46     1091:
47     1092:                    if doc.documentNamespace in visited_docs:
48File: '/usr/lib/python3.11/pathlib.py', lineno: 1045, function: open
49     1041:        the built-in open() function does.
50     1042:        """
51     1043:        if "b" not in mode:
52     1044:            encoding = io.text_encoding(encoding)
53 *** 1045:        return io.open(self, mode, buffering, encoding, errors, newline)
54     1046:
55     1047:    def read_bytes(self):
56     1048:        """
57     1049:        Open the file in bytes mode, read it, and close the file.
58Exception: 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'
59
60ERROR: 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