xrally / xrally-kubernetes

A set of xRally plugins to run workloads against Kubernetes platform.
Apache License 2.0
16 stars 8 forks source link

Failure in samples/scenario/create-check-and-delete-pod-with-cluster-ip-service-custom-endpoints.yaml #47

Open msidana opened 5 years ago

msidana commented 5 years ago

Test scenario fails with below error:

2019-10-30 10:46:02.888 249762 INFO rally.task.context [-] Task 774dbe1a-d5cf-43a5-bad4-61d20baf3b26 | Context namespaces@kubernetes setup()  finished in 71.32 msec
2019-10-30 10:46:02.911 249899 INFO rally.task.runner [-] Task 774dbe1a-d5cf-43a5-bad4-61d20baf3b26 | ITER: 1 START
2019-10-30 10:46:02.925 249899 INFO rally.task.runner [-] Task 774dbe1a-d5cf-43a5-bad4-61d20baf3b26 | ITER: 1 END: Error TypeError: run() got an unexpected keyword argument 'custom_endpoint'
Traceback (most recent call last):
  File "/root/rally-plugins/venv/local/lib/python2.7/site-packages/rally/task/runner.py", line 71, in _run_scenario_once
    getattr(scenario_inst, method_name)(**scenario_kwargs)
TypeError: run() got an unexpected keyword argument 'custom_endpoint'

Task description:

test scenario Kubernetes.create_check_and_delete_pod_with_cluster_ip_service
args position 0
args values:
{
  "runner": {
    "concurrency": 1, 
    "times": 2
  }, 
  "contexts": {
    "namespaces": {
      "count": 3, 
      "with_serviceaccount": true
    }
  }, 
  "args": {
    "custom_endpoint": true, 
    "image": "gcr.io/google-samples/hello-go-gke:1.0", 
    "protocol": "TCP", 
    "port": 80
  }, 
  "sla": {
    "failure_rate": {
      "max": 0
    }
  }, 
  "hooks": []
}
msidana commented 4 years ago

Can you please confirm this bug ?