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=7294, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7294\n' { "test": "sock_churn", "params": { "seconds": 15, "fork": true, "baseline": 0, "procs": 1 }, "pass": true, "seconds": 16.81840968132019, "total_seconds": 17.077319622039795, "stats": { "sandboxes_per_sec": 6.533333333333333 }, "conf": { "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 239, "benchmark_log": "", "max_runners": 0, "sandbox_config": { "processes": 10 }, "startup_pkgs": null, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "pip_mirror": "", "timing": false, "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "sock", "import_cache_mb": 239, "sandbox": "sock", "registry": "/root/open-lambda/test-cluster/registry", "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "docker_runtime": "", "registry_cache_ms": 5000 }, "exception": null, "worker_tail": [ "2019/06/26 16:33:57 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:33:57 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:33:57 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:33:57 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:33:57 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:33:57 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:33:57 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:33:57 remove worker.pid", "2019/06/26 16:33:57 exiting", "" ] } POP conf: {'server_mode': 'sock'} PUSH conf: {'registry': '/root/open-lambda/test-registry', 'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson']} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=7716, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7716\n' { "test": "ping_test", "params": {}, "pass": true, "seconds": 2.1551456451416016, "total_seconds": 19.052172899246216, "stats": { "pings_per_sec": 464.00986983884513 }, "conf": { "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 239, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "import_cache_mb": 239, "registry_cache_ms": 5000, "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "timing": false, "sandbox": "sock", "max_runners": 0, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/26 16:34:16 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:16 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:16 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:16 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:16 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:16 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:16 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:16 remove worker.pid", "2019/06/26 16:34:16 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=7789, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7789\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.7920351028442383, "total_seconds": 9.752861022949219, "stats": null, "conf": { "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 100, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "timing": false, "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "import_cache_mb": 0, "sandbox": "sock", "max_runners": 0, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "registry_cache_ms": 5000, "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/26 16:34:26 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:34:26 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:34:26 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:34:26 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:34:26 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:34:26 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:34:26 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:34:26 remove worker.pid", "2019/06/26 16:34:26 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=7866, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7866\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.546123743057251, "total_seconds": 9.618949890136719, "stats": null, "conf": { "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 250, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "import_cache_mb": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "pip_mirror": "", "max_runners": 0, "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "timing": false, "sandbox": "sock", "registry": "/root/open-lambda/test-registry", "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "docker_runtime": "", "registry_cache_ms": 5000 }, "exception": null, "worker_tail": [ "2019/06/26 16:34:35 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:34:35 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:34:35 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:34:35 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:34:35 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:34:35 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:34:35 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/26 16:34:35 remove worker.pid", "2019/06/26 16:34:35 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=7945, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7945\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.3335323333740234, "total_seconds": 9.499621391296387, "stats": null, "conf": { "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 100, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "sandbox_config": { "processes": 10 }, "benchmark_log": "", "registry_cache_ms": 5000, "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "import_cache_mb": 250, "sandbox": "sock", "max_runners": 0, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "timing": false }, "exception": null, "worker_tail": [ "2019/06/26 16:34:45 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:45 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:45 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:45 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:45 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:45 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:45 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:45 remove worker.pid", "2019/06/26 16:34:45 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=8029, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 8029\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.445608139038086, "total_seconds": 9.621593475341797, "stats": null, "conf": { "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 250, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "timing": false, "registry_cache_ms": 5000, "worker_port": "5000", "pip_mirror": "", "max_runners": 0, "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "import_cache_mb": 250, "sandbox": "sock", "registry": "/root/open-lambda/test-registry", "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/26 16:34:55 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:55 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:55 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:55 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:55 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:55 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:55 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:34:55 remove worker.pid", "2019/06/26 16:34:55 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=8115, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 8115\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 6.8974175453186035, "total_seconds": 16.256032943725586, "stats": null, "conf": { "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 100, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "import_cache_mb": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "timing": false, "sandbox": "docker", "max_runners": 0, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "registry_cache_ms": 5000, "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/26 16:35:10 Channel() [SB 3]", "2019/06/26 16:35:10 Pause() [SB 3]", "2019/06/26 16:35:10 received kill signal, cleaning up", "2019/06/26 16:35:10 Destroy() [SB 0]", "2019/06/26 16:35:10 Destroy() [SB 1]", "2019/06/26 16:35:11 Destroy() [SB 2]", "2019/06/26 16:35:11 Destroy() [SB 3]", "2019/06/26 16:35:11 remove worker.pid", "2019/06/26 16:35:11 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=9159, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 9159\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 2.8291618824005127, "total_seconds": 11.70364761352539, "stats": null, "conf": { "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 250, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "pip_mirror": "", "max_runners": 0, "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "import_cache_mb": 0, "sandbox": "docker", "registry": "/root/open-lambda/test-registry", "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "docker_runtime": "", "timing": false, "registry_cache_ms": 5000 }, "exception": null, "worker_tail": [ "2019/06/26 16:35:22 Channel() [SB 3]", "2019/06/26 16:35:22 Pause() [SB 3]", "2019/06/26 16:35:22 received kill signal, cleaning up", "2019/06/26 16:35:22 Destroy() [SB 0]", "2019/06/26 16:35:22 Destroy() [SB 1]", "2019/06/26 16:35:22 Destroy() [SB 2]", "2019/06/26 16:35:22 Destroy() [SB 3]", "2019/06/26 16:35:23 remove worker.pid", "2019/06/26 16:35:23 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=10202, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10202\n' { "test": "fork_bomb", "params": {}, "pass": true, "seconds": 0.16161775588989258, "total_seconds": 8.32598614692688, "stats": null, "conf": { "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 239, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "import_cache_mb": 239, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "timing": false, "sandbox": "sock", "max_runners": 0, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "registry_cache_ms": 5000, "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/26 16:35:31 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:31 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:31 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:31 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:31 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:31 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:31 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:31 remove worker.pid", "2019/06/26 16:35:31 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10279, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10279\n' { "test": "max_mem_alloc", "params": {}, "pass": true, "seconds": 0.9873452186584473, "total_seconds": 9.2604501247406, "stats": null, "conf": { "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 239, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "import_cache_mb": 239, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "timing": false, "sandbox": "sock", "max_runners": 0, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "registry_cache_ms": 5000, "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/26 16:35:40 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:40 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:40 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:40 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:40 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:40 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:40 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:40 remove worker.pid", "2019/06/26 16:35:40 exiting", "" ] } POP conf: {'registry': '/root/open-lambda/test-registry', 'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson']} PUSH conf: {'registry': '/tmp/tmpx0ffmw2g', 'sandbox': 'sock', 'registry_cache_ms': 3000} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10397, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10397\n' { "test": "update_code", "params": {}, "pass": true, "seconds": 6.162130117416382, "total_seconds": 6.496084928512573, "stats": null, "conf": { "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 239, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": null, "registry_cache_ms": 3000, "worker_port": "5000", "pip_mirror": "", "max_runners": 0, "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "import_cache_mb": 239, "sandbox": "sock", "registry": "/tmp/tmpx0ffmw2g", "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "docker_runtime": "", "timing": false }, "exception": null, "worker_tail": [ "2019/06/26 16:35:47 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:47 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:47 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:47 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:47 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:47 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:47 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:35:47 remove worker.pid", "2019/06/26 16:35:47 exiting", "" ] } POP conf: {'registry': '/tmp/tmpx0ffmw2g', 'sandbox': 'sock', 'registry_cache_ms': 3000} 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=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": 1, "seconds": 15 }, "pass": true, "seconds": 15.042666673660278, "total_seconds": 15.373510360717773, "stats": { "reqs_per_sec": 278.2 }, "conf": { "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 250, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": null, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "timing": false, "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "import_cache_mb": 250, "sandbox": "sock", "max_runners": 0, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "registry_cache_ms": 5000, "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/26 16:36:02 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:02 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:02 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:02 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:02 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:02 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:02 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:02 remove worker.pid", "2019/06/26 16:36:02 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10489, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10489\n' { "test": "stress_one_lambda", "params": { "procs": 2, "seconds": 15 }, "pass": true, "seconds": 15.054286479949951, "total_seconds": 15.385339975357056, "stats": { "reqs_per_sec": 260.6666666666667 }, "conf": { "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 250, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": null, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "timing": false, "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "import_cache_mb": 250, "sandbox": "sock", "max_runners": 0, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "registry_cache_ms": 5000, "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/26 16:36:17 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:17 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:17 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:17 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:17 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:17 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:17 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:17 remove worker.pid", "2019/06/26 16:36:17 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=10554, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10554\n' { "test": "stress_one_lambda", "params": { "procs": 8, "seconds": 15 }, "pass": true, "seconds": 15.074586153030396, "total_seconds": 15.407442331314087, "stats": { "reqs_per_sec": 219.86666666666667 }, "conf": { "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 500, "startup_pkgs": null, "sandbox_config": { "processes": 10 }, "benchmark_log": "", "registry_cache_ms": 5000, "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "import_cache_mb": 100, "sandbox": "sock", "max_runners": 0, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "timing": false }, "exception": null, "worker_tail": [ "2019/06/26 16:36:33 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:33 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:33 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:33 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:33 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:33 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:33 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:33 remove worker.pid", "2019/06/26 16:36:33 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/tmpyzauaj7l'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10661, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10661\n' { "test": "call_each_once_exec", "params": { "alloc_mb": 1, "lambda_count": 100 }, "pass": true, "seconds": 16.06961226463318, "total_seconds": 16.414790868759155, "stats": { "reqs_per_sec": 6.222935013647329 }, "conf": { "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 250, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": null, "timing": false, "registry_cache_ms": 5000, "worker_port": "5000", "pip_mirror": "", "max_runners": 0, "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "import_cache_mb": 250, "sandbox": "sock", "registry": "/tmp/tmpyzauaj7l", "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/26 16:36:49 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:49 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:49 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:49 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:49 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:49 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:49 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:36:49 remove worker.pid", "2019/06/26 16:36:49 exiting", "" ] } POP conf: {'registry': '/tmp/tmpyzauaj7l'} PUSH conf: {'registry': '/tmp/tmpdnxd9j93'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=11190, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 11190\n' { "test": "call_each_once_exec", "params": { "alloc_mb": 10, "lambda_count": 1000 }, "pass": true, "seconds": 165.30850195884705, "total_seconds": 165.6318380832672, "stats": { "reqs_per_sec": 6.049296581330908 }, "conf": { "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "handler_cache_mb": 250, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "startup_pkgs": null, "import_cache_mb": 250, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "worker_port": "5000", "registry": "/tmp/tmpdnxd9j93", "pip_mirror": "", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "server_mode": "lambda", "timing": false, "sandbox": "sock", "max_runners": 0, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "registry_cache_ms": 5000, "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/26 16:39:35 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:39:35 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:39:35 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:39:35 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:39:35 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:39:35 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:39:35 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/26 16:39:35 remove worker.pid", "2019/06/26 16:39:35 exiting", "" ] } POP conf: {'registry': '/tmp/tmpdnxd9j93'} POP conf: {'handler_cache_mb': 250, 'import_cache_mb': 250, 'sandbox': 'sock'} PASSED: 16, FAILED: 0