Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.10.0
-
Fix Version/s: 1.10.3
-
Component/s: Provisioning/Discovery/Capsd/Provisiond
-
Security Level: Default (Default Security Scheme)
-
Labels:
Description
While investigating the issues from NMS-4846, I am seeing VERY intermittent problems inside the AsyncDetectorFileDescriptorLeakTest where it occasionally gets an UnknownHostException when trying to bind to localhost. This problem only occurs about once every 20,000 times on my Fedora Linux VMware image. This causes the isServiceDetected() method to return a false negative. I think that the solution is to use our InetAddressUtils util functions to return a localhost InetAddress without throwing any exceptions.
Issue Links
- blocks
-
NMS-4846
Provisiond leaks file handles, eventually causing "Too many open files" crashes
-
Here is what the logs look like for the unit test when this occurs.