Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport v2.8-branch] tests: add tests for KMU and keys provisioning #18516

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

NordicBuilder
Copy link
Contributor

Backport d3fc0cc from #18456.

Add two test applications with test scenarios automated with pytest.
Keys are provisioned with the `west ncs-provision` command.
The tests verify if the applications boot and if the keys are correct.

Signed-off-by: Grzegorz Chwierut <[email protected]>
(cherry picked from commit d3fc0cc)
@NordicBuilder NordicBuilder requested a review from a team as a code owner November 4, 2024 13:29
@NordicBuilder NordicBuilder requested a review from a team as a code owner November 4, 2024 13:29
@NordicBuilder
Copy link
Contributor Author

NordicBuilder commented Nov 4, 2024

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 1

Inputs:

Sources:

sdk-nrf: PR head: 7663fdb2ae4dec46921e51d42e230b48689f5176

more details

sdk-nrf:

PR head: 7663fdb2ae4dec46921e51d42e230b48689f5176
merge base: a4fa18c8f7cd9e8315a4d11053af7f063ee04ed7
target head (v2.8-branch): 7f8aa478685ddf8bec773f5b84f795de2ed6fe6c
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (20)
CODEOWNERS
tests
│  ├── subsys
│  │  ├── kmu
│  │  │  ├── hello_for_kmu
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── prj.conf
│  │  │  │  ├── sb_secondary_key.conf
│  │  │  │  ├── sb_wrong_key.conf
│  │  │  │  ├── src
│  │  │  │  │  │ main.c
│  │  │  │  ├── sysbuild.conf
│  │  │  │  ├── sysbuild
│  │  │  │  │  │ mcuboot.conf
│  │  │  │  │ testcase.yaml
│  │  │  ├── keys
│  │  │  │  ├── root-ed25519-1.pem
│  │  │  │  ├── root-ed25519-2.pem
│  │  │  │  │ root-ed25519-w.pem
│  │  │  ├── pytest
│  │  │  │  ├── common.py
│  │  │  │  ├── conftest.py
│  │  │  │  ├── test_kmu_key_provision.py
│  │  │  │  │ test_kmu_with_mcuboot.py
│  │  │  ├── verify_west_ncs_provision
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── prj.conf
│  │  │  │  ├── src
│  │  │  │  │  │ main.c
│  │  │  │  │ testcase.yaml

Outputs:

Toolchain

Version: b44b7a08c9
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:b44b7a08c9_912848a074

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ✅ Build twister
    • sdk-nrf test count: 40
  • ✅ Integration tests
Disabled integration tests
    • desktop52_verification
    • doc-internal
    • test_ble_nrf_config
    • test-fw-nrfconnect-apps
    • test-fw-nrfconnect-ble_mesh
    • test-fw-nrfconnect-ble_samples
    • test-fw-nrfconnect-boot
    • test-fw-nrfconnect-chip
    • test-fw-nrfconnect-fem
    • test-fw-nrfconnect-nfc
    • test-fw-nrfconnect-nrf-iot_cloud
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_lwm2m
    • test-fw-nrfconnect-nrf-iot_mosh
    • test-fw-nrfconnect-nrf-iot_nrf_provisioning
    • test-fw-nrfconnect-nrf-iot_positioning
    • test-fw-nrfconnect-nrf-iot_samples
    • test-fw-nrfconnect-nrf-iot_thingy91
    • test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • test-fw-nrfconnect-nrf_crypto
    • test-fw-nrfconnect-proprietary_esb
    • test-fw-nrfconnect-ps
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-rs
    • test-fw-nrfconnect-tfm
    • test-fw-nrfconnect-thread
    • test-fw-nrfconnect-zigbee
    • test-low-level
    • test-sdk-audio
    • test-sdk-dfu
    • test-sdk-find-my
    • test-sdk-mcuboot
    • test-sdk-pmic-samples
    • test-sdk-sidewalk
    • test-sdk-wifi

Note: This message is automatically posted and updated by the CI

@rlubos rlubos merged commit 49e99d0 into v2.8-branch Nov 4, 2024
14 checks passed
@rlubos rlubos deleted the backport-18456-to-v2.8-branch branch November 5, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants