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 7298, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/29 21:42:29 At least one worker failed the status check 2019/05/29 21:42:31 At least one worker failed the status check 2019/05/29 21:42:34 At least one worker failed the status check 2019/05/29 21:42:36 At least one worker failed the status check 2019/05/29 21:42:38 At least one worker failed the status check 2019/05/29 21:42:40 At least one worker failed the status check 2019/05/29 21:42:42 At least one worker failed the status check 2019/05/29 21:42: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 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 14 2 0:00:01 --:--:-- 0:00:01 14 "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 26 5 --:--:-- --:--:-- --:--:-- 26 100 12 100 10 100 2 26 5 --:--:-- --:--:-- --:--:-- 26 "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 26 5 --:--:-- --:--:-- --:--:-- 27 "imported" Killing worker if running... ./bin/ol kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7298 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 7464, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/29 21:42:49 At least one worker failed the status check 2019/05/29 21:42:51 At least one worker failed the status check 2019/05/29 21:42:53 At least one worker failed the status check 2019/05/29 21:42:55 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 13 13 --:--:-- --:--:-- --:--:-- 13 {} 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 27 5 --:--:-- --:--:-- --:--:-- 27 100 12 100 10 100 2 27 5 --:--:-- --:--:-- --:--:-- 27 "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 26 5 --:--:-- --:--:-- --:--:-- 26 "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 12 2 0:00:01 --:--:-- 0:00:01 12 100 12 100 10 100 2 12 2 0:00:01 --:--:-- 0:00:01 12 "imported" Killing worker if running... ./bin/ol kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7464 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 7596, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/29 21:42:59 At least one worker failed the status check 2019/05/29 21:43:01 At least one worker failed the status check 2019/05/29 21:43:03 At least one worker failed the status check 2019/05/29 21:43:05 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 89 89 --:--:-- --:--:-- --:--:-- 90 {} 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 39 7 --:--:-- --:--:-- --:--:-- 39 "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 41 8 --:--:-- --:--:-- --:--:-- 41 "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 41 8 --:--:-- --:--:-- --:--:-- 41 "imported" Killing worker if running... ./bin/ol kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7596 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 7733, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/29 21:43:08 At least one worker failed the status check 2019/05/29 21:43:10 At least one worker failed the status check 2019/05/29 21:43:12 At least one worker failed the status check 2019/05/29 21:43:14 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 89 89 --:--:-- --:--:-- --:--:-- 90 {} 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 41 8 --:--:-- --:--:-- --:--:-- 41 "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 40 8 --:--:-- --:--:-- --:--:-- 40 "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 40 8 --:--:-- --:--:-- --:--:-- 40 "imported" Killing worker if running... ./bin/ol kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7733 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 7873, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/29 21:43:17 At least one worker failed the status check 2019/05/29 21:43:19 At least one worker failed the status check 2019/05/29 21:43:21 At least one worker failed the status check 2019/05/29 21:43:23 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:03 --:--:-- 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 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" 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 10 2 0:00:01 --:--:-- 0:00:01 10 100 12 100 10 100 2 10 2 0:00:01 --:--:-- 0:00:01 10 "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 10 2 0:00:01 --:--:-- 0:00:01 10 100 12 100 10 100 2 10 2 0:00:01 --:--:-- 0:00:01 10 "imported" Killing worker if running... ./bin/ol kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill container 42349aaca5e5e2c93dbf6d7b3676a61520d760f8b1ec809f8102b1850470fa4b (handler) Kill worker process with PID 7873 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 8967, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 2019/05/29 21:43:32 At least one worker failed the status check 2019/05/29 21:43:34 At least one worker failed the status check 2019/05/29 21:43:36 At least one worker failed the status check 2019/05/29 21:43:38 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 3 3 --:--:-- --:--:-- --:--:-- 3 {} 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 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 2 0 0 100 2 0 9 --:--:-- --:--:-- --:--:-- 9 100 12 100 10 100 2 8 1 0:00:02 0:00:01 0:00:01 8 "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 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 12 100 10 100 2 7 1 0:00:02 0:00:01 0:00:01 7 "imported"