shikhabhadoria opened a new pull request, #22563:
URL: https://github.com/apache/nuttx/pull/22563
boards/risc-v: Add NTFC kernel-build test for rv-virt:citest_knsh64.
## Summary
* Why: [#20031](https://github.com/apache/nuttx/issues/20031) asks CI to
run NTFC on kernel-build QEMU targets.
* What: add `rv-virt:citest_knsh64`, a dedicated NTFC configuration based
on `knsh64`.
* How: `config.yaml` / `run.sh` / `session.json` follow `citest_knsh` and
`citest64`. QEMU args follow the nuttx-ntfc
`nuttx-qemu-riscv-rv-virt-knsh64.yaml` reference (S-mode, no `-bios none`,
`boot_timeout: 15`). `CONFIG_FS_TMPFS`, `CONFIG_SYSTEM_SETLOGMASK`, and
`CONFIG_TESTING_HEAP` stay in this CI defconfig only.
* The earlier attempt,
[#20127](https://github.com/apache/nuttx/pull/20127), attached a runner to
`ksmp64` and failed CI with `TimeoutError: device boot timeout` on NTFC 0.0.1.
CI now uses NTFC 0.0.4, which honors `boot_timeout`. This PR does not change
`ksmp64`.
* The existing `tools/ci/testlist/risc-v-05.dat` glob `configs/[a-c]*`
already includes `citest_knsh64`. Make builds it, `testbuild.sh` export/imports
apps, then `run.sh` starts NTFC.
## Impact
* Is new feature added? Is existing feature changed? YES. New CI
configuration. No change to `knsh64` or `ksmp64`.
* Impact on user? NO.
* Impact on build? YES. One extra `rv-virt` kernel configuration in the
RISC-V CI glob.
* Impact on hardware? NO. QEMU only.
* Impact on documentation? YES. Board page and
`Documentation/testing/ntfc.rst`.
* Impact on security? NO.
* Impact on compatibility? NO.
## Testing
I confirm that changes are verified on local setup and works as intended:
* Build Host(s): Ubuntu 24.04, x86_64. `./tools/checkpatch.sh -f` on
`run.sh` passes. `git diff --check` is clean.
* Target(s): `rv-virt:citest_knsh64` (QEMU RISC-V 64-bit kernel). This
host has no RISC-V toolchain, kconfig-frontends, or `qemu-system-riscv64`, so
the kernel image was not booted here. CI Linux (risc-v-05) is the runtime
check: it already runs NTFC for `citest` / `citest64` on the same glob.
* Files match in-tree NTFC runners (`citest64`, `citest_knsh`) and the
knsh64 QEMU command from
https://github.com/apache/nuttx-ntfc/blob/main/config/nuttx-qemu-riscv-rv-virt-knsh64.yaml
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]