{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox_config": {}, "pip_mirror": "", "trace": { "cgroups": false, "package": false, "evictor": false, "memory": false }, "limits": { "installer_mem_mb": 250, "procs": 10, "mem_mb": 50, "swappiness": 0 }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry": "/root/open-lambda/test-registry", "import_cache_tree": "", "worker_port": "5000", "registry_cache_ms": 5000, "server_mode": "lambda", "sandbox": "sock", "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false }, "storage": { "code": "", "scratch": "", "root": "private" } }, "seconds": 2.5402235984802246, "total_seconds": 2.6098029613494873, "stats": { "pings_per_sec": 393.67023393899154 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/10/14 21:45:40 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:40 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:40 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:40 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:40 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:40 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:40 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/14 21:45:40 remove worker.pid", "2020/10/14 21:45:40 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox_config": {}, "pip_mirror": "", "trace": { "cgroups": false, "package": false, "evictor": false, "memory": false }, "limits": { "installer_mem_mb": 250, "procs": 10, "mem_mb": 50, "swappiness": 0 }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry": "/root/open-lambda/test-registry", "import_cache_tree": "", "worker_port": "5000", "registry_cache_ms": 5000, "server_mode": "lambda", "sandbox": "sock", "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "features": { "import_cache": false, "downsize_paused_mem": true, "reuse_cgroups": false }, "storage": { "code": "", "scratch": "", "root": "private" } }, "seconds": 12.506408452987671, "total_seconds": 12.749885320663452, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 421, "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": 358, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 62, "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": 3116, "Pause().cnt": 4, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 116, "fresh-cgroup.cnt": 27, "fresh-cgroup.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 3, "pull-package.cnt": 6, "pull-package.ms-avg": 1584, "web-request.cnt": 4, "web-request.ms-avg": 3116 }, "errors": [], "worker_tail": [ "2020/10/14 21:45:52 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:52 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:52 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:52 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:52 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:52 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:52 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/14 21:45:52 remove worker.pid", "2020/10/14 21:45:52 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox_config": {}, "pip_mirror": "", "trace": { "cgroups": false, "package": false, "evictor": false, "memory": false }, "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry": "/root/open-lambda/test-registry", "import_cache_tree": "", "worker_port": "5000", "registry_cache_ms": 5000, "server_mode": "lambda", "sandbox": "sock", "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false }, "storage": { "code": "", "scratch": "", "root": "private" } }, "seconds": 6.122963905334473, "total_seconds": 6.358044862747192, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 93, "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": 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": 1522, "Pause().cnt": 8, "Pause().ms-avg": 4, "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": 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": 950, "web-request.cnt": 4, "web-request.ms-avg": 1522 }, "errors": [], "worker_tail": [ "2020/10/14 21:45:59 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:59 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:59 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:59 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:59 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:59 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:45:59 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/14 21:45:59 remove worker.pid", "2020/10/14 21:45:59 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox_config": {}, "pip_mirror": "", "trace": { "cgroups": false, "package": false, "evictor": false, "memory": false }, "limits": { "installer_mem_mb": 250, "procs": 10, "mem_mb": 50, "swappiness": 0 }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry": "/root/open-lambda/test-registry", "import_cache_tree": "", "worker_port": "5000", "registry_cache_ms": 5000, "server_mode": "lambda", "sandbox": "docker", "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "features": { "import_cache": false, "downsize_paused_mem": true, "reuse_cgroups": false }, "storage": { "code": "", "scratch": "", "root": "private" } }, "seconds": 18.17991018295288, "total_seconds": 19.21004557609558, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 1052, "Destroy().cnt": 10, "Destroy().ms-avg": 345, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 4533, "Pause().cnt": 4, "Pause().ms-avg": 28, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 2, "pull-package.cnt": 6, "pull-package.ms-avg": 1781, "web-request.cnt": 4, "web-request.ms-avg": 4533 }, "errors": [], "worker_tail": [ "2020/10/14 21:46:17 Kill function: install2", "2020/10/14 21:46:17 Destroy() [SB 7]", "2020/10/14 21:46:18 Kill function: install3", "2020/10/14 21:46:18 Destroy() [SB 9]", "2020/10/14 21:46:18 Kill function: echo", "2020/10/14 21:46:18 Destroy() [SB 0]", "2020/10/14 21:46:18 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/14 21:46:18 remove worker.pid", "2020/10/14 21:46:18 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox_config": {}, "pip_mirror": "", "trace": { "cgroups": false, "package": false, "evictor": false, "memory": false }, "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry": "/root/open-lambda/test-registry", "import_cache_tree": "", "worker_port": "5000", "registry_cache_ms": 5000, "server_mode": "lambda", "sandbox": "sock", "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false }, "storage": { "code": "", "scratch": "", "root": "private" } }, "seconds": 0.7118771076202393, "total_seconds": 0.9442892074584961, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 82, "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": 17, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 140, "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": 707, "Pause().cnt": 2, "Pause().ms-avg": 4, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 11, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 17, "forkRequest.cnt": 1, "forkRequest.ms-avg": 16, "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": 523, "web-request.cnt": 1, "web-request.ms-avg": 707 }, "errors": [], "worker_tail": [ "2020/10/14 21:46:19 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:46:19 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:46:19 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:46:19 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:46:19 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:46:19 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:46:19 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/14 21:46:19 remove worker.pid", "2020/10/14 21:46:19 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox_config": {}, "pip_mirror": "", "trace": { "cgroups": false, "package": false, "evictor": false, "memory": false }, "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry": "/root/open-lambda/test-registry", "import_cache_tree": "", "worker_port": "5000", "registry_cache_ms": 5000, "server_mode": "lambda", "sandbox": "sock", "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false }, "storage": { "code": "", "scratch": "", "root": "private" } }, "seconds": 0.839630126953125, "total_seconds": 1.0690956115722656, "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": 835, "Pause().cnt": 2, "Pause().ms-avg": 3, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 674, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 7, "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": 2, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 2, "web-request.cnt": 1, "web-request.ms-avg": 835 }, "errors": [], "worker_tail": [ "2020/10/14 21:46:20 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:46:20 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:46:20 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:46:20 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:46:20 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:46:20 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/14 21:46:20 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/14 21:46:20 remove worker.pid", "2020/10/14 21:46:20 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox_config": {}, "pip_mirror": "", "trace": { "cgroups": false, "package": false, "evictor": false, "memory": false }, "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry": "/root/open-lambda/test-registry", "import_cache_tree": "", "worker_port": "5000", "registry_cache_ms": 5000, "server_mode": "lambda", "sandbox": "sock", "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false }, "storage": { "code": "", "scratch": "", "root": "private" } }, "seconds": null, "total_seconds": 31.742371320724487, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 125, "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": 190, "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": 7859, "Pause().cnt": 8, "Pause().ms-avg": 3, "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": 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": 2, "pull-package.cnt": 6, "pull-package.ms-avg": 5102, "web-request.cnt": 4, "web-request.ms-avg": 7859 }, "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: