{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "storage": { "scratch": "", "root": "private", "code": "" }, "trace": { "memory": false, "cgroups": false, "package": false, "evictor": false }, "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "limits": { "swappiness": 0, "procs": 10, "mem_mb": 50, "installer_mem_mb": 250 }, "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "pip_mirror": "", "import_cache_tree": "", "server_mode": "lambda", "docker_runtime": "", "sandbox": "sock" }, "seconds": 2.1581554412841797, "total_seconds": 2.4366061687469482, "stats": { "pings_per_sec": 463.36433583900924 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/08/18 21:44:49 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:44:49 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:44:49 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:44:49 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:44:49 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:44:49 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:44:49 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/18 21:44:49 remove worker.pid", "2020/08/18 21:44:49 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "storage": { "scratch": "", "root": "private", "code": "" }, "trace": { "memory": false, "cgroups": false, "package": false, "evictor": false }, "features": { "import_cache": false, "reuse_cgroups": false, "downsize_paused_mem": true }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox_config": {}, "limits": { "swappiness": 0, "procs": 10, "mem_mb": 50, "installer_mem_mb": 250 }, "worker_port": "5000", "pip_mirror": "", "import_cache_tree": "", "server_mode": "lambda", "docker_runtime": "", "sandbox": "sock" }, "seconds": 14.733730554580688, "total_seconds": 14.971134901046753, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 514, "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": 460, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 53, "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": 3522, "Pause().cnt": 4, "Pause().ms-avg": 5, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 71, "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": 1584, "web-request.cnt": 4, "web-request.ms-avg": 3522 }, "errors": [], "worker_tail": [ "2020/08/18 21:45:04 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:04 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:04 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:04 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:04 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:04 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:04 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/18 21:45:04 remove worker.pid", "2020/08/18 21:45:04 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "trace": { "memory": false, "cgroups": false, "package": false, "evictor": false }, "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "import_cache_tree": "", "limits": { "swappiness": 0, "mem_mb": 50, "procs": 10, "installer_mem_mb": 250 }, "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox": "sock" }, "seconds": 5.870839595794678, "total_seconds": 6.10793662071228, "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": 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": 1460, "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": 910, "web-request.cnt": 4, "web-request.ms-avg": 1460 }, "errors": [], "worker_tail": [ "2020/08/18 21:45:10 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:10 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:10 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:10 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:10 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:10 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:10 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/18 21:45:10 remove worker.pid", "2020/08/18 21:45:10 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "storage": { "scratch": "", "root": "private", "code": "" }, "trace": { "memory": false, "cgroups": false, "package": false, "evictor": false }, "features": { "import_cache": false, "reuse_cgroups": false, "downsize_paused_mem": true }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "limits": { "swappiness": 0, "procs": 10, "mem_mb": 50, "installer_mem_mb": 250 }, "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "pip_mirror": "", "import_cache_tree": "", "server_mode": "lambda", "docker_runtime": "", "sandbox": "docker" }, "seconds": 19.870481729507446, "total_seconds": 20.892841339111328, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 1200, "Destroy().cnt": 10, "Destroy().ms-avg": 296, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 4956, "Pause().cnt": 4, "Pause().ms-avg": 26, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 2087, "web-request.cnt": 4, "web-request.ms-avg": 4956 }, "errors": [], "worker_tail": [ "2020/08/18 21:45:30 Kill function: echo", "2020/08/18 21:45:30 Destroy() [SB 0]", "2020/08/18 21:45:30 Kill function: install", "2020/08/18 21:45:30 Destroy() [SB 6]", "2020/08/18 21:45:30 Kill function: install2", "2020/08/18 21:45:30 Destroy() [SB 7]", "2020/08/18 21:45:31 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/18 21:45:31 remove worker.pid", "2020/08/18 21:45:31 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "trace": { "memory": false, "cgroups": false, "package": false, "evictor": false }, "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "import_cache_tree": "", "limits": { "swappiness": 0, "mem_mb": 50, "procs": 10, "installer_mem_mb": 250 }, "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox": "sock" }, "seconds": 0.2082996368408203, "total_seconds": 0.43967151641845703, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 92, "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": 169, "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": 204, "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": 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": 204 }, "errors": [], "worker_tail": [ "2020/08/18 21:45:31 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:31 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:31 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:31 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:31 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:31 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:31 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/18 21:45:31 remove worker.pid", "2020/08/18 21:45:31 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "trace": { "memory": false, "cgroups": false, "package": false, "evictor": false }, "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "import_cache_tree": "", "limits": { "swappiness": 0, "mem_mb": 50, "procs": 10, "installer_mem_mb": 250 }, "sandbox_config": {}, "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox": "sock" }, "seconds": 0.8068745136260986, "total_seconds": 1.5179638862609863, "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": 135, "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": 803, "Pause().cnt": 2, "Pause().ms-avg": 3, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 644, "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": 2, "web-request.cnt": 1, "web-request.ms-avg": 803 }, "errors": [], "worker_tail": [ "2020/08/18 21:45:33 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:33 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:33 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:33 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:33 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:33 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/08/18 21:45:33 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/08/18 21:45:33 remove worker.pid", "2020/08/18 21:45:33 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "mem_pool_mb": 500, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "docker_runtime": "", "storage": { "scratch": "", "root": "private", "code": "" }, "trace": { "memory": false, "cgroups": false, "package": false, "evictor": false }, "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "import_cache_tree": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "limits": { "swappiness": 0, "mem_mb": 50, "procs": 10, "installer_mem_mb": 250 }, "worker_port": "5000", "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox": "sock" }, "seconds": null, "total_seconds": 40.75447082519531, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 101, "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": 152, "Create()/make-root-fs.cnt": 11, "Create()/make-root-fs.ms-avg": 1, "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": 10117, "Pause().cnt": 8, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 355, "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": 6, "pull-package.cnt": 6, "pull-package.ms-avg": 6470, "web-request.cnt": 4, "web-request.ms-avg": 10117 }, "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: