Starting test cluster... ./bin/admin new -cluster=testing/test-cluster Cluster Directory: /root/open-lambda/testing/test-cluster Worker Defaults: { "registry": "local", "sandbox": "docker", "registry_dir": "/root/open-lambda/testing/test-cluster/registry", "registry_server": "", "registry_access_key": "", "registry_secret_key": "", "cluster_name": "/root/open-lambda/testing/test-cluster", "pip_mirror": "", "Pkgs_dir": "/root/open-lambda/testing/test-cluster/packages", "max_runners": 0, "handler_cache_size": 0, "import_cache_size": 0, "worker_dir": "/root/open-lambda/testing/test-cluster/workers/default", "SOCK_base_path": "", "worker_port": "?", "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 cluster using the "workers" command ./bin/admin setconf -cluster=testing/test-cluster '{"registry_dir": "/root/open-lambda/testing/registry"}' ./bin/admin setconf -cluster=testing/test-cluster '{"startup_pkgs": ["parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson"]}' touch imgs/test-cluster Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Starting worker... ./bin/admin setconf -cluster=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 0, "import_cache_size": 0, "cg_pool_size": 10}' ./bin/admin workers -cluster=testing/test-cluster Started worker: pid 7461, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/26 21:42:07 At least one worker failed the status check 2019/05/26 21:42:09 At least one worker failed the status check 2019/05/26 21:42:11 At least one worker failed the status check 2019/05/26 21:42:13 At least one worker failed the status check 2019/05/26 21:42:15 At least one worker failed the status check 2019/05/26 21:42:17 At least one worker failed the status check 2019/05/26 21:42:19 At least one worker failed the status check 2019/05/26 21:42:21 At least one worker failed the status check Worker ready. Requesting lambdas... curl -XPOST localhost:8080/runLambda/echo -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 157 100 155 100 2 8993 116 --:--:-- --:--:-- --:--:-- 9117 failed to bind code dir: /root/open-lambda/testing/registry/echo -> /tmp/olhandlers-fec547f991534130ae62962fb5a8526a/0/hanler :: no such file or directory curl -XPOST localhost:8080/runLambda/install -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 160 100 158 100 2 20434 258 --:--:-- --:--:-- --:--:-- 22571 failed to bind code dir: /root/open-lambda/testing/registry/install -> /tmp/olhandlers-fec547f991534130ae62962fb5a8526a/1/hanler :: no such file or directory curl -XPOST localhost:8080/runLambda/install2 -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 161 100 159 100 2 18086 227 --:--:-- --:--:-- --:--:-- 19875 failed to bind code dir: /root/open-lambda/testing/registry/install2 -> /tmp/olhandlers-fec547f991534130ae62962fb5a8526a/2/hanler :: no such file or directory curl -XPOST localhost:8080/runLambda/install3 -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 161 100 159 100 2 20144 253 --:--:-- --:--:-- --:--:-- 22714 failed to bind code dir: /root/open-lambda/testing/registry/install3 -> /tmp/olhandlers-fec547f991534130ae62962fb5a8526a/3/hanler :: no such file or directory Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7461 Starting worker... ./bin/admin setconf -cluster=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 10000000, "import_cache_size": 0, "cg_pool_size": 10}' ./bin/admin workers -cluster=testing/test-cluster Started worker: pid 7607, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/26 21:42:24 At least one worker failed the status check 2019/05/26 21:42:26 At least one worker failed the status check 2019/05/26 21:42:28 At least one worker failed the status check 2019/05/26 21:42:30 At least one worker failed the status check Worker ready. Requesting lambdas... curl -XPOST localhost:8080/runLambda/echo -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 157 100 155 100 2 21988 283 --:--:-- --:--:-- --:--:-- 25833 failed to bind code dir: /root/open-lambda/testing/registry/echo -> /tmp/olhandlers-28bdc070321d4fdc9e0656e6116dee62/0/hanler :: no such file or directory curl -XPOST localhost:8080/runLambda/install -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 160 100 158 100 2 23809 301 --:--:-- --:--:-- --:--:-- 26333 failed to bind code dir: /root/open-lambda/testing/registry/install -> /tmp/olhandlers-28bdc070321d4fdc9e0656e6116dee62/1/hanler :: no such file or directory curl -XPOST localhost:8080/runLambda/install2 -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 161 100 159 100 2 23354 293 --:--:-- --:--:-- --:--:-- 26500 failed to bind code dir: /root/open-lambda/testing/registry/install2 -> /tmp/olhandlers-28bdc070321d4fdc9e0656e6116dee62/2/hanler :: no such file or directory curl -XPOST localhost:8080/runLambda/install3 -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 161 100 159 100 2 22720 285 --:--:-- --:--:-- --:--:-- 26500 failed to bind code dir: /root/open-lambda/testing/registry/install3 -> /tmp/olhandlers-28bdc070321d4fdc9e0656e6116dee62/3/hanler :: no such file or directory Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7607 Starting worker... ./bin/admin setconf -cluster=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 0, "import_cache_size": 10000000, "cg_pool_size": 10}' ./bin/admin workers -cluster=testing/test-cluster Started worker: pid 7714, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/26 21:42:32 At least one worker failed the status check 2019/05/26 21:42:34 At least one worker failed the status check 2019/05/26 21:42:36 At least one worker failed the status check 2019/05/26 21:42:38 At least one worker failed the status check 2019/05/26 21:42:40 At least one worker failed the status check Worker ready. Requesting lambdas... curl -XPOST localhost:8080/runLambda/echo -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 157 100 155 100 2 20741 267 --:--:-- --:--:-- --:--:-- 22142 failed to bind code dir: /root/open-lambda/testing/registry/echo -> /tmp/olhandlers-f1638a1a28be4558baae0a3da6e28d24/0/hanler :: no such file or directory curl -XPOST localhost:8080/runLambda/install -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 160 100 158 100 2 20916 264 --:--:-- --:--:-- --:--:-- 22571 failed to bind code dir: /root/open-lambda/testing/registry/install -> /tmp/olhandlers-f1638a1a28be4558baae0a3da6e28d24/1/hanler :: no such file or directory curl -XPOST localhost:8080/runLambda/install2 -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 161 100 159 100 2 20830 262 --:--:-- --:--:-- --:--:-- 22714 failed to bind code dir: /root/open-lambda/testing/registry/install2 -> /tmp/olhandlers-f1638a1a28be4558baae0a3da6e28d24/2/hanler :: no such file or directory curl -XPOST localhost:8080/runLambda/install3 -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 161 100 159 100 2 20471 257 --:--:-- --:--:-- --:--:-- 22714 failed to bind code dir: /root/open-lambda/testing/registry/install3 -> /tmp/olhandlers-f1638a1a28be4558baae0a3da6e28d24/3/hanler :: no such file or directory Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7714 Starting worker... ./bin/admin setconf -cluster=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 10000000, "import_cache_size": 10000000, "cg_pool_size": 10}' ./bin/admin workers -cluster=testing/test-cluster Started worker: pid 7835, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/26 21:42:42 At least one worker failed the status check 2019/05/26 21:42:44 At least one worker failed the status check 2019/05/26 21:42:46 At least one worker failed the status check 2019/05/26 21:42:48 At least one worker failed the status check Worker ready. Requesting lambdas... curl -XPOST localhost:8080/runLambda/echo -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 157 100 155 100 2 20702 267 --:--:-- --:--:-- --:--:-- 22142 failed to bind code dir: /root/open-lambda/testing/registry/echo -> /tmp/olhandlers-dd6c135b433e4238b5b5d6b2f9e9c7c0/0/hanler :: no such file or directory curl -XPOST localhost:8080/runLambda/install -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 160 100 158 100 2 21435 271 --:--:-- --:--:-- --:--:-- 22571 failed to bind code dir: /root/open-lambda/testing/registry/install -> /tmp/olhandlers-dd6c135b433e4238b5b5d6b2f9e9c7c0/1/hanler :: no such file or directory curl -XPOST localhost:8080/runLambda/install2 -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 161 100 159 100 2 21233 267 --:--:-- --:--:-- --:--:-- 22714 failed to bind code dir: /root/open-lambda/testing/registry/install2 -> /tmp/olhandlers-dd6c135b433e4238b5b5d6b2f9e9c7c0/2/hanler :: no such file or directory curl -XPOST localhost:8080/runLambda/install3 -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 161 100 159 100 2 21107 265 --:--:-- --:--:-- --:--:-- 22714 failed to bind code dir: /root/open-lambda/testing/registry/install3 -> /tmp/olhandlers-dd6c135b433e4238b5b5d6b2f9e9c7c0/3/hanler :: no such file or directory Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7835 Starting worker... ./bin/admin setconf -cluster=testing/test-cluster '{"sandbox": "docker", "handler_cache_size": 0, "import_cache_size": 0, "cg_pool_size": 0}' ./bin/admin workers -cluster=testing/test-cluster Started worker: pid 7948, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/26 21:42:50 At least one worker failed the status check 2019/05/26 21:42:52 At least one worker failed the status check 2019/05/26 21:42:54 At least one worker failed the status check 2019/05/26 21:42:56 At least one worker failed the status check Worker ready. Requesting lambdas... curl -XPOST localhost:8080/runLambda/echo -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2 0 0 100 2 0 1 0:00:02 0:00:01 0:00:01 1 100 4 100 2 100 2 1 1 0:00:02 0:00:01 0:00:01 1 100 4 100 2 100 2 1 1 0:00:02 0:00:01 0:00:01 1 {} curl -XPOST localhost:8080/runLambda/install -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12 100 10 100 2 13 2 0:00:01 --:--:-- 0:00:01 13 "imported" curl -XPOST localhost:8080/runLambda/install2 -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2 0 0 100 2 0 9 --:--:-- --:--:-- --:--:-- 9 100 12 100 10 100 2 19 3 --:--:-- --:--:-- --:--:-- 19 "imported" curl -XPOST localhost:8080/runLambda/install3 -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12 100 10 100 2 18 3 --:--:-- --:--:-- --:--:-- 18 "imported" Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill container a32d70c17bd746dee0161f271c20daeb62e361e71dfa8e74da184cdfd0a27b1c (handler) Kill worker process with PID 7948 Starting worker... ./bin/admin setconf -cluster=testing/test-cluster '{"sandbox": "docker", "handler_cache_size": 10000000, "import_cache_size": 0, "cg_pool_size": 0}' ./bin/admin workers -cluster=testing/test-cluster Started worker: pid 9023, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/26 21:43:02 At least one worker failed the status check 2019/05/26 21:43:04 At least one worker failed the status check 2019/05/26 21:43:06 At least one worker failed the status check 2019/05/26 21:43:08 At least one worker failed the status check Worker ready. Requesting lambdas... curl -XPOST localhost:8080/runLambda/echo -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4 100 2 100 2 5 5 --:--:-- --:--:-- --:--:-- 5 {} curl -XPOST localhost:8080/runLambda/install -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12 100 10 100 2 24 4 --:--:-- --:--:-- --:--:-- 24 "imported" curl -XPOST localhost:8080/runLambda/install2 -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2 0 0 100 2 0 9 --:--:-- --:--:-- --:--:-- 9 100 12 100 10 100 2 17 3 --:--:-- --:--:-- --:--:-- 17 "imported" curl -XPOST localhost:8080/runLambda/install3 -d '{}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12 100 10 100 2 17 3 --:--:-- --:--:-- --:--:-- 17 100 12 100 10 100 2 17 3 --:--:-- --:--:-- --:--:-- 17 "imported"