{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "registry_cache_ms": 5000, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "swappiness": 0, "mem_mb": 50, "procs": 10, "installer_mem_mb": 250 }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "trace": { "cgroups": false, "memory": false, "package": false, "evictor": false }, "sandbox_config": {}, "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "sandbox": "sock", "docker_runtime": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 2.1943585872650146, "total_seconds": 2.541884183883667, "stats": { "pings_per_sec": 455.7181914318803 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/10/16 21:42:51 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:42:51 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:42:51 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:42:51 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:42:51 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:42:51 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:42:51 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/16 21:42:51 remove worker.pid", "2020/10/16 21:42:51 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "registry_cache_ms": 5000, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "swappiness": 0, "mem_mb": 50, "procs": 10, "installer_mem_mb": 250 }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "trace": { "cgroups": false, "memory": false, "package": false, "evictor": false }, "sandbox_config": {}, "features": { "reuse_cgroups": false, "import_cache": false, "downsize_paused_mem": true }, "sandbox": "sock", "docker_runtime": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 9.258222579956055, "total_seconds": 9.499371767044067, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 288, "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": 286, "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": 1, "Destroy()/remove-root.cnt": 10, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 2303, "Pause().cnt": 4, "Pause().ms-avg": 3, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 144, "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": 1104, "web-request.cnt": 4, "web-request.ms-avg": 2303 }, "errors": [], "worker_tail": [ "2020/10/16 21:43:00 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:00 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:00 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:00 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:00 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:00 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:00 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/16 21:43:00 remove worker.pid", "2020/10/16 21:43:00 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "registry_cache_ms": 5000, "worker_dir": "/root/open-lambda/test-dir/worker", "registry": "/root/open-lambda/test-registry", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "swappiness": 0, "mem_mb": 50, "procs": 10, "installer_mem_mb": 250 }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "pip_mirror": "", "storage": { "code": "", "scratch": "", "root": "private" }, "trace": { "cgroups": false, "memory": false, "package": false, "evictor": false }, "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "sandbox_config": {}, "sandbox": "sock", "docker_runtime": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 5.699818849563599, "total_seconds": 5.940459489822388, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 95, "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": 142, "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": 1417, "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": 878, "web-request.cnt": 4, "web-request.ms-avg": 1417 }, "errors": [], "worker_tail": [ "2020/10/16 21:43:06 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:06 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:06 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:06 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:06 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:06 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:06 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/16 21:43:06 remove worker.pid", "2020/10/16 21:43:06 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "registry_cache_ms": 5000, "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "swappiness": 0, "mem_mb": 50, "procs": 10, "installer_mem_mb": 250 }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "trace": { "cgroups": false, "memory": false, "package": false, "evictor": false }, "sandbox_config": {}, "features": { "reuse_cgroups": false, "import_cache": false, "downsize_paused_mem": true }, "sandbox": "docker", "docker_runtime": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 16.186289310455322, "total_seconds": 17.215526342391968, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 916, "Destroy().cnt": 10, "Destroy().ms-avg": 232, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 4034, "Pause().cnt": 4, "Pause().ms-avg": 29, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 1710, "web-request.cnt": 4, "web-request.ms-avg": 4034 }, "errors": [], "worker_tail": [ "2020/10/16 21:43:23 Kill function: install", "2020/10/16 21:43:23 Destroy() [SB 6]", "2020/10/16 21:43:23 Kill function: install2", "2020/10/16 21:43:23 Destroy() [SB 7]", "2020/10/16 21:43:23 Kill function: install3", "2020/10/16 21:43:23 Destroy() [SB 9]", "2020/10/16 21:43:23 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/16 21:43:23 remove worker.pid", "2020/10/16 21:43:23 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "registry_cache_ms": 5000, "worker_dir": "/root/open-lambda/test-dir/worker", "registry": "/root/open-lambda/test-registry", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "swappiness": 0, "mem_mb": 50, "procs": 10, "installer_mem_mb": 250 }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "pip_mirror": "", "storage": { "code": "", "scratch": "", "root": "private" }, "trace": { "cgroups": false, "memory": false, "package": false, "evictor": false }, "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "sandbox_config": {}, "sandbox": "sock", "docker_runtime": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 0.19339752197265625, "total_seconds": 0.4282042980194092, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 84, "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": 19, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 139, "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": 189, "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": 19, "forkRequest.cnt": 1, "forkRequest.ms-avg": 18, "fresh-cgroup.cnt": 19, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 1, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 2, "web-request.cnt": 1, "web-request.ms-avg": 189 }, "errors": [], "worker_tail": [ "2020/10/16 21:43:24 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:24 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:24 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:24 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:24 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:24 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:24 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/16 21:43:24 remove worker.pid", "2020/10/16 21:43:24 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "registry_cache_ms": 5000, "worker_dir": "/root/open-lambda/test-dir/worker", "registry": "/root/open-lambda/test-registry", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "swappiness": 0, "mem_mb": 50, "procs": 10, "installer_mem_mb": 250 }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "pip_mirror": "", "storage": { "code": "", "scratch": "", "root": "private" }, "trace": { "cgroups": false, "memory": false, "package": false, "evictor": false }, "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "sandbox_config": {}, "sandbox": "sock", "docker_runtime": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 0.8692426681518555, "total_seconds": 1.1039042472839355, "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": 7, "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": 865, "Pause().cnt": 2, "Pause().ms-avg": 4, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 702, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 7, "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": 865 }, "errors": [], "worker_tail": [ "2020/10/16 21:43:25 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:25 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:25 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:25 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:25 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:25 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/16 21:43:25 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/16 21:43:25 remove worker.pid", "2020/10/16 21:43:25 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "registry_cache_ms": 5000, "worker_dir": "/root/open-lambda/test-dir/worker", "registry": "/root/open-lambda/test-registry", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "swappiness": 0, "mem_mb": 50, "procs": 10, "installer_mem_mb": 250 }, "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "pip_mirror": "", "storage": { "code": "", "scratch": "", "root": "private" }, "trace": { "cgroups": false, "memory": false, "package": false, "evictor": false }, "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "sandbox_config": {}, "sandbox": "sock", "docker_runtime": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": null, "total_seconds": 21.294535398483276, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 100, "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": 151, "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": 5251, "Pause().cnt": 8, "Pause().ms-avg": 5, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 125, "Unpause().cnt": 3, "Unpause().ms-avg": 0, "childExit().cnt": 4, "childExit().ms-avg": 0, "fork().cnt": 4, "fork().ms-avg": 7, "forkRequest.cnt": 4, "forkRequest.ms-avg": 5, "fresh-cgroup.cnt": 28, "fresh-cgroup.ms-avg": 0, "move-to-cg-after-fork.cnt": 4, "move-to-cg-after-fork.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 5, "pull-package.cnt": 6, "pull-package.ms-avg": 3366, "web-request.cnt": 4, "web-request.ms-avg": 5251 }, "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: