| Summary: | AB-INT: insane do_package_qa intermittent failures | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Mathieu Dubois-Briand <mathieu.dubois-briand> |
| Component: | Scripts and Tools | Assignee: | Ross Burton <ross.burton> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Undecided | CC: | ross.burton |
| Version: | 5.99 | ||
| Target Milestone: | 0.0.0 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | AB-INT | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
From RP: Two levels of probems. The cachedpath code returns False instead of exceptions so there was unexpected API changes. The recent insane changes also stopped handling DEBIAN files correctly leading to races. This is perhaps the best backtrace we have: https://valkyrie.yoctoproject.org//#/builders/43/builds/246 Who/Plan: RP has a partial revert for the first part to fix builds. Ross is aware and working on the second. Fixed in oe-core 22e4486d65e4874bf48d89160d69118f318278e8. |
ERROR: nativesdk-util-linux-2.40.2-r0 do_package_qa: 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: <module> 0001: *** 0002:do_package_qa(d) 0003: File: '/srv/pokybuild/yocto-worker/buildtools/build/meta/classes-global/insane.bbclass', lineno: 1168, function: do_package_qa 1164: oe.qa.handle_error("pkgname", 1165: "%s doesn't match the [a-z0-9.+-]+ regex" % package, d) 1166: 1167: checks = parse_test_matrix("QAPATHTEST", skip, d) *** 1168: package_qa_walk(checks, package, d) 1169: 1170: checks = parse_test_matrix("QAPKGTEST", skip, d) 1171: for func in checks: 1172: func(package, d) File: '/srv/pokybuild/yocto-worker/buildtools/build/meta/classes-global/insane.bbclass', lineno: 810, function: package_qa_walk 0806: elf = elves.get(path) 0807: if elf: 0808: elf.open() 0809: for func in checkfuncs: *** 0810: func(path, package, d, elf) 0811: if elf: 0812: elf.close() 0813: 0814:def package_qa_check_rdepends(pkg, pkgdest, skip, taskdeps, packages, d): File: '/srv/pokybuild/yocto-worker/buildtools/build/meta/classes-global/insane.bbclass', lineno: 438, function: package_qa_check_buildpaths 0434: explicitly ignored. 0435: """ 0436: import stat 0437: # Ignore symlinks/devs/fifos *** 0438: mode = os.lstat(path).st_mode 0439: if stat.S_ISLNK(mode) or stat.S_ISBLK(mode) or stat.S_ISFIFO(mode) or stat.S_ISCHR(mode) or stat.S_ISSOCK(mode): 0440: return 0441: 0442: tmpdir = bytes(d.getVar('TMPDIR'), encoding="utf-8") Exception: FileNotFoundError: [Errno 2] No such file or directory: '/srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-util-linux/2.40.2/packages-split/nativesdk-util-linux-rfkill/DEBIAN'