Bug 13332 - AB fails if a new branch is built for the first time when it wants to compare results
Summary: AB fails if a new branch is built for the first time when it wants to compare...
Status: RESOLVED FIXED
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: 3.0
Hardware: x86 Multiple
: High normal
Target Milestone: 3.1 M3
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: with backport
: 13653 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-05-03 22:57 UTC by Armin Kuster
Modified: 2020-03-02 16:27 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Kuster 2019-05-03 22:57:21 UTC
Cloning into '/tmp/sendqaemail.w2jgeb_q'...
INFO: Reading files from /srv/autobuilder/autobuilder.yoctoproject.org/pub/non-release/20190502-9/testresults
INFO: Found 1 revisions to store
INFO: Storing test result into git repository /tmp/sendqaemail.w2jgeb_q
INFO: Committing data into to branch stable/warrior-nmut
INFO: Creating tag stable/warrior-nmut/53945-gaa0b4b8713f3df21328e175dcb643d6e36a30d6e/0
To git@git.yoctoproject.org:yocto-testresults
 * [new branch]      stable/warrior-nmut -> stable/warrior-nmut
To git@git.yoctoproject.org:yocto-testresults
 * [new tag]         stable/warrior-nmut/53945-gaa0b4b8713f3df21328e175dcb643d6e36a30d6e/0 -> stable/warrior-nmut/53945-gaa0b4b8713f3df21328e175dcb643d6e36a30d6e/0
ERROR: Only 1 tester revisions found, unable to generate report
Working off git://git.yoctoproject.org/poky-contrib:stable/warrior-nmut
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/a-quick/yocto-autobuilder-helper/scripts/send-qa-email", line 67, in <module>
    regreport = subprocess.check_output([resulttool, "regression-git", tempdir] + extraopts.split())
  File "/usr/lib64/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/usr/lib64/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/home/pokybuild/yocto-worker/a-quick/build/scripts/resulttool', 'regression-git', '/tmp/sendqaemail.w2jgeb_q', '--branch', 'stable/warrior-nmut', '--commit', 'aa0b4b8713f3df21328e175dcb643d6e36a30d6e']' returned non-zero exit status 1.
program finished with exit code 1
elapsedTime=16.146100
Comment 1 Armin Kuster 2019-05-05 15:37:31 UTC
ran second warrior-nmut and it still failed:

Cloning into '/tmp/sendqaemail.fpb1r3m5'...
INFO: Reading files from /srv/autobuilder/autobuilder.yoctoproject.org/pub/non-release/20190504-12/testresults
INFO: Found 1 revisions to store
INFO: Storing test result into git repository /tmp/sendqaemail.fpb1r3m5
INFO: Committing data into to branch stable/warrior-nmut
INFO: Creating tag stable/warrior-nmut/53943-g9a084559ae1603a2a8c262a59b10630d861ff665/0
To git@git.yoctoproject.org:yocto-testresults
   568f13f..52303a4  stable/warrior-nmut -> stable/warrior-nmut
To git@git.yoctoproject.org:yocto-testresults
 * [new tag]         stable/warrior-nmut/53943-g9a084559ae1603a2a8c262a59b10630d861ff665/0 -> stable/warrior-nmut/53943-g9a084559ae1603a2a8c262a59b10630d861ff665/0
ERROR: Unable to determine the other commit, use --commit2 or --commit-number2 to specify it
Working off git://git.yoctoproject.org/poky-contrib:stable/warrior-nmut
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/a-quick/yocto-autobuilder-helper/scripts/send-qa-email", line 67, in <module>
    regreport = subprocess.check_output([resulttool, "regression-git", tempdir] + extraopts.split())
  File "/usr/lib64/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/usr/lib64/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/home/pokybuild/yocto-worker/a-quick/build/scripts/resulttool', 'regression-git', '/tmp/sendqaemail.fpb1r3m5', '--branch', 'stable/warrior-nmut', '--commit', '9a084559ae1603a2a8c262a59b10630d861ff665']' returned non-zero exit status 1.
program finished with exit code 1
elapsedTime=6.629562
Comment 2 Richard Purdie 2019-05-08 07:59:33 UTC
There is probably a second issue that the code has no idea what to do with "warrior-nmut"...
Comment 3 Armin Kuster 2019-05-09 23:31:42 UTC
I checked the build results git repo and it appears to talked to the git repo

see: http://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults/log/?h=stable/warrior-nmut

could this be a git branch length issue ?
Comment 4 Armin Kuster 2019-05-09 23:32:06 UTC
Results of stable/warrior-nmut:9a084559ae1603a2a8c262a59b10630d861ff665stable/warrior-nmut/53943-g9a084559ae1603a2a8c262a59b10630d861ff665/0stable/warrior-nmut
Comment 5 Armin Kuster 2019-05-09 23:36:05 UTC
I have "stable" plus "-nmut" included above the normal builds
Comment 6 Armin Kuster 2019-10-09 17:58:36 UTC
I heard we may have seen this with zeus
Comment 7 Richard Purdie 2020-02-06 15:22:49 UTC
Needs retesting
Comment 8 Richard Purdie 2020-02-17 17:33:38 UTC
Issue present at least with performance tests:

https://autobuilder.yoctoproject.org/typhoon/#/builders/91/builds/2101
Comment 9 Armin Kuster 2020-02-20 16:16:57 UTC
*** Bug 13653 has been marked as a duplicate of this bug. ***