Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Failing to connect to mosquitto in GitHub/Travis tests

Hey Ian,

Thanks!  That fixed it. Well, a few new issues popped up, but at least I'm not stuck anymore.
I'll proceed with the Paho testing broker, at least for now. Maybe at some point, the Travis/mosquitto combination will work itself out.

Frank

On 10/10/19 3:42 AM, Ian Craggs wrote:

Hi Frank,

I don't know about any mosquitto issue as yet, but in the C and Java client tests I use the paho.mqtt.testing Python broker.  Just git install the repo,  change into the interoperability directory and then run 'python3 startbroker.py -c localhost_testing.conf'.  You can look at the C client Travis config to see the exact details, obviously.

Doesn't answer your question directly but might give you another option in the meantime.

Ian

On 09/10/2019 15:00, Frank Pagliughi wrote:
[cross-posted]

Hey All,

The unit tests for the Paho C++ library have been failing for the last week or more. The tests install mosquitto and use it to connect over localhost inside the container. Now I'm getting all connection failures:
!!!FAILURES!!!
Test Results:
Run: 224 Failures: 2 Errors: 55
1) test: mqtt::async_client_test::test_connect_0_arg (F) line: 178 /home/travis/build/eclipse/paho.mqtt.cpp/test/cppunit/async_client_test.h
forced failure
- Connection failure: MQTT error [-1]: TCP/TLS connect failure
2) test: mqtt::async_client_test::test_connect_1_arg (E)
uncaught exception of type mqtt::exception
- MQTT error [-1]: TCP/TLS connect failure
...
I tried re-submitting an old version that had passed, and it failed as well, so I don't think it's from any new code that I've added recently.

I have Travis running xenial and appears to be downloading and installing mosquitto 1.6.7.

Any ideas? I'm stumped.

Thanks,
Frank


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/paho-dev
-- 
Ian Craggs
icraggs@xxxxxxxxxx                 IBM United Kingdom
Eclipse Paho Project Lead & Mosquitto Committer

_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/paho-dev


Back to the top