s....................................................................../usr/lib/python3.7/unittest/suite.py:107: ResourceWarning: unclosed <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 44413)> 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 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 32863)> 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 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 32845)> 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 "/home/pokybuild/yocto-worker/oe-selftest/build/bitbake/lib/bb/tests/fetch.py", line 1229, in test_wget_latest_versionstring self.assertTrue(verstring, msg="Could not find upstream version for %s" % k[0]) AssertionError: '' is not true : Could not find upstream version for db
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.
I did not see any recent changes in the bitbake code
seeing same failure on warrior
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.
found a work around and will post a patch.
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 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 34849)> for index, test in enumerate(self): ./usr/lib/python3.5/unittest/suite.py:107: ResourceWarning: unclosed <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 42100)> for index, test in enumerate(self): ./usr/lib/python3.5/unittest/suite.py:84: ResourceWarning: unclosed <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 43513)> return self.run(*args, **kwds)
patch posted https://patchwork.openembedded.org/patch/164528/
in master,https://git.openembedded.org/bitbake/commit/?id=4cf5bb761c561ddea86f2875be35d05abc8486e1 needs backpor to stable.