| Summary: |
send_qa_email: tag already exists |
| Product: |
[Infrastructure] AutoBuilder
|
Reporter: |
Mathieu Dubois-Briand <mathieu.dubois-briand> |
| Component: |
autobuilder | Assignee: |
Richard Purdie <richard.purdie> |
| Status: |
NEW
---
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Medium+
|
CC: |
infras.ab.watcher, Infras.watcher, paul, randy.macleod
|
| Version: |
unspecified | |
|
| Target Milestone: |
6.2 M2 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
I never saw this kind of issue, but I believe we had not been updating this recently: INFO: Storing test result into git repository /tmp/sendqaemail.5qxgjkum INFO: Committing data into to branch master INFO: Updating /tmp/sendqaemail.5qxgjkum HEAD to latest commit INFO: Creating tag master/65490-g2e10e9a50f12d5de3d22fbed59b65461afa3fa84/0 Traceback (most recent call last): File "/srv/pokybuild/yocto-worker/a-full/build/layers/openembedded-core/scripts/resulttool", line 83, in <module> sys.exit(main()) ~~~~^^ File "/srv/pokybuild/yocto-worker/a-full/build/layers/openembedded-core/scripts/resulttool", line 77, in main ret = args.func(args, logger) File "/srv/pokybuild/yocto-worker/a-full/build/layers/openembedded-core/scripts/lib/resulttool/store.py", line 81, in store tagname = gitarchive.gitarchive(tempdir, args.git_dir, False, False, "Results of {branch}:{commit}", "branch: {branch}\ncommit: {commit}", "{branch}", False, "{branch}/{commit_count}-g{commit}/{tag_number}", 'Test run #{tag_number} of {branch}:{commit}', '', excludes, [], False, keywords, logger) File "/srv/pokybuild/yocto-worker/a-full/build/layers/openembedded-core/meta/lib/oeqa/utils/gitarchive.py", line 191, in gitarchive data_repo.run_cmd(['tag', '-a', '-m', tag_msg, tag_name, commit]) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/srv/pokybuild/yocto-worker/a-full/build/layers/openembedded-core/meta/lib/oeqa/utils/git.py", line 62, in run_cmd return self._run_git_cmd_at(git_args, self.top_dir, env=env) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/srv/pokybuild/yocto-worker/a-full/build/layers/openembedded-core/meta/lib/oeqa/utils/git.py", line 43, in _run_git_cmd_at raise GitError("'{}' failed with exit code {}: {}".format( cmd_str, ret.status, ret.output)) oeqa.utils.git.GitError: 'git tag -a -m Test run #0 of master:2e10e9a50f12d5de3d22fbed59b65461afa3fa84 master/65490-g2e10e9a50f12d5de3d22fbed59b65461afa3fa84/0 8311e915e5ba2d20568e788c7cb07f92cc9e7eef' failed with exit code 128: fatal: tag 'master/65490-g2e10e9a50f12d5de3d22fbed59b65461afa3fa84/0' already exists Traceback (most recent call last): File "/srv/pokybuild/yocto-worker/a-full/yocto-autobuilder-helper/scripts/send_qa_email.py", line 283, in <module> send_qa_email() ~~~~~~~~~~~~~^^ File "/srv/pokybuild/yocto-worker/a-full/yocto-autobuilder-helper/scripts/send_qa_email.py", line 193, in send_qa_email subprocess.check_call([resulttool, "store", "--revision", revision, "-l", args.results_dir + "/../../testresult-logarchives" , args.results_dir, tempdir]) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.13/subprocess.py", line 419, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/srv/pokybuild/yocto-worker/a-full/build/layers/openembedded-core/scripts/resulttool', 'store', '--revision', '2e10e9a50f12d5de3d22fbed59b65461afa3fa84', '-l', '/srv/autobuilder/valkyrie.yocto.io/pub/non-release/20251216-8/testresults/../../testresult-logarchives', '/srv/autobuilder/valkyrie.yocto.io/pub/non-release/20251216-8/testresults', '/tmp/sendqaemail.5qxgjkum']' returned non-zero exit status 1. program finished with exit code 1