-
Notifications
You must be signed in to change notification settings - Fork 9
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
init_monitor for eProsima Fast DDS Discovery Server networks #103
Conversation
Codecov Report
@@ Coverage Diff @@
## main #103 +/- ##
==========================================
- Coverage 58.89% 58.75% -0.14%
==========================================
Files 31 31
Lines 4111 4141 +30
Branches 2172 2193 +21
==========================================
+ Hits 2421 2433 +12
Misses 50 50
- Partials 1640 1658 +18
Continue to review full report at Codecov.
|
40a90a2
to
a23dcf6
Compare
a23dcf6
to
29dcbf2
Compare
29dcbf2
to
8d00e1a
Compare
8d00e1a
to
9dd7bb9
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 of the bugs found when testing this functionality with the Fast DDS Monitor are:
-
When initialising a Discovery Server monitor, the domain name assigned is the GUID of the server. This causes that when trying to initialize a second monitor with the same GUID as the first one and different locators the backend throws the following exception:
Bad Parameter initializing monitor A Domain with name '44.53.01.5f.45.50.52.4f.53.49.4d.41' already exists in the database
-
Neither the server nor the clients report statistics data despite having the
FASTDDS_STATISTICS
environment variable set correctly. -
When a client is launched with all the statistics topics active, the server throws the following error trace:
2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.1.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.2.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.4.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.8.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.10.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.20.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.80.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.1.0.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.2.0.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.4.0.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.8.0.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.40.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.80.0.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.10.0.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.20.0.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.40.0.62 -> Function update 2021-07-14 12:09:54.648 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.1.0.0.62 -> Function update 2021-07-14 12:10:12.456 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.1.0.62 -> Function update 2021-07-14 12:10:12.457 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.8.0.62 -> Function update 2021-07-14 12:10:12.457 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.40.0.62 -> Function update 2021-07-14 12:10:12.457 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.20.0.62 -> Function update 2021-07-14 12:10:12.457 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.4.0.62 -> Function update 2021-07-14 12:10:12.457 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.80.62 -> Function update 2021-07-14 12:10:12.457 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.1.62 -> Function update 2021-07-14 12:10:12.457 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.2.0.62 -> Function update 2021-07-14 12:10:12.457 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.2.62 -> Function update 2021-07-14 12:10:12.457 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.10.0.62 -> Function update 2021-07-14 12:10:12.457 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.1.0.0.62 -> Function update 2021-07-14 12:10:12.457 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.4.62 -> Function update 2021-07-14 12:10:12.457 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.40.62 -> Function update 2021-07-14 12:10:12.458 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.20.62 -> Function update 2021-07-14 12:10:12.458 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.10.62 -> Function update 2021-07-14 12:10:12.458 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.80.0.62 -> Function update 2021-07-14 12:10:12.458 [DISCOVERY_DATABASE Error] Change is not a DATA(w|Uw|r|Ur): 1.f.8.48.80.4f.90.75.1.0.0.0.0.0.8.62 -> Function update
This does not occur when statistics are disabled on clients. This might come from the Discovery Server, in Fast DDS, but I'll leave it here to keep it in mind.
9dd7bb9
to
05a53b4
Compare
…meter Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
…methods Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
…very server testing Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
05a53b4
to
bd93006
Compare
This PR implements and tests
init_monitor
overloads to start monitoring a Discovery Server network. The PR has added a new overload ofinit_monitor
to provide the ServerguidPrefix
. If not provided, the defaultguidPrefix
set in Fast DDS is used.A future blackbox test where a couple of Discovery Servers networks are launched and then monitored is needed. This is put on hold until the first blackbox is merged, and we can build upon that.