<?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>13604</bug_id>
          
          <creation_ts>2019-10-20 15:51:20 +0000</creation_ts>
          <short_desc>[master-next] Distrodata.test_maintainers  fails</short_desc>
          <delta_ts>2020-07-23 08:33:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>3.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://errors.yoctoproject.org/Errors/Build/91474/</bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Armin Kuster">akuster</reporter>
          <assigned_to name="Kai Kang">kai.kang</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85404</commentid>
    <comment_count>0</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-10-20 15:51:20 +0000</bug_when>
    <thetext>2019-10-19 10:28:12,096 - oe-selftest - INFO -  ... ERROR
2019-10-19 10:28:12,352 - oe-selftest - INFO - 2: 29/35 185/366 (178.56s) (distrodata.Distrodata.test_maintainers)
2019-10-19 10:28:12,352 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/distrodata.py&quot;, line 61, in test_maintainers
    tinfoil.prepare(config_only=False)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/bitbake/lib/bb/tinfoil.py&quot;, line 387, in prepare
    extrafeatures)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/bitbake/lib/bb/main.py&quot;, line 438, in setup_bitbake
    server = bb.server.process.BitBakeServer(lock, sockname, configuration, featureset)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-debian/build/bitbake/lib/bb/server/process.py&quot;, line 447, in __init__
    raise SystemExit(1)
SystemExit: 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85507</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-11-08 22:58:10 +0000</bug_when>
    <thetext>I talked a bit with Paul about this, it appears that something is going wrong with tinfoil&apos;s early exception handling when it can&apos;t setup/connect to a server. We likely need to fix the logging which would then let us get to the real underlying failure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85770</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-12-08 10:40:33 +0000</bug_when>
    <thetext>Happened again: https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/538

2019-12-07 23:57:13,529 - oe-selftest - INFO - 2: 29/40 145/384 (138.08s) (distrodata.Distrodata.test_maintainers)
2019-12-07 23:57:13,529 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/distrodata.py&quot;, line 61, in test_maintainers
    tinfoil.prepare(config_only=False)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/bitbake/lib/bb/tinfoil.py&quot;, line 387, in prepare
    extrafeatures)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/bitbake/lib/bb/main.py&quot;, line 438, in setup_bitbake
    server = bb.server.process.BitBakeServer(lock, sockname, configuration, featureset)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/bitbake/lib/bb/server/process.py&quot;, line 447, in __init__
    raise SystemExit(1)
SystemExit: 1


2019-12-07 23:57:13,530 - oe-selftest - INFO - runqemu.RunqemuTests.test_boot_deploy (subunit.RemotedTestCase)
2019-12-07 23:57:13,549 - oe-selftest - INFO -  ... ERROR
2019-12-07 23:57:13,549 - oe-selftest - INFO - 0: 22/33 146/384 (1983.48s) (runqemu.RunqemuTests.test_boot_deploy)
2019-12-07 23:57:13,549 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/runqemu.py&quot;, line 93, in test_boot_deploy
    with runqemu(self.recipe, ssh=False, launch_cmd=cmd) as qemu:
  File &quot;/opt/poky/3.0.1/sysroots/x86_64-pokysdk-linux/usr/lib/python3.7/contextlib.py&quot;, line 112, in __enter__
    return next(self.gen)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/utils/commands.py&quot;, line 314, in runqemu
    tinfoil.prepare(config_only=False, quiet=True)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/bitbake/lib/bb/tinfoil.py&quot;, line 387, in prepare
    extrafeatures)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/bitbake/lib/bb/main.py&quot;, line 438, in setup_bitbake
    server = bb.server.process.BitBakeServer(lock, sockname, configuration, featureset)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest-centos/build/bitbake/lib/bb/server/process.py&quot;, line 447, in __init__
    raise SystemExit(1)
SystemExit: 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86044</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-01-16 15:54:55 +0000</bug_when>
    <thetext>I believe I spotted a pattern. This appears to only occur when a test is failing. I also wonder if there is a link to tests which &quot;fork&quot; since maintainers and reproducibility generate a lot of other processes.

Next steps may be to stress test with failing tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86417</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-02-13 15:45:23 +0000</bug_when>
    <thetext>Kai, we&apos;d like this done in the next week or two. Okay?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86528</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-02-20 16:12:45 +0000</bug_when>
    <thetext>I think the sys.exit(1) is related from the other bug and likely causing this.

*** This bug has been marked as a duplicate of bug 13664 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86573</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-02-24 09:16:27 +0000</bug_when>
    <thetext>Sadly https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/723 proves this was not caused by the other bug, reopening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86671</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-03-05 23:11:22 +0000</bug_when>
    <thetext>Looks like this issue happens in different tests:

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/751</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86672</commentid>
    <comment_count>8</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-03-05 23:12:23 +0000</bug_when>
    <thetext>Pattern in the bug seems to always be on selftest-centos...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86706</commentid>
    <comment_count>9</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-03-12 14:41:51 +0000</bug_when>
    <thetext>Kai is having trouble reproducing this bug. Try testing under high load. 
If anyone has another suggetion, please let us know. It&apos;s one of the most commonly occurring non-reproducible bugs that the autobuilder sees.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86756</commentid>
    <comment_count>10</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-03-19 14:50:35 +0000</bug_when>
    <thetext>Not seen in the autobuilder for a few days but it will almost certainly come back. Add debugging and send a patch that can be tested in master-next, please.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86887</commentid>
    <comment_count>11</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-04-02 14:41:19 +0000</bug_when>
    <thetext>Still no sign of this bug in the autobuilder but we&apos;d like to get it fixed ASAP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87750</commentid>
    <comment_count>12</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-07-13 04:49:05 +0000</bug_when>
    <thetext>I think/hope this may be related to http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=ab8ebfd35a7bbfec3dad612c824b29ca93dbe196</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87829</commentid>
    <comment_count>13</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-07-23 08:33:28 +0000</bug_when>
    <thetext>We&apos;ve not seen this issue, resolving with the above change, will reopen if it recurs.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>