{ "dockerImages": { "grpc_stress_python" : { "buildScript": "tools/jenkins/build_interop_stress_image.sh", "dockerFileDir": "grpc_interop_stress_python" } }, "clientTemplates": { "baseTemplates": { "default": { "wrapperScriptPath": "/var/local/git/grpc/tools/gcp/stress_test/run_client.py", "pollIntervalSecs": 60, "clientArgs": { "num_channels_per_server":5, "num_stubs_per_channel":10, "test_cases": "empty_unary:1,large_unary:1,client_streaming:1,server_streaming:1,empty_stream:1", "metrics_port": 8081 }, "metricsPort": 8081, "metricsArgs": { "metrics_server_address": "localhost:8081", "total_only": "true" }, "env": { "PYTHONPATH": "/var/local/git/grpc/src/python/gens:/var/local/git/grpc/src/python/grpcio", "LD_LIBRARY_PATH":"/var/local/git/grpc/libs/opt" } } }, "templates": { "python_client": { "baseTemplate": "default", "stressClientCmd": [ "python", "/var/local/git/grpc/src/python/grpcio/tests/stress/client.py" ], "metricsClientCmd": ["/var/local/git/grpc/bins/opt/metrics_client"] } } }, "serverTemplates": { "baseTemplates":{ "default": { "wrapperScriptPath": "/var/local/git/grpc/tools/gcp/stress_test/run_server.py", "serverPort": 8080, "serverArgs": { "port": 8080 }, "env": { "PYTHONPATH": "/var/local/git/grpc/src/python/gens:/var/local/git/grpc/src/python/grpcio", "LD_LIBRARY_PATH":"/var/local/git/grpc/libs/opt" } } }, "templates": { "python_server": { "baseTemplate": "default", "stressServerCmd": [ "python", "/var/local/git/grpc/src/python/grpcio/tests/interop/server.py" ] } } }, "testMatrix": { "serverPodSpecs": { "python-stress-server": { "serverTemplate": "python_server", "dockerImage": "grpc_stress_python", "numInstances": 1 } }, "clientPodSpecs": { "python-stress-client": { "clientTemplate": "python_client", "dockerImage": "grpc_stress_python", "numInstances": 5, "serverPodSpec": "python-stress-server" } } }, "globalSettings": { "buildDockerImages": true, "pollIntervalSecs": 60, "testDurationSecs": 7200, "kubernetesProxyPort": 8011, "datasetIdNamePrefix": "stress_test_python", "summaryTableId": "summary", "qpsTableId": "qps", "podWarmupSecs": 60 } }