[zeromq-dev] Udp on Travis errors?

Luca Boccassi bluca at debian.org
Thu Jul 16 10:56:56 CEST 2020

On Thu, 2020-07-16 at 10:33 +0200, Arnaud Loonstra wrote:
> Hey all,
> I think we have some issues with UDP on travis. For example the 
> zbeacon_ipv4_mcast_test is skipped because it can't open the UDP socket. 
> (sock == INVALID_SOCKET)
> On some occasions zbeacon also fails with:
> * zbeacon: D: (czmq_selftest) 20-07-16 08:00:20 zsys_udp_send: failed, 
> reason=Operation not permitted
> D: (czmq_selftest) 20-07-16 08:00:20 zbeacon: failed to transmit, 
> attempting reconnection. reason=Resource temporarily unavailable
> however the test still succeeds then. Somebody made this work apparently?
> Anyhow, I was working on a new zudp class which was on the czmq's todo 
> list. Although tests are working on my machine they don't on Travis.
> Anybody experience with travis and udp/ipv6?
> See the zudp branch here: 
> https://github.com/sphaero/czmq/blob/zudp/src/zudp.c#L394
> The failing travis here: 
> https://travis-ci.org/github/sphaero/czmq/jobs/708640774#L1895
> Feedback on the zudp class is also welcomed!
> Rg,
> Arnaud

I think the problem is broadcast, rather than UDP. UDP should work fine
on Travis. That test will just skip if broadcast is not available.

Regarding IPv6, only the very old images support it (check libzmq) - so
any test should check first if it works, and skip if not.

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20200716/dd1c6de7/attachment.sig>

More information about the zeromq-dev mailing list