The tests are run by assigning random ports in method TestUtils.getRandomPort. It looks like the ports conflict once in a while.
Kafka had similar issue https://issues.apache.org/jira/browse/KAFKA-1501 and they discourage use of this method for assigning random ports in tests.