Bug 205219 - tools/testing/kunit/kunit.py run --build_dir='<foo>' fails on "unclean" trees
Summary: tools/testing/kunit/kunit.py run --build_dir='<foo>' fails on "unclean" trees
Status: NEW
Alias: None
Product: Tools
Classification: Unclassified
Component: KUnit (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Tools/KUnit virtual default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-16 21:21 UTC by Brendan Higgins
Modified: 2021-06-24 19:54 UTC (History)
3 users (show)

See Also:
Kernel Version: kselftest/test (5.4)
Tree: Mainline
Regression: No


Attachments

Description Brendan Higgins 2019-10-16 21:21:26 UTC
% ./tools/testing/kunit/kunit.py run --build_dir=/build/ext4-kunit
Generating .config ...
[22:04:12] Building KUnit Kernel ...
/usr/projects/linux/kunit/arch/x86/um/user-offsets.c:20:10: fatal error: asm/syscalls_64.h: No such file or directory
   20 | #include <asm/syscalls_64.h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.

It appears that some file is not getting properly cleaned up by `make mrproper`. It works if you do `git clean -fdx` (That's not a real solution for most people).

For more context see: https://groups.google.com/d/msg/kunit-dev/QmA27YEgEgI/hvS1kiz2CwAJ

Note You need to log in before you can comment on or make changes to this bug.