<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9917</bug_id>
          
          <creation_ts>2016-07-12 16:21:26 +0000</creation_ts>
          <short_desc>autobuilder: Add ability to get worker information</short_desc>
          <delta_ts>2024-04-25 14:47:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>0.0.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aníbal Limón">anibal.limon</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>anuj.mittal</cc>
    
    <cc>apoorv.sangal</cc>
    
    <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>pidge</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63853</commentid>
    <comment_count>0</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2016-07-12 16:21:26 +0000</bug_when>
    <thetext>Will be good to have a buildstep or another mechanism for get worker information,
like distro, architecture, etc. 

OE-seltest error reports needs to figure out in what distro is running in order to provide better reports.

https://lists.yoctoproject.org/pipermail/yocto/2016-July/031080.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67533</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-10-25 15:32:33 +0000</bug_when>
    <thetext>Should be trivial to implement a buildstep which adds some host OS information to a build property.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67535</commentid>
    <comment_count>2</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2016-10-25 15:41:13 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Should be trivial to implement a buildstep which adds some host OS
&gt; information to a build property.

This isn&apos;t a host info, the buildsetp needs to run some commands in the worker in order to retrive worker info and then set as properties.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87100</commentid>
    <comment_count>3</comment_count>
    <who name="Aaron Chan">aaron.chun.yew.chan</who>
    <bug_when>2020-04-28 20:40:49 +0000</bug_when>
    <thetext>A Patch has been submitted to mailing list for the enhancement to add steps
to get worker information

https://lists.yoctoproject.org/g/yocto/message/49270</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87130</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-05-02 02:51:53 +0000</bug_when>
    <thetext>Its gone: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7a5cc8659e4ba8f36bcb5322e246005d812efb59 thanks for pointing it out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87133</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-05-02 03:02:24 +0000</bug_when>
    <thetext>Sorry, wrong bug for the last comment!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87181</commentid>
    <comment_count>6</comment_count>
    <who name="Aaron Chan">aaron.chun.yew.chan</who>
    <bug_when>2020-05-12 21:24:16 +0000</bug_when>
    <thetext>Hi Richard,

Could you review my patches https://lists.yoctoproject.org/g/yocto/message/49270
this is addStep in AB to retrieve the worker info using native commands on run on each worker 

- lsb_release
- uname

Cheers,
Aaron</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98919</commentid>
    <comment_count>7</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-04-25 14:47:55 +0000</bug_when>
    <thetext>We add the distro, arch, etc info to the test results now.
for example, the hostname reflects that: 

From a while ago:
centos7-ty-2.yocto.io
centos7-ty-4.yocto.io
centos8-ty-1.yocto.io
centos8-ty-2.yocto.io
centos8-ty-3.yocto.io
debian10-ty-1.yocto.io
debian10-ty-2.yocto.io
debian10-ty-3.yocto.io
debian8-ty-1.yocto.io
debian9-ty-2.yocto.io
fedora31-ty-1.yocto.io
fedora32-ty-1.yocto.io
fedora33-ty-1.yocto.io
opensuse151-ty-1.yocto.io
opensuse152-ty-1.yocto.io
perf-centos7.yocto.io
perf-ubuntu1604.yocto.io
tumbleweed-ty-1.yocto.io
tumbleweed-ty-2.yocto.io
tumbleweed-ty-3.yocto.io
ubuntu1604-ty-1.yocto.io
ubuntu1804-arm-1.yocto.io
ubuntu1804-ty-1.yocto.io
ubuntu1804-ty-2.yocto.io
ubuntu1804-ty-3.yocto.io
ubuntu2004-arm-1.yocto.io
ubuntu2004-ty-1.yocto.io
ubuntu2004-ty-2.yocto.io</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>