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=7298, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7298 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 3.5277411937713623, "total_seconds": 18.86143159866333, "stats": null, "conf": { "max_runners": 0, "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "timing": false, "pip_mirror": "", "import_cache_mb": 0, "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "docker_runtime": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sock_cgroups": { "max_procs": 10 }, "handler_cache_mb": 0, "benchmark_log": "", "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/17 19:08:31 remove /sys/fs/cgroup/cpu/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:31 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:31 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:31 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:31 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:31 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:31 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:31 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:31 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=7390, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7390 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.7525599002838135, "total_seconds": 9.416377305984497, "stats": null, "conf": { "max_runners": 0, "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "cluster_name": "/root/open-lambda/test-cluster", "registry": "/root/open-lambda/test-registry", "timing": false, "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "docker_runtime": "", "sandbox_config": { "processes": 10 }, "registry_cache_ms": 5000, "sock_cgroups": { "max_procs": 10 }, "handler_cache_mb": 256, "benchmark_log": "", "Skip_pull_existing": false, "import_cache_mb": 0, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/17 19:08:40 remove /sys/fs/cgroup/cpu/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:40 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:40 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:40 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:40 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:40 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:40 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:40 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 19:08:40 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=7470, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7470 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 0.7612407207489014, "total_seconds": 8.625157356262207, "stats": null, "conf": { "max_runners": 0, "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "timing": false, "pip_mirror": "", "import_cache_mb": 256, "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "docker_runtime": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sock_cgroups": { "max_procs": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "Skip_pull_existing": false, "handler_cache_mb": 0, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/17 19:08:49 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:49 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:49 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:49 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:49 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:49 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:49 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:49 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:49 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=7563, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7563 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 0.728996753692627, "total_seconds": 8.595218896865845, "stats": null, "conf": { "max_runners": 0, "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "registry": "/root/open-lambda/test-registry", "timing": false, "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "docker_runtime": "", "sandbox_config": { "processes": 10 }, "registry_cache_ms": 5000, "sock_cgroups": { "max_procs": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "Skip_pull_existing": false, "import_cache_mb": 256, "handler_cache_mb": 256 }, "exception": null, "worker_tail": [ "2019/06/17 19:08:58 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:58 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:58 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:58 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:58 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:58 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:58 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:58 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:08:58 exiting", "" ] } POP conf: {'handler_cache_mb': 256, 'import_cache_mb': 256} PUSH conf: {'handler_cache_mb': 0, 'sandbox': 'docker', 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7655, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7655 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 7.095097780227661, "total_seconds": 14.845069408416748, "stats": null, "conf": { "max_runners": 0, "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "handler_cache_mb": 0, "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "timing": false, "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "docker", "docker_runtime": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sock_cgroups": { "max_procs": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "Skip_pull_existing": false, "import_cache_mb": 0, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/17 19:09:09 EVICTING INSTANCE: 30953472 used / 0 limit", "2019/06/17 19:09:09 Receive request to /run/install", "2019/06/17 19:09:11 EVICTING INSTANCE: 24862720 used / 0 limit", "2019/06/17 19:09:11 Receive request to /run/install2", "2019/06/17 19:09:11 EVICTING INSTANCE: 22904832 used / 0 limit", "2019/06/17 19:09:11 Receive request to /run/install3", "2019/06/17 19:09:12 EVICTING INSTANCE: 22831104 used / 0 limit", "2019/06/17 19:09:12 received kill signal, cleaning up", "2019/06/17 19:09:12 exiting", "" ] } POP conf: {'handler_cache_mb': 0, 'sandbox': 'docker', 'import_cache_mb': 0} PUSH conf: {'handler_cache_mb': 256, 'sandbox': 'docker', 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=8690, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 8690 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 3.269331216812134, "total_seconds": 11.62144684791565, "stats": null, "conf": { "max_runners": 0, "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "registry": "/root/open-lambda/test-registry", "timing": false, "pip_mirror": "", "import_cache_mb": 0, "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "docker", "docker_runtime": "", "sandbox_config": { "processes": 10 }, "registry_cache_ms": 5000, "sock_cgroups": { "max_procs": 10 }, "handler_cache_mb": 256, "benchmark_log": "", "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/17 19:09:20 Execute handler by POSTing to localhost:5000/run/", "2019/06/17 19:09:20 Get status by sending request to localhost:5000/status", "2019/06/17 19:09:20 Receive request to /pid", "2019/06/17 19:09:20 Receive request to /run/echo", "2019/06/17 19:09:21 Receive request to /run/install", "2019/06/17 19:09:21 Receive request to /run/install2", "2019/06/17 19:09:23 Receive request to /run/install3", "2019/06/17 19:09:23 received kill signal, cleaning up", "2019/06/17 19:09:24 exiting", "" ] } POP conf: {'handler_cache_mb': 256, 'sandbox': 'docker', 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9735, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9735 { "test": "fork_bomb", "params": {}, "pass": true, "seconds": 0.03445267677307129, "total_seconds": 8.290014028549194, "stats": null, "conf": { "max_runners": 0, "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "handler_cache_mb": 239, "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "timing": false, "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "docker_runtime": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sock_cgroups": { "max_procs": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "Skip_pull_existing": false, "import_cache_mb": 239, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/17 19:09:32 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:32 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:32 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:32 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:32 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:32 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:32 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:32 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:32 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, 'sandbox': 'sock', 'import_cache_mb': 256} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9812, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9812 { "test": "stress_one_lambda", "params": { "procs": 1, "seconds": 15 }, "pass": true, "seconds": 15.022135019302368, "total_seconds": 15.346294641494751, "stats": { "reqs_per_sec": 285.26666666666665 }, "conf": { "max_runners": 0, "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "handler_cache_mb": 256, "startup_pkgs": null, "registry": "/root/open-lambda/test-registry", "timing": false, "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "docker_runtime": "", "sandbox_config": { "processes": 10 }, "registry_cache_ms": 5000, "sock_cgroups": { "max_procs": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "Skip_pull_existing": false, "import_cache_mb": 256, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/17 19:09:48 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:48 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:48 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:48 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:48 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:48 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:48 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:48 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:09:48 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9854, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9854 { "test": "stress_one_lambda", "params": { "procs": 2, "seconds": 15 }, "pass": true, "seconds": 15.05138635635376, "total_seconds": 15.38046908378601, "stats": { "reqs_per_sec": 282.26666666666665 }, "conf": { "max_runners": 0, "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "handler_cache_mb": 256, "startup_pkgs": null, "registry": "/root/open-lambda/test-registry", "timing": false, "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "docker_runtime": "", "sandbox_config": { "processes": 10 }, "registry_cache_ms": 5000, "sock_cgroups": { "max_procs": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "Skip_pull_existing": false, "import_cache_mb": 256, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/17 19:10:03 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:03 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:03 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:03 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:03 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:03 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:03 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:03 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:03 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9903, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9903 { "test": "stress_one_lambda", "params": { "procs": 8, "seconds": 15 }, "pass": true, "seconds": 15.06539273262024, "total_seconds": 15.400175094604492, "stats": { "reqs_per_sec": 257.8666666666667 }, "conf": { "max_runners": 0, "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "handler_cache_mb": 256, "startup_pkgs": null, "registry": "/root/open-lambda/test-registry", "timing": false, "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "docker_runtime": "", "sandbox_config": { "processes": 10 }, "registry_cache_ms": 5000, "sock_cgroups": { "max_procs": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "Skip_pull_existing": false, "import_cache_mb": 256, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/17 19:10:18 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:18 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:18 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:18 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:18 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:18 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:18 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:18 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:18 exiting", "" ] } POP conf: {'registry': '/root/open-lambda/test-registry', 'handler_cache_mb': 256, 'sandbox': 'sock', 'import_cache_mb': 256} PUSH conf: {'handler_cache_mb': 256, 'sandbox': 'sock', 'import_cache_mb': 256} PUSH conf: {'registry': '/tmp/tmp2xxhbd_s'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9996, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9996 { "test": "call_each_once_exec", "params": { "lambda_count": 100, "alloc_mb": 1 }, "pass": true, "seconds": 2.690347909927368, "total_seconds": 3.24163556098938, "stats": { "reqs_per_sec": 37.17028935513513 }, "conf": { "max_runners": 0, "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry_cache_ms": 5000, "registry": "/tmp/tmp2xxhbd_s", "timing": false, "pip_mirror": "", "import_cache_mb": 256, "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "docker_runtime": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": null, "sock_cgroups": { "max_procs": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "Skip_pull_existing": false, "handler_cache_mb": 256, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/17 19:10:22 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:22 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:22 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:22 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:22 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:22 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:22 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:22 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:10:22 exiting", "" ] } POP conf: {'registry': '/tmp/tmp2xxhbd_s'} PUSH conf: {'registry': '/tmp/tmplsdkrsjx'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=10727, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 10727 { "test": "call_each_once_exec", "params": { "lambda_count": 1000, "alloc_mb": 10 }, "pass": true, "seconds": 40.00837063789368, "total_seconds": 41.64891076087952, "stats": { "reqs_per_sec": 24.994789851959332 }, "conf": { "max_runners": 0, "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": null, "registry": "/tmp/tmplsdkrsjx", "timing": false, "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "docker_runtime": "", "sandbox_config": { "processes": 10 }, "registry_cache_ms": 5000, "sock_cgroups": { "max_procs": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "Skip_pull_existing": false, "import_cache_mb": 256, "handler_cache_mb": 256 }, "exception": null, "worker_tail": [ "2019/06/17 19:11:03 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:11:03 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:11:03 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:11:03 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:11:03 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:11:03 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:11:03 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:11:03 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 19:11:03 exiting", "" ] } POP conf: {'registry': '/tmp/tmplsdkrsjx'} POP conf: {'handler_cache_mb': 256, 'sandbox': 'sock', 'import_cache_mb': 256} PASSED: 12, FAILED: 0