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/01 21:43:00 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 7306, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/06/01 21:43:00 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:02 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:04 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:06 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:08 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:10 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:12 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:14 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 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: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 15 3 --:--:-- --:--:-- --:--:-- 15 "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 27 5 --:--:-- --:--:-- --:--:-- 27 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 27 5 --:--:-- --:--:-- --:--:-- 28 "imported" Killing worker if running... ./bin/ol kill -path=testing/test-cluster Kill worker process with PID 7306 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 7471, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/06/01 21:43:19 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:21 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:23 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:25 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 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 14 2 0:00:01 --:--:-- 0:00:01 14 "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 21 4 --:--:-- --:--:-- --:--:-- 21 "imported" Killing worker if running... ./bin/ol kill -path=testing/test-cluster Kill worker process with PID 7471 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 7599, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/06/01 21:43:29 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:31 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:33 Could not send GET to http://localhost:5000/status 2019/06/01 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 92 92 --:--:-- --:--:-- --:--:-- 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 42 8 --:--:-- --:--:-- --:--:-- 42 "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 7599 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/06/01 21:43:38 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:40 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:42 Could not send GET to http://localhost:5000/status 2019/06/01 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 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 41 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 --:--:-- --:--:-- --:--:-- 42 "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 42 8 --:--:-- --:--:-- --:--:-- 42 100 12 100 10 100 2 42 8 --:--:-- --:--:-- --:--:-- 42 "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/06/01 21:43:47 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:49 Could not send GET to http://localhost:5000/status 2019/06/01 21:43:51 Could not send GET to http://localhost:5000/status 2019/06/01 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 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 4 0 2 0 2 0 0 --:--:-- 0:00:04 --:--:-- 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 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 "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 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 8873, port 5000, log at /root/open-lambda/testing/test-cluster/worker.out Waiting for worker to initialize... 2019/06/01 21:44:03 Could not send GET to http://localhost:5000/status 2019/06/01 21:44:05 Could not send GET to http://localhost:5000/status 2019/06/01 21:44:07 Could not send GET to http://localhost:5000/status 2019/06/01 21:44:09 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 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 1 0:00:02 0:00:01 0:00:01 1 100 12 100 10 100 2 8 1 0:00:02 0:00:01 0:00:01 8 "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 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" 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 100 12 100 10 100 2 13 2 0:00:01 --:--:-- 0:00:01 13 "imported"