python3 -u test.py RUN ./ol new -p=test-cluster b'Init OL dir at /root/open-lambda/test-cluster\nCreate lambda base at /root/open-lambda/test-cluster/lambda (may take several minutes)\nWorking Directory: /root/open-lambda/test-cluster\n\nWorker Defaults: \n{\n\t"registry": "/root/open-lambda/test-cluster/registry",\n\t"registry_cache_ms": 5000,\n\t"sandbox": "sock",\n\t"cluster_name": "/root/open-lambda/test-cluster",\n\t"pip_mirror": "",\n\t"Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages",\n\t"max_runners": 0,\n\t"handler_cache_mb": 239,\n\t"import_cache_mb": 239,\n\t"server_mode": "lambda",\n\t"worker_dir": "/root/open-lambda/test-cluster/worker",\n\t"SOCK_base_path": "/root/open-lambda/test-cluster/lambda",\n\t"worker_port": "5000",\n\t"Skip_pull_existing": false,\n\t"sandbox_config": {\n\t\t"processes": 10\n\t},\n\t"benchmark_log": "",\n\t"timing": false,\n\t"startup_pkgs": null,\n\t"docker_runtime": "",\n\t"sock_cgroups": {\n\t\t"max_procs": 10,\n\t\t"max_mem_mb": 50\n\t}\n}\n\nYou may modify the defaults here: /root/open-lambda/test-cluster/config.json\n\nYou may now start a server using the "ol worker" command\n' PUSH conf: {'server_mode': 'sock'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=7301, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7301\n' { "test": "sock_churn", "params": { "procs": 1, "baseline": 0, "seconds": 15, "fork": true }, "pass": true, "seconds": 20.077539205551147, "total_seconds": 20.33388090133667, "stats": { "sandboxes_per_sec": 6.466666666666667 }, "conf": { "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "sock", "worker_port": "5000", "max_runners": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-cluster/registry", "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "startup_pkgs": null, "import_cache_mb": 239, "docker_runtime": "", "handler_cache_mb": 239, "timing": false, "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "registry_cache_ms": 5000 }, "exception": null, "worker_tail": [ "2019/06/26 15:06:03 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:03 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:03 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:03 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:03 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:03 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:03 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:03 remove worker.pid", "2019/06/26 15:06:03 exiting", "" ] } POP conf: {'server_mode': 'sock'} PUSH conf: {'registry': '/root/open-lambda/test-registry', 'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson']} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=7723, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7723\n' { "test": "ping_test", "params": {}, "pass": true, "seconds": 2.1314427852630615, "total_seconds": 25.561031341552734, "stats": { "pings_per_sec": 469.17023291483935 }, "conf": { "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_port": "5000", "max_runners": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "registry": "/root/open-lambda/test-registry", "timing": false, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 239, "sandbox_config": { "processes": 10 }, "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "import_cache_mb": 239 }, "exception": null, "worker_tail": [ "2019/06/26 15:06:29 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:06:29 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:06:29 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:06:29 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:06:29 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:06:29 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:06:29 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:06:29 remove worker.pid", "2019/06/26 15:06:29 exiting", "" ] } PUSH conf: {'handler_cache_mb': 100, 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=7796, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7796\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.9129455089569092, "total_seconds": 9.877156734466553, "stats": null, "conf": { "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_port": "5000", "max_runners": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "registry": "/root/open-lambda/test-registry", "timing": false, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 100, "sandbox_config": { "processes": 10 }, "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "import_cache_mb": 0 }, "exception": null, "worker_tail": [ "2019/06/26 15:06:38 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:38 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:38 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:38 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:38 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:38 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:38 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:38 remove worker.pid", "2019/06/26 15:06:38 exiting", "" ] } POP conf: {'handler_cache_mb': 100, 'import_cache_mb': 0} PUSH conf: {'handler_cache_mb': 250, 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=7872, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7872\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 2.0678253173828125, "total_seconds": 10.144210577011108, "stats": null, "conf": { "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_port": "5000", "max_runners": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "import_cache_mb": 0, "docker_runtime": "", "handler_cache_mb": 250, "timing": false, "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "registry_cache_ms": 5000 }, "exception": null, "worker_tail": [ "2019/06/26 15:06:49 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:49 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:49 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:49 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:49 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:49 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:49 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 15:06:49 remove worker.pid", "2019/06/26 15:06:49 exiting", "" ] } POP conf: {'handler_cache_mb': 250, 'import_cache_mb': 0} PUSH conf: {'handler_cache_mb': 100, 'import_cache_mb': 250} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=7950, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7950\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.335564136505127, "total_seconds": 9.6042160987854, "stats": null, "conf": { "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_port": "5000", "max_runners": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "registry": "/root/open-lambda/test-registry", "timing": false, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 100, "sandbox_config": { "processes": 10 }, "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "import_cache_mb": 250 }, "exception": null, "worker_tail": [ "2019/06/26 15:06:58 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:06:58 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:06:58 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:06:58 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:06:58 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:06:58 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:06:58 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:06:58 remove worker.pid", "2019/06/26 15:06:58 exiting", "" ] } POP conf: {'handler_cache_mb': 100, 'import_cache_mb': 250} PUSH conf: {'handler_cache_mb': 250, 'import_cache_mb': 250} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=8034, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 8034\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.3800487518310547, "total_seconds": 9.547249555587769, "stats": null, "conf": { "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_port": "5000", "max_runners": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "import_cache_mb": 250, "docker_runtime": "", "handler_cache_mb": 250, "timing": false, "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "registry_cache_ms": 5000 }, "exception": null, "worker_tail": [ "2019/06/26 15:07:08 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:08 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:08 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:08 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:08 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:08 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:08 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:08 remove worker.pid", "2019/06/26 15:07:08 exiting", "" ] } POP conf: {'handler_cache_mb': 250, 'import_cache_mb': 250} PUSH conf: {'handler_cache_mb': 100, 'sandbox': 'docker', 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=8119, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 8119\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 6.288650989532471, "total_seconds": 15.649882555007935, "stats": null, "conf": { "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_port": "5000", "max_runners": 0, "sandbox": "docker", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "registry": "/root/open-lambda/test-registry", "timing": false, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 100, "sandbox_config": { "processes": 10 }, "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "import_cache_mb": 0 }, "exception": null, "worker_tail": [ "2019/06/26 15:07:22 Channel() [SB 3]", "2019/06/26 15:07:22 Pause() [SB 3]", "2019/06/26 15:07:22 received kill signal, cleaning up", "2019/06/26 15:07:22 Destroy() [SB 0]", "2019/06/26 15:07:23 Destroy() [SB 1]", "2019/06/26 15:07:23 Destroy() [SB 2]", "2019/06/26 15:07:23 Destroy() [SB 3]", "2019/06/26 15:07:23 remove worker.pid", "2019/06/26 15:07:23 exiting", "" ] } POP conf: {'handler_cache_mb': 100, 'sandbox': 'docker', 'import_cache_mb': 0} PUSH conf: {'handler_cache_mb': 250, 'sandbox': 'docker', 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=9158, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 9158\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 3.1853837966918945, "total_seconds": 12.07759141921997, "stats": null, "conf": { "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_port": "5000", "max_runners": 0, "sandbox": "docker", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "import_cache_mb": 0, "docker_runtime": "", "handler_cache_mb": 250, "timing": false, "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "registry_cache_ms": 5000 }, "exception": null, "worker_tail": [ "2019/06/26 15:07:35 Channel() [SB 3]", "2019/06/26 15:07:35 Pause() [SB 3]", "2019/06/26 15:07:35 received kill signal, cleaning up", "2019/06/26 15:07:35 Destroy() [SB 0]", "2019/06/26 15:07:35 Destroy() [SB 1]", "2019/06/26 15:07:35 Destroy() [SB 2]", "2019/06/26 15:07:35 Destroy() [SB 3]", "2019/06/26 15:07:35 remove worker.pid", "2019/06/26 15:07:35 exiting", "" ] } POP conf: {'handler_cache_mb': 250, 'sandbox': 'docker', 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10204, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10204\n' { "test": "fork_bomb", "params": {}, "pass": true, "seconds": 0.1674346923828125, "total_seconds": 8.432447671890259, "stats": null, "conf": { "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_port": "5000", "max_runners": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "registry": "/root/open-lambda/test-registry", "timing": false, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 239, "sandbox_config": { "processes": 10 }, "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "import_cache_mb": 239 }, "exception": null, "worker_tail": [ "2019/06/26 15:07:44 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:44 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:44 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:44 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:44 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:44 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:44 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:44 remove worker.pid", "2019/06/26 15:07:44 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10280, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10280\n' { "test": "max_mem_alloc", "params": {}, "pass": true, "seconds": 0.9871783256530762, "total_seconds": 9.152154684066772, "stats": null, "conf": { "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_port": "5000", "max_runners": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "registry": "/root/open-lambda/test-registry", "timing": false, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 239, "sandbox_config": { "processes": 10 }, "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "import_cache_mb": 239 }, "exception": null, "worker_tail": [ "2019/06/26 15:07:53 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:53 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:53 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:53 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:53 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:53 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:53 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:07:53 remove worker.pid", "2019/06/26 15:07:53 exiting", "" ] } POP conf: {'registry': '/root/open-lambda/test-registry', 'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson']} PUSH conf: {'handler_cache_mb': 250, 'registry': '/root/open-lambda/test-registry', 'sandbox': 'sock', 'import_cache_mb': 250} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10398, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10398\n' { "test": "stress_one_lambda", "params": { "procs": 1, "seconds": 15 }, "pass": true, "seconds": 15.041275024414062, "total_seconds": 15.377455949783325, "stats": { "reqs_per_sec": 284.6 }, "conf": { "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_port": "5000", "max_runners": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "startup_pkgs": null, "import_cache_mb": 250, "docker_runtime": "", "handler_cache_mb": 250, "timing": false, "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "registry_cache_ms": 5000 }, "exception": null, "worker_tail": [ "2019/06/26 15:08:08 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:08 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:08 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:08 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:08 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:08 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:08 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:08 remove worker.pid", "2019/06/26 15:08:08 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10439, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10439\n' { "test": "stress_one_lambda", "params": { "procs": 2, "seconds": 15 }, "pass": true, "seconds": 15.046314716339111, "total_seconds": 15.38248586654663, "stats": { "reqs_per_sec": 283.8666666666667 }, "conf": { "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_port": "5000", "max_runners": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "startup_pkgs": null, "import_cache_mb": 250, "docker_runtime": "", "handler_cache_mb": 250, "timing": false, "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "registry_cache_ms": 5000 }, "exception": null, "worker_tail": [ "2019/06/26 15:08:24 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:24 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:24 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:24 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:24 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:24 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:24 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:24 remove worker.pid", "2019/06/26 15:08:24 exiting", "" ] } PUSH conf: {'handler_cache_mb': 500, 'import_cache_mb': 100} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10482, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10482\n' { "test": "stress_one_lambda", "params": { "procs": 8, "seconds": 15 }, "pass": true, "seconds": 15.080755472183228, "total_seconds": 15.41521167755127, "stats": { "reqs_per_sec": 269.26666666666665 }, "conf": { "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_port": "5000", "max_runners": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "startup_pkgs": null, "import_cache_mb": 100, "docker_runtime": "", "handler_cache_mb": 500, "timing": false, "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "registry_cache_ms": 5000 }, "exception": null, "worker_tail": [ "2019/06/26 15:08:39 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:39 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:39 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:39 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:39 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:39 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:39 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:39 remove worker.pid", "2019/06/26 15:08:39 exiting", "" ] } POP conf: {'handler_cache_mb': 500, 'import_cache_mb': 100} POP conf: {'handler_cache_mb': 250, 'registry': '/root/open-lambda/test-registry', 'sandbox': 'sock', 'import_cache_mb': 250} PUSH conf: {'handler_cache_mb': 250, 'sandbox': 'sock', 'import_cache_mb': 250} PUSH conf: {'registry': '/tmp/tmplmqeui8y'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10545, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10545\n' { "test": "call_each_once_exec", "params": { "lambda_count": 100, "alloc_mb": 1 }, "pass": true, "seconds": 15.875808954238892, "total_seconds": 16.216259717941284, "stats": { "reqs_per_sec": 6.298902026569138 }, "conf": { "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_port": "5000", "max_runners": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "startup_pkgs": null, "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "registry": "/tmp/tmplmqeui8y", "timing": false, "registry_cache_ms": 5000, "docker_runtime": "", "handler_cache_mb": 250, "sandbox_config": { "processes": 10 }, "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "import_cache_mb": 250 }, "exception": null, "worker_tail": [ "2019/06/26 15:08:55 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:55 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:55 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:55 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:55 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:55 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:55 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:08:55 remove worker.pid", "2019/06/26 15:08:55 exiting", "" ] } POP conf: {'registry': '/tmp/tmplmqeui8y'} PUSH conf: {'registry': '/tmp/tmpc5zevo6q'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=11074, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 11074\n' { "test": "call_each_once_exec", "params": { "lambda_count": 1000, "alloc_mb": 10 }, "pass": true, "seconds": 168.35735511779785, "total_seconds": 168.6831350326538, "stats": { "reqs_per_sec": 5.939747403118303 }, "conf": { "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "server_mode": "lambda", "worker_port": "5000", "max_runners": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/tmp/tmpc5zevo6q", "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "startup_pkgs": null, "import_cache_mb": 250, "docker_runtime": "", "handler_cache_mb": 250, "timing": false, "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "registry_cache_ms": 5000 }, "exception": null, "worker_tail": [ "2019/06/26 15:11:44 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:11:44 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:11:44 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:11:44 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:11:44 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:11:44 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:11:44 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 15:11:44 remove worker.pid", "2019/06/26 15:11:44 exiting", "" ] } POP conf: {'registry': '/tmp/tmpc5zevo6q'} POP conf: {'handler_cache_mb': 250, 'sandbox': 'sock', 'import_cache_mb': 250} PASSED: 15, FAILED: 0