{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "docker_runtime": "", "features": { "reuse_cgroups": false, "downsize_paused_mem": true, "import_cache": true }, "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "mem_pool_mb": 500, "registry_cache_ms": 5000, "sandbox_config": {}, "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "import_cache_tree": "", "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox": "sock" }, "seconds": 2.1798460483551025, "total_seconds": 2.4099700450897217, "stats": { "pings_per_sec": 458.7524085763639 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/11/01 21:46:33 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:33 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:33 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:33 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:33 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:33 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:33 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/01 21:46:33 remove worker.pid", "2020/11/01 21:46:33 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "docker_runtime": "", "features": { "reuse_cgroups": false, "downsize_paused_mem": true, "import_cache": false }, "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "mem_pool_mb": 500, "registry_cache_ms": 5000, "sandbox_config": {}, "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "import_cache_tree": "", "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox": "sock" }, "seconds": 11.214157581329346, "total_seconds": 11.450937509536743, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 412, "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": 278, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 133, "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": 2672, "Pause().cnt": 4, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 159, "fresh-cgroup.cnt": 27, "fresh-cgroup.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 11, "pull-package.cnt": 6, "pull-package.ms-avg": 1125, "web-request.cnt": 4, "web-request.ms-avg": 2672 }, "errors": [], "worker_tail": [ "2020/11/01 21:46:45 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:45 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:45 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:45 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:45 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:45 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:45 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/01 21:46:45 remove worker.pid", "2020/11/01 21:46:45 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "server_mode": "lambda", "features": { "reuse_cgroups": false, "downsize_paused_mem": true, "import_cache": true }, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "worker_port": "5000", "sandbox_config": {}, "sandbox": "sock" }, "seconds": 6.687128782272339, "total_seconds": 6.927483081817627, "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": 137, "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": 1664, "Pause().cnt": 8, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 42, "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": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 1046, "web-request.cnt": 4, "web-request.ms-avg": 1664 }, "errors": [], "worker_tail": [ "2020/11/01 21:46:52 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:52 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:52 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:52 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:52 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:52 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:46:52 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/01 21:46:52 remove worker.pid", "2020/11/01 21:46:52 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "docker_runtime": "", "features": { "reuse_cgroups": false, "downsize_paused_mem": true, "import_cache": false }, "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "mem_pool_mb": 500, "registry_cache_ms": 5000, "sandbox_config": {}, "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "import_cache_tree": "", "worker_port": "5000", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox": "docker" }, "seconds": 16.27303194999695, "total_seconds": 17.19825267791748, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 923, "Destroy().cnt": 10, "Destroy().ms-avg": 240, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 4057, "Pause().cnt": 4, "Pause().ms-avg": 29, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 2, "pull-package.cnt": 6, "pull-package.ms-avg": 1734, "web-request.cnt": 4, "web-request.ms-avg": 4057 }, "errors": [], "worker_tail": [ "2020/11/01 21:47:08 Kill function: echo", "2020/11/01 21:47:08 Destroy() [SB 0]", "2020/11/01 21:47:09 Kill function: install", "2020/11/01 21:47:09 Destroy() [SB 6]", "2020/11/01 21:47:09 Kill function: install2", "2020/11/01 21:47:09 Destroy() [SB 7]", "2020/11/01 21:47:09 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/01 21:47:09 remove worker.pid", "2020/11/01 21:47:09 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "server_mode": "lambda", "features": { "reuse_cgroups": false, "downsize_paused_mem": true, "import_cache": true }, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "worker_port": "5000", "sandbox_config": {}, "sandbox": "sock" }, "seconds": 0.17489933967590332, "total_seconds": 0.4091227054595947, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 76, "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": 136, "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": 171, "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": 0, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 2, "web-request.cnt": 1, "web-request.ms-avg": 171 }, "errors": [], "worker_tail": [ "2020/11/01 21:47:09 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:47:09 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:47:09 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:47:09 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:47:09 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:47:09 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:47:09 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/01 21:47:09 remove worker.pid", "2020/11/01 21:47:09 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "server_mode": "lambda", "features": { "reuse_cgroups": false, "downsize_paused_mem": true, "import_cache": true }, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "worker_port": "5000", "sandbox_config": {}, "sandbox": "sock" }, "seconds": 0.843437671661377, "total_seconds": 1.0759859085083008, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 74, "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": 6, "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": 839, "Pause().cnt": 2, "Pause().ms-avg": 4, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 681, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 6, "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": 0, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 2, "web-request.cnt": 1, "web-request.ms-avg": 839 }, "errors": [], "worker_tail": [ "2020/11/01 21:47:10 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:47:10 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:47:10 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:47:10 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:47:10 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:47:10 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/01 21:47:10 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/01 21:47:10 remove worker.pid", "2020/11/01 21:47:10 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "server_mode": "lambda", "features": { "reuse_cgroups": false, "downsize_paused_mem": true, "import_cache": true }, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "limits": { "procs": 10, "mem_mb": 50, "swappiness": 0, "installer_mem_mb": 250 }, "mem_pool_mb": 500, "import_cache_tree": "", "worker_port": "5000", "sandbox_config": {}, "sandbox": "sock" }, "seconds": null, "total_seconds": 45.480907678604126, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 97, "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": 145, "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": 11208, "Pause().cnt": 8, "Pause().ms-avg": 3, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 157, "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": 3, "pull-package.cnt": 6, "pull-package.ms-avg": 7331, "web-request.cnt": 4, "web-request.ms-avg": 11208 }, "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: