Skip to content

Conversation

nordic-segl
Copy link
Contributor

@nordic-segl nordic-segl commented Sep 4, 2025

Add test which checks correct operation of an SWO log backend. Use JLinkSWOViewerCLExe to collect the logs.

@nordic-segl nordic-segl requested review from a team as code owners September 4, 2025 08:43
@nordic-segl nordic-segl force-pushed the NRFX-8296_Add-test-for-SWO-logging branch from 14f0d53 to a24c517 Compare September 4, 2025 08:46
@nordic-segl
Copy link
Contributor Author

Depends on nrfconnect/sdk-zephyr#3199

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Sep 4, 2025

CI Information

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

Inputs:

Sources:

sdk-nrf: PR head: e0e7b13cbc88d6ee3ab79f2eec695668abb390db

more details

sdk-nrf:

PR head: e0e7b13cbc88d6ee3ab79f2eec695668abb390db
merge base: 1ac0323509f422e72bf642ad838f98ea532160ad
target head (main): 5e7b80792e3beb0055ea1d5c7f08c46d7c27164a
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 (7)
CODEOWNERS
scripts
│  ├── ci
│  │  │ tags.yaml
tests
│  ├── subsys
│  │  ├── swo
│  │  │  ├── CMakeLists.txt
│  │  │  ├── prj.conf
│  │  │  ├── pytest
│  │  │  │  │ test_swo.py
│  │  │  ├── src
│  │  │  │  │ main.c
│  │  │  │ testcase.yaml

Outputs:

Toolchain

Version: c0e69fc6ed
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:c0e69fc6ed_bba2ea5f2e

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

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ✅ Build twister
    • sdk-nrf test count: 6
  • ✅ Integration tests
Disabled integration tests
    • test-fw-nrfconnect-nrf_lrcs_mosh
    • test-fw-nrfconnect-nrf_lrcs_positioning
    • 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-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_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-proprietary_esb
    • test-fw-nrfconnect-ps-main
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-rs
    • test-fw-nrfconnect-tfm
    • test-fw-nrfconnect-thread-main
    • test-low-level
    • test-sdk-audio
    • test-sdk-dfu
    • test-sdk-find-my
    • test-sdk-mcuboot
    • test-sdk-pmic-samples
    • test-sdk-wifi
    • test-secdom-samples-public

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

@nordic-segl nordic-segl force-pushed the NRFX-8296_Add-test-for-SWO-logging branch from a24c517 to ac2baca Compare September 4, 2025 09:07
@nordic-segl nordic-segl force-pushed the NRFX-8296_Add-test-for-SWO-logging branch 6 times, most recently from 6ef1ad7 to 099f9bf Compare September 4, 2025 13:09
@nordic-segl
Copy link
Contributor Author

Works in CI

15:05:52  INFO    - 1/3 nrf52840dk/nrf52840       nrf.tests.subsys.swo                               PASSED (device: 1050296754, 14.548s <zephyr>)
15:05:52  INFO    - 2/3 nrf52dk/nrf52832          nrf.tests.subsys.swo                               PASSED (device: 682320598, 14.848s <zephyr>)
15:05:52  INFO    - 3/3 nrf5340dk/nrf5340/cpuapp  nrf.tests.subsys.swo                               PASSED (device: 1050070915, 17.932s <zephyr>)

Failures on other platforms - bugs were reported.

@nordic-segl nordic-segl force-pushed the NRFX-8296_Add-test-for-SWO-logging branch 2 times, most recently from 98cde00 to 774a5b7 Compare September 5, 2025 08:57
Add test which checks correct operation of an SWO log backend.
Use JLinkSWOViewerCLExe to collect the logs.

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl nordic-segl force-pushed the NRFX-8296_Add-test-for-SWO-logging branch from 774a5b7 to e0e7b13 Compare September 5, 2025 09:58
@nordic-piks nordic-piks merged commit 052cd54 into nrfconnect:main Sep 10, 2025
17 checks passed
@nordic-segl nordic-segl deleted the NRFX-8296_Add-test-for-SWO-logging branch September 10, 2025 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants