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

tests: Extend integration tests for fetch, copy and write with decryption #19852

Merged

Conversation

nordic-mik7
Copy link
Contributor

This PR extends integration tests for fetch, copy and write SUIT directives with test cases for payload decryption. Common test module decrypt_test_utils.c was added with default constants and utilities for decryption tests to use. Refactor of decrypt_filter/src/main.c was made because of this common module.

Ref: NCSDK-31276

@nordic-mik7 nordic-mik7 requested review from a team as code owners January 10, 2025 14:56
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Jan 10, 2025
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Jan 10, 2025

CI Information

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

Inputs:

Sources:

sdk-nrf: PR head: da79f1ca142dde5df223bad161a7e367153c73df

more details

sdk-nrf:

PR head: da79f1ca142dde5df223bad161a7e367153c73df
merge base: 35facd192a4afb59ad952ea253e7307829c52c59
target head (main): 82d3d2677adf85c5b9645b34f69e787fb25ff2f3
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 (15)
tests
│  ├── subsys
│  │  ├── suit
│  │  │  ├── common
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── decrypt_utils
│  │  │  │  │  ├── CMakeLists.txt
│  │  │  │  │  ├── decrypt_test_utils.c
│  │  │  │  │  │ decrypt_test_utils.h
│  │  │  ├── copy
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── prj.conf
│  │  │  │  ├── src
│  │  │  │  │  │ main.c
│  │  │  ├── decrypt_filter
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── src
│  │  │  │  │  │ main.c
│  │  │  ├── fetch
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── prj.conf
│  │  │  │  ├── src
│  │  │  │  │  │ main.c
│  │  │  ├── write
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── prj.conf
│  │  │  │  ├── src
│  │  │  │  │  │ main.c

Outputs:

Toolchain

Version: 342151af73
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:342151af73_912848a074

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

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ✅ Build twister - Skipped: Skipping Build & Test as it succeeded in a previous run: 12
  • ✅ Integration tests
    • ✅ test-sdk-dfu
    • ⚠️ test-sdk-dfu
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_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_lwm2m
    • test-fw-nrfconnect-nrf-iot_mosh
    • test-fw-nrfconnect-nrf-iot_positioning
    • test-fw-nrfconnect-nrf-iot_samples
    • test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • test-fw-nrfconnect-nrf-iot_thingy91
    • test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • test-fw-nrfconnect-nrf_crypto
    • 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-find-my
    • test-sdk-mcuboot
    • test-sdk-pmic-samples
    • test-sdk-sidewalk
    • test-sdk-wifi
    • test-secdom-samples-public

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

@nordic-mik7 nordic-mik7 force-pushed the dev/NCSKD-30925_integration_tests_squash branch 6 times, most recently from 224ee0d to a126845 Compare January 13, 2025 12:19
Copy link
Contributor

@nordicjm nordicjm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit. style

@nordic-mik7 nordic-mik7 force-pushed the dev/NCSKD-30925_integration_tests_squash branch from a126845 to acfaf90 Compare January 13, 2025 15:30
@nordic-mik7 nordic-mik7 requested a review from nordicjm January 14, 2025 15:36
@nordic-mik7 nordic-mik7 force-pushed the dev/NCSKD-30925_integration_tests_squash branch 2 times, most recently from a40979d to 83fecc4 Compare January 17, 2025 10:48
@nordic-mik7 nordic-mik7 requested a review from tomchy January 17, 2025 10:49
@nordic-mik7 nordic-mik7 force-pushed the dev/NCSKD-30925_integration_tests_squash branch from 83fecc4 to 3a3199f Compare January 17, 2025 10:58
This commit extends integration tests for fetch, copy and write
SUIT directives with test cases for payload decryption.
Common test module decrypt_test_utils.c was added with default
constants and utilities for decryption tests to use.
Refactor of decrypt_filter/src/main.c was made because of this
common module.

Ref: NCSDK-31276

Signed-off-by: Michal Kozikowski <[email protected]>
@nordic-mik7 nordic-mik7 force-pushed the dev/NCSKD-30925_integration_tests_squash branch from 3a3199f to da79f1c Compare January 17, 2025 15:31
@rlubos rlubos merged commit cf65838 into nrfconnect:main Jan 21, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants