|
From: Adam M. <mi...@ob...> - 2018-11-26 21:59:11
|
Hi Martin, On 11/26/2018 11:33 AM, Martin Frollo wrote: > I tried to do bench tests included with OpenDDS-3.13 I followed > instruction on bench tests website and I was only able to run latency > tests with rtps transport. When I try to do latency tests with udp > transport I get (I have edited local_address in transport-udp.ini): > [...] > (1426|140163217159616) Subscription::enable() - subscription s1: > obtained udp transport with config 1. > (1426|140163217159616) Subscription::enable() - subscription s1: > attached transport with config 1 to subscriber. > (1426|140163217159616) ERROR: TransportClient::enable_transport No > TransportImpl could be created. > (1426|140163217159616) ERROR: DataReaderImpl::enable, Transport Exception. > (1426|140163217159616) WARNING: SubscriberImpl::create_datareader, > enable failed. > (1426|140163217159616) Subscription::enable() - subscription s1: > failed to create reader. > (1426|140163217159616) testprocess() - Test exception caught during > processing: BadReader. > Terminated test process. > ERROR: Test returned 1 > test FAILED. I'm not sure why the transport failed to initialize here. If you run with DCPSTransportDebugLevel set to 6, the detailed logging in the transport libraries will probably give us a better idea of where it's failing. > When I try to run test with tcp I get same error message on both sides > of test: > (3213|139864478365120) Process::run() - waiting for 1 subscriptions to > attach to publications. > (3213|139864334923520) ERROR: Unable to send address string length to > the passive side to complete the active connection establishment. > (3213|139864334923520) ERROR: Failed to make active connection. > (3213|139863923877632) WARNING: Problem with data link detected: > receive_bytes: Transport endpoint is not connected. > (3213|139864334923520) TcpTransport::connect_datalink error No such > file or directory. > (3213|139863892141824) ERROR: Unable to send address string length to > the passive side to complete the active connection establishment. > (3213|139863892141824) ERROR: Unable to send address string length to > the passive side to complete the active connection establishment. > (3213|139863892141824) ERROR: Unable to send address string length to > the passive side to complete the active connection establishment. > (3213|139863892141824) we tried and failed to re-establish connection > on transport: t1 to 0.0.0.0:0 <http://0.0.0.0:0>. > > Could you help me and give some advice how to solve this errors and > establish connection with udp and tcp transport? Start with tests/DCPS/Messenger. It's very flexible and, based on the arguments provided to the Perl script, you can select a representative configuration that you'd like to test. For the simplest setup, the hosts should be able to use their own hostnames and peer hostnames. That is, the network should have working DNS (or some form of name resolution). When the participants coordinate over InfoRepo discovery (which is used by the Bench tests) they default to using hostnames and not IP addresses. Thanks, Adam Mitz Principal Software Engineer Object Computing, Inc. |