Bug 14587 - buildtools-extended-tarball: do_testsdk failure, FileNotFoundError
Summary: buildtools-extended-tarball: do_testsdk failure, FileNotFoundError
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 5.99
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.4 M4
Assignee: Joshua Watt
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-10-05 05:46 UTC by Naveen Saini
Modified: 2021-11-11 16:14 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naveen Saini 2021-10-05 05:46:58 UTC
On master, buildtool failure
Worker: ubuntu1804-ty-1
qemux86-64

Looks intermittent FileNotFoundError
FileNotFoundError: [Errno 2] No such file or directory: 'hashserv.db-wal'

https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/4441


Error log:
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/buildtools/build/meta/lib/oeqa/sdk/buildtools-cases/build.py", line 30, in test_libc
    delay = delay - 1
  File "/usr/lib/python3.6/tempfile.py", line 948, in __exit__
    self.cleanup()
  File "/usr/lib/python3.6/tempfile.py", line 952, in cleanup
    _rmtree(self.name)
  File "/usr/lib/python3.6/shutil.py", line 486, in rmtree
    _rmtree_safe_fd(fd, path, onerror)
  File "/usr/lib/python3.6/shutil.py", line 424, in _rmtree_safe_fd
    _rmtree_safe_fd(dirfd, fullname, onerror)
  File "/usr/lib/python3.6/shutil.py", line 444, in _rmtree_safe_fd
    onerror(os.unlink, fullname, sys.exc_info())
  File "/usr/lib/python3.6/shutil.py", line 442, in _rmtree_safe_fd
    os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'hashserv.db-wal'

RESULTS:
RESULTS - gcc.GccTests.test_verify_specs: PASSED (0.04s)
RESULTS - https.HTTPTests.test_python: PASSED (5.16s)
RESULTS - https.HTTPTests.test_wget: PASSED (0.99s)
RESULTS - sanity.SanityTests.test_tools: PASSED (0.11s)
RESULTS - build.BuildTests.test_libc: ERROR (2394.32s)
SUMMARY:
buildtools-extended-tarball sdk (x86_64-buildtools-extended-nativesdk-standalone-3.3+snapshot-80f2b56ad8c270269d9f7f65cc114d8f13f9dfbb.sh:environment-setup-x86_64-pokysdk-linux) - Ran 5 tests in 2400.633s
buildtools-extended-tarball sdk - FAIL - Required tests failed (successes=4, skipped=0, failures=0, errors=1)
ERROR: buildtools-extended-tarball-1.0-r0 do_testsdk: buildtools-extended-tarball - FAILED - check the task log and the commands log
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-extended-tarball/1.0-r0/temp/log.do_testsdk.4149
NOTE: recipe buildtools-extended-tarball-1.0-r0: task do_testsdk: Failed
ERROR: Task (/home/pokybuild/yocto-worker/buildtools/build/meta/recipes-core/meta/buildtools-extended-tarball.bb:do_testsdk) failed with exit code '1'
Comment 1 Naveen Saini 2021-10-05 05:48:05 UTC
Happend on Master-next:
https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/4435