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/31 21:43:38 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 7309, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/05/31 21:43:38 Could not send GET to http://localhost:5000/status 2019/05/31 21:43:40 Could not send GET to http://localhost:5000/status 2019/05/31 21:43:42 Could not send GET to http://localhost:5000/status 2019/05/31 21:43:44 Could not send GET to http://localhost:5000/status 2019/05/31 21:43:46 Could not send GET to http://localhost:5000/status 2019/05/31 21:43:48 Could not send GET to http://localhost:5000/status 2019/05/31 21:43:50 Could not send GET to http://localhost:5000/status 2019/05/31 21:43:52 Could not send GET to http://localhost:5000/status 2019/05/31 21:43:54 Could not send GET to http://localhost:5000/status 2019/05/31 21:43:56 Could not send GET to http://localhost:5000/status 2019/05/31 21:43:58 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:00 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 4 0 2 0 2 0 0 --:--:-- 0:00:02 --:--:-- 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 12 100 10 100 2 19 3 --:--:-- --:--:-- --:--:-- 19 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 19 3 --:--:-- --:--:-- --:--:-- 19 "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 --:--:-- --:--:-- --:--:-- 26 100 12 100 10 100 2 26 5 --:--:-- --:--:-- --:--:-- 26 "imported" Killing worker if running... ./bin/ol kill -path=testing/test-cluster Kill worker process with PID 7309 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 7499, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/05/31 21:44:07 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:09 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:11 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:13 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 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 16 3 --:--:-- --:--:-- --:--:-- 16 100 12 100 10 100 2 16 3 --:--:-- --:--:-- --:--:-- 16 "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 23 4 --:--:-- --:--:-- --:--:-- 23 "imported" Killing worker if running... ./bin/ol kill -path=testing/test-cluster Kill worker process with PID 7499 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 7628, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/05/31 21:44:17 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:19 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:21 Could not send GET to http://localhost:5000/status 2019/05/31 21:44: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 4 100 2 100 2 88 88 --:--:-- --:--:-- --:--:-- 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 2 0 0 100 2 0 9 --:--:-- --:--:-- --:--:-- 9 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 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 7628 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 7763, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/05/31 21:44:26 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:28 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:30 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:32 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 2 0 0 100 2 0 9 --:--:-- --:--:-- --:--:-- 9 100 12 100 10 100 2 41 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 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 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 7763 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 7901, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/05/31 21:44:35 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:37 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:39 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:41 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 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 7 1 0:00:02 0:00:01 0:00:01 7 "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 7901 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 8903, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/05/31 21:44:49 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:51 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:53 Could not send GET to http://localhost:5000/status 2019/05/31 21:44:55 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 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 100 12 100 10 100 2 7 1 0:00:02 0:00:01 0:00:01 7 "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 13 2 0:00:01 --:--:-- 0:00:01 13 "imported"