summaryrefslogtreecommitdiffstats
path: root/scripts/pybootchartgui/pybootchartgui.py
diff options
context:
space:
mode:
authorAlexis Lothoré <alexis.lothore@bootlin.com>2023-08-11 14:55:32 +0200
committerSteve Sakoman <steve@sakoman.com>2023-09-23 05:26:16 -1000
commitf449d0a84cb4dcf7db74b2a99c3503dc7e1a99e6 (patch)
tree9d7c457ea7474a0e14f0c7381d1a3194b2d91a2e /scripts/pybootchartgui/pybootchartgui.py
parent61960b99d2895b3b9ef5b08b6084ac70a5ed1260 (diff)
downloadpoky-f449d0a84cb4dcf7db74b2a99c3503dc7e1a99e6.tar.gz
oeqa/utils/gitarchive: fix tag computation when creating archive
Sporadic errors have been observed in autobuilder when trying to store new tests results: error: failed to push some refs to 'push.yoctoproject.org:yocto-testresults' hint: Updates were rejected because the tag already exists in the remote. The new tag name is generated by gitarchive based on known tags from the repository (learnt with git tag). In autobuilder case, this repository is a shallow clone, so git tag only returns most recent tags, which mean we could miss some older tags which exist in remote but not locally. In this case, gitarchive will likely create a tag which already exists in remote, and so will fail to push Fix this tag duplication by using git ls-remote to learn about existing tags instead of git tag. Two places which wrongly read only local tags has been identified in gitarchive: expand_tag_strings and get_test_runs Fixes [YOCTO #15140] (From OE-Core rev: d0f8d5915a9ad3340a553b4a22f91074d7e679c9) Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5a0a7da85a3acfd4a20a07478eabefdab60f313a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/pybootchartgui/pybootchartgui.py')
0 files changed, 0 insertions, 0 deletions