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=7325, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7325 { "test": "sock_churn", "params": { "procs": 1, "seconds": 15, "fork": true, "baseline": 0 }, "pass": true, "seconds": 17.335967302322388, "total_seconds": 17.724326610565186, "stats": { "sandboxes_per_sec": 6.466666666666667 }, "conf": { "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry": "/root/open-lambda/test-cluster/registry", "pip_mirror": "", "max_runners": 0, "import_cache_mb": 239, "timing": false, "benchmark_log": "", "handler_cache_mb": 239, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "server_mode": "sock", "Skip_pull_existing": false, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "startup_pkgs": null, "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/19 15:20:38 remove /sys/fs/cgroup/cpu/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:20:38 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:20:38 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:20:38 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:20:38 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:20:38 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:20:38 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:20:38 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:20:38 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=7841, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7841 { "test": "ping_test", "params": {}, "pass": true, "seconds": 2.1611006259918213, "total_seconds": 21.665571928024292, "stats": { "pings_per_sec": 462.7357061547773 }, "conf": { "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "max_runners": 0, "import_cache_mb": 239, "timing": false, "benchmark_log": "", "handler_cache_mb": 239, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "Skip_pull_existing": false, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/19 15:21:00 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:00 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:00 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:00 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:00 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:00 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:00 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:00 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:00 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=7913, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7913 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 2.1538424491882324, "total_seconds": 9.71211552619934, "stats": null, "conf": { "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "max_runners": 0, "import_cache_mb": 0, "timing": false, "benchmark_log": "", "handler_cache_mb": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "Skip_pull_existing": false, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/19 15:21:10 remove /sys/fs/cgroup/cpu/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:10 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:10 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:10 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:10 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:10 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:10 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:10 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:10 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=7992, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 7992 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 1.3281724452972412, "total_seconds": 8.986393451690674, "stats": null, "conf": { "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "max_runners": 0, "import_cache_mb": 0, "timing": false, "benchmark_log": "", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "Skip_pull_existing": false, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/19 15:21:19 remove /sys/fs/cgroup/cpu/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:19 remove /sys/fs/cgroup/devices/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:19 remove /sys/fs/cgroup/freezer/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:19 remove /sys/fs/cgroup/hugetlb/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:19 remove /sys/fs/cgroup/memory/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:19 remove /sys/fs/cgroup/perf_event/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:19 remove /sys/fs/cgroup/systemd/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:19 remove /sys/fs/cgroup/pids/sock-handlers [CGROUP POOL sock-handlers]", "2019/06/19 15:21:19 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=8073, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 8073 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 0.7797253131866455, "total_seconds": 8.642992973327637, "stats": null, "conf": { "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "max_runners": 0, "import_cache_mb": 256, "timing": false, "benchmark_log": "", "handler_cache_mb": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "Skip_pull_existing": false, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/19 15:21:27 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:27 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:27 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:27 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:27 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:27 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:27 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:27 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:27 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=8165, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 8165 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 0.7418422698974609, "total_seconds": 8.613336324691772, "stats": null, "conf": { "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "max_runners": 0, "import_cache_mb": 256, "timing": false, "benchmark_log": "", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "Skip_pull_existing": false, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/19 15:21:36 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:36 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:36 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:36 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:36 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:36 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:36 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:36 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:21:36 exiting", "" ] } POP conf: {'handler_cache_mb': 256, 'import_cache_mb': 256} PUSH conf: {'handler_cache_mb': 0, 'import_cache_mb': 0, 'sandbox': 'docker'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=8258, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 8258 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 8.761791706085205, "total_seconds": 16.511778354644775, "stats": null, "conf": { "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "max_runners": 0, "import_cache_mb": 0, "timing": false, "benchmark_log": "", "handler_cache_mb": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "Skip_pull_existing": false, "sandbox": "docker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/19 15:21:52 MemUsageKB() [SB 3]", "2019/06/19 15:21:52 EVICTING INSTANCE: 22806528 used / 0 limit", "2019/06/19 15:21:52 Destroy() [SB 3]", "2019/06/19 15:21:52 received kill signal, cleaning up", "2019/06/19 15:21:52 Destroy() [SB 0]", "2019/06/19 15:21:52 Destroy() [SB 1]", "2019/06/19 15:21:52 Destroy() [SB 2]", "2019/06/19 15:21:52 Destroy() [SB 3]", "2019/06/19 15:21:53 exiting", "" ] } POP conf: {'handler_cache_mb': 0, 'import_cache_mb': 0, 'sandbox': 'docker'} PUSH conf: {'handler_cache_mb': 256, 'import_cache_mb': 0, 'sandbox': 'docker'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9294, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 9294 { "test": "smoke_tests", "params": {}, "pass": true, "seconds": 2.977518081665039, "total_seconds": 12.934337615966797, "stats": null, "conf": { "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "max_runners": 0, "import_cache_mb": 0, "timing": false, "benchmark_log": "", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "Skip_pull_existing": false, "sandbox": "docker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/19 15:22:03 Channel() [SB 3]", "2019/06/19 15:22:03 Pause() [SB 3]", "2019/06/19 15:22:03 MemUsageKB() [SB 3]", "2019/06/19 15:22:03 received kill signal, cleaning up", "2019/06/19 15:22:03 Destroy() [SB 0]", "2019/06/19 15:22:03 Destroy() [SB 1]", "2019/06/19 15:22:04 Destroy() [SB 2]", "2019/06/19 15:22:04 Destroy() [SB 3]", "2019/06/19 15:22:06 exiting", "" ] } POP conf: {'handler_cache_mb': 256, 'import_cache_mb': 0, 'sandbox': 'docker'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=10333, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 10333 { "test": "fork_bomb", "params": {}, "pass": true, "seconds": 0.03808188438415527, "total_seconds": 8.5975661277771, "stats": null, "conf": { "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "max_runners": 0, "import_cache_mb": 239, "timing": false, "benchmark_log": "", "handler_cache_mb": 239, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "Skip_pull_existing": false, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/19 15:22:14 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:14 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:14 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:14 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:14 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:14 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:14 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:14 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:14 exiting", "" ] } POP conf: {'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson'], 'registry': '/root/open-lambda/test-registry'} PUSH conf: {'handler_cache_mb': 256, 'import_cache_mb': 256, 'sandbox': 'sock', '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=10410, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 10410 { "test": "stress_one_lambda", "params": { "procs": 1, "seconds": 15 }, "pass": true, "seconds": 15.046842575073242, "total_seconds": 15.371779441833496, "stats": { "reqs_per_sec": 284.6 }, "conf": { "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "max_runners": 0, "import_cache_mb": 256, "timing": false, "benchmark_log": "", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "Skip_pull_existing": false, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "startup_pkgs": null, "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/19 15:22:29 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:29 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:29 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:29 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:29 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:29 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:29 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:29 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:29 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=10452, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 10452 { "test": "stress_one_lambda", "params": { "procs": 2, "seconds": 15 }, "pass": true, "seconds": 15.041942119598389, "total_seconds": 15.370237350463867, "stats": { "reqs_per_sec": 279.93333333333334 }, "conf": { "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "max_runners": 0, "import_cache_mb": 256, "timing": false, "benchmark_log": "", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "Skip_pull_existing": false, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "startup_pkgs": null, "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/19 15:22:45 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:45 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:45 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:45 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:45 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:45 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:45 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:45 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:22:45 exiting", "" ] } RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=10501, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 10501 { "test": "stress_one_lambda", "params": { "procs": 8, "seconds": 15 }, "pass": true, "seconds": 15.066033840179443, "total_seconds": 15.400297403335571, "stats": { "reqs_per_sec": 259.2 }, "conf": { "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "max_runners": 0, "import_cache_mb": 256, "timing": false, "benchmark_log": "", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "Skip_pull_existing": false, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "startup_pkgs": null, "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/19 15:23:00 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:00 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:00 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:00 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:00 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:00 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:00 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:00 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:00 exiting", "" ] } POP conf: {'handler_cache_mb': 256, 'import_cache_mb': 256, 'sandbox': 'sock', 'registry': '/root/open-lambda/test-registry'} PUSH conf: {'handler_cache_mb': 256, 'import_cache_mb': 256, 'sandbox': 'sock'} PUSH conf: {'registry': '/tmp/tmppm07sv8i'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=10593, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 10593 { "test": "call_each_once_exec", "params": { "lambda_count": 100, "alloc_mb": 1 }, "pass": true, "seconds": 3.0549960136413574, "total_seconds": 3.734886884689331, "stats": { "reqs_per_sec": 32.733609251779846 }, "conf": { "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry": "/tmp/tmppm07sv8i", "pip_mirror": "", "max_runners": 0, "import_cache_mb": 256, "timing": false, "benchmark_log": "", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "Skip_pull_existing": false, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "startup_pkgs": null, "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/19 15:23:04 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:04 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:04 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:04 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:04 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:04 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:04 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:04 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:04 exiting", "" ] } POP conf: {'registry': '/tmp/tmppm07sv8i'} PUSH conf: {'registry': '/tmp/tmpshk1grg3'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=11323, port=5000, log=/root/open-lambda/test-cluster/worker.out ready RUN ./ol kill -p=test-cluster Kill worker process with PID 11323 { "test": "call_each_once_exec", "params": { "lambda_count": 1000, "alloc_mb": 10 }, "pass": true, "seconds": 40.61121106147766, "total_seconds": 42.15001058578491, "stats": { "reqs_per_sec": 24.623759753867137 }, "conf": { "registry_cache_ms": 5000, "sandbox_config": { "processes": 10 }, "worker_port": "5000", "worker_dir": "/root/open-lambda/test-cluster/worker", "registry": "/tmp/tmpshk1grg3", "pip_mirror": "", "max_runners": 0, "import_cache_mb": 256, "timing": false, "benchmark_log": "", "handler_cache_mb": 256, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "sock_cgroups": { "max_procs": 10 }, "server_mode": "lambda", "Skip_pull_existing": false, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "cluster_name": "/root/open-lambda/test-cluster", "startup_pkgs": null, "docker_runtime": "" }, "exception": null, "worker_tail": [ "2019/06/19 15:23:46 remove /sys/fs/cgroup/cpu/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:46 remove /sys/fs/cgroup/devices/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:46 remove /sys/fs/cgroup/freezer/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:46 remove /sys/fs/cgroup/hugetlb/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:46 remove /sys/fs/cgroup/memory/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:46 remove /sys/fs/cgroup/perf_event/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:46 remove /sys/fs/cgroup/systemd/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:46 remove /sys/fs/cgroup/pids/sock-cache [CGROUP POOL sock-cache]", "2019/06/19 15:23:46 exiting", "" ] } POP conf: {'registry': '/tmp/tmpshk1grg3'} POP conf: {'handler_cache_mb': 256, 'import_cache_mb': 256, 'sandbox': 'sock'} PASSED: 14, FAILED: 0