Occasionally when the hash equivalence server tests are run in bitbake the following error appears: ERROR: test_hashserv_multiple_setscene (bb.tests.runqueue.RunQueueTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/bitbake/lib/bb/tests/runqueue.py", line 313, in test_hashserv_multiple_setscene self.assertEqual(tasks.count(i), 1, "%s not in task list once" % i) File "/usr/lib64/python3.6/tempfile.py", line 809, in __exit__ self.cleanup() File "/usr/lib64/python3.6/tempfile.py", line 813, in cleanup _shutil.rmtree(self.name) File "/usr/lib64/python3.6/shutil.py", line 486, in rmtree _rmtree_safe_fd(fd, path, onerror) File "/usr/lib64/python3.6/shutil.py", line 444, in _rmtree_safe_fd onerror(os.unlink, fullname, sys.exc_info()) File "/usr/lib64/python3.6/shutil.py", line 442, in _rmtree_safe_fd os.unlink(name, dir_fd=topfd) FileNotFoundError: [Errno 2] No such file or directory: 'hashserve.sock'
This appears to be caused by the hashserver being tardy in it's shutdown and racing with the test cleanup
http://lists.openembedded.org/pipermail/bitbake-devel/2019-September/020349.html
*** Bug 13564 has been marked as a duplicate of this bug. ***
The original fix didn't work but this one should http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=562de41ce7c576c96d55586637c156313c428ff4