{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "worker_port": "5000", "pip_mirror": "", "trace": { "cgroups": false, "memory": false, "package": false, "evictor": false }, "sandbox": "sock", "server_mode": "lambda", "docker_runtime": "", "import_cache_tree": "", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "registry_cache_ms": 5000, "sandbox_config": {}, "storage": { "root": "private", "code": "", "scratch": "" }, "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 2.951218605041504, "total_seconds": 3.3244359493255615, "stats": { "pings_per_sec": 338.8454609107399 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/11/20 21:47:40 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:40 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:40 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:40 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:40 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:40 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:40 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/20 21:47:40 remove worker.pid", "2020/11/20 21:47:40 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "worker_port": "5000", "pip_mirror": "", "trace": { "cgroups": false, "memory": false, "package": false, "evictor": false }, "sandbox": "sock", "server_mode": "lambda", "import_cache_tree": "", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "registry_cache_ms": 5000, "worker_dir": "/root/open-lambda/test-dir/worker", "storage": { "root": "private", "code": "", "scratch": "" }, "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": false }, "registry": "/root/open-lambda/test-registry", "docker_runtime": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 11.219732999801636, "total_seconds": 11.456579208374023, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 271, "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": 269, "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": 2789, "Pause().cnt": 4, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 358, "fresh-cgroup.cnt": 27, "fresh-cgroup.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 15, "pull-package.cnt": 6, "pull-package.ms-avg": 1305, "web-request.cnt": 4, "web-request.ms-avg": 2789 }, "errors": [], "worker_tail": [ "2020/11/20 21:47:52 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:52 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:52 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:52 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:52 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:52 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:52 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/20 21:47:52 remove worker.pid", "2020/11/20 21:47:52 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "pip_mirror": "", "trace": { "cgroups": false, "memory": false, "package": false, "evictor": false }, "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "lambda", "docker_runtime": "", "import_cache_tree": "", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "sandbox_config": {}, "storage": { "root": "private", "code": "", "scratch": "" }, "sandbox": "sock", "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 6.291471719741821, "total_seconds": 6.529062032699585, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 94, "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": 141, "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": 1565, "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": 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": 977, "web-request.cnt": 4, "web-request.ms-avg": 1565 }, "errors": [], "worker_tail": [ "2020/11/20 21:47:58 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:58 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:58 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:58 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:58 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:58 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:47:58 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/20 21:47:58 remove worker.pid", "2020/11/20 21:47:58 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "worker_port": "5000", "pip_mirror": "", "worker_dir": "/root/open-lambda/test-dir/worker", "trace": { "cgroups": false, "memory": false, "package": false, "evictor": false }, "sandbox": "docker", "server_mode": "lambda", "import_cache_tree": "", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "registry_cache_ms": 5000, "docker_runtime": "", "storage": { "root": "private", "code": "", "scratch": "" }, "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": false }, "registry": "/root/open-lambda/test-registry", "sandbox_config": {}, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 18.662395477294922, "total_seconds": 19.688384294509888, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 939, "Destroy().cnt": 10, "Destroy().ms-avg": 399, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 4654, "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": 2148, "web-request.cnt": 4, "web-request.ms-avg": 4654 }, "errors": [], "worker_tail": [ "2020/11/20 21:48:17 Kill function: echo", "2020/11/20 21:48:17 Destroy() [SB 0]", "2020/11/20 21:48:18 Kill function: install", "2020/11/20 21:48:18 Destroy() [SB 6]", "2020/11/20 21:48:18 Kill function: install2", "2020/11/20 21:48:18 Destroy() [SB 7]", "2020/11/20 21:48:18 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/20 21:48:18 remove worker.pid", "2020/11/20 21:48:18 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "pip_mirror": "", "trace": { "cgroups": false, "memory": false, "package": false, "evictor": false }, "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "lambda", "docker_runtime": "", "import_cache_tree": "", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "sandbox_config": {}, "storage": { "root": "private", "code": "", "scratch": "" }, "sandbox": "sock", "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 0.18434906005859375, "total_seconds": 0.41874027252197266, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 80, "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": 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": 180, "Pause().cnt": 2, "Pause().ms-avg": 4, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 12, "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": 3, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 2, "web-request.cnt": 1, "web-request.ms-avg": 180 }, "errors": [], "worker_tail": [ "2020/11/20 21:48:18 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:48:18 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:48:18 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:48:18 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:48:18 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:48:18 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:48:18 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/20 21:48:18 remove worker.pid", "2020/11/20 21:48:18 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "pip_mirror": "", "trace": { "cgroups": false, "memory": false, "package": false, "evictor": false }, "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "lambda", "docker_runtime": "", "import_cache_tree": "", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "registry_cache_ms": 5000, "sandbox_config": {}, "storage": { "root": "private", "code": "", "scratch": "" }, "sandbox": "sock", "registry": "/root/open-lambda/test-registry", "worker_dir": "/root/open-lambda/test-dir/worker", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 0.9249880313873291, "total_seconds": 1.1596078872680664, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 80, "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": 143, "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": 921, "Pause().cnt": 2, "Pause().ms-avg": 3, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 748, "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": 6, "web-request.cnt": 1, "web-request.ms-avg": 921 }, "errors": [], "worker_tail": [ "2020/11/20 21:48:20 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:48:20 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:48:20 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:48:20 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:48:20 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:48:20 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/20 21:48:20 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/20 21:48:20 remove worker.pid", "2020/11/20 21:48:20 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "pip_mirror": "", "trace": { "cgroups": false, "memory": false, "package": false, "evictor": false }, "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "server_mode": "lambda", "import_cache_tree": "", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "worker_port": "5000", "registry_cache_ms": 5000, "worker_dir": "/root/open-lambda/test-dir/worker", "storage": { "root": "private", "code": "", "scratch": "" }, "sandbox": "sock", "registry": "/root/open-lambda/test-registry", "docker_runtime": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": null, "total_seconds": 59.75573968887329, "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": 7, "Create()/fresh-proc.cnt": 7, "Create()/fresh-proc.ms-avg": 156, "Create()/make-root-fs.cnt": 11, "Create()/make-root-fs.ms-avg": 23, "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": 14865, "Pause().cnt": 8, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 134, "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": 7, "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": 8, "pull-package.cnt": 6, "pull-package.ms-avg": 9779, "web-request.cnt": 4, "web-request.ms-avg": 14866 }, "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: