python3 -u test.py RUN ./ol new -p=test-cluster Init OL dir at /root/open-lambda/test-cluster Create lambda base at /root/open-lambda/test-cluster/lambda (may take several minutes) Working Directory: /root/open-lambda/test-cluster Worker Defaults: { "registry": "/root/open-lambda/test-cluster/registry", "registry_cache_ms": 5000, "sandbox": "sock", "cluster_name": "/root/open-lambda/test-cluster", "pip_mirror": "", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "max_runners": 0, "handler_cache_mb": 239, "import_cache_mb": 239, "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "Skip_pull_existing": false, "sandbox_config": { "processes": 10 }, "benchmark_log": "", "timing": false, "startup_pkgs": null, "docker_runtime": "", "sock_cgroups": { "max_procs": 10 } } You may modify the defaults here: /root/open-lambda/test-cluster/config.json You may now start a server using the "ol worker" command PUSH conf: {'registry': '/root/open-lambda/test-registry', 'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson']} PUSH conf: {'handler_cache_mb': 0, 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7301, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7301 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 3.528007984161377, "total_seconds": 18.755508184432983, "stats": null, "conf": { "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "registry": "/root/open-lambda/test-registry", "server_mode": "lambda", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "import_cache_mb": 0, "Skip_pull_existing": false, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "pip_mirror": "", "max_runners": 0, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 0, "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "timing": false, "worker_port": "5000" }, "exception": null, "worker_tail": [ "2019/06/17 21:42:46 remove /sys/fs/cgroup/cpu/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:46 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:46 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:46 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:46 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:46 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:46 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:46 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:46 exiting", "" ] } POP conf: {'handler_cache_mb': 0, 'import_cache_mb': 0} PUSH conf: {'handler_cache_mb': 256, 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7394, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7394 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.8797645568847656, "total_seconds": 9.751532793045044, "stats": null, "conf": { "timing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sandbox": "sock", "sock_cgroups": { "max_procs": 10 }, "registry": "/root/open-lambda/test-registry", "server_mode": "lambda", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "Skip_pull_existing": false, "import_cache_mb": 0, "pip_mirror": "", "max_runners": 0, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "worker_port": "5000" }, "exception": null, "worker_tail": [ "2019/06/17 21:42:55 remove /sys/fs/cgroup/cpu/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:55 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:55 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:55 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:55 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:55 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:55 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:55 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 21:42:55 exiting", "" ] } POP conf: {'handler_cache_mb': 256, 'import_cache_mb': 0} PUSH conf: {'handler_cache_mb': 0, 'import_cache_mb': 256} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7474, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7474 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 0.7764835357666016, "total_seconds": 8.841599941253662, "stats": null, "conf": { "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "registry": "/root/open-lambda/test-registry", "server_mode": "lambda", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "import_cache_mb": 256, "Skip_pull_existing": false, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "pip_mirror": "", "max_runners": 0, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 0, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000" }, "exception": null, "worker_tail": [ "2019/06/17 21:43:04 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:04 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:04 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:04 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:04 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:04 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:04 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:04 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:04 exiting", "" ] } POP conf: {'handler_cache_mb': 0, 'import_cache_mb': 256} PUSH conf: {'handler_cache_mb': 256, 'import_cache_mb': 256} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7566, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7566 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 0.7651011943817139, "total_seconds": 8.72403073310852, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sandbox": "sock", "sock_cgroups": { "max_procs": 10 }, "registry": "/root/open-lambda/test-registry", "server_mode": "lambda", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "Skip_pull_existing": false, "import_cache_mb": 256, "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 256, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "worker_port": "5000" }, "exception": null, "worker_tail": [ "2019/06/17 21:43:13 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:13 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:13 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:13 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:13 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:13 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:13 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:13 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:13 exiting", "" ] } POP conf: {'handler_cache_mb': 256, 'import_cache_mb': 256} PUSH conf: {'handler_cache_mb': 0, 'import_cache_mb': 0, 'sandbox': 'docker'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7658, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7658 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 7.3138086795806885, "total_seconds": 15.16689682006836, "stats": null, "conf": { "sandbox": "docker", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "registry": "/root/open-lambda/test-registry", "server_mode": "lambda", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "Skip_pull_existing": false, "import_cache_mb": 0, "pip_mirror": "", "max_runners": 0, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 0, "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "timing": false, "worker_port": "5000" }, "exception": null, "worker_tail": [ "2019/06/17 21:43:25 EVICTING INSTANCE: 30797824 used / 0 limit", "2019/06/17 21:43:25 Receive request to /run/install", "2019/06/17 21:43:26 EVICTING INSTANCE: 24944640 used / 0 limit", "2019/06/17 21:43:26 Receive request to /run/install2", "2019/06/17 21:43:27 EVICTING INSTANCE: 22831104 used / 0 limit", "2019/06/17 21:43:27 Receive request to /run/install3", "2019/06/17 21:43:28 EVICTING INSTANCE: 22827008 used / 0 limit", "2019/06/17 21:43:28 received kill signal, cleaning up", "2019/06/17 21:43:28 exiting", "" ] } POP conf: {'handler_cache_mb': 0, 'import_cache_mb': 0, 'sandbox': 'docker'} PUSH conf: {'handler_cache_mb': 256, 'import_cache_mb': 0, 'sandbox': 'docker'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=8691, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 8691 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 3.4867894649505615, "total_seconds": 12.243544816970825, "stats": null, "conf": { "timing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sandbox": "docker", "sock_cgroups": { "max_procs": 10 }, "registry": "/root/open-lambda/test-registry", "server_mode": "lambda", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "import_cache_mb": 0, "Skip_pull_existing": false, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "pip_mirror": "", "max_runners": 0, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "worker_port": "5000" }, "exception": null, "worker_tail": [ "2019/06/17 21:43:36 Execute handler by POSTing to localhost:5000/run/", "2019/06/17 21:43:36 Get status by sending request to localhost:5000/status", "2019/06/17 21:43:36 Receive request to /pid", "2019/06/17 21:43:36 Receive request to /run/echo", "2019/06/17 21:43:36 Receive request to /run/install", "2019/06/17 21:43:37 Receive request to /run/install2", "2019/06/17 21:43:38 Receive request to /run/install3", "2019/06/17 21:43:39 received kill signal, cleaning up", "2019/06/17 21:43:40 exiting", "" ] } POP conf: {'handler_cache_mb': 256, 'import_cache_mb': 0, 'sandbox': 'docker'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9740, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9740 { "test": "fork_bomb", "params": {}, "pass": true, "seconds": 0.03744244575500488, "total_seconds": 8.297893524169922, "stats": null, "conf": { "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "registry": "/root/open-lambda/test-registry", "server_mode": "lambda", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "Skip_pull_existing": false, "import_cache_mb": 239, "pip_mirror": "", "max_runners": 0, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 239, "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "timing": false, "worker_port": "5000" }, "exception": null, "worker_tail": [ "2019/06/17 21:43:49 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:49 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:49 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:49 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:49 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:49 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:49 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:49 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:43:49 exiting", "" ] } POP conf: {'registry': '/root/open-lambda/test-registry', 'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson']} PUSH conf: {'registry': '/root/open-lambda/test-registry', 'handler_cache_mb': 256, 'import_cache_mb': 256, 'sandbox': 'sock'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9817, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9817 { "test": "stress_one_lambda", "params": { "procs": 1, "seconds": 15 }, "pass": true, "seconds": 15.01670527458191, "total_seconds": 15.342723608016968, "stats": { "reqs_per_sec": 283.73333333333335 }, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sandbox": "sock", "sock_cgroups": { "max_procs": 10 }, "registry": "/root/open-lambda/test-registry", "server_mode": "lambda", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "import_cache_mb": 256, "Skip_pull_existing": false, "startup_pkgs": null, "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 256, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "worker_port": "5000" }, "exception": null, "worker_tail": [ "2019/06/17 21:44:04 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:04 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:04 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:04 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:04 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:04 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:04 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:04 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:04 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9860, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9860 { "test": "stress_one_lambda", "params": { "procs": 2, "seconds": 15 }, "pass": true, "seconds": 15.047205209732056, "total_seconds": 15.378853559494019, "stats": { "reqs_per_sec": 280.53333333333336 }, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sandbox": "sock", "sock_cgroups": { "max_procs": 10 }, "registry": "/root/open-lambda/test-registry", "server_mode": "lambda", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "import_cache_mb": 256, "Skip_pull_existing": false, "startup_pkgs": null, "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 256, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "worker_port": "5000" }, "exception": null, "worker_tail": [ "2019/06/17 21:44:19 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:19 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:19 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:19 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:19 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:19 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:19 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:19 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:19 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9909, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9909 { "test": "stress_one_lambda", "params": { "procs": 8, "seconds": 15 }, "pass": true, "seconds": 15.073637247085571, "total_seconds": 15.415838718414307, "stats": { "reqs_per_sec": 252.2 }, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sandbox": "sock", "sock_cgroups": { "max_procs": 10 }, "registry": "/root/open-lambda/test-registry", "server_mode": "lambda", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "import_cache_mb": 256, "Skip_pull_existing": false, "startup_pkgs": null, "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 256, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "worker_port": "5000" }, "exception": null, "worker_tail": [ "2019/06/17 21:44:35 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:35 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:35 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:35 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:35 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:35 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:35 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:35 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:35 exiting", "" ] } POP conf: {'registry': '/root/open-lambda/test-registry', 'handler_cache_mb': 256, 'import_cache_mb': 256, 'sandbox': 'sock'} PUSH conf: {'handler_cache_mb': 256, 'import_cache_mb': 256, 'sandbox': 'sock'} PUSH conf: {'registry': '/tmp/tmp47cn59l0'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=10002, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 10002 { "test": "call_each_once_exec", "params": { "alloc_mb": 1, "lambda_count": 100 }, "pass": true, "seconds": 2.9104747772216797, "total_seconds": 3.601361036300659, "stats": { "reqs_per_sec": 34.35901006693541 }, "conf": { "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "registry": "/tmp/tmp47cn59l0", "server_mode": "lambda", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "import_cache_mb": 256, "Skip_pull_existing": false, "startup_pkgs": null, "pip_mirror": "", "max_runners": 0, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 256, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000" }, "exception": null, "worker_tail": [ "2019/06/17 21:44:38 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:38 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:38 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:38 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:38 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:38 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:38 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:38 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:44:38 exiting", "" ] } POP conf: {'registry': '/tmp/tmp47cn59l0'} PUSH conf: {'registry': '/tmp/tmp309r5rg9'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=10732, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 10732 { "test": "call_each_once_exec", "params": { "alloc_mb": 10, "lambda_count": 1000 }, "pass": true, "seconds": 42.48201131820679, "total_seconds": 44.12936615943909, "stats": { "reqs_per_sec": 23.539391891372762 }, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sandbox": "sock", "sock_cgroups": { "max_procs": 10 }, "registry": "/tmp/tmp309r5rg9", "server_mode": "lambda", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": null, "Skip_pull_existing": false, "import_cache_mb": 256, "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 256, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "worker_port": "5000" }, "exception": null, "worker_tail": [ "2019/06/17 21:45:23 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:45:23 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:45:23 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:45:23 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:45:23 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:45:23 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:45:23 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:45:23 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 21:45:23 exiting", "" ] } POP conf: {'registry': '/tmp/tmp309r5rg9'} POP conf: {'handler_cache_mb': 256, 'import_cache_mb': 256, 'sandbox': 'sock'} PASSED: 12, FAILED: 0