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=7318, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7318\n' { "test": "sock_churn", "params": { "baseline": 0, "procs": 1, "seconds": 15, "fork": true }, "pass": true, "seconds": 17.507735013961792, "total_seconds": 17.78303289413452, "stats": { "sandboxes_per_sec": 6.4 }, "conf": { "sandbox_config": { "processes": 10 }, "Skip_pull_existing": false, "sandbox": "sock", "pip_mirror": "", "import_cache_mb": 239, "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "worker_dir": "/root/open-lambda/test-cluster/worker", "docker_runtime": "", "registry": "/root/open-lambda/test-cluster/registry", "server_mode": "sock", "startup_pkgs": null, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 239, "timing": false, "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 } }, "exception": null, "worker_tail": [ "2019/06/27 21:46:37 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:46:37 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:46:37 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:46:37 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:46:37 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:46:37 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:46:37 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:46:37 remove worker.pid", "2019/06/27 21:46:37 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=7733, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7733\n' { "test": "ping_test", "params": {}, "pass": true, "seconds": 2.1567368507385254, "total_seconds": 23.880190134048462, "stats": { "pings_per_sec": 463.66757908446993 }, "conf": { "sandbox_config": { "processes": 10 }, "sandbox": "sock", "timing": false, "Skip_pull_existing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 239, "import_cache_mb": 239, "pip_mirror": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ] }, "exception": null, "worker_tail": [ "2019/06/27 21:47:00 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:00 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:00 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:00 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:00 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:00 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:00 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:00 remove worker.pid", "2019/06/27 21:47:00 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=7807, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7807\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.8841361999511719, "total_seconds": 9.94683289527893, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "sandbox": "sock", "timing": false, "Skip_pull_existing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "benchmark_log": "", "server_mode": "lambda", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 100, "import_cache_mb": 0, "pip_mirror": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 } }, "exception": null, "worker_tail": [ "2019/06/27 21:47:10 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:47:10 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:47:10 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:47:10 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:47:10 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:47:10 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:47:10 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:47:10 remove worker.pid", "2019/06/27 21:47:10 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=7884, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7884\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.7389273643493652, "total_seconds": 9.816779136657715, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "sandbox": "sock", "Skip_pull_existing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "server_mode": "lambda", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 250, "timing": false, "pip_mirror": "", "benchmark_log": "" }, "exception": null, "worker_tail": [ "2019/06/27 21:47:20 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:47:20 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:47:20 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:47:20 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:47:20 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:47:20 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:47:20 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/27 21:47:20 remove worker.pid", "2019/06/27 21:47:20 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=7963, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7963\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.3492841720581055, "total_seconds": 9.920130491256714, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "Skip_pull_existing": false, "sandbox": "sock", "timing": false, "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "benchmark_log": "", "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 100, "import_cache_mb": 250, "pip_mirror": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ] }, "exception": null, "worker_tail": [ "2019/06/27 21:47:30 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:30 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:30 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:30 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:30 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:30 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:30 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:30 remove worker.pid", "2019/06/27 21:47:30 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=8048, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 8048\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.4197404384613037, "total_seconds": 9.685067653656006, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "sandbox": "sock", "Skip_pull_existing": false, "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 250, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "server_mode": "lambda", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 250, "timing": false, "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 } }, "exception": null, "worker_tail": [ "2019/06/27 21:47:40 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:40 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:40 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:40 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:40 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:40 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:40 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:47:40 remove worker.pid", "2019/06/27 21:47:40 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=8133, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 8133\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 7.808626890182495, "total_seconds": 17.675715923309326, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "sandbox": "docker", "timing": false, "Skip_pull_existing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 100, "import_cache_mb": 0, "pip_mirror": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ] }, "exception": null, "worker_tail": [ "2019/06/27 21:47:56 Channel() [SB 3]", "2019/06/27 21:47:56 Pause() [SB 3]", "2019/06/27 21:47:56 received kill signal, cleaning up", "2019/06/27 21:47:56 Destroy() [SB 0]", "2019/06/27 21:47:56 Destroy() [SB 1]", "2019/06/27 21:47:57 Destroy() [SB 2]", "2019/06/27 21:47:57 Destroy() [SB 3]", "2019/06/27 21:47:57 remove worker.pid", "2019/06/27 21:47:57 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=9176, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 9176\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 3.6467041969299316, "total_seconds": 12.609194040298462, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "Skip_pull_existing": false, "sandbox": "docker", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "server_mode": "lambda", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 250, "timing": false, "pip_mirror": "", "benchmark_log": "" }, "exception": null, "worker_tail": [ "2019/06/27 21:48:09 Channel() [SB 3]", "2019/06/27 21:48:09 Pause() [SB 3]", "2019/06/27 21:48:09 received kill signal, cleaning up", "2019/06/27 21:48:09 Destroy() [SB 0]", "2019/06/27 21:48:09 Destroy() [SB 1]", "2019/06/27 21:48:10 Destroy() [SB 2]", "2019/06/27 21:48:10 Destroy() [SB 3]", "2019/06/27 21:48:10 remove worker.pid", "2019/06/27 21:48:10 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=10214, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10214\n' { "test": "fork_bomb", "params": {}, "pass": true, "seconds": 0.1651749610900879, "total_seconds": 8.43185806274414, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "sandbox": "sock", "timing": false, "Skip_pull_existing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 239, "import_cache_mb": 239, "pip_mirror": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ] }, "exception": null, "worker_tail": [ "2019/06/27 21:48:19 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:19 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:19 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:19 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:19 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:19 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:19 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:19 remove worker.pid", "2019/06/27 21:48:19 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=10291, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10291\n' { "test": "max_mem_alloc", "params": {}, "pass": true, "seconds": 0.9900393486022949, "total_seconds": 9.258396863937378, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "sandbox": "sock", "timing": false, "Skip_pull_existing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 239, "import_cache_mb": 239, "pip_mirror": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ] }, "exception": null, "worker_tail": [ "2019/06/27 21:48:28 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:28 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:28 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:28 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:28 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:28 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:28 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:28 remove worker.pid", "2019/06/27 21:48:28 exiting", "" ] } POP conf: {'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson'], 'registry': '/root/open-lambda/test-registry'} PUSH conf: {'registry_cache_ms': 3000, 'sandbox': 'sock', 'registry': '/tmp/tmpwpvvzhqy'} ======================================== update_code ======================================== RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10408, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10408\n' { "test": "update_code", "params": {}, "pass": true, "seconds": 6.1600501537323, "total_seconds": 6.492363214492798, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "Skip_pull_existing": false, "sandbox": "sock", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 239, "docker_runtime": "", "registry": "/tmp/tmpwpvvzhqy", "server_mode": "lambda", "startup_pkgs": null, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 3000, "handler_cache_mb": 239, "timing": false, "pip_mirror": "", "benchmark_log": "" }, "exception": null, "worker_tail": [ "2019/06/27 21:48:34 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:34 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:34 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:34 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:34 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:34 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:34 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:34 remove worker.pid", "2019/06/27 21:48:34 exiting", "" ] } POP conf: {'registry_cache_ms': 3000, 'sandbox': 'sock', 'registry': '/tmp/tmpwpvvzhqy'} PUSH conf: {'sandbox': 'sock', 'handler_cache_mb': 250, 'import_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=10453, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10453\n' { "test": "stress_one_lambda", "params": { "procs": 1, "seconds": 15 }, "pass": true, "seconds": 15.041995286941528, "total_seconds": 15.373477220535278, "stats": { "reqs_per_sec": 292.0 }, "conf": { "sandbox_config": { "processes": 10 }, "sandbox": "sock", "timing": false, "Skip_pull_existing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "benchmark_log": "", "server_mode": "lambda", "startup_pkgs": null, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 250, "import_cache_mb": 250, "pip_mirror": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 } }, "exception": null, "worker_tail": [ "2019/06/27 21:48:50 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:50 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:50 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:50 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:50 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:50 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:50 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:48:50 remove worker.pid", "2019/06/27 21:48:50 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=10502, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10502\n' { "test": "stress_one_lambda", "params": { "procs": 2, "seconds": 15 }, "pass": true, "seconds": 15.050220251083374, "total_seconds": 15.378096103668213, "stats": { "reqs_per_sec": 286.2 }, "conf": { "sandbox_config": { "processes": 10 }, "sandbox": "sock", "timing": false, "Skip_pull_existing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "benchmark_log": "", "server_mode": "lambda", "startup_pkgs": null, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 250, "import_cache_mb": 250, "pip_mirror": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 } }, "exception": null, "worker_tail": [ "2019/06/27 21:49:05 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:05 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:05 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:05 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:05 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:05 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:05 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:05 remove worker.pid", "2019/06/27 21:49:05 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=10551, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10551\n' { "test": "stress_one_lambda", "params": { "procs": 8, "seconds": 15 }, "pass": true, "seconds": 15.070969581604004, "total_seconds": 15.401528120040894, "stats": { "reqs_per_sec": 226.73333333333332 }, "conf": { "sandbox_config": { "processes": 10 }, "Skip_pull_existing": false, "sandbox": "sock", "timing": false, "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "benchmark_log": "", "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 500, "import_cache_mb": 100, "pip_mirror": "", "startup_pkgs": null }, "exception": null, "worker_tail": [ "2019/06/27 21:49:21 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:21 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:21 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:21 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:21 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:21 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:21 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:21 remove worker.pid", "2019/06/27 21:49:21 exiting", "" ] } POP conf: {'handler_cache_mb': 500, 'import_cache_mb': 100} POP conf: {'sandbox': 'sock', 'handler_cache_mb': 250, 'import_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/tmpvz85l3ah'} ======================================== 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=10606, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10606\n' { "test": "call_each_once_exec", "params": { "lambda_count": 100, "alloc_mb": 1 }, "pass": true, "seconds": 16.5180606842041, "total_seconds": 17.651288509368896, "stats": { "reqs_per_sec": 6.0539975420011105 }, "conf": { "sandbox_config": { "processes": 10 }, "sandbox": "sock", "Skip_pull_existing": false, "pip_mirror": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 250, "docker_runtime": "", "registry": "/tmp/tmpvz85l3ah", "server_mode": "lambda", "startup_pkgs": null, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 250, "timing": false, "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 } }, "exception": null, "worker_tail": [ "2019/06/27 21:49:39 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:39 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:39 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:39 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:39 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:39 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:39 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:49:39 remove worker.pid", "2019/06/27 21:49:39 exiting", "" ] } POP conf: {'registry': '/tmp/tmpvz85l3ah'} PUSH conf: {'registry': '/tmp/tmp3rqtww5x'} ======================================== 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=11137, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 11137\n' { "test": "call_each_once_exec", "params": { "lambda_count": 1000, "alloc_mb": 10 }, "pass": true, "seconds": 170.64635348320007, "total_seconds": 170.97198128700256, "stats": { "reqs_per_sec": 5.860073365064248 }, "conf": { "sandbox_config": { "processes": 10 }, "sandbox": "sock", "timing": false, "Skip_pull_existing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "docker_runtime": "", "registry": "/tmp/tmp3rqtww5x", "benchmark_log": "", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry_cache_ms": 5000, "handler_cache_mb": 250, "import_cache_mb": 250, "pip_mirror": "", "startup_pkgs": null }, "exception": null, "worker_tail": [ "2019/06/27 21:52:30 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:52:30 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:52:30 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:52:30 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:52:30 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:52:30 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:52:30 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/27 21:52:30 remove worker.pid", "2019/06/27 21:52:30 exiting", "" ] } POP conf: {'registry': '/tmp/tmp3rqtww5x'} POP conf: {'sandbox': 'sock', 'handler_cache_mb': 250, 'import_cache_mb': 250} PASSED: 16, FAILED: 0