<?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>13496</bug_id>
          
          <creation_ts>2019-08-31 15:14:38 +0000</creation_ts>
          <short_desc>bitbake selftest falled FAIL: test_wget_latest_versionstring db</short_desc>
          <delta_ts>2019-09-02 02:55:49 +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>3.0</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>NeedsBackport</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Armin Kuster">akuster</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>84843</commentid>
    <comment_count>0</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-08-31 15:14:38 +0000</bug_when>
    <thetext>s....................................................................../usr/lib/python3.7/unittest/suite.py:107: ResourceWarning: unclosed &lt;socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=(&apos;127.0.0.1&apos;, 44413)&gt;
  for index, test in enumerate(self):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./usr/lib/python3.7/unittest/suite.py:107: ResourceWarning: unclosed &lt;socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=(&apos;127.0.0.1&apos;, 32863)&gt;
  for index, test in enumerate(self):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
./usr/lib/python3.7/unittest/suite.py:84: ResourceWarning: unclosed &lt;socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=(&apos;127.0.0.1&apos;, 32845)&gt;
  return self.run(*args, **kwds)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
.................
======================================================================
FAIL: test_wget_latest_versionstring (bb.tests.fetch.FetchLatestVersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/bitbake/lib/bb/tests/fetch.py&quot;, line 1229, in test_wget_latest_versionstring
    self.assertTrue(verstring, msg=&quot;Could not find upstream version for %s&quot; % k[0])
AssertionError: &apos;&apos; is not true : Could not find upstream version for db</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84844</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-08-31 15:16:18 +0000</bug_when>
    <thetext>wget of the http://download.oracle.com/berkeley-db/db-5.3.21.tar.gz and http://www.oracle.com/technetwork/products/berkeleydb/downloads/index-082944.html

works. if 6.1.19 is a db version, it is not there. I could not tell what url it was trying a the time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84845</commentid>
    <comment_count>2</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-08-31 15:17:23 +0000</bug_when>
    <thetext>I did not see any recent changes in the bitbake code</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84846</commentid>
    <comment_count>3</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-09-01 01:19:05 +0000</bug_when>
    <thetext>seeing same failure on warrior</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84847</commentid>
    <comment_count>4</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-09-01 01:35:19 +0000</bug_when>
    <thetext>Notice on their website

Berkeley DB 12cR1 (12.1.6.1.19)

No longer available for download.

if 6.1.19 is the same as that.

I going to give a shot at fixing this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84848</commentid>
    <comment_count>5</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-09-01 21:03:33 +0000</bug_when>
    <thetext>found a work around and will post a patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84849</commentid>
    <comment_count>6</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-09-01 21:04:25 +0000</bug_when>
    <thetext>I think there may have been two issues. I am seeing this traceback but the tests pass.

ib/python3.5/unittest/suite.py:107: ResourceWarning: unclosed &lt;socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=(&apos;127.0.0.1&apos;, 34849)&gt;
  for index, test in enumerate(self):
./usr/lib/python3.5/unittest/suite.py:107: ResourceWarning: unclosed &lt;socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=(&apos;127.0.0.1&apos;, 42100)&gt;
  for index, test in enumerate(self):
./usr/lib/python3.5/unittest/suite.py:84: ResourceWarning: unclosed &lt;socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=(&apos;127.0.0.1&apos;, 43513)&gt;
  return self.run(*args, **kwds)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84850</commentid>
    <comment_count>7</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-09-01 21:28:46 +0000</bug_when>
    <thetext>patch posted

https://patchwork.openembedded.org/patch/164528/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84851</commentid>
    <comment_count>8</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-09-02 02:55:49 +0000</bug_when>
    <thetext>in master,https://git.openembedded.org/bitbake/commit/?id=4cf5bb761c561ddea86f2875be35d05abc8486e1

needs backpor to stable.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>