deflake NetdBinderTest#SocketDestroyLinkLocal

by adding 'nodad' to interfaceAddAddress and slowing things down even
a little bit more by adding ips to two more tun devices.

(while at it print our errno in a lot more failure locations,
 to ease future debugging of any flakes/failures)

(also close sockets at the end of the test to prevent fd/socket leaks)

'nodad' (ie. adding the ~) by itself gets flake rate down from 15 in 100
to ~1 in 100.  The extra tun3/tun4 ip addition get flake rate down to ~0.1%.

Test: TreeHugger, atest --iterations 10 NetdBinderTest, atest --iterations 1000 'NetdBinderTest#SocketDestroyLinkLocal'
Bug: 242067762
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ic31a78989a4dc2c216a6b3cc44e473eaf093ea97
1 file changed
tree: 897f8c683336cd64583c8cb2c67d28393e0b3df1
  1. client/
  2. include/
  3. netutils_wrappers/
  4. server/
  5. tests/
  6. .editorconfig
  7. Android.bp
  8. NOTICE
  9. OWNERS
  10. PREUPLOAD.cfg
  11. TEST_MAPPING