{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "registry_cache_ms": 5000, "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "docker_runtime": "", "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "sandbox_config": {}, "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker" }, "seconds": 2.2809135913848877, "total_seconds": 2.4771430492401123, "stats": { "pings_per_sec": 438.42480388863186 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/10/17 21:47:19 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:19 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:19 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:19 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:19 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:19 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:19 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/17 21:47:19 remove worker.pid", "2020/10/17 21:47:19 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "features": { "reuse_cgroups": false, "import_cache": false, "downsize_paused_mem": true }, "registry_cache_ms": 5000, "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "docker_runtime": "", "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker" }, "seconds": 9.95142936706543, "total_seconds": 10.189229249954224, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 318, "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": 316, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 2, "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": 2471, "Pause().cnt": 4, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 84, "fresh-cgroup.cnt": 27, "fresh-cgroup.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 39, "pull-package.cnt": 6, "pull-package.ms-avg": 1179, "web-request.cnt": 4, "web-request.ms-avg": 2471 }, "errors": [], "worker_tail": [ "2020/10/17 21:47:30 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:30 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:30 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:30 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:30 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:30 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:30 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/17 21:47:30 remove worker.pid", "2020/10/17 21:47:30 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "docker_runtime": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "registry_cache_ms": 5000, "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox": "sock", "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "sandbox_config": {}, "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500 }, "seconds": 7.1971516609191895, "total_seconds": 7.4350011348724365, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 97, "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": 10, "Create()/fresh-proc.cnt": 7, "Create()/fresh-proc.ms-avg": 144, "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": 1791, "Pause().cnt": 8, "Pause().ms-avg": 3, "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": 10, "forkRequest.cnt": 4, "forkRequest.ms-avg": 9, "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": 1127, "web-request.cnt": 4, "web-request.ms-avg": 1791 }, "errors": [], "worker_tail": [ "2020/10/17 21:47:37 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:37 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:37 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:37 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:37 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:37 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:37 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/17 21:47:37 remove worker.pid", "2020/10/17 21:47:37 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "mem_pool_mb": 500, "sandbox": "docker", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "features": { "reuse_cgroups": false, "import_cache": false, "downsize_paused_mem": true }, "registry_cache_ms": 5000, "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "docker_runtime": "", "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "sandbox_config": {}, "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker" }, "seconds": 19.76047444343567, "total_seconds": 21.486700773239136, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 1055, "Destroy().cnt": 10, "Destroy().ms-avg": 418, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 4929, "Pause().cnt": 4, "Pause().ms-avg": 29, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 2039, "web-request.cnt": 4, "web-request.ms-avg": 4929 }, "errors": [], "worker_tail": [ "2020/10/17 21:47:57 Kill function: install2", "2020/10/17 21:47:57 Destroy() [SB 7]", "2020/10/17 21:47:58 Kill function: install3", "2020/10/17 21:47:58 Destroy() [SB 9]", "2020/10/17 21:47:58 Kill function: echo", "2020/10/17 21:47:58 Destroy() [SB 0]", "2020/10/17 21:47:59 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/17 21:47:59 remove worker.pid", "2020/10/17 21:47:59 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "docker_runtime": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "registry_cache_ms": 5000, "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox": "sock", "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "sandbox_config": {}, "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500 }, "seconds": 0.18189048767089844, "total_seconds": 0.41310596466064453, "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": 7, "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": 178, "Pause().cnt": 2, "Pause().ms-avg": 4, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 11, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 7, "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": 0, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 2, "web-request.cnt": 1, "web-request.ms-avg": 178 }, "errors": [], "worker_tail": [ "2020/10/17 21:47:59 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:59 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:59 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:59 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:59 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:59 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:47:59 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/17 21:47:59 remove worker.pid", "2020/10/17 21:47:59 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "docker_runtime": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_port": "5000", "limits": { "installer_mem_mb": 250, "swappiness": 0, "mem_mb": 50, "procs": 10 }, "registry_cache_ms": 5000, "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox": "sock", "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "sandbox_config": {}, "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500 }, "seconds": 0.8523883819580078, "total_seconds": 1.0894083976745605, "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": 8, "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": 5, "Destroy()/detach-root.cnt": 2, "Destroy()/detach-root.ms-avg": 1, "Destroy()/kill-procs.cnt": 2, "Destroy()/kill-procs.ms-avg": 4, "Destroy()/remove-root.cnt": 2, "Destroy()/remove-root.ms-avg": 0, "LambdaFunc.Invoke.cnt": 1, "LambdaFunc.Invoke.ms-avg": 848, "Pause().cnt": 2, "Pause().ms-avg": 4, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 685, "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": 3, "web-request.cnt": 1, "web-request.ms-avg": 848 }, "errors": [], "worker_tail": [ "2020/10/17 21:48:00 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:48:00 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:48:00 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:48:00 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:48:00 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:48:00 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/17 21:48:00 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/17 21:48:00 remove worker.pid", "2020/10/17 21:48:00 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "docker_runtime": "", "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, "trace": { "cgroups": false, "package": false, "memory": false, "evictor": false }, "import_cache_tree": "", "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "sandbox": "sock", "features": { "reuse_cgroups": false, "import_cache": true, "downsize_paused_mem": true }, "worker_port": "5000", "registry": "/root/open-lambda/test-registry", "storage": { "code": "", "scratch": "", "root": "private" }, "pip_mirror": "", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "mem_pool_mb": 500 }, "seconds": null, "total_seconds": 64.79416751861572, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 105, "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": 154, "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": 16121, "Pause().cnt": 8, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 128, "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": 12, "pull-package.cnt": 6, "pull-package.ms-avg": 10619, "web-request.cnt": 4, "web-request.ms-avg": 16121 }, "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: