Re: [zeromq-dev] Udp on Travis errors?
On 16-07-2020 11:16, Arnaud Loonstra wrote: On 16-07-2020 10:56, Luca Boccassi wrote: On Thu, 2020-07-16 at 10:33 +0200, Arnaud Loonstra wrote: [snip] 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. Thanks for that Luca, documentation about this on travis is scarce. I found the is_ipv6_available method in libzmq. I'll see if I can use that in czmq. On ipv6 there is no broadcast, only multicast. As there's not much to find on this it could be the case that it should just work and so I'm doing something wrong perhaps. Rg, Arnaud It seems this is an issue with Travis. The ipv4 tests work fine. Ipv6 is broken or not supported at all. Only on some LXD containers with specific architectures: https://docs.travis-ci.com/user/reference/overview/ I'm going to try Appveyor. Rg, Arnaud ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq-dev
Re: [zeromq-dev] Udp on Travis errors?
On 16-07-2020 10:56, Luca Boccassi wrote: 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. Thanks for that Luca, documentation about this on travis is scarce. I found the is_ipv6_available method in libzmq. I'll see if I can use that in czmq. On ipv6 there is no broadcast, only multicast. As there's not much to find on this it could be the case that it should just work and so I'm doing something wrong perhaps. Rg, Arnaud ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq-dev
Re: [zeromq-dev] Udp on Travis errors?
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 signature.asc Description: This is a digitally signed message part ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq-dev
[zeromq-dev] Udp on Travis errors?
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 ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org https://lists.zeromq.org/mailman/listinfo/zeromq-dev