Starting test cluster... ./bin/ol new -cluster=testing/test-cluster Cluster Directory: /root/open-lambda/testing/test-cluster Worker Defaults: { "registry": "/root/open-lambda/testing/test-cluster/registry", "registry_cache_ms": 5000, "sandbox": "docker", "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/ol setconf -cluster=testing/test-cluster '{"registry": "/root/open-lambda/testing/registry"}' ./bin/ol setconf -cluster=testing/test-cluster '{"startup_pkgs": ["parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson"]}' touch imgs/test-cluster Killing worker if running... ./bin/ol kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Starting worker... ./bin/ol setconf -cluster=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 0, "import_cache_size": 0, "cg_pool_size": 10}' ./bin/ol workers -cluster=testing/test-cluster Started worker: pid 14540, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/28 17:39:12 At least one worker failed the status check 2019/05/28 17:39:14 At least one worker failed the status check 2019/05/28 17:39:16 At least one worker failed the status check 2019/05/28 17:39:18 At least one worker failed the status check 2019/05/28 17:39:20 At least one worker failed the status check 2019/05/28 17:39:22 At least one worker failed the status check 2019/05/28 17:39: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 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 19 3 --:--:-- --:--:-- --:--:-- 19 "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 65 13 --:--:-- --:--:-- --:--:-- 65 "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 62 12 --:--:-- --:--:-- --:--:-- 62 "imported" Killing worker if running... ./bin/ol kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 14540 Starting worker... ./bin/ol setconf -cluster=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 10000000, "import_cache_size": 0, "cg_pool_size": 10}' ./bin/ol workers -cluster=testing/test-cluster Started worker: pid 14715, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/28 17:39:30 At least one worker failed the status check 2019/05/28 17:39:32 At least one worker failed the status check 2019/05/28 17:39:34 At least one worker failed the status check 2019/05/28 17:39:36 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 21 21 --:--:-- --:--:-- --:--:-- 21 {} 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 68 13 --:--:-- --:--:-- --:--:-- 68 "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 64 12 --:--:-- --:--:-- --:--:-- 65 "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 63 12 --:--:-- --:--:-- --:--:-- 63 "imported" Killing worker if running... ./bin/ol kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 14715 Starting worker... ./bin/ol setconf -cluster=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 0, "import_cache_size": 10000000, "cg_pool_size": 10}' ./bin/ol workers -cluster=testing/test-cluster Started worker: pid 14857, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/28 17:39:38 At least one worker failed the status check 2019/05/28 17:39:40 At least one worker failed the status check 2019/05/28 17:39:42 At least one worker failed the status check 2019/05/28 17:39:44 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 56 56 --:--:-- --:--:-- --:--:-- 57 {} 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 99 19 --:--:-- --:--:-- --:--:-- 100 "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 113 22 --:--:-- --:--:-- --:--:-- 113 "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 112 22 --:--:-- --:--:-- --:--:-- 113 "imported" Killing worker if running... ./bin/ol kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 14857 Starting worker... ./bin/ol setconf -cluster=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 10000000, "import_cache_size": 10000000, "cg_pool_size": 10}' ./bin/ol workers -cluster=testing/test-cluster Started worker: pid 15007, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/28 17:39:47 At least one worker failed the status check 2019/05/28 17:39:49 At least one worker failed the status check 2019/05/28 17:39:51 At least one worker failed the status check 2019/05/28 17:39:53 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 56 56 --:--:-- --:--:-- --:--:-- 57 {} 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 105 21 --:--:-- --:--:-- --:--:-- 106 "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 103 20 --:--:-- --:--:-- --:--:-- 104 "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 101 20 --:--:-- --:--:-- --:--:-- 102 "imported" Killing worker if running... ./bin/ol kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 15007 Starting worker... ./bin/ol setconf -cluster=testing/test-cluster '{"sandbox": "docker", "handler_cache_size": 0, "import_cache_size": 0, "cg_pool_size": 0}' ./bin/ol workers -cluster=testing/test-cluster Started worker: pid 15159, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/28 17:39:55 At least one worker failed the status check 2019/05/28 17:39:57 At least one worker failed the status check 2019/05/28 17:39:59 At least one worker failed the status check 2019/05/28 17:40:01 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 2 0 0 0 2 0 0 --:--:-- 0:00:03 --:--:-- 0 100 4 0 2 0 2 0 0 --:--:-- 0:00:04 --:--:-- 0 100 4 0 2 0 2 0 0 --:--:-- 0:00:04 --:--:-- 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 2 0 0 100 2 0 9 --:--:-- --:--:-- --:--:-- 9 100 12 100 10 100 2 10 2 0:00:01 --:--:-- 0:00:01 10 "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 --:--:-- --:--:-- --:--:-- 18 100 12 100 10 100 2 18 3 --:--:-- --:--:-- --:--:-- 18 "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 20 4 --:--:-- --:--:-- --:--:-- 20 "imported" Killing worker if running... ./bin/ol kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill container dab9adc09ebfa8bf042ab8a8a9dae90e1ac9fac8124534bdbcb32e295b0171d1 (handler) Kill container 03fc8760494698d1da9e60a25d786b4ab2c404dd190f17b7108bc19f41b87d65 (handler) Container not running: 03fc8760494698d1da9e60a25d786b4ab2c404dd190f17b7108bc19f41b87d65 Failed to kill container 03fc8760494698d1da9e60a25d786b4ab2c404dd190f17b7108bc19f41b87d65 (handler). May require manual cleanup. 2019/05/28 17:40:10 No such container: 719b54ffc0e971dcb340587e5447506fd41b20d6cee0b03c41e82d3ae010cbb1 Starting worker... ./bin/ol setconf -cluster=testing/test-cluster '{"sandbox": "docker", "handler_cache_size": 10000000, "import_cache_size": 0, "cg_pool_size": 0}' ./bin/ol workers -cluster=testing/test-cluster Started worker: pid 16256, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 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 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 2 0 0 0 2 0 0 --:--:-- 0:00:03 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:04 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:05 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:06 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:07 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:08 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:09 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:10 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:11 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:12 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:13 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:14 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:15 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:16 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:17 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:18 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:19 --:--:-- 0 100 2 0 0 0 2 0 0 --:--:-- 0:00:20 --:--:-- 0 100 49 100 47 0 2 2 0 0:00:23 0:00:20 0:00:03 10 100 49 100 47 0 2 2 0 0:00:23 0:00:20 0:00:03 13 instance server failed to initialize after 20s 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 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 13 2 0:00:01 --:--:-- 0:00:01 13 100 12 100 10 100 2 13 2 0:00:01 --:--:-- 0:00:01 13 "imported"