{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "registry": "/root/open-lambda/test-registry", "import_cache_tree": "", "server_mode": "lambda", "trace": { "evictor": false, "package": false, "cgroups": false, "memory": false }, "worker_port": "5000", "sandbox": "sock", "pip_mirror": "", "registry_cache_ms": 5000, "sandbox_config": {}, "storage": { "scratch": "", "root": "private", "code": "" }, "docker_runtime": "", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker" }, "seconds": 3.002948045730591, "total_seconds": 3.421006441116333, "stats": { "pings_per_sec": 333.00828871710905 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/08/26 21:49:24 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:24 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:24 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:24 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:24 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:24 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:24 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/26 21:49:24 remove worker.pid", "2020/08/26 21:49:24 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "features": { "reuse_cgroups": false, "import_cache": false, "downsize_paused_mem": true }, "registry": "/root/open-lambda/test-registry", "import_cache_tree": "", "server_mode": "lambda", "trace": { "evictor": false, "package": false, "cgroups": false, "memory": false }, "worker_port": "5000", "sandbox": "sock", "pip_mirror": "", "registry_cache_ms": 5000, "sandbox_config": {}, "storage": { "scratch": "", "root": "private", "code": "" }, "docker_runtime": "", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker" }, "seconds": 13.028565645217896, "total_seconds": 13.274365186691284, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 503, "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": 486, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 15, "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": 3242, "Pause().cnt": 4, "Pause().ms-avg": 5, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 204, "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": 1334, "web-request.cnt": 4, "web-request.ms-avg": 3242 }, "errors": [], "worker_tail": [ "2020/08/26 21:49:38 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:38 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:38 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:38 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:38 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:38 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:38 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/26 21:49:38 remove worker.pid", "2020/08/26 21:49:38 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "registry": "/root/open-lambda/test-registry", "trace": { "evictor": false, "package": false, "cgroups": false, "memory": false }, "mem_pool_mb": 500, "worker_port": "5000", "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "pip_mirror": "", "registry_cache_ms": 5000, "sandbox_config": {}, "storage": { "scratch": "", "root": "private", "code": "" }, "docker_runtime": "", "server_mode": "lambda", "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker" }, "seconds": 5.574490547180176, "total_seconds": 5.812051057815552, "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": 7, "Create()/fresh-proc.cnt": 7, "Create()/fresh-proc.ms-avg": 139, "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": 1385, "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": 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": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 860, "web-request.cnt": 4, "web-request.ms-avg": 1385 }, "errors": [], "worker_tail": [ "2020/08/26 21:49:43 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:43 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:43 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:43 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:43 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:43 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:49:43 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/26 21:49:43 remove worker.pid", "2020/08/26 21:49:43 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "features": { "reuse_cgroups": false, "import_cache": false, "downsize_paused_mem": true }, "registry": "/root/open-lambda/test-registry", "import_cache_tree": "", "server_mode": "lambda", "trace": { "evictor": false, "package": false, "cgroups": false, "memory": false }, "worker_port": "5000", "sandbox": "docker", "pip_mirror": "", "registry_cache_ms": 5000, "sandbox_config": {}, "storage": { "scratch": "", "root": "private", "code": "" }, "docker_runtime": "", "mem_pool_mb": 500, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker" }, "seconds": 20.953627109527588, "total_seconds": 21.977501392364502, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 1157, "Destroy().cnt": 10, "Destroy().ms-avg": 332, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 5227, "Pause().cnt": 4, "Pause().ms-avg": 115, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 3, "pull-package.cnt": 6, "pull-package.ms-avg": 2063, "web-request.cnt": 4, "web-request.ms-avg": 5227 }, "errors": [], "worker_tail": [ "2020/08/26 21:50:05 Kill function: install", "2020/08/26 21:50:05 Destroy() [SB 6]", "2020/08/26 21:50:05 Kill function: install2", "2020/08/26 21:50:05 Destroy() [SB 7]", "2020/08/26 21:50:05 Kill function: install3", "2020/08/26 21:50:05 Destroy() [SB 9]", "2020/08/26 21:50:05 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/26 21:50:05 remove worker.pid", "2020/08/26 21:50:05 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "registry": "/root/open-lambda/test-registry", "trace": { "evictor": false, "package": false, "cgroups": false, "memory": false }, "mem_pool_mb": 500, "worker_port": "5000", "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "pip_mirror": "", "registry_cache_ms": 5000, "sandbox_config": {}, "storage": { "scratch": "", "root": "private", "code": "" }, "docker_runtime": "", "server_mode": "lambda", "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker" }, "seconds": 0.18041396141052246, "total_seconds": 0.412003755569458, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 78, "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": 176, "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": 8, "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": 3, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 2, "web-request.cnt": 1, "web-request.ms-avg": 176 }, "errors": [], "worker_tail": [ "2020/08/26 21:50:06 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:50:06 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:50:06 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:50:06 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:50:06 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:50:06 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:50:06 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/26 21:50:06 remove worker.pid", "2020/08/26 21:50:06 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "registry": "/root/open-lambda/test-registry", "trace": { "evictor": false, "package": false, "cgroups": false, "memory": false }, "mem_pool_mb": 500, "worker_port": "5000", "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "pip_mirror": "", "registry_cache_ms": 5000, "sandbox_config": {}, "storage": { "scratch": "", "root": "private", "code": "" }, "docker_runtime": "", "server_mode": "lambda", "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker" }, "seconds": 0.8491318225860596, "total_seconds": 1.0821197032928467, "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": 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": 845, "Pause().cnt": 2, "Pause().ms-avg": 5, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 682, "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": 1, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 2, "web-request.cnt": 1, "web-request.ms-avg": 845 }, "errors": [], "worker_tail": [ "2020/08/26 21:50:07 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:50:07 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:50:07 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:50:07 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:50:07 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:50:07 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/26 21:50:07 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/26 21:50:07 remove worker.pid", "2020/08/26 21:50:07 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "registry": "/root/open-lambda/test-registry", "trace": { "evictor": false, "package": false, "cgroups": false, "memory": false }, "mem_pool_mb": 500, "worker_port": "5000", "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "pip_mirror": "", "registry_cache_ms": 5000, "sandbox_config": {}, "storage": { "scratch": "", "root": "private", "code": "" }, "docker_runtime": "", "server_mode": "lambda", "import_cache_tree": "", "limits": { "procs": 10, "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50 }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker" }, "seconds": null, "total_seconds": 63.695780754089355, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 142, "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": 215, "Create()/make-root-fs.cnt": 11, "Create()/make-root-fs.ms-avg": 3, "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": 15856, "Pause().cnt": 8, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 139, "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": 95, "pull-package.cnt": 6, "pull-package.ms-avg": 10380, "web-request.cnt": 4, "web-request.ms-avg": 15856 }, "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: