-
Notifications
You must be signed in to change notification settings - Fork 21
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
11-lorawan: add RIOTCtrl tests for GNRC LoRaWAN #201
Conversation
This commit injects some LoRaWAN secrets into `tox` in order to avoid exposing LoRaWAN keys when running RIOT-OS/Release-Specs#201
8540fd5
to
df089ae
Compare
since RIOT-OS/RIOT#15774 got merged, this one can be merged after the Hard Feature Freeze, since it won't affect the RIOT repo |
well, now with RIOT-OS/RIOT#15775 I can get rid of the hardcoded parameters here :) |
The drawback is that these won't run automatically in RC1 then. |
I'm already on it. Let's see if we sneak it in ;) |
b47994f
to
fa49ec7
Compare
I implemented and amended directly both suggestions:
|
fa49ec7
to
84b731c
Compare
Huh??! the self tests are not executed, I just realised oO |
Ah, #200 fixes it. |
Please rebase to include #200. |
84b731c
to
73b9c8c
Compare
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.
Some non-compulsory improvement suggestions.
I will create the release branch now. For some reason LORAWAN_NWK_SKEY is not picked up (see https://github.com/RIOT-OS/RIOT/runs/1705350413?check_suite_focus=true). Anyway, we can still run this test from our local setup. If we make it run, in worst case we create an RC2. |
should I squash? :) |
Yes please :-) |
Still needs tests for the new functionality added to |
Then maybe they just didn't show up on github? And so I though there where none? |
I'm also OK, if your test are passing let's just keep those |
But that's weird because I fetched the branch just an hour ago... |
Well... then I do not understand what happened... |
But sorry for overstepping then. |
No problem! I think it was a GH issue. I will simply squash then |
17a0cb1
to
383ac0e
Compare
done! |
@jia200x do we need to set environment variables for the GitHub actions to lunch this properly? |
@jia200x do you think you could setup a README for this as well? For what needs to be setup for me to run this locally? |
I pushed some commits that depend on #216. Using the new .devdata.env file:
RIOTBASE and friends are read now from the env file. |
Either you did not push, or github is acting funny again. |
Won't we need to change the gitub actions with this? |
I think GH is acting funny again :(
|
We shouldn't, since GH actions doesn't pass the environment variables using this file |
This commit injects some LoRaWAN secrets into `tox` in order to avoid exposing LoRaWAN keys when running RIOT-OS/Release-Specs#201
Contribution description
This PR adds the RIOTCtrl counterpart for #199. This test is using a TTN account and MQTT in order to check uplink and downlink messages, besides activations from the Network Server.
I plan to migrate the existing semtech LoRaMAC tests as soon as possible in order to also use these mechanisms, but I gave priority to GNRC LoRaWAN because it had no autotests.
Test procedure
Check github workflow output
Related issues/PRs
#199