selftests: set executable bit
Subsystems (7)
PATCH 1/1 selftests: set executable bit
Turn on the executable bit for the following script files. These scripts are set to TEST_PROGS in their respective Makefiles, but currently, when these tests are run, a warning occurs:
# Warning: <file> is not executable
--- tools/testing/selftests/damon/damon_nr_regions.py | 0 tools/testing/selftests/damon/damos_apply_interval.py | 0 tools/testing/selftests/damon/damos_quota.py | 0 tools/testing/selftests/damon/damos_quota_goal.py | 0 tools/testing/selftests/damon/damos_tried_regions.py | 0 tools/testing/selftests/damon/debugfs_target_ids_pid_leak.sh | 0 .../damon/debugfs_target_ids_read_before_terminate_race.sh | 0 .../selftests/damon/sysfs_update_schemes_tried_regions_hang.py | 0 .../damon/sysfs_update_schemes_tried_regions_wss_estimation.py | 0 tools/testing/selftests/net/rds/test.py | 0 10 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 tools/testing/selftests/damon/damon_nr_regions.py mode change 100644 => 100755 tools/testing/selftests/damon/damos_apply_interval.py mode change 100644 => 100755 tools/testing/selftests/damon/damos_quota.py mode change 100644 => 100755 tools/testing/selftests/damon/damos_quota_goal.py mode change 100644 => 100755 tools/testing/selftests/damon/damos_tried_regions.py mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_target_ids_pid_leak.sh mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_target_ids_read_before_terminate_race.sh mode change 100644 => 100755 tools/testing/selftests/damon/sysfs_update_schemes_tried_regions_hang.py mode change 100644 => 100755 tools/testing/selftests/damon/sysfs_update_schemes_tried_regions_wss_estimation.py mode change 100644 => 100755 tools/testing/selftests/net/rds/test.py
tools/testing/selftests/damon/damon_nr_regions.py +0 -0
tools/testing/selftests/damon/damos_apply_interval.py +0 -0
tools/testing/selftests/damon/damos_quota.py +0 -0
tools/testing/selftests/damon/damos_quota_goal.py +0 -0
tools/testing/selftests/damon/damos_tried_regions.py +0 -0
tools/testing/selftests/damon/debugfs_target_ids_pid_leak.sh +0 -0
tools/testing/selftests/damon/debugfs_target_ids_read_before_terminate_race.sh +0 -0
tools/testing/selftests/damon/sysfs_update_schemes_tried_regions_hang.py +0 -0
tools/testing/selftests/damon/sysfs_update_schemes_tried_regions_wss_estimation.py +0 -0
tools/testing/selftests/net/rds/test.py +0 -0
Signature · 1 line
2.43.0
SeongJae Park
maintainerHi David,
Quoted 5 lines · On Tue, 24 Sep 2024 13:54:57 -0400 David Hunter <[email protected]>…
Turn on the executable bit for the following script files. These scripts are set to
TEST_PROGSin their respective Makefiles, but currently, when these tests are run, a warning occurs:# Warning: <file> is not executable
Thank you so much for finding this issue and sending this nice fix!
Quoted 16 lines
Signed-off-by David Hunter <[email protected]>--- tools/testing/selftests/damon/damon_nr_regions.py | 0 tools/testing/selftests/damon/damos_apply_interval.py | 0 tools/testing/selftests/damon/damos_quota.py | 0 tools/testing/selftests/damon/damos_quota_goal.py | 0 tools/testing/selftests/damon/damos_tried_regions.py | 0 tools/testing/selftests/damon/debugfs_target_ids_pid_leak.sh | 0 .../damon/debugfs_target_ids_read_before_terminate_race.sh | 0 .../selftests/damon/sysfs_update_schemes_tried_regions_hang.py | 0 .../damon/sysfs_update_schemes_tried_regions_wss_estimation.py | 0 tools/testing/selftests/net/rds/test.py | 0 10 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 tools/testing/selftests/damon/damon_nr_regions.py mode change 100644 => 100755 tools/testing/selftests/damon/damos_apply_interval.py
Quoted 8 lines
mode change 100644 => 100755 tools/testing/selftests/damon/damos_quota.py mode change 100644 => 100755 tools/testing/selftests/damon/damos_quota_goal.py mode change 100644 => 100755 tools/testing/selftests/damon/damos_tried_regions.py mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_target_ids_pid_leak.sh mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_target_ids_read_before_terminate_race.sh mode change 100644 => 100755 tools/testing/selftests/damon/sysfs_update_schemes_tried_regions_hang.py mode change 100644 => 100755 tools/testing/selftests/damon/sysfs_update_schemes_tried_regions_wss_estimation.py mode change 100644 => 100755 tools/testing/selftests/net/rds/test.py
However, a very similar fix has already posted [1] and merged [2] into the mainline. So, apparently there was a trivial race. I'm looking forward to your next patches for DAMON, though!
[1] https://lore.kernel.org/[email protected]
[2] https://github.com/torvalds/linux/commit/8c211412c5dffd090eaea5ee033cd729f8e5f873
Thanks,
SJ
[...]
This patch was applied to bpf/bpf-next.git (master) by Palmer Dabbelt <[email protected]>:
Hello:
This patch was applied to bpf/bpf-next.git (master) by Palmer Dabbelt <[email protected]>:
Quoted 9 lines · On Tue, 24 Sep 2024 13:54:57 -0400 you wrote:
Turn on the executable bit for the following script files. These scripts are set to
TEST_PROGSin their respective Makefiles, but currently, when these tests are run, a warning occurs:# Warning: <file> is not executable
Signed-off-by David Hunter <[email protected]>[...]
Here is the summary with links:
- [v1,1/1] selftests: set executable bit
https://git.kernel.org/bpf/bpf-next/c/9ea7b92b77df
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html