Starting test cluster... ./bin/ol new -path=testing/test-cluster Init OL dir at /root/open-lambda/testing/test-cluster Create lambda base at /root/open-lambda/testing/test-cluster/lambda (may take several minutes) Working Directory: /root/open-lambda/testing/test-cluster Worker Defaults: { "registry": "/root/open-lambda/testing/test-cluster/registry", "registry_cache_ms": 5000, "sandbox": "sock", "cluster_name": "/root/open-lambda/testing/test-cluster", "pip_mirror": "", "Pkgs_dir": "/root/open-lambda/testing/test-cluster/lambda/packages", "max_runners": 0, "handler_cache_size": 0, "import_cache_size": 0, "worker_dir": "/root/open-lambda/testing/test-cluster/worker", "SOCK_base_path": "/root/open-lambda/testing/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 ./bin/ol setconf -path=testing/test-cluster '{"registry": "/root/open-lambda/testing/registry"}' ./bin/ol setconf -path=testing/test-cluster '{"startup_pkgs": ["parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson"]}' touch imgs/test-cluster Killing worker if running... ./bin/ol kill -path=testing/test-cluster 2019/06/02 21:43:07 open /root/open-lambda/testing/test-cluster/worker.pid: no such file or directory Makefile:104: recipe for target 'test-sock-nocache' failed make: [test-sock-nocache] Error 1 (ignored) Starting worker... ./bin/ol setconf -path=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 0, "import_cache_size": 0, "cg_pool_size": 10}' ./bin/ol worker -path=testing/test-cluster --detach Started worker: pid 7292, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/06/02 21:43:07 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:09 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:11 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:13 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:15 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:17 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:19 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:21 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:23 Could not send GET to http://localhost:5000/status Worker ready. Requesting lambdas... curl -XPOST localhost:5000/run/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 9 --:--:-- --:--:-- --:--:-- 9 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 {} curl -XPOST localhost:5000/run/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:5000/run/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:5000/run/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 27 5 --:--:-- --:--:-- --:--:-- 27 "imported" Killing worker if running... ./bin/ol kill -path=testing/test-cluster Kill worker process with PID 7292 Starting worker... ./bin/ol setconf -path=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 10000000, "import_cache_size": 0, "cg_pool_size": 10}' ./bin/ol worker -path=testing/test-cluster --detach Started worker: pid 7462, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/06/02 21:43:29 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:31 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:33 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:35 Could not send GET to http://localhost:5000/status Worker ready. Requesting lambdas... curl -XPOST localhost:5000/run/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 9 9 --:--:-- --:--:-- --:--:-- 9 {} curl -XPOST localhost:5000/run/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 26 5 --:--:-- --:--:-- --:--:-- 26 100 12 100 10 100 2 26 5 --:--:-- --:--:-- --:--:-- 26 "imported" curl -XPOST localhost:5000/run/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 22 4 --:--:-- --:--:-- --:--:-- 22 "imported" curl -XPOST localhost:5000/run/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 21 4 --:--:-- --:--:-- --:--:-- 21 100 12 100 10 100 2 21 4 --:--:-- --:--:-- --:--:-- 21 "imported" Killing worker if running... ./bin/ol kill -path=testing/test-cluster Kill worker process with PID 7462 Starting worker... ./bin/ol setconf -path=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 0, "import_cache_size": 10000000, "cg_pool_size": 10}' ./bin/ol worker -path=testing/test-cluster --detach Started worker: pid 7590, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/06/02 21:43:38 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:40 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:42 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:44 Could not send GET to http://localhost:5000/status Worker ready. Requesting lambdas... curl -XPOST localhost:5000/run/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 87 87 --:--:-- --:--:-- --:--:-- 90 {} curl -XPOST localhost:5000/run/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:5000/run/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 --:--:-- --:--:-- --:--:-- 41 "imported" curl -XPOST localhost:5000/run/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 39 7 --:--:-- --:--:-- --:--:-- 39 "imported" Killing worker if running... ./bin/ol kill -path=testing/test-cluster Kill worker process with PID 7590 Starting worker... ./bin/ol setconf -path=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 10000000, "import_cache_size": 10000000, "cg_pool_size": 10}' ./bin/ol worker -path=testing/test-cluster --detach Started worker: pid 7725, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/06/02 21:43:47 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:49 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:51 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:53 Could not send GET to http://localhost:5000/status Worker ready. Requesting lambdas... curl -XPOST localhost:5000/run/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 86 86 --:--:-- --:--:-- --:--:-- 86 {} curl -XPOST localhost:5000/run/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 40 8 --:--:-- --:--:-- --:--:-- 41 "imported" curl -XPOST localhost:5000/run/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:5000/run/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 40 8 --:--:-- --:--:-- --:--:-- 40 "imported" Killing worker if running... ./bin/ol kill -path=testing/test-cluster Kill worker process with PID 7725 Starting worker... ./bin/ol setconf -path=testing/test-cluster '{"sandbox": "docker", "handler_cache_size": 0, "import_cache_size": 0, "cg_pool_size": 0}' ./bin/ol worker -path=testing/test-cluster --detach Started worker: pid 7863, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/06/02 21:43:56 Could not send GET to http://localhost:5000/status 2019/06/02 21:43:58 Could not send GET to http://localhost:5000/status 2019/06/02 21:44:00 Could not send GET to http://localhost:5000/status 2019/06/02 21:44:02 Could not send GET to http://localhost:5000/status Worker ready. Requesting lambdas... curl -XPOST localhost:5000/run/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:5000/run/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 12 100 10 100 2 6 1 0:00:02 0:00:01 0:00:01 6 "imported" curl -XPOST localhost:5000/run/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 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:5000/run/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 -path=testing/test-cluster Kill worker process with PID 7863 Starting worker... ./bin/ol setconf -path=testing/test-cluster '{"sandbox": "docker", "handler_cache_size": 10000000, "import_cache_size": 0, "cg_pool_size": 0}' ./bin/ol worker -path=testing/test-cluster --detach Started worker: pid 8858, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/06/02 21:44:11 Could not send GET to http://localhost:5000/status 2019/06/02 21:44:13 Could not send GET to http://localhost:5000/status 2019/06/02 21:44:15 Could not send GET to http://localhost:5000/status 2019/06/02 21:44:17 Could not send GET to http://localhost:5000/status Worker ready. Requesting lambdas... curl -XPOST localhost:5000/run/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 100 4 100 2 100 2 3 3 --:--:-- --:--:-- --:--:-- 3 {} curl -XPOST localhost:5000/run/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 9 1 0:00:02 0:00:01 0:00:01 9 100 12 100 10 100 2 9 1 0:00:02 0:00:01 0:00:01 9 "imported" curl -XPOST localhost:5000/run/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 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" curl -XPOST localhost:5000/run/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"