{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "sandbox_config": {}, "sandbox": "sock", "pip_mirror": "", "storage": { "code": "", "scratch": "", "root": "private" }, "trace": { "package": false, "memory": false, "cgroups": false, "evictor": false }, "mem_pool_mb": 500, "docker_runtime": "", "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "registry_cache_ms": 5000, "worker_port": "5000", "limits": { "installer_mem_mb": 250, "mem_mb": 50, "procs": 10, "swappiness": 0 }, "registry": "/root/open-lambda/test-registry", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 2.2934253215789795, "total_seconds": 3.0562829971313477, "stats": { "pings_per_sec": 436.0328749532967 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/08/17 21:50:56 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:50:56 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:50:56 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:50:56 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:50:56 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:50:56 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:50:56 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/17 21:50:56 remove worker.pid", "2020/08/17 21:50:56 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "sandbox_config": {}, "sandbox": "sock", "pip_mirror": "", "storage": { "code": "", "scratch": "", "root": "private" }, "docker_runtime": "", "mem_pool_mb": 500, "registry_cache_ms": 5000, "import_cache_tree": "", "worker_port": "5000", "limits": { "installer_mem_mb": 250, "mem_mb": 50, "procs": 10, "swappiness": 0 }, "registry": "/root/open-lambda/test-registry", "trace": { "package": false, "memory": false, "cgroups": false, "evictor": false }, "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": false }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 16.607627153396606, "total_seconds": 17.444676160812378, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 440, "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": 434, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 5, "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": 4135, "Pause().cnt": 4, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 308, "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": 1963, "web-request.cnt": 4, "web-request.ms-avg": 4135 }, "errors": [], "worker_tail": [ "2020/08/17 21:51:13 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:13 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:13 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:13 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:13 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:13 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:13 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/17 21:51:13 remove worker.pid", "2020/08/17 21:51:13 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "sandbox_config": {}, "sandbox": "sock", "pip_mirror": "", "storage": { "code": "", "scratch": "", "root": "private" }, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "registry_cache_ms": 5000, "worker_port": "5000", "limits": { "installer_mem_mb": 250, "mem_mb": 50, "procs": 10, "swappiness": 0 }, "server_mode": "lambda", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "mem_pool_mb": 500, "trace": { "evictor": false, "package": false, "cgroups": false, "memory": false }, "registry": "/root/open-lambda/test-registry" }, "seconds": 9.952577352523804, "total_seconds": 10.189426898956299, "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": 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": 2480, "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": 955, "web-request.cnt": 4, "web-request.ms-avg": 2480 }, "errors": [], "worker_tail": [ "2020/08/17 21:51:24 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:24 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:24 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:24 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:24 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:24 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:24 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/17 21:51:25 remove worker.pid", "2020/08/17 21:51:25 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "sandbox_config": {}, "sandbox": "docker", "pip_mirror": "", "storage": { "code": "", "scratch": "", "root": "private" }, "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": false }, "mem_pool_mb": 500, "docker_runtime": "", "registry_cache_ms": 5000, "worker_port": "5000", "limits": { "installer_mem_mb": 250, "mem_mb": 50, "procs": 10, "swappiness": 0 }, "registry": "/root/open-lambda/test-registry", "trace": { "package": false, "memory": false, "cgroups": false, "evictor": false }, "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages" }, "seconds": 21.331534385681152, "total_seconds": 22.357781648635864, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 1280, "Destroy().cnt": 10, "Destroy().ms-avg": 373, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 5322, "Pause().cnt": 4, "Pause().ms-avg": 31, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 2099, "web-request.cnt": 4, "web-request.ms-avg": 5322 }, "errors": [], "worker_tail": [ "2020/08/17 21:51:46 Kill function: install", "2020/08/17 21:51:46 Destroy() [SB 6]", "2020/08/17 21:51:46 Kill function: install2", "2020/08/17 21:51:46 Destroy() [SB 7]", "2020/08/17 21:51:47 Kill function: install3", "2020/08/17 21:51:47 Destroy() [SB 9]", "2020/08/17 21:51:47 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/17 21:51:47 remove worker.pid", "2020/08/17 21:51:47 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "sandbox_config": {}, "sandbox": "sock", "pip_mirror": "", "storage": { "code": "", "scratch": "", "root": "private" }, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "registry_cache_ms": 5000, "worker_port": "5000", "limits": { "installer_mem_mb": 250, "mem_mb": 50, "procs": 10, "swappiness": 0 }, "server_mode": "lambda", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "mem_pool_mb": 500, "trace": { "evictor": false, "package": false, "cgroups": false, "memory": false }, "registry": "/root/open-lambda/test-registry" }, "seconds": 0.18666315078735352, "total_seconds": 0.4170665740966797, "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": 146, "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": 182, "Pause().cnt": 2, "Pause().ms-avg": 3, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 13, "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": 3, "web-request.cnt": 1, "web-request.ms-avg": 182 }, "errors": [], "worker_tail": [ "2020/08/17 21:51:47 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:47 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:47 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:47 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:47 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:47 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:47 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/17 21:51:47 remove worker.pid", "2020/08/17 21:51:47 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "sandbox_config": {}, "sandbox": "sock", "pip_mirror": "", "storage": { "code": "", "scratch": "", "root": "private" }, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "registry_cache_ms": 5000, "worker_port": "5000", "limits": { "installer_mem_mb": 250, "mem_mb": 50, "procs": 10, "swappiness": 0 }, "server_mode": "lambda", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "mem_pool_mb": 500, "trace": { "evictor": false, "package": false, "cgroups": false, "memory": false }, "registry": "/root/open-lambda/test-registry" }, "seconds": 0.8633084297180176, "total_seconds": 1.0951542854309082, "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": 138, "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": 859, "Pause().cnt": 2, "Pause().ms-avg": 3, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 689, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 7, "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": 2, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 10, "web-request.cnt": 1, "web-request.ms-avg": 859 }, "errors": [], "worker_tail": [ "2020/08/17 21:51:48 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:48 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:48 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:48 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:48 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:48 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/17 21:51:48 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/17 21:51:48 remove worker.pid", "2020/08/17 21:51:48 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "sandbox_config": {}, "sandbox": "sock", "worker_port": "5000", "pip_mirror": "", "storage": { "code": "", "scratch": "", "root": "private" }, "docker_runtime": "", "worker_dir": "/root/open-lambda/test-dir/worker", "registry_cache_ms": 5000, "import_cache_tree": "", "registry": "/root/open-lambda/test-registry", "limits": { "installer_mem_mb": 250, "mem_mb": 50, "procs": 10, "swappiness": 0 }, "server_mode": "lambda", "features": { "downsize_paused_mem": true, "reuse_cgroups": false, "import_cache": true }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "mem_pool_mb": 500, "trace": { "evictor": false, "package": false, "cgroups": false, "memory": false }, "SOCK_base_path": "/root/open-lambda/test-dir/lambda" }, "seconds": null, "total_seconds": 56.16618537902832, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 121, "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": 153, "Create()/make-root-fs.cnt": 11, "Create()/make-root-fs.ms-avg": 20, "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": 13968, "Pause().cnt": 8, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 581, "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": 5, "pull-package.cnt": 6, "pull-package.ms-avg": 8851, "web-request.cnt": 4, "web-request.ms-avg": 13968 }, "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: