{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "evictor": false, "package": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": false }, "import_cache_tree": "", "registry": "/root/open-lambda/test-registry", "sandbox": "sock", "docker_runtime": "", "registry_cache_ms": 5000, "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "limits": { "procs": 10, "installer_mem_mb": 250, "mem_mb": 50, "swappiness": 0 }, "pip_mirror": "" }, "seconds": 2.201526403427124, "total_seconds": 3.3439548015594482, "stats": { "pings_per_sec": 454.2346787047821 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/09/08 21:47:16 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:16 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:16 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:16 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:16 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:16 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:16 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:47:16 remove worker.pid", "2020/09/08 21:47:16 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "evictor": false, "package": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "features": { "downsize_paused_mem": true, "import_cache": false, "reuse_cgroups": false }, "import_cache_tree": "", "registry": "/root/open-lambda/test-registry", "sandbox": "sock", "docker_runtime": "", "registry_cache_ms": 5000, "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "limits": { "procs": 10, "installer_mem_mb": 250, "mem_mb": 50, "swappiness": 0 }, "pip_mirror": "" }, "seconds": 14.747005701065063, "total_seconds": 14.988195896148682, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 345, "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": 332, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 12, "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": 3676, "Pause().cnt": 4, "Pause().ms-avg": 3, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 209, "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": 1829, "web-request.cnt": 4, "web-request.ms-avg": 3676 }, "errors": [], "worker_tail": [ "2020/09/08 21:47:31 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:31 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:31 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:31 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:31 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:31 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:31 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:47:31 remove worker.pid", "2020/09/08 21:47:31 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": false }, "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "sandbox": "sock", "docker_runtime": "", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "pip_mirror": "" }, "seconds": 5.739867925643921, "total_seconds": 5.978483438491821, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 94, "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": 141, "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": 1427, "Pause().cnt": 8, "Pause().ms-avg": 4, "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": 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": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 886, "web-request.cnt": 4, "web-request.ms-avg": 1427 }, "errors": [], "worker_tail": [ "2020/09/08 21:47:37 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:37 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:37 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:37 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:37 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:37 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:47:37 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:47:37 remove worker.pid", "2020/09/08 21:47:37 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "evictor": false, "package": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "features": { "downsize_paused_mem": true, "import_cache": false, "reuse_cgroups": false }, "import_cache_tree": "", "registry": "/root/open-lambda/test-registry", "sandbox": "docker", "docker_runtime": "", "registry_cache_ms": 5000, "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "limits": { "procs": 10, "installer_mem_mb": 250, "mem_mb": 50, "swappiness": 0 }, "pip_mirror": "" }, "seconds": 22.3747136592865, "total_seconds": 26.00682044029236, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 1340, "Destroy().cnt": 10, "Destroy().ms-avg": 554, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 5581, "Pause().cnt": 4, "Pause().ms-avg": 161, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 2352, "web-request.cnt": 4, "web-request.ms-avg": 5581 }, "errors": [], "worker_tail": [ "2020/09/08 21:48:00 Kill function: install", "2020/09/08 21:48:00 Destroy() [SB 6]", "2020/09/08 21:48:01 Kill function: install2", "2020/09/08 21:48:01 Destroy() [SB 7]", "2020/09/08 21:48:03 Kill function: install3", "2020/09/08 21:48:03 Destroy() [SB 9]", "2020/09/08 21:48:03 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:48:03 remove worker.pid", "2020/09/08 21:48:03 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": false }, "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "sandbox": "sock", "docker_runtime": "", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "pip_mirror": "" }, "seconds": 0.17632198333740234, "total_seconds": 0.40735769271850586, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 75, "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": 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": 172, "Pause().cnt": 2, "Pause().ms-avg": 3, "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": 3, "web-request.cnt": 1, "web-request.ms-avg": 172 }, "errors": [], "worker_tail": [ "2020/09/08 21:48:03 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:03 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:03 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:03 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:03 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:03 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:03 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:48:03 remove worker.pid", "2020/09/08 21:48:03 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": false }, "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "sandbox": "sock", "docker_runtime": "", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "pip_mirror": "" }, "seconds": 1.4584457874298096, "total_seconds": 1.6914398670196533, "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": 8, "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": 1454, "Pause().cnt": 2, "Pause().ms-avg": 3, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 680, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 8, "forkRequest.cnt": 1, "forkRequest.ms-avg": 7, "fresh-cgroup.cnt": 19, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 1, "move-to-cg-after-fork.ms-avg": 1, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 615, "web-request.cnt": 1, "web-request.ms-avg": 1454 }, "errors": [], "worker_tail": [ "2020/09/08 21:48:05 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:48:05 remove worker.pid", "2020/09/08 21:48:05 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": false }, "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "sandbox": "sock", "docker_runtime": "", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "pip_mirror": "" }, "seconds": null, "total_seconds": 64.36503672599792, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 373, "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": 5, "Create()/fresh-proc.cnt": 7, "Create()/fresh-proc.ms-avg": 430, "Create()/make-root-fs.cnt": 11, "Create()/make-root-fs.ms-avg": 97, "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": 16020, "Pause().cnt": 8, "Pause().ms-avg": 4, "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": 5, "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": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 3, "pull-package.cnt": 6, "pull-package.ms-avg": 10541, "web-request.cnt": 4, "web-request.ms-avg": 16020 }, "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/08 21:48:05 save PID 10319 to file /root/open-lambda/test-dir/worker/worker.pid", "2020/09/08 21:48:05 Start Lambda Server", "2020/09/08 21:48:05 Storage dir at /root/open-lambda/test-dir/worker/code", "2020/09/08 21:48:05 Storage dir at /root/open-lambda/test-dir/worker/scratch", "2020/09/08 21:48:05 Create SandboxPool", "2020/09/08 21:48:05 create /sys/fs/cgroup/blkio/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 create /sys/fs/cgroup/cpu/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 create /sys/fs/cgroup/devices/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 create /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 create /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 create /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 create /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 create /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 create /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 Storage dir at /root/open-lambda/test-dir/worker/root-sandboxes", "2020/09/08 21:48:05 Create DepTracer", "2020/09/08 21:48:05 Create PackagePuller", "2020/09/08 21:48:05 Create ImportCache", "2020/09/08 21:48:05 Import Cache Tree:", "2020/09/08 21:48:05 0 - ROOT", "2020/09/08 21:48:05 Create HandlerPuller", "2020/09/08 21:48:05 Setups Handlers", "2020/09/08 21:48:05 Execute handler by POSTing to localhost:5000/run/", "2020/09/08 21:48:05 Get status by sending request to localhost:5000/status", "2020/09/08 21:48:05 start creating/serving CGs [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:05 Receive request to /pid", "2020/09/08 21:48:05 Receive request to /run/numpy15", "2020/09/08 21:48:05 debug: LambdaFunc.Task() runs on goroutine 18 [FUNC numpy15]", "2020/09/08 21:48:05 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/numpy==1.15'", "2020/09/08 21:48:05 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/08 21:48:05 .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/08 21:48:05 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/08 21:48:05 ...returns , [SOCK POOL sandboxes]", "2020/09/08 21:48:05 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/08 21:48:20 Destroy() [SB 1]", "2020/09/08 21:48:20 CG ref count decremented to 0 [SOCK 1]", "2020/09/08 21:48:20 waiting for 1 procs in cg-1 to die [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:20 killed PIDs [10333] in CG [SOCK 1]", "2020/09/08 21:48:20 unmount and remove dirs [SOCK 1]", "2020/09/08 21:48:20 increase instances to 1 [FUNC numpy15]", "2020/09/08 21:48:20 Try using Zygote from ", "2020/09/08 21:48:20 .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/08 21:48:20 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/08 21:48:21 ...returns , [SOCK POOL sandboxes]", "2020/09/08 21:48:21 .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/08 21:48:21 use cgroup cg-3 [SOCK 3]", "2020/09/08 21:48:21 fork(SB 3) [SB 2]", "sock2.py: start web server on fd: 3", "2020/09/08 21:48:21 move PID 10348 from CG cg-2 to CG cg-3 [SOCK 2]", "2020/09/08 21:48:21 ...returns , [SOCK POOL sandboxes]", "2020/09/08 21:48:21 Pause() [SB 2]", "2020/09/08 21:48:21 Channel() [SB 3]", "2020/09/08 21:48:21 Pause() [SB 3]", "2020/09/08 21:48:21 Receive request to /run/numpy16", "2020/09/08 21:48:21 debug: LambdaFunc.Task() runs on goroutine 32 [FUNC numpy16]", "2020/09/08 21:48:21 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/numpy==1.16'", "2020/09/08 21:48:21 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/08 21:48:21 .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/08 21:48:21 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/08 21:48:21 ...returns , [SOCK POOL sandboxes]", "2020/09/08 21:48:21 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/08 21:48:50 Destroy() [SB 4]", "2020/09/08 21:48:50 CG ref count decremented to 0 [SOCK 4]", "2020/09/08 21:48:50 waiting for 1 procs in cg-4 to die [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:50 killed PIDs [10354] in CG [SOCK 4]", "2020/09/08 21:48:50 unmount and remove dirs [SOCK 4]", "2020/09/08 21:48:50 increase instances to 1 [FUNC numpy16]", "2020/09/08 21:48:50 Try using Zygote from ", "2020/09/08 21:48:50 Unpause() [SB 2]", "2020/09/08 21:48:50 .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/08 21:48:50 use cgroup cg-5 [SOCK 5]", "2020/09/08 21:48:50 fork(SB 5) [SB 2]", "2020/09/08 21:48:50 move PID 10366 from CG cg-2 to CG cg-5 [SOCK 2]", "2020/09/08 21:48:50 ...returns , [SOCK POOL sandboxes]", "2020/09/08 21:48:50 Pause() [SB 2]", "sock2.py: start web server on fd: 3", "2020/09/08 21:48:50 Channel() [SB 5]", "2020/09/08 21:48:50 Pause() [SB 5]", "2020/09/08 21:48:50 Receive request to /run/numpy15", "2020/09/08 21:48:50 increase instances to 1 [FUNC numpy15]", "2020/09/08 21:48:50 Try using Zygote from ", "2020/09/08 21:48:50 Unpause() [SB 2]", "2020/09/08 21:48:50 .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/08 21:48:50 use cgroup cg-6 [SOCK 6]", "2020/09/08 21:48:50 fork(SB 6) [SB 2]", "sock2.py: start web server on fd: 3", "2020/09/08 21:48:50 Destroy() [SB 3]", "2020/09/08 21:48:50 CG ref count decremented to 0 [SOCK 3]", "2020/09/08 21:48:50 waiting for 2 procs in cg-3 to die [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:48:50 move PID 10371 from CG cg-2 to CG cg-6 [SOCK 2]", "2020/09/08 21:48:50 ...returns , [SOCK POOL sandboxes]", "2020/09/08 21:48:50 Pause() [SB 2]", "2020/09/08 21:48:50 killed PIDs [10348 10350] in CG [SOCK 3]", "2020/09/08 21:48:50 unmount and remove dirs [SOCK 3]", "2020/09/08 21:48:50 childExit(SB 3) [SB 2]", "2020/09/08 21:48:50 Channel() [SB 6]", "2020/09/08 21:48:50 CG ref count decremented to 3 [SOCK 2]", "2020/09/08 21:48:50 Pause() [SB 6]", "2020/09/08 21:48:50 Receive request to /run/pandas15", "2020/09/08 21:48:50 debug: LambdaFunc.Task() runs on goroutine 53 [FUNC pandas15]", "2020/09/08 21:48:50 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/pandas'", "2020/09/08 21:48:50 run pip install pandas from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/pandas on host", "2020/09/08 21:48:50 .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/08 21:48:50 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/08 21:48:51 ...returns , [SOCK POOL sandboxes]", "2020/09/08 21:48:51 Channel() [SB 7]", "Collecting pandas", " Downloading pandas-1.1.2-cp36-cp36m-manylinux1_x86_64.whl (10.5 MB)", "Installing collected packages: pandas", "Successfully installed pandas-1.1.2", "pip install returned code 0", "2020/09/08 21:49:01 Destroy() [SB 7]", "2020/09/08 21:49:01 CG ref count decremented to 0 [SOCK 7]", "2020/09/08 21:49:01 waiting for 1 procs in cg-7 to die [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:01 killed PIDs [10378] in CG [SOCK 7]", "2020/09/08 21:49:01 unmount and remove dirs [SOCK 7]", "2020/09/08 21:49:01 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/python-dateutil'", "2020/09/08 21:49:01 run pip install python-dateutil from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/python-dateutil on host", "2020/09/08 21:49:01 .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/08 21:49:01 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/08 21:49:04 ...returns , [SOCK POOL sandboxes]", "2020/09/08 21:49:04 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/08 21:49:06 Destroy() [SB 8]", "2020/09/08 21:49:06 CG ref count decremented to 0 [SOCK 8]", "2020/09/08 21:49:06 waiting for 1 procs in cg-8 to die [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:06 killed PIDs [10391] in CG [SOCK 8]", "2020/09/08 21:49:06 unmount and remove dirs [SOCK 8]", "2020/09/08 21:49:06 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/pytz'", "2020/09/08 21:49:06 run pip install pytz from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/pytz on host", "2020/09/08 21:49:06 .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/08 21:49:06 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/08 21:49:07 ...returns , [SOCK POOL sandboxes]", "2020/09/08 21:49:07 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/08 21:49:08 Destroy() [SB 9]", "2020/09/08 21:49:08 CG ref count decremented to 0 [SOCK 9]", "2020/09/08 21:49:08 waiting for 1 procs in cg-9 to die [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:08 killed PIDs [10404] in CG [SOCK 9]", "2020/09/08 21:49:08 unmount and remove dirs [SOCK 9]", "2020/09/08 21:49:08 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/six'", "2020/09/08 21:49:08 run pip install six from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/six on host", "2020/09/08 21:49:08 .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/08 21:49:08 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/08 21:49:08 ...returns , [SOCK POOL sandboxes]", "2020/09/08 21:49:08 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/08 21:49:09 Destroy() [SB 10]", "2020/09/08 21:49:09 CG ref count decremented to 0 [SOCK 10]", "2020/09/08 21:49:09 waiting for 1 procs in cg-10 to die [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:09 killed PIDs [10417] in CG [SOCK 10]", "2020/09/08 21:49:09 unmount and remove dirs [SOCK 10]", "2020/09/08 21:49:09 increase instances to 1 [FUNC pandas15]", "2020/09/08 21:49:09 Try using Zygote from ", "2020/09/08 21:49:09 Unpause() [SB 2]", "2020/09/08 21:49:09 .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/08 21:49:09 use cgroup cg-11 [SOCK 11]", "2020/09/08 21:49:09 fork(SB 11) [SB 2]", "2020/09/08 21:49:09 move PID 10429 from CG cg-2 to CG cg-11 [SOCK 2]", "2020/09/08 21:49:09 ...returns , [SOCK POOL sandboxes]", "2020/09/08 21:49:09 Pause() [SB 2]", "sock2.py: start web server on fd: 3", "2020/09/08 21:49:09 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/08 21:49:09 Pause() [SB 11]", "2020/09/08 21:49:09 received kill signal, cleaning up", "2020/09/08 21:49:09 Kill function: numpy15", "2020/09/08 21:49:09 Destroy() [SB 6]", "2020/09/08 21:49:09 CG ref count decremented to 0 [SOCK 6]", "2020/09/08 21:49:09 killed PIDs [10371 10374] in CG [SOCK 6]", "2020/09/08 21:49:09 unmount and remove dirs [SOCK 6]", "2020/09/08 21:49:09 childExit(SB 6) [SB 2]", "2020/09/08 21:49:09 CG ref count decremented to 3 [SOCK 2]", "2020/09/08 21:49:09 Kill function: numpy16", "2020/09/08 21:49:09 Destroy() [SB 5]", "2020/09/08 21:49:09 CG ref count decremented to 0 [SOCK 5]", "2020/09/08 21:49:09 killed PIDs [10366 10368] in CG [SOCK 5]", "2020/09/08 21:49:09 unmount and remove dirs [SOCK 5]", "2020/09/08 21:49:09 childExit(SB 5) [SB 2]", "2020/09/08 21:49:09 CG ref count decremented to 2 [SOCK 2]", "2020/09/08 21:49:09 Kill function: pandas15", "2020/09/08 21:49:09 Destroy() [SB 11]", "2020/09/08 21:49:09 CG ref count decremented to 0 [SOCK 11]", "2020/09/08 21:49:09 killed PIDs [10429 10431] in CG [SOCK 11]", "2020/09/08 21:49:09 unmount and remove dirs [SOCK 11]", "2020/09/08 21:49:09 childExit(SB 11) [SB 2]", "2020/09/08 21:49:09 CG ref count decremented to 1 [SOCK 2]", "2020/09/08 21:49:09 Import Cache Tree:", "2020/09/08 21:49:09 4 - ROOT", "2020/09/08 21:49:09 Destroy() [SB 2]", "2020/09/08 21:49:09 CG ref count decremented to 0 [SOCK 2]", "2020/09/08 21:49:09 killed PIDs [10346] in CG [SOCK 2]", "2020/09/08 21:49:09 unmount and remove dirs [SOCK 2]", "2020/09/08 21:49:09 make sure all memory is free [SOCK POOL sandboxes]", "2020/09/08 21:49:09 memory pool emptied [SOCK POOL sandboxes]", "2020/09/08 21:49:09 received shutdown request [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:09 empty queues and release CGs [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:09 remove /sys/fs/cgroup/blkio/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:09 remove /sys/fs/cgroup/cpu/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:09 remove /sys/fs/cgroup/devices/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:09 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:09 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:09 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:09 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:09 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:09 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:09 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:49:09 remove worker.pid", "2020/09/08 21:49:09 exiting", "" ] }, { "test": "sock_churn", "params": { "procs": 1, "baseline": 0, "seconds": 5, "fork": false }, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "sock", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": false }, "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-dir/registry", "sandbox": "sock", "docker_runtime": "", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "pip_mirror": "" }, "seconds": 5.192695140838623, "total_seconds": 5.415048122406006, "stats": { "sandboxes_per_sec": 6.4 }, "ol-stats": { "Create().cnt": 32, "Create().ms-avg": 143, "Create()/acquire-cgroup.cnt": 32, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 32, "Create()/acquire-mem.ms-avg": 0, "Create()/fresh-proc.cnt": 32, "Create()/fresh-proc.ms-avg": 139, "Create()/make-root-fs.cnt": 32, "Create()/make-root-fs.ms-avg": 4, "Destroy().cnt": 64, "Destroy().ms-avg": 1, "Destroy()/detach-root.cnt": 32, "Destroy()/detach-root.ms-avg": 1, "Destroy()/kill-procs.cnt": 32, "Destroy()/kill-procs.ms-avg": 1, "Destroy()/remove-root.cnt": 32, "Destroy()/remove-root.ms-avg": 0, "fresh-cgroup.cnt": 49, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/09/08 21:49:15 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:15 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:15 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:15 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:15 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:15 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:15 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:49:15 remove worker.pid", "2020/09/08 21:49:15 exiting", "" ] }, { "test": "sock_churn", "params": { "procs": 1, "baseline": 0, "seconds": 10, "fork": true }, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "sock", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": false }, "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-dir/registry", "sandbox": "sock", "docker_runtime": "", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "pip_mirror": "" }, "seconds": 10.160559892654419, "total_seconds": 10.395646095275879, "stats": { "sandboxes_per_sec": 44.3 }, "ol-stats": { "Create().cnt": 444, "Create().ms-avg": 10, "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": 137, "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/08 21:49:25 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:25 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:25 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:25 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:25 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:25 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:25 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:49:25 remove worker.pid", "2020/09/08 21:49:25 exiting", "" ] }, { "test": "sock_churn", "params": { "procs": 15, "baseline": 0, "seconds": 10, "fork": true }, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "sock", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": false }, "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-dir/registry", "sandbox": "sock", "docker_runtime": "", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "pip_mirror": "" }, "seconds": 10.343602657318115, "total_seconds": 11.61571216583252, "stats": { "sandboxes_per_sec": 41.0 }, "ol-stats": { "Create().cnt": 411, "Create().ms-avg": 123, "Create()/acquire-cgroup.cnt": 411, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 411, "Create()/acquire-mem.ms-avg": 35, "Create()/fork-proc.cnt": 410, "Create()/fork-proc.ms-avg": 62, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 137, "Create()/make-root-fs.cnt": 411, "Create()/make-root-fs.ms-avg": 24, "Destroy().cnt": 821, "Destroy().ms-avg": 50, "Destroy()/detach-root.cnt": 411, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 411, "Destroy()/kill-procs.ms-avg": 14, "Destroy()/remove-root.cnt": 411, "Destroy()/remove-root.ms-avg": 0, "childExit().cnt": 410, "childExit().ms-avg": 58, "fork().cnt": 410, "fork().ms-avg": 62, "forkRequest.cnt": 410, "forkRequest.ms-avg": 11, "fresh-cgroup.cnt": 428, "fresh-cgroup.ms-avg": 4, "move-to-cg-after-fork.cnt": 410, "move-to-cg-after-fork.ms-avg": 2 }, "errors": [], "worker_tail": [ "2020/09/08 21:49:36 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:36 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:36 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:36 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:36 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:36 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:36 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:49:36 remove worker.pid", "2020/09/08 21:49:36 exiting", "" ] }, { "test": "sock_churn", "params": { "procs": 1, "baseline": 32, "seconds": 10, "fork": true }, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "sock", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": false }, "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-dir/registry", "sandbox": "sock", "docker_runtime": "", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "pip_mirror": "" }, "seconds": 11.239680290222168, "total_seconds": 11.957069873809814, "stats": { "sandboxes_per_sec": 41.4 }, "ol-stats": { "Create().cnt": 447, "Create().ms-avg": 8, "Create()/acquire-cgroup.cnt": 447, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 447, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 446, "Create()/fork-proc.ms-avg": 6, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 135, "Create()/make-root-fs.cnt": 447, "Create()/make-root-fs.ms-avg": 0, "Destroy().cnt": 861, "Destroy().ms-avg": 0, "Destroy()/detach-root.cnt": 447, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 447, "Destroy()/kill-procs.ms-avg": 0, "Destroy()/remove-root.cnt": 447, "Destroy()/remove-root.ms-avg": 0, "Pause().cnt": 32, "Pause().ms-avg": 0, "childExit().cnt": 446, "childExit().ms-avg": 0, "fork().cnt": 446, "fork().ms-avg": 6, "forkRequest.cnt": 446, "forkRequest.ms-avg": 5, "fresh-cgroup.cnt": 464, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 446, "move-to-cg-after-fork.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/09/08 21:49:49 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:49 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:49 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:49 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:49 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:49 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:49:49 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:49:49 remove worker.pid", "2020/09/08 21:49:49 exiting", "" ] }, { "test": "sock_churn", "params": { "procs": 15, "baseline": 32, "seconds": 10, "fork": true }, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "sock", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": false }, "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-dir/registry", "sandbox": "sock", "docker_runtime": "", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "pip_mirror": "" }, "seconds": 11.04209566116333, "total_seconds": 11.403859615325928, "stats": { "sandboxes_per_sec": 39.2 }, "ol-stats": { "Create().cnt": 425, "Create().ms-avg": 138, "Create()/acquire-cgroup.cnt": 425, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 425, "Create()/acquire-mem.ms-avg": 79, "Create()/fork-proc.cnt": 424, "Create()/fork-proc.ms-avg": 55, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 212, "Create()/make-root-fs.cnt": 425, "Create()/make-root-fs.ms-avg": 1, "Destroy().cnt": 817, "Destroy().ms-avg": 52, "Destroy()/detach-root.cnt": 425, "Destroy()/detach-root.ms-avg": 1, "Destroy()/kill-procs.cnt": 425, "Destroy()/kill-procs.ms-avg": 13, "Destroy()/remove-root.cnt": 425, "Destroy()/remove-root.ms-avg": 0, "Pause().cnt": 32, "Pause().ms-avg": 0, "childExit().cnt": 424, "childExit().ms-avg": 60, "fork().cnt": 424, "fork().ms-avg": 54, "forkRequest.cnt": 424, "forkRequest.ms-avg": 11, "fresh-cgroup.cnt": 442, "fresh-cgroup.ms-avg": 6, "move-to-cg-after-fork.cnt": 424, "move-to-cg-after-fork.ms-avg": 2 }, "errors": [], "worker_tail": [ "2020/09/08 21:50:00 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:00 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:00 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:00 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:00 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:00 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:00 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:50:00 remove worker.pid", "2020/09/08 21:50:00 exiting", "" ] }, { "test": "update_code", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "evictor": false, "package": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": false }, "import_cache_tree": "", "registry": "/tmp/tmpe0ohxwam", "sandbox": "sock", "docker_runtime": "", "registry_cache_ms": 3000, "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "limits": { "procs": 10, "installer_mem_mb": 250, "mem_mb": 50, "swappiness": 0 }, "pip_mirror": "" }, "seconds": 6.033289909362793, "total_seconds": 6.267601251602173, "stats": null, "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": 140, "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": 1699, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 1702, "Pause().ms-avg": 0, "ServeHTTP.cnt": 1699, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 1698, "Unpause().ms-avg": 0, "childExit().cnt": 3, "childExit().ms-avg": 0, "fork().cnt": 3, "fork().ms-avg": 7, "forkRequest.cnt": 3, "forkRequest.ms-avg": 7, "fresh-cgroup.cnt": 21, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 3, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 3, "pull-lambda.ms-avg": 1, "web-request.cnt": 1699, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2020/09/08 21:50:07 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:07 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:07 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:07 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:07 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:07 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:07 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:50:07 remove worker.pid", "2020/09/08 21:50:07 exiting", "" ] }, { "test": "stress_one_lambda", "params": { "procs": 1, "seconds": 15 }, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": false }, "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "sandbox": "sock", "docker_runtime": "", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "pip_mirror": "" }, "seconds": 15.044481992721558, "total_seconds": 15.275654077529907, "stats": { "reqs_per_sec": 285.0 }, "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": 7, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 137, "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": 4275, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 4278, "Pause().ms-avg": 0, "ServeHTTP.cnt": 4275, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 4274, "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": 4275, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2020/09/08 21:50:22 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:22 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:22 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:22 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:22 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:22 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:22 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:50:22 remove worker.pid", "2020/09/08 21:50:22 exiting", "" ] }, { "test": "stress_one_lambda", "params": { "procs": 2, "seconds": 15 }, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": false }, "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "sandbox": "sock", "docker_runtime": "", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "pip_mirror": "" }, "seconds": 15.048803329467773, "total_seconds": 15.28636646270752, "stats": { "reqs_per_sec": 286.53333333333336 }, "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": 139, "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": 4298, "LambdaFunc.Invoke.ms-avg": 1, "Pause().cnt": 3840, "Pause().ms-avg": 0, "ServeHTTP.cnt": 4298, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 3836, "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": 1, "pull-lambda.cnt": 3, "pull-lambda.ms-avg": 1, "web-request.cnt": 4298, "web-request.ms-avg": 1 }, "errors": [], "worker_tail": [ "2020/09/08 21:50:37 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:37 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:37 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:37 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:37 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:37 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:37 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:50:37 remove worker.pid", "2020/09/08 21:50:37 exiting", "" ] }, { "test": "stress_one_lambda", "params": { "procs": 8, "seconds": 15 }, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": false }, "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "registry": "/root/open-lambda/test-registry", "sandbox": "sock", "docker_runtime": "", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "pip_mirror": "" }, "seconds": 15.066813468933105, "total_seconds": 15.297527313232422, "stats": { "reqs_per_sec": 266.0 }, "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": 138, "Create()/make-root-fs.cnt": 4, "Create()/make-root-fs.ms-avg": 5, "Destroy().cnt": 4, "Destroy().ms-avg": 2, "Destroy()/detach-root.cnt": 4, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 4, "Destroy()/kill-procs.ms-avg": 1, "Destroy()/remove-root.cnt": 4, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 3990, "LambdaFunc.Invoke.ms-avg": 2, "Pause().cnt": 3046, "Pause().ms-avg": 0, "ServeHTTP.cnt": 3990, "ServeHTTP.ms-avg": 0, "Unpause().cnt": 3042, "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": 3, "web-request.cnt": 3990, "web-request.ms-avg": 2 }, "errors": [], "worker_tail": [ "2020/09/08 21:50:52 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:52 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:52 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:52 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:52 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:52 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:52 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:50:52 remove worker.pid", "2020/09/08 21:50:52 exiting", "" ] }, { "test": "call_each_once_exec", "params": { "lambda_count": 100, "alloc_mb": 1 }, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "evictor": false, "package": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": true }, "import_cache_tree": "", "registry": "/tmp/tmpu_v1zhgj", "sandbox": "sock", "docker_runtime": "", "registry_cache_ms": 5000, "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "limits": { "procs": 10, "installer_mem_mb": 250, "mem_mb": 50, "swappiness": 0 }, "pip_mirror": "" }, "seconds": 2.936800956726074, "total_seconds": 3.3975696563720703, "stats": { "reqs_per_sec": 34.05093550072314 }, "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": 154, "Destroy().ms-avg": 4, "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": 9, "ServeHTTP.cnt": 100, "ServeHTTP.ms-avg": 6, "Unpause().cnt": 99, "Unpause().ms-avg": 0, "childExit().cnt": 100, "childExit().ms-avg": 3, "evict.cnt": 53, "evict.ms-avg": 11, "fork().cnt": 100, "fork().ms-avg": 5, "forkRequest.cnt": 100, "forkRequest.ms-avg": 4, "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": 25 }, "errors": [], "worker_tail": [ "2020/09/08 21:50:56 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:56 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:56 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:56 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:56 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:56 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:50:56 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:50:56 remove worker.pid", "2020/09/08 21:50:56 exiting", "" ] }, { "test": "call_each_once_exec", "params": { "lambda_count": 1000, "alloc_mb": 10 }, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "storage": { "scratch": "", "code": "", "root": "private" }, "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "mem_pool_mb": 500, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "features": { "downsize_paused_mem": true, "import_cache": true, "reuse_cgroups": true }, "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "registry": "/tmp/tmpxq7tvp8b", "sandbox": "sock", "docker_runtime": "", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "pip_mirror": "" }, "seconds": 44.19674825668335, "total_seconds": 44.73830318450928, "stats": { "reqs_per_sec": 22.626114832599278 }, "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": 135, "Create()/make-root-fs.cnt": 1001, "Create()/make-root-fs.ms-avg": 1, "Destroy().cnt": 1982, "Destroy().ms-avg": 6, "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": 40, "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": 12, "fork().cnt": 1000, "fork().ms-avg": 6, "forkRequest.cnt": 1000, "forkRequest.ms-avg": 5, "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": 40 }, "errors": [], "worker_tail": [ "2020/09/08 21:51:40 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:51:40 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:51:40 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:51:40 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:51:40 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:51:40 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/08 21:51:41 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/08 21:51:41 remove worker.pid", "2020/09/08 21:51:41 exiting", "" ] } ], "passed": 17, "failed": 1, "seconds": 388.2187805175781 }