| Summary: | Add support for non interactive execution of build-perf-test-wrapper.sh script | ||
|---|---|---|---|
| Product: | [QA/Testing] Build Testing | Reporter: | Jose Perez C <jose.perez.carranza> |
| Component: | general | Assignee: | Markus Lehtonen <markus.lehtonen> |
| Status: | VERIFIED NOTABUG | QA Contact: | Jose Perez C <jose.perez.carranza> |
| Severity: | enhancement | ||
| Priority: | Undecided | ||
| Version: | 2.2 | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Jose Perez C
2016-08-08 16:54:01 UTC
oe-build-perf test script (that is being called by build-perf-test-wrapper.sh) needs root privileges in order to drop the kernel caches. The script uses the tee command for writing into /proc/sys/vm/drop_caches. You can avoid the password prompt by defining: <user> ALL = NOPASSWD: /usr/bin/tee /proc/sys/vm/drop_caches in a sudoers file (e.g. /etc/sudoers.d/buildperf). Just replace <user> with the username that is supposed to be able to run the script without a password probmpt. Not a bug |