{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry_cache_ms": 5000, "sandbox_config": {}, "limits": { "installer_mem_mb": 250, "swappiness": 0, "procs": 10, "mem_mb": 50 }, "storage": { "scratch": "", "root": "private", "code": "" }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker", "registry": "/root/open-lambda/test-registry", "import_cache_tree": "", "sandbox": "sock", "pip_mirror": "", "mem_pool_mb": 500, "trace": { "memory": false, "cgroups": false, "package": false, "evictor": false }, "server_mode": "lambda", "docker_runtime": "", "worker_port": "5000", "features": { "reuse_cgroups": false, "downsize_paused_mem": true, "import_cache": true } }, "seconds": 2.8677172660827637, "total_seconds": 2.9954774379730225, "stats": { "pings_per_sec": 348.7119336886767 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/11/07 21:46:26 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:26 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:26 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:26 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:26 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:26 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:26 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/07 21:46:26 remove worker.pid", "2020/11/07 21:46:26 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry_cache_ms": 5000, "sandbox_config": {}, "limits": { "installer_mem_mb": 250, "swappiness": 0, "procs": 10, "mem_mb": 50 }, "storage": { "scratch": "", "root": "private", "code": "" }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "server_mode": "lambda", "worker_port": "5000", "import_cache_tree": "", "sandbox": "sock", "pip_mirror": "", "mem_pool_mb": 500, "trace": { "memory": false, "cgroups": false, "package": false, "evictor": false }, "worker_dir": "/root/open-lambda/test-dir/worker", "docker_runtime": "", "registry": "/root/open-lambda/test-registry", "features": { "reuse_cgroups": false, "downsize_paused_mem": true, "import_cache": false } }, "seconds": 13.99004602432251, "total_seconds": 14.228545188903809, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 462, "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": 461, "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": 3481, "Pause().cnt": 4, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 163, "fresh-cgroup.cnt": 27, "fresh-cgroup.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 8, "pull-package.cnt": 6, "pull-package.ms-avg": 1577, "web-request.cnt": 4, "web-request.ms-avg": 3481 }, "errors": [], "worker_tail": [ "2020/11/07 21:46:40 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:40 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:40 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:40 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:40 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:40 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:40 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/07 21:46:40 remove worker.pid", "2020/11/07 21:46:40 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "limits": { "installer_mem_mb": 250, "swappiness": 0, "procs": 10, "mem_mb": 50 }, "storage": { "scratch": "", "root": "private", "code": "" }, "features": { "reuse_cgroups": false, "downsize_paused_mem": true, "import_cache": true }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "import_cache_tree": "", "sandbox": "sock", "pip_mirror": "", "mem_pool_mb": 500, "worker_port": "5000", "registry_cache_ms": 5000, "docker_runtime": "", "trace": { "memory": false, "cgroups": false, "package": false, "evictor": false }, "registry": "/root/open-lambda/test-registry" }, "seconds": 7.123779296875, "total_seconds": 7.360701322555542, "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": 7, "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": 1773, "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": 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": 1117, "web-request.cnt": 4, "web-request.ms-avg": 1773 }, "errors": [], "worker_tail": [ "2020/11/07 21:46:47 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:47 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:47 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:47 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:47 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:47 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:46:47 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/07 21:46:47 remove worker.pid", "2020/11/07 21:46:47 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "registry_cache_ms": 5000, "sandbox_config": {}, "limits": { "installer_mem_mb": 250, "swappiness": 0, "procs": 10, "mem_mb": 50 }, "storage": { "scratch": "", "root": "private", "code": "" }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker", "registry": "/root/open-lambda/test-registry", "import_cache_tree": "", "sandbox": "docker", "pip_mirror": "", "mem_pool_mb": 500, "worker_port": "5000", "server_mode": "lambda", "docker_runtime": "", "trace": { "memory": false, "cgroups": false, "package": false, "evictor": false }, "features": { "reuse_cgroups": false, "downsize_paused_mem": true, "import_cache": false } }, "seconds": 19.0166232585907, "total_seconds": 20.943145513534546, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 1023, "Destroy().cnt": 10, "Destroy().ms-avg": 388, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 4742, "Pause().cnt": 4, "Pause().ms-avg": 55, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 1, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 1, "pull-package.cnt": 6, "pull-package.ms-avg": 2224, "web-request.cnt": 4, "web-request.ms-avg": 4742 }, "errors": [], "worker_tail": [ "2020/11/07 21:47:07 Kill function: install", "2020/11/07 21:47:07 Destroy() [SB 6]", "2020/11/07 21:47:07 Kill function: install2", "2020/11/07 21:47:07 Destroy() [SB 7]", "2020/11/07 21:47:08 Kill function: install3", "2020/11/07 21:47:08 Destroy() [SB 9]", "2020/11/07 21:47:08 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/07 21:47:08 remove worker.pid", "2020/11/07 21:47:08 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "limits": { "installer_mem_mb": 250, "swappiness": 0, "procs": 10, "mem_mb": 50 }, "storage": { "scratch": "", "root": "private", "code": "" }, "features": { "reuse_cgroups": false, "downsize_paused_mem": true, "import_cache": true }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "import_cache_tree": "", "sandbox": "sock", "pip_mirror": "", "mem_pool_mb": 500, "worker_port": "5000", "registry_cache_ms": 5000, "docker_runtime": "", "trace": { "memory": false, "cgroups": false, "package": false, "evictor": false }, "registry": "/root/open-lambda/test-registry" }, "seconds": 0.2433938980102539, "total_seconds": 0.47556591033935547, "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": 4, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 176, "Create()/make-root-fs.cnt": 2, "Create()/make-root-fs.ms-avg": 2, "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": 239, "Pause().cnt": 2, "Pause().ms-avg": 5, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 12, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 4, "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": 0, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 33, "web-request.cnt": 1, "web-request.ms-avg": 239 }, "errors": [], "worker_tail": [ "2020/11/07 21:47:09 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:47:09 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:47:09 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:47:09 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:47:09 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:47:09 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:47:09 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/07 21:47:09 remove worker.pid", "2020/11/07 21:47:09 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "sandbox_config": {}, "limits": { "installer_mem_mb": 250, "swappiness": 0, "procs": 10, "mem_mb": 50 }, "storage": { "scratch": "", "root": "private", "code": "" }, "features": { "reuse_cgroups": false, "downsize_paused_mem": true, "import_cache": true }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "server_mode": "lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "import_cache_tree": "", "sandbox": "sock", "pip_mirror": "", "mem_pool_mb": 500, "worker_port": "5000", "registry_cache_ms": 5000, "docker_runtime": "", "trace": { "memory": false, "cgroups": false, "package": false, "evictor": false }, "registry": "/root/open-lambda/test-registry" }, "seconds": 0.8310389518737793, "total_seconds": 1.062988519668579, "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": 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": 827, "Pause().cnt": 2, "Pause().ms-avg": 3, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 657, "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": 2, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 10, "web-request.cnt": 1, "web-request.ms-avg": 827 }, "errors": [], "worker_tail": [ "2020/11/07 21:47:10 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:47:10 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:47:10 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:47:10 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:47:10 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:47:10 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/11/07 21:47:10 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/11/07 21:47:10 remove worker.pid", "2020/11/07 21:47:10 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "docker_runtime": "", "sandbox_config": {}, "limits": { "installer_mem_mb": 250, "swappiness": 0, "procs": 10, "mem_mb": 50 }, "storage": { "scratch": "", "root": "private", "code": "" }, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker", "server_mode": "lambda", "import_cache_tree": "", "sandbox": "sock", "pip_mirror": "", "mem_pool_mb": 500, "worker_port": "5000", "registry_cache_ms": 5000, "registry": "/root/open-lambda/test-registry", "trace": { "memory": false, "cgroups": false, "package": false, "evictor": false }, "features": { "reuse_cgroups": false, "downsize_paused_mem": true, "import_cache": true } }, "seconds": null, "total_seconds": 56.4558219909668, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 11, "Create().ms-avg": 98, "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": 148, "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": 14002, "Pause().cnt": 8, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 470, "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": 8982, "web-request.cnt": 4, "web-request.ms-avg": 14002 }, "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: