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: {'import_cache_mb': 0, 'handler_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.224889039993286, "total_seconds": 20.30588459968567, "stats": null, "conf": { "Skip_pull_existing": false, "timing": false, "sandbox": "sock", "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "import_cache_mb": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "handler_cache_mb": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 } }, "exception": null, "worker_tail": [ "2019/06/17 16:54:50 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 16:54:50 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 16:54:50 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 16:54:50 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 16:54:50 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 16:54:50 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 16:54:50 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 16:54:50 Finished Lambda Cleanup", "2019/06/17 16:54:50 exiting", "" ] } POP conf: {'import_cache_mb': 0, 'handler_cache_mb': 0} PUSH conf: {'import_cache_mb': 0, 'handler_cache_mb': 256} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7388, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7388 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.6422781944274902, "total_seconds": 9.409616470336914, "stats": null, "conf": { "registry_cache_ms": 5000, "timing": false, "sandbox": "sock", "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "import_cache_mb": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "server_mode": "lambda", "sandbox_config": { "processes": 10 } }, "exception": null, "worker_tail": [ "2019/06/17 16:54:59 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 16:54:59 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 16:54:59 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 16:54:59 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 16:54:59 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 16:54:59 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 16:54:59 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/17 16:54:59 Finished Lambda Cleanup", "2019/06/17 16:54:59 exiting", "" ] } POP conf: {'import_cache_mb': 0, 'handler_cache_mb': 256} PUSH conf: {'import_cache_mb': 256, 'handler_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7468, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7468 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 0.76534104347229, "total_seconds": 8.72162389755249, "stats": null, "conf": { "timing": false, "sandbox": "sock", "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "import_cache_mb": 256, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "handler_cache_mb": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "server_mode": "lambda", "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 } }, "exception": null, "worker_tail": [ "2019/06/17 16:55:08 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:08 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:08 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:08 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:08 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:08 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:08 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:08 Finished Lambda Cleanup", "2019/06/17 16:55:08 exiting", "" ] } POP conf: {'import_cache_mb': 256, 'handler_cache_mb': 0} PUSH conf: {'import_cache_mb': 256, 'handler_cache_mb': 256} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7558, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7558 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 0.7496829032897949, "total_seconds": 8.618233680725098, "stats": null, "conf": { "Skip_pull_existing": false, "timing": false, "sandbox": "sock", "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "import_cache_mb": 256, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 } }, "exception": null, "worker_tail": [ "2019/06/17 16:55:17 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:17 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:17 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:17 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:17 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:17 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:17 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:17 Finished Lambda Cleanup", "2019/06/17 16:55:17 exiting", "" ] } POP conf: {'import_cache_mb': 256, 'handler_cache_mb': 256} PUSH conf: {'import_cache_mb': 0, 'sandbox': 'docker', 'handler_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7649, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7649 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 6.328898906707764, "total_seconds": 13.87628436088562, "stats": null, "conf": { "registry_cache_ms": 5000, "timing": false, "sandbox": "docker", "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "import_cache_mb": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "handler_cache_mb": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "server_mode": "lambda", "sandbox_config": { "processes": 10 } }, "exception": null, "worker_tail": [ "2019/06/17 16:55:31 received kill signal, cleaning up", "2019/06/17 16:55:31 Cleanup Lambdas:", "2019/06/17 16:55:31 Function: echo", "2019/06/17 16:55:31 Function: install", "2019/06/17 16:55:31 Function: install2", "2019/06/17 16:55:31 Function: install3", "2019/06/17 16:55:31 Cleanup Container Factory", "2019/06/17 16:55:31 Finished Lambda Cleanup", "2019/06/17 16:55:31 exiting", "" ] } POP conf: {'import_cache_mb': 0, 'sandbox': 'docker', 'handler_cache_mb': 0} PUSH conf: {'import_cache_mb': 0, 'sandbox': 'docker', 'handler_cache_mb': 256} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=8589, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 8589 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 3.3438339233398438, "total_seconds": 11.716379165649414, "stats": null, "conf": { "timing": false, "sandbox": "docker", "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "import_cache_mb": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "server_mode": "lambda", "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 } }, "exception": null, "worker_tail": [ "2019/06/17 16:55:42 Function: install", "2019/06/17 16:55:42 Instance: 1", "2019/06/17 16:55:42 Function: install2", "2019/06/17 16:55:42 Instance: 2", "2019/06/17 16:55:42 Function: install3", "2019/06/17 16:55:42 Instance: 3", "2019/06/17 16:55:42 Cleanup Container Factory", "2019/06/17 16:55:42 Finished Lambda Cleanup", "2019/06/17 16:55:42 exiting", "" ] } POP conf: {'import_cache_mb': 0, 'sandbox': 'docker', 'handler_cache_mb': 256} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9634, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9634 { "test": "fork_bomb", "params": {}, "pass": true, "seconds": 0.034960269927978516, "total_seconds": 8.689007759094238, "stats": null, "conf": { "registry_cache_ms": 5000, "timing": false, "sandbox": "sock", "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "import_cache_mb": 239, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "handler_cache_mb": 239, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "server_mode": "lambda", "sandbox_config": { "processes": 10 } }, "exception": null, "worker_tail": [ "2019/06/17 16:55:51 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:51 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:51 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:51 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:51 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:51 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:51 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:55:51 Finished Lambda Cleanup", "2019/06/17 16:55:51 exiting", "" ] } POP conf: {'registry': '/root/open-lambda/test-registry', 'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson']} PUSH conf: {'import_cache_mb': 256, 'sandbox': 'sock', 'handler_cache_mb': 256, 'registry': '/root/open-lambda/test-registry'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9709, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9709 { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 1 }, "pass": true, "seconds": 15.088613510131836, "total_seconds": 15.409159183502197, "stats": { "reqs_per_sec": 279.26666666666665 }, "conf": { "timing": false, "sandbox": "sock", "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "import_cache_mb": 256, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": null, "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "server_mode": "lambda", "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 } }, "exception": null, "worker_tail": [ "2019/06/17 16:56:06 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:06 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:06 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:06 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:06 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:06 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:06 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:06 Finished Lambda Cleanup", "2019/06/17 16:56:06 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9749, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9749 { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 2 }, "pass": true, "seconds": 15.05071473121643, "total_seconds": 15.374494552612305, "stats": { "reqs_per_sec": 281.93333333333334 }, "conf": { "timing": false, "sandbox": "sock", "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "import_cache_mb": 256, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": null, "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "server_mode": "lambda", "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 } }, "exception": null, "worker_tail": [ "2019/06/17 16:56:22 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:22 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:22 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:22 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:22 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:22 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:22 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:22 Finished Lambda Cleanup", "2019/06/17 16:56:22 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9796, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9796 { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 8 }, "pass": true, "seconds": 15.069081783294678, "total_seconds": 15.396655082702637, "stats": { "reqs_per_sec": 255.33333333333334 }, "conf": { "timing": false, "sandbox": "sock", "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "import_cache_mb": 256, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": null, "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "server_mode": "lambda", "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 } }, "exception": null, "worker_tail": [ "2019/06/17 16:56:37 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:37 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:37 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:37 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:37 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:37 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:37 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:37 Finished Lambda Cleanup", "2019/06/17 16:56:37 exiting", "" ] } POP conf: {'import_cache_mb': 256, 'sandbox': 'sock', 'handler_cache_mb': 256, 'registry': '/root/open-lambda/test-registry'} PUSH conf: {'import_cache_mb': 256, 'sandbox': 'sock', 'handler_cache_mb': 256} PUSH conf: {'registry': '/tmp/tmp3_am6ol_'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9886, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9886 { "test": "call_each_once_exec", "params": { "alloc_mb": 1, "lambda_count": 100 }, "pass": true, "seconds": 3.0241758823394775, "total_seconds": 3.573094606399536, "stats": { "reqs_per_sec": 33.067282153925795 }, "conf": { "timing": false, "sandbox": "sock", "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "import_cache_mb": 256, "docker_runtime": "", "registry": "/tmp/tmp3_am6ol_", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": null, "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "server_mode": "lambda", "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 } }, "exception": null, "worker_tail": [ "2019/06/17 16:56:41 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:41 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:41 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:41 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:41 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:41 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:41 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:56:41 Finished Lambda Cleanup", "2019/06/17 16:56:41 exiting", "" ] } POP conf: {'registry': '/tmp/tmp3_am6ol_'} PUSH conf: {'registry': '/tmp/tmp4a7_2i1h'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=10613, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 10613 { "test": "call_each_once_exec", "params": { "alloc_mb": 10, "lambda_count": 1000 }, "pass": true, "seconds": 41.022321701049805, "total_seconds": 42.76351284980774, "stats": { "reqs_per_sec": 24.37698902307143 }, "conf": { "Skip_pull_existing": false, "timing": false, "sandbox": "sock", "cluster_name": "/root/open-lambda/test-cluster", "benchmark_log": "", "import_cache_mb": 256, "docker_runtime": "", "registry": "/tmp/tmp4a7_2i1h", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": null, "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 } }, "exception": null, "worker_tail": [ "2019/06/17 16:57:24 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:57:24 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:57:24 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:57:24 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:57:24 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:57:24 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:57:24 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/17 16:57:24 Finished Lambda Cleanup", "2019/06/17 16:57:24 exiting", "" ] } POP conf: {'registry': '/tmp/tmp4a7_2i1h'} POP conf: {'import_cache_mb': 256, 'sandbox': 'sock', 'handler_cache_mb': 256} PASSED: 12, FAILED: 0