Describe the bug A clear and concise description of what the bug is.
cli-ftd-otns GitHub Action is failing in master
To Reproduce Information to reproduce the behavior, including:
Expected behavior A clear and concise description of what you expected to happen.
cli-ftd-otns GitHub Action passes.
Console/log output If applicable, add console/log output to help explain your problem.
https://github.com/openthread/openthread/runs/824271448
Additional context Add any other context about the problem here.
Started failing after merging #5155
Looking into this
Looking into this
Thanks, @ctan-g !
@jwhui I found that the cause is my OT_TOOL_WEAK definition of otPlatOtnsStatus in otns.cpp isn't properly being overridden by the strong one in otns.c during linking when building the simulation images. Do you happen to know why this is happening?
I wonder how did we pass the GitHub action checks.
Turn out cli-ftd-otns GitHub action is not using the current openthread commit of the PR, but always using openthread master for checking. This was the reason why cli-ftd-otns check passed.
Most helpful comment
Turn out
cli-ftd-otnsGitHub action is not using the current openthread commit of the PR, but always using openthread master for checking. This was the reason whycli-ftd-otnscheck passed.