adjacentlink / opentestpoint

High performance distributed data collection framework
Other
4 stars 5 forks source link

Communication Timeout while Creating Python Probes #11

Open roymatchuu opened 2 years ago

roymatchuu commented 2 years ago

Hello, I am having trouble getting opentestpoint probes to work with EMANE v1.2.5. Everytime I run Demo 1, the following errors are logged onto the otestpointd.log in the persist directory.

13:57:36.249869 ERROR [otestpointd/node-1/0/container] communication timeout while creating python probe otestpoint.emane.physicallayer.PhysicalLayer
13:57:51.300987 ERROR [otestpointd/node-1/1/container] communication timeout while creating python probe otestpoint.emane.rfpipe.RFPipe
13:58:06.354592 ERROR [otestpointd/node-1/2/container] communication timeout while creating python probe otestpoint.emane.virtualtransport.VirtualTransport

Other than the probes, the demo runs great and follows the expected activity seen through the OLSR Link Viewer. I am running and building EMANE on a RHEL 8 machine using Python3. I am under the impression that these same probes are what the EMANE Spectrum Tools use. What are some ways to go about solving this problem? Thanks!

sgalgano commented 2 years ago

It might be a timing issue. You can try sshing to one of the lxc container nodes and starting otestpointd manually after it fails. If that works, you can add a delay in demo-init.

EMANE spectrum tools does not use otestpoint. You can find an example in letce2-tutorial exp-04.