python3 -u test.py RUN ./ol new -p=test-cluster Init OL dir at /root/open-lambda/test-cluster Create lambda base at /root/open-lambda/test-cluster/lambda (may take several minutes) Working Directory: /root/open-lambda/test-cluster Worker Defaults: { "registry": "/root/open-lambda/test-cluster/registry", "registry_cache_ms": 5000, "sandbox": "sock", "cluster_name": "/root/open-lambda/test-cluster", "pip_mirror": "", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "max_runners": 0, "handler_cache_mb": 239, "import_cache_mb": 239, "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "Skip_pull_existing": false, "sandbox_config": { "processes": 10 }, "benchmark_log": "", "timing": false, "startup_pkgs": null, "docker_runtime": "", "sock_cgroups": { "max_procs": 10 } } You may modify the defaults here: /root/open-lambda/test-cluster/config.json You may now start a server using the "ol worker" command PUSH conf: {'server_mode': 'sock'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7309, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7309 { "test": "sock_churn", "params": { "fork": true, "procs": 1, "baseline": 0, "seconds": 15 }, "pass": true, "seconds": 16.590543270111084, "total_seconds": 16.808549642562866, "stats": { "sandboxes_per_sec": 6.6 }, "conf": { "sandbox": "sock", "server_mode": "sock", "pip_mirror": "", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "sock_cgroups": { "max_procs": 10 }, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "import_cache_mb": 239, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "benchmark_log": "", "startup_pkgs": null, "docker_runtime": "", "handler_cache_mb": 239, "worker_dir": "/root/open-lambda/test-cluster/worker", "registry_cache_ms": 5000, "timing": false, "registry": "/root/open-lambda/test-cluster/registry", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false }, "exception": null, "worker_tail": [ "2019/06/19 21:43:41 remove /sys/fs/cgroup/cpu/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:43:41 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:43:41 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:43:41 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:43:41 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:43:41 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:43:41 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:43:41 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:43:41 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 using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7835, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7835 { "test": "ping_test", "params": {}, "pass": true, "seconds": 2.128979206085205, "total_seconds": 17.513262510299683, "stats": { "pings_per_sec": 469.7152493302787 }, "conf": { "benchmark_log": "", "registry_cache_ms": 5000, "server_mode": "lambda", "pip_mirror": "", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 239, "sandbox_config": { "processes": 10 }, "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "sandbox": "sock", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "handler_cache_mb": 239, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "timing": false, "registry": "/root/open-lambda/test-registry", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/19 21:43:59 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:43:59 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:43:59 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:43:59 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:43:59 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:43:59 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:43:59 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:43:59 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:43:59 exiting", "" ] } PUSH conf: {'handler_cache_mb': 0, 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7908, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7908 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.800912857055664, "total_seconds": 9.357837915420532, "stats": null, "conf": { "benchmark_log": "", "registry_cache_ms": 5000, "server_mode": "lambda", "pip_mirror": "", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 0, "sandbox_config": { "processes": 10 }, "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "sandbox": "sock", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "handler_cache_mb": 0, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "timing": false, "registry": "/root/open-lambda/test-registry", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/19 21:44:08 remove /sys/fs/cgroup/cpu/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:08 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:08 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:08 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:08 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:08 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:08 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:08 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:08 exiting", "" ] } POP conf: {'handler_cache_mb': 0, 'import_cache_mb': 0} PUSH conf: {'handler_cache_mb': 256, 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7987, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7987 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.368485689163208, "total_seconds": 9.037377834320068, "stats": null, "conf": { "sandbox": "sock", "server_mode": "lambda", "pip_mirror": "", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 0, "sandbox_config": { "processes": 10 }, "sock_cgroups": { "max_procs": 10 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "handler_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "registry_cache_ms": 5000, "timing": false, "registry": "/root/open-lambda/test-registry", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false }, "exception": null, "worker_tail": [ "2019/06/19 21:44:17 remove /sys/fs/cgroup/cpu/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:17 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:17 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:17 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:17 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:17 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:17 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:17 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 21:44:17 exiting", "" ] } POP conf: {'handler_cache_mb': 256, 'import_cache_mb': 0} PUSH conf: {'handler_cache_mb': 0, 'import_cache_mb': 256} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=8068, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 8068 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 0.7584404945373535, "total_seconds": 8.622606039047241, "stats": null, "conf": { "benchmark_log": "", "registry_cache_ms": 5000, "server_mode": "lambda", "pip_mirror": "", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 256, "sandbox_config": { "processes": 10 }, "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "sandbox": "sock", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "handler_cache_mb": 0, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "timing": false, "registry": "/root/open-lambda/test-registry", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/19 21:44:26 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:26 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:26 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:26 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:26 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:26 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:26 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:26 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:26 exiting", "" ] } POP conf: {'handler_cache_mb': 0, 'import_cache_mb': 256} PUSH conf: {'handler_cache_mb': 256, 'import_cache_mb': 256} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=8159, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 8159 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 0.7386860847473145, "total_seconds": 8.504992961883545, "stats": null, "conf": { "sandbox": "sock", "server_mode": "lambda", "pip_mirror": "", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 256, "sandbox_config": { "processes": 10 }, "sock_cgroups": { "max_procs": 10 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "handler_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "registry_cache_ms": 5000, "timing": false, "registry": "/root/open-lambda/test-registry", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false }, "exception": null, "worker_tail": [ "2019/06/19 21:44:34 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:34 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:34 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:34 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:34 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:34 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:34 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:34 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:44:34 exiting", "" ] } POP conf: {'handler_cache_mb': 256, 'import_cache_mb': 256} PUSH conf: {'sandbox': 'docker', 'handler_cache_mb': 0, 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=8252, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 8252 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 6.626600980758667, "total_seconds": 14.376920700073242, "stats": null, "conf": { "benchmark_log": "", "registry_cache_ms": 5000, "server_mode": "lambda", "pip_mirror": "", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 0, "sandbox_config": { "processes": 10 }, "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "sandbox": "docker", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "handler_cache_mb": 0, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "timing": false, "registry": "/root/open-lambda/test-registry", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/19 21:44:48 MemUsageKB() [SB 3]", "2019/06/19 21:44:48 EVICTING INSTANCE: 22822912 used / 0 limit", "2019/06/19 21:44:48 Destroy() [SB 3]", "2019/06/19 21:44:48 received kill signal, cleaning up", "2019/06/19 21:44:48 Destroy() [SB 0]", "2019/06/19 21:44:48 Destroy() [SB 1]", "2019/06/19 21:44:48 Destroy() [SB 2]", "2019/06/19 21:44:48 Destroy() [SB 3]", "2019/06/19 21:44:49 exiting", "" ] } POP conf: {'sandbox': 'docker', 'handler_cache_mb': 0, 'import_cache_mb': 0} PUSH conf: {'sandbox': 'docker', 'handler_cache_mb': 256, 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9289, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9289 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 2.967656373977661, "total_seconds": 11.319037914276123, "stats": null, "conf": { "sandbox": "docker", "server_mode": "lambda", "pip_mirror": "", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 0, "sandbox_config": { "processes": 10 }, "sock_cgroups": { "max_procs": 10 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "handler_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "registry_cache_ms": 5000, "timing": false, "registry": "/root/open-lambda/test-registry", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false }, "exception": null, "worker_tail": [ "2019/06/19 21:44:59 Channel() [SB 3]", "2019/06/19 21:44:59 Pause() [SB 3]", "2019/06/19 21:44:59 MemUsageKB() [SB 3]", "2019/06/19 21:44:59 received kill signal, cleaning up", "2019/06/19 21:44:59 Destroy() [SB 0]", "2019/06/19 21:44:59 Destroy() [SB 1]", "2019/06/19 21:44:59 Destroy() [SB 2]", "2019/06/19 21:45:00 Destroy() [SB 3]", "2019/06/19 21:45:00 exiting", "" ] } POP conf: {'sandbox': 'docker', 'handler_cache_mb': 256, 'import_cache_mb': 0} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=10336, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 10336 { "test": "fork_bomb", "params": {}, "pass": true, "seconds": 0.04761672019958496, "total_seconds": 8.505656719207764, "stats": null, "conf": { "benchmark_log": "", "registry_cache_ms": 5000, "server_mode": "lambda", "pip_mirror": "", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 239, "sandbox_config": { "processes": 10 }, "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "sandbox": "sock", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "", "handler_cache_mb": 239, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "timing": false, "registry": "/root/open-lambda/test-registry", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/19 21:45:08 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:08 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:08 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:08 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:08 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:08 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:08 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:08 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:08 exiting", "" ] } POP conf: {'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson'], 'registry': '/root/open-lambda/test-registry'} PUSH conf: {'sandbox': 'sock', 'registry': '/root/open-lambda/test-registry', 'handler_cache_mb': 256, 'import_cache_mb': 256} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=10413, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 10413 { "test": "stress_one_lambda", "params": { "procs": 1, "seconds": 15 }, "pass": true, "seconds": 15.043545722961426, "total_seconds": 15.367673873901367, "stats": { "reqs_per_sec": 285.93333333333334 }, "conf": { "sandbox": "sock", "server_mode": "lambda", "pip_mirror": "", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 256, "sandbox_config": { "processes": 10 }, "sock_cgroups": { "max_procs": 10 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "benchmark_log": "", "startup_pkgs": null, "docker_runtime": "", "handler_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "registry_cache_ms": 5000, "timing": false, "registry": "/root/open-lambda/test-registry", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false }, "exception": null, "worker_tail": [ "2019/06/19 21:45:24 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:24 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:24 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:24 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:24 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:24 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:24 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:24 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:24 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=10455, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 10455 { "test": "stress_one_lambda", "params": { "procs": 2, "seconds": 15 }, "pass": true, "seconds": 15.04635214805603, "total_seconds": 15.375465869903564, "stats": { "reqs_per_sec": 282.26666666666665 }, "conf": { "sandbox": "sock", "server_mode": "lambda", "pip_mirror": "", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 256, "sandbox_config": { "processes": 10 }, "sock_cgroups": { "max_procs": 10 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "benchmark_log": "", "startup_pkgs": null, "docker_runtime": "", "handler_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "registry_cache_ms": 5000, "timing": false, "registry": "/root/open-lambda/test-registry", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false }, "exception": null, "worker_tail": [ "2019/06/19 21:45:39 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:39 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:39 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:39 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:39 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:39 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:39 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:39 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:39 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=10504, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 10504 { "test": "stress_one_lambda", "params": { "procs": 8, "seconds": 15 }, "pass": true, "seconds": 15.072212219238281, "total_seconds": 15.418686628341675, "stats": { "reqs_per_sec": 260.2 }, "conf": { "sandbox": "sock", "server_mode": "lambda", "pip_mirror": "", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 256, "sandbox_config": { "processes": 10 }, "sock_cgroups": { "max_procs": 10 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "benchmark_log": "", "startup_pkgs": null, "docker_runtime": "", "handler_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "registry_cache_ms": 5000, "timing": false, "registry": "/root/open-lambda/test-registry", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false }, "exception": null, "worker_tail": [ "2019/06/19 21:45:55 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:55 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:55 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:55 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:55 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:55 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:55 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:55 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:55 exiting", "" ] } POP conf: {'sandbox': 'sock', 'registry': '/root/open-lambda/test-registry', 'handler_cache_mb': 256, 'import_cache_mb': 256} PUSH conf: {'sandbox': 'sock', 'handler_cache_mb': 256, 'import_cache_mb': 256} PUSH conf: {'registry': '/tmp/tmp7e1ti55f'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=10595, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 10595 { "test": "call_each_once_exec", "params": { "alloc_mb": 1, "lambda_count": 100 }, "pass": true, "seconds": 2.5791404247283936, "total_seconds": 3.139779806137085, "stats": { "reqs_per_sec": 38.77310236568113 }, "conf": { "benchmark_log": "", "registry_cache_ms": 5000, "server_mode": "lambda", "pip_mirror": "", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 256, "sandbox_config": { "processes": 10 }, "sock_cgroups": { "max_procs": 10 }, "Skip_pull_existing": false, "sandbox": "sock", "startup_pkgs": null, "docker_runtime": "", "handler_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "timing": false, "registry": "/tmp/tmp7e1ti55f", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/19 21:45:58 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:58 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:58 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:58 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:58 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:58 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:58 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:58 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:45:58 exiting", "" ] } POP conf: {'registry': '/tmp/tmp7e1ti55f'} PUSH conf: {'registry': '/tmp/tmpt2i6tqgs'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=11326, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 11326 { "test": "call_each_once_exec", "params": { "alloc_mb": 10, "lambda_count": 1000 }, "pass": true, "seconds": 39.880802392959595, "total_seconds": 40.93022394180298, "stats": { "reqs_per_sec": 25.074740056892818 }, "conf": { "sandbox": "sock", "server_mode": "lambda", "pip_mirror": "", "cluster_name": "/root/open-lambda/test-cluster", "max_runners": 0, "import_cache_mb": 256, "sandbox_config": { "processes": 10 }, "sock_cgroups": { "max_procs": 10 }, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "benchmark_log": "", "startup_pkgs": null, "docker_runtime": "", "handler_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "registry_cache_ms": 5000, "timing": false, "registry": "/tmp/tmpt2i6tqgs", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "Skip_pull_existing": false }, "exception": null, "worker_tail": [ "2019/06/19 21:46:39 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:46:39 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:46:39 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:46:39 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:46:39 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:46:39 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:46:39 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:46:39 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 21:46:39 exiting", "" ] } POP conf: {'registry': '/tmp/tmpt2i6tqgs'} POP conf: {'sandbox': 'sock', 'handler_cache_mb': 256, 'import_cache_mb': 256} PASSED: 14, FAILED: 0