SuccessChanges

Summary

  1. [CI] Randomize RPCService's port and handle NoSuchProcess error properly (commit: 6466d7d2b26141c7f28a4bc447618044b6256341) (details)
Commit 6466d7d2b26141c7f28a4bc447618044b6256341 by noreply
[CI] Randomize RPCService's port and handle NoSuchProcess error properly
(#690)
* [CI] Randomize RPCService's port in test_container_rpc.sh
We should avoid the port collisions between test cases as much as
possible.
shows the port collision to us.

* Fix my mistake

* Handle psutil.NoSuchProcess error properly
Current Jenkins CI shows the following errors to us.
```
[unittest_rpc_container] Traceback (most recent call last):
[unittest_rpc_container] File ../python/rpc_test_container.py, line 1,
in <module>
[unittest_rpc_container] import rpc
[unittest_rpc_container] File /clipper/containers/python/rpc.py, line
20, in <module>
[unittest_rpc_container] import clipper_admin.metrics as metrics
[unittest_rpc_container] File
/clipper/clipper_admin/clipper_admin/metrics/__init__.py, line 6, in
<module>
[unittest_rpc_container] if not server.redis_daemon_exist():
[unittest_rpc_container] File
/clipper/clipper_admin/clipper_admin/metrics/server.py, line 134, in
redis_daemon_exist
[unittest_rpc_container] process_names = [psutil.Process(pid).name() for
pid in pids]
[unittest_rpc_container] File
/usr/local/lib/python2.7/dist-packages/psutil/__init__.py, line 338, in
__init__
[unittest_rpc_container] self._init(pid)
[unittest_rpc_container] File
/usr/local/lib/python2.7/dist-packages/psutil/__init__.py, line 378, in
_init
[unittest_rpc_container] raise NoSuchProcess(pid, None, msg)
[unittest_rpc_container] psutil._exceptions.NoSuchProcess:
psutil.NoSuchProcess no process found with pid 162
```

* Fix location
(commit: 6466d7d2b26141c7f28a4bc447618044b6256341)
The file was modifiedclipper_admin/clipper_admin/metrics/server.py (diff)
The file was modifiedcontainers/test/test_container_rpc.sh (diff)