{ "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.908848524093628, "total_seconds": 2.1423723697662354, "stats": { "pings_per_sec": 523.8813371120667 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2022/03/13 21:40:52 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:40:52 remove worker.pid", "2022/03/13 21:40:52 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.259410619735718, "total_seconds": 7.508236408233643, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 173, "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": 159, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 12, "Destroy().cnt": 10, "Destroy().ms-avg": 10, "Destroy()/detach-root.cnt": 10, "Destroy()/detach-root.ms-avg": 5, "Destroy()/kill-procs.cnt": 10, "Destroy()/kill-procs.ms-avg": 2, "Destroy()/remove-root.cnt": 10, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 1808, "Pause().cnt": 4, "Pause().ms-avg": 3, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 47, "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": 1051, "web-request.cnt": 4, "web-request.ms-avg": 1808 }, "errors": [ [ "mounts are leaking (45 before, 44 after), leaked: set()" ] ], "worker_tail": [ "using existing OL directory at /root/open-lambda/test-dir", "2022/03/13 21:40:52 save PID 7272 to file /root/open-lambda/test-dir/worker/worker.pid", "2022/03/13 21:40:52 Start Lambda Server", "2022/03/13 21:40:52 Storage dir at /root/open-lambda/test-dir/worker/code", "2022/03/13 21:40:52 Storage dir at /root/open-lambda/test-dir/worker/scratch", "2022/03/13 21:40:52 Create SandboxPool", "2022/03/13 21:40:52 create /sys/fs/cgroup/blkio/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 create /sys/fs/cgroup/cpu/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 create /sys/fs/cgroup/devices/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 create /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 create /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 create /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 create /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 create /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 create /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 Storage dir at /root/open-lambda/test-dir/worker/root-sandboxes", "2022/03/13 21:40:52 Create DepTracer", "2022/03/13 21:40:52 Create PackagePuller", "2022/03/13 21:40:52 Create HandlerPuller", "2022/03/13 21:40:52 Setups Handlers", "2022/03/13 21:40:52 Execute handler by POSTing to localhost:5000/run/", "2022/03/13 21:40:52 Get status by sending request to localhost:5000/status", "2022/03/13 21:40:52 start creating/serving CGs [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:52 Receive request to /pid", "2022/03/13 21:40:52 Receive request to /run/echo", "2022/03/13 21:40:52 debug: LambdaFunc.Task() runs on goroutine 19 [FUNC echo]", "2022/03/13 21:40:52 increase instances to 1 [FUNC echo]", "2022/03/13 21:40:52 .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/13 21:40:52 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/13 21:40:53 ...returns , [SOCK POOL sandboxes]", "2022/03/13 21:40:53 Channel() [SB 1]", "2022/03/13 21:40:53 Pause() [SB 1]", "2022/03/13 21:40:53 Receive request to /stats", "2022/03/13 21:40:53 Receive request to /run/install", "2022/03/13 21:40:53 debug: LambdaFunc.Task() runs on goroutine 31 [FUNC install]", "2022/03/13 21:40:53 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/requests'", "2022/03/13 21:40:53 run pip install requests from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/requests on host", "2022/03/13 21:40:53 .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/13 21:40:53 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/13 21:40:53 ...returns , [SOCK POOL sandboxes]", "2022/03/13 21:40:53 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/13 21:40:54 Destroy() [SB 2]", "2022/03/13 21:40:54 CG ref count decremented to 0 [SOCK 2]", "2022/03/13 21:40:54 waiting for 1 procs in cg-2 to die [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:54 killed PIDs [7295] in CG [SOCK 2]", "2022/03/13 21:40:54 unmount and remove dirs [SOCK 2]", "2022/03/13 21:40:54 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/certifi'", "2022/03/13 21:40:54 run pip install certifi from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/certifi on host", "2022/03/13 21:40:54 .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/13 21:40:54 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/13 21:40:54 ...returns , [SOCK POOL sandboxes]", "2022/03/13 21:40:54 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/13 21:40:55 Destroy() [SB 3]", "2022/03/13 21:40:55 CG ref count decremented to 0 [SOCK 3]", "2022/03/13 21:40:55 waiting for 1 procs in cg-3 to die [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:55 killed PIDs [7376] in CG [SOCK 3]", "2022/03/13 21:40:55 unmount and remove dirs [SOCK 3]", "2022/03/13 21:40:55 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/urllib3'", "2022/03/13 21:40:55 run pip install urllib3 from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/urllib3 on host", "2022/03/13 21:40:55 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/urllib3, )=4... [SOCK POOL sandboxes]", "2022/03/13 21:40:55 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/13 21:40:55 ...returns , [SOCK POOL sandboxes]", "2022/03/13 21:40:55 Channel() [SB 4]", "Collecting urllib3", " Using cached urllib3-1.26.8-py2.py3-none-any.whl (138 kB)", "Installing collected packages: urllib3", "Successfully installed urllib3-1.26.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/13 21:40:56 Destroy() [SB 4]", "2022/03/13 21:40:56 CG ref count decremented to 0 [SOCK 4]", "2022/03/13 21:40:56 waiting for 1 procs in cg-4 to die [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:56 killed PIDs [7392] in CG [SOCK 4]", "2022/03/13 21:40:56 unmount and remove dirs [SOCK 4]", "2022/03/13 21:40:56 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/idna'", "2022/03/13 21:40:56 run pip install idna from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/idna on host", "2022/03/13 21:40:56 .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/13 21:40:56 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/13 21:40:56 ...returns , [SOCK POOL sandboxes]", "2022/03/13 21:40:56 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/13 21:40:57 Destroy() [SB 5]", "2022/03/13 21:40:57 CG ref count decremented to 0 [SOCK 5]", "2022/03/13 21:40:57 waiting for 1 procs in cg-5 to die [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:57 killed PIDs [7408] in CG [SOCK 5]", "2022/03/13 21:40:57 unmount and remove dirs [SOCK 5]", "2022/03/13 21:40:57 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/charset-normalizer'", "2022/03/13 21:40:57 run pip install charset-normalizer from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/charset-normalizer on host", "2022/03/13 21:40:57 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/charset-normalizer, )=6... [SOCK POOL sandboxes]", "2022/03/13 21:40:57 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/13 21:40:57 ...returns , [SOCK POOL sandboxes]", "2022/03/13 21:40:57 Channel() [SB 6]", "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/13 21:40:58 Destroy() [SB 6]", "2022/03/13 21:40:58 CG ref count decremented to 0 [SOCK 6]", "2022/03/13 21:40:58 waiting for 1 procs in cg-6 to die [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:58 killed PIDs [7424] in CG [SOCK 6]", "2022/03/13 21:40:58 unmount and remove dirs [SOCK 6]", "2022/03/13 21:40:58 increase instances to 1 [FUNC install]", "2022/03/13 21:40:58 .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/13 21:40:58 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/13 21:40:58 ...returns , [SOCK POOL sandboxes]", "2022/03/13 21:40:58 Channel() [SB 7]", "2022/03/13 21:40:58 Pause() [SB 7]", "2022/03/13 21:40:58 Receive request to /stats", "2022/03/13 21:40:58 Receive request to /run/install2", "2022/03/13 21:40:58 debug: LambdaFunc.Task() runs on goroutine 58 [FUNC install2]", "2022/03/13 21:40:58 increase instances to 1 [FUNC install2]", "2022/03/13 21:40:58 .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/13 21:40:58 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/13 21:40:58 ...returns , [SOCK POOL sandboxes]", "2022/03/13 21:40:58 Channel() [SB 8]", "2022/03/13 21:40:58 Pause() [SB 8]", "2022/03/13 21:40:58 Receive request to /stats", "2022/03/13 21:40:58 Receive request to /run/install3", "2022/03/13 21:40:58 debug: LambdaFunc.Task() runs on goroutine 70 [FUNC install3]", "2022/03/13 21:40:58 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/simplejson'", "2022/03/13 21:40:58 run pip install simplejson from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/simplejson on host", "2022/03/13 21:40:58 .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/13 21:40:58 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/13 21:40:58 ...returns , [SOCK POOL sandboxes]", "2022/03/13 21:40:58 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/13 21:40:59 Destroy() [SB 9]", "2022/03/13 21:40:59 CG ref count decremented to 0 [SOCK 9]", "2022/03/13 21:40:59 waiting for 1 procs in cg-9 to die [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:40:59 killed PIDs [7454] in CG [SOCK 9]", "2022/03/13 21:40:59 unmount and remove dirs [SOCK 9]", "2022/03/13 21:40:59 increase instances to 1 [FUNC install3]", "2022/03/13 21:40:59 .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/13 21:40:59 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/13 21:41:00 ...returns , [SOCK POOL sandboxes]", "2022/03/13 21:41:00 Channel() [SB 10]", "2022/03/13 21:41:00 Pause() [SB 10]", "2022/03/13 21:41:00 Receive request to /stats", "2022/03/13 21:41:00 received kill signal, cleaning up", "2022/03/13 21:41:00 Kill function: install2", "2022/03/13 21:41:00 Destroy() [SB 8]", "2022/03/13 21:41:00 CG ref count decremented to 0 [SOCK 8]", "2022/03/13 21:41:00 killed PIDs [7447] in CG [SOCK 8]", "2022/03/13 21:41:00 unmount and remove dirs [SOCK 8]", "2022/03/13 21:41:00 Kill function: install3", "2022/03/13 21:41:00 Destroy() [SB 10]", "2022/03/13 21:41:00 CG ref count decremented to 0 [SOCK 10]", "2022/03/13 21:41:00 killed PIDs [7471] in CG [SOCK 10]", "2022/03/13 21:41:00 unmount and remove dirs [SOCK 10]", "2022/03/13 21:41:00 Kill function: echo", "2022/03/13 21:41:00 Destroy() [SB 1]", "2022/03/13 21:41:00 CG ref count decremented to 0 [SOCK 1]", "2022/03/13 21:41:00 killed PIDs [7288] in CG [SOCK 1]", "2022/03/13 21:41:00 unmount and remove dirs [SOCK 1]", "2022/03/13 21:41:00 Kill function: install", "2022/03/13 21:41:00 Destroy() [SB 7]", "2022/03/13 21:41:00 CG ref count decremented to 0 [SOCK 7]", "2022/03/13 21:41:00 killed PIDs [7440] in CG [SOCK 7]", "2022/03/13 21:41:00 unmount and remove dirs [SOCK 7]", "2022/03/13 21:41:00 make sure all memory is free [SOCK POOL sandboxes]", "2022/03/13 21:41:00 memory pool emptied [SOCK POOL sandboxes]", "2022/03/13 21:41:00 received shutdown request [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:00 empty queues and release CGs [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:00 remove /sys/fs/cgroup/blkio/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:00 remove /sys/fs/cgroup/cpu/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:00 remove /sys/fs/cgroup/devices/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:00 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:00 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:00 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:00 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:00 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:00 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:00 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:41:00 remove worker.pid", "2022/03/13 21:41:00 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.788373708724976, "total_seconds": 6.032952785491943, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 101, "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": 9, "Create()/fresh-proc.cnt": 7, "Create()/fresh-proc.ms-avg": 136, "Create()/make-root-fs.cnt": 11, "Create()/make-root-fs.ms-avg": 11, "Destroy().cnt": 11, "Destroy().ms-avg": 10, "Destroy()/detach-root.cnt": 11, "Destroy()/detach-root.ms-avg": 5, "Destroy()/kill-procs.cnt": 11, "Destroy()/kill-procs.ms-avg": 1, "Destroy()/remove-root.cnt": 11, "Destroy()/remove-root.ms-avg": 1, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 1440, "Pause().cnt": 8, "Pause().ms-avg": 6, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 50, "Unpause().cnt": 3, "Unpause().ms-avg": 0, "childExit().cnt": 4, "childExit().ms-avg": 0, "fork().cnt": 4, "fork().ms-avg": 9, "forkRequest.cnt": 4, "forkRequest.ms-avg": 9, "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": 877, "web-request.cnt": 4, "web-request.ms-avg": 1440 }, "errors": [], "worker_tail": [ "2022/03/13 21:41:06 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:06 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:06 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:06 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:06 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:06 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:06 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:41:06 remove worker.pid", "2022/03/13 21:41:06 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.470041036605835, "total_seconds": 12.297179222106934, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 598, "Destroy().cnt": 10, "Destroy().ms-avg": 161, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 2855, "Pause().cnt": 4, "Pause().ms-avg": 36, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 1454, "web-request.cnt": 4, "web-request.ms-avg": 2855 }, "errors": [], "worker_tail": [ "2022/03/13 21:41:18 Kill function: install", "2022/03/13 21:41:18 Destroy() [SB 6]", "2022/03/13 21:41:18 Kill function: install2", "2022/03/13 21:41:18 Destroy() [SB 7]", "2022/03/13 21:41:18 Kill function: install3", "2022/03/13 21:41:18 Destroy() [SB 9]", "2022/03/13 21:41:18 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:41:18 remove worker.pid", "2022/03/13 21:41:18 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.21598362922668457, "total_seconds": 0.45621657371520996, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 88, "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": 132, "Create()/make-root-fs.cnt": 2, "Create()/make-root-fs.ms-avg": 17, "Destroy().cnt": 2, "Destroy().ms-avg": 7, "Destroy()/detach-root.cnt": 2, "Destroy()/detach-root.ms-avg": 6, "Destroy()/kill-procs.cnt": 2, "Destroy()/kill-procs.ms-avg": 0, "Destroy()/remove-root.cnt": 2, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 1, "LambdaFunc.Invoke.ms-avg": 212, "Pause().cnt": 2, "Pause().ms-avg": 7, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 22, "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": 2, "web-request.cnt": 1, "web-request.ms-avg": 212 }, "errors": [], "worker_tail": [ "2022/03/13 21:41:18 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:18 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:18 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:18 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:18 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:18 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:18 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:41:18 remove worker.pid", "2022/03/13 21:41:18 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.9314165115356445, "total_seconds": 1.179389238357544, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 86, "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": 13, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 128, "Create()/make-root-fs.cnt": 2, "Create()/make-root-fs.ms-avg": 15, "Destroy().cnt": 2, "Destroy().ms-avg": 8, "Destroy()/detach-root.cnt": 2, "Destroy()/detach-root.ms-avg": 7, "Destroy()/kill-procs.cnt": 2, "Destroy()/kill-procs.ms-avg": 0, "Destroy()/remove-root.cnt": 2, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 1, "LambdaFunc.Invoke.ms-avg": 927, "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": 13, "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": 927 }, "errors": [], "worker_tail": [ "2022/03/13 21:41:20 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:20 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:20 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:20 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:20 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:20 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:20 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:41:20 remove worker.pid", "2022/03/13 21:41:20 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.19741368293762207, "total_seconds": 0.4350612163543701, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 84, "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": 4, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 130, "Create()/make-root-fs.cnt": 2, "Create()/make-root-fs.ms-avg": 16, "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": 0, "Destroy()/remove-root.cnt": 2, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 1, "LambdaFunc.Invoke.ms-avg": 194, "Pause().cnt": 2, "Pause().ms-avg": 7, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 8, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 4, "forkRequest.cnt": 1, "forkRequest.ms-avg": 3, "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": 194 }, "errors": [], "worker_tail": [ "2022/03/13 21:41:20 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:20 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:20 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:20 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:20 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:20 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:20 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:41:20 remove worker.pid", "2022/03/13 21:41:20 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.422034978866577, "total_seconds": 26.64493703842163, "stats": null, "ol-stats": { "Channel().cnt": 13, "Channel().ms-avg": 0, "Create().cnt": 14, "Create().ms-avg": 105, "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": 11, "Create()/fresh-proc.cnt": 9, "Create()/fresh-proc.ms-avg": 141, "Create()/make-root-fs.cnt": 14, "Create()/make-root-fs.ms-avg": 9, "Destroy().cnt": 14, "Destroy().ms-avg": 12, "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": 5281, "Pause().cnt": 10, "Pause().ms-avg": 6, "ServeHTTP.cnt": 5, "ServeHTTP.ms-avg": 240, "Unpause().cnt": 4, "Unpause().ms-avg": 0, "childExit().cnt": 5, "childExit().ms-avg": 4, "fork().cnt": 5, "fork().ms-avg": 11, "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": 3106, "web-request.cnt": 5, "web-request.ms-avg": 5281 }, "errors": [], "worker_tail": [ "2022/03/13 21:41:47 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:47 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:47 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:47 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:47 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:47 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:47 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:41:47 remove worker.pid", "2022/03/13 21:41:47 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.155008316040039, "total_seconds": 5.39100193977356, "stats": { "sandboxes_per_sec": 6.2 }, "ol-stats": { "Create().cnt": 31, "Create().ms-avg": 146, "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": 137, "Create()/make-root-fs.cnt": 31, "Create()/make-root-fs.ms-avg": 8, "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/13 21:41:52 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:52 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:52 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:52 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:52 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:52 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:41:52 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:41:52 remove worker.pid", "2022/03/13 21:41:52 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.166003465652466, "total_seconds": 10.409706115722656, "stats": { "sandboxes_per_sec": 24.8 }, "ol-stats": { "Create().cnt": 249, "Create().ms-avg": 17, "Create()/acquire-cgroup.cnt": 249, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 249, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 248, "Create()/fork-proc.ms-avg": 7, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 120, "Create()/make-root-fs.cnt": 249, "Create()/make-root-fs.ms-avg": 8, "Destroy().cnt": 497, "Destroy().ms-avg": 3, "Destroy()/detach-root.cnt": 249, "Destroy()/detach-root.ms-avg": 4, "Destroy()/kill-procs.cnt": 249, "Destroy()/kill-procs.ms-avg": 0, "Destroy()/remove-root.cnt": 249, "Destroy()/remove-root.ms-avg": 0, "childExit().cnt": 248, "childExit().ms-avg": 0, "fork().cnt": 248, "fork().ms-avg": 7, "forkRequest.cnt": 248, "forkRequest.ms-avg": 7, "fresh-cgroup.cnt": 266, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 248, "move-to-cg-after-fork.ms-avg": 0 }, "errors": [], "worker_tail": [ "2022/03/13 21:42:02 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:02 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:02 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:02 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:02 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:02 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:02 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:42:02 remove worker.pid", "2022/03/13 21:42:02 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.422341585159302, "total_seconds": 10.660626411437988, "stats": { "sandboxes_per_sec": 27.5 }, "ol-stats": { "Create().cnt": 276, "Create().ms-avg": 248, "Create()/acquire-cgroup.cnt": 276, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 276, "Create()/acquire-mem.ms-avg": 6, "Create()/fork-proc.cnt": 275, "Create()/fork-proc.ms-avg": 237, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 118, "Create()/make-root-fs.cnt": 276, "Create()/make-root-fs.ms-avg": 3, "Destroy().cnt": 551, "Destroy().ms-avg": 125, "Destroy()/detach-root.cnt": 276, "Destroy()/detach-root.ms-avg": 1, "Destroy()/kill-procs.cnt": 276, "Destroy()/kill-procs.ms-avg": 6, "Destroy()/remove-root.cnt": 276, "Destroy()/remove-root.ms-avg": 0, "childExit().cnt": 275, "childExit().ms-avg": 230, "fork().cnt": 275, "fork().ms-avg": 237, "forkRequest.cnt": 275, "forkRequest.ms-avg": 31, "fresh-cgroup.cnt": 293, "fresh-cgroup.ms-avg": 4, "move-to-cg-after-fork.cnt": 275, "move-to-cg-after-fork.ms-avg": 2 }, "errors": [], "worker_tail": [ "2022/03/13 21:42:13 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:13 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:13 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:13 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:13 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:13 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:13 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:42:13 remove worker.pid", "2022/03/13 21:42:13 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.196433544158936, "total_seconds": 11.572776556015015, "stats": { "sandboxes_per_sec": 29.3 }, "ol-stats": { "Create().cnt": 326, "Create().ms-avg": 10, "Create()/acquire-cgroup.cnt": 326, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 326, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 325, "Create()/fork-proc.ms-avg": 9, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 138, "Create()/make-root-fs.cnt": 326, "Create()/make-root-fs.ms-avg": 0, "Destroy().cnt": 619, "Destroy().ms-avg": 2, "Destroy()/detach-root.cnt": 326, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 326, "Destroy()/kill-procs.ms-avg": 1, "Destroy()/remove-root.cnt": 326, "Destroy()/remove-root.ms-avg": 0, "Pause().cnt": 32, "Pause().ms-avg": 1, "childExit().cnt": 325, "childExit().ms-avg": 0, "fork().cnt": 325, "fork().ms-avg": 9, "forkRequest.cnt": 325, "forkRequest.ms-avg": 8, "fresh-cgroup.cnt": 343, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 325, "move-to-cg-after-fork.ms-avg": 0 }, "errors": [], "worker_tail": [ "2022/03/13 21:42:25 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:25 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:25 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:25 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:25 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:25 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:25 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:42:25 remove worker.pid", "2022/03/13 21:42:25 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.651026487350464, "total_seconds": 12.013678789138794, "stats": { "sandboxes_per_sec": 26.5 }, "ol-stats": { "Create().cnt": 298, "Create().ms-avg": 298, "Create()/acquire-cgroup.cnt": 298, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 298, "Create()/acquire-mem.ms-avg": 171, "Create()/fork-proc.cnt": 297, "Create()/fork-proc.ms-avg": 123, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 240, "Create()/make-root-fs.cnt": 298, "Create()/make-root-fs.ms-avg": 1, "Destroy().cnt": 563, "Destroy().ms-avg": 80, "Destroy()/detach-root.cnt": 298, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 298, "Destroy()/kill-procs.ms-avg": 6, "Destroy()/remove-root.cnt": 298, "Destroy()/remove-root.ms-avg": 0, "Pause().cnt": 32, "Pause().ms-avg": 1, "childExit().cnt": 297, "childExit().ms-avg": 129, "fork().cnt": 297, "fork().ms-avg": 123, "forkRequest.cnt": 297, "forkRequest.ms-avg": 28, "fresh-cgroup.cnt": 315, "fresh-cgroup.ms-avg": 2, "move-to-cg-after-fork.cnt": 297, "move-to-cg-after-fork.ms-avg": 2 }, "errors": [], "worker_tail": [ "2022/03/13 21:42:37 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:37 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:37 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:37 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:37 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:37 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:37 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:42:37 remove worker.pid", "2022/03/13 21:42:37 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/tmpdtuqern9", "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.906305551528931, "total_seconds": 5.471100091934204, "stats": { "reqs_per_sec": 20.382042787719257 }, "ol-stats": { "Channel().cnt": 100, "Channel().ms-avg": 0, "Create().cnt": 101, "Create().ms-avg": 12, "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": 8, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 259, "Create()/make-root-fs.cnt": 101, "Create()/make-root-fs.ms-avg": 0, "Destroy().cnt": 158, "Destroy().ms-avg": 8, "Destroy()/detach-root.cnt": 101, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 101, "Destroy()/kill-procs.ms-avg": 8, "Destroy()/remove-root.cnt": 101, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 100, "LambdaFunc.Invoke.ms-avg": 43, "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": 3, "evict.cnt": 57, "evict.ms-avg": 19, "fork().cnt": 100, "fork().ms-avg": 8, "forkRequest.cnt": 100, "forkRequest.ms-avg": 8, "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": 7, "web-request.cnt": 100, "web-request.ms-avg": 43 }, "errors": [], "worker_tail": [ "2022/03/13 21:42:42 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:42 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:42 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:42 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:42 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:42 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:42 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:42:42 remove worker.pid", "2022/03/13 21:42:42 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/tmpfyjjyn1x", "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.051036357879639, "total_seconds": 6.301519870758057, "stats": null, "ol-stats": { "Channel().cnt": 3, "Channel().ms-avg": 0, "Create().cnt": 4, "Create().ms-avg": 85, "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": 9, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 253, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 14, "Destroy().cnt": 4, "Destroy().ms-avg": 10, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 2, "Destroy()/kill-procs.cnt": 4, "Destroy()/kill-procs.ms-avg": 4, "Destroy()/remove-root.cnt": 4, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 1639, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 1642, "Pause().ms-avg": 0, "ServeHTTP.cnt": 1639, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 1638, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 5, "fork().cnt": 3, "fork().ms-avg": 9, "forkRequest.cnt": 3, "forkRequest.ms-avg": 9, "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": 1639, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2022/03/13 21:42:49 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:49 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:49 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:49 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:49 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:49 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:42:49 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:42:49 remove worker.pid", "2022/03/13 21:42:49 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.006397724151611, "total_seconds": 15.243999004364014, "stats": { "reqs_per_sec": 303.46666666666664 }, "ol-stats": { "Channel().cnt": 3, "Channel().ms-avg": 0, "Create().cnt": 4, "Create().ms-avg": 59, "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": 12, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 134, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 16, "Destroy().cnt": 4, "Destroy().ms-avg": 17, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 3, "Destroy()/kill-procs.cnt": 4, "Destroy()/kill-procs.ms-avg": 4, "Destroy()/remove-root.cnt": 4, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4552, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 4555, "Pause().ms-avg": 0, "ServeHTTP.cnt": 4552, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 4551, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 11, "fork().cnt": 3, "fork().ms-avg": 12, "forkRequest.cnt": 3, "forkRequest.ms-avg": 12, "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": 4552, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2022/03/13 21:43:04 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:04 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:04 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:04 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:04 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:04 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:04 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:43:04 remove worker.pid", "2022/03/13 21:43:04 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.009206056594849, "total_seconds": 15.237654209136963, "stats": { "reqs_per_sec": 324.8 }, "ol-stats": { "Channel().cnt": 3, "Channel().ms-avg": 0, "Create().cnt": 4, "Create().ms-avg": 59, "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": 9, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 128, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 19, "Destroy().cnt": 4, "Destroy().ms-avg": 18, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 2, "Destroy()/kill-procs.cnt": 4, "Destroy()/kill-procs.ms-avg": 5, "Destroy()/remove-root.cnt": 4, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4872, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 4352, "Pause().ms-avg": 0, "ServeHTTP.cnt": 4872, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 4348, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 7, "fork().cnt": 3, "fork().ms-avg": 9, "forkRequest.cnt": 3, "forkRequest.ms-avg": 9, "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": 4872, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2022/03/13 21:43:19 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:19 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:19 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:19 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:19 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:19 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:19 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:43:19 remove worker.pid", "2022/03/13 21:43:19 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.02681016921997, "total_seconds": 15.266508102416992, "stats": { "reqs_per_sec": 325.73333333333335 }, "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": 15, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 130, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 13, "Destroy().cnt": 4, "Destroy().ms-avg": 11, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 6, "Destroy()/kill-procs.cnt": 4, "Destroy()/kill-procs.ms-avg": 1, "Destroy()/remove-root.cnt": 4, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4886, "LambdaFunc.Invoke.ms-avg": 9, "Pause().cnt": 672, "Pause().ms-avg": 1, "ServeHTTP.cnt": 4886, "ServeHTTP.ms-avg": 1, "Unpause().cnt": 669, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 0, "fork().cnt": 3, "fork().ms-avg": 15, "forkRequest.cnt": 3, "forkRequest.ms-avg": 12, "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": 4, "web-request.cnt": 4886, "web-request.ms-avg": 9 }, "errors": [], "worker_tail": [ "2022/03/13 21:43:34 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:34 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:34 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:34 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:34 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:34 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:43:34 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:43:34 remove worker.pid", "2022/03/13 21:43:34 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/tmp8swyykeg", "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": 72.29914498329163, "total_seconds": 73.16958975791931, "stats": { "reqs_per_sec": 13.831426091317704 }, "ol-stats": { "Channel().cnt": 1000, "Channel().ms-avg": 0, "Create().cnt": 1001, "Create().ms-avg": 11, "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": 9, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 133, "Create()/make-root-fs.cnt": 1001, "Create()/make-root-fs.ms-avg": 1, "Destroy().cnt": 1982, "Destroy().ms-avg": 11, "Destroy()/detach-root.cnt": 1001, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 1001, "Destroy()/kill-procs.ms-avg": 16, "Destroy()/remove-root.cnt": 1001, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 1000, "LambdaFunc.Invoke.ms-avg": 68, "Pause().cnt": 2000, "Pause().ms-avg": 9, "ServeHTTP.cnt": 1000, "ServeHTTP.ms-avg": 30, "Unpause().cnt": 999, "Unpause().ms-avg": 0, "childExit().cnt": 1000, "childExit().ms-avg": 4, "evict.cnt": 981, "evict.ms-avg": 22, "fork().cnt": 1000, "fork().ms-avg": 9, "forkRequest.cnt": 1000, "forkRequest.ms-avg": 8, "fresh-cgroup.cnt": 39, "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": 68 }, "errors": [], "worker_tail": [ "2022/03/13 21:44:47 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:44:47 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:44:47 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:44:47 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:44:47 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:44:47 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2022/03/13 21:44:48 save stats to /root/open-lambda/test-dir/worker/stats.json", "2022/03/13 21:44:48 remove worker.pid", "2022/03/13 21:44:48 exiting", "" ] } ], "passed": 18, "failed": 1, "seconds": 246.55613493919373 }