{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "pip_mirror": "", "server_mode": "lambda", "docker_runtime": "", "sandbox": "sock", "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false }, "sandbox_config": {}, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "limits": { "procs": 10, "swappiness": 0, "installer_mem_mb": 250, "mem_mb": 50 }, "import_cache_tree": "", "worker_port": "5000", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "trace": { "package": false, "evictor": false, "cgroups": false, "memory": false }, "storage": { "scratch": "", "code": "", "root": "private" } }, "seconds": 2.3045172691345215, "total_seconds": 2.6100308895111084, "stats": { "pings_per_sec": 433.93430706624355 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/09/11 21:48:56 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:48:56 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:48:56 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:48:56 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:48:56 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:48:56 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:48:56 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/11 21:48:56 remove worker.pid", "2020/09/11 21:48:56 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "pip_mirror": "", "server_mode": "lambda", "docker_runtime": "", "sandbox": "sock", "features": { "import_cache": false, "downsize_paused_mem": true, "reuse_cgroups": false }, "sandbox_config": {}, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "limits": { "procs": 10, "swappiness": 0, "installer_mem_mb": 250, "mem_mb": 50 }, "import_cache_tree": "", "worker_port": "5000", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "trace": { "package": false, "evictor": false, "cgroups": false, "memory": false }, "storage": { "scratch": "", "code": "", "root": "private" } }, "seconds": 12.598187923431396, "total_seconds": 12.839481830596924, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 454, "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": 453, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 1, "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": 3139, "Pause().cnt": 4, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 155, "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": 1421, "web-request.cnt": 4, "web-request.ms-avg": 3139 }, "errors": [], "worker_tail": [ "2020/09/11 21:49:08 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:08 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:08 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:08 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:08 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:08 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:08 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/11 21:49:08 remove worker.pid", "2020/09/11 21:49:08 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "pip_mirror": "", "server_mode": "lambda", "docker_runtime": "", "sandbox": "sock", "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false }, "sandbox_config": {}, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "limits": { "procs": 10, "swappiness": 0, "installer_mem_mb": 250, "mem_mb": 50 }, "import_cache_tree": "", "worker_port": "5000", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "trace": { "package": false, "evictor": false, "cgroups": false, "memory": false }, "storage": { "scratch": "", "code": "", "root": "private" } }, "seconds": 6.865702390670776, "total_seconds": 7.099491596221924, "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": 7, "Create()/fresh-proc.cnt": 7, "Create()/fresh-proc.ms-avg": 143, "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": 1708, "Pause().cnt": 8, "Pause().ms-avg": 4, "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": 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": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 1073, "web-request.cnt": 4, "web-request.ms-avg": 1708 }, "errors": [], "worker_tail": [ "2020/09/11 21:49:16 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:16 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:16 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:16 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:16 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:16 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:16 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/11 21:49:16 remove worker.pid", "2020/09/11 21:49:16 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "pip_mirror": "", "server_mode": "lambda", "docker_runtime": "", "sandbox": "docker", "features": { "import_cache": false, "downsize_paused_mem": true, "reuse_cgroups": false }, "sandbox_config": {}, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "limits": { "procs": 10, "swappiness": 0, "installer_mem_mb": 250, "mem_mb": 50 }, "import_cache_tree": "", "worker_port": "5000", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "trace": { "package": false, "evictor": false, "cgroups": false, "memory": false }, "storage": { "scratch": "", "code": "", "root": "private" } }, "seconds": 23.69801354408264, "total_seconds": 25.322462797164917, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 1507, "Destroy().cnt": 10, "Destroy().ms-avg": 438, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 5911, "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": 2107, "web-request.cnt": 4, "web-request.ms-avg": 5911 }, "errors": [], "worker_tail": [ "2020/09/11 21:49:40 Kill function: install", "2020/09/11 21:49:40 Destroy() [SB 6]", "2020/09/11 21:49:40 Kill function: install2", "2020/09/11 21:49:40 Destroy() [SB 7]", "2020/09/11 21:49:40 Kill function: install3", "2020/09/11 21:49:40 Destroy() [SB 9]", "2020/09/11 21:49:41 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/11 21:49:41 remove worker.pid", "2020/09/11 21:49:41 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "pip_mirror": "", "server_mode": "lambda", "docker_runtime": "", "sandbox": "sock", "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false }, "sandbox_config": {}, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "limits": { "procs": 10, "swappiness": 0, "installer_mem_mb": 250, "mem_mb": 50 }, "import_cache_tree": "", "worker_port": "5000", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "trace": { "package": false, "evictor": false, "cgroups": false, "memory": false }, "storage": { "scratch": "", "code": "", "root": "private" } }, "seconds": 0.6016378402709961, "total_seconds": 0.9555249214172363, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 286, "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": 4, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 564, "Create()/make-root-fs.cnt": 2, "Create()/make-root-fs.ms-avg": 2, "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": 597, "Pause().cnt": 2, "Pause().ms-avg": 5, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 12, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 4, "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": 0, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 3, "web-request.cnt": 1, "web-request.ms-avg": 597 }, "errors": [], "worker_tail": [ "2020/09/11 21:49:42 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:42 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:42 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:42 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:42 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:42 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:42 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/11 21:49:42 remove worker.pid", "2020/09/11 21:49:42 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "pip_mirror": "", "server_mode": "lambda", "docker_runtime": "", "sandbox": "sock", "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false }, "sandbox_config": {}, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "limits": { "procs": 10, "swappiness": 0, "installer_mem_mb": 250, "mem_mb": 50 }, "import_cache_tree": "", "worker_port": "5000", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "trace": { "package": false, "evictor": false, "cgroups": false, "memory": false }, "storage": { "scratch": "", "code": "", "root": "private" } }, "seconds": 0.8341851234436035, "total_seconds": 1.0649535655975342, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 81, "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": 147, "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": 830, "Pause().cnt": 2, "Pause().ms-avg": 3, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 658, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 7, "forkRequest.cnt": 1, "forkRequest.ms-avg": 2, "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": 830 }, "errors": [], "worker_tail": [ "2020/09/11 21:49:43 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:43 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:43 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:43 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:43 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:43 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/09/11 21:49:43 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/09/11 21:49:43 remove worker.pid", "2020/09/11 21:49:43 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "pip_mirror": "", "server_mode": "lambda", "docker_runtime": "", "sandbox": "sock", "features": { "import_cache": true, "downsize_paused_mem": true, "reuse_cgroups": false }, "sandbox_config": {}, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500, "limits": { "procs": 10, "swappiness": 0, "installer_mem_mb": 250, "mem_mb": 50 }, "import_cache_tree": "", "worker_port": "5000", "registry_cache_ms": 5000, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "trace": { "package": false, "evictor": false, "cgroups": false, "memory": false }, "storage": { "scratch": "", "code": "", "root": "private" } }, "seconds": null, "total_seconds": 78.5773253440857, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 132, "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": 191, "Create()/make-root-fs.cnt": 11, "Create()/make-root-fs.ms-avg": 7, "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": 19574, "Pause().cnt": 8, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 135, "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": 10, "pull-package.cnt": 6, "pull-package.ms-avg": 12918, "web-request.cnt": 4, "web-request.ms-avg": 19575 }, "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: