[zeromq-dev] travis testing -- udp broadcasts and valgrind
wes at barely3am.com
Thu Sep 14 01:13:28 CEST 2017
those of you that have messed with travis and the zmq build infra-
i seem to be hitting the wall in testing udp-beacon stuff (zyre + curve) with the valgrind test. the default tests pass- but as soon as you load up the valgrind vm it comes to a screeching halt.
i finally threw an `ifconfig` into the ci_build.sh to figure out why i can send beacons, but they’re never recv’d (again, this all works on the default build via travis, locally, etc). and it appears that the valgrind build (which really is just adding sudo? maybe some more docker bits?) sets the eth0 broadcast to 255.255.255.255 instead of 255.255.0.0
has anyone else run into this with their travis+(c)zmq adventures? i need to do some more digging, but in the correct build there’s no docker adapter, but in the valgrind build there is-
based on the hostname strings, it almost looks like i’m either in a docker instance where i can do broadcasts (non-sudo) and when i’m using sudo- i’m outside the instance where broadcast is more locked down(?)
obvs i need to dig more into travis doc, curious if anyone has run into this- and if not, posting for posterity.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 203 bytes
Desc: Message signed with OpenPGP
More information about the zeromq-dev