<?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>12158</bug_id>
          
          <creation_ts>2017-10-03 08:25:20 +0000</creation_ts>
          <short_desc>ResourceWarning (sometimes)</short_desc>
          <delta_ts>2018-11-13 18:57:56 +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>BitBake</product>
          <component>bitbake</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Berger">pokylinux</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>77294</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2017-10-03 08:25:20 +0000</bug_when>
    <thetext>e.g.:

WARNING: /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/res-custom-rocko-multi-v7-core-image-minimal/build/meta-mainline/multi-v7-ml/recipes-kernel/linux/linux-yocto-custom_4.9.44.bb: /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/res-custom-rocko-multi-v7-core-image-minimal/build/bitbake/lib/bb/codeparser.py:411: ResourceWarning: unclosed &lt;socket.socket fd=13, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=(&apos;127.0.0.1&apos;, 39688)&gt;
  &quot;pipeline&quot;: lambda x: (x.commands, None),

corresponding recipe:

https://github.com/RobertBerger/meta-mainline/blob/rocko-training-v4.9.x/multi-v7-ml/recipes-kernel/linux/linux-yocto-custom_4.9.44.bb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77297</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2017-10-03 08:48:18 +0000</bug_when>
    <thetext>more warnings:

https://pastebin.com/cwbHZypr</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82201</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-11-13 17:42:37 +0000</bug_when>
    <thetext>Hi Robert,

Are you still seeing these? 

I tried this recipe and couldn&apos;t reproduce the error against master. We do sometimes see them in oe-selftest but they seem to be very rare now and that has a separate bug open for it 12780.

We did fix a number of these issues and may of them were resolved but there seems to be at least one &quot;leak&quot; left which I&apos;ve been unable to narrow down.

I&apos;d love someone to have a specific reproducer for it!

I&apos;m going to close this as working and leave 12780 open as we do see that one occasionally on the autobuilder. If you can reproduce this still on master, please do let use know though!

Cheers,

Richard</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82206</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2018-11-13 18:57:56 +0000</bug_when>
    <thetext>Hi Richard,

I see them on Sumo (in my docker container). 
Currently on the road again preaching the OE/YP;)

As soon as I&apos;ll find some time I&apos;ll try with something more recent and see if they appear again.

Regards,

Robert</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>