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=7312, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7312\n' { "test": "sock_churn", "params": { "baseline": 0, "seconds": 15, "fork": true, "procs": 1 }, "pass": true, "seconds": 17.016165256500244, "total_seconds": 17.394620656967163, "stats": { "sandboxes_per_sec": 6.533333333333333 }, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 239, "handler_cache_mb": 239, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "sock", "worker_dir": "/root/open-lambda/test-cluster/worker", "startup_pkgs": null, "max_runners": 0, "server_mode": "sock", "registry": "/root/open-lambda/test-cluster/registry", "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/24 16:12:39 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:12:39 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:12:39 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:12:39 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:12:39 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:12:39 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:12:39 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:12:39 remove worker.pid", "2019/06/24 16:12:39 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=7736, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7736\n' { "test": "ping_test", "params": {}, "pass": true, "seconds": 2.162276029586792, "total_seconds": 23.477113485336304, "stats": { "pings_per_sec": 462.4795708888778 }, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 239, "handler_cache_mb": 239, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "sock", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0, "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "timing": false, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "worker_dir": "/root/open-lambda/test-cluster/worker" }, "exception": null, "worker_tail": [ "2019/06/24 16:13:03 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:03 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:03 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:03 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:03 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:03 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:03 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:03 remove worker.pid", "2019/06/24 16:13:03 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=7810, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7810\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.751378059387207, "total_seconds": 9.913455963134766, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 0, "handler_cache_mb": 100, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "sock", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0, "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "timing": false, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "worker_dir": "/root/open-lambda/test-cluster/worker" }, "exception": null, "worker_tail": [ "2019/06/24 16:13:13 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:13:13 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:13:13 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:13:13 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:13:13 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:13:13 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:13:13 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:13:13 remove worker.pid", "2019/06/24 16:13:13 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=7886, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7886\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.3276219367980957, "total_seconds": 9.90307331085205, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 0, "handler_cache_mb": 250, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "sock", "worker_dir": "/root/open-lambda/test-cluster/worker", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0, "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/24 16:13:22 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:13:22 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:13:22 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:13:22 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:13:22 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:13:22 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:13:22 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/24 16:13:22 remove worker.pid", "2019/06/24 16:13:22 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=7964, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7964\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.4253730773925781, "total_seconds": 9.687496185302734, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 250, "handler_cache_mb": 100, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "sock", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0, "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "timing": false, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "worker_dir": "/root/open-lambda/test-cluster/worker" }, "exception": null, "worker_tail": [ "2019/06/24 16:13:32 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:32 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:32 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:32 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:32 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:32 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:32 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:32 remove worker.pid", "2019/06/24 16:13:32 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=8049, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 8049\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.3222885131835938, "total_seconds": 9.886601209640503, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 250, "handler_cache_mb": 250, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "sock", "worker_dir": "/root/open-lambda/test-cluster/worker", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0, "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/24 16:13:42 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:42 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:42 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:42 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:42 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:42 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:42 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:13:42 remove worker.pid", "2019/06/24 16:13:42 exiting", "" ] } POP conf: {'handler_cache_mb': 250, 'import_cache_mb': 250} PUSH conf: {'sandbox': 'docker', '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=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.155255079269409, "total_seconds": 16.707892656326294, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 0, "handler_cache_mb": 100, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "docker", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0, "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "timing": false, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "worker_dir": "/root/open-lambda/test-cluster/worker" }, "exception": null, "worker_tail": [ "2019/06/24 16:13:57 Pause() [SB 3]", "2019/06/24 16:13:57 MemUsageKB() [SB 3]", "2019/06/24 16:13:57 received kill signal, cleaning up", "2019/06/24 16:13:57 Destroy() [SB 0]", "2019/06/24 16:13:58 Destroy() [SB 1]", "2019/06/24 16:13:58 Destroy() [SB 2]", "2019/06/24 16:13:58 Destroy() [SB 3]", "2019/06/24 16:13:59 remove worker.pid", "2019/06/24 16:13:59 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} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=9182, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 9182\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 3.574735164642334, "total_seconds": 12.54271411895752, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 0, "handler_cache_mb": 250, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "docker", "worker_dir": "/root/open-lambda/test-cluster/worker", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0, "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/24 16:14:10 Pause() [SB 3]", "2019/06/24 16:14:10 MemUsageKB() [SB 3]", "2019/06/24 16:14:10 received kill signal, cleaning up", "2019/06/24 16:14:10 Destroy() [SB 0]", "2019/06/24 16:14:11 Destroy() [SB 1]", "2019/06/24 16:14:11 Destroy() [SB 2]", "2019/06/24 16:14:11 Destroy() [SB 3]", "2019/06/24 16:14:11 remove worker.pid", "2019/06/24 16:14:11 exiting", "" ] } POP conf: {'sandbox': 'docker', '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=10227, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10227\n' { "test": "fork_bomb", "params": {}, "pass": true, "seconds": 0.16265487670898438, "total_seconds": 8.42289137840271, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 239, "handler_cache_mb": 239, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "sock", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0, "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "timing": false, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "worker_dir": "/root/open-lambda/test-cluster/worker" }, "exception": null, "worker_tail": [ "2019/06/24 16:14:20 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:20 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:20 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:20 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:20 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:20 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:20 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:20 remove worker.pid", "2019/06/24 16:14:20 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10303, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10303\n' { "test": "max_mem_alloc", "params": {}, "pass": true, "seconds": 0.989203929901123, "total_seconds": 9.252098083496094, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 239, "handler_cache_mb": 239, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "sock", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0, "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "timing": false, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "worker_dir": "/root/open-lambda/test-cluster/worker" }, "exception": null, "worker_tail": [ "2019/06/24 16:14:29 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:29 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:29 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:29 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:29 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:29 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:29 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:29 remove worker.pid", "2019/06/24 16:14:29 exiting", "" ] } POP conf: {'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson'], 'registry': '/root/open-lambda/test-registry'} PUSH conf: {'sandbox': 'sock', 'handler_cache_mb': 250, 'import_cache_mb': 250, '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=10421, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10421\n' { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 1 }, "pass": true, "seconds": 15.048236608505249, "total_seconds": 15.37890625, "stats": { "reqs_per_sec": 275.8666666666667 }, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 250, "handler_cache_mb": 250, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "sock", "worker_dir": "/root/open-lambda/test-cluster/worker", "startup_pkgs": null, "max_runners": 0, "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/24 16:14:44 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:44 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:44 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:44 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:44 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:44 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:44 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:14:44 remove worker.pid", "2019/06/24 16:14:44 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10461, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10461\n' { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 2 }, "pass": true, "seconds": 15.052120208740234, "total_seconds": 15.383793354034424, "stats": { "reqs_per_sec": 274.2 }, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 250, "handler_cache_mb": 250, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "sock", "worker_dir": "/root/open-lambda/test-cluster/worker", "startup_pkgs": null, "max_runners": 0, "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/24 16:15:00 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:00 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:00 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:00 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:00 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:00 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:00 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:00 remove worker.pid", "2019/06/24 16:15:00 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=10507, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10507\n' { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 8 }, "pass": true, "seconds": 15.067709684371948, "total_seconds": 15.40024185180664, "stats": { "reqs_per_sec": 229.6 }, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 100, "handler_cache_mb": 500, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "sock", "worker_dir": "/root/open-lambda/test-cluster/worker", "startup_pkgs": null, "max_runners": 0, "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/24 16:15:15 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:15 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:15 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:15 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:15 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:15 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:15 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:15 remove worker.pid", "2019/06/24 16:15:15 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/tmpf872cz6p'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10590, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10590\n' { "test": "call_each_once_exec", "params": { "alloc_mb": 1, "lambda_count": 100 }, "pass": true, "seconds": 16.32587766647339, "total_seconds": 16.66501545906067, "stats": { "reqs_per_sec": 6.125253822182925 }, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 250, "handler_cache_mb": 250, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "sock", "startup_pkgs": null, "max_runners": 0, "server_mode": "lambda", "registry": "/tmp/tmpf872cz6p", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "timing": false, "Skip_pull_existing": false, "cluster_name": "/root/open-lambda/test-cluster", "worker_dir": "/root/open-lambda/test-cluster/worker" }, "exception": null, "worker_tail": [ "2019/06/24 16:15:32 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:32 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:32 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:32 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:32 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:32 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:32 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:15:32 remove worker.pid", "2019/06/24 16:15:32 exiting", "" ] } POP conf: {'registry': '/tmp/tmpf872cz6p'} PUSH conf: {'registry': '/tmp/tmp1w8frk00'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=11119, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 11119\n' { "test": "call_each_once_exec", "params": { "alloc_mb": 10, "lambda_count": 1000 }, "pass": true, "seconds": 170.8609356880188, "total_seconds": 171.18500232696533, "stats": { "reqs_per_sec": 5.852713735262978 }, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "docker_runtime": "", "import_cache_mb": 250, "handler_cache_mb": 250, "benchmark_log": "", "sandbox_config": { "processes": 10 }, "worker_port": "5000", "sock_cgroups": { "max_mem_mb": 50, "max_procs": 10 }, "pip_mirror": "", "registry_cache_ms": 5000, "sandbox": "sock", "worker_dir": "/root/open-lambda/test-cluster/worker", "startup_pkgs": null, "max_runners": 0, "server_mode": "lambda", "registry": "/tmp/tmp1w8frk00", "cluster_name": "/root/open-lambda/test-cluster", "Skip_pull_existing": false, "timing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/24 16:18:23 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:18:23 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:18:23 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:18:23 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:18:23 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:18:23 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:18:23 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/24 16:18:23 remove worker.pid", "2019/06/24 16:18:23 exiting", "" ] } POP conf: {'registry': '/tmp/tmp1w8frk00'} POP conf: {'sandbox': 'sock', 'handler_cache_mb': 250, 'import_cache_mb': 250} PASSED: 15, FAILED: 0