Closed felix-walter closed 11 months ago
Thanks for finding this issue and the detailed error report! The issue should be fixed in the most recent commit (https://github.com/dtn7/dtn7-rs/commit/f6b0e9152b88d041dc1b84c379fe26b9ffc59ef4)
If the issue persists please reopen the ticket.
I'm also very interested in the results of your interop tests :)
Thank you for the quick fix!
Regarding the interop tests, all in all, it works very well - we can exchange BPv7 bundles via MTCP, independently of whether we create the bundles in DTN7 or uD3TN.
Hi! We just stumbled over an issue with starting DTN7 while building an interoperability test against µD3TN: Starting DTN7 randomly fails [1,2] with:
We are starting
dtnd
via:dtnd --nodeid "node1" --routing "epidemic" --cla "mtcp" --endpoint "incoming" --config "/DTN7/config/example_config.toml"
with the config file/DTN7/config/example_config.toml
being:We tried to track down the issue and are suspecting the following:
main
callsDtnConfig::from
main
using the commandline argument),from
setsnodeid
to the result ofrnd_node_name()
is_valid_node_name
returnsfalse
if the first character is a number becausechars.next().unwrap().is_alphabetic()
isfalse
else
branch is triggered andnodeid.try_into().unwrap()
fails as documented above[1] Successful job: https://gitlab.com/d3tn/ud3tn/-/jobs/5586386733 [2] Failed job: https://gitlab.com/d3tn/ud3tn/-/jobs/5585311869