Bug 13467 - buildhistory-diff fails on the autobuilder
Summary: buildhistory-diff fails on the autobuilder
Status: CLOSED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 0.0.0
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.6.4
Assignee: Armin Kuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-08-04 20:37 UTC by Paul Eggleton
Modified: 2019-10-13 19:35 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2019-08-04 20:37:57 UTC
From
https://autobuilder.yoctoproject.org/typhoon/#/builders/42/builds/880 (stdio):

------------------ snip ------------------
====================================================================================================
Running results collection (1564670032.8: 27.2)
====================================================================================================

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemuarm64/build/build/../scripts/buildhistory-diff", line 139, in <module>
    main()
  File "/home/pokybuild/yocto-worker/qemuarm64/build/build/../scripts/buildhistory-diff", line 132, in main
    out = str(chg)
  File "/home/pokybuild/yocto-worker/qemuarm64/build/meta/lib/oe/buildhistory_analysis.py", line 67, in __str__
    return self._str_internal(True)
  File "/home/pokybuild/yocto-worker/qemuarm64/build/meta/lib/oe/buildhistory_analysis.py", line 131, in _str_internal
    depvera = bb.utils.explode_dep_versions2(self.oldvalue, sort=False)
  File "/home/pokybuild/yocto-worker/qemuarm64/build/bitbake/lib/bb/utils.py", line 230, in explode_dep_versions2
    raise VersionStringException('Invalid version specification in "(%s" - invalid or missing operator' % i)
bb.utils.VersionStringException: Invalid version specification in "(dev).tmpl'" - invalid or missing operator
ERROR: Command ['/home/pokybuild/yocto-worker/qemuarm64/yocto-autobuilder-helper/scripts/collect-results', '/home/pokybuild/yocto-worker/qemuarm64/build/build', '/srv/autobuilder/autobuilder.yoctoproject.org/pub/releases/yocto-2.6.3.rc1/testresults', 'qemuarm64'] failed
------------------ snip ------------------

This also occurred in https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/876 .
Comment 1 Paul Eggleton 2019-08-04 21:07:12 UTC
This looks like it might be related:

http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281548.html
Comment 2 Alexander Kanavin 2019-08-07 10:23:09 UTC
This is already fixed in master:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ac5b7cef596114ec96fcff34a3251ebf959395fd
Comment 3 Paul Eggleton 2019-08-07 11:06:11 UTC
Thanks Alex - I hadn't noticed earlier but this is apparently thud, so I guess that fix needs backporting. I'll talk to Armin.
Comment 4 Ross Burton 2019-08-07 11:08:28 UTC
I just posted the backport to the list.
Comment 5 Paul Eggleton 2019-08-07 22:34:17 UTC
Thanks Ross!
Comment 6 Armin Kuster 2019-08-10 14:17:31 UTC
(In reply to comment #4)
> I just posted the backport to the list.

I dont' see it
Comment 7 Armin Kuster 2019-08-10 14:33:17 UTC
(In reply to comment #6)
> (In reply to comment #4)
> > I just posted the backport to the list.
> 
> I dont' see it

its already in warrior so maybe you meant thud.  will check shortly
Comment 8 Armin Kuster 2019-08-15 14:36:33 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #4)
> > > I just posted the backport to the list.
> > 
> > I dont' see it
> 
> its already in warrior so maybe you meant thud.  will check shortly

backported to thud-nmut
Comment 10 Armin Kuster 2019-10-13 19:35:54 UTC
close