generic-poky/meta/lib/oeqa
Richard Purdie 684eefd7a3 scripts: Drop cleanup-workdir
This script appears broken and is actively breaking build directories.
For example, binutils-cross-i586 gets run do_fetch to do_populate_sysroot by:

$ oe-selftest -r devtool.DevtoolTests.test_devtool_virtual_kernel_modify

then:

$ oe-selftest -r oescripts.BuildhistoryDiffTests.test_buildhistory_diff

wipes out the contents of tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/
but does not wipe out the corresponding stamps, then:

$ oe-selftest -r runtime-test.Postinst.test_postinst_rootfs_and_boot

needs binutils-cross-i586:do_populate_lic and if and only if this is
unavailable from sstate, it fails since it thinks the source is already
unpacked when it isn't resulting in:

WARNING: binutils-cross-i586-2.28-r0 do_populate_lic: Could not copy license file /home/pokybuild/yocto-autobuilder/yocto-worker/nigh
tly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3.LIB to /home/pokybuild/yocto-autobuilder/yocto
-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/license-destdir/binutils-cross-i586/COPYING3.LI
B: [Errno 2] No such file or directory: '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-l
inux/binutils-cross-i586/2.28-r0/git/COPYING3.LIB'
ERROR: binutils-cross-i586-2.28-r0 do_populate_lic: QA Issue: binutils-cross-i586: LIC_FILES_CHKSUM points to an invalid file: /home/
pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/x86_64-linux/binutils-cross-i586/2.28-r0/git/COPYING3 [license-checksum]

and similar errors.

Its safer for users to wipe tmp than try and maintain scripts which try
to remove pieces of tmp and get it wrong so remove the script.

(From OE-Core rev: 809b23c829f352c0eae455ea89f53e2a9ee87f06)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-10 23:00:44 +01:00
..
buildperf oeqa.buildperf: limit the length of error output 2017-03-27 08:15:07 +01:00
controllers gummiboot: Remove/change gummiboot references with systemd-boot 2017-01-09 13:39:11 +00:00
core oeqa/core/loader.py: Do not import underscore modules by default 2017-03-28 08:43:12 +01:00
files oeqa: Move common files to oeqa/files instead of runtime only 2017-01-23 12:05:19 +00:00
runtime oeqa/runtime/utils/targetbuildproject: use parent classes defaults tmpdir 2017-04-06 10:13:39 +01:00
sdk meta/lib/oeqa: change sdk test from cvs to cpio 2017-03-22 11:35:21 +00:00
sdkext oeqa/sdkext/devtool: Ensure dependencies for test_extend_autotools_recipe_creation are present 2017-03-03 11:16:12 +00:00
selftest scripts: Drop cleanup-workdir 2017-04-10 23:00:44 +01:00
utils oeqa/utils/targetbuild: tmp dir improvements 2017-04-06 10:13:39 +01:00
oetest.py testimage.bbclass: fix runtime test for rpm, port smart tests to dnf 2017-03-14 14:42:17 +00:00
runexported.py meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
targetcontrol.py oeqa: allow persistent image writes in runqemu() 2017-03-28 10:34:37 +01:00