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/05/30 21:42:26 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 7305, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/05/30 21:42:26 Could not send GET to http://localhost:5000/status 2019/05/30 21:42:28 Could not send GET to http://localhost:5000/status 2019/05/30 21:42:30 Could not send GET to http://localhost:5000/status 2019/05/30 21:42:32 Could not send GET to http://localhost:5000/status 2019/05/30 21:42:34 Could not send GET to http://localhost:5000/status 2019/05/30 21:42:36 Could not send GET to http://localhost:5000/status 2019/05/30 21:42:38 Could not send GET to http://localhost:5000/status 2019/05/30 21:42:40 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 18 3 --:--:-- --:--:-- --:--:-- 18 "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 2 0 0 100 2 0 9 --:--:-- --:--:-- --:--:-- 9 100 12 100 10 100 2 27 5 --:--:-- --:--:-- --:--:-- 27 "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 26 5 --:--:-- --:--:-- --:--:-- 27 "imported" Killing worker if running... ./bin/ol kill -path=testing/test-cluster Kill worker process with PID 7305 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 7470, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/05/30 21:42:46 Could not send GET to http://localhost:5000/status 2019/05/30 21:42:48 Could not send GET to http://localhost:5000/status 2019/05/30 21:42:50 Could not send GET to http://localhost:5000/status 2019/05/30 21:42:52 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 13 13 --:--:-- --:--:-- --:--:-- 13 {} 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 9 --:--:-- --:--:-- --:--:-- 9 100 12 100 10 100 2 27 5 --:--:-- --:--:-- --:--:-- 27 "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 24 4 --:--:-- --:--:-- --:--:-- 24 "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 18 3 --:--:-- --:--:-- --:--:-- 18 100 12 100 10 100 2 18 3 --:--:-- --:--:-- --:--:-- 18 "imported" Killing worker if running... ./bin/ol kill -path=testing/test-cluster Kill worker process with PID 7470 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 7598, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/05/30 21:42:55 Could not send GET to http://localhost:5000/status 2019/05/30 21:42:57 Could not send GET to http://localhost:5000/status 2019/05/30 21:42:59 Could not send GET to http://localhost:5000/status 2019/05/30 21:43:01 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 93 93 --:--:-- --:--:-- --:--:-- 95 {} 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 42 8 --:--:-- --:--:-- --:--:-- 42 "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 41 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 2 0 0 100 2 0 9 --:--:-- --:--:-- --:--:-- 9 100 12 100 10 100 2 41 8 --:--:-- --:--:-- --:--:-- 41 "imported" Killing worker if running... ./bin/ol kill -path=testing/test-cluster Kill worker process with PID 7598 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 7734, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/05/30 21:43:04 Could not send GET to http://localhost:5000/status 2019/05/30 21:43:06 Could not send GET to http://localhost:5000/status 2019/05/30 21:43:08 Could not send GET to http://localhost:5000/status 2019/05/30 21:43:10 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 90 90 --:--:-- --:--:-- --:--:-- 95 {} 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 --:--:-- --:--:-- --:--:-- 40 "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 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 -path=testing/test-cluster Kill worker process with PID 7734 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 7871, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/05/30 21:43:13 Could not send GET to http://localhost:5000/status 2019/05/30 21:43:15 Could not send GET to http://localhost:5000/status 2019/05/30 21:43:17 Could not send GET to http://localhost:5000/status 2019/05/30 21:43:19 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 5 1 0:00:02 0:00:01 0:00:01 5 100 12 100 10 100 2 5 1 0:00:02 0:00:01 0:00:01 5 "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 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" Killing worker if running... ./bin/ol kill -path=testing/test-cluster Kill worker process with PID 7871 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 8860, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/05/30 21:43:28 Could not send GET to http://localhost:5000/status 2019/05/30 21:43:30 Could not send GET to http://localhost:5000/status 2019/05/30 21:43:32 Could not send GET to http://localhost:5000/status 2019/05/30 21:43:34 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 {} 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 9 --:--:-- --:--:-- --:--:-- 9 100 12 100 10 100 2 10 2 0:00:01 --:--:-- 0:00:01 10 "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 2 0 0 100 2 0 9 --:--:-- --:--:-- --:--:-- 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/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 12 2 0:00:01 --:--:-- 0:00:01 12 "imported"