python3 -u test.py RUN ./ol new -p=test-cluster Init OL dir at /root/open-lambda/test-cluster Create lambda base at /root/open-lambda/test-cluster/lambda (may take several minutes) Working Directory: /root/open-lambda/test-cluster Worker Defaults: { "registry": "/root/open-lambda/test-cluster/registry", "registry_cache_ms": 5000, "sandbox": "sock", "cluster_name": "/root/open-lambda/test-cluster", "pip_mirror": "", "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "max_runners": 0, "handler_cache_mb": 239, "import_cache_mb": 239, "worker_dir": "/root/open-lambda/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "worker_port": "5000", "cg_pool_size": 0, "Skip_pull_existing": false, "sandbox_config": { "processes": 10 }, "benchmark_log": "", "timing": false, "startup_pkgs": null, "docker_runtime": "" } You may now start a server using the "worker" command PUSH conf: {'registry': '/root/open-lambda/test-registry', 'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson']} PUSH conf: {'sandbox': 'sock', 'handler_cache_mb': 0, 'import_cache_mb': 0, 'cg_pool_size': 10} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7275, port=5000, log=/root/open-lambda/test-cluster/worker.out ready { "test": "test_smoke_echo", "params": {}, "pass": true, "seconds": 3.637873888015747, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "handler_cache_mb": 0, "timing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 0, "docker_runtime": "", "worker_port": "5000", "sandbox_config": { "processes": 10 }, "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0 }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:11:57 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:0 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:11:57 Initialized registry manager (took 22.43\u00b5s)", "2019/06/07 19:12:18 Initialized installation manager (took 20.94182302s)", "2019/06/07 19:12:18 Initialized handler container factory (took 4.542393ms)", "2019/06/07 19:12:18 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:18 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:18 Receive request to /pid", "2019/06/07 19:12:18 Receive request to /run/echo", "2019/06/07 19:12:21 EVICTING INSTANCE: 26427392 used / 0 limit", "" ] } { "test": "test_smoke_install", "params": { "num": null }, "pass": true, "seconds": 0.5900087356567383, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "handler_cache_mb": 0, "timing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 0, "docker_runtime": "", "worker_port": "5000", "sandbox_config": { "processes": 10 }, "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0 }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:11:57 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:0 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:11:57 Initialized registry manager (took 22.43\u00b5s)", "2019/06/07 19:12:18 Initialized installation manager (took 20.94182302s)", "2019/06/07 19:12:18 Initialized handler container factory (took 4.542393ms)", "2019/06/07 19:12:18 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:18 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:18 Receive request to /pid", "2019/06/07 19:12:18 Receive request to /run/echo", "2019/06/07 19:12:21 EVICTING INSTANCE: 26427392 used / 0 limit", "2019/06/07 19:12:21 Receive request to /run/install", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:22 EVICTING INSTANCE: 24215552 used / 0 limit", "" ] } { "test": "test_smoke_install", "params": { "num": 2 }, "pass": true, "seconds": 0.36489129066467285, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "handler_cache_mb": 0, "timing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 0, "docker_runtime": "", "worker_port": "5000", "sandbox_config": { "processes": 10 }, "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0 }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:11:57 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:0 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:11:57 Initialized registry manager (took 22.43\u00b5s)", "2019/06/07 19:12:18 Initialized installation manager (took 20.94182302s)", "2019/06/07 19:12:18 Initialized handler container factory (took 4.542393ms)", "2019/06/07 19:12:18 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:18 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:18 Receive request to /pid", "2019/06/07 19:12:18 Receive request to /run/echo", "2019/06/07 19:12:21 EVICTING INSTANCE: 26427392 used / 0 limit", "2019/06/07 19:12:21 Receive request to /run/install", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:22 EVICTING INSTANCE: 24215552 used / 0 limit", "2019/06/07 19:12:22 Receive request to /run/install2", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:22 EVICTING INSTANCE: 22822912 used / 0 limit", "" ] } { "test": "test_smoke_install", "params": { "num": 3 }, "pass": true, "seconds": 0.36028337478637695, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "handler_cache_mb": 0, "timing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 0, "docker_runtime": "", "worker_port": "5000", "sandbox_config": { "processes": 10 }, "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0 }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:11:57 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:0 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:11:57 Initialized registry manager (took 22.43\u00b5s)", "2019/06/07 19:12:18 Initialized installation manager (took 20.94182302s)", "2019/06/07 19:12:18 Initialized handler container factory (took 4.542393ms)", "2019/06/07 19:12:18 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:18 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:18 Receive request to /pid", "2019/06/07 19:12:18 Receive request to /run/echo", "2019/06/07 19:12:21 EVICTING INSTANCE: 26427392 used / 0 limit", "2019/06/07 19:12:21 Receive request to /run/install", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:22 EVICTING INSTANCE: 24215552 used / 0 limit", "2019/06/07 19:12:22 Receive request to /run/install2", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:22 EVICTING INSTANCE: 22822912 used / 0 limit", "2019/06/07 19:12:22 Receive request to /run/install3", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:23 EVICTING INSTANCE: 22781952 used / 0 limit", "" ] } POP conf: {'sandbox': 'sock', 'handler_cache_mb': 0, 'import_cache_mb': 0, 'cg_pool_size': 10} RUN ./ol kill -p=test-cluster Kill worker process with PID 7275 PUSH conf: {'sandbox': 'sock', 'handler_cache_mb': 256, 'import_cache_mb': 0, 'cg_pool_size': 10} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7362, port=5000, log=/root/open-lambda/test-cluster/worker.out ready { "test": "test_smoke_echo", "params": {}, "pass": true, "seconds": 0.14429354667663574, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 0, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:23 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:256 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:23 Initialized registry manager (took 16.419\u00b5s)", "2019/06/07 19:12:30 Initialized installation manager (took 7.550276342s)", "2019/06/07 19:12:30 Initialized handler container factory (took 3.547365ms)", "2019/06/07 19:12:30 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:30 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:30 Receive request to /pid", "2019/06/07 19:12:30 Receive request to /run/echo", "" ] } { "test": "test_smoke_install", "params": { "num": null }, "pass": true, "seconds": 0.35943031311035156, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 0, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:23 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:256 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:23 Initialized registry manager (took 16.419\u00b5s)", "2019/06/07 19:12:30 Initialized installation manager (took 7.550276342s)", "2019/06/07 19:12:30 Initialized handler container factory (took 3.547365ms)", "2019/06/07 19:12:30 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:30 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:30 Receive request to /pid", "2019/06/07 19:12:30 Receive request to /run/echo", "2019/06/07 19:12:30 Receive request to /run/install", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "" ] } { "test": "test_smoke_install", "params": { "num": 2 }, "pass": true, "seconds": 0.35746240615844727, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 0, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:23 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:256 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:23 Initialized registry manager (took 16.419\u00b5s)", "2019/06/07 19:12:30 Initialized installation manager (took 7.550276342s)", "2019/06/07 19:12:30 Initialized handler container factory (took 3.547365ms)", "2019/06/07 19:12:30 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:30 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:30 Receive request to /pid", "2019/06/07 19:12:30 Receive request to /run/echo", "2019/06/07 19:12:30 Receive request to /run/install", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:31 Receive request to /run/install2", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "" ] } { "test": "test_smoke_install", "params": { "num": 3 }, "pass": true, "seconds": 0.7140665054321289, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 0, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:23 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:256 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:23 Initialized registry manager (took 16.419\u00b5s)", "2019/06/07 19:12:30 Initialized installation manager (took 7.550276342s)", "2019/06/07 19:12:30 Initialized handler container factory (took 3.547365ms)", "2019/06/07 19:12:30 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:30 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:30 Receive request to /pid", "2019/06/07 19:12:30 Receive request to /run/echo", "2019/06/07 19:12:30 Receive request to /run/install", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:31 Receive request to /run/install2", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:31 Receive request to /run/install3", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "" ] } POP conf: {'sandbox': 'sock', 'handler_cache_mb': 256, 'import_cache_mb': 0, 'cg_pool_size': 10} RUN ./ol kill -p=test-cluster Kill worker process with PID 7362 PUSH conf: {'sandbox': 'sock', 'handler_cache_mb': 0, 'import_cache_mb': 256, 'cg_pool_size': 10} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7438, port=5000, log=/root/open-lambda/test-cluster/worker.out ready { "test": "test_smoke_echo", "params": {}, "pass": true, "seconds": 0.02224874496459961, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "handler_cache_mb": 0, "timing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 256, "docker_runtime": "", "worker_port": "5000", "sandbox_config": { "processes": 10 }, "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0 }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:32 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:0 Import_cache_mb:256 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:32 Initialized registry manager (took 17.786\u00b5s)", "2019/06/07 19:12:40 Initialized installation manager (took 7.578561143s)", "2019/06/07 19:12:40 invalid package sizes path /ol/open-lambda/worker/cache-manager/package_sizes.txt, using 0 for all", "2019/06/07 19:12:40 Initialized handler container factory (took 416.179821ms)", "2019/06/07 19:12:40 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:40 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:40 Receive request to /pid", "2019/06/07 19:12:40 Receive request to /run/echo", "2019/06/07 19:12:40 EVICTING INSTANCE: 2400256 used / 0 limit", "" ] } { "test": "test_smoke_install", "params": { "num": null }, "pass": true, "seconds": 0.2436964511871338, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "handler_cache_mb": 0, "timing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 256, "docker_runtime": "", "worker_port": "5000", "sandbox_config": { "processes": 10 }, "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0 }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:32 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:0 Import_cache_mb:256 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:32 Initialized registry manager (took 17.786\u00b5s)", "2019/06/07 19:12:40 Initialized installation manager (took 7.578561143s)", "2019/06/07 19:12:40 invalid package sizes path /ol/open-lambda/worker/cache-manager/package_sizes.txt, using 0 for all", "2019/06/07 19:12:40 Initialized handler container factory (took 416.179821ms)", "2019/06/07 19:12:40 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:40 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:40 Receive request to /pid", "2019/06/07 19:12:40 Receive request to /run/echo", "2019/06/07 19:12:40 EVICTING INSTANCE: 2400256 used / 0 limit", "2019/06/07 19:12:40 Receive request to /run/install", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:40 EVICTING INSTANCE: 13713408 used / 0 limit", "" ] } { "test": "test_smoke_install", "params": { "num": 2 }, "pass": true, "seconds": 0.24466252326965332, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "handler_cache_mb": 0, "timing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 256, "docker_runtime": "", "worker_port": "5000", "sandbox_config": { "processes": 10 }, "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0 }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:32 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:0 Import_cache_mb:256 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:32 Initialized registry manager (took 17.786\u00b5s)", "2019/06/07 19:12:40 Initialized installation manager (took 7.578561143s)", "2019/06/07 19:12:40 invalid package sizes path /ol/open-lambda/worker/cache-manager/package_sizes.txt, using 0 for all", "2019/06/07 19:12:40 Initialized handler container factory (took 416.179821ms)", "2019/06/07 19:12:40 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:40 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:40 Receive request to /pid", "2019/06/07 19:12:40 Receive request to /run/echo", "2019/06/07 19:12:40 EVICTING INSTANCE: 2400256 used / 0 limit", "2019/06/07 19:12:40 Receive request to /run/install", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:40 EVICTING INSTANCE: 13713408 used / 0 limit", "2019/06/07 19:12:40 Receive request to /run/install2", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:41 EVICTING INSTANCE: 13074432 used / 0 limit", "" ] } { "test": "test_smoke_install", "params": { "num": 3 }, "pass": true, "seconds": 0.24487829208374023, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "handler_cache_mb": 0, "timing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 256, "docker_runtime": "", "worker_port": "5000", "sandbox_config": { "processes": 10 }, "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0 }, "exception": null, "worker_tail": [ "2019/06/07 19:12:32 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:0 Import_cache_mb:256 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:32 Initialized registry manager (took 17.786\u00b5s)", "2019/06/07 19:12:40 Initialized installation manager (took 7.578561143s)", "2019/06/07 19:12:40 invalid package sizes path /ol/open-lambda/worker/cache-manager/package_sizes.txt, using 0 for all", "2019/06/07 19:12:40 Initialized handler container factory (took 416.179821ms)", "2019/06/07 19:12:40 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:40 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:40 Receive request to /pid", "2019/06/07 19:12:40 Receive request to /run/echo", "2019/06/07 19:12:40 EVICTING INSTANCE: 2400256 used / 0 limit", "2019/06/07 19:12:40 Receive request to /run/install", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:40 EVICTING INSTANCE: 13713408 used / 0 limit", "2019/06/07 19:12:40 Receive request to /run/install2", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:41 EVICTING INSTANCE: 13074432 used / 0 limit", "2019/06/07 19:12:41 Receive request to /run/install3", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:41 EVICTING INSTANCE: 13959168 used / 0 limit", "" ] } POP conf: {'sandbox': 'sock', 'handler_cache_mb': 0, 'import_cache_mb': 256, 'cg_pool_size': 10} RUN ./ol kill -p=test-cluster Kill worker process with PID 7438 PUSH conf: {'sandbox': 'sock', 'handler_cache_mb': 256, 'import_cache_mb': 256, 'cg_pool_size': 10} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7520, port=5000, log=/root/open-lambda/test-cluster/worker.out ready { "test": "test_smoke_echo", "params": {}, "pass": true, "seconds": 0.021670103073120117, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:41 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:256 Import_cache_mb:256 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:41 Initialized registry manager (took 17.883\u00b5s)", "2019/06/07 19:12:48 Initialized installation manager (took 7.564298702s)", "2019/06/07 19:12:48 invalid package sizes path /ol/open-lambda/worker/cache-manager/package_sizes.txt, using 0 for all", "2019/06/07 19:12:49 Initialized handler container factory (took 148.407846ms)", "2019/06/07 19:12:49 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:49 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:49 Receive request to /pid", "2019/06/07 19:12:49 Receive request to /run/echo", "" ] } { "test": "test_smoke_install", "params": { "num": null }, "pass": true, "seconds": 0.23981571197509766, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:41 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:256 Import_cache_mb:256 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:41 Initialized registry manager (took 17.883\u00b5s)", "2019/06/07 19:12:48 Initialized installation manager (took 7.564298702s)", "2019/06/07 19:12:48 invalid package sizes path /ol/open-lambda/worker/cache-manager/package_sizes.txt, using 0 for all", "2019/06/07 19:12:49 Initialized handler container factory (took 148.407846ms)", "2019/06/07 19:12:49 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:49 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:49 Receive request to /pid", "2019/06/07 19:12:49 Receive request to /run/echo", "2019/06/07 19:12:49 Receive request to /run/install", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "" ] } { "test": "test_smoke_install", "params": { "num": 2 }, "pass": true, "seconds": 0.24242877960205078, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:41 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:256 Import_cache_mb:256 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:41 Initialized registry manager (took 17.883\u00b5s)", "2019/06/07 19:12:48 Initialized installation manager (took 7.564298702s)", "2019/06/07 19:12:48 invalid package sizes path /ol/open-lambda/worker/cache-manager/package_sizes.txt, using 0 for all", "2019/06/07 19:12:49 Initialized handler container factory (took 148.407846ms)", "2019/06/07 19:12:49 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:49 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:49 Receive request to /pid", "2019/06/07 19:12:49 Receive request to /run/echo", "2019/06/07 19:12:49 Receive request to /run/install", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:49 Receive request to /run/install2", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "" ] } { "test": "test_smoke_install", "params": { "num": 3 }, "pass": true, "seconds": 0.24190616607666016, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:41 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:sock Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:256 Import_cache_mb:256 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:10 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:41 Initialized registry manager (took 17.883\u00b5s)", "2019/06/07 19:12:48 Initialized installation manager (took 7.564298702s)", "2019/06/07 19:12:48 invalid package sizes path /ol/open-lambda/worker/cache-manager/package_sizes.txt, using 0 for all", "2019/06/07 19:12:49 Initialized handler container factory (took 148.407846ms)", "2019/06/07 19:12:49 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:49 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:49 Receive request to /pid", "2019/06/07 19:12:49 Receive request to /run/echo", "2019/06/07 19:12:49 Receive request to /run/install", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:49 Receive request to /run/install2", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "2019/06/07 19:12:49 Receive request to /run/install3", "/bin/sh: 1: cannot create /dev/null: Read-only file system", "" ] } POP conf: {'sandbox': 'sock', 'handler_cache_mb': 256, 'import_cache_mb': 256, 'cg_pool_size': 10} RUN ./ol kill -p=test-cluster Kill worker process with PID 7520 PUSH conf: {'sandbox': 'docker', 'handler_cache_mb': 0, 'import_cache_mb': 0, 'cg_pool_size': 0} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=7603, port=5000, log=/root/open-lambda/test-cluster/worker.out ready { "test": "test_smoke_echo", "params": {}, "pass": true, "seconds": 4.203956127166748, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 0, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "handler_cache_mb": 0, "timing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "docker", "Skip_pull_existing": false, "import_cache_mb": 0, "docker_runtime": "", "worker_port": "5000", "sandbox_config": { "processes": 10 }, "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0 }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:49 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:docker Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:0 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:0 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:49 Initialized registry manager (took 17.546\u00b5s)", "2019/06/07 19:12:57 Initialized installation manager (took 7.609580487s)", "2019/06/07 19:12:57 Initialized handler container factory (took 27.952\u00b5s)", "2019/06/07 19:12:57 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:57 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:57 Receive request to /pid", "2019/06/07 19:12:57 Receive request to /run/echo", "2019/06/07 19:13:01 EVICTING INSTANCE: 30552064 used / 0 limit", "" ] } { "test": "test_smoke_install", "params": { "num": null }, "pass": true, "seconds": 1.3981246948242188, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 0, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "handler_cache_mb": 0, "timing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "docker", "Skip_pull_existing": false, "import_cache_mb": 0, "docker_runtime": "", "worker_port": "5000", "sandbox_config": { "processes": 10 }, "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0 }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:49 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:docker Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:0 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:0 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:49 Initialized registry manager (took 17.546\u00b5s)", "2019/06/07 19:12:57 Initialized installation manager (took 7.609580487s)", "2019/06/07 19:12:57 Initialized handler container factory (took 27.952\u00b5s)", "2019/06/07 19:12:57 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:57 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:57 Receive request to /pid", "2019/06/07 19:12:57 Receive request to /run/echo", "2019/06/07 19:13:01 EVICTING INSTANCE: 30552064 used / 0 limit", "2019/06/07 19:13:01 Receive request to /run/install", "" ] } { "test": "test_smoke_install", "params": { "num": 2 }, "pass": true, "seconds": 0.9198200702667236, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 0, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "handler_cache_mb": 0, "timing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "docker", "Skip_pull_existing": false, "import_cache_mb": 0, "docker_runtime": "", "worker_port": "5000", "sandbox_config": { "processes": 10 }, "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0 }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:49 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:docker Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:0 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:0 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:49 Initialized registry manager (took 17.546\u00b5s)", "2019/06/07 19:12:57 Initialized installation manager (took 7.609580487s)", "2019/06/07 19:12:57 Initialized handler container factory (took 27.952\u00b5s)", "2019/06/07 19:12:57 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:57 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:57 Receive request to /pid", "2019/06/07 19:12:57 Receive request to /run/echo", "2019/06/07 19:13:01 EVICTING INSTANCE: 30552064 used / 0 limit", "2019/06/07 19:13:01 Receive request to /run/install", "2019/06/07 19:13:03 EVICTING INSTANCE: 24760320 used / 0 limit", "2019/06/07 19:13:03 Receive request to /run/install2", "" ] } { "test": "test_smoke_install", "params": { "num": 3 }, "pass": true, "seconds": 0.9040250778198242, "stats": null, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 0, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "handler_cache_mb": 0, "timing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "docker", "Skip_pull_existing": false, "import_cache_mb": 0, "docker_runtime": "", "worker_port": "5000", "sandbox_config": { "processes": 10 }, "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "max_runners": 0 }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:12:49 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:docker Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:0 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:0 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:12:49 Initialized registry manager (took 17.546\u00b5s)", "2019/06/07 19:12:57 Initialized installation manager (took 7.609580487s)", "2019/06/07 19:12:57 Initialized handler container factory (took 27.952\u00b5s)", "2019/06/07 19:12:57 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:12:57 Get status by sending request to localhost:5000/status", "2019/06/07 19:12:57 Receive request to /pid", "2019/06/07 19:12:57 Receive request to /run/echo", "2019/06/07 19:13:01 EVICTING INSTANCE: 30552064 used / 0 limit", "2019/06/07 19:13:01 Receive request to /run/install", "2019/06/07 19:13:03 EVICTING INSTANCE: 24760320 used / 0 limit", "2019/06/07 19:13:03 Receive request to /run/install2", "2019/06/07 19:13:04 EVICTING INSTANCE: 22843392 used / 0 limit", "2019/06/07 19:13:04 Receive request to /run/install3", "" ] } POP conf: {'sandbox': 'docker', 'handler_cache_mb': 0, 'import_cache_mb': 0, 'cg_pool_size': 0} RUN ./ol kill -p=test-cluster Kill worker process with PID 7603 PUSH conf: {'sandbox': 'docker', 'handler_cache_mb': 256, 'import_cache_mb': 0, 'cg_pool_size': 0} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=8540, port=5000, log=/root/open-lambda/test-cluster/worker.out ready { "test": "test_smoke_echo", "params": {}, "pass": true, "seconds": 0.518498420715332, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 0, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "docker", "Skip_pull_existing": false, "import_cache_mb": 0, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:13:05 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:docker Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:256 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:0 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:13:05 Initialized registry manager (took 18.234\u00b5s)", "2019/06/07 19:13:12 Initialized installation manager (took 7.493053122s)", "2019/06/07 19:13:12 Initialized handler container factory (took 40.565\u00b5s)", "2019/06/07 19:13:12 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:13:12 Get status by sending request to localhost:5000/status", "2019/06/07 19:13:12 Receive request to /pid", "2019/06/07 19:13:12 Receive request to /run/echo", "" ] } { "test": "test_smoke_install", "params": { "num": null }, "pass": true, "seconds": 1.2378110885620117, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 0, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "docker", "Skip_pull_existing": false, "import_cache_mb": 0, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:13:05 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:docker Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:256 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:0 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:13:05 Initialized registry manager (took 18.234\u00b5s)", "2019/06/07 19:13:12 Initialized installation manager (took 7.493053122s)", "2019/06/07 19:13:12 Initialized handler container factory (took 40.565\u00b5s)", "2019/06/07 19:13:12 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:13:12 Get status by sending request to localhost:5000/status", "2019/06/07 19:13:12 Receive request to /pid", "2019/06/07 19:13:12 Receive request to /run/echo", "2019/06/07 19:13:13 Receive request to /run/install", "" ] } { "test": "test_smoke_install", "params": { "num": 2 }, "pass": true, "seconds": 0.7884538173675537, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 0, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "docker", "Skip_pull_existing": false, "import_cache_mb": 0, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:13:05 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:docker Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:256 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:0 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:13:05 Initialized registry manager (took 18.234\u00b5s)", "2019/06/07 19:13:12 Initialized installation manager (took 7.493053122s)", "2019/06/07 19:13:12 Initialized handler container factory (took 40.565\u00b5s)", "2019/06/07 19:13:12 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:13:12 Get status by sending request to localhost:5000/status", "2019/06/07 19:13:12 Receive request to /pid", "2019/06/07 19:13:12 Receive request to /run/echo", "2019/06/07 19:13:13 Receive request to /run/install", "2019/06/07 19:13:14 Receive request to /run/install2", "" ] } { "test": "test_smoke_install", "params": { "num": 3 }, "pass": true, "seconds": 0.7778904438018799, "stats": null, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 0, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "docker", "Skip_pull_existing": false, "import_cache_mb": 0, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": [ "parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson" ], "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "using existing OL directory at /root/open-lambda/test-cluster", "2019/06/07 19:13:05 Config: &{Registry:/root/open-lambda/test-registry Registry_cache_ms:5000 Sandbox:docker Cluster_name:/root/open-lambda/test-cluster Pip_index: Pkgs_dir:/root/open-lambda/test-cluster/lambda/packages Max_runners:0 Handler_cache_mb:256 Import_cache_mb:0 Worker_dir:/root/open-lambda/test-cluster/worker SOCK_base_path:/root/open-lambda/test-cluster/lambda Worker_port:5000 Cg_pool_size:0 Skip_pull_existing:false Sandbox_config:map[processes:10] Benchmark_file: Timing:false Startup_pkgs:[parso jedi urllib3 idna chardet certifi requests simplejson] Docker_runtime:}", "2019/06/07 19:13:05 Initialized registry manager (took 18.234\u00b5s)", "2019/06/07 19:13:12 Initialized installation manager (took 7.493053122s)", "2019/06/07 19:13:12 Initialized handler container factory (took 40.565\u00b5s)", "2019/06/07 19:13:12 Execute handler by POSTing to localhost:5000/run/", "2019/06/07 19:13:12 Get status by sending request to localhost:5000/status", "2019/06/07 19:13:12 Receive request to /pid", "2019/06/07 19:13:12 Receive request to /run/echo", "2019/06/07 19:13:13 Receive request to /run/install", "2019/06/07 19:13:14 Receive request to /run/install2", "2019/06/07 19:13:15 Receive request to /run/install3", "" ] } POP conf: {'sandbox': 'docker', 'handler_cache_mb': 256, 'import_cache_mb': 0, 'cg_pool_size': 0} RUN ./ol kill -p=test-cluster Kill worker process with PID 8540 POP conf: {'registry': '/root/open-lambda/test-registry', 'startup_pkgs': ['parso', 'jedi', 'urllib3', 'idna', 'chardet', 'certifi', 'requests', 'simplejson']} PUSH conf: {'sandbox': 'sock', 'handler_cache_mb': 256, 'cg_pool_size': 10, 'import_cache_mb': 256, 'registry': '/root/open-lambda/test-registry'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9587, port=5000, log=/root/open-lambda/test-cluster/worker.out ready { "test": "stress_one_lambda", "params": { "procs": 1, "seconds": 15 }, "pass": true, "seconds": 15.056034326553345, "stats": { "reqs_per_sec": 285.93333333333334 }, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": null, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "2019/06/07 19:13:32 Receive request to /run/echo", "" ] } { "test": "stress_one_lambda", "params": { "procs": 2, "seconds": 15 }, "pass": true, "seconds": 15.044185400009155, "stats": { "reqs_per_sec": 284.3333333333333 }, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": null, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "2019/06/07 19:13:47 Receive request to /run/echo", "" ] } { "test": "stress_one_lambda", "params": { "procs": 8, "seconds": 15 }, "pass": true, "seconds": 15.064323902130127, "stats": { "reqs_per_sec": 261.1333333333333 }, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/root/open-lambda/test-registry", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": null, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "2019/06/07 19:14:02 Receive request to /run/echo", "" ] } POP conf: {'sandbox': 'sock', 'handler_cache_mb': 256, 'cg_pool_size': 10, 'import_cache_mb': 256, 'registry': '/root/open-lambda/test-registry'} RUN ./ol kill -p=test-cluster Kill worker process with PID 9587 PUSH conf: {'sandbox': 'sock', 'handler_cache_mb': 256, 'import_cache_mb': 256, 'cg_pool_size': 10} PUSH conf: {'registry': '/tmp/tmpqmw4qd3x'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=9644, port=5000, log=/root/open-lambda/test-cluster/worker.out ready { "test": "call_each_once_exec", "params": { "alloc_mb": 1, "lambda_count": 100 }, "pass": true, "seconds": 2.6642048358917236, "stats": { "reqs_per_sec": 37.535064641721824 }, "conf": { "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/tmp/tmpqmw4qd3x", "registry_cache_ms": 5000, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda", "handler_cache_mb": 256, "timing": false, "worker_dir": "/root/open-lambda/test-cluster/worker", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 256, "docker_runtime": "", "worker_port": "5000", "sandbox_config": { "processes": 10 }, "pip_mirror": "", "benchmark_log": "", "startup_pkgs": null, "max_runners": 0 }, "exception": null, "worker_tail": [ "2019/06/07 19:14:05 Receive request to /run/L89", "2019/06/07 19:14:05 EVICTING INSTANCE: 270827520 used / 268435456 limit", "2019/06/07 19:14:05 Receive request to /run/L90", "2019/06/07 19:14:05 EVICTING INSTANCE: 268713984 used / 268435456 limit", "2019/06/07 19:14:05 Receive request to /run/L91", "2019/06/07 19:14:05 Receive request to /run/L92", "2019/06/07 19:14:05 EVICTING INSTANCE: 270864384 used / 268435456 limit", "2019/06/07 19:14:05 Receive request to /run/L93", "2019/06/07 19:14:05 EVICTING INSTANCE: 270336000 used / 268435456 limit", "2019/06/07 19:14:05 Receive request to /run/L94", "2019/06/07 19:14:05 EVICTING INSTANCE: 270802944 used / 268435456 limit", "2019/06/07 19:14:05 Receive request to /run/L95", "2019/06/07 19:14:05 EVICTING INSTANCE: 269725696 used / 268435456 limit", "2019/06/07 19:14:05 Receive request to /run/L96", "2019/06/07 19:14:05 EVICTING INSTANCE: 269828096 used / 268435456 limit", "2019/06/07 19:14:05 Receive request to /run/L97", "2019/06/07 19:14:05 EVICTING INSTANCE: 268754944 used / 268435456 limit", "2019/06/07 19:14:05 Receive request to /run/L98", "2019/06/07 19:14:05 Receive request to /run/L99", "" ] } POP conf: {'registry': '/tmp/tmpqmw4qd3x'} RUN ./ol kill -p=test-cluster Kill worker process with PID 9644 PUSH conf: {'registry': '/tmp/tmphjtkg6b9'} RUN ./ol worker -p=test-cluster --detach using existing OL directory at /root/open-lambda/test-cluster Starting worker: pid=10268, port=5000, log=/root/open-lambda/test-cluster/worker.out ready { "test": "call_each_once_exec", "params": { "alloc_mb": 10, "lambda_count": 1000 }, "pass": true, "seconds": 42.347511291503906, "stats": { "reqs_per_sec": 23.614155460828908 }, "conf": { "sandbox_config": { "processes": 10 }, "cluster_name": "/root/open-lambda/test-cluster", "cg_pool_size": 10, "registry": "/tmp/tmphjtkg6b9", "registry_cache_ms": 5000, "handler_cache_mb": 256, "timing": false, "docker_runtime": "", "sandbox": "sock", "Skip_pull_existing": false, "import_cache_mb": 256, "worker_dir": "/root/open-lambda/test-cluster/worker", "worker_port": "5000", "max_runners": 0, "Pkgs_dir": "/root/open-lambda/test-cluster/lambda/packages", "pip_mirror": "", "benchmark_log": "", "startup_pkgs": null, "SOCK_base_path": "/root/open-lambda/test-cluster/lambda" }, "exception": null, "worker_tail": [ "2019/06/07 19:14:51 EVICTING INSTANCE: 275005440 used / 268435456 limit", "2019/06/07 19:14:51 Receive request to /run/L991", "2019/06/07 19:14:51 EVICTING INSTANCE: 275918848 used / 268435456 limit", "2019/06/07 19:14:51 Receive request to /run/L992", "2019/06/07 19:14:51 EVICTING INSTANCE: 274620416 used / 268435456 limit", "2019/06/07 19:14:51 Receive request to /run/L993", "2019/06/07 19:14:51 EVICTING INSTANCE: 275005440 used / 268435456 limit", "2019/06/07 19:14:51 Receive request to /run/L994", "2019/06/07 19:14:51 EVICTING INSTANCE: 275021824 used / 268435456 limit", "2019/06/07 19:14:51 Receive request to /run/L995", "2019/06/07 19:14:51 EVICTING INSTANCE: 276840448 used / 268435456 limit", "2019/06/07 19:14:51 Receive request to /run/L996", "2019/06/07 19:14:51 EVICTING INSTANCE: 277614592 used / 268435456 limit", "2019/06/07 19:14:51 Receive request to /run/L997", "2019/06/07 19:14:51 EVICTING INSTANCE: 276828160 used / 268435456 limit", "2019/06/07 19:14:51 Receive request to /run/L998", "2019/06/07 19:14:51 EVICTING INSTANCE: 277876736 used / 268435456 limit", "2019/06/07 19:14:51 Receive request to /run/L999", "2019/06/07 19:14:51 EVICTING INSTANCE: 277880832 used / 268435456 limit", "" ] } POP conf: {'registry': '/tmp/tmphjtkg6b9'} RUN ./ol kill -p=test-cluster Kill worker process with PID 10268 POP conf: {'sandbox': 'sock', 'handler_cache_mb': 256, 'import_cache_mb': 256, 'cg_pool_size': 10} PASSED: 29, FAILED: 0