-
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
conftest: Randomize default PAN_ID #300
Conversation
5923aea
to
96389a5
Compare
From a locally run test
|
Needs #301 for the CI fix |
96389a5
to
0bdd61f
Compare
Started testrun here https://github.com/RIOT-OS/RIOT/actions/runs/7724069733 |
there seems to be something wrong... see https://github.com/RIOT-OS/RIOT/actions/runs/7724069733/job/21055447922
conftest.py
Outdated
@@ -29,6 +30,7 @@ | |||
RIOTBASE = os.environ.get('RIOTBASE') | |||
RUNNING_CTRLS = [] | |||
RUNNING_EXPERIMENTS = [] | |||
DEFAULT_PAN_ID = format(random.randint(0, 0xFFFD), "x") |
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.
DEFAULT_PAN_ID = format(random.randint(0, 0xFFFD), "x") | |
DEFAULT_PAN_ID = f"0x{random.randint(0, 0xFFFD):x}" |
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.
or just use a decimal int.
0bdd61f
to
20e490f
Compare
wait wait wait. I think dec is cleanest. |
a6e585a
to
e2f9fb5
Compare
Let's see the results |
Should we run it once more completely or due we trust the selected results? |
lets do it completely. |
Due to some issues with other border routers running we should harden the tests against that by using a random PAN_ID.
e2f9fb5
to
abc6ed7
Compare
Maybe we should also make a mark for really slow (1 hour stress test) so that we don't timeout the action... |
The interop test between GNRC and lwIP fails. Is there some extra tweeking needed for lwIP :-/? |
From what I see in the code, the PAN ID should be set... I will have a look, once I have some boards or a more stable Internet connection if this is really the case. |
Nope, the needed |
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.
Thanks for looking after this! |
Due to some issues with other border routers running we should harden the tests against that by using a random PAN_ID.
See #299 for some info (it contains a train of references)