-
Notifications
You must be signed in to change notification settings - Fork 3k
Testing: Fix multihoming test compilation issues #12731
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
Testing: Fix multihoming test compilation issues #12731
Conversation
TEST_ASSERT_EQUAL compares int values and converting SocketAddress as int is not supported.
@kivaisan Thanks for fixing this quickly. Is this breakage also present in the latest nightly? |
Answer to my question - I realized I was looking earlier today at the logs and saw it
|
CI started |
Thanks for fix. IAR's library has a bug in its array-type unique_ptr - it's got a missing That TEST_ASSERT_EQUAL thing was a great example of why SocketAddress shouldn't have had a non-explicit It compiled, but didn't do what you wanted; it converted each address to bool and compared the bools, not the addresses. |
Test run: FAILEDSummary: 2 of 6 test jobs failed Failed test jobs:
|
@kjbracey-arm @0xc0170 I removed it from this PR and added multihoming trace build fix. |
This is a workaround for IAR library bug.
IAR compilation issue now also fixed. This is now ready for review & CI. |
CI started |
Test run: FAILEDSummary: 1 of 6 test jobs failed Failed test jobs:
|
Note we should be applying these changes to the 5.15 branch too, as that's where we'll continue to support the Ublox ODIN platform. |
No necessarily:
|
@0xc0170 NUCLEO_F429ZI GCC_ARM tests-netsocket-tls failure looks like a random start up failure. Could you just restart the CI? |
Test run: FAILEDSummary: 3 of 3 test jobs failed Failed test jobs:
|
CI restarted, will clean lts test (not the one for this PR) |
Test run: SUCCESSSummary: 6 of 6 test jobs passed |
Summary of changes
Fix multihoming test compilation issues.
_ip_address.reset()
compilation problem with IAR.Fixes #12720
Impact of changes
Migration actions required
Documentation
None
Pull request type
Test results
Reviewers