GH Actions: "Kernel hardening analysis (pull request)" kconfig-hardened-check: No such file or directory
Description
What happened?
The workflow "Kernel hardening analysis (pull request)" from this PR https://github.com/armbian/build/pull/6368 seemed to run fine, but if you look closely, the script failed:
```bash for file in config/kernel/linux-rk35xx-vendor.config config/kernel/linux-rockchip-rk3588-edge.config config/kernel/linux-rockchip64-current.config config/kernel/linux-rockchip64-edge.config config/kernel/linux-uefi-arm64-current.config config/kernel/linux-uefi-arm64-edge.config config/kernel/linux-uefi-riscv64-current.config config/kernel/linux-uefi-riscv64-edge.config config/kernel/linux-uefi-x86-current.config config/kernel/linux-uefi-x86-edge.config config/kernel/linux-wsl2-arm64-current.config config/kernel/linux-wsl2-arm64-edge.config config/kernel/linux-wsl2-x86-current.config config/kernel/linux-wsl2-x86-edge.config; do if [[ "${file}" = config/kernel/*.config ]]; then kconfig-hardened-check/bin/kconfig-hardened-check -m show_fail -c $file | sed -e 's/^/ /' >> $GITHUB_STEP_SUMMARY fi done shell: /usr/bin/bash -e {0} /home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory /home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory /home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory /home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory /home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory /home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory /home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory /home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory /home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory /home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory /home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory /home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory /home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory /home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory ```
What happened?
The workflow "Kernel hardening analysis (pull request)" from this PR https://github.com/armbian/build/pull/6368 seemed to run fine, but if you look closely, the script failed:
```bash
for file in config/kernel/linux-rk35xx-vendor.config config/kernel/linux-rockchip-rk3588-edge.config config/kernel/linux-rockchip64-current.config config/kernel/linux-rockchip64-edge.config config/kernel/linux-uefi-arm64-current.config config/kernel/linux-uefi-arm64-edge.config config/kernel/linux-uefi-riscv64-current.config config/kernel/linux-uefi-riscv64-edge.config config/kernel/linux-uefi-x86-current.config config/kernel/linux-uefi-x86-edge.config config/kernel/linux-wsl2-arm64-current.config config/kernel/linux-wsl2-arm64-edge.config config/kernel/linux-wsl2-x86-current.config config/kernel/linux-wsl2-x86-edge.config; do
if [[ "${file}" = config/kernel/*.config ]]; then
kconfig-hardened-check/bin/kconfig-hardened-check -m show_fail -c $file | sed -e 's/^/ /' >> $GITHUB_STEP_SUMMARY
fi
done
shell: /usr/bin/bash -e {0}
/home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory
/home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory
/home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory
/home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory
/home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory
/home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory
/home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory
/home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory
/home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory
/home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory
/home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory
/home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory
/home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory
/home/runner/work/_temp/5c36c438-3c64-4c23-b584-cd442c4d4322.sh: line 3: kconfig-hardened-check/bin/kconfig-hardened-check: No such file or directory
```
See https://github.com/armbian/build/actions/runs/8188906413/job/22392429566?pr=6368
How to reproduce?
Pull request with kernel-config changes.
Branch
main (main development branch)
On which host OS are you observing this problem?
Other
Relevant log URL
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Raised by: https://github.com/ColorfulRhino
https://github.com/armbian/build/issues/6369