{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "lambda", "sandbox": "sock", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 2.156805992126465, "total_seconds": 2.471750259399414, "stats": { "pings_per_sec": 463.65292003340625 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/09/01 21:43:04 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:04 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:04 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:04 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:04 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:04 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:04 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:43:04 remove worker.pid", "2020/09/01 21:43:04 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "lambda", "sandbox": "sock", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": false, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 9.612258911132812, "total_seconds": 9.85214900970459, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 354, "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": 348, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 5, "Destroy().cnt": 10, "Destroy().ms-avg": 2, "Destroy()/detach-root.cnt": 10, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 10, "Destroy()/kill-procs.ms-avg": 1, "Destroy()/remove-root.cnt": 10, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 2394, "Pause().cnt": 4, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 65, "fresh-cgroup.cnt": 27, "fresh-cgroup.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 7, "pull-package.cnt": 6, "pull-package.ms-avg": 1103, "web-request.cnt": 4, "web-request.ms-avg": 2394 }, "errors": [], "worker_tail": [ "2020/09/01 21:43:14 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:14 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:14 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:14 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:14 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:14 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:14 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:43:14 remove worker.pid", "2020/09/01 21:43:14 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "sandbox": "sock", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 5.506546258926392, "total_seconds": 5.747298240661621, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 93, "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": 138, "Create()/make-root-fs.cnt": 11, "Create()/make-root-fs.ms-avg": 1, "Destroy().cnt": 11, "Destroy().ms-avg": 2, "Destroy()/detach-root.cnt": 11, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 11, "Destroy()/kill-procs.ms-avg": 1, "Destroy()/remove-root.cnt": 11, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 1368, "Pause().cnt": 8, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 42, "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": 848, "web-request.cnt": 4, "web-request.ms-avg": 1368 }, "errors": [], "worker_tail": [ "2020/09/01 21:43:20 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:20 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:20 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:20 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:20 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:20 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:20 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:43:20 remove worker.pid", "2020/09/01 21:43:20 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "lambda", "sandbox": "docker", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": false, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 14.558338165283203, "total_seconds": 15.586519956588745, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 768, "Destroy().cnt": 10, "Destroy().ms-avg": 242, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 3629, "Pause().cnt": 4, "Pause().ms-avg": 32, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 2, "pull-package.cnt": 6, "pull-package.ms-avg": 1651, "web-request.cnt": 4, "web-request.ms-avg": 3629 }, "errors": [], "worker_tail": [ "2020/09/01 21:43:35 Kill function: install3", "2020/09/01 21:43:35 Destroy() [SB 9]", "2020/09/01 21:43:35 Kill function: echo", "2020/09/01 21:43:35 Destroy() [SB 0]", "2020/09/01 21:43:35 Kill function: install", "2020/09/01 21:43:35 Destroy() [SB 6]", "2020/09/01 21:43:36 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:43:36 remove worker.pid", "2020/09/01 21:43:36 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "sandbox": "sock", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 0.3252594470977783, "total_seconds": 0.5597927570343018, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 77, "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": 137, "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": 321, "Pause().cnt": 2, "Pause().ms-avg": 4, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 12, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 8, "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": 3, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 147, "web-request.cnt": 1, "web-request.ms-avg": 321 }, "errors": [], "worker_tail": [ "2020/09/01 21:43:36 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:36 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:36 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:36 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:36 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:36 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:36 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:43:36 remove worker.pid", "2020/09/01 21:43:36 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "sandbox": "sock", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 0.8394689559936523, "total_seconds": 1.070868968963623, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 76, "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": 135, "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": 835, "Pause().cnt": 2, "Pause().ms-avg": 5, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 674, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 6, "forkRequest.cnt": 1, "forkRequest.ms-avg": 5, "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": 835 }, "errors": [], "worker_tail": [ "2020/09/01 21:43:37 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:43:37 remove worker.pid", "2020/09/01 21:43:37 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "sandbox": "sock", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": null, "total_seconds": 19.495863676071167, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 97, "Create()/acquire-cgroup.cnt": 11, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 11, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 4, "Create()/fork-proc.ms-avg": 7, "Create()/fresh-proc.cnt": 7, "Create()/fresh-proc.ms-avg": 145, "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": 1, "Destroy()/remove-root.cnt": 11, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 4790, "Pause().cnt": 8, "Pause().ms-avg": 3, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 151, "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": 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": 3, "pull-package.cnt": 6, "pull-package.ms-avg": 3055, "web-request.cnt": 4, "web-request.ms-avg": 4790 }, "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/09/01 21:43:37 save PID 10292 to file /root/open-lambda/test-dir/worker/worker.pid", "2020/09/01 21:43:37 Start Lambda Server", "2020/09/01 21:43:37 Storage dir at /root/open-lambda/test-dir/worker/code", "2020/09/01 21:43:37 Storage dir at /root/open-lambda/test-dir/worker/scratch", "2020/09/01 21:43:37 Create SandboxPool", "2020/09/01 21:43:37 create /sys/fs/cgroup/blkio/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 create /sys/fs/cgroup/cpu/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 create /sys/fs/cgroup/devices/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 create /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 create /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 create /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 create /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 create /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 create /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 Storage dir at /root/open-lambda/test-dir/worker/root-sandboxes", "2020/09/01 21:43:37 Create DepTracer", "2020/09/01 21:43:37 Create PackagePuller", "2020/09/01 21:43:37 Create ImportCache", "2020/09/01 21:43:37 Import Cache Tree:", "2020/09/01 21:43:37 0 - ROOT", "2020/09/01 21:43:37 Create HandlerPuller", "2020/09/01 21:43:37 Setups Handlers", "2020/09/01 21:43:37 Execute handler by POSTing to localhost:5000/run/", "2020/09/01 21:43:37 Get status by sending request to localhost:5000/status", "2020/09/01 21:43:37 start creating/serving CGs [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:37 Receive request to /pid", "2020/09/01 21:43:37 Receive request to /run/numpy15", "2020/09/01 21:43:37 debug: LambdaFunc.Task() runs on goroutine 18 [FUNC numpy15]", "2020/09/01 21:43:37 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/numpy==1.15'", "2020/09/01 21:43:37 run pip install numpy==1.15 from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/numpy==1.15 on host", "2020/09/01 21:43:37 .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/09/01 21:43:37 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/09/01 21:43:37 ...returns , [SOCK POOL sandboxes]", "2020/09/01 21:43:37 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/09/01 21:43:42 Destroy() [SB 1]", "2020/09/01 21:43:42 CG ref count decremented to 0 [SOCK 1]", "2020/09/01 21:43:42 waiting for 1 procs in cg-1 to die [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:42 killed PIDs [10306] in CG [SOCK 1]", "2020/09/01 21:43:42 unmount and remove dirs [SOCK 1]", "2020/09/01 21:43:42 increase instances to 1 [FUNC numpy15]", "2020/09/01 21:43:42 Try using Zygote from ", "2020/09/01 21:43:42 .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/09/01 21:43:42 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/09/01 21:43:42 ...returns , [SOCK POOL sandboxes]", "2020/09/01 21:43:42 .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/09/01 21:43:42 use cgroup cg-3 [SOCK 3]", "2020/09/01 21:43:42 fork(SB 3) [SB 2]", "sock2.py: start web server on fd: 3", "2020/09/01 21:43:42 move PID 10321 from CG cg-2 to CG cg-3 [SOCK 2]", "2020/09/01 21:43:42 ...returns , [SOCK POOL sandboxes]", "2020/09/01 21:43:42 Pause() [SB 2]", "2020/09/01 21:43:42 Channel() [SB 3]", "2020/09/01 21:43:42 Pause() [SB 3]", "2020/09/01 21:43:42 Receive request to /run/numpy16", "2020/09/01 21:43:42 debug: LambdaFunc.Task() runs on goroutine 32 [FUNC numpy16]", "2020/09/01 21:43:42 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/numpy==1.16'", "2020/09/01 21:43:42 run pip install numpy==1.16 from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/numpy==1.16 on host", "2020/09/01 21:43:42 .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/09/01 21:43:42 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/09/01 21:43:43 ...returns , [SOCK POOL sandboxes]", "2020/09/01 21:43:43 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/09/01 21:43:47 Destroy() [SB 4]", "2020/09/01 21:43:47 CG ref count decremented to 0 [SOCK 4]", "2020/09/01 21:43:47 waiting for 1 procs in cg-4 to die [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:47 killed PIDs [10327] in CG [SOCK 4]", "2020/09/01 21:43:47 unmount and remove dirs [SOCK 4]", "2020/09/01 21:43:47 increase instances to 1 [FUNC numpy16]", "2020/09/01 21:43:47 Try using Zygote from ", "2020/09/01 21:43:47 Unpause() [SB 2]", "2020/09/01 21:43:47 .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/09/01 21:43:47 use cgroup cg-5 [SOCK 5]", "2020/09/01 21:43:47 fork(SB 5) [SB 2]", "2020/09/01 21:43:47 move PID 10339 from CG cg-2 to CG cg-5 [SOCK 2]", "2020/09/01 21:43:47 ...returns , [SOCK POOL sandboxes]", "2020/09/01 21:43:47 Pause() [SB 2]", "sock2.py: start web server on fd: 3", "2020/09/01 21:43:47 Channel() [SB 5]", "2020/09/01 21:43:47 Pause() [SB 5]", "2020/09/01 21:43:47 Receive request to /run/numpy15", "2020/09/01 21:43:47 increase instances to 1 [FUNC numpy15]", "2020/09/01 21:43:47 Try using Zygote from ", "2020/09/01 21:43:47 Unpause() [SB 2]", "2020/09/01 21:43:47 .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/09/01 21:43:47 use cgroup cg-6 [SOCK 6]", "2020/09/01 21:43:47 fork(SB 6) [SB 2]", "sock2.py: start web server on fd: 3", "2020/09/01 21:43:47 Destroy() [SB 3]", "2020/09/01 21:43:47 CG ref count decremented to 0 [SOCK 3]", "2020/09/01 21:43:47 waiting for 2 procs in cg-3 to die [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:47 move PID 10344 from CG cg-2 to CG cg-6 [SOCK 2]", "2020/09/01 21:43:47 ...returns , [SOCK POOL sandboxes]", "2020/09/01 21:43:47 Pause() [SB 2]", "2020/09/01 21:43:47 killed PIDs [10321 10323] in CG [SOCK 3]", "2020/09/01 21:43:47 unmount and remove dirs [SOCK 3]", "2020/09/01 21:43:47 childExit(SB 3) [SB 2]", "2020/09/01 21:43:47 Channel() [SB 6]", "2020/09/01 21:43:47 CG ref count decremented to 3 [SOCK 2]", "2020/09/01 21:43:48 Pause() [SB 6]", "2020/09/01 21:43:48 Receive request to /run/pandas15", "2020/09/01 21:43:48 debug: LambdaFunc.Task() runs on goroutine 53 [FUNC pandas15]", "2020/09/01 21:43:48 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/pandas'", "2020/09/01 21:43:48 run pip install pandas from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/pandas on host", "2020/09/01 21:43:48 .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/09/01 21:43:48 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/09/01 21:43:48 ...returns , [SOCK POOL sandboxes]", "2020/09/01 21:43:48 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/09/01 21:43:53 Destroy() [SB 7]", "2020/09/01 21:43:53 CG ref count decremented to 0 [SOCK 7]", "2020/09/01 21:43:53 waiting for 1 procs in cg-7 to die [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:53 killed PIDs [10351] in CG [SOCK 7]", "2020/09/01 21:43:53 unmount and remove dirs [SOCK 7]", "2020/09/01 21:43:53 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/python-dateutil'", "2020/09/01 21:43:53 run pip install python-dateutil from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/python-dateutil on host", "2020/09/01 21:43:53 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/python-dateutil, )=8... [SOCK POOL sandboxes]", "2020/09/01 21:43:53 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/09/01 21:43:53 ...returns , [SOCK POOL sandboxes]", "2020/09/01 21:43:53 Channel() [SB 8]", "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/09/01 21:43:54 Destroy() [SB 8]", "2020/09/01 21:43:54 CG ref count decremented to 0 [SOCK 8]", "2020/09/01 21:43:54 waiting for 1 procs in cg-8 to die [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:54 killed PIDs [10364] in CG [SOCK 8]", "2020/09/01 21:43:54 unmount and remove dirs [SOCK 8]", "2020/09/01 21:43:54 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/pytz'", "2020/09/01 21:43:54 run pip install pytz from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/pytz on host", "2020/09/01 21:43:54 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/pytz, )=9... [SOCK POOL sandboxes]", "2020/09/01 21:43:54 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/09/01 21:43:54 ...returns , [SOCK POOL sandboxes]", "2020/09/01 21:43:54 Channel() [SB 9]", "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/09/01 21:43:55 Destroy() [SB 9]", "2020/09/01 21:43:55 CG ref count decremented to 0 [SOCK 9]", "2020/09/01 21:43:55 waiting for 1 procs in cg-9 to die [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:55 killed PIDs [10377] in CG [SOCK 9]", "2020/09/01 21:43:55 unmount and remove dirs [SOCK 9]", "2020/09/01 21:43:55 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/six'", "2020/09/01 21:43:55 run pip install six from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/six on host", "2020/09/01 21:43:55 .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/09/01 21:43:55 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/09/01 21:43:56 ...returns , [SOCK POOL sandboxes]", "2020/09/01 21:43:56 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/09/01 21:43:56 Destroy() [SB 10]", "2020/09/01 21:43:56 CG ref count decremented to 0 [SOCK 10]", "2020/09/01 21:43:56 waiting for 1 procs in cg-10 to die [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:56 killed PIDs [10390] in CG [SOCK 10]", "2020/09/01 21:43:56 unmount and remove dirs [SOCK 10]", "2020/09/01 21:43:56 increase instances to 1 [FUNC pandas15]", "2020/09/01 21:43:56 Try using Zygote from ", "2020/09/01 21:43:56 Unpause() [SB 2]", "2020/09/01 21:43:56 .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/09/01 21:43:56 use cgroup cg-11 [SOCK 11]", "2020/09/01 21:43:56 fork(SB 11) [SB 2]", "2020/09/01 21:43:56 move PID 10402 from CG cg-2 to CG cg-11 [SOCK 2]", "2020/09/01 21:43:56 ...returns , [SOCK POOL sandboxes]", "2020/09/01 21:43:56 Pause() [SB 2]", "sock2.py: start web server on fd: 3", "2020/09/01 21:43:56 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/09/01 21:43:57 Pause() [SB 11]", "2020/09/01 21:43:57 received kill signal, cleaning up", "2020/09/01 21:43:57 Kill function: numpy15", "2020/09/01 21:43:57 Destroy() [SB 6]", "2020/09/01 21:43:57 CG ref count decremented to 0 [SOCK 6]", "2020/09/01 21:43:57 killed PIDs [10344 10347] in CG [SOCK 6]", "2020/09/01 21:43:57 unmount and remove dirs [SOCK 6]", "2020/09/01 21:43:57 childExit(SB 6) [SB 2]", "2020/09/01 21:43:57 CG ref count decremented to 3 [SOCK 2]", "2020/09/01 21:43:57 Kill function: numpy16", "2020/09/01 21:43:57 Destroy() [SB 5]", "2020/09/01 21:43:57 CG ref count decremented to 0 [SOCK 5]", "2020/09/01 21:43:57 killed PIDs [10339 10341] in CG [SOCK 5]", "2020/09/01 21:43:57 unmount and remove dirs [SOCK 5]", "2020/09/01 21:43:57 childExit(SB 5) [SB 2]", "2020/09/01 21:43:57 CG ref count decremented to 2 [SOCK 2]", "2020/09/01 21:43:57 Kill function: pandas15", "2020/09/01 21:43:57 Destroy() [SB 11]", "2020/09/01 21:43:57 CG ref count decremented to 0 [SOCK 11]", "2020/09/01 21:43:57 killed PIDs [10402 10404] in CG [SOCK 11]", "2020/09/01 21:43:57 unmount and remove dirs [SOCK 11]", "2020/09/01 21:43:57 childExit(SB 11) [SB 2]", "2020/09/01 21:43:57 CG ref count decremented to 1 [SOCK 2]", "2020/09/01 21:43:57 Import Cache Tree:", "2020/09/01 21:43:57 4 - ROOT", "2020/09/01 21:43:57 Destroy() [SB 2]", "2020/09/01 21:43:57 CG ref count decremented to 0 [SOCK 2]", "2020/09/01 21:43:57 killed PIDs [10319] in CG [SOCK 2]", "2020/09/01 21:43:57 unmount and remove dirs [SOCK 2]", "2020/09/01 21:43:57 make sure all memory is free [SOCK POOL sandboxes]", "2020/09/01 21:43:57 memory pool emptied [SOCK POOL sandboxes]", "2020/09/01 21:43:57 received shutdown request [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:57 empty queues and release CGs [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:57 remove /sys/fs/cgroup/blkio/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:57 remove /sys/fs/cgroup/cpu/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:57 remove /sys/fs/cgroup/devices/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:57 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:57 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:57 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:57 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:57 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:57 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:43:57 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:43:57 remove worker.pid", "2020/09/01 21:43:57 exiting", "" ] }, { "test": "sock_churn", "params": { "baseline": 0, "fork": false, "seconds": 5, "procs": 1 }, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "sock", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry": "/root/open-lambda/test-dir/registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "sandbox": "sock", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 5.204878330230713, "total_seconds": 5.42694878578186, "stats": { "sandboxes_per_sec": 6.6 }, "ol-stats": { "Create().cnt": 33, "Create().ms-avg": 140, "Create()/acquire-cgroup.cnt": 33, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 33, "Create()/acquire-mem.ms-avg": 0, "Create()/fresh-proc.cnt": 33, "Create()/fresh-proc.ms-avg": 135, "Create()/make-root-fs.cnt": 33, "Create()/make-root-fs.ms-avg": 4, "Destroy().cnt": 66, "Destroy().ms-avg": 1, "Destroy()/detach-root.cnt": 33, "Destroy()/detach-root.ms-avg": 1, "Destroy()/kill-procs.cnt": 33, "Destroy()/kill-procs.ms-avg": 0, "Destroy()/remove-root.cnt": 33, "Destroy()/remove-root.ms-avg": 0, "fresh-cgroup.cnt": 50, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/09/01 21:44:02 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:02 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:02 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:02 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:02 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:02 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:02 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:44:02 remove worker.pid", "2020/09/01 21:44:02 exiting", "" ] }, { "test": "sock_churn", "params": { "baseline": 0, "fork": true, "seconds": 10, "procs": 1 }, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "sock", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry": "/root/open-lambda/test-dir/registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "sandbox": "sock", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 10.165710926055908, "total_seconds": 10.392585754394531, "stats": { "sandboxes_per_sec": 44.3 }, "ol-stats": { "Create().cnt": 444, "Create().ms-avg": 11, "Create()/acquire-cgroup.cnt": 444, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 444, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 443, "Create()/fork-proc.ms-avg": 6, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 134, "Create()/make-root-fs.cnt": 444, "Create()/make-root-fs.ms-avg": 3, "Destroy().cnt": 887, "Destroy().ms-avg": 1, "Destroy()/detach-root.cnt": 444, "Destroy()/detach-root.ms-avg": 1, "Destroy()/kill-procs.cnt": 444, "Destroy()/kill-procs.ms-avg": 0, "Destroy()/remove-root.cnt": 444, "Destroy()/remove-root.ms-avg": 0, "childExit().cnt": 443, "childExit().ms-avg": 0, "fork().cnt": 443, "fork().ms-avg": 6, "forkRequest.cnt": 443, "forkRequest.ms-avg": 6, "fresh-cgroup.cnt": 461, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 443, "move-to-cg-after-fork.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/09/01 21:44:12 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:12 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:12 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:12 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:12 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:12 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:12 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:44:12 remove worker.pid", "2020/09/01 21:44:12 exiting", "" ] }, { "test": "sock_churn", "params": { "baseline": 0, "fork": true, "seconds": 10, "procs": 15 }, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "sock", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry": "/root/open-lambda/test-dir/registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "sandbox": "sock", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 10.371321678161621, "total_seconds": 10.604245662689209, "stats": { "sandboxes_per_sec": 45.6 }, "ol-stats": { "Create().cnt": 457, "Create().ms-avg": 79, "Create()/acquire-cgroup.cnt": 457, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 457, "Create()/acquire-mem.ms-avg": 17, "Create()/fork-proc.cnt": 456, "Create()/fork-proc.ms-avg": 57, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 140, "Create()/make-root-fs.cnt": 457, "Create()/make-root-fs.ms-avg": 1, "Destroy().cnt": 913, "Destroy().ms-avg": 46, "Destroy()/detach-root.cnt": 457, "Destroy()/detach-root.ms-avg": 1, "Destroy()/kill-procs.cnt": 457, "Destroy()/kill-procs.ms-avg": 11, "Destroy()/remove-root.cnt": 457, "Destroy()/remove-root.ms-avg": 0, "childExit().cnt": 456, "childExit().ms-avg": 57, "fork().cnt": 456, "fork().ms-avg": 57, "forkRequest.cnt": 456, "forkRequest.ms-avg": 11, "fresh-cgroup.cnt": 474, "fresh-cgroup.ms-avg": 4, "move-to-cg-after-fork.cnt": 456, "move-to-cg-after-fork.ms-avg": 2 }, "errors": [], "worker_tail": [ "2020/09/01 21:44:23 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:23 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:23 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:23 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:23 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:23 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:23 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:44:23 remove worker.pid", "2020/09/01 21:44:23 exiting", "" ] }, { "test": "sock_churn", "params": { "baseline": 32, "fork": true, "seconds": 10, "procs": 1 }, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "sock", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry": "/root/open-lambda/test-dir/registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "sandbox": "sock", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 10.8453209400177, "total_seconds": 11.202684164047241, "stats": { "sandboxes_per_sec": 43.4 }, "ol-stats": { "Create().cnt": 467, "Create().ms-avg": 7, "Create()/acquire-cgroup.cnt": 467, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 467, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 466, "Create()/fork-proc.ms-avg": 6, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 145, "Create()/make-root-fs.cnt": 467, "Create()/make-root-fs.ms-avg": 0, "Destroy().cnt": 901, "Destroy().ms-avg": 1, "Destroy()/detach-root.cnt": 467, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 467, "Destroy()/kill-procs.ms-avg": 0, "Destroy()/remove-root.cnt": 467, "Destroy()/remove-root.ms-avg": 0, "Pause().cnt": 32, "Pause().ms-avg": 1, "childExit().cnt": 466, "childExit().ms-avg": 0, "fork().cnt": 466, "fork().ms-avg": 6, "forkRequest.cnt": 466, "forkRequest.ms-avg": 5, "fresh-cgroup.cnt": 484, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 466, "move-to-cg-after-fork.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/09/01 21:44:34 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:34 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:34 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:34 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:34 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:34 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:34 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:44:34 remove worker.pid", "2020/09/01 21:44:34 exiting", "" ] }, { "test": "sock_churn", "params": { "baseline": 32, "fork": true, "seconds": 10, "procs": 15 }, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "sock", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry": "/root/open-lambda/test-dir/registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "sandbox": "sock", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 11.076050519943237, "total_seconds": 11.427806615829468, "stats": { "sandboxes_per_sec": 41.2 }, "ol-stats": { "Create().cnt": 445, "Create().ms-avg": 131, "Create()/acquire-cgroup.cnt": 445, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 445, "Create()/acquire-mem.ms-avg": 77, "Create()/fork-proc.cnt": 444, "Create()/fork-proc.ms-avg": 51, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 158, "Create()/make-root-fs.cnt": 445, "Create()/make-root-fs.ms-avg": 0, "Destroy().cnt": 857, "Destroy().ms-avg": 49, "Destroy()/detach-root.cnt": 445, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 445, "Destroy()/kill-procs.ms-avg": 13, "Destroy()/remove-root.cnt": 445, "Destroy()/remove-root.ms-avg": 0, "Pause().cnt": 32, "Pause().ms-avg": 0, "childExit().cnt": 444, "childExit().ms-avg": 56, "fork().cnt": 444, "fork().ms-avg": 51, "forkRequest.cnt": 444, "forkRequest.ms-avg": 10, "fresh-cgroup.cnt": 462, "fresh-cgroup.ms-avg": 4, "move-to-cg-after-fork.cnt": 444, "move-to-cg-after-fork.ms-avg": 2 }, "errors": [], "worker_tail": [ "2020/09/01 21:44:46 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:46 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:46 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:46 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:46 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:46 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:46 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:44:46 remove worker.pid", "2020/09/01 21:44:46 exiting", "" ] }, { "test": "update_code", "params": {}, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "lambda", "sandbox": "sock", "registry": "/tmp/tmpnmlxcqw8", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 3000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 6.033344984054565, "total_seconds": 6.275117635726929, "stats": null, "ol-stats": { "Channel().cnt": 3, "Channel().ms-avg": 0, "Create().cnt": 4, "Create().ms-avg": 53, "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": 177, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 2, "Destroy().cnt": 4, "Destroy().ms-avg": 3, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 4, "Destroy()/kill-procs.ms-avg": 2, "Destroy()/remove-root.cnt": 4, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 1695, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 1698, "Pause().ms-avg": 0, "ServeHTTP.cnt": 1695, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 1694, "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": 1695, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2020/09/01 21:44:52 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:52 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:52 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:52 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:52 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:52 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:44:52 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:44:52 remove worker.pid", "2020/09/01 21:44:52 exiting", "" ] }, { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 1 }, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "sandbox": "sock", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 15.044087648391724, "total_seconds": 15.274693250656128, "stats": { "reqs_per_sec": 288.6 }, "ol-stats": { "Channel().cnt": 3, "Channel().ms-avg": 0, "Create().cnt": 4, "Create().ms-avg": 42, "Create()/acquire-cgroup.cnt": 4, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 4, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 3, "Create()/fork-proc.ms-avg": 6, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 136, "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": 2, "Destroy()/remove-root.cnt": 4, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4329, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 4332, "Pause().ms-avg": 0, "ServeHTTP.cnt": 4329, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 4328, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 0, "fork().cnt": 3, "fork().ms-avg": 6, "forkRequest.cnt": 3, "forkRequest.ms-avg": 6, "fresh-cgroup.cnt": 21, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 3, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 3, "pull-lambda.ms-avg": 1, "web-request.cnt": 4329, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2020/09/01 21:45:07 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:07 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:07 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:07 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:07 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:07 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:07 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:45:07 remove worker.pid", "2020/09/01 21:45:07 exiting", "" ] }, { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 2 }, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "sandbox": "sock", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 15.043389797210693, "total_seconds": 15.275041341781616, "stats": { "reqs_per_sec": 289.4 }, "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": 138, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 3, "Destroy().cnt": 4, "Destroy().ms-avg": 3, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 4, "Destroy()/kill-procs.ms-avg": 2, "Destroy()/remove-root.cnt": 4, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4341, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 3874, "Pause().ms-avg": 0, "ServeHTTP.cnt": 4341, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 3870, "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": 1, "pull-lambda.cnt": 3, "pull-lambda.ms-avg": 1, "web-request.cnt": 4341, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2020/09/01 21:45:23 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:23 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:23 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:23 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:23 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:23 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:23 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:45:23 remove worker.pid", "2020/09/01 21:45:23 exiting", "" ] }, { "test": "stress_one_lambda", "params": { "seconds": 15, "procs": 8 }, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "sandbox": "sock", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 15.069247007369995, "total_seconds": 15.303195714950562, "stats": { "reqs_per_sec": 266.46666666666664 }, "ol-stats": { "Channel().cnt": 3, "Channel().ms-avg": 0, "Create().cnt": 4, "Create().ms-avg": 43, "Create()/acquire-cgroup.cnt": 4, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 4, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 3, "Create()/fork-proc.ms-avg": 6, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 136, "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": 3997, "LambdaFunc.Invoke.ms-avg": 2, "Pause().cnt": 3061, "Pause().ms-avg": 0, "ServeHTTP.cnt": 3997, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 3057, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 0, "fork().cnt": 3, "fork().ms-avg": 6, "forkRequest.cnt": 3, "forkRequest.ms-avg": 5, "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": 3997, "web-request.ms-avg": 2 }, "errors": [], "worker_tail": [ "2020/09/01 21:45:38 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:38 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:38 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:38 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:38 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:38 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:38 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:45:38 remove worker.pid", "2020/09/01 21:45:38 exiting", "" ] }, { "test": "call_each_once_exec", "params": { "lambda_count": 100, "alloc_mb": 1 }, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "lambda", "sandbox": "sock", "registry": "/tmp/tmpo_t704xs", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": true } }, "seconds": 2.941497564315796, "total_seconds": 3.402381658554077, "stats": { "reqs_per_sec": 33.99663576039345 }, "ol-stats": { "Channel().cnt": 100, "Channel().ms-avg": 0, "Create().cnt": 101, "Create().ms-avg": 7, "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": 5, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 135, "Create()/make-root-fs.cnt": 101, "Create()/make-root-fs.ms-avg": 0, "Destroy().cnt": 158, "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": 3, "Destroy()/remove-root.cnt": 101, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 100, "LambdaFunc.Invoke.ms-avg": 25, "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": 57, "evict.ms-avg": 11, "fork().cnt": 100, "fork().ms-avg": 5, "forkRequest.cnt": 100, "forkRequest.ms-avg": 4, "fresh-cgroup.cnt": 66, "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": 25 }, "errors": [], "worker_tail": [ "2020/09/01 21:45:41 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:41 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:41 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:41 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:41 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:41 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:45:41 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:45:41 remove worker.pid", "2020/09/01 21:45:41 exiting", "" ] }, { "test": "call_each_once_exec", "params": { "lambda_count": 1000, "alloc_mb": 10 }, "pass": true, "conf": { "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "worker_port": "5000", "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry": "/tmp/tmpcy6bcv5s", "storage": { "code": "", "scratch": "", "root": "private" }, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "sandbox": "sock", "sandbox_config": {}, "docker_runtime": "", "registry_cache_ms": 5000, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": true } }, "seconds": 43.28393244743347, "total_seconds": 43.71755933761597, "stats": { "reqs_per_sec": 23.103277937957706 }, "ol-stats": { "Channel().cnt": 1000, "Channel().ms-avg": 0, "Create().cnt": 1001, "Create().ms-avg": 8, "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": 136, "Create()/make-root-fs.cnt": 1001, "Create()/make-root-fs.ms-avg": 1, "Destroy().cnt": 1982, "Destroy().ms-avg": 5, "Destroy()/detach-root.cnt": 1001, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 1001, "Destroy()/kill-procs.ms-avg": 7, "Destroy()/remove-root.cnt": 1001, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 1000, "LambdaFunc.Invoke.ms-avg": 39, "Pause().cnt": 2000, "Pause().ms-avg": 9, "ServeHTTP.cnt": 1000, "ServeHTTP.ms-avg": 19, "Unpause().cnt": 999, "Unpause().ms-avg": 0, "childExit().cnt": 1000, "childExit().ms-avg": 3, "evict.cnt": 981, "evict.ms-avg": 11, "fork().cnt": 1000, "fork().ms-avg": 6, "forkRequest.cnt": 1000, "forkRequest.ms-avg": 5, "fresh-cgroup.cnt": 41, "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": 39 }, "errors": [], "worker_tail": [ "2020/09/01 21:46:25 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:46:25 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:46:25 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:46:25 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:46:25 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:46:25 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/01 21:46:25 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/01 21:46:25 remove worker.pid", "2020/09/01 21:46:25 exiting", "" ] } ], "passed": 17, "failed": 1, "seconds": 274.05547308921814 }