python3 -u test.py
RUN ./ol new -p=test-dir
PUSH conf: {'limits': {'installer_mem_mb': 250}}
PUSH conf: {'registry': '/root/open-lambda/test-registry'}
========================================
ping_test
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "ping_test",
"params": {},
"pass": true,
"conf": {
"server_mode": "lambda",
"registry": "/root/open-lambda/test-registry",
"features": {
"reuse_cgroups": false,
"import_cache": true,
"downsize_paused_mem": true
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"docker_runtime": "",
"sandbox_config": {},
"import_cache_tree": "",
"sandbox": "sock",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 2.168452501296997,
"total_seconds": 2.374196767807007,
"stats": {
"pings_per_sec": 461.16256880378876
},
"ol-stats": {
"fresh-cgroup.cnt": 17,
"fresh-cgroup.ms-avg": 0
},
"errors": [],
"worker_tail": [
"2020/07/29 21:44:43 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:44:43 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:44:43 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:44:43 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:44:43 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:44:43 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:44:43 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:44:43 remove worker.pid",
"2020/07/29 21:44:43 exiting",
""
]
}
PUSH conf: {'features': {'import_cache': False}}
========================================
install_tests
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "install_tests",
"params": {},
"pass": true,
"conf": {
"server_mode": "lambda",
"registry": "/root/open-lambda/test-registry",
"features": {
"reuse_cgroups": false,
"import_cache": false,
"downsize_paused_mem": true
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"docker_runtime": "",
"sandbox_config": {},
"import_cache_tree": "",
"sandbox": "sock",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 9.539229393005371,
"total_seconds": 9.77669358253479,
"stats": null,
"ol-stats": {
"Channel().cnt": 10,
"Channel().ms-avg": 0,
"Create().cnt": 10,
"Create().ms-avg": 293,
"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": 292,
"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": 2366,
"Pause().cnt": 4,
"Pause().ms-avg": 4,
"ServeHTTP.cnt": 4,
"ServeHTTP.ms-avg": 69,
"fresh-cgroup.cnt": 27,
"fresh-cgroup.ms-avg": 0,
"pull-lambda.cnt": 4,
"pull-lambda.ms-avg": 5,
"pull-package.cnt": 6,
"pull-package.ms-avg": 1203,
"web-request.cnt": 4,
"web-request.ms-avg": 2366
},
"errors": [],
"worker_tail": [
"2020/07/29 21:44:53 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:44:53 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:44:53 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:44:53 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:44:53 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:44:53 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:44:53 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:44:53 remove worker.pid",
"2020/07/29 21:44:53 exiting",
""
]
}
POP conf: {'features': {'import_cache': False}}
PUSH conf: {'mem_pool_mb': 500}
========================================
install_tests
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "install_tests",
"params": {},
"pass": true,
"conf": {
"server_mode": "lambda",
"registry": "/root/open-lambda/test-registry",
"features": {
"downsize_paused_mem": true,
"import_cache": true,
"reuse_cgroups": false
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"sandbox": "sock",
"sandbox_config": {},
"import_cache_tree": "",
"docker_runtime": "",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 6.921871900558472,
"total_seconds": 7.161979913711548,
"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": 6,
"Create()/fresh-proc.cnt": 7,
"Create()/fresh-proc.ms-avg": 137,
"Create()/make-root-fs.cnt": 11,
"Create()/make-root-fs.ms-avg": 7,
"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": 1722,
"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": 1074,
"web-request.cnt": 4,
"web-request.ms-avg": 1722
},
"errors": [],
"worker_tail": [
"2020/07/29 21:45:00 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:00 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:00 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:00 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:00 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:00 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:00 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:45:00 remove worker.pid",
"2020/07/29 21:45:00 exiting",
""
]
}
POP conf: {'mem_pool_mb': 500}
PUSH conf: {'features': {'import_cache': False}, 'sandbox': 'docker'}
========================================
install_tests
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "install_tests",
"params": {},
"pass": true,
"conf": {
"server_mode": "lambda",
"registry": "/root/open-lambda/test-registry",
"features": {
"reuse_cgroups": false,
"import_cache": false,
"downsize_paused_mem": true
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"docker_runtime": "",
"sandbox_config": {},
"import_cache_tree": "",
"sandbox": "docker",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 17.135997533798218,
"total_seconds": 18.764840602874756,
"stats": null,
"ol-stats": {
"Channel().cnt": 10,
"Channel().ms-avg": 0,
"Create().cnt": 10,
"Create().ms-avg": 1005,
"Destroy().cnt": 10,
"Destroy().ms-avg": 295,
"LambdaFunc.Invoke.cnt": 4,
"LambdaFunc.Invoke.ms-avg": 4272,
"Pause().cnt": 4,
"Pause().ms-avg": 33,
"ServeHTTP.cnt": 4,
"ServeHTTP.ms-avg": 1,
"pull-lambda.cnt": 4,
"pull-lambda.ms-avg": 2,
"pull-package.cnt": 6,
"pull-package.ms-avg": 1773,
"web-request.cnt": 4,
"web-request.ms-avg": 4272
},
"errors": [],
"worker_tail": [
"2020/07/29 21:45:18 Kill function: install3",
"2020/07/29 21:45:18 Destroy() [SB 9]",
"2020/07/29 21:45:18 Kill function: echo",
"2020/07/29 21:45:18 Destroy() [SB 0]",
"2020/07/29 21:45:18 Kill function: install",
"2020/07/29 21:45:18 Destroy() [SB 6]",
"2020/07/29 21:45:19 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:45:19 remove worker.pid",
"2020/07/29 21:45:19 exiting",
""
]
}
POP conf: {'features': {'import_cache': False}, 'sandbox': 'docker'}
========================================
fork_bomb
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "fork_bomb",
"params": {},
"pass": true,
"conf": {
"server_mode": "lambda",
"registry": "/root/open-lambda/test-registry",
"features": {
"downsize_paused_mem": true,
"import_cache": true,
"reuse_cgroups": false
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"sandbox": "sock",
"sandbox_config": {},
"import_cache_tree": "",
"docker_runtime": "",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 0.17830753326416016,
"total_seconds": 0.41049790382385254,
"stats": null,
"ol-stats": {
"Channel().cnt": 1,
"Channel().ms-avg": 0,
"Create().cnt": 2,
"Create().ms-avg": 75,
"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": 5,
"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": 174,
"Pause().cnt": 2,
"Pause().ms-avg": 4,
"ServeHTTP.cnt": 1,
"ServeHTTP.ms-avg": 13,
"childExit().cnt": 1,
"childExit().ms-avg": 0,
"fork().cnt": 1,
"fork().ms-avg": 5,
"forkRequest.cnt": 1,
"forkRequest.ms-avg": 3,
"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": 174
},
"errors": [],
"worker_tail": [
"2020/07/29 21:45:19 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:19 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:19 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:19 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:19 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:19 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:19 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:45:19 remove worker.pid",
"2020/07/29 21:45:19 exiting",
""
]
}
========================================
max_mem_alloc
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "max_mem_alloc",
"params": {},
"pass": true,
"conf": {
"server_mode": "lambda",
"registry": "/root/open-lambda/test-registry",
"features": {
"downsize_paused_mem": true,
"import_cache": true,
"reuse_cgroups": false
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"sandbox": "sock",
"sandbox_config": {},
"import_cache_tree": "",
"docker_runtime": "",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 0.8514852523803711,
"total_seconds": 1.0839247703552246,
"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": 847,
"Pause().cnt": 2,
"Pause().ms-avg": 3,
"ServeHTTP.cnt": 1,
"ServeHTTP.ms-avg": 688,
"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": 2,
"web-request.cnt": 1,
"web-request.ms-avg": 847
},
"errors": [],
"worker_tail": [
"2020/07/29 21:45:20 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:45:20 remove worker.pid",
"2020/07/29 21:45:20 exiting",
""
]
}
PUSH conf: {'mem_pool_mb': 500}
========================================
numpy_test
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "numpy_test",
"params": {},
"pass": false,
"conf": {
"server_mode": "lambda",
"registry": "/root/open-lambda/test-registry",
"features": {
"downsize_paused_mem": true,
"import_cache": true,
"reuse_cgroups": false
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"sandbox": "sock",
"sandbox_config": {},
"import_cache_tree": "",
"docker_runtime": "",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": null,
"total_seconds": 37.042400598526,
"stats": null,
"ol-stats": {
"Channel().cnt": 10,
"Channel().ms-avg": 0,
"Create().cnt": 11,
"Create().ms-avg": 100,
"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": 150,
"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": 9159,
"Pause().cnt": 8,
"Pause().ms-avg": 4,
"ServeHTTP.cnt": 4,
"ServeHTTP.ms-avg": 162,
"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": 1,
"pull-lambda.cnt": 4,
"pull-lambda.ms-avg": 7,
"pull-package.cnt": 6,
"pull-package.ms-avg": 5958,
"web-request.cnt": 4,
"web-request.ms-avg": 9159
},
"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:
500: Internal Server Error500: Internal Server Error",
""
]
],
"worker_tail": [
"using existing OL directory at /root/open-lambda/test-dir",
"2020/07/29 21:45:20 save PID 10298 to file /root/open-lambda/test-dir/worker/worker.pid",
"2020/07/29 21:45:20 Start Lambda Server",
"2020/07/29 21:45:20 Storage dir at /root/open-lambda/test-dir/worker/code",
"2020/07/29 21:45:20 Storage dir at /root/open-lambda/test-dir/worker/scratch",
"2020/07/29 21:45:20 Create SandboxPool",
"2020/07/29 21:45:20 create /sys/fs/cgroup/blkio/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 create /sys/fs/cgroup/cpu/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 create /sys/fs/cgroup/devices/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 create /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 create /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 create /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 create /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 create /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 create /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 Storage dir at /root/open-lambda/test-dir/worker/root-sandboxes",
"2020/07/29 21:45:20 Create DepTracer",
"2020/07/29 21:45:20 Create PackagePuller",
"2020/07/29 21:45:20 Create ImportCache",
"2020/07/29 21:45:20 Import Cache Tree:",
"2020/07/29 21:45:20 0 - ROOT",
"2020/07/29 21:45:20 Create HandlerPuller",
"2020/07/29 21:45:20 Setups Handlers",
"2020/07/29 21:45:20 Execute handler by POSTing to localhost:5000/run/",
"2020/07/29 21:45:20 Get status by sending request to localhost:5000/status",
"2020/07/29 21:45:20 start creating/serving CGs [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:20 Receive request to /pid",
"2020/07/29 21:45:20 Receive request to /run/numpy15",
"2020/07/29 21:45:20 debug: LambdaFunc.Task() runs on goroutine 18 [FUNC numpy15]",
"2020/07/29 21:45:20 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/numpy==1.15'",
"2020/07/29 21:45:20 run pip install numpy==1.15 from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/numpy==1.15 on host",
"2020/07/29 21:45:20 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/numpy==1.15, )=1... [SOCK POOL sandboxes]",
"2020/07/29 21:45:20 use cgroup cg-1 [SOCK 1]",
"sock2.py: started new process with args: sock2.py /host/bootstrap.py 9",
"sock2.py: joined cgroup, close FD 3",
"sock2.py: joined cgroup, close FD 4",
"sock2.py: joined cgroup, close FD 5",
"sock2.py: joined cgroup, close FD 6",
"sock2.py: joined cgroup, close FD 7",
"sock2.py: joined cgroup, close FD 8",
"sock2.py: joined cgroup, close FD 9",
"sock2.py: joined cgroup, close FD 10",
"sock2.py: joined cgroup, close FD 11",
"sock2.py: start web server on fd: 3",
"2020/07/29 21:45:20 ...returns , [SOCK POOL sandboxes]",
"2020/07/29 21:45:20 Channel() [SB 1]",
"Collecting numpy==1.15",
" Downloading numpy-1.15.0-cp36-cp36m-manylinux1_x86_64.whl (13.9 MB)",
"Installing collected packages: numpy",
"Successfully installed numpy-1.15.0",
"pip install returned code 0",
"2020/07/29 21:45:26 Destroy() [SB 1]",
"2020/07/29 21:45:26 CG ref count decremented to 0 [SOCK 1]",
"2020/07/29 21:45:26 waiting for 1 procs in cg-1 to die [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:26 killed PIDs [10312] in CG [SOCK 1]",
"2020/07/29 21:45:26 unmount and remove dirs [SOCK 1]",
"2020/07/29 21:45:26 increase instances to 1 [FUNC numpy15]",
"2020/07/29 21:45:26 Try using Zygote from ",
"2020/07/29 21:45:26 .Create(, false, /root/open-lambda/test-dir/worker/code/1004-import-cache, /root/open-lambda/test-dir/worker/scratch/1005-import-cache, )=2... [SOCK POOL sandboxes]",
"2020/07/29 21:45:26 use cgroup cg-2 [SOCK 2]",
"sock2.py: started new process with args: sock2.py /host/bootstrap.py 9",
"sock2.py: joined cgroup, close FD 3",
"sock2.py: joined cgroup, close FD 4",
"sock2.py: joined cgroup, close FD 5",
"sock2.py: joined cgroup, close FD 6",
"sock2.py: joined cgroup, close FD 7",
"sock2.py: joined cgroup, close FD 8",
"sock2.py: joined cgroup, close FD 9",
"sock2.py: joined cgroup, close FD 10",
"sock2.py: joined cgroup, close FD 11",
"sock2.py: start fork server on fd: 3",
"2020/07/29 21:45:27 ...returns , [SOCK POOL sandboxes]",
"2020/07/29 21:45:27 .Create(, true, /root/open-lambda/test-dir/worker/code/1001-numpy15, /root/open-lambda/test-dir/worker/scratch/1003-numpy15, )=3... [SOCK POOL sandboxes]",
"2020/07/29 21:45:27 use cgroup cg-3 [SOCK 3]",
"2020/07/29 21:45:27 fork(SB 3) [SB 2]",
"2020/07/29 21:45:27 move PID 10327 from CG cg-2 to CG cg-3 [SOCK 2]",
"sock2.py: start web server on fd: 3",
"2020/07/29 21:45:27 ...returns , [SOCK POOL sandboxes]",
"2020/07/29 21:45:27 Pause() [SB 2]",
"2020/07/29 21:45:27 Channel() [SB 3]",
"2020/07/29 21:45:27 Pause() [SB 3]",
"2020/07/29 21:45:27 Receive request to /run/numpy16",
"2020/07/29 21:45:27 debug: LambdaFunc.Task() runs on goroutine 32 [FUNC numpy16]",
"2020/07/29 21:45:27 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/numpy==1.16'",
"2020/07/29 21:45:27 run pip install numpy==1.16 from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/numpy==1.16 on host",
"2020/07/29 21:45:27 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/numpy==1.16, )=4... [SOCK POOL sandboxes]",
"2020/07/29 21:45:27 use cgroup cg-4 [SOCK 4]",
"sock2.py: started new process with args: sock2.py /host/bootstrap.py 9",
"sock2.py: joined cgroup, close FD 3",
"sock2.py: joined cgroup, close FD 4",
"sock2.py: joined cgroup, close FD 5",
"sock2.py: joined cgroup, close FD 6",
"sock2.py: joined cgroup, close FD 7",
"sock2.py: joined cgroup, close FD 8",
"sock2.py: joined cgroup, close FD 9",
"sock2.py: joined cgroup, close FD 10",
"sock2.py: joined cgroup, close FD 11",
"sock2.py: start web server on fd: 3",
"2020/07/29 21:45:27 ...returns , [SOCK POOL sandboxes]",
"2020/07/29 21:45:27 Channel() [SB 4]",
"Collecting numpy==1.16",
" Downloading numpy-1.16.0-cp36-cp36m-manylinux1_x86_64.whl (17.3 MB)",
"Installing collected packages: numpy",
"Successfully installed numpy-1.16.0",
"pip install returned code 0",
"2020/07/29 21:45:42 Destroy() [SB 4]",
"2020/07/29 21:45:42 CG ref count decremented to 0 [SOCK 4]",
"2020/07/29 21:45:42 waiting for 1 procs in cg-4 to die [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:42 killed PIDs [10333] in CG [SOCK 4]",
"2020/07/29 21:45:42 unmount and remove dirs [SOCK 4]",
"2020/07/29 21:45:42 increase instances to 1 [FUNC numpy16]",
"2020/07/29 21:45:42 Try using Zygote from ",
"2020/07/29 21:45:42 Unpause() [SB 2]",
"2020/07/29 21:45:42 .Create(, true, /root/open-lambda/test-dir/worker/code/1008-numpy16, /root/open-lambda/test-dir/worker/scratch/1010-numpy16, )=5... [SOCK POOL sandboxes]",
"2020/07/29 21:45:42 use cgroup cg-5 [SOCK 5]",
"2020/07/29 21:45:42 fork(SB 5) [SB 2]",
"2020/07/29 21:45:42 move PID 10345 from CG cg-2 to CG cg-5 [SOCK 2]",
"2020/07/29 21:45:42 ...returns , [SOCK POOL sandboxes]",
"2020/07/29 21:45:42 Pause() [SB 2]",
"sock2.py: start web server on fd: 3",
"2020/07/29 21:45:42 Channel() [SB 5]",
"2020/07/29 21:45:42 Pause() [SB 5]",
"2020/07/29 21:45:42 Receive request to /run/numpy15",
"2020/07/29 21:45:42 increase instances to 1 [FUNC numpy15]",
"2020/07/29 21:45:42 Try using Zygote from ",
"2020/07/29 21:45:42 Unpause() [SB 2]",
"2020/07/29 21:45:42 .Create(, true, /root/open-lambda/test-dir/worker/code/1012-numpy15, /root/open-lambda/test-dir/worker/scratch/1013-numpy15, )=6... [SOCK POOL sandboxes]",
"2020/07/29 21:45:42 use cgroup cg-6 [SOCK 6]",
"2020/07/29 21:45:42 fork(SB 6) [SB 2]",
"sock2.py: start web server on fd: 3",
"2020/07/29 21:45:42 Destroy() [SB 3]",
"2020/07/29 21:45:42 CG ref count decremented to 0 [SOCK 3]",
"2020/07/29 21:45:42 waiting for 2 procs in cg-3 to die [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:42 move PID 10350 from CG cg-2 to CG cg-6 [SOCK 2]",
"2020/07/29 21:45:42 ...returns , [SOCK POOL sandboxes]",
"2020/07/29 21:45:42 Pause() [SB 2]",
"2020/07/29 21:45:42 killed PIDs [10327 10329] in CG [SOCK 3]",
"2020/07/29 21:45:42 unmount and remove dirs [SOCK 3]",
"2020/07/29 21:45:42 childExit(SB 3) [SB 2]",
"2020/07/29 21:45:42 Channel() [SB 6]",
"2020/07/29 21:45:42 CG ref count decremented to 3 [SOCK 2]",
"2020/07/29 21:45:42 Pause() [SB 6]",
"2020/07/29 21:45:42 Receive request to /run/pandas15",
"2020/07/29 21:45:42 debug: LambdaFunc.Task() runs on goroutine 53 [FUNC pandas15]",
"2020/07/29 21:45:42 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/pandas'",
"2020/07/29 21:45:42 run pip install pandas from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/pandas on host",
"2020/07/29 21:45:42 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/pandas, )=7... [SOCK POOL sandboxes]",
"2020/07/29 21:45:42 use cgroup cg-7 [SOCK 7]",
"sock2.py: started new process with args: sock2.py /host/bootstrap.py 9",
"sock2.py: joined cgroup, close FD 3",
"sock2.py: joined cgroup, close FD 4",
"sock2.py: joined cgroup, close FD 5",
"sock2.py: joined cgroup, close FD 6",
"sock2.py: joined cgroup, close FD 7",
"sock2.py: joined cgroup, close FD 8",
"sock2.py: joined cgroup, close FD 9",
"sock2.py: joined cgroup, close FD 10",
"sock2.py: joined cgroup, close FD 11",
"sock2.py: start web server on fd: 3",
"2020/07/29 21:45:43 ...returns , [SOCK POOL sandboxes]",
"2020/07/29 21:45:43 Channel() [SB 7]",
"Collecting pandas",
" Downloading pandas-1.1.0-cp36-cp36m-manylinux1_x86_64.whl (10.5 MB)",
"Installing collected packages: pandas",
"Successfully installed pandas-1.1.0",
"pip install returned code 0",
"2020/07/29 21:45:54 Destroy() [SB 7]",
"2020/07/29 21:45:54 CG ref count decremented to 0 [SOCK 7]",
"2020/07/29 21:45:54 waiting for 1 procs in cg-7 to die [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:54 killed PIDs [10357] in CG [SOCK 7]",
"2020/07/29 21:45:54 unmount and remove dirs [SOCK 7]",
"2020/07/29 21:45:54 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/python-dateutil'",
"2020/07/29 21:45:54 run pip install python-dateutil from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/python-dateutil on host",
"2020/07/29 21:45:54 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/python-dateutil, )=8... [SOCK POOL sandboxes]",
"2020/07/29 21:45:54 use cgroup cg-8 [SOCK 8]",
"sock2.py: started new process with args: sock2.py /host/bootstrap.py 9",
"sock2.py: joined cgroup, close FD 3",
"sock2.py: joined cgroup, close FD 4",
"sock2.py: joined cgroup, close FD 5",
"sock2.py: joined cgroup, close FD 6",
"sock2.py: joined cgroup, close FD 7",
"sock2.py: joined cgroup, close FD 8",
"sock2.py: joined cgroup, close FD 9",
"sock2.py: joined cgroup, close FD 10",
"sock2.py: joined cgroup, close FD 11",
"sock2.py: start web server on fd: 3",
"2020/07/29 21:45:54 ...returns , [SOCK POOL sandboxes]",
"2020/07/29 21:45:54 Channel() [SB 8]",
"Collecting python-dateutil",
" Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)",
"Installing collected packages: python-dateutil",
"Successfully installed python-dateutil-2.8.1",
"pip install returned code 0",
"2020/07/29 21:45:55 Destroy() [SB 8]",
"2020/07/29 21:45:55 CG ref count decremented to 0 [SOCK 8]",
"2020/07/29 21:45:55 waiting for 1 procs in cg-8 to die [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:55 killed PIDs [10370] in CG [SOCK 8]",
"2020/07/29 21:45:55 unmount and remove dirs [SOCK 8]",
"2020/07/29 21:45:55 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/pytz'",
"2020/07/29 21:45:55 run pip install pytz from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/pytz on host",
"2020/07/29 21:45:55 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/pytz, )=9... [SOCK POOL sandboxes]",
"2020/07/29 21:45:55 use cgroup cg-9 [SOCK 9]",
"sock2.py: started new process with args: sock2.py /host/bootstrap.py 9",
"sock2.py: joined cgroup, close FD 3",
"sock2.py: joined cgroup, close FD 4",
"sock2.py: joined cgroup, close FD 5",
"sock2.py: joined cgroup, close FD 6",
"sock2.py: joined cgroup, close FD 7",
"sock2.py: joined cgroup, close FD 8",
"sock2.py: joined cgroup, close FD 9",
"sock2.py: joined cgroup, close FD 10",
"sock2.py: joined cgroup, close FD 11",
"sock2.py: start web server on fd: 3",
"2020/07/29 21:45:55 ...returns , [SOCK POOL sandboxes]",
"2020/07/29 21:45:55 Channel() [SB 9]",
"Collecting pytz",
" Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB)",
"Installing collected packages: pytz",
"Successfully installed pytz-2020.1",
"pip install returned code 0",
"2020/07/29 21:45:56 Destroy() [SB 9]",
"2020/07/29 21:45:56 CG ref count decremented to 0 [SOCK 9]",
"2020/07/29 21:45:56 waiting for 1 procs in cg-9 to die [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:56 killed PIDs [10383] in CG [SOCK 9]",
"2020/07/29 21:45:56 unmount and remove dirs [SOCK 9]",
"2020/07/29 21:45:56 do pip install, using scratchDir='/root/open-lambda/test-dir/lambda/packages/six'",
"2020/07/29 21:45:56 run pip install six from a new Sandbox to /root/open-lambda/test-dir/lambda/packages/six on host",
"2020/07/29 21:45:56 .Create(, true, /root/open-lambda/test-dir/worker/admin-lambdas/pip-install, /root/open-lambda/test-dir/lambda/packages/six, )=10... [SOCK POOL sandboxes]",
"2020/07/29 21:45:56 use cgroup cg-10 [SOCK 10]",
"sock2.py: started new process with args: sock2.py /host/bootstrap.py 9",
"sock2.py: joined cgroup, close FD 3",
"sock2.py: joined cgroup, close FD 4",
"sock2.py: joined cgroup, close FD 5",
"sock2.py: joined cgroup, close FD 6",
"sock2.py: joined cgroup, close FD 7",
"sock2.py: joined cgroup, close FD 8",
"sock2.py: joined cgroup, close FD 9",
"sock2.py: joined cgroup, close FD 10",
"sock2.py: joined cgroup, close FD 11",
"sock2.py: start web server on fd: 3",
"2020/07/29 21:45:56 ...returns , [SOCK POOL sandboxes]",
"2020/07/29 21:45:56 Channel() [SB 10]",
"Collecting six",
" Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)",
"Installing collected packages: six",
"Successfully installed six-1.15.0",
"pip install returned code 0",
"2020/07/29 21:45:57 Destroy() [SB 10]",
"2020/07/29 21:45:57 CG ref count decremented to 0 [SOCK 10]",
"2020/07/29 21:45:57 waiting for 1 procs in cg-10 to die [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:57 killed PIDs [10396] in CG [SOCK 10]",
"2020/07/29 21:45:57 unmount and remove dirs [SOCK 10]",
"2020/07/29 21:45:57 increase instances to 1 [FUNC pandas15]",
"2020/07/29 21:45:57 Try using Zygote from ",
"2020/07/29 21:45:57 Unpause() [SB 2]",
"2020/07/29 21:45:57 .Create(, true, /root/open-lambda/test-dir/worker/code/1015-pandas15, /root/open-lambda/test-dir/worker/scratch/1020-pandas15, )=11... [SOCK POOL sandboxes]",
"2020/07/29 21:45:57 use cgroup cg-11 [SOCK 11]",
"2020/07/29 21:45:57 fork(SB 11) [SB 2]",
"2020/07/29 21:45:57 move PID 10408 from CG cg-2 to CG cg-11 [SOCK 2]",
"2020/07/29 21:45:57 ...returns , [SOCK POOL sandboxes]",
"2020/07/29 21:45:57 Pause() [SB 2]",
"sock2.py: start web server on fd: 3",
"2020/07/29 21:45:57 Channel() [SB 11]",
"ERROR:tornado.application:Uncaught exception POST /run/pandas15 (0.0.0.0)",
"HTTPServerRequest(protocol='http', host='localhost:5000', method='POST', uri='/run/pandas15', version='HTTP/1.1', remote_ip='0.0.0.0', headers={'Host': 'localhost:5000', 'User-Agent': 'python-requests/2.9.1', 'Content-Length': '22', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate', 'X-Forwarded-For': '127.0.0.1'})",
"Traceback (most recent call last):",
" File \"/usr/local/lib/python3.6/dist-packages/tornado/web.py\", line 1510, in _execute",
" result = method(*self.path_args, **self.path_kwargs)",
" File \"sock2.py\", line 32, in post",
" import f",
" File \"/handler/f.py\", line 3, in ",
" import pandas",
" File \"/packages/pandas/files/pandas/__init__.py\", line 22, in ",
" from pandas.compat.numpy import (",
" File \"/packages/pandas/files/pandas/compat/numpy/__init__.py\", line 21, in ",
" \"this version of pandas is incompatible with numpy < 1.15.4\\n\"",
"ImportError: this version of pandas is incompatible with numpy < 1.15.4",
"your numpy version is 1.15.0.",
"Please upgrade numpy to >= 1.15.4 to use this pandas version",
"2020/07/29 21:45:57 Pause() [SB 11]",
"2020/07/29 21:45:57 received kill signal, cleaning up",
"2020/07/29 21:45:57 Kill function: numpy15",
"2020/07/29 21:45:57 Destroy() [SB 6]",
"2020/07/29 21:45:57 CG ref count decremented to 0 [SOCK 6]",
"2020/07/29 21:45:57 killed PIDs [10350 10353] in CG [SOCK 6]",
"2020/07/29 21:45:57 unmount and remove dirs [SOCK 6]",
"2020/07/29 21:45:57 childExit(SB 6) [SB 2]",
"2020/07/29 21:45:57 CG ref count decremented to 3 [SOCK 2]",
"2020/07/29 21:45:57 Kill function: numpy16",
"2020/07/29 21:45:57 Destroy() [SB 5]",
"2020/07/29 21:45:57 CG ref count decremented to 0 [SOCK 5]",
"2020/07/29 21:45:57 killed PIDs [10345 10347] in CG [SOCK 5]",
"2020/07/29 21:45:57 unmount and remove dirs [SOCK 5]",
"2020/07/29 21:45:57 childExit(SB 5) [SB 2]",
"2020/07/29 21:45:57 CG ref count decremented to 2 [SOCK 2]",
"2020/07/29 21:45:57 Kill function: pandas15",
"2020/07/29 21:45:57 Destroy() [SB 11]",
"2020/07/29 21:45:57 CG ref count decremented to 0 [SOCK 11]",
"2020/07/29 21:45:57 killed PIDs [10408 10410] in CG [SOCK 11]",
"2020/07/29 21:45:57 unmount and remove dirs [SOCK 11]",
"2020/07/29 21:45:57 childExit(SB 11) [SB 2]",
"2020/07/29 21:45:57 CG ref count decremented to 1 [SOCK 2]",
"2020/07/29 21:45:57 Import Cache Tree:",
"2020/07/29 21:45:57 4 - ROOT",
"2020/07/29 21:45:57 Destroy() [SB 2]",
"2020/07/29 21:45:57 CG ref count decremented to 0 [SOCK 2]",
"2020/07/29 21:45:57 killed PIDs [10325] in CG [SOCK 2]",
"2020/07/29 21:45:57 unmount and remove dirs [SOCK 2]",
"2020/07/29 21:45:57 make sure all memory is free [SOCK POOL sandboxes]",
"2020/07/29 21:45:57 memory pool emptied [SOCK POOL sandboxes]",
"2020/07/29 21:45:57 received shutdown request [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:57 empty queues and release CGs [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:57 remove /sys/fs/cgroup/blkio/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:57 remove /sys/fs/cgroup/cpu/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:57 remove /sys/fs/cgroup/devices/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:57 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:57 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:57 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:57 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:57 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:57 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:45:57 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:45:57 remove worker.pid",
"2020/07/29 21:45:57 exiting",
""
]
}
POP conf: {'mem_pool_mb': 500}
POP conf: {'registry': '/root/open-lambda/test-registry'}
PUSH conf: {'server_mode': 'sock', 'mem_pool_mb': 500}
========================================
sock_churn {'fork': False, 'seconds': 5, 'baseline': 0, 'procs': 1}
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "sock_churn",
"params": {
"fork": false,
"seconds": 5,
"baseline": 0,
"procs": 1
},
"pass": true,
"conf": {
"server_mode": "sock",
"registry": "/root/open-lambda/test-dir/registry",
"features": {
"downsize_paused_mem": true,
"import_cache": true,
"reuse_cgroups": false
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"sandbox": "sock",
"sandbox_config": {},
"import_cache_tree": "",
"docker_runtime": "",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 5.106015205383301,
"total_seconds": 5.229694843292236,
"stats": {
"sandboxes_per_sec": 6.4
},
"ol-stats": {
"Create().cnt": 32,
"Create().ms-avg": 143,
"Create()/acquire-cgroup.cnt": 32,
"Create()/acquire-cgroup.ms-avg": 0,
"Create()/acquire-mem.cnt": 32,
"Create()/acquire-mem.ms-avg": 0,
"Create()/fresh-proc.cnt": 32,
"Create()/fresh-proc.ms-avg": 136,
"Create()/make-root-fs.cnt": 32,
"Create()/make-root-fs.ms-avg": 6,
"Destroy().cnt": 64,
"Destroy().ms-avg": 1,
"Destroy()/detach-root.cnt": 32,
"Destroy()/detach-root.ms-avg": 1,
"Destroy()/kill-procs.cnt": 32,
"Destroy()/kill-procs.ms-avg": 0,
"Destroy()/remove-root.cnt": 32,
"Destroy()/remove-root.ms-avg": 0,
"fresh-cgroup.cnt": 49,
"fresh-cgroup.ms-avg": 0
},
"errors": [],
"worker_tail": [
"2020/07/29 21:46:02 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:02 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:02 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:02 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:02 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:02 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:02 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:46:02 remove worker.pid",
"2020/07/29 21:46:02 exiting",
""
]
}
========================================
sock_churn {'fork': True, 'seconds': 10, 'baseline': 0, 'procs': 1}
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "sock_churn",
"params": {
"fork": true,
"seconds": 10,
"baseline": 0,
"procs": 1
},
"pass": true,
"conf": {
"server_mode": "sock",
"registry": "/root/open-lambda/test-dir/registry",
"features": {
"downsize_paused_mem": true,
"import_cache": true,
"reuse_cgroups": false
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"sandbox": "sock",
"sandbox_config": {},
"import_cache_tree": "",
"docker_runtime": "",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 10.172601222991943,
"total_seconds": 10.504340410232544,
"stats": {
"sandboxes_per_sec": 44.2
},
"ol-stats": {
"Create().cnt": 443,
"Create().ms-avg": 11,
"Create()/acquire-cgroup.cnt": 443,
"Create()/acquire-cgroup.ms-avg": 0,
"Create()/acquire-mem.cnt": 443,
"Create()/acquire-mem.ms-avg": 0,
"Create()/fork-proc.cnt": 442,
"Create()/fork-proc.ms-avg": 6,
"Create()/fresh-proc.cnt": 1,
"Create()/fresh-proc.ms-avg": 133,
"Create()/make-root-fs.cnt": 443,
"Create()/make-root-fs.ms-avg": 3,
"Destroy().cnt": 885,
"Destroy().ms-avg": 1,
"Destroy()/detach-root.cnt": 443,
"Destroy()/detach-root.ms-avg": 1,
"Destroy()/kill-procs.cnt": 443,
"Destroy()/kill-procs.ms-avg": 0,
"Destroy()/remove-root.cnt": 443,
"Destroy()/remove-root.ms-avg": 0,
"childExit().cnt": 442,
"childExit().ms-avg": 0,
"fork().cnt": 442,
"fork().ms-avg": 6,
"forkRequest.cnt": 442,
"forkRequest.ms-avg": 6,
"fresh-cgroup.cnt": 460,
"fresh-cgroup.ms-avg": 0,
"move-to-cg-after-fork.cnt": 442,
"move-to-cg-after-fork.ms-avg": 0
},
"errors": [],
"worker_tail": [
"2020/07/29 21:46:13 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:13 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:13 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:13 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:13 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:13 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:13 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:46:13 remove worker.pid",
"2020/07/29 21:46:13 exiting",
""
]
}
========================================
sock_churn {'fork': True, 'seconds': 10, 'baseline': 0, 'procs': 15}
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "sock_churn",
"params": {
"fork": true,
"seconds": 10,
"baseline": 0,
"procs": 15
},
"pass": true,
"conf": {
"server_mode": "sock",
"registry": "/root/open-lambda/test-dir/registry",
"features": {
"downsize_paused_mem": true,
"import_cache": true,
"reuse_cgroups": false
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"sandbox": "sock",
"sandbox_config": {},
"import_cache_tree": "",
"docker_runtime": "",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 10.367474794387817,
"total_seconds": 10.594717741012573,
"stats": {
"sandboxes_per_sec": 44.6
},
"ol-stats": {
"Create().cnt": 447,
"Create().ms-avg": 91,
"Create()/acquire-cgroup.cnt": 447,
"Create()/acquire-cgroup.ms-avg": 0,
"Create()/acquire-mem.cnt": 447,
"Create()/acquire-mem.ms-avg": 19,
"Create()/fork-proc.cnt": 446,
"Create()/fork-proc.ms-avg": 67,
"Create()/fresh-proc.cnt": 1,
"Create()/fresh-proc.ms-avg": 135,
"Create()/make-root-fs.cnt": 447,
"Create()/make-root-fs.ms-avg": 2,
"Destroy().cnt": 893,
"Destroy().ms-avg": 52,
"Destroy()/detach-root.cnt": 447,
"Destroy()/detach-root.ms-avg": 0,
"Destroy()/kill-procs.cnt": 447,
"Destroy()/kill-procs.ms-avg": 13,
"Destroy()/remove-root.cnt": 447,
"Destroy()/remove-root.ms-avg": 0,
"childExit().cnt": 446,
"childExit().ms-avg": 63,
"fork().cnt": 446,
"fork().ms-avg": 67,
"forkRequest.cnt": 446,
"forkRequest.ms-avg": 11,
"fresh-cgroup.cnt": 464,
"fresh-cgroup.ms-avg": 4,
"move-to-cg-after-fork.cnt": 446,
"move-to-cg-after-fork.ms-avg": 2
},
"errors": [],
"worker_tail": [
"2020/07/29 21:46:23 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:23 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:23 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:23 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:23 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:23 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:23 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:46:23 remove worker.pid",
"2020/07/29 21:46:23 exiting",
""
]
}
========================================
sock_churn {'fork': True, 'seconds': 10, 'baseline': 32, 'procs': 1}
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "sock_churn",
"params": {
"fork": true,
"seconds": 10,
"baseline": 32,
"procs": 1
},
"pass": true,
"conf": {
"server_mode": "sock",
"registry": "/root/open-lambda/test-dir/registry",
"features": {
"downsize_paused_mem": true,
"import_cache": true,
"reuse_cgroups": false
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"sandbox": "sock",
"sandbox_config": {},
"import_cache_tree": "",
"docker_runtime": "",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 10.838350534439087,
"total_seconds": 11.178130149841309,
"stats": {
"sandboxes_per_sec": 42.8
},
"ol-stats": {
"Create().cnt": 461,
"Create().ms-avg": 7,
"Create()/acquire-cgroup.cnt": 461,
"Create()/acquire-cgroup.ms-avg": 0,
"Create()/acquire-mem.cnt": 461,
"Create()/acquire-mem.ms-avg": 0,
"Create()/fork-proc.cnt": 460,
"Create()/fork-proc.ms-avg": 7,
"Create()/fresh-proc.cnt": 1,
"Create()/fresh-proc.ms-avg": 138,
"Create()/make-root-fs.cnt": 461,
"Create()/make-root-fs.ms-avg": 0,
"Destroy().cnt": 889,
"Destroy().ms-avg": 0,
"Destroy()/detach-root.cnt": 461,
"Destroy()/detach-root.ms-avg": 0,
"Destroy()/kill-procs.cnt": 461,
"Destroy()/kill-procs.ms-avg": 0,
"Destroy()/remove-root.cnt": 461,
"Destroy()/remove-root.ms-avg": 0,
"Pause().cnt": 32,
"Pause().ms-avg": 0,
"childExit().cnt": 460,
"childExit().ms-avg": 0,
"fork().cnt": 460,
"fork().ms-avg": 7,
"forkRequest.cnt": 460,
"forkRequest.ms-avg": 5,
"fresh-cgroup.cnt": 478,
"fresh-cgroup.ms-avg": 0,
"move-to-cg-after-fork.cnt": 460,
"move-to-cg-after-fork.ms-avg": 0
},
"errors": [],
"worker_tail": [
"2020/07/29 21:46:35 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:35 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:35 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:35 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:35 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:35 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:35 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:46:35 remove worker.pid",
"2020/07/29 21:46:35 exiting",
""
]
}
========================================
sock_churn {'fork': True, 'seconds': 10, 'baseline': 32, 'procs': 15}
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "sock_churn",
"params": {
"fork": true,
"seconds": 10,
"baseline": 32,
"procs": 15
},
"pass": true,
"conf": {
"server_mode": "sock",
"registry": "/root/open-lambda/test-dir/registry",
"features": {
"downsize_paused_mem": true,
"import_cache": true,
"reuse_cgroups": false
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"sandbox": "sock",
"sandbox_config": {},
"import_cache_tree": "",
"docker_runtime": "",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 11.072165250778198,
"total_seconds": 11.417827367782593,
"stats": {
"sandboxes_per_sec": 41.3
},
"ol-stats": {
"Create().cnt": 446,
"Create().ms-avg": 128,
"Create()/acquire-cgroup.cnt": 446,
"Create()/acquire-cgroup.ms-avg": 0,
"Create()/acquire-mem.cnt": 446,
"Create()/acquire-mem.ms-avg": 76,
"Create()/fork-proc.cnt": 445,
"Create()/fork-proc.ms-avg": 49,
"Create()/fresh-proc.cnt": 1,
"Create()/fresh-proc.ms-avg": 159,
"Create()/make-root-fs.cnt": 446,
"Create()/make-root-fs.ms-avg": 0,
"Destroy().cnt": 859,
"Destroy().ms-avg": 49,
"Destroy()/detach-root.cnt": 446,
"Destroy()/detach-root.ms-avg": 0,
"Destroy()/kill-procs.cnt": 446,
"Destroy()/kill-procs.ms-avg": 13,
"Destroy()/remove-root.cnt": 446,
"Destroy()/remove-root.ms-avg": 0,
"Pause().cnt": 32,
"Pause().ms-avg": 0,
"childExit().cnt": 445,
"childExit().ms-avg": 54,
"fork().cnt": 445,
"fork().ms-avg": 48,
"forkRequest.cnt": 445,
"forkRequest.ms-avg": 10,
"fresh-cgroup.cnt": 463,
"fresh-cgroup.ms-avg": 3,
"move-to-cg-after-fork.cnt": 445,
"move-to-cg-after-fork.ms-avg": 2
},
"errors": [],
"worker_tail": [
"2020/07/29 21:46:46 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:46 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:46 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:46 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:46 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:46 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:46 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:46:46 remove worker.pid",
"2020/07/29 21:46:46 exiting",
""
]
}
POP conf: {'server_mode': 'sock', 'mem_pool_mb': 500}
PUSH conf: {'registry': '/tmp/tmpkgjy9y7l', 'registry_cache_ms': 3000}
========================================
update_code
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "update_code",
"params": {},
"pass": true,
"conf": {
"server_mode": "lambda",
"registry": "/tmp/tmpkgjy9y7l",
"features": {
"reuse_cgroups": false,
"import_cache": true,
"downsize_paused_mem": true
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"docker_runtime": "",
"sandbox_config": {},
"import_cache_tree": "",
"sandbox": "sock",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 3000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 6.034336090087891,
"total_seconds": 6.274347543716431,
"stats": null,
"ol-stats": {
"Channel().cnt": 3,
"Channel().ms-avg": 0,
"Create().cnt": 4,
"Create().ms-avg": 47,
"Create()/acquire-cgroup.cnt": 4,
"Create()/acquire-cgroup.ms-avg": 0,
"Create()/acquire-mem.cnt": 4,
"Create()/acquire-mem.ms-avg": 0,
"Create()/fork-proc.cnt": 3,
"Create()/fork-proc.ms-avg": 6,
"Create()/fresh-proc.cnt": 1,
"Create()/fresh-proc.ms-avg": 157,
"Create()/make-root-fs.cnt": 4,
"Create()/make-root-fs.ms-avg": 3,
"Destroy().cnt": 4,
"Destroy().ms-avg": 4,
"Destroy()/detach-root.cnt": 4,
"Destroy()/detach-root.ms-avg": 0,
"Destroy()/kill-procs.cnt": 4,
"Destroy()/kill-procs.ms-avg": 2,
"Destroy()/remove-root.cnt": 4,
"Destroy()/remove-root.ms-avg": 0,
"LambdaFunc.Invoke.cnt": 1690,
"LambdaFunc.Invoke.ms-avg": 1,
"Pause().cnt": 1693,
"Pause().ms-avg": 0,
"ServeHTTP.cnt": 1690,
"ServeHTTP.ms-avg": 0,
"Unpause().cnt": 1689,
"Unpause().ms-avg": 0,
"childExit().cnt": 3,
"childExit().ms-avg": 0,
"fork().cnt": 3,
"fork().ms-avg": 6,
"forkRequest.cnt": 3,
"forkRequest.ms-avg": 5,
"fresh-cgroup.cnt": 21,
"fresh-cgroup.ms-avg": 0,
"move-to-cg-after-fork.cnt": 3,
"move-to-cg-after-fork.ms-avg": 0,
"pull-lambda.cnt": 3,
"pull-lambda.ms-avg": 1,
"web-request.cnt": 1690,
"web-request.ms-avg": 1
},
"errors": [],
"worker_tail": [
"2020/07/29 21:46:52 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:52 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:52 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:52 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:52 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:52 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:46:52 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:46:52 remove worker.pid",
"2020/07/29 21:46:52 exiting",
""
]
}
POP conf: {'registry': '/tmp/tmpkgjy9y7l', 'registry_cache_ms': 3000}
PUSH conf: {'registry': '/root/open-lambda/test-registry'}
========================================
stress_one_lambda {'seconds': 15, 'procs': 1}
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "stress_one_lambda",
"params": {
"seconds": 15,
"procs": 1
},
"pass": true,
"conf": {
"server_mode": "lambda",
"registry": "/root/open-lambda/test-registry",
"features": {
"downsize_paused_mem": true,
"import_cache": true,
"reuse_cgroups": false
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"sandbox": "sock",
"sandbox_config": {},
"import_cache_tree": "",
"docker_runtime": "",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 15.044281244277954,
"total_seconds": 15.27421259880066,
"stats": {
"reqs_per_sec": 289.6666666666667
},
"ol-stats": {
"Channel().cnt": 3,
"Channel().ms-avg": 0,
"Create().cnt": 4,
"Create().ms-avg": 43,
"Create()/acquire-cgroup.cnt": 4,
"Create()/acquire-cgroup.ms-avg": 0,
"Create()/acquire-mem.cnt": 4,
"Create()/acquire-mem.ms-avg": 0,
"Create()/fork-proc.cnt": 3,
"Create()/fork-proc.ms-avg": 7,
"Create()/fresh-proc.cnt": 1,
"Create()/fresh-proc.ms-avg": 136,
"Create()/make-root-fs.cnt": 4,
"Create()/make-root-fs.ms-avg": 3,
"Destroy().cnt": 4,
"Destroy().ms-avg": 3,
"Destroy()/detach-root.cnt": 4,
"Destroy()/detach-root.ms-avg": 0,
"Destroy()/kill-procs.cnt": 4,
"Destroy()/kill-procs.ms-avg": 2,
"Destroy()/remove-root.cnt": 4,
"Destroy()/remove-root.ms-avg": 0,
"LambdaFunc.Invoke.cnt": 4345,
"LambdaFunc.Invoke.ms-avg": 1,
"Pause().cnt": 4348,
"Pause().ms-avg": 0,
"ServeHTTP.cnt": 4345,
"ServeHTTP.ms-avg": 0,
"Unpause().cnt": 4344,
"Unpause().ms-avg": 0,
"childExit().cnt": 3,
"childExit().ms-avg": 0,
"fork().cnt": 3,
"fork().ms-avg": 7,
"forkRequest.cnt": 3,
"forkRequest.ms-avg": 6,
"fresh-cgroup.cnt": 21,
"fresh-cgroup.ms-avg": 0,
"move-to-cg-after-fork.cnt": 3,
"move-to-cg-after-fork.ms-avg": 0,
"pull-lambda.cnt": 3,
"pull-lambda.ms-avg": 1,
"web-request.cnt": 4345,
"web-request.ms-avg": 1
},
"errors": [],
"worker_tail": [
"2020/07/29 21:47:08 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:08 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:08 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:08 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:08 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:08 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:08 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:47:08 remove worker.pid",
"2020/07/29 21:47:08 exiting",
""
]
}
========================================
stress_one_lambda {'seconds': 15, 'procs': 2}
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "stress_one_lambda",
"params": {
"seconds": 15,
"procs": 2
},
"pass": true,
"conf": {
"server_mode": "lambda",
"registry": "/root/open-lambda/test-registry",
"features": {
"downsize_paused_mem": true,
"import_cache": true,
"reuse_cgroups": false
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"sandbox": "sock",
"sandbox_config": {},
"import_cache_tree": "",
"docker_runtime": "",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 15.044204235076904,
"total_seconds": 15.273924350738525,
"stats": {
"reqs_per_sec": 291.2
},
"ol-stats": {
"Channel().cnt": 3,
"Channel().ms-avg": 0,
"Create().cnt": 4,
"Create().ms-avg": 43,
"Create()/acquire-cgroup.cnt": 4,
"Create()/acquire-cgroup.ms-avg": 0,
"Create()/acquire-mem.cnt": 4,
"Create()/acquire-mem.ms-avg": 0,
"Create()/fork-proc.cnt": 3,
"Create()/fork-proc.ms-avg": 7,
"Create()/fresh-proc.cnt": 1,
"Create()/fresh-proc.ms-avg": 136,
"Create()/make-root-fs.cnt": 4,
"Create()/make-root-fs.ms-avg": 3,
"Destroy().cnt": 4,
"Destroy().ms-avg": 3,
"Destroy()/detach-root.cnt": 4,
"Destroy()/detach-root.ms-avg": 0,
"Destroy()/kill-procs.cnt": 4,
"Destroy()/kill-procs.ms-avg": 2,
"Destroy()/remove-root.cnt": 4,
"Destroy()/remove-root.ms-avg": 0,
"LambdaFunc.Invoke.cnt": 4368,
"LambdaFunc.Invoke.ms-avg": 1,
"Pause().cnt": 3879,
"Pause().ms-avg": 0,
"ServeHTTP.cnt": 4368,
"ServeHTTP.ms-avg": 0,
"Unpause().cnt": 3875,
"Unpause().ms-avg": 0,
"childExit().cnt": 3,
"childExit().ms-avg": 0,
"fork().cnt": 3,
"fork().ms-avg": 7,
"forkRequest.cnt": 3,
"forkRequest.ms-avg": 6,
"fresh-cgroup.cnt": 21,
"fresh-cgroup.ms-avg": 0,
"move-to-cg-after-fork.cnt": 3,
"move-to-cg-after-fork.ms-avg": 0,
"pull-lambda.cnt": 3,
"pull-lambda.ms-avg": 1,
"web-request.cnt": 4368,
"web-request.ms-avg": 1
},
"errors": [],
"worker_tail": [
"2020/07/29 21:47:23 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:23 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:23 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:23 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:23 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:23 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:23 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:47:23 remove worker.pid",
"2020/07/29 21:47:23 exiting",
""
]
}
========================================
stress_one_lambda {'seconds': 15, 'procs': 8}
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "stress_one_lambda",
"params": {
"seconds": 15,
"procs": 8
},
"pass": true,
"conf": {
"server_mode": "lambda",
"registry": "/root/open-lambda/test-registry",
"features": {
"downsize_paused_mem": true,
"import_cache": true,
"reuse_cgroups": false
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"sandbox": "sock",
"sandbox_config": {},
"import_cache_tree": "",
"docker_runtime": "",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 15.065606594085693,
"total_seconds": 15.294827222824097,
"stats": {
"reqs_per_sec": 267.2
},
"ol-stats": {
"Channel().cnt": 3,
"Channel().ms-avg": 0,
"Create().cnt": 4,
"Create().ms-avg": 45,
"Create()/acquire-cgroup.cnt": 4,
"Create()/acquire-cgroup.ms-avg": 0,
"Create()/acquire-mem.cnt": 4,
"Create()/acquire-mem.ms-avg": 0,
"Create()/fork-proc.cnt": 3,
"Create()/fork-proc.ms-avg": 8,
"Create()/fresh-proc.cnt": 1,
"Create()/fresh-proc.ms-avg": 138,
"Create()/make-root-fs.cnt": 4,
"Create()/make-root-fs.ms-avg": 3,
"Destroy().cnt": 4,
"Destroy().ms-avg": 2,
"Destroy()/detach-root.cnt": 4,
"Destroy()/detach-root.ms-avg": 0,
"Destroy()/kill-procs.cnt": 4,
"Destroy()/kill-procs.ms-avg": 1,
"Destroy()/remove-root.cnt": 4,
"Destroy()/remove-root.ms-avg": 0,
"LambdaFunc.Invoke.cnt": 4008,
"LambdaFunc.Invoke.ms-avg": 2,
"Pause().cnt": 3135,
"Pause().ms-avg": 0,
"ServeHTTP.cnt": 4008,
"ServeHTTP.ms-avg": 0,
"Unpause().cnt": 3131,
"Unpause().ms-avg": 0,
"childExit().cnt": 3,
"childExit().ms-avg": 0,
"fork().cnt": 3,
"fork().ms-avg": 8,
"forkRequest.cnt": 3,
"forkRequest.ms-avg": 7,
"fresh-cgroup.cnt": 21,
"fresh-cgroup.ms-avg": 0,
"move-to-cg-after-fork.cnt": 3,
"move-to-cg-after-fork.ms-avg": 0,
"pull-lambda.cnt": 3,
"pull-lambda.ms-avg": 2,
"web-request.cnt": 4008,
"web-request.ms-avg": 2
},
"errors": [],
"worker_tail": [
"2020/07/29 21:47:38 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:38 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:38 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:38 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:38 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:38 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:38 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:47:38 remove worker.pid",
"2020/07/29 21:47:38 exiting",
""
]
}
POP conf: {'registry': '/root/open-lambda/test-registry'}
PUSH conf: {'features': {'reuse_cgroups': True}}
PUSH conf: {'registry': '/tmp/tmpq2x_2ax4'}
========================================
call_each_once_exec {'lambda_count': 100, 'alloc_mb': 1}
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "call_each_once_exec",
"params": {
"lambda_count": 100,
"alloc_mb": 1
},
"pass": true,
"conf": {
"server_mode": "lambda",
"registry": "/tmp/tmpq2x_2ax4",
"features": {
"reuse_cgroups": true,
"import_cache": true,
"downsize_paused_mem": true
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"docker_runtime": "",
"sandbox_config": {},
"import_cache_tree": "",
"sandbox": "sock",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 2.974687099456787,
"total_seconds": 3.420841693878174,
"stats": {
"reqs_per_sec": 33.618104690283396
},
"ol-stats": {
"Channel().cnt": 100,
"Channel().ms-avg": 0,
"Create().cnt": 101,
"Create().ms-avg": 7,
"Create()/acquire-cgroup.cnt": 101,
"Create()/acquire-cgroup.ms-avg": 0,
"Create()/acquire-mem.cnt": 101,
"Create()/acquire-mem.ms-avg": 0,
"Create()/fork-proc.cnt": 100,
"Create()/fork-proc.ms-avg": 5,
"Create()/fresh-proc.cnt": 1,
"Create()/fresh-proc.ms-avg": 136,
"Create()/make-root-fs.cnt": 101,
"Create()/make-root-fs.ms-avg": 0,
"Destroy().cnt": 155,
"Destroy().ms-avg": 4,
"Destroy()/detach-root.cnt": 101,
"Destroy()/detach-root.ms-avg": 0,
"Destroy()/kill-procs.cnt": 101,
"Destroy()/kill-procs.ms-avg": 3,
"Destroy()/remove-root.cnt": 101,
"Destroy()/remove-root.ms-avg": 0,
"LambdaFunc.Invoke.cnt": 100,
"LambdaFunc.Invoke.ms-avg": 25,
"Pause().cnt": 200,
"Pause().ms-avg": 10,
"ServeHTTP.cnt": 100,
"ServeHTTP.ms-avg": 6,
"Unpause().cnt": 99,
"Unpause().ms-avg": 0,
"childExit().cnt": 100,
"childExit().ms-avg": 3,
"evict.cnt": 54,
"evict.ms-avg": 11,
"fork().cnt": 100,
"fork().ms-avg": 5,
"forkRequest.cnt": 100,
"forkRequest.ms-avg": 4,
"fresh-cgroup.cnt": 68,
"fresh-cgroup.ms-avg": 0,
"move-to-cg-after-fork.cnt": 100,
"move-to-cg-after-fork.ms-avg": 0,
"pull-lambda.cnt": 100,
"pull-lambda.ms-avg": 3,
"web-request.cnt": 100,
"web-request.ms-avg": 26
},
"errors": [],
"worker_tail": [
"2020/07/29 21:47:42 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:42 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:42 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:42 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:42 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:42 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:47:42 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:47:42 remove worker.pid",
"2020/07/29 21:47:42 exiting",
""
]
}
POP conf: {'registry': '/tmp/tmpq2x_2ax4'}
PUSH conf: {'registry': '/tmp/tmpi9b2789_'}
========================================
call_each_once_exec {'lambda_count': 1000, 'alloc_mb': 10}
========================================
RUN ./ol worker -p=test-dir --detach
RUN ./ol kill -p=test-dir
{
"test": "call_each_once_exec",
"params": {
"lambda_count": 1000,
"alloc_mb": 10
},
"pass": true,
"conf": {
"server_mode": "lambda",
"registry": "/tmp/tmpi9b2789_",
"features": {
"downsize_paused_mem": true,
"import_cache": true,
"reuse_cgroups": true
},
"mem_pool_mb": 500,
"storage": {
"code": "",
"root": "private",
"scratch": ""
},
"Pkgs_dir": "/root/open-lambda/test-dir/lambda/packages",
"sandbox": "sock",
"sandbox_config": {},
"import_cache_tree": "",
"docker_runtime": "",
"trace": {
"memory": false,
"package": false,
"cgroups": false,
"evictor": false
},
"SOCK_base_path": "/root/open-lambda/test-dir/lambda",
"limits": {
"swappiness": 0,
"installer_mem_mb": 250,
"mem_mb": 50,
"procs": 10
},
"pip_mirror": "",
"registry_cache_ms": 5000,
"worker_port": "5000",
"worker_dir": "/root/open-lambda/test-dir/worker"
},
"seconds": 44.09171485900879,
"total_seconds": 44.63311147689819,
"stats": {
"reqs_per_sec": 22.680018616598915
},
"ol-stats": {
"Channel().cnt": 1000,
"Channel().ms-avg": 0,
"Create().cnt": 1001,
"Create().ms-avg": 8,
"Create()/acquire-cgroup.cnt": 1001,
"Create()/acquire-cgroup.ms-avg": 0,
"Create()/acquire-mem.cnt": 1001,
"Create()/acquire-mem.ms-avg": 0,
"Create()/fork-proc.cnt": 1000,
"Create()/fork-proc.ms-avg": 6,
"Create()/fresh-proc.cnt": 1,
"Create()/fresh-proc.ms-avg": 141,
"Create()/make-root-fs.cnt": 1001,
"Create()/make-root-fs.ms-avg": 1,
"Destroy().cnt": 1981,
"Destroy().ms-avg": 5,
"Destroy()/detach-root.cnt": 1001,
"Destroy()/detach-root.ms-avg": 0,
"Destroy()/kill-procs.cnt": 1001,
"Destroy()/kill-procs.ms-avg": 6,
"Destroy()/remove-root.cnt": 1001,
"Destroy()/remove-root.ms-avg": 0,
"LambdaFunc.Invoke.cnt": 1000,
"LambdaFunc.Invoke.ms-avg": 40,
"Pause().cnt": 2000,
"Pause().ms-avg": 9,
"ServeHTTP.cnt": 1000,
"ServeHTTP.ms-avg": 19,
"Unpause().cnt": 999,
"Unpause().ms-avg": 0,
"childExit().cnt": 1000,
"childExit().ms-avg": 3,
"evict.cnt": 980,
"evict.ms-avg": 11,
"fork().cnt": 1000,
"fork().ms-avg": 6,
"forkRequest.cnt": 1000,
"forkRequest.ms-avg": 5,
"fresh-cgroup.cnt": 41,
"fresh-cgroup.ms-avg": 0,
"move-to-cg-after-fork.cnt": 1000,
"move-to-cg-after-fork.ms-avg": 0,
"pull-lambda.cnt": 1000,
"pull-lambda.ms-avg": 2,
"web-request.cnt": 1000,
"web-request.ms-avg": 40
},
"errors": [],
"worker_tail": [
"2020/07/29 21:48:26 remove /sys/fs/cgroup/freezer/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:48:26 remove /sys/fs/cgroup/hugetlb/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:48:26 remove /sys/fs/cgroup/memory/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:48:26 remove /sys/fs/cgroup/perf_event/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:48:26 remove /sys/fs/cgroup/systemd/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:48:26 remove /sys/fs/cgroup/pids/test-dir-sandboxes [CGROUP POOL test-dir-sandboxes]",
"2020/07/29 21:48:26 save stats to /root/open-lambda/test-dir/worker/stats.json",
"2020/07/29 21:48:26 remove worker.pid",
"2020/07/29 21:48:26 exiting",
""
]
}
POP conf: {'registry': '/tmp/tmpi9b2789_'}
POP conf: {'features': {'reuse_cgroups': True}}
POP conf: {'limits': {'installer_mem_mb': 250}}
PASSED: 17, FAILED: 1
Makefile:27: recipe for target 'test-all' failed
make: *** [test-all] Error 1