{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "storage": { "root": "private", "code": "", "scratch": "" }, "registry_cache_ms": 5000, "limits": { "procs": 10, "installer_mem_mb": 250, "mem_mb": 50, "swappiness": 0 }, "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "registry": "/root/open-lambda/test-registry", "sandbox_config": {}, "trace": { "package": false, "evictor": false, "memory": false, "cgroups": false }, "docker_runtime": "", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "pip_mirror": "", "sandbox": "sock" }, "seconds": 2.182661533355713, "total_seconds": 2.3094704151153564, "stats": { "pings_per_sec": 458.1605433735387 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/10/19 21:48:13 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:13 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:13 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:13 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:13 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:13 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:13 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/19 21:48:13 remove worker.pid", "2020/10/19 21:48:13 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "features": { "import_cache": false, "reuse_cgroups": false, "downsize_paused_mem": true }, "storage": { "root": "private", "code": "", "scratch": "" }, "registry_cache_ms": 5000, "limits": { "procs": 10, "installer_mem_mb": 250, "mem_mb": 50, "swappiness": 0 }, "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "registry": "/root/open-lambda/test-registry", "sandbox_config": {}, "trace": { "package": false, "evictor": false, "memory": false, "cgroups": false }, "docker_runtime": "", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "pip_mirror": "", "sandbox": "sock" }, "seconds": 10.687400341033936, "total_seconds": 10.929097414016724, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 248, "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": 246, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 1, "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": 2662, "Pause().cnt": 4, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 96, "fresh-cgroup.cnt": 27, "fresh-cgroup.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 6, "pull-package.cnt": 6, "pull-package.ms-avg": 1433, "web-request.cnt": 4, "web-request.ms-avg": 2662 }, "errors": [], "worker_tail": [ "2020/10/19 21:48:24 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:24 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:24 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:24 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:24 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:24 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:24 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/19 21:48:24 remove worker.pid", "2020/10/19 21:48:24 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "storage": { "root": "private", "code": "", "scratch": "" }, "mem_pool_mb": 500, "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "server_mode": "lambda", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "sandbox_config": {}, "trace": { "package": false, "evictor": false, "memory": false, "cgroups": false }, "docker_runtime": "", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox": "sock", "worker_port": "5000", "pip_mirror": "", "worker_dir": "/root/open-lambda/test-dir/worker" }, "seconds": 5.980963468551636, "total_seconds": 6.220935106277466, "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": 7, "Create()/fresh-proc.cnt": 7, "Create()/fresh-proc.ms-avg": 140, "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": 1487, "Pause().cnt": 8, "Pause().ms-avg": 3, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 43, "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": 7, "fresh-cgroup.cnt": 28, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 4, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 926, "web-request.cnt": 4, "web-request.ms-avg": 1487 }, "errors": [], "worker_tail": [ "2020/10/19 21:48:30 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:30 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:30 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:30 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:30 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:30 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:30 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/19 21:48:30 remove worker.pid", "2020/10/19 21:48:30 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "features": { "import_cache": false, "reuse_cgroups": false, "downsize_paused_mem": true }, "storage": { "root": "private", "code": "", "scratch": "" }, "registry_cache_ms": 5000, "limits": { "procs": 10, "installer_mem_mb": 250, "mem_mb": 50, "swappiness": 0 }, "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "registry": "/root/open-lambda/test-registry", "sandbox_config": {}, "trace": { "package": false, "evictor": false, "memory": false, "cgroups": false }, "docker_runtime": "", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "pip_mirror": "", "sandbox": "docker" }, "seconds": 20.774584531784058, "total_seconds": 21.8031165599823, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 1257, "Destroy().cnt": 10, "Destroy().ms-avg": 229, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 5181, "Pause().cnt": 4, "Pause().ms-avg": 145, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 2248, "web-request.cnt": 4, "web-request.ms-avg": 5181 }, "errors": [], "worker_tail": [ "2020/10/19 21:48:52 Kill function: install", "2020/10/19 21:48:52 Destroy() [SB 6]", "2020/10/19 21:48:52 Kill function: install2", "2020/10/19 21:48:52 Destroy() [SB 7]", "2020/10/19 21:48:52 Kill function: install3", "2020/10/19 21:48:52 Destroy() [SB 9]", "2020/10/19 21:48:52 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/19 21:48:52 remove worker.pid", "2020/10/19 21:48:52 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "storage": { "root": "private", "code": "", "scratch": "" }, "mem_pool_mb": 500, "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "server_mode": "lambda", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "sandbox_config": {}, "trace": { "package": false, "evictor": false, "memory": false, "cgroups": false }, "docker_runtime": "", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox": "sock", "worker_port": "5000", "pip_mirror": "", "worker_dir": "/root/open-lambda/test-dir/worker" }, "seconds": 0.5868122577667236, "total_seconds": 0.8160262107849121, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 280, "Create()/acquire-cgroup.cnt": 2, "Create()/acquire-cgroup.ms-avg": 0, "Create()/acquire-mem.cnt": 2, "Create()/acquire-mem.ms-avg": 0, "Create()/fork-proc.cnt": 1, "Create()/fork-proc.ms-avg": 7, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 544, "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": 582, "Pause().cnt": 2, "Pause().ms-avg": 3, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 11, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 7, "forkRequest.cnt": 1, "forkRequest.ms-avg": 6, "fresh-cgroup.cnt": 19, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 1, "move-to-cg-after-fork.ms-avg": 1, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 5, "web-request.cnt": 1, "web-request.ms-avg": 582 }, "errors": [], "worker_tail": [ "2020/10/19 21:48:53 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:53 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:53 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:53 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:53 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:53 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:53 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/19 21:48:53 remove worker.pid", "2020/10/19 21:48:53 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "storage": { "root": "private", "code": "", "scratch": "" }, "mem_pool_mb": 500, "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "server_mode": "lambda", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "sandbox_config": {}, "trace": { "package": false, "evictor": false, "memory": false, "cgroups": false }, "docker_runtime": "", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox": "sock", "worker_port": "5000", "pip_mirror": "", "worker_dir": "/root/open-lambda/test-dir/worker" }, "seconds": 0.812650203704834, "total_seconds": 1.045119047164917, "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": 133, "Create()/make-root-fs.cnt": 2, "Create()/make-root-fs.ms-avg": 5, "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": 808, "Pause().cnt": 2, "Pause().ms-avg": 3, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 649, "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": 2, "web-request.cnt": 1, "web-request.ms-avg": 808 }, "errors": [], "worker_tail": [ "2020/10/19 21:48:54 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:54 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:54 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:54 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:54 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:54 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/19 21:48:54 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/19 21:48:54 remove worker.pid", "2020/10/19 21:48:54 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "storage": { "root": "private", "code": "", "scratch": "" }, "mem_pool_mb": 500, "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "server_mode": "lambda", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "sandbox_config": {}, "trace": { "package": false, "evictor": false, "memory": false, "cgroups": false }, "docker_runtime": "", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox": "sock", "worker_port": "5000", "pip_mirror": "", "worker_dir": "/root/open-lambda/test-dir/worker" }, "seconds": null, "total_seconds": 72.26368474960327, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 96, "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": 144, "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": 17953, "Pause().cnt": 8, "Pause().ms-avg": 5, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 254, "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": 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": 8, "pull-package.cnt": 6, "pull-package.ms-avg": 11757, "web-request.cnt": 4, "web-request.ms-avg": 17953 }, "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: