mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00
![]() Fixes [YOCTO 15503] When running autobuilder onm a testing or stable branch, the following exception may occur: Traceback (most recent call last): File "/home/pokybuild/yocto-worker/a-full/yocto-autobuilder-helper/scripts/send_qa_email.py", line 278, in <module> send_qa_email() File "/home/pokybuild/yocto-worker/a-full/yocto-autobuilder-helper/scripts/send_qa_email.py", line 207, in send_qa_email generate_regression_report(querytool, targetrepodir, regression_base, regression_target, tempdir, args.results_dir, log) File "/home/pokybuild/yocto-worker/a-full/yocto-autobuilder-helper/scripts/send_qa_email.py", line 93, in generate_regression_report regreport = subprocess.check_output([querytool, "regression-report", base, target, '-t', resultdir]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/subprocess.py", line 466, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/subprocess.py", line 1026, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib64/python3.11/subprocess.py", line 1883, in _execute_child self.pid = _fork_exec( ^^^^^^^^^^^ TypeError: expected str, bytes or os.PathLike object, not NoneType This issue is due to base and target revision being None, but subprocess module do not tolerate arguments being None, Prevent the script from even trying to generate a regression report if we are missing some info about revisions to compare. Cc: Steve Sakoman <steve@sakoman.com> Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
||
---|---|---|
.. | ||
abint | ||
auh-config | ||
docs-build-patches | ||
exein-path-intercepts | ||
archive_buildstats.py | ||
bitbake-extra-tests | ||
build-perf-test-wrapper | ||
buildhistory-init | ||
check-gplv3 | ||
checkvnc | ||
collect-results | ||
cve-generate-chartdata | ||
cve-report.py | ||
docs_add_banner.py | ||
generate-testresult-index.py | ||
index-table.html | ||
layer-config | ||
layer-parser.py | ||
list-yp-compatible-layers.py | ||
oe-build-perf-report-email.py | ||
oe-build-perf-report-scrape-html-report.js | ||
patchmetrics-generate-chartdata | ||
patchmetrics-update | ||
pre-commit-hook.sh | ||
prepare-shared-repos | ||
publish-artefacts | ||
release-parser.py | ||
run-abint | ||
run-config | ||
run-cvecheck | ||
run-docs-build | ||
run-patchmetrics | ||
run-patchtest-selftest | ||
run-toaster-tests | ||
runqemu-renice.c | ||
send_qa_email.py | ||
send-qa-email | ||
setup-config | ||
shared-repo-unpack | ||
sstate-clean.py | ||
sstate-clean.sh | ||
summarize_top_output.py | ||
target-present | ||
test_send_qa_email.py | ||
test_utils.py | ||
upload-error-reports | ||
utils.py |