-
Notifications
You must be signed in to change notification settings - Fork 2k
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/gnrc_ndp: enhance coverage #10987
Conversation
The test results with
And the test output for
|
For both it is the output expected as per the testing procedures. So do you ACK? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good, I followed the test procedure and got the output expected. ACK!
make -C tests/gnrc_ndp/ BOARD=samr21-xpro test
make: Entering directory '/home/francisco/workspace/RIOT/tests/gnrc_ndp'
/home/francisco/workspace/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "115200"
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2019-08-09 11:08:26,937 - INFO # Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
2019-08-09 11:08:30,028 - INFO # main(): This is RIOT! (Version: 2019.04-devel-159-g9fa22-pr-10987)
2019-08-09 11:08:30,034 - INFO # .........................option failed
2019-08-09 11:08:30,035 - INFO # .message failed
2019-08-09 11:08:30,036 - INFO # .IPv6 failed
2019-08-09 11:08:30,038 - INFO # .netif failed
2019-08-09 11:08:30,043 - INFO # .................option failed
2019-08-09 11:08:30,045 - INFO # .message failed
2019-08-09 11:08:30,046 - INFO # .IPv6 failed
2019-08-09 11:08:30,048 - INFO # .netif failed
2019-08-09 11:08:30,050 - INFO # ....option failed
2019-08-09 11:08:30,051 - INFO # .message failed
2019-08-09 11:08:30,054 - INFO # .IPv6 failed
2019-08-09 11:08:30,055 - INFO # .netif failed
2019-08-09 11:08:30,060 - INFO # .................option failed
2019-08-09 11:08:30,061 - INFO # .message failed
2019-08-09 11:08:30,062 - INFO # .IPv6 failed
2019-08-09 11:08:30,063 - INFO # .netif failed
2019-08-09 11:08:30,064 - INFO #
2019-08-09 11:08:30,065 - INFO # OK (75 tests)
@miri64 apparently with the changes the test doesn't fit in ROM for |
I'll wait until Murdock passed, in case more boards require to be added. |
Sorry, GitHub did not update, so I only saw now, that it is already done ^^" |
Updated |
9fa22de
to
c7e8153
Compare
@miri64 needs rebasing, the |
What's up with GH today, not updating the page??!? |
c7e8153
to
0bfef4c
Compare
Not only that: The test was touched in #10532 and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still getting the same output, re-ACK!
make -C tests/gnrc_ndp/ BOARD=samr21-xpro test
make: Entering directory '/home/francisco/workspace/RIOT/tests/gnrc_ndp'
/home/francisco/workspace/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "115200"
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2019-08-09 12:02:39,709 - INFO # Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
2019-08-09 12:02:42,781 - INFO # main(): This is RIOT! (Version: 2019.10-devel-352-g0bfef-pr-10987)
2019-08-09 12:02:42,787 - INFO # .........................option failed
2019-08-09 12:02:42,788 - INFO # .message failed
2019-08-09 12:02:42,789 - INFO # .IPv6 failed
2019-08-09 12:02:42,791 - INFO # .netif failed
2019-08-09 12:02:42,797 - INFO # .................option failed
2019-08-09 12:02:42,798 - INFO # .message failed
2019-08-09 12:02:42,799 - INFO # .IPv6 failed
2019-08-09 12:02:42,801 - INFO # .netif failed
2019-08-09 12:02:42,803 - INFO # ....option failed
2019-08-09 12:02:42,804 - INFO # .message failed
2019-08-09 12:02:42,806 - INFO # .IPv6 failed
2019-08-09 12:02:42,807 - INFO # .netif failed
2019-08-09 12:02:42,813 - INFO # .................option failed
2019-08-09 12:02:42,814 - INFO # .message failed
2019-08-09 12:02:42,815 - INFO # .IPv6 failed
2019-08-09 12:02:42,817 - INFO # .netif failed
2019-08-09 12:02:42,818 - INFO #
2019-08-09 12:02:42,819 - INFO # OK (75 tests)
All green go! |
Contribution description
To ensure that the bug I was trying to fix in #10985 wasn't actually caused by the
gnrc_ndp
sending functions I enhanced the module's test coverage.Testing procedure
To make sure the coverage is actually enhanced I applied the following patch
The test should then show something like
4 times with varying numbers periods in-between with this PR, without it it probably won't show up at all (I did not test this case). I tested the first case on
native
,samr21-xpro
, andiotlab-m3
Issues/PRs references
Ensurance that #10985 was the right hunch for the leak we've seen.