I found two bind exceptions causing the unit tests fails in history Jenkins buildings. One is test TestRenameWhileOpen, the other one is TestPendingInvalidateBlock.
Here are the stack infos of TestRenameWhileOpen(I can't find the stack infos of TestPendingInvalidateBlock now since the time of that happened is too early, but I'm sure it has failed due to bind exception.)
Here specifying the namenode port is not necessary, is similar to
HDFS-11129. And I have run this test many times in my local, it all passed. This JIRA we are focusing on fix the bind exception threw in TestRenameWhileOpen.