{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 1.9239213466644287, "total_seconds": 2.163489818572998, "stats": { "pings_per_sec": 519.7756972284357 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2022/03/27 21:40:49 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:40:49 remove worker.pid", "2022/03/27 21:40:49 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": false, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": false, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 7.2534472942352295, "total_seconds": 7.499607801437378, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 174, "Create()/acquire-cgroup.cnt": 10, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 10, "Create()/acquire-mem.ms-avg": 0, "Create()/fresh-proc.cnt": 10, "Create()/fresh-proc.ms-avg": 163, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 9, "Destroy().cnt": 10, "Destroy().ms-avg": 9, "Destroy()/detach-root.cnt": 10, "Destroy()/detach-root.ms-avg": 4, "Destroy()/kill-procs.cnt": 10, "Destroy()/kill-procs.ms-avg": 2, "Destroy()/remove-root.cnt": 10, "Destroy()/remove-root.ms-avg": 1, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 1807, "Pause().cnt": 4, "Pause().ms-avg": 3, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 48, "fresh-cgroup.cnt": 27, "fresh-cgroup.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 3, "pull-package.cnt": 6, "pull-package.ms-avg": 1050, "web-request.cnt": 4, "web-request.ms-avg": 1807 }, "errors": [ [ "mounts are leaking (45 before, 44 after), leaked: set()" ] ], "worker_tail": [ "using existing OL directory at /root/open-lambda/test-dir", "2022/03/27 21:40:49 save PID 7191 to file /root/open-lambda/test-dir/worker/worker.pid", "2022/03/27 21:40:49 Start Lambda Server", "2022/03/27 21:40:49 Storage dir at /root/open-lambda/test-dir/worker/code", "2022/03/27 21:40:49 Storage dir at /root/open-lambda/test-dir/worker/scratch", "2022/03/27 21:40:49 Create SandboxPool", "2022/03/27 21:40:49 create /sys/fs/cgroup/blkio/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 create /sys/fs/cgroup/cpu/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 create /sys/fs/cgroup/devices/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 create /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 create /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 create /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 create /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 create /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 create /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:49 Storage dir at /root/open-lambda/test-dir/worker/root-sandboxes", "2022/03/27 21:40:49 Create DepTracer", "2022/03/27 21:40:49 Create PackagePuller", "2022/03/27 21:40:49 Create HandlerPuller", "2022/03/27 21:40:49 Setups Handlers", "2022/03/27 21:40:49 Execute handler by POSTing to localhost:5000/run/", "2022/03/27 21:40:49 Get status by sending request to localhost:5000/status", "2022/03/27 21:40:49 start creating/serving CGs [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:50 Receive request to /pid", "2022/03/27 21:40:50 Receive request to /run/echo", "2022/03/27 21:40:50 debug: LambdaFunc.Task() runs on goroutine 19 [FUNC echo]", "2022/03/27 21:40:50 increase instances to 1 [FUNC echo]", "2022/03/27 21:40:50 .Create(, true, /root/open-lambda/test-dir/worker/code/1001-echo, /root/open-lambda/test-dir/worker/scratch/1002-echo, )=1... [SOCK POOL sandboxes]", "2022/03/27 21:40:50 use cgroup cg-1 [SOCK 1]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "seccomp enabled", "sock2.py: joined cgroup, close FD 3", "sock2.py: joined cgroup, close FD 4", "sock2.py: joined cgroup, close FD 5", "sock2.py: joined cgroup, close FD 6", "sock2.py: joined cgroup, close FD 7", "sock2.py: joined cgroup, close FD 8", "sock2.py: joined cgroup, close FD 9", "sock2.py: joined cgroup, close FD 10", "sock2.py: joined cgroup, close FD 11", "sock2.py: start web server on fd: 3", "2022/03/27 21:40:50 ...returns , [SOCK POOL sandboxes]", "2022/03/27 21:40:50 Channel() [SB 1]", "2022/03/27 21:40:50 Pause() [SB 1]", "2022/03/27 21:40:50 Receive request to /stats", "2022/03/27 21:40:50 Receive request to /run/install", "2022/03/27 21:40:50 debug: LambdaFunc.Task() runs on goroutine 31 [FUNC install]", "2022/03/27 21:40:50 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/requests'", "2022/03/27 21:40:50 run pip install requests from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/requests on host", "2022/03/27 21:40:50 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/requests, )=2... [SOCK POOL sandboxes]", "2022/03/27 21:40:50 use cgroup cg-2 [SOCK 2]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "seccomp enabled", "sock2.py: joined cgroup, close FD 3", "sock2.py: joined cgroup, close FD 4", "sock2.py: joined cgroup, close FD 5", "sock2.py: joined cgroup, close FD 6", "sock2.py: joined cgroup, close FD 7", "sock2.py: joined cgroup, close FD 8", "sock2.py: joined cgroup, close FD 9", "sock2.py: joined cgroup, close FD 10", "sock2.py: joined cgroup, close FD 11", "sock2.py: start web server on fd: 3", "2022/03/27 21:40:50 ...returns , [SOCK POOL sandboxes]", "2022/03/27 21:40:50 Channel() [SB 2]", "Collecting requests", " Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)", "Installing collected packages: requests", "Successfully installed requests-2.27.1", "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv", "pip install returned code 0", "2022/03/27 21:40:51 Destroy() [SB 2]", "2022/03/27 21:40:51 CG ref count decremented to 0 [SOCK 2]", "2022/03/27 21:40:51 waiting for 1 procs in cg-2 to die [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:51 killed PIDs [7215] in CG [SOCK 2]", "2022/03/27 21:40:51 unmount and remove dirs [SOCK 2]", "2022/03/27 21:40:51 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/certifi'", "2022/03/27 21:40:51 run pip install certifi from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/certifi on host", "2022/03/27 21:40:51 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/certifi, )=3... [SOCK POOL sandboxes]", "2022/03/27 21:40:51 use cgroup cg-3 [SOCK 3]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "seccomp enabled", "sock2.py: joined cgroup, close FD 3", "sock2.py: joined cgroup, close FD 4", "sock2.py: joined cgroup, close FD 5", "sock2.py: joined cgroup, close FD 6", "sock2.py: joined cgroup, close FD 7", "sock2.py: joined cgroup, close FD 8", "sock2.py: joined cgroup, close FD 9", "sock2.py: joined cgroup, close FD 10", "sock2.py: joined cgroup, close FD 11", "sock2.py: start web server on fd: 3", "2022/03/27 21:40:52 ...returns , [SOCK POOL sandboxes]", "2022/03/27 21:40:52 Channel() [SB 3]", "Collecting certifi", " Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)", "Installing collected packages: certifi", "Successfully installed certifi-2021.10.8", "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv", "pip install returned code 0", "2022/03/27 21:40:52 Destroy() [SB 3]", "2022/03/27 21:40:52 CG ref count decremented to 0 [SOCK 3]", "2022/03/27 21:40:52 waiting for 1 procs in cg-3 to die [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:52 killed PIDs [7268] in CG [SOCK 3]", "2022/03/27 21:40:52 unmount and remove dirs [SOCK 3]", "2022/03/27 21:40:52 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/charset-normalizer'", "2022/03/27 21:40:52 run pip install charset-normalizer from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/charset-normalizer on host", "2022/03/27 21:40:52 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/charset-normalizer, )=4... [SOCK POOL sandboxes]", "2022/03/27 21:40:52 use cgroup cg-4 [SOCK 4]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "seccomp enabled", "sock2.py: joined cgroup, close FD 3", "sock2.py: joined cgroup, close FD 4", "sock2.py: joined cgroup, close FD 5", "sock2.py: joined cgroup, close FD 6", "sock2.py: joined cgroup, close FD 7", "sock2.py: joined cgroup, close FD 8", "sock2.py: joined cgroup, close FD 9", "sock2.py: joined cgroup, close FD 10", "sock2.py: joined cgroup, close FD 11", "sock2.py: start web server on fd: 3", "2022/03/27 21:40:53 ...returns , [SOCK POOL sandboxes]", "2022/03/27 21:40:53 Channel() [SB 4]", "Collecting charset-normalizer", " Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)", "Installing collected packages: charset-normalizer", "Successfully installed charset-normalizer-2.0.12", "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv", "pip install returned code 0", "2022/03/27 21:40:53 Destroy() [SB 4]", "2022/03/27 21:40:53 CG ref count decremented to 0 [SOCK 4]", "2022/03/27 21:40:53 waiting for 1 procs in cg-4 to die [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:53 killed PIDs [7312] in CG [SOCK 4]", "2022/03/27 21:40:53 unmount and remove dirs [SOCK 4]", "2022/03/27 21:40:53 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/idna'", "2022/03/27 21:40:53 run pip install idna from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/idna on host", "2022/03/27 21:40:53 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/idna, )=5... [SOCK POOL sandboxes]", "2022/03/27 21:40:53 use cgroup cg-5 [SOCK 5]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "seccomp enabled", "sock2.py: joined cgroup, close FD 3", "sock2.py: joined cgroup, close FD 4", "sock2.py: joined cgroup, close FD 5", "sock2.py: joined cgroup, close FD 6", "sock2.py: joined cgroup, close FD 7", "sock2.py: joined cgroup, close FD 8", "sock2.py: joined cgroup, close FD 9", "sock2.py: joined cgroup, close FD 10", "sock2.py: joined cgroup, close FD 11", "sock2.py: start web server on fd: 3", "2022/03/27 21:40:53 ...returns , [SOCK POOL sandboxes]", "2022/03/27 21:40:53 Channel() [SB 5]", "Collecting idna", " Using cached idna-3.3-py3-none-any.whl (61 kB)", "Installing collected packages: idna", "Successfully installed idna-3.3", "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv", "pip install returned code 0", "2022/03/27 21:40:54 Destroy() [SB 5]", "2022/03/27 21:40:54 CG ref count decremented to 0 [SOCK 5]", "2022/03/27 21:40:54 waiting for 1 procs in cg-5 to die [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:54 killed PIDs [7328] in CG [SOCK 5]", "2022/03/27 21:40:54 unmount and remove dirs [SOCK 5]", "2022/03/27 21:40:54 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/urllib3'", "2022/03/27 21:40:54 run pip install urllib3 from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/urllib3 on host", "2022/03/27 21:40:54 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/urllib3, )=6... [SOCK POOL sandboxes]", "2022/03/27 21:40:54 use cgroup cg-6 [SOCK 6]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "seccomp enabled", "sock2.py: joined cgroup, close FD 3", "sock2.py: joined cgroup, close FD 4", "sock2.py: joined cgroup, close FD 5", "sock2.py: joined cgroup, close FD 6", "sock2.py: joined cgroup, close FD 7", "sock2.py: joined cgroup, close FD 8", "sock2.py: joined cgroup, close FD 9", "sock2.py: joined cgroup, close FD 10", "sock2.py: joined cgroup, close FD 11", "sock2.py: start web server on fd: 3", "2022/03/27 21:40:54 ...returns , [SOCK POOL sandboxes]", "2022/03/27 21:40:54 Channel() [SB 6]", "Collecting urllib3", " Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB)", "Installing collected packages: urllib3", "Successfully installed urllib3-1.26.9", "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv", "pip install returned code 0", "2022/03/27 21:40:55 Destroy() [SB 6]", "2022/03/27 21:40:55 CG ref count decremented to 0 [SOCK 6]", "2022/03/27 21:40:55 waiting for 1 procs in cg-6 to die [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:55 killed PIDs [7344] in CG [SOCK 6]", "2022/03/27 21:40:55 unmount and remove dirs [SOCK 6]", "2022/03/27 21:40:55 increase instances to 1 [FUNC install]", "2022/03/27 21:40:55 .Create(, true, /root/open-lambda/test-dir/worker/code/1004-install, /root/open-lambda/test-dir/worker/scratch/1010-install, )=7... [SOCK POOL sandboxes]", "2022/03/27 21:40:55 use cgroup cg-7 [SOCK 7]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "seccomp enabled", "sock2.py: joined cgroup, close FD 3", "sock2.py: joined cgroup, close FD 4", "sock2.py: joined cgroup, close FD 5", "sock2.py: joined cgroup, close FD 6", "sock2.py: joined cgroup, close FD 7", "sock2.py: joined cgroup, close FD 8", "sock2.py: joined cgroup, close FD 9", "sock2.py: joined cgroup, close FD 10", "sock2.py: joined cgroup, close FD 11", "sock2.py: start web server on fd: 3", "2022/03/27 21:40:55 ...returns , [SOCK POOL sandboxes]", "2022/03/27 21:40:55 Channel() [SB 7]", "2022/03/27 21:40:55 Pause() [SB 7]", "2022/03/27 21:40:55 Receive request to /stats", "2022/03/27 21:40:55 Receive request to /run/install2", "2022/03/27 21:40:55 debug: LambdaFunc.Task() runs on goroutine 58 [FUNC install2]", "2022/03/27 21:40:55 increase instances to 1 [FUNC install2]", "2022/03/27 21:40:55 .Create(, true, /root/open-lambda/test-dir/worker/code/1012-install2, /root/open-lambda/test-dir/worker/scratch/1013-install2, )=8... [SOCK POOL sandboxes]", "2022/03/27 21:40:55 use cgroup cg-8 [SOCK 8]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "seccomp enabled", "sock2.py: joined cgroup, close FD 3", "sock2.py: joined cgroup, close FD 4", "sock2.py: joined cgroup, close FD 5", "sock2.py: joined cgroup, close FD 6", "sock2.py: joined cgroup, close FD 7", "sock2.py: joined cgroup, close FD 8", "sock2.py: joined cgroup, close FD 9", "sock2.py: joined cgroup, close FD 10", "sock2.py: joined cgroup, close FD 11", "sock2.py: start web server on fd: 3", "2022/03/27 21:40:55 ...returns , [SOCK POOL sandboxes]", "2022/03/27 21:40:55 Channel() [SB 8]", "2022/03/27 21:40:56 Pause() [SB 8]", "2022/03/27 21:40:56 Receive request to /stats", "2022/03/27 21:40:56 Receive request to /run/install3", "2022/03/27 21:40:56 debug: LambdaFunc.Task() runs on goroutine 70 [FUNC install3]", "2022/03/27 21:40:56 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/simplejson'", "2022/03/27 21:40:56 run pip install simplejson from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/simplejson on host", "2022/03/27 21:40:56 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/simplejson, )=9... [SOCK POOL sandboxes]", "2022/03/27 21:40:56 use cgroup cg-9 [SOCK 9]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "seccomp enabled", "sock2.py: joined cgroup, close FD 3", "sock2.py: joined cgroup, close FD 4", "sock2.py: joined cgroup, close FD 5", "sock2.py: joined cgroup, close FD 6", "sock2.py: joined cgroup, close FD 7", "sock2.py: joined cgroup, close FD 8", "sock2.py: joined cgroup, close FD 9", "sock2.py: joined cgroup, close FD 10", "sock2.py: joined cgroup, close FD 11", "sock2.py: start web server on fd: 3", "2022/03/27 21:40:56 ...returns , [SOCK POOL sandboxes]", "2022/03/27 21:40:56 Channel() [SB 9]", "Collecting simplejson", " Downloading simplejson-3.17.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (139 kB)", " \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 139.5/139.5 KB 4.9 MB/s eta 0:00:00", "Installing collected packages: simplejson", "Successfully installed simplejson-3.17.6", "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv", "pip install returned code 0", "2022/03/27 21:40:57 Destroy() [SB 9]", "2022/03/27 21:40:57 CG ref count decremented to 0 [SOCK 9]", "2022/03/27 21:40:57 waiting for 1 procs in cg-9 to die [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:57 killed PIDs [7374] in CG [SOCK 9]", "2022/03/27 21:40:57 unmount and remove dirs [SOCK 9]", "2022/03/27 21:40:57 increase instances to 1 [FUNC install3]", "2022/03/27 21:40:57 .Create(, true, /root/open-lambda/test-dir/worker/code/1015-install3, /root/open-lambda/test-dir/worker/scratch/1017-install3, )=10... [SOCK POOL sandboxes]", "2022/03/27 21:40:57 use cgroup cg-10 [SOCK 10]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "seccomp enabled", "sock2.py: joined cgroup, close FD 3", "sock2.py: joined cgroup, close FD 4", "sock2.py: joined cgroup, close FD 5", "sock2.py: joined cgroup, close FD 6", "sock2.py: joined cgroup, close FD 7", "sock2.py: joined cgroup, close FD 8", "sock2.py: joined cgroup, close FD 9", "sock2.py: joined cgroup, close FD 10", "sock2.py: joined cgroup, close FD 11", "sock2.py: start web server on fd: 3", "2022/03/27 21:40:57 ...returns , [SOCK POOL sandboxes]", "2022/03/27 21:40:57 Channel() [SB 10]", "2022/03/27 21:40:57 Pause() [SB 10]", "2022/03/27 21:40:57 Receive request to /stats", "2022/03/27 21:40:57 received kill signal, cleaning up", "2022/03/27 21:40:57 Kill function: install3", "2022/03/27 21:40:57 Destroy() [SB 10]", "2022/03/27 21:40:57 CG ref count decremented to 0 [SOCK 10]", "2022/03/27 21:40:57 killed PIDs [7391] in CG [SOCK 10]", "2022/03/27 21:40:57 unmount and remove dirs [SOCK 10]", "2022/03/27 21:40:57 Kill function: echo", "2022/03/27 21:40:57 Destroy() [SB 1]", "2022/03/27 21:40:57 CG ref count decremented to 0 [SOCK 1]", "2022/03/27 21:40:57 waiting for 1 procs in cg-1 to die [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:57 killed PIDs [7207] in CG [SOCK 1]", "2022/03/27 21:40:57 unmount and remove dirs [SOCK 1]", "2022/03/27 21:40:57 Kill function: install", "2022/03/27 21:40:57 Destroy() [SB 7]", "2022/03/27 21:40:57 CG ref count decremented to 0 [SOCK 7]", "2022/03/27 21:40:57 killed PIDs [7360] in CG [SOCK 7]", "2022/03/27 21:40:57 unmount and remove dirs [SOCK 7]", "2022/03/27 21:40:57 Kill function: install2", "2022/03/27 21:40:57 Destroy() [SB 8]", "2022/03/27 21:40:57 CG ref count decremented to 0 [SOCK 8]", "2022/03/27 21:40:57 killed PIDs [7367] in CG [SOCK 8]", "2022/03/27 21:40:57 unmount and remove dirs [SOCK 8]", "2022/03/27 21:40:57 make sure all memory is free [SOCK POOL sandboxes]", "2022/03/27 21:40:57 memory pool emptied [SOCK POOL sandboxes]", "2022/03/27 21:40:57 received shutdown request [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:57 empty queues and release CGs [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:57 remove /sys/fs/cgroup/blkio/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:57 remove /sys/fs/cgroup/cpu/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:57 remove /sys/fs/cgroup/devices/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:57 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:57 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:57 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:57 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:57 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:57 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:40:57 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:40:57 remove worker.pid", "2022/03/27 21:40:57 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 5.7468485832214355, "total_seconds": 5.989770889282227, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 97, "Create()/acquire-cgroup.cnt": 11, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 11, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 4, "Create()/fork-proc.ms-avg": 8, "Create()/fresh-proc.cnt": 7, "Create()/fresh-proc.ms-avg": 131, "Create()/make-root-fs.cnt": 11, "Create()/make-root-fs.ms-avg": 9, "Destroy().cnt": 11, "Destroy().ms-avg": 11, "Destroy()/detach-root.cnt": 11, "Destroy()/detach-root.ms-avg": 4, "Destroy()/kill-procs.cnt": 11, "Destroy()/kill-procs.ms-avg": 1, "Destroy()/remove-root.cnt": 11, "Destroy()/remove-root.ms-avg": 2, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 1429, "Pause().cnt": 8, "Pause().ms-avg": 7, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 49, "Unpause().cnt": 3, "Unpause().ms-avg": 0, "childExit().cnt": 4, "childExit().ms-avg": 0, "fork().cnt": 4, "fork().ms-avg": 8, "forkRequest.cnt": 4, "forkRequest.ms-avg": 7, "fresh-cgroup.cnt": 28, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 4, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 873, "web-request.cnt": 4, "web-request.ms-avg": 1429 }, "errors": [], "worker_tail": [ "2022/03/27 21:41:03 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:03 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:03 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:03 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:03 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:03 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:03 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:41:03 remove worker.pid", "2022/03/27 21:41:03 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "docker", "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": false, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 11.555747985839844, "total_seconds": 12.388747692108154, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 612, "Destroy().cnt": 10, "Destroy().ms-avg": 156, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 2878, "Pause().cnt": 4, "Pause().ms-avg": 37, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 2, "pull-package.cnt": 6, "pull-package.ms-avg": 1445, "web-request.cnt": 4, "web-request.ms-avg": 2878 }, "errors": [], "worker_tail": [ "2022/03/27 21:41:15 Kill function: install", "2022/03/27 21:41:15 Destroy() [SB 6]", "2022/03/27 21:41:15 Kill function: install2", "2022/03/27 21:41:15 Destroy() [SB 7]", "2022/03/27 21:41:15 Kill function: install3", "2022/03/27 21:41:15 Destroy() [SB 9]", "2022/03/27 21:41:15 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:41:15 remove worker.pid", "2022/03/27 21:41:15 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 0.2092745304107666, "total_seconds": 0.4468507766723633, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 87, "Create()/acquire-cgroup.cnt": 2, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 2, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 1, "Create()/fork-proc.ms-avg": 12, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 125, "Create()/make-root-fs.cnt": 2, "Create()/make-root-fs.ms-avg": 18, "Destroy().cnt": 2, "Destroy().ms-avg": 8, "Destroy()/detach-root.cnt": 2, "Destroy()/detach-root.ms-avg": 6, "Destroy()/kill-procs.cnt": 2, "Destroy()/kill-procs.ms-avg": 1, "Destroy()/remove-root.cnt": 2, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 1, "LambdaFunc.Invoke.ms-avg": 206, "Pause().cnt": 2, "Pause().ms-avg": 4, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 20, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 12, "forkRequest.cnt": 1, "forkRequest.ms-avg": 12, "fresh-cgroup.cnt": 19, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 1, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 2, "web-request.cnt": 1, "web-request.ms-avg": 206 }, "errors": [], "worker_tail": [ "2022/03/27 21:41:16 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:16 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:16 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:16 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:16 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:16 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:16 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:41:16 remove worker.pid", "2022/03/27 21:41:16 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 0.9291961193084717, "total_seconds": 1.1671924591064453, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 85, "Create()/acquire-cgroup.cnt": 2, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 2, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 1, "Create()/fork-proc.ms-avg": 12, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 127, "Create()/make-root-fs.cnt": 2, "Create()/make-root-fs.ms-avg": 14, "Destroy().cnt": 2, "Destroy().ms-avg": 7, "Destroy()/detach-root.cnt": 2, "Destroy()/detach-root.ms-avg": 5, "Destroy()/kill-procs.cnt": 2, "Destroy()/kill-procs.ms-avg": 1, "Destroy()/remove-root.cnt": 2, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 1, "LambdaFunc.Invoke.ms-avg": 926, "Pause().cnt": 2, "Pause().ms-avg": 3, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 745, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 12, "forkRequest.cnt": 1, "forkRequest.ms-avg": 12, "fresh-cgroup.cnt": 19, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 1, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 2, "web-request.cnt": 1, "web-request.ms-avg": 926 }, "errors": [], "worker_tail": [ "2022/03/27 21:41:17 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:17 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:17 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:17 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:17 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:17 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:17 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:41:17 remove worker.pid", "2022/03/27 21:41:17 exiting", "" ] }, { "test": "version", "params": {}, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 0.19567203521728516, "total_seconds": 0.4320535659790039, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 85, "Create()/acquire-cgroup.cnt": 2, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 2, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 1, "Create()/fork-proc.ms-avg": 7, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 126, "Create()/make-root-fs.cnt": 2, "Create()/make-root-fs.ms-avg": 18, "Destroy().cnt": 2, "Destroy().ms-avg": 7, "Destroy()/detach-root.cnt": 2, "Destroy()/detach-root.ms-avg": 5, "Destroy()/kill-procs.cnt": 2, "Destroy()/kill-procs.ms-avg": 1, "Destroy()/remove-root.cnt": 2, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 1, "LambdaFunc.Invoke.ms-avg": 192, "Pause().cnt": 2, "Pause().ms-avg": 5, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 8, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 7, "forkRequest.cnt": 1, "forkRequest.ms-avg": 7, "fresh-cgroup.cnt": 19, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 1, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 3, "web-request.cnt": 1, "web-request.ms-avg": 192 }, "errors": [], "worker_tail": [ "2022/03/27 21:41:17 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:17 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:17 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:17 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:17 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:17 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:17 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:41:17 remove worker.pid", "2022/03/27 21:41:17 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 1000, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 26.557931900024414, "total_seconds": 26.780312061309814, "stats": null, "ol-stats": { "Channel().cnt": 13, "Channel().ms-avg": 0, "Create().cnt": 14, "Create().ms-avg": 103, "Create()/acquire-cgroup.cnt": 14, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 14, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 5, "Create()/fork-proc.ms-avg": 10, "Create()/fresh-proc.cnt": 9, "Create()/fresh-proc.ms-avg": 134, "Create()/make-root-fs.cnt": 14, "Create()/make-root-fs.ms-avg": 12, "Destroy().cnt": 14, "Destroy().ms-avg": 11, "Destroy()/detach-root.cnt": 14, "Destroy()/detach-root.ms-avg": 5, "Destroy()/kill-procs.cnt": 14, "Destroy()/kill-procs.ms-avg": 2, "Destroy()/remove-root.cnt": 14, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 5, "LambdaFunc.Invoke.ms-avg": 5308, "Pause().cnt": 10, "Pause().ms-avg": 6, "ServeHTTP.cnt": 5, "ServeHTTP.ms-avg": 234, "Unpause().cnt": 4, "Unpause().ms-avg": 2, "childExit().cnt": 5, "childExit().ms-avg": 3, "fork().cnt": 5, "fork().ms-avg": 10, "forkRequest.cnt": 5, "forkRequest.ms-avg": 10, "fresh-cgroup.cnt": 31, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 5, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 5, "pull-lambda.ms-avg": 2, "pull-package.cnt": 8, "pull-package.ms-avg": 3123, "web-request.cnt": 5, "web-request.ms-avg": 5308 }, "errors": [], "worker_tail": [ "2022/03/27 21:41:44 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:44 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:44 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:44 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:44 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:44 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:44 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:41:44 remove worker.pid", "2022/03/27 21:41:44 exiting", "" ] }, { "test": "sock_churn", "params": { "baseline": 0, "procs": 1, "seconds": 5, "fork": false }, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "sock", "registry": "/root/open-lambda/test-dir/registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 5.043840408325195, "total_seconds": 5.271974325180054, "stats": { "sandboxes_per_sec": 6.2 }, "ol-stats": { "Create().cnt": 31, "Create().ms-avg": 143, "Create()/acquire-cgroup.cnt": 31, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 31, "Create()/acquire-mem.ms-avg": 0, "Create()/fresh-proc.cnt": 31, "Create()/fresh-proc.ms-avg": 130, "Create()/make-root-fs.cnt": 31, "Create()/make-root-fs.ms-avg": 12, "Destroy().cnt": 62, "Destroy().ms-avg": 5, "Destroy()/detach-root.cnt": 31, "Destroy()/detach-root.ms-avg": 7, "Destroy()/kill-procs.cnt": 31, "Destroy()/kill-procs.ms-avg": 1, "Destroy()/remove-root.cnt": 31, "Destroy()/remove-root.ms-avg": 0, "fresh-cgroup.cnt": 48, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2022/03/27 21:41:49 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:49 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:49 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:49 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:49 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:49 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:41:49 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:41:49 remove worker.pid", "2022/03/27 21:41:49 exiting", "" ] }, { "test": "sock_churn", "params": { "baseline": 0, "procs": 1, "seconds": 10, "fork": true }, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "sock", "registry": "/root/open-lambda/test-dir/registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 10.25657868385315, "total_seconds": 10.505315780639648, "stats": { "sandboxes_per_sec": 25.5 }, "ol-stats": { "Create().cnt": 256, "Create().ms-avg": 17, "Create()/acquire-cgroup.cnt": 256, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 256, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 255, "Create()/fork-proc.ms-avg": 7, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 206, "Create()/make-root-fs.cnt": 256, "Create()/make-root-fs.ms-avg": 8, "Destroy().cnt": 511, "Destroy().ms-avg": 3, "Destroy()/detach-root.cnt": 256, "Destroy()/detach-root.ms-avg": 4, "Destroy()/kill-procs.cnt": 256, "Destroy()/kill-procs.ms-avg": 0, "Destroy()/remove-root.cnt": 256, "Destroy()/remove-root.ms-avg": 0, "childExit().cnt": 255, "childExit().ms-avg": 0, "fork().cnt": 255, "fork().ms-avg": 7, "forkRequest.cnt": 255, "forkRequest.ms-avg": 7, "fresh-cgroup.cnt": 273, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 255, "move-to-cg-after-fork.ms-avg": 0 }, "errors": [], "worker_tail": [ "2022/03/27 21:42:00 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:00 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:00 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:00 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:00 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:00 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:00 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:42:00 remove worker.pid", "2022/03/27 21:42:00 exiting", "" ] }, { "test": "sock_churn", "params": { "baseline": 0, "procs": 15, "seconds": 10, "fork": true }, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "sock", "registry": "/root/open-lambda/test-dir/registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 10.415642261505127, "total_seconds": 10.658627271652222, "stats": { "sandboxes_per_sec": 28.0 }, "ol-stats": { "Create().cnt": 281, "Create().ms-avg": 238, "Create()/acquire-cgroup.cnt": 281, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 281, "Create()/acquire-mem.ms-avg": 9, "Create()/fork-proc.cnt": 280, "Create()/fork-proc.ms-avg": 223, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 117, "Create()/make-root-fs.cnt": 281, "Create()/make-root-fs.ms-avg": 3, "Destroy().cnt": 561, "Destroy().ms-avg": 120, "Destroy()/detach-root.cnt": 281, "Destroy()/detach-root.ms-avg": 4, "Destroy()/kill-procs.cnt": 281, "Destroy()/kill-procs.ms-avg": 6, "Destroy()/remove-root.cnt": 281, "Destroy()/remove-root.ms-avg": 0, "childExit().cnt": 280, "childExit().ms-avg": 215, "fork().cnt": 280, "fork().ms-avg": 223, "forkRequest.cnt": 280, "forkRequest.ms-avg": 28, "fresh-cgroup.cnt": 298, "fresh-cgroup.ms-avg": 4, "move-to-cg-after-fork.cnt": 280, "move-to-cg-after-fork.ms-avg": 2 }, "errors": [], "worker_tail": [ "2022/03/27 21:42:10 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:10 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:10 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:10 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:10 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:10 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:10 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:42:10 remove worker.pid", "2022/03/27 21:42:10 exiting", "" ] }, { "test": "sock_churn", "params": { "baseline": 32, "procs": 1, "seconds": 10, "fork": true }, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "sock", "registry": "/root/open-lambda/test-dir/registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 11.257344961166382, "total_seconds": 11.619186878204346, "stats": { "sandboxes_per_sec": 29.2 }, "ol-stats": { "Create().cnt": 325, "Create().ms-avg": 10, "Create()/acquire-cgroup.cnt": 325, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 325, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 324, "Create()/fork-proc.ms-avg": 8, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 176, "Create()/make-root-fs.cnt": 325, "Create()/make-root-fs.ms-avg": 0, "Destroy().cnt": 617, "Destroy().ms-avg": 1, "Destroy()/detach-root.cnt": 325, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 325, "Destroy()/kill-procs.ms-avg": 1, "Destroy()/remove-root.cnt": 325, "Destroy()/remove-root.ms-avg": 0, "Pause().cnt": 32, "Pause().ms-avg": 1, "childExit().cnt": 324, "childExit().ms-avg": 0, "fork().cnt": 324, "fork().ms-avg": 8, "forkRequest.cnt": 324, "forkRequest.ms-avg": 8, "fresh-cgroup.cnt": 342, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 324, "move-to-cg-after-fork.ms-avg": 0 }, "errors": [], "worker_tail": [ "2022/03/27 21:42:22 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:22 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:22 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:22 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:22 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:22 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:22 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:42:22 remove worker.pid", "2022/03/27 21:42:22 exiting", "" ] }, { "test": "sock_churn", "params": { "baseline": 32, "procs": 15, "seconds": 10, "fork": true }, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "sock", "registry": "/root/open-lambda/test-dir/registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 11.646923065185547, "total_seconds": 12.023842334747314, "stats": { "sandboxes_per_sec": 27.8 }, "ol-stats": { "Create().cnt": 311, "Create().ms-avg": 297, "Create()/acquire-cgroup.cnt": 311, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 311, "Create()/acquire-mem.ms-avg": 168, "Create()/fork-proc.cnt": 310, "Create()/fork-proc.ms-avg": 123, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 254, "Create()/make-root-fs.cnt": 311, "Create()/make-root-fs.ms-avg": 1, "Destroy().cnt": 589, "Destroy().ms-avg": 75, "Destroy()/detach-root.cnt": 311, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 311, "Destroy()/kill-procs.ms-avg": 4, "Destroy()/remove-root.cnt": 311, "Destroy()/remove-root.ms-avg": 0, "Pause().cnt": 32, "Pause().ms-avg": 1, "childExit().cnt": 310, "childExit().ms-avg": 126, "fork().cnt": 310, "fork().ms-avg": 123, "forkRequest.cnt": 310, "forkRequest.ms-avg": 27, "fresh-cgroup.cnt": 328, "fresh-cgroup.ms-avg": 4, "move-to-cg-after-fork.cnt": 310, "move-to-cg-after-fork.ms-avg": 2 }, "errors": [], "worker_tail": [ "2022/03/27 21:42:34 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:34 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:34 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:34 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:34 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:34 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:34 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:42:34 remove worker.pid", "2022/03/27 21:42:34 exiting", "" ] }, { "test": "call_each_once_exec", "params": { "lambda_count": 100, "alloc_mb": 1 }, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "lambda", "registry": "/tmp/tmp455xmipw", "registry_cache_ms": 3000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 4.648579835891724, "total_seconds": 5.136364936828613, "stats": { "reqs_per_sec": 21.512048951596988 }, "ol-stats": { "Channel().cnt": 100, "Channel().ms-avg": 0, "Create().cnt": 101, "Create().ms-avg": 10, "Create()/acquire-cgroup.cnt": 101, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 101, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 100, "Create()/fork-proc.ms-avg": 7, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 234, "Create()/make-root-fs.cnt": 101, "Create()/make-root-fs.ms-avg": 0, "Destroy().cnt": 159, "Destroy().ms-avg": 7, "Destroy()/detach-root.cnt": 101, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 101, "Destroy()/kill-procs.ms-avg": 9, "Destroy()/remove-root.cnt": 101, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 100, "LambdaFunc.Invoke.ms-avg": 41, "Pause().cnt": 200, "Pause().ms-avg": 8, "ServeHTTP.cnt": 100, "ServeHTTP.ms-avg": 7, "Unpause().cnt": 99, "Unpause().ms-avg": 1, "childExit().cnt": 100, "childExit().ms-avg": 1, "evict.cnt": 58, "evict.ms-avg": 18, "fork().cnt": 100, "fork().ms-avg": 7, "forkRequest.cnt": 100, "forkRequest.ms-avg": 7, "fresh-cgroup.cnt": 118, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 100, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 100, "pull-lambda.ms-avg": 8, "web-request.cnt": 100, "web-request.ms-avg": 41 }, "errors": [], "worker_tail": [ "2022/03/27 21:42:39 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:39 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:39 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:39 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:39 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:39 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:39 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:42:39 remove worker.pid", "2022/03/27 21:42:39 exiting", "" ] }, { "test": "update_code", "params": {}, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "lambda", "registry": "/tmp/tmpwrdtquej", "registry_cache_ms": 3000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 6.053621292114258, "total_seconds": 6.306692600250244, "stats": null, "ol-stats": { "Channel().cnt": 3, "Channel().ms-avg": 0, "Create().cnt": 4, "Create().ms-avg": 80, "Create()/acquire-cgroup.cnt": 4, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 4, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 3, "Create()/fork-proc.ms-avg": 10, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 245, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 11, "Destroy().cnt": 4, "Destroy().ms-avg": 16, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 2, "Destroy()/kill-procs.cnt": 4, "Destroy()/kill-procs.ms-avg": 3, "Destroy()/remove-root.cnt": 4, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 1817, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 1820, "Pause().ms-avg": 0, "ServeHTTP.cnt": 1817, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 1816, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 9, "fork().cnt": 3, "fork().ms-avg": 10, "forkRequest.cnt": 3, "forkRequest.ms-avg": 10, "fresh-cgroup.cnt": 21, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 3, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 3, "pull-lambda.ms-avg": 2, "web-request.cnt": 1817, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2022/03/27 21:42:46 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:46 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:46 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:46 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:46 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:46 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:42:46 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:42:46 remove worker.pid", "2022/03/27 21:42:46 exiting", "" ] }, { "test": "stress_one_lambda", "params": { "procs": 1, "seconds": 15 }, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 15.006584882736206, "total_seconds": 15.250600099563599, "stats": { "reqs_per_sec": 321.46666666666664 }, "ol-stats": { "Channel().cnt": 3, "Channel().ms-avg": 0, "Create().cnt": 4, "Create().ms-avg": 56, "Create()/acquire-cgroup.cnt": 4, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 4, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 3, "Create()/fork-proc.ms-avg": 8, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 126, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 18, "Destroy().cnt": 4, "Destroy().ms-avg": 16, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 3, "Destroy()/kill-procs.cnt": 4, "Destroy()/kill-procs.ms-avg": 3, "Destroy()/remove-root.cnt": 4, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4822, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 4825, "Pause().ms-avg": 0, "ServeHTTP.cnt": 4822, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 4821, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 12, "fork().cnt": 3, "fork().ms-avg": 8, "forkRequest.cnt": 3, "forkRequest.ms-avg": 7, "fresh-cgroup.cnt": 21, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 3, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 3, "pull-lambda.ms-avg": 1, "web-request.cnt": 4822, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2022/03/27 21:43:01 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:01 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:01 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:01 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:01 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:01 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:01 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:43:01 remove worker.pid", "2022/03/27 21:43:01 exiting", "" ] }, { "test": "stress_one_lambda", "params": { "procs": 2, "seconds": 15 }, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 15.010380506515503, "total_seconds": 15.237911939620972, "stats": { "reqs_per_sec": 328.46666666666664 }, "ol-stats": { "Channel().cnt": 3, "Channel().ms-avg": 0, "Create().cnt": 4, "Create().ms-avg": 58, "Create()/acquire-cgroup.cnt": 4, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 4, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 3, "Create()/fork-proc.ms-avg": 6, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 128, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 21, "Destroy().cnt": 4, "Destroy().ms-avg": 14, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 2, "Destroy()/kill-procs.cnt": 4, "Destroy()/kill-procs.ms-avg": 6, "Destroy()/remove-root.cnt": 4, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4927, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 4578, "Pause().ms-avg": 0, "ServeHTTP.cnt": 4927, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 4574, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 6, "fork().cnt": 3, "fork().ms-avg": 6, "forkRequest.cnt": 3, "forkRequest.ms-avg": 6, "fresh-cgroup.cnt": 21, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 3, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 3, "pull-lambda.ms-avg": 2, "web-request.cnt": 4927, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2022/03/27 21:43:16 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:16 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:16 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:16 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:16 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:16 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:16 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:43:16 remove worker.pid", "2022/03/27 21:43:16 exiting", "" ] }, { "test": "stress_one_lambda", "params": { "procs": 8, "seconds": 15 }, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "lambda", "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 15.024667263031006, "total_seconds": 15.265275001525879, "stats": { "reqs_per_sec": 379.53333333333336 }, "ol-stats": { "Channel().cnt": 3, "Channel().ms-avg": 0, "Create().cnt": 4, "Create().ms-avg": 63, "Create()/acquire-cgroup.cnt": 4, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 4, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 3, "Create()/fork-proc.ms-avg": 19, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 122, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 17, "Destroy().cnt": 4, "Destroy().ms-avg": 12, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 5, "Destroy()/kill-procs.cnt": 4, "Destroy()/kill-procs.ms-avg": 0, "Destroy()/remove-root.cnt": 4, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 5693, "LambdaFunc.Invoke.ms-avg": 15, "Pause().cnt": 203, "Pause().ms-avg": 1, "ServeHTTP.cnt": 5693, "ServeHTTP.ms-avg": 1, "Unpause().cnt": 201, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 2, "fork().cnt": 3, "fork().ms-avg": 19, "forkRequest.cnt": 3, "forkRequest.ms-avg": 19, "fresh-cgroup.cnt": 21, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 3, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 3, "pull-lambda.ms-avg": 2, "web-request.cnt": 5693, "web-request.ms-avg": 15 }, "errors": [], "worker_tail": [ "2022/03/27 21:43:31 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:31 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:31 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:31 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:31 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:31 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:43:31 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:43:31 remove worker.pid", "2022/03/27 21:43:31 exiting", "" ] }, { "test": "call_each_once_exec", "params": { "lambda_count": 1000, "alloc_mb": 10 }, "pass": true, "conf": { "worker_dir": "/root/open-lambda/test-dir/worker", "worker_port": "5000", "sandbox": "sock", "server_mode": "lambda", "registry": "/tmp/tmpaph9l2qw", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "mem_pool_mb": 500, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "docker_runtime": "", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "features": { "reuse_cgroups": true, "import_cache": true, "downsize_paused_mem": true }, "trace": { "cgroups": false, "memory": false, "evictor": false, "package": false }, "storage": { "root": "private", "scratch": "", "code": "" } }, "seconds": 66.79488444328308, "total_seconds": 67.55141711235046, "stats": { "reqs_per_sec": 14.971210760026604 }, "ol-stats": { "Channel().cnt": 1000, "Channel().ms-avg": 0, "Create().cnt": 1001, "Create().ms-avg": 10, "Create()/acquire-cgroup.cnt": 1001, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 1001, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 1000, "Create()/fork-proc.ms-avg": 8, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 124, "Create()/make-root-fs.cnt": 1001, "Create()/make-root-fs.ms-avg": 1, "Destroy().cnt": 1982, "Destroy().ms-avg": 10, "Destroy()/detach-root.cnt": 1001, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 1001, "Destroy()/kill-procs.ms-avg": 17, "Destroy()/remove-root.cnt": 1001, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 1000, "LambdaFunc.Invoke.ms-avg": 62, "Pause().cnt": 2000, "Pause().ms-avg": 9, "ServeHTTP.cnt": 1000, "ServeHTTP.ms-avg": 27, "Unpause().cnt": 999, "Unpause().ms-avg": 0, "childExit().cnt": 1000, "childExit().ms-avg": 3, "evict.cnt": 981, "evict.ms-avg": 21, "fork().cnt": 1000, "fork().ms-avg": 8, "forkRequest.cnt": 1000, "forkRequest.ms-avg": 7, "fresh-cgroup.cnt": 38, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 1000, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 1000, "pull-lambda.ms-avg": 8, "web-request.cnt": 1000, "web-request.ms-avg": 62 }, "errors": [], "worker_tail": [ "2022/03/27 21:44:39 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:44:39 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:44:39 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:44:39 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:44:39 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:44:39 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/27 21:44:39 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/27 21:44:39 remove worker.pid", "2022/03/27 21:44:39 exiting", "" ] } ], "passed": 18, "failed": 1, "seconds": 241.92261862754822 }