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=7311, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7311\n' { "test": "sock_churn", "params": { "fork": true, "baseline": 0, "seconds": 15, "procs": 1 }, "pass": true, "seconds": 16.996084928512573, "total_seconds": 17.309004068374634, "stats": { "sandboxes_per_sec": 6.4 }, "conf": { "docker_runtime": "", "server_mode": "sock", "timing": false, "handler_cache_mb": 239, "cluster_name": "/root/open-lambda/test-cluster", "worker_port": "5000", "max_runners": 0, "benchmark_log": "", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-cluster/registry", "startup_pkgs": null, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "pip_mirror": "", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sandbox_config": { "processes": 10 }, "Skip_pull_existing": false, "import_cache_mb": 239, "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock" }, "exception": null, "worker_tail": [ "2019/06/24 21:42:37 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:42:37 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:42:37 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:42:37 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:42:37 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:42:37 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:42:37 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:42:37 remove worker.pid", "2019/06/24 21:42: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'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=7726, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7726\n' { "test": "ping_test", "params": {}, "pass": true, "seconds": 2.1528735160827637, "total_seconds": 17.643784284591675, "stats": { "pings_per_sec": 464.50190211592195 }, "conf": { "Skip_pull_existing": false, "docker_runtime": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "cluster_name": "/root/open-lambda/test-cluster", "handler_cache_mb": 239, "timing": false, "max_runners": 0, "server_mode": "lambda", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "worker_port": "5000", "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "benchmark_log": "", "import_cache_mb": 239, "sandbox_config": { "processes": 10 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "pip_mirror": "" }, "exception": null, "worker_tail": [ "2019/06/24 21:42:55 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:42:55 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:42:55 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:42:55 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:42:55 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:42:55 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:42:55 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:42:55 remove worker.pid", "2019/06/24 21:42:55 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=7799, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7799\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 2.072791814804077, "total_seconds": 10.135458707809448, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "server_mode": "lambda", "cluster_name": "/root/open-lambda/test-cluster", "handler_cache_mb": 100, "timing": false, "max_runners": 0, "benchmark_log": "", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "worker_port": "5000", "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "import_cache_mb": 0, "sandbox_config": { "processes": 10 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "pip_mirror": "" }, "exception": null, "worker_tail": [ "2019/06/24 21:43:05 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:43:05 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:43:05 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:43:05 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:43:05 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:43:05 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:43:05 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:43:05 remove worker.pid", "2019/06/24 21:43:05 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=7876, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7876\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.4374325275421143, "total_seconds": 9.604912519454956, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "server_mode": "lambda", "cluster_name": "/root/open-lambda/test-cluster", "handler_cache_mb": 250, "timing": false, "max_runners": 0, "benchmark_log": "", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "import_cache_mb": 0, "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock" }, "exception": null, "worker_tail": [ "2019/06/24 21:43:15 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:43:15 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:43:15 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:43:15 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:43:15 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:43:15 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:43:15 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 21:43:15 remove worker.pid", "2019/06/24 21:43:15 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=7954, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7954\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.3759119510650635, "total_seconds": 9.640510320663452, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "server_mode": "lambda", "cluster_name": "/root/open-lambda/test-cluster", "handler_cache_mb": 100, "timing": false, "max_runners": 0, "benchmark_log": "", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "worker_port": "5000", "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "sandbox_config": { "processes": 10 }, "Skip_pull_existing": false, "import_cache_mb": 250, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_dir": "/root/open-lambda/test-cluster/worker", "pip_mirror": "" }, "exception": null, "worker_tail": [ "2019/06/24 21:43:24 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:43:24 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:43:24 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:43:24 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:43:24 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:43:24 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:43:24 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:43:24 remove worker.pid", "2019/06/24 21:43:24 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=8038, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 8038\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.4769909381866455, "total_seconds": 9.742342948913574, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "server_mode": "lambda", "cluster_name": "/root/open-lambda/test-cluster", "handler_cache_mb": 250, "timing": false, "max_runners": 0, "benchmark_log": "", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "pip_mirror": "", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sandbox_config": { "processes": 10 }, "Skip_pull_existing": false, "import_cache_mb": 250, "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock" }, "exception": null, "worker_tail": [ "2019/06/24 21:43:34 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:43:34 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:43:34 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:43:34 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:43:34 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:43:34 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:43:34 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:43:34 remove worker.pid", "2019/06/24 21:43:34 exiting", "" ] } POP conf: {'handler_cache_mb': 250, 'import_cache_mb': 250} PUSH conf: {'handler_cache_mb': 100, 'import_cache_mb': 0, 'sandbox': 'docker'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=8123, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 8123\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 5.611050367355347, "total_seconds": 14.868476629257202, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "server_mode": "lambda", "cluster_name": "/root/open-lambda/test-cluster", "handler_cache_mb": 100, "timing": false, "max_runners": 0, "benchmark_log": "", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "worker_port": "5000", "sandbox": "docker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "import_cache_mb": 0, "sandbox_config": { "processes": 10 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "pip_mirror": "" }, "exception": null, "worker_tail": [ "2019/06/24 21:43:48 Pause() [SB 3]", "2019/06/24 21:43:48 MemUsageKB() [SB 3]", "2019/06/24 21:43:48 received kill signal, cleaning up", "2019/06/24 21:43:48 Destroy() [SB 0]", "2019/06/24 21:43:48 Destroy() [SB 1]", "2019/06/24 21:43:48 Destroy() [SB 2]", "2019/06/24 21:43:49 Destroy() [SB 3]", "2019/06/24 21:43:49 remove worker.pid", "2019/06/24 21:43:49 exiting", "" ] } POP conf: {'handler_cache_mb': 100, 'import_cache_mb': 0, 'sandbox': 'docker'} PUSH conf: {'handler_cache_mb': 250, 'import_cache_mb': 0, 'sandbox': 'docker'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=9169, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 9169\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 2.867699146270752, "total_seconds": 11.629509449005127, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "server_mode": "lambda", "cluster_name": "/root/open-lambda/test-cluster", "handler_cache_mb": 250, "timing": false, "max_runners": 0, "benchmark_log": "", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "import_cache_mb": 0, "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "docker" }, "exception": null, "worker_tail": [ "2019/06/24 21:44:00 Pause() [SB 3]", "2019/06/24 21:44:00 MemUsageKB() [SB 3]", "2019/06/24 21:44:00 received kill signal, cleaning up", "2019/06/24 21:44:00 Destroy() [SB 0]", "2019/06/24 21:44:00 Destroy() [SB 1]", "2019/06/24 21:44:00 Destroy() [SB 2]", "2019/06/24 21:44:00 Destroy() [SB 3]", "2019/06/24 21:44:00 remove worker.pid", "2019/06/24 21:44:00 exiting", "" ] } POP conf: {'handler_cache_mb': 250, 'import_cache_mb': 0, 'sandbox': 'docker'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10208, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10208\n' { "test": "fork_bomb", "params": {}, "pass": true, "seconds": 0.1658010482788086, "total_seconds": 8.328062057495117, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "server_mode": "lambda", "cluster_name": "/root/open-lambda/test-cluster", "handler_cache_mb": 239, "timing": false, "max_runners": 0, "benchmark_log": "", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "worker_port": "5000", "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "import_cache_mb": 239, "sandbox_config": { "processes": 10 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "pip_mirror": "" }, "exception": null, "worker_tail": [ "2019/06/24 21:44:09 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:09 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:09 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:09 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:09 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:09 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:09 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:09 remove worker.pid", "2019/06/24 21:44:09 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10283, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10283\n' { "test": "max_mem_alloc", "params": {}, "pass": true, "seconds": 1.006263256072998, "total_seconds": 9.270308494567871, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "server_mode": "lambda", "cluster_name": "/root/open-lambda/test-cluster", "handler_cache_mb": 239, "timing": false, "max_runners": 0, "benchmark_log": "", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "worker_port": "5000", "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "import_cache_mb": 239, "sandbox_config": { "processes": 10 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "pip_mirror": "" }, "exception": null, "worker_tail": [ "2019/06/24 21:44:18 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:18 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:18 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:18 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:18 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:18 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:18 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:18 remove worker.pid", "2019/06/24 21:44:18 exiting", "" ] } POP conf: {'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson'], 'registry': '/root/open-lambda/test-registry'} PUSH conf: {'registry': '/root/open-lambda/test-registry', 'handler_cache_mb': 250, 'import_cache_mb': 250, 'sandbox': 'sock'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10400, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10400\n' { "test": "stress_one_lambda", "params": { "procs": 1, "seconds": 15 }, "pass": true, "seconds": 15.044666767120361, "total_seconds": 15.380173444747925, "stats": { "reqs_per_sec": 275.3333333333333 }, "conf": { "startup_pkgs": null, "docker_runtime": "", "server_mode": "lambda", "cluster_name": "/root/open-lambda/test-cluster", "handler_cache_mb": 250, "timing": false, "max_runners": 0, "benchmark_log": "", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "pip_mirror": "", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sandbox_config": { "processes": 10 }, "Skip_pull_existing": false, "import_cache_mb": 250, "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock" }, "exception": null, "worker_tail": [ "2019/06/24 21:44:33 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:33 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:33 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:33 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:33 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:33 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:33 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:33 remove worker.pid", "2019/06/24 21:44:33 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10441, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10441\n' { "test": "stress_one_lambda", "params": { "procs": 2, "seconds": 15 }, "pass": true, "seconds": 15.054596424102783, "total_seconds": 15.39197587966919, "stats": { "reqs_per_sec": 269.2 }, "conf": { "startup_pkgs": null, "docker_runtime": "", "server_mode": "lambda", "cluster_name": "/root/open-lambda/test-cluster", "handler_cache_mb": 250, "timing": false, "max_runners": 0, "benchmark_log": "", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "pip_mirror": "", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sandbox_config": { "processes": 10 }, "Skip_pull_existing": false, "import_cache_mb": 250, "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock" }, "exception": null, "worker_tail": [ "2019/06/24 21:44:49 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:49 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:49 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:49 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:49 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:49 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:49 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:44:49 remove worker.pid", "2019/06/24 21:44:49 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=10488, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10488\n' { "test": "stress_one_lambda", "params": { "procs": 8, "seconds": 15 }, "pass": true, "seconds": 15.072656631469727, "total_seconds": 15.417139053344727, "stats": { "reqs_per_sec": 231.93333333333334 }, "conf": { "startup_pkgs": null, "docker_runtime": "", "server_mode": "lambda", "cluster_name": "/root/open-lambda/test-cluster", "handler_cache_mb": 500, "timing": false, "max_runners": 0, "benchmark_log": "", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "import_cache_mb": 100, "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock" }, "exception": null, "worker_tail": [ "2019/06/24 21:45:04 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:45:04 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:45:04 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:45:04 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:45:04 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:45:04 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:45:04 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:45:04 remove worker.pid", "2019/06/24 21:45:04 exiting", "" ] } POP conf: {'handler_cache_mb': 500, 'import_cache_mb': 100} POP conf: {'registry': '/root/open-lambda/test-registry', 'handler_cache_mb': 250, 'import_cache_mb': 250, 'sandbox': 'sock'} PUSH conf: {'handler_cache_mb': 250, 'import_cache_mb': 250, 'sandbox': 'sock'} PUSH conf: {'registry': '/tmp/tmp7e4xdia5'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10571, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10571\n' { "test": "call_each_once_exec", "params": { "lambda_count": 100, "alloc_mb": 1 }, "pass": true, "seconds": 16.158591508865356, "total_seconds": 16.70220398902893, "stats": { "reqs_per_sec": 6.188668345561879 }, "conf": { "startup_pkgs": null, "docker_runtime": "", "server_mode": "lambda", "cluster_name": "/root/open-lambda/test-cluster", "handler_cache_mb": 250, "timing": false, "max_runners": 0, "benchmark_log": "", "registry_cache_ms": 5000, "registry": "/tmp/tmp7e4xdia5", "worker_port": "5000", "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "sandbox_config": { "processes": 10 }, "Skip_pull_existing": false, "import_cache_mb": 250, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_dir": "/root/open-lambda/test-cluster/worker", "pip_mirror": "" }, "exception": null, "worker_tail": [ "2019/06/24 21:45:21 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:45:21 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:45:21 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:45:21 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:45:21 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:45:21 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:45:21 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:45:21 remove worker.pid", "2019/06/24 21:45:21 exiting", "" ] } POP conf: {'registry': '/tmp/tmp7e4xdia5'} PUSH conf: {'registry': '/tmp/tmp5fa__09b'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=11100, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 11100\n' { "test": "call_each_once_exec", "params": { "lambda_count": 1000, "alloc_mb": 10 }, "pass": true, "seconds": 169.3638653755188, "total_seconds": 169.6898694038391, "stats": { "reqs_per_sec": 5.904448110186213 }, "conf": { "startup_pkgs": null, "docker_runtime": "", "server_mode": "lambda", "cluster_name": "/root/open-lambda/test-cluster", "handler_cache_mb": 250, "timing": false, "max_runners": 0, "benchmark_log": "", "registry_cache_ms": 5000, "registry": "/tmp/tmp5fa__09b", "worker_port": "5000", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "pip_mirror": "", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sandbox_config": { "processes": 10 }, "Skip_pull_existing": false, "import_cache_mb": 250, "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock" }, "exception": null, "worker_tail": [ "2019/06/24 21:48:11 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:48:11 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:48:11 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:48:11 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:48:11 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:48:11 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:48:11 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 21:48:11 remove worker.pid", "2019/06/24 21:48:11 exiting", "" ] } POP conf: {'registry': '/tmp/tmp5fa__09b'} POP conf: {'handler_cache_mb': 250, 'import_cache_mb': 250, 'sandbox': 'sock'} PASSED: 15, FAILED: 0