{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "mem_pool_mb": 500, "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 2.2231228351593018, "total_seconds": 2.4300732612609863, "stats": { "pings_per_sec": 449.8224273957823 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/08/29 21:44:56 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:44:56 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:44:56 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:44:56 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:44:56 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:44:56 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:44:56 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:44:56 remove worker.pid", "2020/08/29 21:44:56 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": false }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "mem_pool_mb": 500, "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 10.255834579467773, "total_seconds": 10.50016450881958, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 321, "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": 309, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 11, "Destroy().cnt": 10, "Destroy().ms-avg": 4, "Destroy()/detach-root.cnt": 10, "Destroy()/detach-root.ms-avg": 0, "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": 2549, "Pause().cnt": 4, "Pause().ms-avg": 3, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 76, "fresh-cgroup.cnt": 27, "fresh-cgroup.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 4, "pull-package.cnt": 6, "pull-package.ms-avg": 1256, "web-request.cnt": 4, "web-request.ms-avg": 2549 }, "errors": [], "worker_tail": [ "2020/08/29 21:45:07 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:07 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:07 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:07 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:07 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:07 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:07 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:45:07 remove worker.pid", "2020/08/29 21:45:07 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "mem_pool_mb": 500, "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 5.73165225982666, "total_seconds": 5.973442792892456, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 95, "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": 7, "Create()/fresh-proc.cnt": 7, "Create()/fresh-proc.ms-avg": 142, "Create()/make-root-fs.cnt": 11, "Create()/make-root-fs.ms-avg": 1, "Destroy().cnt": 11, "Destroy().ms-avg": 3, "Destroy()/detach-root.cnt": 11, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 11, "Destroy()/kill-procs.ms-avg": 2, "Destroy()/remove-root.cnt": 11, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 1424, "Pause().cnt": 8, "Pause().ms-avg": 5, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 44, "Unpause().cnt": 3, "Unpause().ms-avg": 0, "childExit().cnt": 4, "childExit().ms-avg": 0, "fork().cnt": 4, "fork().ms-avg": 7, "forkRequest.cnt": 4, "forkRequest.ms-avg": 6, "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": 882, "web-request.cnt": 4, "web-request.ms-avg": 1424 }, "errors": [], "worker_tail": [ "2020/08/29 21:45:13 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:13 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:13 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:13 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:13 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:13 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:13 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:45:13 remove worker.pid", "2020/08/29 21:45:13 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": false }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "sandbox": "docker", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "mem_pool_mb": 500, "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 17.150451183319092, "total_seconds": 18.281163215637207, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 884, "Destroy().cnt": 10, "Destroy().ms-avg": 254, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 4274, "Pause().cnt": 4, "Pause().ms-avg": 35, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 1962, "web-request.cnt": 4, "web-request.ms-avg": 4274 }, "errors": [], "worker_tail": [ "2020/08/29 21:45:30 Kill function: install3", "2020/08/29 21:45:30 Destroy() [SB 9]", "2020/08/29 21:45:31 Kill function: echo", "2020/08/29 21:45:31 Destroy() [SB 0]", "2020/08/29 21:45:31 Kill function: install", "2020/08/29 21:45:31 Destroy() [SB 6]", "2020/08/29 21:45:31 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:45:31 remove worker.pid", "2020/08/29 21:45:31 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "mem_pool_mb": 500, "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 0.2498035430908203, "total_seconds": 0.4856913089752197, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 109, "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": 6, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 203, "Create()/make-root-fs.cnt": 2, "Create()/make-root-fs.ms-avg": 4, "Destroy().cnt": 2, "Destroy().ms-avg": 2, "Destroy()/detach-root.cnt": 2, "Destroy()/detach-root.ms-avg": 1, "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": 245, "Pause().cnt": 2, "Pause().ms-avg": 5, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 14, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 6, "forkRequest.cnt": 1, "forkRequest.ms-avg": 4, "fresh-cgroup.cnt": 19, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 1, "move-to-cg-after-fork.ms-avg": 1, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 2, "web-request.cnt": 1, "web-request.ms-avg": 245 }, "errors": [], "worker_tail": [ "2020/08/29 21:45:31 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:31 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:31 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:31 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:31 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:31 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:31 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:45:31 remove worker.pid", "2020/08/29 21:45:31 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "mem_pool_mb": 500, "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 0.9094738960266113, "total_seconds": 1.1428546905517578, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 80, "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": 8, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 143, "Create()/make-root-fs.cnt": 2, "Create()/make-root-fs.ms-avg": 4, "Destroy().cnt": 2, "Destroy().ms-avg": 2, "Destroy()/detach-root.cnt": 2, "Destroy()/detach-root.ms-avg": 1, "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": 905, "Pause().cnt": 2, "Pause().ms-avg": 4, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 735, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 8, "forkRequest.cnt": 1, "forkRequest.ms-avg": 6, "fresh-cgroup.cnt": 19, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 1, "move-to-cg-after-fork.ms-avg": 1, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 2, "web-request.cnt": 1, "web-request.ms-avg": 905 }, "errors": [], "worker_tail": [ "2020/08/29 21:45:33 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:45:33 remove worker.pid", "2020/08/29 21:45:33 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "mem_pool_mb": 500, "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": null, "total_seconds": 40.3317232131958, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 102, "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": 6, "Create()/fresh-proc.cnt": 7, "Create()/fresh-proc.ms-avg": 153, "Create()/make-root-fs.cnt": 11, "Create()/make-root-fs.ms-avg": 1, "Destroy().cnt": 11, "Destroy().ms-avg": 5, "Destroy()/detach-root.cnt": 11, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 11, "Destroy()/kill-procs.ms-avg": 3, "Destroy()/remove-root.cnt": 11, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 9976, "Pause().cnt": 8, "Pause().ms-avg": 5, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 166, "Unpause().cnt": 3, "Unpause().ms-avg": 0, "childExit().cnt": 4, "childExit().ms-avg": 0, "fork().cnt": 4, "fork().ms-avg": 6, "forkRequest.cnt": 4, "forkRequest.ms-avg": 5, "fresh-cgroup.cnt": 28, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 4, "move-to-cg-after-fork.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 7, "pull-package.cnt": 6, "pull-package.ms-avg": 6498, "web-request.cnt": 4, "web-request.ms-avg": 9976 }, "errors": [ [ "Traceback (most recent call last):", " File \"test.py\", line 81, in wrapper", " rv = fn(**kwargs)", " File \"test.py\", line 246, in numpy_test", " raise Exception(\"STATUS %d: %s\" % (r.status_code, r.text))", "Exception: STATUS 500: 500: Internal Server Error500: Internal Server Error", "" ] ], "worker_tail": [ "using existing OL directory at /root/open-lambda/test-dir", "2020/08/29 21:45:33 save PID 10323 to file /root/open-lambda/test-dir/worker/worker.pid", "2020/08/29 21:45:33 Start Lambda Server", "2020/08/29 21:45:33 Storage dir at /root/open-lambda/test-dir/worker/code", "2020/08/29 21:45:33 Storage dir at /root/open-lambda/test-dir/worker/scratch", "2020/08/29 21:45:33 Create SandboxPool", "2020/08/29 21:45:33 create /sys/fs/cgroup/blkio/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 create /sys/fs/cgroup/cpu/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 create /sys/fs/cgroup/devices/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 create /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 create /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 create /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 create /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 create /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 create /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 Storage dir at /root/open-lambda/test-dir/worker/root-sandboxes", "2020/08/29 21:45:33 Create DepTracer", "2020/08/29 21:45:33 Create PackagePuller", "2020/08/29 21:45:33 Create ImportCache", "2020/08/29 21:45:33 Import Cache Tree:", "2020/08/29 21:45:33 0 - ROOT", "2020/08/29 21:45:33 Create HandlerPuller", "2020/08/29 21:45:33 Setups Handlers", "2020/08/29 21:45:33 Execute handler by POSTing to localhost:5000/run/", "2020/08/29 21:45:33 Get status by sending request to localhost:5000/status", "2020/08/29 21:45:33 start creating/serving CGs [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:33 Receive request to /pid", "2020/08/29 21:45:33 Receive request to /run/numpy15", "2020/08/29 21:45:33 debug: LambdaFunc.Task() runs on goroutine 18 [FUNC numpy15]", "2020/08/29 21:45:33 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/numpy==1.15'", "2020/08/29 21:45:33 run pip install numpy==1.15 from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/numpy==1.15 on host", "2020/08/29 21:45:33 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/numpy==1.15, )=1... [SOCK POOL sandboxes]", "2020/08/29 21:45:33 use cgroup cg-1 [SOCK 1]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "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", "2020/08/29 21:45:33 ...returns , [SOCK POOL sandboxes]", "2020/08/29 21:45:33 Channel() [SB 1]", "Collecting numpy==1.15", " Downloading numpy-1.15.0-cp36-cp36m-manylinux1_x86_64.whl (13.9 MB)", "Installing collected packages: numpy", "Successfully installed numpy-1.15.0", "pip install returned code 0", "2020/08/29 21:45:44 Destroy() [SB 1]", "2020/08/29 21:45:44 CG ref count decremented to 0 [SOCK 1]", "2020/08/29 21:45:44 waiting for 1 procs in cg-1 to die [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:45:44 killed PIDs [10336] in CG [SOCK 1]", "2020/08/29 21:45:44 unmount and remove dirs [SOCK 1]", "2020/08/29 21:45:44 increase instances to 1 [FUNC numpy15]", "2020/08/29 21:45:44 Try using Zygote from ", "2020/08/29 21:45:44 .Create(, false, /root/open-lambda/test-dir/worker/code/1004-import-cache, /root/open-lambda/test-dir/worker/scratch/1005-import-cache, )=2... [SOCK POOL sandboxes]", "2020/08/29 21:45:44 use cgroup cg-2 [SOCK 2]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "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 fork server on fd: 3", "2020/08/29 21:45:44 ...returns , [SOCK POOL sandboxes]", "2020/08/29 21:45:44 .Create(, true, /root/open-lambda/test-dir/worker/code/1001-numpy15, /root/open-lambda/test-dir/worker/scratch/1003-numpy15, )=3... [SOCK POOL sandboxes]", "2020/08/29 21:45:44 use cgroup cg-3 [SOCK 3]", "2020/08/29 21:45:44 fork(SB 3) [SB 2]", "sock2.py: start web server on fd: 3", "2020/08/29 21:45:44 move PID 10351 from CG cg-2 to CG cg-3 [SOCK 2]", "2020/08/29 21:45:44 ...returns , [SOCK POOL sandboxes]", "2020/08/29 21:45:44 Pause() [SB 2]", "2020/08/29 21:45:44 Channel() [SB 3]", "2020/08/29 21:45:44 Pause() [SB 3]", "2020/08/29 21:45:44 Receive request to /run/numpy16", "2020/08/29 21:45:44 debug: LambdaFunc.Task() runs on goroutine 32 [FUNC numpy16]", "2020/08/29 21:45:44 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/numpy==1.16'", "2020/08/29 21:45:44 run pip install numpy==1.16 from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/numpy==1.16 on host", "2020/08/29 21:45:44 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/numpy==1.16, )=4... [SOCK POOL sandboxes]", "2020/08/29 21:45:44 use cgroup cg-4 [SOCK 4]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "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", "2020/08/29 21:45:44 ...returns , [SOCK POOL sandboxes]", "2020/08/29 21:45:44 Channel() [SB 4]", "Collecting numpy==1.16", " Downloading numpy-1.16.0-cp36-cp36m-manylinux1_x86_64.whl (17.3 MB)", "Installing collected packages: numpy", "Successfully installed numpy-1.16.0", "pip install returned code 0", "2020/08/29 21:46:03 Destroy() [SB 4]", "2020/08/29 21:46:03 CG ref count decremented to 0 [SOCK 4]", "2020/08/29 21:46:03 waiting for 1 procs in cg-4 to die [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:03 killed PIDs [10357] in CG [SOCK 4]", "2020/08/29 21:46:03 unmount and remove dirs [SOCK 4]", "2020/08/29 21:46:03 increase instances to 1 [FUNC numpy16]", "2020/08/29 21:46:03 Try using Zygote from ", "2020/08/29 21:46:03 Unpause() [SB 2]", "2020/08/29 21:46:03 .Create(, true, /root/open-lambda/test-dir/worker/code/1008-numpy16, /root/open-lambda/test-dir/worker/scratch/1010-numpy16, )=5... [SOCK POOL sandboxes]", "2020/08/29 21:46:03 use cgroup cg-5 [SOCK 5]", "2020/08/29 21:46:03 fork(SB 5) [SB 2]", "2020/08/29 21:46:03 move PID 10369 from CG cg-2 to CG cg-5 [SOCK 2]", "2020/08/29 21:46:03 ...returns , [SOCK POOL sandboxes]", "2020/08/29 21:46:03 Pause() [SB 2]", "sock2.py: start web server on fd: 3", "2020/08/29 21:46:03 Channel() [SB 5]", "2020/08/29 21:46:03 Pause() [SB 5]", "2020/08/29 21:46:03 Receive request to /run/numpy15", "2020/08/29 21:46:03 increase instances to 1 [FUNC numpy15]", "2020/08/29 21:46:03 Try using Zygote from ", "2020/08/29 21:46:03 Unpause() [SB 2]", "2020/08/29 21:46:03 .Create(, true, /root/open-lambda/test-dir/worker/code/1012-numpy15, /root/open-lambda/test-dir/worker/scratch/1013-numpy15, )=6... [SOCK POOL sandboxes]", "2020/08/29 21:46:03 use cgroup cg-6 [SOCK 6]", "2020/08/29 21:46:03 fork(SB 6) [SB 2]", "sock2.py: start web server on fd: 3", "2020/08/29 21:46:03 Destroy() [SB 3]", "2020/08/29 21:46:03 CG ref count decremented to 0 [SOCK 3]", "2020/08/29 21:46:03 waiting for 2 procs in cg-3 to die [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:03 move PID 10374 from CG cg-2 to CG cg-6 [SOCK 2]", "2020/08/29 21:46:03 ...returns , [SOCK POOL sandboxes]", "2020/08/29 21:46:03 Pause() [SB 2]", "2020/08/29 21:46:03 killed PIDs [10351 10353] in CG [SOCK 3]", "2020/08/29 21:46:03 unmount and remove dirs [SOCK 3]", "2020/08/29 21:46:03 childExit(SB 3) [SB 2]", "2020/08/29 21:46:03 Channel() [SB 6]", "2020/08/29 21:46:03 CG ref count decremented to 3 [SOCK 2]", "2020/08/29 21:46:03 Pause() [SB 6]", "2020/08/29 21:46:03 Receive request to /run/pandas15", "2020/08/29 21:46:03 debug: LambdaFunc.Task() runs on goroutine 53 [FUNC pandas15]", "2020/08/29 21:46:03 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/pandas'", "2020/08/29 21:46:03 run pip install pandas from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/pandas on host", "2020/08/29 21:46:03 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/pandas, )=7... [SOCK POOL sandboxes]", "2020/08/29 21:46:03 use cgroup cg-7 [SOCK 7]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "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", "2020/08/29 21:46:03 ...returns , [SOCK POOL sandboxes]", "2020/08/29 21:46:03 Channel() [SB 7]", "Collecting pandas", " Downloading pandas-1.1.1-cp36-cp36m-manylinux1_x86_64.whl (10.5 MB)", "Installing collected packages: pandas", "Successfully installed pandas-1.1.1", "pip install returned code 0", "2020/08/29 21:46:09 Destroy() [SB 7]", "2020/08/29 21:46:09 CG ref count decremented to 0 [SOCK 7]", "2020/08/29 21:46:09 waiting for 1 procs in cg-7 to die [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:09 killed PIDs [10382] in CG [SOCK 7]", "2020/08/29 21:46:09 unmount and remove dirs [SOCK 7]", "2020/08/29 21:46:09 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/pytz'", "2020/08/29 21:46:09 run pip install pytz from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/pytz on host", "2020/08/29 21:46:09 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/pytz, )=8... [SOCK POOL sandboxes]", "2020/08/29 21:46:09 use cgroup cg-8 [SOCK 8]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "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", "2020/08/29 21:46:09 ...returns , [SOCK POOL sandboxes]", "2020/08/29 21:46:09 Channel() [SB 8]", "Collecting pytz", " Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB)", "Installing collected packages: pytz", "Successfully installed pytz-2020.1", "pip install returned code 0", "2020/08/29 21:46:11 Destroy() [SB 8]", "2020/08/29 21:46:11 CG ref count decremented to 0 [SOCK 8]", "2020/08/29 21:46:11 waiting for 1 procs in cg-8 to die [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:11 killed PIDs [10395] in CG [SOCK 8]", "2020/08/29 21:46:11 unmount and remove dirs [SOCK 8]", "2020/08/29 21:46:11 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/python-dateutil'", "2020/08/29 21:46:11 run pip install python-dateutil from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/python-dateutil on host", "2020/08/29 21:46:11 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/python-dateutil, )=9... [SOCK POOL sandboxes]", "2020/08/29 21:46:11 use cgroup cg-9 [SOCK 9]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "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", "2020/08/29 21:46:11 ...returns , [SOCK POOL sandboxes]", "2020/08/29 21:46:11 Channel() [SB 9]", "Collecting python-dateutil", " Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)", "Installing collected packages: python-dateutil", "Successfully installed python-dateutil-2.8.1", "pip install returned code 0", "2020/08/29 21:46:12 Destroy() [SB 9]", "2020/08/29 21:46:12 CG ref count decremented to 0 [SOCK 9]", "2020/08/29 21:46:12 waiting for 1 procs in cg-9 to die [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:12 killed PIDs [10408] in CG [SOCK 9]", "2020/08/29 21:46:12 unmount and remove dirs [SOCK 9]", "2020/08/29 21:46:12 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/six'", "2020/08/29 21:46:12 run pip install six from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/six on host", "2020/08/29 21:46:12 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/six, )=10... [SOCK POOL sandboxes]", "2020/08/29 21:46:12 use cgroup cg-10 [SOCK 10]", "sock2.py: started new process with args: sock2.py /host/bootstrap.py 9", "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", "2020/08/29 21:46:12 ...returns , [SOCK POOL sandboxes]", "2020/08/29 21:46:12 Channel() [SB 10]", "Collecting six", " Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)", "Installing collected packages: six", "Successfully installed six-1.15.0", "pip install returned code 0", "2020/08/29 21:46:13 Destroy() [SB 10]", "2020/08/29 21:46:13 CG ref count decremented to 0 [SOCK 10]", "2020/08/29 21:46:13 waiting for 1 procs in cg-10 to die [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:13 killed PIDs [10421] in CG [SOCK 10]", "2020/08/29 21:46:13 unmount and remove dirs [SOCK 10]", "2020/08/29 21:46:13 increase instances to 1 [FUNC pandas15]", "2020/08/29 21:46:13 Try using Zygote from ", "2020/08/29 21:46:13 Unpause() [SB 2]", "2020/08/29 21:46:13 .Create(, true, /root/open-lambda/test-dir/worker/code/1015-pandas15, /root/open-lambda/test-dir/worker/scratch/1020-pandas15, )=11... [SOCK POOL sandboxes]", "2020/08/29 21:46:13 use cgroup cg-11 [SOCK 11]", "2020/08/29 21:46:13 fork(SB 11) [SB 2]", "2020/08/29 21:46:13 move PID 10433 from CG cg-2 to CG cg-11 [SOCK 2]", "2020/08/29 21:46:13 ...returns , [SOCK POOL sandboxes]", "2020/08/29 21:46:13 Pause() [SB 2]", "sock2.py: start web server on fd: 3", "2020/08/29 21:46:13 Channel() [SB 11]", "ERROR:tornado.application:Uncaught exception POST /run/pandas15 (0.0.0.0)", "HTTPServerRequest(protocol='http', host='localhost:5000', method='POST', uri='/run/pandas15', version='HTTP/1.1', remote_ip='0.0.0.0', headers={'Host': 'localhost:5000', 'User-Agent': 'python-requests/2.9.1', 'Content-Length': '22', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate', 'X-Forwarded-For': '127.0.0.1'})", "Traceback (most recent call last):", " File \"/usr/local/lib/python3.6/dist-packages/tornado/web.py\", line 1510, in _execute", " result = method(*self.path_args, **self.path_kwargs)", " File \"sock2.py\", line 32, in post", " import f", " File \"/handler/f.py\", line 3, in ", " import pandas", " File \"/packages/pandas/files/pandas/__init__.py\", line 22, in ", " from pandas.compat.numpy import (", " File \"/packages/pandas/files/pandas/compat/numpy/__init__.py\", line 21, in ", " \"this version of pandas is incompatible with numpy < 1.15.4\\n\"", "ImportError: this version of pandas is incompatible with numpy < 1.15.4", "your numpy version is 1.15.0.", "Please upgrade numpy to >= 1.15.4 to use this pandas version", "2020/08/29 21:46:13 Pause() [SB 11]", "2020/08/29 21:46:13 received kill signal, cleaning up", "2020/08/29 21:46:13 Kill function: numpy15", "2020/08/29 21:46:13 Destroy() [SB 6]", "2020/08/29 21:46:13 CG ref count decremented to 0 [SOCK 6]", "2020/08/29 21:46:13 killed PIDs [10374 10377] in CG [SOCK 6]", "2020/08/29 21:46:13 unmount and remove dirs [SOCK 6]", "2020/08/29 21:46:13 childExit(SB 6) [SB 2]", "2020/08/29 21:46:13 CG ref count decremented to 3 [SOCK 2]", "2020/08/29 21:46:13 Kill function: numpy16", "2020/08/29 21:46:13 Destroy() [SB 5]", "2020/08/29 21:46:13 CG ref count decremented to 0 [SOCK 5]", "2020/08/29 21:46:13 killed PIDs [10369 10371] in CG [SOCK 5]", "2020/08/29 21:46:13 unmount and remove dirs [SOCK 5]", "2020/08/29 21:46:13 childExit(SB 5) [SB 2]", "2020/08/29 21:46:13 CG ref count decremented to 2 [SOCK 2]", "2020/08/29 21:46:13 Kill function: pandas15", "2020/08/29 21:46:13 Destroy() [SB 11]", "2020/08/29 21:46:13 CG ref count decremented to 0 [SOCK 11]", "2020/08/29 21:46:13 killed PIDs [10433 10435] in CG [SOCK 11]", "2020/08/29 21:46:13 unmount and remove dirs [SOCK 11]", "2020/08/29 21:46:13 childExit(SB 11) [SB 2]", "2020/08/29 21:46:13 CG ref count decremented to 1 [SOCK 2]", "2020/08/29 21:46:13 Import Cache Tree:", "2020/08/29 21:46:13 4 - ROOT", "2020/08/29 21:46:13 Destroy() [SB 2]", "2020/08/29 21:46:13 CG ref count decremented to 0 [SOCK 2]", "2020/08/29 21:46:13 waiting for 1 procs in cg-2 to die [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:13 killed PIDs [10349] in CG [SOCK 2]", "2020/08/29 21:46:13 unmount and remove dirs [SOCK 2]", "2020/08/29 21:46:13 make sure all memory is free [SOCK POOL sandboxes]", "2020/08/29 21:46:13 memory pool emptied [SOCK POOL sandboxes]", "2020/08/29 21:46:13 received shutdown request [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:13 empty queues and release CGs [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:13 remove /sys/fs/cgroup/blkio/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:13 remove /sys/fs/cgroup/cpu/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:13 remove /sys/fs/cgroup/devices/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:13 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:13 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:13 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:13 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:13 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:13 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:13 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:46:13 remove worker.pid", "2020/08/29 21:46:13 exiting", "" ] }, { "test": "sock_churn", "params": { "fork": false, "seconds": 5, "procs": 1, "baseline": 0 }, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "sock", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "mem_pool_mb": 500, "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-dir/registry", "worker_dir": "/root/open-lambda/test-dir/worker", "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 5.080578565597534, "total_seconds": 5.305224418640137, "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": 142, "Create()/make-root-fs.cnt": 31, "Create()/make-root-fs.ms-avg": 4, "Destroy().cnt": 62, "Destroy().ms-avg": 1, "Destroy()/detach-root.cnt": 31, "Destroy()/detach-root.ms-avg": 1, "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": [ "2020/08/29 21:46:18 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:18 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:18 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:18 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:18 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:18 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:18 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:46:18 remove worker.pid", "2020/08/29 21:46:18 exiting", "" ] }, { "test": "sock_churn", "params": { "fork": true, "seconds": 10, "procs": 1, "baseline": 0 }, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "sock", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "mem_pool_mb": 500, "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-dir/registry", "worker_dir": "/root/open-lambda/test-dir/worker", "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 10.198911905288696, "total_seconds": 10.43918752670288, "stats": { "sandboxes_per_sec": 40.3 }, "ol-stats": { "Create().cnt": 404, "Create().ms-avg": 11, "Create()/acquire-cgroup.cnt": 404, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 404, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 403, "Create()/fork-proc.ms-avg": 7, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 140, "Create()/make-root-fs.cnt": 404, "Create()/make-root-fs.ms-avg": 3, "Destroy().cnt": 807, "Destroy().ms-avg": 1, "Destroy()/detach-root.cnt": 404, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 404, "Destroy()/kill-procs.ms-avg": 0, "Destroy()/remove-root.cnt": 404, "Destroy()/remove-root.ms-avg": 0, "childExit().cnt": 403, "childExit().ms-avg": 0, "fork().cnt": 403, "fork().ms-avg": 7, "forkRequest.cnt": 403, "forkRequest.ms-avg": 6, "fresh-cgroup.cnt": 421, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 403, "move-to-cg-after-fork.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/08/29 21:46:29 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:29 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:29 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:29 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:29 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:29 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:29 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:46:29 remove worker.pid", "2020/08/29 21:46:29 exiting", "" ] }, { "test": "sock_churn", "params": { "fork": true, "seconds": 10, "procs": 15, "baseline": 0 }, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "sock", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "mem_pool_mb": 500, "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-dir/registry", "worker_dir": "/root/open-lambda/test-dir/worker", "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 10.402335166931152, "total_seconds": 10.641975164413452, "stats": { "sandboxes_per_sec": 41.1 }, "ol-stats": { "Create().cnt": 412, "Create().ms-avg": 94, "Create()/acquire-cgroup.cnt": 412, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 412, "Create()/acquire-mem.ms-avg": 18, "Create()/fork-proc.cnt": 411, "Create()/fork-proc.ms-avg": 71, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 138, "Create()/make-root-fs.cnt": 412, "Create()/make-root-fs.ms-avg": 2, "Destroy().cnt": 823, "Destroy().ms-avg": 62, "Destroy()/detach-root.cnt": 412, "Destroy()/detach-root.ms-avg": 1, "Destroy()/kill-procs.cnt": 412, "Destroy()/kill-procs.ms-avg": 20, "Destroy()/remove-root.cnt": 412, "Destroy()/remove-root.ms-avg": 0, "childExit().cnt": 411, "childExit().ms-avg": 73, "fork().cnt": 411, "fork().ms-avg": 71, "forkRequest.cnt": 411, "forkRequest.ms-avg": 12, "fresh-cgroup.cnt": 429, "fresh-cgroup.ms-avg": 5, "move-to-cg-after-fork.cnt": 411, "move-to-cg-after-fork.ms-avg": 2 }, "errors": [], "worker_tail": [ "2020/08/29 21:46:39 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:39 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:39 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:39 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:39 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:39 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:39 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:46:39 remove worker.pid", "2020/08/29 21:46:39 exiting", "" ] }, { "test": "sock_churn", "params": { "fork": true, "seconds": 10, "procs": 1, "baseline": 32 }, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "sock", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "mem_pool_mb": 500, "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-dir/registry", "worker_dir": "/root/open-lambda/test-dir/worker", "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 10.837393760681152, "total_seconds": 11.334049940109253, "stats": { "sandboxes_per_sec": 37.4 }, "ol-stats": { "Create().cnt": 407, "Create().ms-avg": 9, "Create()/acquire-cgroup.cnt": 407, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 407, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 406, "Create()/fork-proc.ms-avg": 8, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 137, "Create()/make-root-fs.cnt": 407, "Create()/make-root-fs.ms-avg": 0, "Destroy().cnt": 781, "Destroy().ms-avg": 1, "Destroy()/detach-root.cnt": 407, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 407, "Destroy()/kill-procs.ms-avg": 0, "Destroy()/remove-root.cnt": 407, "Destroy()/remove-root.ms-avg": 0, "Pause().cnt": 32, "Pause().ms-avg": 1, "childExit().cnt": 406, "childExit().ms-avg": 0, "fork().cnt": 406, "fork().ms-avg": 8, "forkRequest.cnt": 406, "forkRequest.ms-avg": 7, "fresh-cgroup.cnt": 424, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 406, "move-to-cg-after-fork.ms-avg": 1 }, "errors": [], "worker_tail": [ "2020/08/29 21:46:51 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:51 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:51 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:51 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:51 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:51 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:46:51 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:46:51 remove worker.pid", "2020/08/29 21:46:51 exiting", "" ] }, { "test": "sock_churn", "params": { "fork": true, "seconds": 10, "procs": 15, "baseline": 32 }, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "sock", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "mem_pool_mb": 500, "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-dir/registry", "worker_dir": "/root/open-lambda/test-dir/worker", "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 11.274240016937256, "total_seconds": 11.641098260879517, "stats": { "sandboxes_per_sec": 36.4 }, "ol-stats": { "Create().cnt": 397, "Create().ms-avg": 160, "Create()/acquire-cgroup.cnt": 397, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 397, "Create()/acquire-mem.ms-avg": 91, "Create()/fork-proc.cnt": 396, "Create()/fork-proc.ms-avg": 64, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 226, "Create()/make-root-fs.cnt": 397, "Create()/make-root-fs.ms-avg": 1, "Destroy().cnt": 761, "Destroy().ms-avg": 59, "Destroy()/detach-root.cnt": 397, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 397, "Destroy()/kill-procs.ms-avg": 16, "Destroy()/remove-root.cnt": 397, "Destroy()/remove-root.ms-avg": 0, "Pause().cnt": 32, "Pause().ms-avg": 1, "childExit().cnt": 396, "childExit().ms-avg": 70, "fork().cnt": 396, "fork().ms-avg": 64, "forkRequest.cnt": 396, "forkRequest.ms-avg": 11, "fresh-cgroup.cnt": 414, "fresh-cgroup.ms-avg": 4, "move-to-cg-after-fork.cnt": 396, "move-to-cg-after-fork.ms-avg": 3 }, "errors": [], "worker_tail": [ "2020/08/29 21:47:02 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:02 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:02 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:02 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:02 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:02 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:02 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:47:02 remove worker.pid", "2020/08/29 21:47:02 exiting", "" ] }, { "test": "update_code", "params": {}, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 3000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/tmp/tmpomtfmhck", "mem_pool_mb": 500, "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 6.033174753189087, "total_seconds": 6.280639171600342, "stats": null, "ol-stats": { "Channel().cnt": 3, "Channel().ms-avg": 0, "Create().cnt": 4, "Create().ms-avg": 49, "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": 154, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 3, "Destroy().cnt": 4, "Destroy().ms-avg": 5, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 0, "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": 1666, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 1669, "Pause().ms-avg": 0, "ServeHTTP.cnt": 1666, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 1665, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 0, "fork().cnt": 3, "fork().ms-avg": 9, "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": 1, "pull-lambda.cnt": 3, "pull-lambda.ms-avg": 1, "web-request.cnt": 1666, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2020/08/29 21:47:09 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:09 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:09 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:09 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:09 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:09 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:09 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:47:09 remove worker.pid", "2020/08/29 21:47:09 exiting", "" ] }, { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 1 }, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "mem_pool_mb": 500, "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 15.04658317565918, "total_seconds": 15.28197193145752, "stats": { "reqs_per_sec": 277.46666666666664 }, "ol-stats": { "Channel().cnt": 3, "Channel().ms-avg": 0, "Create().cnt": 4, "Create().ms-avg": 45, "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": 7, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 143, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 3, "Destroy().cnt": 4, "Destroy().ms-avg": 4, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 0, "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": 4162, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 4165, "Pause().ms-avg": 0, "ServeHTTP.cnt": 4162, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 4161, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 0, "fork().cnt": 3, "fork().ms-avg": 7, "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": 1, "web-request.cnt": 4162, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2020/08/29 21:47:24 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:24 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:24 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:24 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:24 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:24 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:24 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:47:24 remove worker.pid", "2020/08/29 21:47:24 exiting", "" ] }, { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 2 }, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "mem_pool_mb": 500, "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 15.053783178329468, "total_seconds": 15.287925004959106, "stats": { "reqs_per_sec": 275.1333333333333 }, "ol-stats": { "Channel().cnt": 3, "Channel().ms-avg": 0, "Create().cnt": 4, "Create().ms-avg": 46, "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": 142, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 3, "Destroy().cnt": 4, "Destroy().ms-avg": 4, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 0, "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": 4127, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 3798, "Pause().ms-avg": 0, "ServeHTTP.cnt": 4127, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 3794, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 0, "fork().cnt": 3, "fork().ms-avg": 8, "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": 1, "pull-lambda.cnt": 3, "pull-lambda.ms-avg": 1, "web-request.cnt": 4127, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2020/08/29 21:47:39 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:39 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:39 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:39 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:39 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:39 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:39 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:47:39 remove worker.pid", "2020/08/29 21:47:39 exiting", "" ] }, { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 8 }, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "mem_pool_mb": 500, "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 15.076955080032349, "total_seconds": 15.313055038452148, "stats": { "reqs_per_sec": 247.13333333333333 }, "ol-stats": { "Channel().cnt": 3, "Channel().ms-avg": 0, "Create().cnt": 4, "Create().ms-avg": 44, "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": 7, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 141, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 3, "Destroy().cnt": 4, "Destroy().ms-avg": 5, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 0, "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": 3707, "LambdaFunc.Invoke.ms-avg": 2, "Pause().cnt": 2817, "Pause().ms-avg": 0, "ServeHTTP.cnt": 3707, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 2813, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 0, "fork().cnt": 3, "fork().ms-avg": 7, "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": 5, "web-request.cnt": 3707, "web-request.ms-avg": 2 }, "errors": [], "worker_tail": [ "2020/08/29 21:47:54 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:54 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:54 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:54 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:54 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:54 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:54 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:47:54 remove worker.pid", "2020/08/29 21:47:54 exiting", "" ] }, { "test": "call_each_once_exec", "params": { "alloc_mb": 1, "lambda_count": 100 }, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": true, "import_cache": true }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/tmp/tmp6cjauprm", "mem_pool_mb": 500, "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 3.2778592109680176, "total_seconds": 3.735273599624634, "stats": { "reqs_per_sec": 30.509272248023425 }, "ol-stats": { "Channel().cnt": 100, "Channel().ms-avg": 0, "Create().cnt": 101, "Create().ms-avg": 8, "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": 6, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 142, "Create()/make-root-fs.cnt": 101, "Create()/make-root-fs.ms-avg": 0, "Destroy().cnt": 156, "Destroy().ms-avg": 5, "Destroy()/detach-root.cnt": 101, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 101, "Destroy()/kill-procs.ms-avg": 4, "Destroy()/remove-root.cnt": 101, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 100, "LambdaFunc.Invoke.ms-avg": 28, "Pause().cnt": 200, "Pause().ms-avg": 10, "ServeHTTP.cnt": 100, "ServeHTTP.ms-avg": 6, "Unpause().cnt": 99, "Unpause().ms-avg": 0, "childExit().cnt": 100, "childExit().ms-avg": 4, "evict.cnt": 55, "evict.ms-avg": 13, "fork().cnt": 100, "fork().ms-avg": 6, "forkRequest.cnt": 100, "forkRequest.ms-avg": 5, "fresh-cgroup.cnt": 70, "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": 3, "web-request.cnt": 100, "web-request.ms-avg": 28 }, "errors": [], "worker_tail": [ "2020/08/29 21:47:58 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:58 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:58 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:58 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:58 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:58 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:47:58 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:47:58 remove worker.pid", "2020/08/29 21:47:58 exiting", "" ] }, { "test": "call_each_once_exec", "params": { "alloc_mb": 10, "lambda_count": 1000 }, "pass": true, "conf": { "features": { "downsize_paused_mem": true, "reuse_cgroups": true, "import_cache": true }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "sandbox_config": {}, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "mem_pool_mb": 500, "pip_mirror": "", "sandbox": "sock", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "registry": "/tmp/tmp2lnow0xo", "worker_dir": "/root/open-lambda/test-dir/worker", "trace": { "package": false, "cgroups": false, "evictor": false, "memory": false }, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": 49.189719676971436, "total_seconds": 49.74403500556946, "stats": { "reqs_per_sec": 20.32946517436718 }, "ol-stats": { "Channel().cnt": 1000, "Channel().ms-avg": 0, "Create().cnt": 1001, "Create().ms-avg": 9, "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": 6, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 143, "Create()/make-root-fs.cnt": 1001, "Create()/make-root-fs.ms-avg": 1, "Destroy().cnt": 1980, "Destroy().ms-avg": 7, "Destroy()/detach-root.cnt": 1001, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 1001, "Destroy()/kill-procs.ms-avg": 9, "Destroy()/remove-root.cnt": 1001, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 1000, "LambdaFunc.Invoke.ms-avg": 44, "Pause().cnt": 2000, "Pause().ms-avg": 10, "ServeHTTP.cnt": 1000, "ServeHTTP.ms-avg": 20, "Unpause().cnt": 999, "Unpause().ms-avg": 0, "childExit().cnt": 1000, "childExit().ms-avg": 5, "evict.cnt": 979, "evict.ms-avg": 15, "fork().cnt": 1000, "fork().ms-avg": 6, "forkRequest.cnt": 1000, "forkRequest.ms-avg": 6, "fresh-cgroup.cnt": 40, "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": 2, "web-request.cnt": 1000, "web-request.ms-avg": 44 }, "errors": [], "worker_tail": [ "2020/08/29 21:48:48 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:48:48 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:48:48 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:48:48 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:48:48 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:48:48 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/29 21:48:48 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/29 21:48:48 remove worker.pid", "2020/08/29 21:48:48 exiting", "" ] } ], "passed": 17, "failed": 1, "seconds": 315.0966272354126 }