[nrf fromtree] tests: net: socket: tls: Improve tests interoperability#4028
Merged
rlubos merged 2 commits intoMay 5, 2026
Merged
Conversation
rlubos
pushed a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Apr 28, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#4028 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
tomi-font
approved these changes
Apr 28, 2026
rlubos
pushed a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Apr 28, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#4028 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
rlubos
pushed a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Apr 28, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#4028 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
rlubos
pushed a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Apr 28, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#4028 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
a0adb3e to
fc66327
Compare
NordicBuilder
added a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
May 4, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#4028 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
All handshakes within the test suite are PSK-based, therefore it's only needed to enable MBEDTLS_CIPHERSUITE_TLS_PSK_WITH_AES_256_CBC_SHA384, MBEDTLS_CIPHERSUITE_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 is not needed or used in tests so it only increases the overall image size. For the few tests verifying the certificate validation, it's enough to enable X509 certificate parsing and a few dependencies. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> (cherry picked from commit 9f299be)
Specify what cipher suite to use for TLS/DTLS at runtime for consistent results. Otherwise, in case additional mbed TLS features are enabled (for instance with TFM enabled), different cipher suite may be chosen for TLS/DTLS by mbed TLS, affecting the tests outcome. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> (cherry picked from commit 9a2b669)
fc66327 to
04b2fd7
Compare
NordicBuilder
added a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
May 5, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#4028 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
NordicBuilder
added a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
May 5, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#4028 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
rlubos
pushed a commit
to nrfconnect/sdk-nrf
that referenced
this pull request
May 5, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-zephyr#4028 Signed-off-by: Nordic Builder <pylon@nordicsemi.no>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update TLS tests configuration and runtime socket configuration to improve tests reliability regardless of platform used:
Ref: NCSDK-39085