{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "worker_port": "5000", "registry_cache_ms": 5000, "docker_runtime": "", "mem_pool_mb": 500, "sandbox": "sock", "registry": "/root/open-lambda/test-registry", "sandbox_config": {}, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "storage": { "code": "", "scratch": "", "root": "private" }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "import_cache_tree": "", "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "trace": { "package": false, "cgroups": false, "memory": false, "evictor": false } }, "seconds": 2.236140251159668, "total_seconds": 2.447326898574829, "stats": { "pings_per_sec": 447.2057689414541 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/08/06 21:43:41 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:41 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:41 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:41 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:41 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:41 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:41 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/06 21:43:41 remove worker.pid", "2020/08/06 21:43:41 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "worker_port": "5000", "registry_cache_ms": 5000, "docker_runtime": "", "mem_pool_mb": 500, "sandbox": "sock", "registry": "/root/open-lambda/test-registry", "sandbox_config": {}, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "storage": { "code": "", "scratch": "", "root": "private" }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "import_cache_tree": "", "features": { "import_cache": false, "reuse_cgroups": false, "downsize_paused_mem": true }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "trace": { "package": false, "cgroups": false, "memory": false, "evictor": false } }, "seconds": 9.768447399139404, "total_seconds": 10.01035737991333, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 272, "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": 270, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 1, "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": 2431, "Pause().cnt": 4, "Pause().ms-avg": 3, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 94, "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": 1242, "web-request.cnt": 4, "web-request.ms-avg": 2431 }, "errors": [], "worker_tail": [ "2020/08/06 21:43:51 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:51 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:51 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:51 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:51 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:51 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:51 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/06 21:43:51 remove worker.pid", "2020/08/06 21:43:51 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "worker_port": "5000", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "sandbox": "sock", "server_mode": "lambda", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "sandbox_config": {}, "trace": { "package": false, "cgroups": false, "memory": false, "evictor": false }, "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "storage": { "code": "", "scratch": "", "root": "private" }, "registry_cache_ms": 5000 }, "seconds": 5.612025499343872, "total_seconds": 5.8533971309661865, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 98, "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": 6, "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": 1395, "Pause().cnt": 8, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 45, "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": 864, "web-request.cnt": 4, "web-request.ms-avg": 1395 }, "errors": [], "worker_tail": [ "2020/08/06 21:43:57 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:57 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:57 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:57 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:57 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:57 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:43:57 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/06 21:43:57 remove worker.pid", "2020/08/06 21:43:57 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "worker_port": "5000", "registry_cache_ms": 5000, "docker_runtime": "", "mem_pool_mb": 500, "sandbox": "docker", "registry": "/root/open-lambda/test-registry", "sandbox_config": {}, "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "storage": { "code": "", "scratch": "", "root": "private" }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "import_cache_tree": "", "features": { "import_cache": false, "reuse_cgroups": false, "downsize_paused_mem": true }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "trace": { "package": false, "cgroups": false, "memory": false, "evictor": false } }, "seconds": 20.057061195373535, "total_seconds": 21.28762125968933, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 993, "Destroy().cnt": 10, "Destroy().ms-avg": 367, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 5003, "Pause().cnt": 4, "Pause().ms-avg": 116, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 2, "pull-package.cnt": 6, "pull-package.ms-avg": 2260, "web-request.cnt": 4, "web-request.ms-avg": 5003 }, "errors": [], "worker_tail": [ "2020/08/06 21:44:18 Kill function: install", "2020/08/06 21:44:18 Destroy() [SB 6]", "2020/08/06 21:44:18 Kill function: install2", "2020/08/06 21:44:18 Destroy() [SB 7]", "2020/08/06 21:44:18 Kill function: install3", "2020/08/06 21:44:18 Destroy() [SB 9]", "2020/08/06 21:44:19 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/06 21:44:19 remove worker.pid", "2020/08/06 21:44:19 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "worker_port": "5000", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "sandbox": "sock", "server_mode": "lambda", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "sandbox_config": {}, "trace": { "package": false, "cgroups": false, "memory": false, "evictor": false }, "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "storage": { "code": "", "scratch": "", "root": "private" }, "registry_cache_ms": 5000 }, "seconds": 0.20171093940734863, "total_seconds": 0.4343557357788086, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 87, "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": 159, "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": 197, "Pause().cnt": 2, "Pause().ms-avg": 4, "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": 2, "web-request.cnt": 1, "web-request.ms-avg": 197 }, "errors": [], "worker_tail": [ "2020/08/06 21:44:19 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:44:19 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:44:19 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:44:19 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:44:19 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:44:19 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:44:19 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/06 21:44:19 remove worker.pid", "2020/08/06 21:44:19 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "worker_port": "5000", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "sandbox": "sock", "server_mode": "lambda", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "sandbox_config": {}, "trace": { "package": false, "cgroups": false, "memory": false, "evictor": false }, "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "storage": { "code": "", "scratch": "", "root": "private" }, "registry_cache_ms": 5000 }, "seconds": 0.8742833137512207, "total_seconds": 1.1072454452514648, "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": 870, "Pause().cnt": 2, "Pause().ms-avg": 4, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 707, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 8, "forkRequest.cnt": 1, "forkRequest.ms-avg": 5, "fresh-cgroup.cnt": 19, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 1, "move-to-cg-after-fork.ms-avg": 2, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 2, "web-request.cnt": 1, "web-request.ms-avg": 870 }, "errors": [], "worker_tail": [ "2020/08/06 21:44:20 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:44:20 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:44:20 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:44:20 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:44:20 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:44:20 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/06 21:44:20 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/06 21:44:20 remove worker.pid", "2020/08/06 21:44:20 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "worker_port": "5000", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "sandbox": "sock", "server_mode": "lambda", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "limits": { "installer_mem_mb": 250, "procs": 10, "swappiness": 0, "mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "sandbox_config": {}, "trace": { "package": false, "cgroups": false, "memory": false, "evictor": false }, "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "storage": { "code": "", "scratch": "", "root": "private" }, "registry_cache_ms": 5000 }, "seconds": null, "total_seconds": 27.70634961128235, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 103, "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": 155, "Create()/make-root-fs.cnt": 11, "Create()/make-root-fs.ms-avg": 1, "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": 6845, "Pause().cnt": 8, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 166, "Unpause().cnt": 3, "Unpause().ms-avg": 0, "childExit().cnt": 4, "childExit().ms-avg": 0, "fork().cnt": 4, "fork().ms-avg": 6, "forkRequest.cnt": 4, "forkRequest.ms-avg": 5, "fresh-cgroup.cnt": 28, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 4, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 5, "pull-package.cnt": 6, "pull-package.ms-avg": 4414, "web-request.cnt": 4, "web-request.ms-avg": 6846 }, "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: