<?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>13673</bug_id>
          
          <creation_ts>2019-12-04 13:01:52 +0000</creation_ts>
          <short_desc>python3 too old on perf-centos7</short_desc>
          <delta_ts>2019-12-05 18:16:51 +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>3.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.1 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Michael Halstead">mhalstead</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>pidge</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tim.orling</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>85695</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-12-04 13:01:52 +0000</bug_when>
    <thetext>We switched to hashequiv on by default. I isolated the buildperf workers to use their own hashequiv server to isolate them from the wider system. This resulted in:
https://autobuilder.yoctoproject.org/typhoon/#/builders/91/builds/1651

and on the machine itself:

Process ProcessServer-1:
Traceback (most recent call last):
  File &quot;/usr/lib64/python3.4/multiprocessing/process.py&quot;, line 254, in _bootstrap
    self.run()
  File &quot;/home/pokybuild/yocto-worker/buildperf-centos7/build/bitbake/lib/bb/server/process.py&quot;, line 113, in run
    ret = self.main()
  File &quot;/home/pokybuild/yocto-worker/buildperf-centos7/build/bitbake/lib/bb/server/process.py&quot;, line 118, in main
    self.cooker.pre_serve()
  File &quot;/home/pokybuild/yocto-worker/buildperf-centos7/build/bitbake/lib/bb/cooker.py&quot;, line 1639, in pre_serve
    self.handlePRServ()
  File &quot;/home/pokybuild/yocto-worker/buildperf-centos7/build/bitbake/lib/bb/cooker.py&quot;, line 396, in handlePRServ
    self.hashserv = hashserv.create_server(self.hashservaddr, dbfile, sync=False)
  File &quot;/home/pokybuild/yocto-worker/buildperf-centos7/build/bitbake/lib/hashserv/__init__.py&quot;, line 70, in create_server
    from . import server
  File &quot;/home/pokybuild/yocto-worker/buildperf-centos7/build/bitbake/lib/hashserv/server.py&quot;, line 117
    async def process_requests(self):
            ^
SyntaxError: invalid syntax

which is due to python3.4 being too old for the hash equiv server code. We probably should use python3 from the buildtools tarball instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85729</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2019-12-05 15:56:32 +0000</bug_when>
    <thetext>Python 3.6 is available either from EPEL or SCL.

https://linuxize.com/post/how-to-install-python-3-on-centos-7/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85741</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2019-12-05 18:16:51 +0000</bug_when>
    <thetext>perf-centos7 is now running Python 3.7.5 from Yocto Project buildtools 3.0.1. 

We could switch to 3.6 from EPEL if there a compelling reason.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>