GH Actions: "Kernel hardening analysis (pull request)" kconfig-hardened-check: No such file or directory

Description

  1.  

    1.  

      1. 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

  1.  

    1.  

      1. How to reproduce?

Pull request with kernel-config changes.

  1.  

    1.  

      1. Branch

main (main development branch)

  1.  

    1.  

      1. On which host OS are you observing this problem?

Other

  1.  

    1.  

      1. Relevant log URL

No response

  1.  

    1.  

      1. 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

Environment

None

Checklist

hide

Activity

Show:
Done

Details

Assignee

Reporter

Fix versions

Priority

Created March 7, 2024 at 1:37 PM
Updated May 2, 2024 at 6:58 AM
Resolved May 2, 2024 at 6:58 AM