Closed RobertWCarey closed 3 years ago
Thanks for contacting us regarding this issue. From the logs provided, the test case is failing when try to connect to the TCP port 39367. The test case tagged with [source] is targeted to do sanity check for local proxy running in source mode. In this case, it will randomly select an available port and connect to it (act as your application on source device). Looks like it failed at the step trying to connect to this assigned port. Some questions to clarify:
Are you trying to run the local proxy in source mode on this device? If not, I suggest to only run the test cases with [destination] and [config] tags. Example command:
./localproxytest [destination]
More information can be found on Catch2 documentation.
If this device needs to have local proxy runs in source mode, can you check if the assigned port 39367 is available to use? You can also customize adapter_chosen_port to the ports you would like to use.
I doubled checked and we are only going to be running local proxy in destination mode so I will just leave the source mode for now.
I did check if the port was being used by anything else and it wasn't. I also tried changing to a different port but got the same result.
Thanks for your help.
I am trying to run the localproxytest on a iMX6ULL (ARM Cortex A7) chip. The [config] and [destination] tests appear to be passing but it ends up in an endless loop when
client_socket.connect(tcp::endpoint{boost::asio::ip::make_address(adapter_cfg.bind_address.get()), adapter_chosen_port} );
is called in AdapterTests.cpp line 236 for the [source] tests.It seems like it is trying to connect to a local websocket but is never able to? See the log below.
Note I also increased
IO_PAUSE_MS
to100
as I was having intermittent faults. See localproxytest fails intermittently?