Starting test cluster... ./bin/admin new -cluster=testing/test-cluster Cluster Directory: /root/open-lambda/testing/test-cluster Worker Defaults: { "registry": "local", "sandbox": "docker", "registry_dir": "/root/open-lambda/testing/test-cluster/registry", "registry_server": "", "registry_access_key": "", "registry_secret_key": "", "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 } You may now start a cluster using the "workers" command ./bin/admin setconf -cluster=testing/test-cluster '{"registry_dir": "/root/open-lambda/testing/registry"}' ./bin/admin setconf -cluster=testing/test-cluster '{"startup_pkgs": ["parso", "jedi", "urllib3", "idna", "chardet", "certifi", "requests", "simplejson"]}' touch imgs/test-cluster Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Starting worker... ./bin/admin setconf -cluster=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 0, "import_cache_size": 0, "cg_pool_size": 10}' ./bin/admin workers -cluster=testing/test-cluster Started worker: pid 7486, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... At least one worker failed the status check At least one worker failed the status check At least one worker failed the status check At least one worker failed the status check At least one worker failed the status check At least one worker failed the status check At least one worker failed the status check 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 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 17 3 --:--:-- --:--:-- --:--:-- 17 "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 78 15 --:--:-- --:--:-- --:--:-- 78 100 12 100 10 100 2 78 15 --:--:-- --:--:-- --:--:-- 78 "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 67 13 --:--:-- --:--:-- --:--:-- 68 "imported" Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7486 Starting worker... ./bin/admin setconf -cluster=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 10000000, "import_cache_size": 0, "cg_pool_size": 10}' ./bin/admin workers -cluster=testing/test-cluster Started worker: pid 7661, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... At least one worker failed the status check At least one worker failed the status check At least one worker failed the status check 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 25 25 --:--:-- --:--:-- --:--:-- 25 {} 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 78 15 --:--:-- --:--:-- --:--:-- 78 "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 78 15 --:--:-- --:--:-- --:--:-- 78 "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 28 5 --:--:-- --:--:-- --:--:-- 28 100 12 100 10 100 2 28 5 --:--:-- --:--:-- --:--:-- 28 "imported" Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7661 Starting worker... ./bin/admin setconf -cluster=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 0, "import_cache_size": 10000000, "cg_pool_size": 10}' ./bin/admin workers -cluster=testing/test-cluster Started worker: pid 7797, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... At least one worker failed the status check At least one worker failed the status check At least one worker failed the status check 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 110 110 --:--:-- --:--:-- --:--:-- 117 {} 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 100 20 --:--:-- --:--:-- --:--:-- 101 "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 532 106 --:--:-- --:--:-- --:--:-- 555 "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 430 86 --:--:-- --:--:-- --:--:-- 434 "imported" Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7797 Starting worker... ./bin/admin setconf -cluster=testing/test-cluster '{"sandbox": "sock", "handler_cache_size": 10000000, "import_cache_size": 10000000, "cg_pool_size": 10}' ./bin/admin workers -cluster=testing/test-cluster Started worker: pid 7944, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... At least one worker failed the status check At least one worker failed the status check At least one worker failed the status check 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 110 110 --:--:-- --:--:-- --:--:-- 111 {} 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 131 26 --:--:-- --:--:-- --:--:-- 131 "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 491 98 --:--:-- --:--:-- --:--:-- 500 "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 415 83 --:--:-- --:--:-- --:--:-- 434 "imported" Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill worker process with PID 7944 Starting worker... ./bin/admin setconf -cluster=testing/test-cluster '{"sandbox": "docker", "handler_cache_size": 0, "import_cache_size": 0, "cg_pool_size": 0}' ./bin/admin workers -cluster=testing/test-cluster Started worker: pid 8091, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... At least one worker failed the status check At least one worker failed the status check At least one worker failed the status check 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 9 --:--:-- --:--:-- --:--:-- 9 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: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 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: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 20 4 --:--:-- --:--:-- --:--:-- 20 "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 16 3 --:--:-- --:--:-- --:--:-- 16 100 12 100 10 100 2 16 3 --:--:-- --:--:-- --:--:-- 16 "imported" Killing worker if running... ./bin/admin kill -cluster=testing/test-cluster;rm -rf testing/test-cluster/workers/* Kill container 03fcb14cafbd5354b1c038b4c9dbec67c06693562064b9fdb64fb231bb8685fd (handler) No such container: 9442fa7501c22eb2894561d305e8960253dcafe709e0c15c525f58c4702fad28 Starting worker... ./bin/admin setconf -cluster=testing/test-cluster '{"sandbox": "docker", "handler_cache_size": 10000000, "import_cache_size": 0, "cg_pool_size": 0}' ./bin/admin workers -cluster=testing/test-cluster Started worker: pid 9175, port 8080, log at /root/open-lambda/testing/test-cluster/logs/worker-0.out Waiting for worker to initialize... 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 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 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: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 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: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 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"