{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "docker_runtime": "", "worker_port": "5000", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox": "sock", "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry_cache_ms": 5000, "sandbox_config": {}, "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "storage": { "scratch": "", "code": "", "root": "private" }, "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 2.2607197761535645, "total_seconds": 2.5937533378601074, "stats": { "pings_per_sec": 442.34087033591743 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/12/07 21:49:57 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:49:57 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:49:57 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:49:57 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:49:57 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:49:57 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:49:57 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/12/07 21:49:57 remove worker.pid", "2020/12/07 21:49:57 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "docker_runtime": "", "worker_port": "5000", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox": "sock", "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry_cache_ms": 5000, "sandbox_config": {}, "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "storage": { "scratch": "", "code": "", "root": "private" }, "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "features": { "import_cache": false, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 17.61387276649475, "total_seconds": 17.85552406311035, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 518, "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": 496, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 21, "Destroy().cnt": 10, "Destroy().ms-avg": 3, "Destroy()/detach-root.cnt": 10, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 10, "Destroy()/kill-procs.ms-avg": 2, "Destroy()/remove-root.cnt": 10, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 4390, "Pause().cnt": 4, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 152, "fresh-cgroup.cnt": 27, "fresh-cgroup.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 32, "pull-package.cnt": 6, "pull-package.ms-avg": 2081, "web-request.cnt": 4, "web-request.ms-avg": 4390 }, "errors": [], "worker_tail": [ "2020/12/07 21:50:15 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:15 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:15 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:15 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:15 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:15 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:15 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/12/07 21:50:15 remove worker.pid", "2020/12/07 21:50:15 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "docker_runtime": "", "worker_port": "5000", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox": "sock", "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry_cache_ms": 5000, "sandbox_config": {}, "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "storage": { "scratch": "", "code": "", "root": "private" }, "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false }, "trace": { "package": false, "memory": false, "evictor": false, "cgroups": false }, "registry": "/root/open-lambda/test-registry" }, "seconds": 5.884916305541992, "total_seconds": 6.123725652694702, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 92, "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": 139, "Create()/make-root-fs.cnt": 11, "Create()/make-root-fs.ms-avg": 1, "Destroy().cnt": 11, "Destroy().ms-avg": 3, "Destroy()/detach-root.cnt": 11, "Destroy()/detach-root.ms-avg": 0, "Destroy()/kill-procs.cnt": 11, "Destroy()/kill-procs.ms-avg": 2, "Destroy()/remove-root.cnt": 11, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 1463, "Pause().cnt": 8, "Pause().ms-avg": 5, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 44, "Unpause().cnt": 3, "Unpause().ms-avg": 0, "childExit().cnt": 4, "childExit().ms-avg": 0, "fork().cnt": 4, "fork().ms-avg": 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": 910, "web-request.cnt": 4, "web-request.ms-avg": 1463 }, "errors": [], "worker_tail": [ "2020/12/07 21:50:22 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:22 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:22 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:22 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:22 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:22 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:22 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/12/07 21:50:22 remove worker.pid", "2020/12/07 21:50:22 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "docker_runtime": "", "worker_port": "5000", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox": "docker", "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry_cache_ms": 5000, "sandbox_config": {}, "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "storage": { "scratch": "", "code": "", "root": "private" }, "registry": "/root/open-lambda/test-registry", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "trace": { "memory": false, "package": false, "evictor": false, "cgroups": false }, "features": { "import_cache": false, "downsize_paused_mem": true, "reuse_cgroups": false } }, "seconds": 22.794179439544678, "total_seconds": 25.922821760177612, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 1231, "Destroy().cnt": 10, "Destroy().ms-avg": 564, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 5687, "Pause().cnt": 4, "Pause().ms-avg": 560, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 2, "pull-package.cnt": 6, "pull-package.ms-avg": 2330, "web-request.cnt": 4, "web-request.ms-avg": 5687 }, "errors": [], "worker_tail": [ "2020/12/07 21:50:47 Kill function: install3", "2020/12/07 21:50:47 Destroy() [SB 9]", "2020/12/07 21:50:47 Kill function: echo", "2020/12/07 21:50:47 Destroy() [SB 0]", "2020/12/07 21:50:48 Kill function: install", "2020/12/07 21:50:48 Destroy() [SB 6]", "2020/12/07 21:50:48 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/12/07 21:50:48 remove worker.pid", "2020/12/07 21:50:48 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "docker_runtime": "", "worker_port": "5000", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox": "sock", "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry_cache_ms": 5000, "sandbox_config": {}, "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "storage": { "scratch": "", "code": "", "root": "private" }, "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false }, "trace": { "package": false, "memory": false, "evictor": false, "cgroups": false }, "registry": "/root/open-lambda/test-registry" }, "seconds": 0.18609857559204102, "total_seconds": 0.42016029357910156, "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": 182, "Pause().cnt": 2, "Pause().ms-avg": 3, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 13, "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": 8, "web-request.cnt": 1, "web-request.ms-avg": 182 }, "errors": [], "worker_tail": [ "2020/12/07 21:50:48 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:48 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:48 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:48 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:48 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:48 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:48 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/12/07 21:50:48 remove worker.pid", "2020/12/07 21:50:48 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "docker_runtime": "", "worker_port": "5000", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox": "sock", "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry_cache_ms": 5000, "sandbox_config": {}, "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "storage": { "scratch": "", "code": "", "root": "private" }, "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false }, "trace": { "package": false, "memory": false, "evictor": false, "cgroups": false }, "registry": "/root/open-lambda/test-registry" }, "seconds": 0.8695673942565918, "total_seconds": 1.1027436256408691, "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": 134, "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": 865, "Pause().cnt": 2, "Pause().ms-avg": 4, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 705, "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": 2, "web-request.cnt": 1, "web-request.ms-avg": 865 }, "errors": [], "worker_tail": [ "2020/12/07 21:50:49 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:49 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:49 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:49 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:49 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:49 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/12/07 21:50:49 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/12/07 21:50:49 remove worker.pid", "2020/12/07 21:50:49 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "mem_pool_mb": 500, "docker_runtime": "", "worker_port": "5000", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox": "sock", "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "registry_cache_ms": 5000, "sandbox_config": {}, "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "storage": { "scratch": "", "code": "", "root": "private" }, "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false }, "trace": { "package": false, "memory": false, "evictor": false, "cgroups": false }, "registry": "/root/open-lambda/test-registry" }, "seconds": null, "total_seconds": 60.27228808403015, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 153, "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": 228, "Create()/make-root-fs.cnt": 11, "Create()/make-root-fs.ms-avg": 5, "Destroy().cnt": 11, "Destroy().ms-avg": 4, "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": 14966, "Pause().cnt": 8, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 205, "Unpause().cnt": 3, "Unpause().ms-avg": 0, "childExit().cnt": 4, "childExit().ms-avg": 1, "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": 4, "pull-package.cnt": 6, "pull-package.ms-avg": 9801, "web-request.cnt": 4, "web-request.ms-avg": 14967 }, "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: