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 7463, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/01/20 21:42:10 At least one worker failed the status check 2019/01/20 21:42:12 At least one worker failed the status check 2019/01/20 21:42:14 At least one worker failed the status check 2019/01/20 21:42:16 At least one worker failed the status check 2019/01/20 21:42:18 At least one worker failed the status check 2019/01/20 21:42:20 At least one worker failed the status check 2019/01/20 21:42:22 At least one worker failed the status check 2019/01/20 21:42:24 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 2 2 0:00:01 --:--:-- 0:00:01 2 100 4 100 2 100 2 2 2 0:00:01 --:--:-- 0:00:01 2 {} 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 25 5 --:--:-- --:--:-- --:--:-- 25 "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 12 100 10 100 2 77 15 --:--:-- --:--:-- --:--:-- 78 "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 77 15 --:--:-- --:--:-- --:--:-- 78 "imported" Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7463 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 7636, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/01/20 21:42:28 At least one worker failed the status check 2019/01/20 21:42:30 At least one worker failed the status check 2019/01/20 21:42:32 At least one worker failed the status check 2019/01/20 21:42:34 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 25 25 --:--:-- --:--:-- --:--:-- 25 {} 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 76 15 --:--:-- --:--:-- --:--:-- 75 100 12 100 10 100 2 75 15 --:--:-- --:--:-- --:--:-- 75 "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 12 100 10 100 2 76 15 --:--:-- --:--:-- --:--:-- 76 "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 48 9 --:--:-- --:--:-- --:--:-- 48 "imported" Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7636 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 7772, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/01/20 21:42:37 At least one worker failed the status check 2019/01/20 21:42:39 At least one worker failed the status check 2019/01/20 21:42:41 At least one worker failed the status check 2019/01/20 21:42:43 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 108 108 --:--:-- --:--:-- --:--:-- 111 {} 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 124 24 --:--:-- --:--:-- --:--:-- 125 "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 12 100 10 100 2 551 110 --:--:-- --:--:-- --:--:-- 555 "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 456 91 --:--:-- --:--:-- --:--:-- 476 "imported" Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7772 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 7919, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/01/20 21:42:45 At least one worker failed the status check 2019/01/20 21:42:47 At least one worker failed the status check 2019/01/20 21:42:49 At least one worker failed the status check 2019/01/20 21:42:51 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 110 110 --:--:-- --:--:-- --:--:-- 111 {} 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 131 26 --:--:-- --:--:-- --:--:-- 129 100 12 100 10 100 2 130 26 --:--:-- --:--:-- --:--:-- 129 "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 12 100 10 100 2 492 98 --:--:-- --:--:-- --:--:-- 500 "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 398 79 --:--:-- --:--:-- --:--:-- 400 "imported" Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7919 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 8066, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/01/20 21:42:53 At least one worker failed the status check 2019/01/20 21:42:55 At least one worker failed the status check 2019/01/20 21:42:57 At least one worker failed the status check 2019/01/20 21:42:59 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 2 0 0 0 2 0 0 --:--:-- 0:00:02 --:--:-- 0 100 4 0 2 0 2 0 0 --:--:-- 0:00:02 --:--:-- 0 {} 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 11 2 0:00:01 --:--:-- 0:00:01 11 100 12 100 10 100 2 11 2 0:00:01 --:--:-- 0:00:01 11 "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 12 100 10 100 2 18 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 2 0 0 100 2 0 9 --:--:-- --:--:-- --:--:-- 9 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 9364dc3cfd5eaacfcaa2b2118de6a7b31a6cea80a5f046ff11d9846c47e3f988 (handler) Kill worker process with PID 8066 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 9149, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/01/20 21:43:06 At least one worker failed the status check 2019/01/20 21:43:08 At least one worker failed the status check 2019/01/20 21:43:10 At least one worker failed the status check 2019/01/20 21:43:12 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 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 25 5 --:--:-- --:--:-- --:--:-- 25 "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 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 2 0 0 100 2 0 9 --:--:-- --:--:-- --:--:-- 9 100 2 0 0 100 2 0 1 0:00:02 0:00:01 0:00:01 1 100 12 100 10 100 2 7 1 0:00:02 0:00:01 0:00:01 7 "imported"