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'} ======================================== sock_churn ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=7292, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7292\n' { "test": "sock_churn", "params": { "seconds": 15, "procs": 1, "baseline": 0, "fork": true }, "pass": true, "seconds": 16.772766590118408, "total_seconds": 17.036292791366577, "stats": { "sandboxes_per_sec": 6.533333333333333 }, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "sock", "timing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "handler_cache_mb": 239, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sandbox_config": { "processes": 10 }, "startup_pkgs": null, "sandbox": "sock", "worker_port": "5000", "max_runners": 0, "Skip_pull_existing": false, "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-cluster/registry", "pip_mirror": "", "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "import_cache_mb": 239 }, "exception": null, "worker_tail": [ "2019/06/26 21:42:36 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:42:36 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:42:36 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:42:36 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:42:36 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:42:36 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:42:36 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:42:36 remove worker.pid", "2019/06/26 21:42:36 exiting", "" ] } POP conf: {'server_mode': 'sock'} PUSH conf: {'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson'], 'registry': '/root/open-lambda/test-registry'} ======================================== ping_test ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=7715, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7715\n' { "test": "ping_test", "params": {}, "pass": true, "seconds": 2.162200927734375, "total_seconds": 19.0596923828125, "stats": { "pings_per_sec": 462.49594077305323 }, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "registry": "/root/open-lambda/test-registry", "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "max_runners": 0, "handler_cache_mb": 239, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sandbox": "sock", "worker_port": "5000", "Skip_pull_existing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry_cache_ms": 5000, "pip_mirror": "", "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "import_cache_mb": 239 }, "exception": null, "worker_tail": [ "2019/06/26 21:42:55 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:42:55 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:42:55 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:42:55 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:42:55 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:42:55 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:42:55 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:42:55 remove worker.pid", "2019/06/26 21:42:55 exiting", "" ] } PUSH conf: {'handler_cache_mb': 100, 'import_cache_mb': 0} ======================================== smoke_tests ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=7788, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7788\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.6508967876434326, "total_seconds": 9.614465713500977, "stats": null, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "handler_cache_mb": 100, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sandbox": "sock", "worker_port": "5000", "max_runners": 0, "Skip_pull_existing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry_cache_ms": 5000, "import_cache_mb": 0 }, "exception": null, "worker_tail": [ "2019/06/26 21:43:05 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:43:05 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:43:05 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:43:05 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:43:05 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:43:05 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:43:05 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:43:05 remove worker.pid", "2019/06/26 21:43:05 exiting", "" ] } POP conf: {'handler_cache_mb': 100, 'import_cache_mb': 0} PUSH conf: {'handler_cache_mb': 250, 'import_cache_mb': 0} ======================================== smoke_tests ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=7865, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7865\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.3930566310882568, "total_seconds": 9.468844175338745, "stats": null, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "max_runners": 0, "handler_cache_mb": 250, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sandbox": "sock", "worker_port": "5000", "Skip_pull_existing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry_cache_ms": 5000, "import_cache_mb": 0 }, "exception": null, "worker_tail": [ "2019/06/26 21:43:14 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:43:14 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:43:14 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:43:14 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:43:14 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:43:14 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:43:14 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 21:43:14 remove worker.pid", "2019/06/26 21:43:14 exiting", "" ] } POP conf: {'handler_cache_mb': 250, 'import_cache_mb': 0} PUSH conf: {'handler_cache_mb': 100, 'import_cache_mb': 250} ======================================== smoke_tests ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=7943, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7943\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.3610591888427734, "total_seconds": 9.627220153808594, "stats": null, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "sandbox_config": { "processes": 10 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sandbox": "sock", "worker_port": "5000", "max_runners": 0, "Skip_pull_existing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "benchmark_log": "", "handler_cache_mb": 100, "registry_cache_ms": 5000, "import_cache_mb": 250 }, "exception": null, "worker_tail": [ "2019/06/26 21:43:24 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:43:24 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:43:24 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:43:24 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:43:24 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:43:24 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:43:24 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:43:24 remove worker.pid", "2019/06/26 21:43:24 exiting", "" ] } POP conf: {'handler_cache_mb': 100, 'import_cache_mb': 250} PUSH conf: {'handler_cache_mb': 250, 'import_cache_mb': 250} ======================================== smoke_tests ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=8027, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 8027\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.4008708000183105, "total_seconds": 9.665578126907349, "stats": null, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "sandbox_config": { "processes": 10 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sandbox": "sock", "worker_port": "5000", "handler_cache_mb": 250, "max_runners": 0, "Skip_pull_existing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry_cache_ms": 5000, "import_cache_mb": 250 }, "exception": null, "worker_tail": [ "2019/06/26 21:43:34 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:43:34 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:43:34 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:43:34 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:43:34 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:43:34 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:43:34 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:43:34 remove worker.pid", "2019/06/26 21:43:34 exiting", "" ] } POP conf: {'handler_cache_mb': 250, 'import_cache_mb': 250} PUSH conf: {'sandbox': 'docker', 'handler_cache_mb': 100, 'import_cache_mb': 0} ======================================== smoke_tests ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=8111, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 8111\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 5.702328205108643, "total_seconds": 14.862338304519653, "stats": null, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "max_runners": 0, "handler_cache_mb": 100, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sandbox": "docker", "worker_port": "5000", "Skip_pull_existing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry_cache_ms": 5000, "import_cache_mb": 0 }, "exception": null, "worker_tail": [ "2019/06/26 21:43:47 Channel() [SB 3]", "2019/06/26 21:43:47 Pause() [SB 3]", "2019/06/26 21:43:47 received kill signal, cleaning up", "2019/06/26 21:43:47 Destroy() [SB 0]", "2019/06/26 21:43:48 Destroy() [SB 1]", "2019/06/26 21:43:48 Destroy() [SB 2]", "2019/06/26 21:43:48 Destroy() [SB 3]", "2019/06/26 21:43:49 remove worker.pid", "2019/06/26 21:43:49 exiting", "" ] } POP conf: {'sandbox': 'docker', 'handler_cache_mb': 100, 'import_cache_mb': 0} PUSH conf: {'sandbox': 'docker', 'handler_cache_mb': 250, 'import_cache_mb': 0} ======================================== smoke_tests ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=9149, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 9149\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 2.891526699066162, "total_seconds": 11.753458738327026, "stats": null, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "sandbox_config": { "processes": 10 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sandbox": "docker", "worker_port": "5000", "max_runners": 0, "Skip_pull_existing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "benchmark_log": "", "handler_cache_mb": 250, "registry_cache_ms": 5000, "import_cache_mb": 0 }, "exception": null, "worker_tail": [ "2019/06/26 21:44:00 Channel() [SB 3]", "2019/06/26 21:44:00 Pause() [SB 3]", "2019/06/26 21:44:00 received kill signal, cleaning up", "2019/06/26 21:44:00 Destroy() [SB 0]", "2019/06/26 21:44:00 Destroy() [SB 1]", "2019/06/26 21:44:00 Destroy() [SB 2]", "2019/06/26 21:44:00 Destroy() [SB 3]", "2019/06/26 21:44:00 remove worker.pid", "2019/06/26 21:44:00 exiting", "" ] } POP conf: {'sandbox': 'docker', 'handler_cache_mb': 250, 'import_cache_mb': 0} ======================================== fork_bomb ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10184, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10184\n' { "test": "fork_bomb", "params": {}, "pass": true, "seconds": 0.1671748161315918, "total_seconds": 8.431904077529907, "stats": null, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "max_runners": 0, "handler_cache_mb": 239, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sandbox": "sock", "worker_port": "5000", "Skip_pull_existing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry_cache_ms": 5000, "import_cache_mb": 239 }, "exception": null, "worker_tail": [ "2019/06/26 21:44:09 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:09 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:09 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:09 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:09 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:09 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:09 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:09 remove worker.pid", "2019/06/26 21:44:09 exiting", "" ] } ======================================== max_mem_alloc ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10261, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10261\n' { "test": "max_mem_alloc", "params": {}, "pass": true, "seconds": 0.987872838973999, "total_seconds": 9.254162549972534, "stats": null, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "max_runners": 0, "handler_cache_mb": 239, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sandbox": "sock", "worker_port": "5000", "Skip_pull_existing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry_cache_ms": 5000, "import_cache_mb": 239 }, "exception": null, "worker_tail": [ "2019/06/26 21:44:18 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:18 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:18 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:18 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:18 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:18 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:18 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:18 remove worker.pid", "2019/06/26 21:44:18 exiting", "" ] } POP conf: {'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson'], 'registry': '/root/open-lambda/test-registry'} PUSH conf: {'sandbox': 'sock', 'registry_cache_ms': 3000, 'registry': '/tmp/tmptfdw5ws_'} ======================================== update_code ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10379, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10379\n' { "test": "update_code", "params": {}, "pass": true, "seconds": 6.158851385116577, "total_seconds": 6.492253303527832, "stats": null, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "sandbox_config": { "processes": 10 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "startup_pkgs": null, "handler_cache_mb": 239, "worker_port": "5000", "max_runners": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/tmp/tmptfdw5ws_", "pip_mirror": "", "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "import_cache_mb": 239, "registry_cache_ms": 3000, "Skip_pull_existing": false }, "exception": null, "worker_tail": [ "2019/06/26 21:44:25 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:25 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:25 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:25 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:25 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:25 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:25 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:25 remove worker.pid", "2019/06/26 21:44:25 exiting", "" ] } POP conf: {'sandbox': 'sock', 'registry_cache_ms': 3000, 'registry': '/tmp/tmptfdw5ws_'} PUSH conf: {'sandbox': 'sock', 'import_cache_mb': 250, 'handler_cache_mb': 250, 'registry': '/root/open-lambda/test-registry'} ======================================== stress_one_lambda ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10423, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10423\n' { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 1 }, "pass": true, "seconds": 15.04610562324524, "total_seconds": 15.37792420387268, "stats": { "reqs_per_sec": 291.4 }, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "handler_cache_mb": 250, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sandbox_config": { "processes": 10 }, "startup_pkgs": null, "sandbox": "sock", "worker_port": "5000", "max_runners": 0, "Skip_pull_existing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry_cache_ms": 5000, "import_cache_mb": 250 }, "exception": null, "worker_tail": [ "2019/06/26 21:44:40 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:40 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:40 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:40 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:40 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:40 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:40 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:40 remove worker.pid", "2019/06/26 21:44:40 exiting", "" ] } ======================================== stress_one_lambda ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10471, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10471\n' { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 2 }, "pass": true, "seconds": 15.043739080429077, "total_seconds": 15.373052835464478, "stats": { "reqs_per_sec": 287.53333333333336 }, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "handler_cache_mb": 250, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sandbox_config": { "processes": 10 }, "startup_pkgs": null, "sandbox": "sock", "worker_port": "5000", "max_runners": 0, "Skip_pull_existing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry_cache_ms": 5000, "import_cache_mb": 250 }, "exception": null, "worker_tail": [ "2019/06/26 21:44:55 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:55 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:55 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:55 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:55 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:55 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:55 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:44:55 remove worker.pid", "2019/06/26 21:44:55 exiting", "" ] } PUSH conf: {'handler_cache_mb': 500, 'import_cache_mb': 100} ======================================== stress_one_lambda ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10521, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10521\n' { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 8 }, "pass": true, "seconds": 15.068605184555054, "total_seconds": 15.403235673904419, "stats": { "reqs_per_sec": 260.0 }, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "sandbox_config": { "processes": 10 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "startup_pkgs": null, "sandbox": "sock", "worker_port": "5000", "max_runners": 0, "Skip_pull_existing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "benchmark_log": "", "handler_cache_mb": 500, "registry_cache_ms": 5000, "import_cache_mb": 100 }, "exception": null, "worker_tail": [ "2019/06/26 21:45:11 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:45:11 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:45:11 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:45:11 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:45:11 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:45:11 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:45:11 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:45:11 remove worker.pid", "2019/06/26 21:45:11 exiting", "" ] } POP conf: {'handler_cache_mb': 500, 'import_cache_mb': 100} POP conf: {'sandbox': 'sock', 'import_cache_mb': 250, 'handler_cache_mb': 250, 'registry': '/root/open-lambda/test-registry'} PUSH conf: {'sandbox': 'sock', 'handler_cache_mb': 250, 'import_cache_mb': 250} PUSH conf: {'registry': '/tmp/tmpe9hm6ow7'} ======================================== call_each_once_exec ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10577, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10577\n' { "test": "call_each_once_exec", "params": { "alloc_mb": 1, "lambda_count": 100 }, "pass": true, "seconds": 15.882887125015259, "total_seconds": 16.224562883377075, "stats": { "reqs_per_sec": 6.296095214798072 }, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "sandbox_config": { "processes": 10 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "startup_pkgs": null, "sandbox": "sock", "worker_port": "5000", "handler_cache_mb": 250, "max_runners": 0, "Skip_pull_existing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/tmp/tmpe9hm6ow7", "pip_mirror": "", "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry_cache_ms": 5000, "import_cache_mb": 250 }, "exception": null, "worker_tail": [ "2019/06/26 21:45:27 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:45:27 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:45:27 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:45:27 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:45:27 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:45:27 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:45:27 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:45:27 remove worker.pid", "2019/06/26 21:45:27 exiting", "" ] } POP conf: {'registry': '/tmp/tmpe9hm6ow7'} PUSH conf: {'registry': '/tmp/tmp4jou87l5'} ======================================== call_each_once_exec ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=11108, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 11108\n' { "test": "call_each_once_exec", "params": { "alloc_mb": 10, "lambda_count": 1000 }, "pass": true, "seconds": 165.2185447216034, "total_seconds": 165.54385662078857, "stats": { "reqs_per_sec": 6.052590678351401 }, "conf": { "cluster_name": "/root/open-lambda/test-cluster", "server_mode": "lambda", "timing": false, "docker_runtime": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "max_runners": 0, "handler_cache_mb": 250, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sandbox_config": { "processes": 10 }, "startup_pkgs": null, "sandbox": "sock", "worker_port": "5000", "Skip_pull_existing": false, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "registry": "/tmp/tmp4jou87l5", "pip_mirror": "", "benchmark_log": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry_cache_ms": 5000, "import_cache_mb": 250 }, "exception": null, "worker_tail": [ "2019/06/26 21:48:13 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:48:13 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:48:13 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:48:13 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:48:13 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:48:13 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:48:13 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 21:48:13 remove worker.pid", "2019/06/26 21:48:13 exiting", "" ] } POP conf: {'registry': '/tmp/tmp4jou87l5'} POP conf: {'sandbox': 'sock', 'handler_cache_mb': 250, 'import_cache_mb': 250} PASSED: 16, FAILED: 0