{ "runs": [ { "test": "ping_test", "params": {}, "pass": true, "conf": { "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "server_mode": "lambda", "trace": { "cgroups": false, "evictor": false, "memory": false, "package": false }, "registry_cache_ms": 5000, "import_cache_tree": "", "worker_port": "5000", "limits": { "mem_mb": 50, "procs": 10, "installer_mem_mb": 250, "swappiness": 0 }, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox_config": {}, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "storage": { "root": "private", "code": "", "scratch": "" }, "registry": "/root/open-lambda/test-registry", "mem_pool_mb": 500, "docker_runtime": "" }, "seconds": 2.233308792114258, "total_seconds": 2.4975082874298096, "stats": { "pings_per_sec": 447.77008192402917 }, "ol-stats": { "fresh-cgroup.cnt": 17, "fresh-cgroup.ms-avg": 0 }, "errors": [], "worker_tail": [ "2020/10/04 21:45:11 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:11 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:11 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:11 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:11 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:11 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:11 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/04 21:45:11 remove worker.pid", "2020/10/04 21:45:11 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "features": { "import_cache": false, "reuse_cgroups": false, "downsize_paused_mem": true }, "server_mode": "lambda", "trace": { "cgroups": false, "evictor": false, "memory": false, "package": false }, "registry_cache_ms": 5000, "import_cache_tree": "", "worker_port": "5000", "limits": { "mem_mb": 50, "procs": 10, "installer_mem_mb": 250, "swappiness": 0 }, "sandbox": "sock", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox_config": {}, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "storage": { "root": "private", "code": "", "scratch": "" }, "registry": "/root/open-lambda/test-registry", "mem_pool_mb": 500, "docker_runtime": "" }, "seconds": 11.841540813446045, "total_seconds": 12.080206632614136, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 326, "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": 313, "Create()/make-root-fs.cnt": 10, "Create()/make-root-fs.ms-avg": 12, "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": 2951, "Pause().cnt": 4, "Pause().ms-avg": 4, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 99, "fresh-cgroup.cnt": 27, "fresh-cgroup.ms-avg": 0, "pull-lambda.cnt": 4, "pull-lambda.ms-avg": 13, "pull-package.cnt": 6, "pull-package.ms-avg": 1538, "web-request.cnt": 4, "web-request.ms-avg": 2951 }, "errors": [], "worker_tail": [ "2020/10/04 21:45:23 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:23 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:23 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:23 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:23 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:23 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:23 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/04 21:45:23 remove worker.pid", "2020/10/04 21:45:23 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "server_mode": "lambda", "trace": { "memory": false, "evictor": false, "cgroups": false, "package": false }, "registry_cache_ms": 5000, "import_cache_tree": "", "worker_port": "5000", "limits": { "mem_mb": 50, "procs": 10, "installer_mem_mb": 250, "swappiness": 0 }, "sandbox": "sock", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "storage": { "root": "private", "code": "", "scratch": "" }, "sandbox_config": {}, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker", "registry": "/root/open-lambda/test-registry", "mem_pool_mb": 500, "docker_runtime": "" }, "seconds": 5.498226165771484, "total_seconds": 5.733875751495361, "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": 140, "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": 1367, "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": 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": 848, "web-request.cnt": 4, "web-request.ms-avg": 1367 }, "errors": [], "worker_tail": [ "2020/10/04 21:45:29 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:29 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:29 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:29 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:29 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:29 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:29 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/04 21:45:29 remove worker.pid", "2020/10/04 21:45:29 exiting", "" ] }, { "test": "install_tests", "params": {}, "pass": true, "conf": { "features": { "import_cache": false, "reuse_cgroups": false, "downsize_paused_mem": true }, "server_mode": "lambda", "trace": { "cgroups": false, "evictor": false, "memory": false, "package": false }, "registry_cache_ms": 5000, "import_cache_tree": "", "worker_port": "5000", "limits": { "mem_mb": 50, "procs": 10, "installer_mem_mb": 250, "swappiness": 0 }, "sandbox": "docker", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "worker_dir": "/root/open-lambda/test-dir/worker", "sandbox_config": {}, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "pip_mirror": "", "storage": { "root": "private", "code": "", "scratch": "" }, "registry": "/root/open-lambda/test-registry", "mem_pool_mb": 500, "docker_runtime": "" }, "seconds": 15.099097490310669, "total_seconds": 16.122354745864868, "stats": null, "ol-stats": { "Channel().cnt": 10, "Channel().ms-avg": 0, "Create().cnt": 10, "Create().ms-avg": 788, "Destroy().cnt": 10, "Destroy().ms-avg": 244, "LambdaFunc.Invoke.cnt": 4, "LambdaFunc.Invoke.ms-avg": 3762, "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": 1705, "web-request.cnt": 4, "web-request.ms-avg": 3762 }, "errors": [], "worker_tail": [ "2020/10/04 21:45:44 Kill function: install", "2020/10/04 21:45:44 Destroy() [SB 6]", "2020/10/04 21:45:44 Kill function: install2", "2020/10/04 21:45:44 Destroy() [SB 7]", "2020/10/04 21:45:45 Kill function: install3", "2020/10/04 21:45:45 Destroy() [SB 9]", "2020/10/04 21:45:45 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/04 21:45:45 remove worker.pid", "2020/10/04 21:45:45 exiting", "" ] }, { "test": "fork_bomb", "params": {}, "pass": true, "conf": { "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "server_mode": "lambda", "trace": { "memory": false, "evictor": false, "cgroups": false, "package": false }, "registry_cache_ms": 5000, "import_cache_tree": "", "worker_port": "5000", "limits": { "mem_mb": 50, "procs": 10, "installer_mem_mb": 250, "swappiness": 0 }, "sandbox": "sock", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "storage": { "root": "private", "code": "", "scratch": "" }, "sandbox_config": {}, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker", "registry": "/root/open-lambda/test-registry", "mem_pool_mb": 500, "docker_runtime": "" }, "seconds": 0.18451690673828125, "total_seconds": 0.41632676124572754, "stats": null, "ol-stats": { "Channel().cnt": 1, "Channel().ms-avg": 0, "Create().cnt": 2, "Create().ms-avg": 79, "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": 6, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 143, "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": 180, "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": 6, "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": 0, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 2, "web-request.cnt": 1, "web-request.ms-avg": 180 }, "errors": [], "worker_tail": [ "2020/10/04 21:45:45 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:45 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:45 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:45 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:45 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:45 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:45 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/04 21:45:45 remove worker.pid", "2020/10/04 21:45:45 exiting", "" ] }, { "test": "max_mem_alloc", "params": {}, "pass": true, "conf": { "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "server_mode": "lambda", "trace": { "memory": false, "evictor": false, "cgroups": false, "package": false }, "registry_cache_ms": 5000, "import_cache_tree": "", "worker_port": "5000", "limits": { "mem_mb": 50, "procs": 10, "installer_mem_mb": 250, "swappiness": 0 }, "sandbox": "sock", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "storage": { "root": "private", "code": "", "scratch": "" }, "sandbox_config": {}, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker", "registry": "/root/open-lambda/test-registry", "mem_pool_mb": 500, "docker_runtime": "" }, "seconds": 0.812023401260376, "total_seconds": 1.044323205947876, "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": 9, "Create()/fresh-proc.cnt": 1, "Create()/fresh-proc.ms-avg": 136, "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": 808, "Pause().cnt": 2, "Pause().ms-avg": 2, "ServeHTTP.cnt": 1, "ServeHTTP.ms-avg": 648, "childExit().cnt": 1, "childExit().ms-avg": 0, "fork().cnt": 1, "fork().ms-avg": 9, "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": 2, "pull-lambda.cnt": 1, "pull-lambda.ms-avg": 3, "web-request.cnt": 1, "web-request.ms-avg": 808 }, "errors": [], "worker_tail": [ "2020/10/04 21:45:46 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:46 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:46 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:46 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:46 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:46 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]", "2020/10/04 21:45:46 save stats to /root/open-lambda/test-dir/worker/stats.json", "2020/10/04 21:45:46 remove worker.pid", "2020/10/04 21:45:46 exiting", "" ] }, { "test": "numpy_test", "params": {}, "pass": false, "conf": { "features": { "import_cache": true, "reuse_cgroups": false, "downsize_paused_mem": true }, "server_mode": "lambda", "trace": { "memory": false, "evictor": false, "cgroups": false, "package": false }, "registry_cache_ms": 5000, "import_cache_tree": "", "worker_port": "5000", "limits": { "mem_mb": 50, "procs": 10, "installer_mem_mb": 250, "swappiness": 0 }, "sandbox": "sock", "pip_mirror": "", "SOCK_base_path": "/root/open-lambda/test-dir/lambda", "storage": { "root": "private", "code": "", "scratch": "" }, "sandbox_config": {}, "Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages", "worker_dir": "/root/open-lambda/test-dir/worker", "registry": "/root/open-lambda/test-registry", "mem_pool_mb": 500, "docker_runtime": "" }, "seconds": null, "total_seconds": 32.06561279296875, "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": 7, "Create()/fresh-proc.cnt": 7, "Create()/fresh-proc.ms-avg": 147, "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": 7941, "Pause().cnt": 8, "Pause().ms-avg": 3, "ServeHTTP.cnt": 4, "ServeHTTP.ms-avg": 133, "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": 3, "pull-package.cnt": 6, "pull-package.ms-avg": 5165, "web-request.cnt": 4, "web-request.ms-avg": 7941 }, "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: