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=7300, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7300\n' { "test": "sock_churn", "params": { "procs": 1, "fork": true, "seconds": 15, "baseline": 0 }, "pass": true, "seconds": 16.961992263793945, "total_seconds": 17.232062816619873, "stats": { "sandboxes_per_sec": 6.466666666666667 }, "conf": { "startup_pkgs": null, "server_mode": "sock", "handler_cache_mb": 239, "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "worker_port": "5000", "import_cache_mb": 239, "benchmark_log": "", "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry": "/root/open-lambda/test-cluster/registry", "pip_mirror": "", "timing": false, "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:44:29 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:44:29 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:44:29 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:44:29 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:44:29 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:44:29 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:44:29 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:44:29 remove worker.pid", "2019/06/25 21:44:29 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=7720, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7720\n' { "test": "ping_test", "params": {}, "pass": true, "seconds": 2.11523699760437, "total_seconds": 22.93221950531006, "stats": { "pings_per_sec": 472.76420661116316 }, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "server_mode": "lambda", "handler_cache_mb": 239, "timing": false, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "Skip_pull_existing": false, "max_runners": 0, "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "benchmark_log": "", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "sandbox": "sock", "import_cache_mb": 239, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:44:52 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:44:52 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:44:52 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:44:52 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:44:52 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:44:52 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:44:52 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:44:52 remove worker.pid", "2019/06/25 21:44:52 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=7794, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7794\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.8265841007232666, "total_seconds": 10.16524600982666, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "server_mode": "lambda", "handler_cache_mb": 100, "timing": false, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "Skip_pull_existing": false, "max_runners": 0, "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "benchmark_log": "", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "sandbox": "sock", "import_cache_mb": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:45:03 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:45:03 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:45:03 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:45:03 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:45:03 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:45:03 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:45:03 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:45:03 remove worker.pid", "2019/06/25 21:45:03 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=7869, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7869\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.432910680770874, "total_seconds": 9.50572156906128, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "server_mode": "lambda", "handler_cache_mb": 250, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "worker_port": "5000", "registry_cache_ms": 5000, "benchmark_log": "", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "import_cache_mb": 0, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry": "/root/open-lambda/test-registry", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "timing": false, "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:45:12 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:45:12 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:45:12 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:45:12 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:45:12 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:45:12 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:45:12 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/25 21:45:12 remove worker.pid", "2019/06/25 21:45:12 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=7948, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 7948\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.3286712169647217, "total_seconds": 9.790028095245361, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "server_mode": "lambda", "handler_cache_mb": 100, "timing": false, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "Skip_pull_existing": false, "max_runners": 0, "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "benchmark_log": "", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "sandbox": "sock", "import_cache_mb": 250, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:45:22 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:45:22 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:45:22 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:45:22 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:45:22 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:45:22 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:45:22 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:45:22 remove worker.pid", "2019/06/25 21:45:22 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=8033, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 8033\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.6312594413757324, "total_seconds": 9.804465532302856, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "server_mode": "lambda", "handler_cache_mb": 250, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "worker_port": "5000", "registry_cache_ms": 5000, "benchmark_log": "", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "import_cache_mb": 250, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry": "/root/open-lambda/test-registry", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "timing": false, "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:45:32 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:45:32 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:45:32 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:45:32 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:45:32 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:45:32 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:45:32 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:45:32 remove worker.pid", "2019/06/25 21:45:32 exiting", "" ] } POP conf: {'handler_cache_mb': 250, 'import_cache_mb': 250} PUSH conf: {'handler_cache_mb': 100, 'sandbox': 'docker', '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=8119, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 8119\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 7.024764060974121, "total_seconds": 17.281092166900635, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "server_mode": "lambda", "handler_cache_mb": 100, "timing": false, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "Skip_pull_existing": false, "max_runners": 0, "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "benchmark_log": "", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "sandbox": "docker", "import_cache_mb": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:45:47 Pause() [SB 3]", "2019/06/25 21:45:47 MemUsageKB() [SB 3]", "2019/06/25 21:45:47 received kill signal, cleaning up", "2019/06/25 21:45:47 Destroy() [SB 0]", "2019/06/25 21:45:48 Destroy() [SB 1]", "2019/06/25 21:45:49 Destroy() [SB 2]", "2019/06/25 21:45:49 Destroy() [SB 3]", "2019/06/25 21:45:49 remove worker.pid", "2019/06/25 21:45:49 exiting", "" ] } POP conf: {'handler_cache_mb': 100, 'sandbox': 'docker', 'import_cache_mb': 0} PUSH conf: {'handler_cache_mb': 250, 'sandbox': 'docker', '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=9168, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 9168\n' { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 3.7848029136657715, "total_seconds": 12.663971424102783, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "server_mode": "lambda", "handler_cache_mb": 250, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "worker_port": "5000", "registry_cache_ms": 5000, "benchmark_log": "", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "import_cache_mb": 0, "sandbox": "docker", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry": "/root/open-lambda/test-registry", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "timing": false, "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:46:01 Pause() [SB 3]", "2019/06/25 21:46:01 MemUsageKB() [SB 3]", "2019/06/25 21:46:01 received kill signal, cleaning up", "2019/06/25 21:46:01 Destroy() [SB 0]", "2019/06/25 21:46:01 Destroy() [SB 1]", "2019/06/25 21:46:01 Destroy() [SB 2]", "2019/06/25 21:46:01 Destroy() [SB 3]", "2019/06/25 21:46:02 remove worker.pid", "2019/06/25 21:46:02 exiting", "" ] } POP conf: {'handler_cache_mb': 250, 'sandbox': 'docker', '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=10210, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10210\n' { "test": "fork_bomb", "params": {}, "pass": true, "seconds": 0.16294097900390625, "total_seconds": 8.725749492645264, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "server_mode": "lambda", "handler_cache_mb": 239, "timing": false, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "Skip_pull_existing": false, "max_runners": 0, "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "benchmark_log": "", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "sandbox": "sock", "import_cache_mb": 239, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:46:10 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:10 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:10 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:10 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:10 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:10 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:10 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:10 remove worker.pid", "2019/06/25 21:46:10 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10287, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10287\n' { "test": "max_mem_alloc", "params": {}, "pass": true, "seconds": 0.9493684768676758, "total_seconds": 9.31039023399353, "stats": null, "conf": { "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "server_mode": "lambda", "handler_cache_mb": 239, "timing": false, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "Skip_pull_existing": false, "max_runners": 0, "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "benchmark_log": "", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "sandbox": "sock", "import_cache_mb": 239, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:46:20 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:20 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:20 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:20 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:20 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:20 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:20 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:20 remove worker.pid", "2019/06/25 21:46:20 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, 'sandbox': 'sock', '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=10404, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10404\n' { "test": "stress_one_lambda", "params": { "procs": 1, "seconds": 15 }, "pass": true, "seconds": 15.046207666397095, "total_seconds": 15.37675428390503, "stats": { "reqs_per_sec": 283.53333333333336 }, "conf": { "startup_pkgs": null, "server_mode": "lambda", "handler_cache_mb": 250, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "worker_port": "5000", "registry_cache_ms": 5000, "benchmark_log": "", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "import_cache_mb": 250, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry": "/root/open-lambda/test-registry", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "timing": false, "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:46:35 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:35 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:35 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:35 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:35 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:35 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:35 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:35 remove worker.pid", "2019/06/25 21:46:35 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10444, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10444\n' { "test": "stress_one_lambda", "params": { "procs": 2, "seconds": 15 }, "pass": true, "seconds": 15.049110889434814, "total_seconds": 15.381721496582031, "stats": { "reqs_per_sec": 272.8 }, "conf": { "startup_pkgs": null, "server_mode": "lambda", "handler_cache_mb": 250, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "worker_port": "5000", "registry_cache_ms": 5000, "benchmark_log": "", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "import_cache_mb": 250, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry": "/root/open-lambda/test-registry", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "timing": false, "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:46:50 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:50 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:50 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:50 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:50 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:50 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:50 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:46:50 remove worker.pid", "2019/06/25 21:46:50 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=10490, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10490\n' { "test": "stress_one_lambda", "params": { "procs": 8, "seconds": 15 }, "pass": true, "seconds": 15.0686194896698, "total_seconds": 15.403189182281494, "stats": { "reqs_per_sec": 236.2 }, "conf": { "startup_pkgs": null, "server_mode": "lambda", "handler_cache_mb": 500, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "worker_port": "5000", "registry_cache_ms": 5000, "benchmark_log": "", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "import_cache_mb": 100, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry": "/root/open-lambda/test-registry", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "timing": false, "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:47:06 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:47:06 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:47:06 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:47:06 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:47:06 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:47:06 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:47:06 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:47:06 remove worker.pid", "2019/06/25 21:47:06 exiting", "" ] } POP conf: {'handler_cache_mb': 500, 'import_cache_mb': 100} POP conf: {'registry': '/root/open-lambda/test-registry', 'handler_cache_mb': 250, 'sandbox': 'sock', 'import_cache_mb': 250} PUSH conf: {'handler_cache_mb': 250, 'sandbox': 'sock', 'import_cache_mb': 250} PUSH conf: {'registry': '/tmp/tmph0ehiw1s'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=10572, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 10572\n' { "test": "call_each_once_exec", "params": { "alloc_mb": 1, "lambda_count": 100 }, "pass": true, "seconds": 15.95670771598816, "total_seconds": 16.295061349868774, "stats": { "reqs_per_sec": 6.2669677920178515 }, "conf": { "startup_pkgs": null, "server_mode": "lambda", "handler_cache_mb": 250, "timing": false, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "Skip_pull_existing": false, "max_runners": 0, "worker_port": "5000", "registry": "/tmp/tmph0ehiw1s", "registry_cache_ms": 5000, "benchmark_log": "", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "sandbox": "sock", "import_cache_mb": 250, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:47:22 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:47:22 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:47:22 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:47:22 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:47:22 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:47:22 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:47:22 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:47:22 remove worker.pid", "2019/06/25 21:47:22 exiting", "" ] } POP conf: {'registry': '/tmp/tmph0ehiw1s'} PUSH conf: {'registry': '/tmp/tmplyy7akf5'} RUN ./ol worker -p=test-cluster --detach b'using existing OL directory at /root/open-lambda/test-cluster\nStarting worker: pid=11102, port=5000, log=/root/open-lambda/test-cluster/worker.out\nready\n' RUN ./ol kill -p=test-cluster b'Kill worker process with PID 11102\n' { "test": "call_each_once_exec", "params": { "alloc_mb": 10, "lambda_count": 1000 }, "pass": true, "seconds": 167.90975260734558, "total_seconds": 168.23249506950378, "stats": { "reqs_per_sec": 5.955581142030604 }, "conf": { "startup_pkgs": null, "server_mode": "lambda", "handler_cache_mb": 250, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-cluster/worker", "max_runners": 0, "worker_port": "5000", "registry_cache_ms": 5000, "benchmark_log": "", "pip_mirror": "", "sandbox_config": { "processes": 10 }, "import_cache_mb": 250, "sandbox": "sock", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "registry": "/tmp/tmplyy7akf5", "sock_cgroups": { "max_procs": 10, "max_mem_mb": 50 }, "timing": false, "cluster_name": "/root/open-lambda/test-cluster" }, "exception": null, "worker_tail": [ "2019/06/25 21:50:10 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:50:10 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:50:10 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:50:10 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:50:10 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:50:10 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:50:10 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/25 21:50:10 remove worker.pid", "2019/06/25 21:50:10 exiting", "" ] } POP conf: {'registry': '/tmp/tmplyy7akf5'} POP conf: {'handler_cache_mb': 250, 'sandbox': 'sock', 'import_cache_mb': 250} PASSED: 15, FAILED: 0