Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sh-4.2$ cat /tmp/out
---
apiVersion: v1
kind: ConfigMap
metadata:
name: uperf-test-00000
namespace: 'foo'
data:
uperf-stream-tcp-64-1 : |
<?xml version=1.0?>
<profile name="stream-tcp-64-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=tcp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="count=16 size=64"/>
</transaction>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-stream-tcp-1024-1 : |
<?xml version=1.0?>
<profile name="stream-tcp-1024-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=tcp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="count=16 size=1024"/>
</transaction>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-stream-tcp-16384-1 : |
<?xml version=1.0?>
<profile name="stream-tcp-16384-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=tcp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="count=16 size=16384"/>
</transaction>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-stream-udp-64-1 : |
<?xml version=1.0?>
<profile name="stream-udp-64-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=udp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="count=16 size=64"/>
</transaction>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-stream-udp-1024-1 : |
<?xml version=1.0?>
<profile name="stream-udp-1024-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=udp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="count=16 size=1024"/>
</transaction>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-stream-udp-16384-1 : |
<?xml version=1.0?>
<profile name="stream-udp-16384-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=udp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="count=16 size=16384"/>
</transaction>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-rr-tcp-64-1 : |
<?xml version=1.0?>
<profile name="rr-tcp-64-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=tcp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="size=64"/>
<flowop type=read options="size=64"/>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-rr-tcp-1024-1 : |
<?xml version=1.0?>
<profile name="rr-tcp-1024-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=tcp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="size=1024"/>
<flowop type=read options="size=1024"/>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-rr-tcp-16384-1 : |
<?xml version=1.0?>
<profile name="rr-tcp-16384-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=tcp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="size=16384"/>
<flowop type=read options="size=16384"/>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-rr-udp-64-1 : |
<?xml version=1.0?>
<profile name="rr-udp-64-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=udp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="size=64"/>
<flowop type=read options="size=64"/>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-rr-udp-1024-1 : |
<?xml version=1.0?>
<profile name="rr-udp-1024-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=udp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="size=1024"/>
<flowop type=read options="size=1024"/>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-rr-udp-16384-1 : |
<?xml version=1.0?>
<profile name="rr-udp-16384-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=udp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="size=16384"/>
<flowop type=read options="size=16384"/>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
sh-4.2$ cat /tmp/out-runner
---
apiVersion: v1
kind: ConfigMap
metadata:
name: uperf-test-0000
namespace: 'test'
data:
uperf-stream-tcp-64-1 : |
<?xml version=1.0?>
<profile name="stream-tcp-64-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=tcp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="count=16 size=64"/>
</transaction>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-stream-tcp-1024-1 : |
<?xml version=1.0?>
<profile name="stream-tcp-1024-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=tcp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="count=16 size=1024"/>
</transaction>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-stream-tcp-16384-1 : |
<?xml version=1.0?>
<profile name="stream-tcp-16384-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=tcp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="count=16 size=16384"/>
</transaction>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-stream-udp-64-1 : |
<?xml version=1.0?>
<profile name="stream-udp-64-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=udp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="count=16 size=64"/>
</transaction>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-stream-udp-1024-1 : |
<?xml version=1.0?>
<profile name="stream-udp-1024-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=udp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="count=16 size=1024"/>
</transaction>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-stream-udp-16384-1 : |
<?xml version=1.0?>
<profile name="stream-udp-16384-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=udp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="count=16 size=16384"/>
</transaction>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-rr-tcp-64-1 : |
<?xml version=1.0?>
<profile name="rr-tcp-64-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=tcp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="size=64"/>
<flowop type=read options="size=64"/>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-rr-tcp-1024-1 : |
<?xml version=1.0?>
<profile name="rr-tcp-1024-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=tcp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="size=1024"/>
<flowop type=read options="size=1024"/>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-rr-tcp-16384-1 : |
<?xml version=1.0?>
<profile name="rr-tcp-16384-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=tcp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="size=16384"/>
<flowop type=read options="size=16384"/>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-rr-udp-64-1 : |
<?xml version=1.0?>
<profile name="rr-udp-64-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=udp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="size=64"/>
<flowop type=read options="size=64"/>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-rr-udp-1024-1 : |
<?xml version=1.0?>
<profile name="rr-udp-1024-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=udp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="size=1024"/>
<flowop type=read options="size=1024"/>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
uperf-rr-udp-16384-1 : |
<?xml version=1.0?>
<profile name="rr-udp-16384-1">
<group nthreads="1">
<transaction iterations="1">
<flowop type="connect" options="remotehost=$h protocol=udp"/>
</transaction>
<transaction duration="15">
<flowop type=write options="size=16384"/>
<flowop type=read options="size=16384"/>
<transaction iterations="1">
<flowop type=disconnect />
</transaction>
</group>
</profile>
This file has been truncated, but you can view the full file.
Setting up watches. Beware: since -r was given, this may take a while!
Watches established.
/tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/uperf-benchmark/artifacts/7179011521996514217//stdout
ansible-playbook 2.7.10
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/usr/share/ansible/openshift']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 2.7.5 (default, Oct 30 2018, 23:45:53) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
Using /etc/ansible/ansible.cfg as config file
setting up inventory plugins
/tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/uperf-benchmark/inventory/hosts did not meet host_list requirements, check plugin documentation if this is unexpected
/tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/uperf-benchmark/inventory/hosts did not meet script requirements, check plugin documentation if this is unexpected
Set default localhost to localhost
Parsed /tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/uperf-benchmark/inventory/hosts inventory source with ini plugin
Parsed /tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/uperf-benchmark/inventory/hosts inventory source with ini plugin
Loading callback plugin awx_display of type stdout, v2.0 from /usr/lib/python2.7/site-packages/ansible_runner/display_callback/module.pyc
PLAYBOOK: playbook.yml *********************************************************
1 plays in /opt/ansible/playbook.yml
PLAY [localhost] ***************************************************************
META: ran handlers
TASK [Get state] ***************************************************************
task path: /opt/ansible/playbook.yml:5
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansible-operator
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926904.4-116927912589884 `" && echo ansible-tmp-1566926904.4-116927912589884="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926904.4-116927912589884 `" ) && sleep 0'
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/basic.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/k8s/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/k8s/common.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/parsing/convert_bool.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/_collections_compat.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/six/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/_text.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/parsing/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/pycompat24.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/process.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/file.py
Using module file /usr/lib/python2.7/site-packages/ansible/modules/clustering/k8s/k8s_facts.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-25j_VdmZ/tmpjkEfPS TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926904.4-116927912589884/AnsiballZ_k8s_facts.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926904.4-116927912589884/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926904.4-116927912589884/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926904.4-116927912589884/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926904.4-116927912589884/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "ripsaw.cloudbulldozer.io/v1alpha1",
"cert_file": null,
"context": null,
"field_selectors": [],
"host": null,
"key_file": null,
"kind": "Benchmark",
"kubeconfig": null,
"label_selectors": [],
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"username": null,
"verify_ssl": null
}
},
"resources": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:23Z",
"generation": 1,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"resourceVersion": "6116944",
"selfLink": "/apis/ripsaw.cloudbulldozer.io/v1alpha1/namespaces/my-ripsaw/benchmarks/uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"workload": {
"args": {
"hostnetwork": false,
"nthrs": [
1
],
"pair": 1,
"pin": false,
"pin_client": "node-1",
"pin_server": "node-0",
"protos": [
"tcp",
"udp"
],
"runtime": 15,
"samples": 1,
"serviceip": false,
"sizes": [
64,
1024,
16384
],
"test_types": [
"stream",
"rr"
]
},
"name": "uperf"
}
}
}
]
}
TASK [debug] *******************************************************************
task path: /opt/ansible/playbook.yml:13
ok: [localhost] => {
"msg": {
"changed": false,
"failed": false,
"resources": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:23Z",
"generation": 1,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"resourceVersion": "6116944",
"selfLink": "/apis/ripsaw.cloudbulldozer.io/v1alpha1/namespaces/my-ripsaw/benchmarks/uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"workload": {
"args": {
"hostnetwork": false,
"nthrs": [
1
],
"pair": 1,
"pin": false,
"pin_client": "node-1",
"pin_server": "node-0",
"protos": [
"tcp",
"udp"
],
"runtime": 15,
"samples": 1,
"serviceip": false,
"sizes": [
64,
1024,
16384
],
"test_types": [
"stream",
"rr"
]
},
"name": "uperf"
}
}
}
]
}
}
TASK [include_role : uuid] *****************************************************
task path: /opt/ansible/playbook.yml:18
TASK [uuid : Get files] ********************************************************
task path: /opt/ansible/roles/uuid/tasks/main.yml:2
ok: [localhost] => {
"ansible_facts": {
"uuid": "6f5a15c5-0532-509b-a349-09bb8510a17c"
},
"changed": false
}
TASK [uuid : set the truncated uuid] *******************************************
task path: /opt/ansible/roles/uuid/tasks/main.yml:5
ok: [localhost] => {
"ansible_facts": {
"trunc_uuid": "6f5a15c5"
},
"changed": false
}
TASK [uuid : debug] ************************************************************
task path: /opt/ansible/roles/uuid/tasks/main.yml:8
ok: [localhost] => {
"msg": " The results of current execution of the workload uperf will be associated with uuid: 6f5a15c5-0532-509b-a349-09bb8510a17c"
}
TASK [Setting the uuid for the benchmark] **************************************
task path: /opt/ansible/playbook.yml:21
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansible-operator
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926905.53-114646594895879 `" && echo ansible-tmp-1566926905.53-114646594895879="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926905.53-114646594895879 `" ) && sleep 0'
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/basic.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/k8s/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/k8s/common.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/parsing/convert_bool.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/_collections_compat.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/six/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/_text.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/parsing/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/pycompat24.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/process.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/file.py
Using module file /usr/share/ansible/openshift/k8s_status.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-25j_VdmZ/tmpjx1CiJ TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926905.53-114646594895879/AnsiballZ_k8s_status.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926905.53-114646594895879/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926905.53-114646594895879/AnsiballZ_k8s_status.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926905.53-114646594895879/AnsiballZ_k8s_status.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926905.53-114646594895879/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "ripsaw.cloudbulldozer.io/v1alpha1",
"cert_file": null,
"conditions": null,
"context": null,
"force": false,
"host": null,
"key_file": null,
"kind": "Benchmark",
"kubeconfig": null,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"status": {
"complete": false,
"suuid": "6f5a15c5",
"uuid": "6f5a15c5-0532-509b-a349-09bb8510a17c"
},
"username": null,
"verify_ssl": null
}
},
"result": {
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:23Z",
"generation": 1,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"resourceVersion": "6116949",
"selfLink": "/apis/ripsaw.cloudbulldozer.io/v1alpha1/namespaces/my-ripsaw/benchmarks/uperf-benchmark/status",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"workload": {
"args": {
"hostnetwork": false,
"nthrs": [
1
],
"pair": 1,
"pin": false,
"pin_client": "node-1",
"pin_server": "node-0",
"protos": [
"tcp",
"udp"
],
"runtime": 15,
"samples": 1,
"serviceip": false,
"sizes": [
64,
1024,
16384
],
"test_types": [
"stream",
"rr"
]
},
"name": "uperf"
}
},
"status": {
"complete": false,
"suuid": "6f5a15c5",
"uuid": "6f5a15c5-0532-509b-a349-09bb8510a17c"
}
}
}
TASK [Get updated state] *******************************************************
task path: /opt/ansible/playbook.yml:32
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansible-operator
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926906.37-270291084536306 `" && echo ansible-tmp-1566926906.37-270291084536306="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926906.37-270291084536306 `" ) && sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/clustering/k8s/k8s_facts.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-25j_VdmZ/tmpPgrtA6 TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926906.37-270291084536306/AnsiballZ_k8s_facts.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926906.37-270291084536306/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926906.37-270291084536306/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926906.37-270291084536306/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926906.37-270291084536306/ > /dev/null 2>&1 && sleep 0'
"changed": false,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "ripsaw.cloudbulldozer.io/v1alpha1",
"cert_file": null,
"context": null,
"field_selectors": [],
"host": null,
"key_file": null,
"kind": "Benchmark",
"kubeconfig": null,
"label_selectors": [],
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"username": null,
"verify_ssl": null
}
},
"resources": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:23Z",
"generation": 1,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"resourceVersion": "6116949",
"selfLink": "/apis/ripsaw.cloudbulldozer.io/v1alpha1/namespaces/my-ripsaw/benchmarks/uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"workload": {
"args": {
"hostnetwork": false,
"nthrs": [
1
],
"pair": 1,
"pin": false,
"pin_client": "node-1",
"pin_server": "node-0",
"protos": [
ok: [localhost] => {
"changed": false,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "ripsaw.cloudbulldozer.io/v1alpha1",
"cert_file": null,
"context": null,
"field_selectors": [],
"host": null,
"key_file": null,
"kind": "Benchmark",
"kubeconfig": null,
"label_selectors": [],
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"username": null,
"verify_ssl": null
}
},
"resources": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:23Z",
"generation": 1,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"resourceVersion": "6116949",
"selfLink": "/apis/ripsaw.cloudbulldozer.io/v1alpha1/namespaces/my-ripsaw/benchmarks/uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"workload": {
"args": {
"hostnetwork": false,
"nthrs": [
1
],
"pair": 1,
"pin": false,
"pin_client": "node-1",
"pin_server": "node-0",
"protos": [
"tcp",
"udp"
],
"runtime": 15,
"samples": 1,
"serviceip": false,
"sizes": [
64,
1024,
16384
],
"test_types": [
"stream",
"rr"
]
},
"name": "uperf"
}
},
"status": {
"complete": false,
"suuid": "6f5a15c5",
"uuid": "6f5a15c5-0532-509b-a349-09bb8510a17c"
}
}
]
}
TASK [Get state] ***************************************************************
task path: /opt/ansible/playbook.yml:41
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansible-operator
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926907.01-210510888964760 `" && echo ansible-tmp-1566926907.01-210510888964760="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926907.01-210510888964760 `" ) && sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/clustering/k8s/k8s_facts.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-25j_VdmZ/tmpjYao7U TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926907.01-210510888964760/AnsiballZ_k8s_facts.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926907.01-210510888964760/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926907.01-210510888964760/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926907.01-210510888964760/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926907.01-210510888964760/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "ripsaw.cloudbulldozer.io/v1alpha1",
"cert_file": null,
"context": null,
"field_selectors": [],
"host": null,
"key_file": null,
"kind": "Benchmark",
"kubeconfig": null,
"label_selectors": [],
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"username": null,
"verify_ssl": null
}
},
"resources": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:23Z",
"generation": 1,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"resourceVersion": "6116949",
"selfLink": "/apis/ripsaw.cloudbulldozer.io/v1alpha1/namespaces/my-ripsaw/benchmarks/uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"workload": {
"args": {
"hostnetwork": false,
"nthrs": [
1
],
"pair": 1,
"pin": false,
"pin_client": "node-1",
"pin_server": "node-0",
"protos": [
"tcp",
"udp"
],
"runtime": 15,
"samples": 1,
"serviceip": false,
"sizes": [
64,
1024,
16384
],
"test_types": [
"stream",
"rr"
]
},
"name": "uperf"
}
},
"status": {
"complete": false,
"suuid": "6f5a15c5",
"uuid": "6f5a15c5-0532-509b-a349-09bb8510a17c"
}
}
]
}
TASK [debug] *******************************************************************
task path: /opt/ansible/playbook.yml:52
ok: [localhost] => {
"msg": {
"changed": false,
"failed": false,
"resources": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:23Z",
"generation": 1,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"resourceVersion": "6116949",
"selfLink": "/apis/ripsaw.cloudbulldozer.io/v1alpha1/namespaces/my-ripsaw/benchmarks/uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"workload": {
"args": {
"hostnetwork": false,
"nthrs": [
1
],
"pair": 1,
"pin": false,
"pin_client": "node-1",
"pin_server": "node-0",
"protos": [
"tcp",
"udp"
],
"runtime": 15,
"samples": 1,
"serviceip": false,
"sizes": [
64,
1024,
16384
],
"test_types": [
"stream",
"rr"
]
},
"name": "uperf"
}
},
"status": {
"complete": false,
"suuid": "6f5a15c5",
"uuid": "6f5a15c5-0532-509b-a349-09bb8510a17c"
}
}
]
}
}
TASK [set_fact] ****************************************************************
task path: /opt/ansible/playbook.yml:55
ok: [localhost] => {
"ansible_facts": {
"trunc_uuid": "6f5a15c5",
"uuid": "6f5a15c5-0532-509b-a349-09bb8510a17c"
},
"changed": false
}
TASK [include_role : uperf-bench] **********************************************
task path: /opt/ansible/playbook.yml:59
TASK [uperf-bench : Get current state] *****************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:3
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansible-operator
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926907.8-238877465022920 `" && echo ansible-tmp-1566926907.8-238877465022920="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926907.8-238877465022920 `" ) && sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/clustering/k8s/k8s_facts.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-25j_VdmZ/tmp86Z1wS TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926907.8-238877465022920/AnsiballZ_k8s_facts.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926907.8-238877465022920/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926907.8-238877465022920/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926907.8-238877465022920/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926907.8-238877465022920/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "ripsaw.cloudbulldozer.io/v1alpha1",
"cert_file": null,
"context": null,
"field_selectors": [],
"host": null,
"key_file": null,
"kind": "Benchmark",
"kubeconfig": null,
"label_selectors": [],
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"username": null,
"verify_ssl": null
}
},
"resources": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:23Z",
"generation": 1,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"resourceVersion": "6116949",
"selfLink": "/apis/ripsaw.cloudbulldozer.io/v1alpha1/namespaces/my-ripsaw/benchmarks/uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"workload": {
"args": {
"hostnetwork": false,
"nthrs": [
1
],
"pair": 1,
"pin": false,
"pin_client": "node-1",
"pin_server": "node-0",
"protos": [
"tcp",
"udp"
],
"runtime": 15,
"samples": 1,
"serviceip": false,
"sizes": [
64,
1024,
16384
],
"test_types": [
"stream",
"rr"
]
},
"name": "uperf"
}
},
"status": {
"complete": false,
"suuid": "6f5a15c5",
"uuid": "6f5a15c5-0532-509b-a349-09bb8510a17c"
}
}
]
}
TASK [uperf-bench : k8s_status] ************************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:11
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansible-operator
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926908.49-192118869614914 `" && echo ansible-tmp-1566926908.49-192118869614914="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926908.49-192118869614914 `" ) && sleep 0'
Using module file /usr/share/ansible/openshift/k8s_status.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-25j_VdmZ/tmpjPFlnx TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926908.49-192118869614914/AnsiballZ_k8s_status.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926908.49-192118869614914/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926908.49-192118869614914/AnsiballZ_k8s_status.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926908.49-192118869614914/AnsiballZ_k8s_status.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926908.49-192118869614914/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
"changed": true,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "ripsaw.cloudbulldozer.io/v1alpha1",
"cert_file": null,
"conditions": null,
"context": null,
"force": false,
"host": null,
"key_file": null,
"kind": "Benchmark",
"kubeconfig": null,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"status": {
"complete": false,
"state": "Building"
},
"username": null,
"verify_ssl": null
}
},
"result": {
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:23Z",
"generation": 1,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"resourceVersion": "6116952",
"selfLink": "/apis/ripsaw.cloudbulldozer.io/v1alpha1/namespaces/my-ripsaw/benchmarks/uperf-benchmark/status",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"workload": {
"args": {
"hostnetwork": false,
"nthrs": [
1
],
"pair": 1,
"pin": false,
"pin_client": "node-1",
"pin_server": "node-0",
"protos": [
"tcp",
"udp"
],
"runtime": 15,
"samples": 1,
"serviceip": false,
"sizes": [
64,
1024,
16384
],
"test_types": [
"stream",
"rr"
]
},
"name": "uperf"
}
},
"status": {
"complete": false,
"state": "Building",
"suuid": "6f5a15c5",
"uuid": "6f5a15c5-0532-509b-a349-09bb8510a17c"
}
}
}
TASK [uperf-bench : Get current state - If it has changed] *********************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:21
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansible-operator
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926909.13-191585258300338 `" && echo ansible-tmp-1566926909.13-191585258300338="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926909.13-191585258300338 `" ) && sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/clustering/k8s/k8s_facts.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-25j_VdmZ/tmprCpFea TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926909.13-191585258300338/AnsiballZ_k8s_facts.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926909.13-191585258300338/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926909.13-191585258300338/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926909.13-191585258300338/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926909.13-191585258300338/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "ripsaw.cloudbulldozer.io/v1alpha1",
"cert_file": null,
"context": null,
"field_selectors": [],
"host": null,
"key_file": null,
"kind": "Benchmark",
"kubeconfig": null,
"label_selectors": [],
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"username": null,
"verify_ssl": null
}
},
"resources": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:23Z",
"generation": 1,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"resourceVersion": "6116952",
"selfLink": "/apis/ripsaw.cloudbulldozer.io/v1alpha1/namespaces/my-ripsaw/benchmarks/uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"workload": {
"args": {
"hostnetwork": false,
"nthrs": [
1
],
"pair": 1,
"pin": false,
"pin_client": "node-1",
"pin_server": "node-0",
"protos": [
"tcp",
"udp"
],
"runtime": 15,
"samples": 1,
"serviceip": false,
"sizes": [
64,
1024,
16384
],
"test_types": [
"stream",
"rr"
]
},
"name": "uperf"
}
},
"status": {
"complete": false,
"state": "Building",
"suuid": "6f5a15c5",
"uuid": "6f5a15c5-0532-509b-a349-09bb8510a17c"
}
}
]
}
TASK [uperf-bench : Create service for server pods] ****************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:31
skipping: [localhost] => (item=0) => {
"changed": false,
"item": "0",
"skip_reason": "Conditional result was False"
}
TASK [uperf-bench : Start Server(s)] *******************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:37
looking for "server.yml.j2" at "/opt/ansible/roles/uperf-bench/templates/server.yml.j2"
File lookup using /opt/ansible/roles/uperf-bench/templates/server.yml.j2 as file
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansible-operator
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926909.91-81118852612976 `" && echo ansible-tmp-1566926909.91-81118852612976="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926909.91-81118852612976 `" ) && sleep 0'
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/basic.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/k8s/raw.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/k8s/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/parsing/convert_bool.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/_collections_compat.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/six/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/_text.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/parsing/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/pycompat24.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/process.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/file.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/dict_transformations.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/k8s/common.py
Using module file /usr/lib/python2.7/site-packages/ansible/modules/clustering/k8s/k8s.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-25j_VdmZ/tmppar76v TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926909.91-81118852612976/AnsiballZ_k8s.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926909.91-81118852612976/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926909.91-81118852612976/AnsiballZ_k8s.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926909.91-81118852612976/AnsiballZ_k8s.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926909.91-81118852612976/ > /dev/null 2>&1 && sleep 0'
"changed": true,
"invocation": {
"module_args": {
"api_key": null,
"cert_file": null,
"context": null,
"force": false,
"host": null,
"key_file": null,
"kubeconfig": null,
"merge_type": null,
"password": null,
"ssl_ca_cert": null,
"state": "present",
"username": null,
"verify_ssl": null
}
},
"item": "0",
"method": "create",
"result": {
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:30Z",
"labels": {
"app": "uperf-bench-server-0-6f5a15c5",
"type": "uperf-bench-server-6f5a15c5"
},
"name": "uperf-server-0-6f5a15c5",
"namespace": "my-ripsaw",
"ownerReferences": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"name": "uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
}
],
"resourceVersion": "6116957",
"selfLink": "/api/v1/namespaces/my-ripsaw/pods/uperf-server-0-6f5a15c5",
"uid": "16767cab-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"containers": [
{
"args": [
"uperf -s -v -P 20000"
],
"command": [
"/bin/sh",
"-c"
],
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imagePullPolicy": "Always",
"name": "benchmark",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "default-token-q8nd8",
"readOnly": true
}
]
}
],
"dnsPolicy": "ClusterFirst",
"enableServiceLinks": true,
"priority": 0,
"restartPolicy": "OnFailure",
"schedulerName": "default-scheduler",
"securityContext": {},
"serviceAccount": "default",
"serviceAccountName": "default",
"terminationGracePeriodSeconds": 30,
"tolerations": [
{
"effect": "NoExecute",
"key": "node.kubernetes.io/not-ready",
"operator": "Exists",
"tolerationSeconds": 300
},
{
"effect": "NoExecute",
"key": "node.kubernetes.io/unreachable",
"operator": "Exists",
"tolerationSeconds": 300
}
],
"volumes": [
{
"name": "default-token-q8nd8",
"secret": {
"defaultMode": 420,
"secretName": "default-token-q8nd8"
changed: [localhost] => (item=0) => {
"changed": true,
"invocation": {
"module_args": {
"api_key": null,
"cert_file": null,
"context": null,
"force": false,
"host": null,
"key_file": null,
"kubeconfig": null,
"merge_type": null,
"password": null,
"ssl_ca_cert": null,
"state": "present",
"username": null,
"verify_ssl": null
}
},
"item": "0",
"method": "create",
"result": {
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:30Z",
"labels": {
"app": "uperf-bench-server-0-6f5a15c5",
"type": "uperf-bench-server-6f5a15c5"
},
"name": "uperf-server-0-6f5a15c5",
"namespace": "my-ripsaw",
"ownerReferences": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"name": "uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
}
],
"resourceVersion": "6116957",
"selfLink": "/api/v1/namespaces/my-ripsaw/pods/uperf-server-0-6f5a15c5",
"uid": "16767cab-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"containers": [
{
"args": [
"uperf -s -v -P 20000"
],
"command": [
"/bin/sh",
"-c"
],
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imagePullPolicy": "Always",
"name": "benchmark",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "default-token-q8nd8",
"readOnly": true
}
]
}
],
"dnsPolicy": "ClusterFirst",
"enableServiceLinks": true,
"priority": 0,
"restartPolicy": "OnFailure",
"schedulerName": "default-scheduler",
"securityContext": {},
"serviceAccount": "default",
"serviceAccountName": "default",
"terminationGracePeriodSeconds": 30,
"tolerations": [
{
"effect": "NoExecute",
"key": "node.kubernetes.io/not-ready",
"operator": "Exists",
"tolerationSeconds": 300
},
{
"effect": "NoExecute",
"key": "node.kubernetes.io/unreachable",
"operator": "Exists",
"tolerationSeconds": 300
}
],
"volumes": [
{
"name": "default-token-q8nd8",
"secret": {
"defaultMode": 420,
"secretName": "default-token-q8nd8"
}
}
]
},
"status": {
"phase": "Pending",
"qosClass": "BestEffort"
}
}
}
TASK [uperf-bench : Wait for pods to be running....] ***************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:43
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansible-operator
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926910.83-131257708023685 `" && echo ansible-tmp-1566926910.83-131257708023685="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926910.83-131257708023685 `" ) && sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/clustering/k8s/k8s_facts.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-25j_VdmZ/tmpJ_bd_n TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926910.83-131257708023685/AnsiballZ_k8s_facts.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926910.83-131257708023685/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926910.83-131257708023685/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926910.83-131257708023685/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926910.83-131257708023685/ > /dev/null 2>&1 && sleep 0'
"attempts": 1,
"changed": false,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "v1",
"cert_file": null,
"context": null,
"field_selectors": [],
"host": null,
"key_file": null,
"kind": "Pod",
"kubeconfig": null,
"label_selectors": [
"type = uperf-bench-server-6f5a15c5"
],
"name": null,
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"username": null,
"verify_ssl": null
}
},
"resources": [
{
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:30Z",
"labels": {
"app": "uperf-bench-server-0-6f5a15c5",
"type": "uperf-bench-server-6f5a15c5"
},
"name": "uperf-server-0-6f5a15c5",
"namespace": "my-ripsaw",
"ownerReferences": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"name": "uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
}
],
"resourceVersion": "6116960",
"selfLink": "/api/v1/namespaces/my-ripsaw/pods/uperf-server-0-6f5a15c5",
"uid": "16767cab-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"containers": [
{
"args": [
"uperf -s -v -P 20000"
],
"command": [
"/bin/sh",
"-c"
],
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imagePullPolicy": "Always",
"name": "benchmark",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "default-token-q8nd8",
"readOnly": true
}
]
}
],
"dnsPolicy": "ClusterFirst",
"enableServiceLinks": true,
"nodeName": "minikube",
"priority": 0,
"restartPolicy": "OnFailure",
"schedulerName": "default-scheduler",
"securityContext": {},
"serviceAccount": "default",
"serviceAccountName": "default",
"terminationGracePeriodSeconds": 30,
"tolerations": [
{
"effect": "NoExecute",
"key": "node.kubernetes.io/not-ready",
"operator": "Exists",
"tolerationSeconds": 300
},
{
"effect": "NoExecute",
"key": "node.kubernetes.io/unreachable",
"operator": "Exists",
"tolerationSeconds": 300
}
],
"volumes": [
{
"name": "default-token-q8nd8",
"secret": {
"defaultMode": 420,
"secretName": "default-token-q8nd8"
}
}
]
},
"status": {
"conditions": [
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"status": "True",
"type": "Initialized"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"message": "containers with unready status: [benchmark]",
"reason": "ContainersNotReady",
"status": "False",
"type": "Ready"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"message": "containers with unready status: [benchmark]",
"reason": "ContainersNotReady",
"status": "False",
"type": "ContainersReady"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"status": "True",
"type": "PodScheduled"
}
],
"containerStatuses": [
{
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imageID": "",
"
FAILED - RETRYING: Wait for pods to be running.... (100 retries left).Result was: {
"attempts": 1,
"changed": false,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "v1",
"cert_file": null,
"context": null,
"field_selectors": [],
"host": null,
"key_file": null,
"kind": "Pod",
"kubeconfig": null,
"label_selectors": [
"type = uperf-bench-server-6f5a15c5"
],
"name": null,
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"username": null,
"verify_ssl": null
}
},
"resources": [
{
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:30Z",
"labels": {
"app": "uperf-bench-server-0-6f5a15c5",
"type": "uperf-bench-server-6f5a15c5"
},
"name": "uperf-server-0-6f5a15c5",
"namespace": "my-ripsaw",
"ownerReferences": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"name": "uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
}
],
"resourceVersion": "6116960",
"selfLink": "/api/v1/namespaces/my-ripsaw/pods/uperf-server-0-6f5a15c5",
"uid": "16767cab-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"containers": [
{
"args": [
"uperf -s -v -P 20000"
],
"command": [
"/bin/sh",
"-c"
],
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imagePullPolicy": "Always",
"name": "benchmark",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "default-token-q8nd8",
"readOnly": true
}
]
}
],
"dnsPolicy": "ClusterFirst",
"enableServiceLinks": true,
"nodeName": "minikube",
"priority": 0,
"restartPolicy": "OnFailure",
"schedulerName": "default-scheduler",
"securityContext": {},
"serviceAccount": "default",
"serviceAccountName": "default",
"terminationGracePeriodSeconds": 30,
"tolerations": [
{
"effect": "NoExecute",
"key": "node.kubernetes.io/not-ready",
"operator": "Exists",
"tolerationSeconds": 300
},
{
"effect": "NoExecute",
"key": "node.kubernetes.io/unreachable",
"operator": "Exists",
"tolerationSeconds": 300
}
],
"volumes": [
{
"name": "default-token-q8nd8",
"secret": {
"defaultMode": 420,
"secretName": "default-token-q8nd8"
}
}
]
},
"status": {
"conditions": [
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"status": "True",
"type": "Initialized"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"message": "containers with unready status: [benchmark]",
"reason": "ContainersNotReady",
"status": "False",
"type": "Ready"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"message": "containers with unready status: [benchmark]",
"reason": "ContainersNotReady",
"status": "False",
"type": "ContainersReady"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"status": "True",
"type": "PodScheduled"
}
],
"containerStatuses": [
{
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imageID": "",
"lastState": {},
"name": "benchmark",
"ready": false,
"restartCount": 0,
"state": {
"waiting": {
"reason": "ContainerCreating"
}
}
}
],
"hostIP": "192.168.122.156",
"phase": "Pending",
"qosClass": "BestEffort",
"startTime": "2019-08-27T17:28:30Z"
}
}
],
"retries": 101
}
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926921.52-111176619052366 `" && echo ansible-tmp-1566926921.52-111176619052366="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926921.52-111176619052366 `" ) && sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/clustering/k8s/k8s_facts.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-25j_VdmZ/tmpFIhII9 TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926921.52-111176619052366/AnsiballZ_k8s_facts.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926921.52-111176619052366/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926921.52-111176619052366/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926921.52-111176619052366/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926921.52-111176619052366/ > /dev/null 2>&1 && sleep 0'
"attempts": 2,
"changed": false,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "v1",
"cert_file": null,
"context": null,
"field_selectors": [],
"host": null,
"key_file": null,
"kind": "Pod",
"kubeconfig": null,
"label_selectors": [
"type = uperf-bench-server-6f5a15c5"
],
"name": null,
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"username": null,
"verify_ssl": null
}
},
"resources": [
{
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:30Z",
"labels": {
"app": "uperf-bench-server-0-6f5a15c5",
"type": "uperf-bench-server-6f5a15c5"
},
"name": "uperf-server-0-6f5a15c5",
"namespace": "my-ripsaw",
"ownerReferences": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"name": "uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
}
],
"resourceVersion": "6116966",
"selfLink": "/api/v1/namespaces/my-ripsaw/pods/uperf-server-0-6f5a15c5",
"uid": "16767cab-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"containers": [
{
"args": [
"uperf -s -v -P 20000"
],
"command": [
"/bin/sh",
"-c"
],
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imagePullPolicy": "Always",
"name": "benchmark",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "default-token-q8nd8",
"readOnly": true
}
]
}
],
"dnsPolicy": "ClusterFirst",
"enableServiceLinks": true,
"nodeName": "minikube",
"priority": 0,
"restartPolicy": "OnFailure",
"schedulerName": "default-scheduler",
"securityContext": {},
"serviceAccount": "default",
"serviceAccountName": "default",
"terminationGracePeriodSeconds": 30,
"tolerations": [
{
"effect": "NoExecute",
"key": "node.kubernetes.io/not-ready",
"operator": "Exists",
"tolerationSeconds": 300
},
{
"effect": "NoExecute",
"key": "node.kubernetes.io/unreachable",
"operator": "Exists",
"tolerationSeconds": 300
}
],
"volumes": [
{
"name": "default-token-q8nd8",
"secret": {
"defaultMode": 420,
"secretName": "default-token-q8nd8"
}
}
]
},
"status": {
"conditions": [
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"status": "True",
"type": "Initialized"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:31Z",
"status": "True",
"type": "Ready"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:31Z",
"status": "True",
"type": "ContainersReady"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"status": "True",
"type": "PodScheduled"
}
],
"containerStatuses": [
{
"containerID": "docker://45dcd987587ac02949e7497e8c8babd532485f5452f2eb783fda02305acb74d4",
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imageID": "docker-pullable://quay.io/cloud-bulldozer/uperf@sha256:aa3ed4ed5a3c2e9255c68c617c70a3f05ea9f948b23e0b4b22ffb116940b6a6e",
"lastState": {},
"name": "benchmark",
"ready": true,
"restartCount": 0,
"state": {
ok: [localhost] => {
"attempts": 2,
"changed": false,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "v1",
"cert_file": null,
"context": null,
"field_selectors": [],
"host": null,
"key_file": null,
"kind": "Pod",
"kubeconfig": null,
"label_selectors": [
"type = uperf-bench-server-6f5a15c5"
],
"name": null,
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"username": null,
"verify_ssl": null
}
},
"resources": [
{
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:30Z",
"labels": {
"app": "uperf-bench-server-0-6f5a15c5",
"type": "uperf-bench-server-6f5a15c5"
},
"name": "uperf-server-0-6f5a15c5",
"namespace": "my-ripsaw",
"ownerReferences": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"name": "uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
}
],
"resourceVersion": "6116966",
"selfLink": "/api/v1/namespaces/my-ripsaw/pods/uperf-server-0-6f5a15c5",
"uid": "16767cab-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"containers": [
{
"args": [
"uperf -s -v -P 20000"
],
"command": [
"/bin/sh",
"-c"
],
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imagePullPolicy": "Always",
"name": "benchmark",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "default-token-q8nd8",
"readOnly": true
}
]
}
],
"dnsPolicy": "ClusterFirst",
"enableServiceLinks": true,
"nodeName": "minikube",
"priority": 0,
"restartPolicy": "OnFailure",
"schedulerName": "default-scheduler",
"securityContext": {},
"serviceAccount": "default",
"serviceAccountName": "default",
"terminationGracePeriodSeconds": 30,
"tolerations": [
{
"effect": "NoExecute",
"key": "node.kubernetes.io/not-ready",
"operator": "Exists",
"tolerationSeconds": 300
},
{
"effect": "NoExecute",
"key": "node.kubernetes.io/unreachable",
"operator": "Exists",
"tolerationSeconds": 300
}
],
"volumes": [
{
"name": "default-token-q8nd8",
"secret": {
"defaultMode": 420,
"secretName": "default-token-q8nd8"
}
}
]
},
"status": {
"conditions": [
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"status": "True",
"type": "Initialized"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:31Z",
"status": "True",
"type": "Ready"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:31Z",
"status": "True",
"type": "ContainersReady"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"status": "True",
"type": "PodScheduled"
}
],
"containerStatuses": [
{
"containerID": "docker://45dcd987587ac02949e7497e8c8babd532485f5452f2eb783fda02305acb74d4",
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imageID": "docker-pullable://quay.io/cloud-bulldozer/uperf@sha256:aa3ed4ed5a3c2e9255c68c617c70a3f05ea9f948b23e0b4b22ffb116940b6a6e",
"lastState": {},
"name": "benchmark",
"ready": true,
"restartCount": 0,
"state": {
"running": {
"startedAt": "2019-08-27T17:28:31Z"
}
}
}
],
"hostIP": "192.168.122.156",
"phase": "Running",
"podIP": "172.17.0.5",
"qosClass": "BestEffort",
"startTime": "2019-08-27T17:28:30Z"
}
}
]
}
TASK [uperf-bench : Capture ServiceIP] *****************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:55
TASK [uperf-bench : Capture ServiceIP] *****************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:55
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [uperf-bench : Capture operator information] ******************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:65
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansible-operator
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926922.23-156244817463805 `" && echo ansible-tmp-1566926922.23-156244817463805="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926922.23-156244817463805 `" ) && sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/clustering/k8s/k8s_facts.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-25j_VdmZ/tmplMuRgp TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926922.23-156244817463805/AnsiballZ_k8s_facts.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926922.23-156244817463805/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926922.23-156244817463805/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926922.23-156244817463805/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926922.23-156244817463805/ > /dev/null 2>&1 && sleep 0'
"changed": false,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "v1",
"cert_file": null,
"context": null,
"field_selectors": [],
"host": null,
"key_file": null,
"kind": "Pod",
"kubeconfig": null,
"label_selectors": [
"name = benchmark-operator"
],
"name": null,
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"username": null,
"verify_ssl": null
}
},
"resources": [
{
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"creationTimestamp": "2019-08-27T17:27:47Z",
"generateName": "benchmark-operator-74b68b8f8c-",
"labels": {
"name": "benchmark-operator",
"pod-template-hash": "74b68b8f8c"
},
"name": "benchmark-operator-74b68b8f8c-lzcnc",
"namespace": "my-ripsaw",
"ownerReferences": [
{
"apiVersion": "apps/v1",
"blockOwnerDeletion": true,
"controller": true,
"kind": "ReplicaSet",
"name": "benchmark-operator-74b68b8f8c",
"uid": "fce0e14f-c8ef-11e9-b184-b0cab0867ee7"
}
],
"resourceVersion": "6116902",
"selfLink": "/api/v1/namespaces/my-ripsaw/pods/benchmark-operator-74b68b8f8c-lzcnc",
"uid": "fce3531f-c8ef-11e9-b184-b0cab0867ee7"
},
"spec": {
"containers": [
{
"command": [
"/usr/local/bin/ao-logs",
"/tmp/ansible-operator/runner",
"stdout"
],
"image": "quay.io/jtaleric/benchmark-operator:uperf",
"imagePullPolicy": "Always",
"name": "ansible",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/tmp/ansible-operator/runner",
"name": "runner",
"readOnly": true
},
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "benchmark-operator-token-cbx5z",
"readOnly": true
}
]
},
{
"env": [
{
"name": "WATCH_NAMESPACE",
"valueFrom": {
"fieldRef": {
"apiVersion": "v1",
"fieldPath": "metadata.namespace"
}
}
},
{
"name": "POD_NAME",
"valueFrom": {
"fieldRef": {
"apiVersion": "v1",
"fieldPath": "metadata.name"
}
}
},
{
"name": "OPERATOR_NAME",
"value": "benchmark-operator"
},
{
"name": "WORKER_BENCHMARK_RIPSAW_CLOUDBULLDOZER_IO",
"value": "1"
},
{
"name": "ANSIBLE_VERBOSITY",
"value": "4"
}
],
"image": "quay.io/jtaleric/benchmark-operator:uperf",
"imagePullPolicy": "Always",
"name": "benchmark-operator",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/tmp/ansible-operator/runner",
"name": "runner"
},
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "benchmark-operator-token-cbx5z",
"readOnly": true
}
]
},
{
"env": [
{
"name": "MASTER",
"value": "true"
}
],
"image": "k8s.gcr.io/redis:v1",
"imagePullPolicy": "IfNotPresent",
"name": "redis-master",
"ports": [
{
"containerPort": 6379,
"protocol": "TCP"
}
],
"resources": {
"limits": {
"cpu": "100m"
},
"requests": {
"cpu": "100m"
}
},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/redis-master-data",
"name": "data"
},
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "benchmark-operator-token-cbx5z",
"readOnly": true
}
]
}
],
"dnsPolicy": "ClusterFirst",
"enableServiceLinks": true,
"nodeName": "minikube",
"priority": 0,
"restartPolicy": "Always",
"schedulerName": "default-scheduler",
"securityContext": {},
"serviceAccount": "benchmark-operator",
"serviceAccountName": "benchmark-operator",
"terminationGracePeriodSeconds": 30,
"tolerations": [
{
"effect": "NoExecute",
"key": "node.kubernetes.io/not-ready",
"operator": "Exists",
"tolerationSeconds": 300
},
{
"effect": "NoExecute",
"key": "node.kubernetes.io/unreachable",
"operator": "Exists",
"tolerationSeconds": 300
}
],
"volumes": [
{
"emptyDir": {},
"name": "data"
},
{
"emptyDir": {},
"name": "runner"
},
{
"name": "benchmark-operator-token-cbx5z",
"secret": {
"defaultMode": 420,
"secretName": "benchmark-operator-token-cbx5z"
}
}
]
},
"status": {
"conditions": [
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:27:47Z",
"status": "True",
"type": "Initialized"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:27:50Z",
"status": "True",
"type": "Ready"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:27:50Z",
"status": "True",
"type": "ContainersReady"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:27:47Z",
"status": "True",
"type": "PodScheduled"
}
],
"containerStatuses": [
{
"containerID": "docker://ec3a7f67800f53692e611c460cacb3ec5b71c61e822ce0a2a3add85db97c4425",
"image": "quay.io/jtaleric/benchmark-operator:uperf",
"imageID": "docker-pullable://quay.io/jtaleric/benchmark-operator@sha256:df31b6683b63a2cd15034ac4c3567fe1fcf9365f8e5f3f88d33affcf719e0fdb",
"lastState": {},
"name": "ansible",
"ready": true,
"restartCount": 0,
"state": {
"running": {
"startedAt": "2019-08-27T17:27:48Z"
}
}
},
{
"containerID": "docker://1b8368106b5d0d5ddde7fcba5a02ab0a0e5f635bddb4808392c28fa5af04
ok: [localhost] => {
"changed": false,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "v1",
"cert_file": null,
"context": null,
"field_selectors": [],
"host": null,
"key_file": null,
"kind": "Pod",
"kubeconfig": null,
"label_selectors": [
"name = benchmark-operator"
],
"name": null,
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"username": null,
"verify_ssl": null
}
},
"resources": [
{
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"creationTimestamp": "2019-08-27T17:27:47Z",
"generateName": "benchmark-operator-74b68b8f8c-",
"labels": {
"name": "benchmark-operator",
"pod-template-hash": "74b68b8f8c"
},
"name": "benchmark-operator-74b68b8f8c-lzcnc",
"namespace": "my-ripsaw",
"ownerReferences": [
{
"apiVersion": "apps/v1",
"blockOwnerDeletion": true,
"controller": true,
"kind": "ReplicaSet",
"name": "benchmark-operator-74b68b8f8c",
"uid": "fce0e14f-c8ef-11e9-b184-b0cab0867ee7"
}
],
"resourceVersion": "6116902",
"selfLink": "/api/v1/namespaces/my-ripsaw/pods/benchmark-operator-74b68b8f8c-lzcnc",
"uid": "fce3531f-c8ef-11e9-b184-b0cab0867ee7"
},
"spec": {
"containers": [
{
"command": [
"/usr/local/bin/ao-logs",
"/tmp/ansible-operator/runner",
"stdout"
],
"image": "quay.io/jtaleric/benchmark-operator:uperf",
"imagePullPolicy": "Always",
"name": "ansible",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/tmp/ansible-operator/runner",
"name": "runner",
"readOnly": true
},
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "benchmark-operator-token-cbx5z",
"readOnly": true
}
]
},
{
"env": [
{
"name": "WATCH_NAMESPACE",
"valueFrom": {
"fieldRef": {
"apiVersion": "v1",
"fieldPath": "metadata.namespace"
}
}
},
{
"name": "POD_NAME",
"valueFrom": {
"fieldRef": {
"apiVersion": "v1",
"fieldPath": "metadata.name"
}
}
},
{
"name": "OPERATOR_NAME",
"value": "benchmark-operator"
},
{
"name": "WORKER_BENCHMARK_RIPSAW_CLOUDBULLDOZER_IO",
"value": "1"
},
{
"name": "ANSIBLE_VERBOSITY",
"value": "4"
}
],
"image": "quay.io/jtaleric/benchmark-operator:uperf",
"imagePullPolicy": "Always",
"name": "benchmark-operator",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/tmp/ansible-operator/runner",
"name": "runner"
},
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "benchmark-operator-token-cbx5z",
"readOnly": true
}
]
},
{
"env": [
{
"name": "MASTER",
"value": "true"
}
],
"image": "k8s.gcr.io/redis:v1",
"imagePullPolicy": "IfNotPresent",
"name": "redis-master",
"ports": [
{
"containerPort": 6379,
"protocol": "TCP"
}
],
"resources": {
"limits": {
"cpu": "100m"
},
"requests": {
"cpu": "100m"
}
},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/redis-master-data",
"name": "data"
},
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "benchmark-operator-token-cbx5z",
"readOnly": true
}
]
}
],
"dnsPolicy": "ClusterFirst",
"enableServiceLinks": true,
"nodeName": "minikube",
"priority": 0,
"restartPolicy": "Always",
"schedulerName": "default-scheduler",
"securityContext": {},
"serviceAccount": "benchmark-operator",
"serviceAccountName": "benchmark-operator",
"terminationGracePeriodSeconds": 30,
"tolerations": [
{
"effect": "NoExecute",
"key": "node.kubernetes.io/not-ready",
"operator": "Exists",
"tolerationSeconds": 300
},
{
"effect": "NoExecute",
"key": "node.kubernetes.io/unreachable",
"operator": "Exists",
"tolerationSeconds": 300
}
],
"volumes": [
{
"emptyDir": {},
"name": "data"
},
{
"emptyDir": {},
"name": "runner"
},
{
"name": "benchmark-operator-token-cbx5z",
"secret": {
"defaultMode": 420,
"secretName": "benchmark-operator-token-cbx5z"
}
}
]
},
"status": {
"conditions": [
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:27:47Z",
"status": "True",
"type": "Initialized"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:27:50Z",
"status": "True",
"type": "Ready"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:27:50Z",
"status": "True",
"type": "ContainersReady"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:27:47Z",
"status": "True",
"type": "PodScheduled"
}
],
"containerStatuses": [
{
"containerID": "docker://ec3a7f67800f53692e611c460cacb3ec5b71c61e822ce0a2a3add85db97c4425",
"image": "quay.io/jtaleric/benchmark-operator:uperf",
"imageID": "docker-pullable://quay.io/jtaleric/benchmark-operator@sha256:df31b6683b63a2cd15034ac4c3567fe1fcf9365f8e5f3f88d33affcf719e0fdb",
"lastState": {},
"name": "ansible",
"ready": true,
"restartCount": 0,
"state": {
"running": {
"startedAt": "2019-08-27T17:27:48Z"
}
}
},
{
"containerID": "docker://1b8368106b5d0d5ddde7fcba5a02ab0a0e5f635bddb4808392c28fa5af04f2c5",
"image": "quay.io/jtaleric/benchmark-operator:uperf",
"imageID": "docker-pullable://quay.io/jtaleric/benchmark-operator@sha256:df31b6683b63a2cd15034ac4c3567fe1fcf9365f8e5f3f88d33affcf719e0fdb",
"lastState": {},
"name": "benchmark-operator",
"ready": true,
"restartCount": 0,
"state": {
"running": {
"startedAt": "2019-08-27T17:27:49Z"
}
}
},
{
"containerID": "docker://92b71fc2dea297c9e2f2a1a067100f9ecc20894f163f8dc2f480fce728b21681",
"image": "k8s.gcr.io/redis:v1",
"imageID": "docker-pullable://k8s.gcr.io/redis@sha256:ae4699b8f330d61665125cd381942fc1c57613f2753c5ee6879aff173a8ccb52",
"lastState": {},
"name": "redis-master",
"ready": true,
"restartCount": 0,
"state": {
"running": {
"startedAt": "2019-08-27T17:27:49Z"
}
}
}
],
"hostIP": "192.168.122.156",
"phase": "Running",
"podIP": "172.17.0.4",
"qosClass": "Burstable",
"startTime": "2019-08-27T17:27:47Z"
}
}
]
}
TASK [uperf-bench : Generate uperf test] ***************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:74
looking for "configmap.yml.j2" at "/opt/ansible/roles/uperf-bench/templates/configmap.yml.j2"
File lookup using /opt/ansible/roles/uperf-bench/templates/configmap.yml.j2 as file
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansible-operator
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926922.9-72978536537755 `" && echo ansible-tmp-1566926922.9-72978536537755="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926922.9-72978536537755 `" ) && sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/clustering/k8s/k8s.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-25j_VdmZ/tmpCs2lXM TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926922.9-72978536537755/AnsiballZ_k8s.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926922.9-72978536537755/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926922.9-72978536537755/AnsiballZ_k8s.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926922.9-72978536537755/AnsiballZ_k8s.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926922.9-72978536537755/ > /dev/null 2>&1 && sleep 0'
"changed": true,
"invocation": {
"module_args": {
"api_key": null,
"cert_file": null,
"context": null,
"force": false,
"host": null,
"key_file": null,
"kubeconfig": null,
"merge_type": null,
"password": null,
"ssl_ca_cert": null,
"state": "present",
"username": null,
"verify_ssl": null
}
},
"method": "create",
"result": {
"apiVersion": "v1",
"data": {
"uperf-rr-tcp-1024-1": "<?xml version=1.0?>\n<profile name=\"rr-tcp-1024-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=tcp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"size=1024\"/>\n <flowop type=read options=\"size=1024\"/>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-rr-tcp-16384-1": "<?xml version=1.0?>\n<profile name=\"rr-tcp-16384-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=tcp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"size=16384\"/>\n <flowop type=read options=\"size=16384\"/>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-rr-tcp-64-1": "<?xml version=1.0?>\n<profile name=\"rr-tcp-64-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=tcp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"size=6
4\"/>\n <flowop type=read options=\"size=64\"/>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-rr-udp-1024-1": "<?xml version=1.0?>\n<profile name=\"rr-udp-1024-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=udp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"size=1024\"/>\n <flowop type=read options=\"size=1024\"/>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-rr-udp-16384-1": "<?xml version=1.0?>\n<profile name=\"rr-udp-16384-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=udp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"size=16384\"/>\n <flowop type=read options=\"size=16384\"/>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-rr-udp-64-1": "<?xml version=1.0?>\n<profile name=\"rr-udp-64-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=udp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"size=64\"/>\n <flowop type=read options=\"size=64\"/>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-stream-tcp-1024-1": "<?xml version=1.0?>\n<profile name=\"stream-tcp-1024-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"re
motehost=$h protocol=tcp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"count=16 size=1024\"/>\n </transaction>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-stream-tcp-16384-1": "<?xml version=1.0?>\n<profile name=\"stream-tcp-16384-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=tcp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"count=16 size=16384\"/>\n </transaction>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-stream-tcp-64-1": "<?xml version=1.0?>\n<profile name=\"stream-tcp-64-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=tcp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"count=16 size=64\"/>\n </transaction>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-stream-udp-1024-1": "<?xml version=1.0?>\n<profile name=\"stream-udp-1024-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=udp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"count=16 size=1024\"/>\n </transaction>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-stream-udp-16384-1": "<?xml version=1.0?>\n<profile name=\"stream-udp-16384-1\">\n<group nthreads=\"1\">\n <t
changed: [localhost] => {
"changed": true,
"invocation": {
"module_args": {
"api_key": null,
"cert_file": null,
"context": null,
"force": false,
"host": null,
"key_file": null,
"kubeconfig": null,
"merge_type": null,
"password": null,
"ssl_ca_cert": null,
"state": "present",
"username": null,
"verify_ssl": null
}
},
"method": "create",
"result": {
"apiVersion": "v1",
"data": {
"uperf-rr-tcp-1024-1": "<?xml version=1.0?>\n<profile name=\"rr-tcp-1024-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=tcp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"size=1024\"/>\n <flowop type=read options=\"size=1024\"/>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-rr-tcp-16384-1": "<?xml version=1.0?>\n<profile name=\"rr-tcp-16384-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=tcp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"size=16384\"/>\n <flowop type=read options=\"size=16384\"/>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-rr-tcp-64-1": "<?xml version=1.0?>\n<profile name=\"rr-tcp-64-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=tcp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"size=64\"/>\n <flowop type=read options=\"size=64\"/>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-rr-udp-1024-1": "<?xml version=1.0?>\n<profile name=\"rr-udp-1024-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=udp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"size=1024\"/>\n <flowop type=read options=\"size=1024\"/>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-rr-udp-16384-1": "<?xml version=1.0?>\n<profile name=\"rr-udp-16384-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=udp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"size=16384\"/>\n <flowop type=read options=\"size=16384\"/>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-rr-udp-64-1": "<?xml version=1.0?>\n<profile name=\"rr-udp-64-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=udp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"size=64\"/>\n <flowop type=read options=\"size=64\"/>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-stream-tcp-1024-1": "<?xml version=1.0?>\n<profile name=\"stream-tcp-1024-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=tcp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"count=16 size=1024\"/>\n </transaction>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-stream-tcp-16384-1": "<?xml version=1.0?>\n<profile name=\"stream-tcp-16384-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=tcp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"count=16 size=16384\"/>\n </transaction>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-stream-tcp-64-1": "<?xml version=1.0?>\n<profile name=\"stream-tcp-64-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=tcp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"count=16 size=64\"/>\n </transaction>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-stream-udp-1024-1": "<?xml version=1.0?>\n<profile name=\"stream-udp-1024-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=udp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"count=16 size=1024\"/>\n </transaction>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-stream-udp-16384-1": "<?xml version=1.0?>\n<profile name=\"stream-udp-16384-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=udp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"count=16 size=16384\"/>\n </transaction>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n",
"uperf-stream-udp-64-1": "<?xml version=1.0?>\n<profile name=\"stream-udp-64-1\">\n<group nthreads=\"1\">\n <transaction iterations=\"1\">\n <flowop type=\"connect\" options=\"remotehost=$h protocol=udp\"/>\n </transaction>\n <transaction duration=\"15\">\n <flowop type=write options=\"count=16 size=64\"/>\n </transaction>\n <transaction iterations=\"1\">\n <flowop type=disconnect />\n </transaction>\n </group>\n</profile>\n"
},
"kind": "ConfigMap",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:43Z",
"name": "uperf-test-6f5a15c5",
"namespace": "my-ripsaw",
"ownerReferences": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"name": "uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
}
],
"resourceVersion": "6116981",
"selfLink": "/api/v1/namespaces/my-ripsaw/configmaps/uperf-test-6f5a15c5",
"uid": "1e220a07-c8f0-11e9-b184-b0cab0867ee7"
}
}
}
TASK [uperf-bench : Start Client(s)] *******************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:78
looking for "workload.yml.j2" at "/opt/ansible/roles/uperf-bench/templates/workload.yml.j2"
File lookup using /opt/ansible/roles/uperf-bench/templates/workload.yml.j2 as file
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansible-operator
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926923.74-142244174013288 `" && echo ansible-tmp-1566926923.74-142244174013288="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926923.74-142244174013288 `" ) && sleep 0'
Using module file /usr/lib/python2.7/site-packages/ansible/modules/clustering/k8s/k8s.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-25j_VdmZ/tmp71HQd_ TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926923.74-142244174013288/AnsiballZ_k8s.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926923.74-142244174013288/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926923.74-142244174013288/AnsiballZ_k8s.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926923.74-142244174013288/AnsiballZ_k8s.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926923.74-142244174013288/ > /dev/null 2>&1 && sleep 0'
c2e9255c68c617c70a3f05ea9f948b23e0b4b22ffb116940b6a6e', u'state': {u'running': {u'startedAt': u'2019-08-27T17:28:31Z'}}, u'ready': True, u'lastState': {}, u'name': u'benchmark'}]}, u'kind': u'Pod', u'spec': {u'dnsPolicy': u'ClusterFirst', u'securityContext': {}, u'serviceAccountName': u'default', u'schedulerName': u'default-scheduler', u'enableServiceLinks': True, u'serviceAccount': u'default', u'priority': 0, u'terminationGracePeriodSeconds': 30, u'restartPolicy': u'OnFailure', u'volumes': [{u'secret': {u'defaultMode': 420, u'secretName': u'default-token-q8nd8'}, u'name': u'default-token-q8nd8'}], u'tolerations': [{u'operator': u'Exists', u'tolerationSeconds': 300, u'effect': u'NoExecute', u'key': u'node.kubernetes.io/not-ready'}, {u'operator': u'Exists', u'tolerationSeconds': 300, u'effect': u'NoExecute', u'key': u'node.kubernetes.io/unreachable'}], u'containers': [{u'terminationMessagePath': u'/dev/termination-log', u'name': u'benchmark', u'image': u'quay.io/cloud-bulldozer/uperf:latest', u'args': [u'uperf -s -v -P 20000'], u'volumeMounts': [{u'readOnly': True, u'mountPath': u'/var/run/secrets/kubernetes.io/serviceaccount', u'name': u'default-token-q8nd8'}], u'terminationMessagePolicy': u'File', u'command': [u'/bin/sh', u'-c'], u'imagePullPolicy': u'Always', u'resources': {}}], u'nodeName': u'minikube'}, u'apiVersion': u'v1', u'metadata': {u'name': u'uperf-server-0-6f5a15c5', u'labels': {u'app': u'uperf-bench-server-0-6f5a15c5', u'type': u'uperf-bench-server-6f5a15c5'}, u'namespace': u'my-ripsaw', u'resourceVersion': u'6116966', u'ownerReferences': [{u'kind': u'Benchmark', u'name': u'uperf-benchmark', u'apiVersion': u'ripsaw.cloudbulldozer.io/v1alpha1', u'uid': u'11f3d110-c8f0-11e9-b184-b0cab0867ee7'}], u'creationTimestamp': u'2019-08-27T17:28:30Z', u'selfLink': u'/api/v1/namespaces/my-ripsaw/pods/uperf-server-0-6f5a15c5', u'uid': u'16767cab-c8f0-11e9-b184-b0cab0867ee7'}}) => {
"changed": true,
"invocation": {
"module_args": {
"ap
i_key": null,
"cert_file": null,
"context": null,
"force": false,
"host": null,
"key_file": null,
"kubeconfig": null,
"merge_type": null,
"password": null,
"ssl_ca_cert": null,
"state": "present",
"username": null,
"verify_ssl": null
}
},
"item": {
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:30Z",
"labels": {
"app": "uperf-bench-server-0-6f5a15c5",
"type": "uperf-bench-server-6f5a15c5"
},
"name": "uperf-server-0-6f5a15c5",
"namespace": "my-ripsaw",
"ownerReferences": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"name": "uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
}
],
"resourceVersion": "6116966",
"selfLink": "/api/v1/namespaces/my-ripsaw/pods/uperf-server-0-6f5a15c5",
"uid": "16767cab-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"containers": [
{
"args": [
"uperf -s -v -P 20000"
],
"command": [
"/bin/sh",
"-c"
],
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imagePullPolicy": "Always",
"name": "benchmark",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volum
eMounts": [
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "default-token-q8nd8",
"readOnly": true
}
]
}
],
"dnsPolicy": "ClusterFirst",
"enableServiceLinks": true,
"nodeName": "minikube",
"priority": 0,
"restartPolicy": "OnFailure",
"schedulerName": "default-scheduler",
"securityContext": {},
"serviceAccount": "default",
"serviceAccountName": "default",
"terminationGracePeriodSeconds": 30,
"tolerations": [
{
"effect": "NoExecute",
"key": "node.kubernetes.io/not-ready",
"operator": "Exists",
"tolerationSeconds": 300
},
{
"effect": "NoExecute",
"key": "node.kubernetes.io/unreachable",
"operator": "Exists",
"tolerationSeconds": 300
}
],
"volumes": [
{
"name": "default-token-q8nd8",
"secret": {
"defaultMode": 420,
"secretName": "default-token-q8nd8"
}
}
]
},
"status": {
"conditions": [
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"status": "True",
"type": "Initialized"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:31Z",
"status": "True",
"type": "Ready"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:31Z",
"status": "True",
"type": "ContainersReady"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"status": "True",
"type": "PodScheduled"
}
],
"containerStatuses": [
{
"containerID": "docker://45dcd987587ac02949e7497e8c8babd532485f5452f2eb783fda02305acb74d4",
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imageID": "docker-pullable://quay.io/cloud-bulldozer/uperf@sha256:aa3ed4ed5a3c2e9255c68c617c70a3f05ea9f948b23e0b4b22ffb116940b6a6e",
"lastState": {},
"name": "benchmark",
"ready": true,
"restartCount": 0,
"state": {
"running": {
"startedAt": "2019-08-27T17:28:31Z"
}
}
}
],
"hostIP": "192.168.122.156",
"phase": "Running",
"podIP": "172.17.0.5",
"qosClass": "BestEffort",
"startTime": "2019-08-27T17:28:30Z"
}
},
"method": "create",
"result": {
"apiVersion": "batch/v1",
"kind": "Job",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:44Z",
"labels": {
"app": "uperf-bench-client-6f5a15c5",
"controller-uid": "1ea06ef4-c8f0-11e9-b184-b0cab0867ee7",
"job-name": "uperf-client-172.17.0.5-6f5a15c5"
},
"name": "uperf-client-172.17.0.5-6f5a15c5",
"namespace": "my-ripsaw",
"ownerReferences": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"name": "uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
}
],
"resourceVersion": "6116983",
"selfLink": "/apis/batch/v1/namespaces/my-ripsaw/jobs/uperf-client-172.17.0.5-6f5a15c5",
"uid": "1ea06ef4-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"backoffLimit": 6,
"completions": 1,
"parallelism": 1,
"selector": {
"matchLabels": {
"controller-uid": "1ea06ef4-c8f0-11e9-b184-b0cab0867ee7"
}
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"app": "uperf-bench-client-6f5a15c5",
"controller-uid": "1ea06ef4-c8f0-11e9-b184-b0cab0867ee7",
"job-name": "uperf-client-172.17.0.5-6f5a15c5"
}
},
"spec": {
"containers": [
{
"args": [
"export h=172.17.0.5; export clustername=myk8scluster; export hostnet=False; export ips=$(hostname -I); while true; do if [[ $(redis-cli -h 172.17.0.4 get start) =~ 'true' ]]; then for file in $(ls /tmp/uperf-test/ | egrep ^uperf); do cat /tmp/uperf-test/$file; for i in `seq 1 1`; do python /opt/snafu/uperf-wrapper/uperf-wrapper.py -w /tmp/uperf-test/$file -r $i; done; done; else continue; fi; break; done; redis-cli -h 172.17.0.4 set start false"
],
"command": [
"/bin/sh",
"-c"
],
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imagePullPolicy": "Always",
"name": "benchmark",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/tmp/uperf-test",
"name": "config-volume"
}
]
}
],
"dnsPolicy": "ClusterFirst",
"restartPolicy": "OnFailure",
"schedulerName": "default-scheduler",
"securityContext": {},
"terminationGracePeriodSeconds": 30,
"volumes": [
{
"configMap": {
"defaultMode": 420,
"name": "uperf-test-6f5a15c5"
},
"name": "config-volume"
}
]
}
}
},
"status": {}
}
}
changed: [localhost] => (item={u'status': {u'podIP': u'172.17.0.5', u'startTime': u'2019-08-27T17:28:30Z', u'hostIP': u'192.168.122.156', u'phase': u'Running', u'conditions': [{u'status': u'True', u'lastProbeTime': None, u'lastTransitionTime': u'2019-08-27T17:28:30Z', u'type': u'Initialized'}, {u'status': u'True', u'lastProbeTime': None, u'lastTransitionTime': u'2019-08-27T17:28:31Z', u'type': u'Ready'}, {u'status': u'True', u'lastProbeTime': None, u'lastTransitionTime': u'2019-08-27T17:28:31Z', u'type': u'ContainersReady'}, {u'status': u'True', u'lastProbeTime': None, u'lastTransitionTime': u'2019-08-27T17:28:30Z', u'type': u'PodScheduled'}], u'qosClass': u'BestEffort', u'containerStatuses': [{u'restartCount': 0, u'containerID': u'docker://45dcd987587ac02949e7497e8c8babd532485f5452f2eb783fda02305acb74d4', u'image': u'quay.io/cloud-bulldozer/uperf:latest', u'imageID': u'docker-pullable://quay.io/cloud-bulldozer/uperf@sha256:aa3ed4ed5a3c2e9255c68c617c70a3f05ea9f948b23e0b4b22ffb116940b6a6e', u'state': {u'running': {u'startedAt': u'2019-08-27T17:28:31Z'}}, u'ready': True, u'lastState': {}, u'name': u'benchmark'}]}, u'kind': u'Pod', u'spec': {u'dnsPolicy': u'ClusterFirst', u'securityContext': {}, u'serviceAccountName': u'default', u'schedulerName': u'default-scheduler', u'enableServiceLinks': True, u'serviceAccount': u'default', u'priority': 0, u'terminationGracePeriodSeconds': 30, u'restartPolicy': u'OnFailure', u'volumes': [{u'secret': {u'defaultMode': 420, u'secretName': u'default-token-q8nd8'}, u'name': u'default-token-q8nd8'}], u'tolerations': [{u'operator': u'Exists', u'tolerationSeconds': 300, u'effect': u'NoExecute', u'key': u'node.kubernetes.io/not-ready'}, {u'operator': u'Exists', u'tolerationSeconds': 300, u'effect': u'NoExecute', u'key': u'node.kubernetes.io/unreachable'}], u'containers': [{u'terminationMessagePath': u'/dev/termination-log', u'name': u'benchmark', u'image': u'quay.io/cloud-bulldozer/uperf:latest', u'args': [u'uperf -s -v -P 20000'], u'volumeMounts': [{u'readOnly': True, u'mountPath': u'/var/run/secrets/kubernetes.io/serviceaccount', u'name': u'default-token-q8nd8'}], u'terminationMessagePolicy': u'File', u'command': [u'/bin/sh', u'-c'], u'imagePullPolicy': u'Always', u'resources': {}}], u'nodeName': u'minikube'}, u'apiVersion': u'v1', u'metadata': {u'name': u'uperf-server-0-6f5a15c5', u'labels': {u'app': u'uperf-bench-server-0-6f5a15c5', u'type': u'uperf-bench-server-6f5a15c5'}, u'namespace': u'my-ripsaw', u'resourceVersion': u'6116966', u'ownerReferences': [{u'kind': u'Benchmark', u'name': u'uperf-benchmark', u'apiVersion': u'ripsaw.cloudbulldozer.io/v1alpha1', u'uid': u'11f3d110-c8f0-11e9-b184-b0cab0867ee7'}], u'creationTimestamp': u'2019-08-27T17:28:30Z', u'selfLink': u'/api/v1/namespaces/my-ripsaw/pods/uperf-server-0-6f5a15c5', u'uid': u'16767cab-c8f0-11e9-b184-b0cab0867ee7'}}) => {
"changed": true,
"invocation": {
"module_args": {
"api_key": null,
"cert_file": null,
"context": null,
"force": false,
"host": null,
"key_file": null,
"kubeconfig": null,
"merge_type": null,
"password": null,
"ssl_ca_cert": null,
"state": "present",
"username": null,
"verify_ssl": null
}
},
"item": {
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:30Z",
"labels": {
"app": "uperf-bench-server-0-6f5a15c5",
"type": "uperf-bench-server-6f5a15c5"
},
"name": "uperf-server-0-6f5a15c5",
"namespace": "my-ripsaw",
"ownerReferences": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"name": "uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
}
],
"resourceVersion": "6116966",
"selfLink": "/api/v1/namespaces/my-ripsaw/pods/uperf-server-0-6f5a15c5",
"uid": "16767cab-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"containers": [
{
"args": [
"uperf -s -v -P 20000"
],
"command": [
"/bin/sh",
"-c"
],
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imagePullPolicy": "Always",
"name": "benchmark",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
"name": "default-token-q8nd8",
"readOnly": true
}
]
}
],
"dnsPolicy": "ClusterFirst",
"enableServiceLinks": true,
"nodeName": "minikube",
"priority": 0,
"restartPolicy": "OnFailure",
"schedulerName": "default-scheduler",
"securityContext": {},
"serviceAccount": "default",
"serviceAccountName": "default",
"terminationGracePeriodSeconds": 30,
"tolerations": [
{
"effect": "NoExecute",
"key": "node.kubernetes.io/not-ready",
"operator": "Exists",
"tolerationSeconds": 300
},
{
"effect": "NoExecute",
"key": "node.kubernetes.io/unreachable",
"operator": "Exists",
"tolerationSeconds": 300
}
],
"volumes": [
{
"name": "default-token-q8nd8",
"secret": {
"defaultMode": 420,
"secretName": "default-token-q8nd8"
}
}
]
},
"status": {
"conditions": [
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"status": "True",
"type": "Initialized"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:31Z",
"status": "True",
"type": "Ready"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:31Z",
"status": "True",
"type": "ContainersReady"
},
{
"lastProbeTime": null,
"lastTransitionTime": "2019-08-27T17:28:30Z",
"status": "True",
"type": "PodScheduled"
}
],
"containerStatuses": [
{
"containerID": "docker://45dcd987587ac02949e7497e8c8babd532485f5452f2eb783fda02305acb74d4",
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imageID": "docker-pullable://quay.io/cloud-bulldozer/uperf@sha256:aa3ed4ed5a3c2e9255c68c617c70a3f05ea9f948b23e0b4b22ffb116940b6a6e",
"lastState": {},
"name": "benchmark",
"ready": true,
"restartCount": 0,
"state": {
"running": {
"startedAt": "2019-08-27T17:28:31Z"
}
}
}
],
"hostIP": "192.168.122.156",
"phase": "Running",
"podIP": "172.17.0.5",
"qosClass": "BestEffort",
"startTime": "2019-08-27T17:28:30Z"
}
},
"method": "create",
"result": {
"apiVersion": "batch/v1",
"kind": "Job",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:44Z",
"labels": {
"app": "uperf-bench-client-6f5a15c5",
"controller-uid": "1ea06ef4-c8f0-11e9-b184-b0cab0867ee7",
"job-name": "uperf-client-172.17.0.5-6f5a15c5"
},
"name": "uperf-client-172.17.0.5-6f5a15c5",
"namespace": "my-ripsaw",
"ownerReferences": [
{
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"name": "uperf-benchmark",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
}
],
"resourceVersion": "6116983",
"selfLink": "/apis/batch/v1/namespaces/my-ripsaw/jobs/uperf-client-172.17.0.5-6f5a15c5",
"uid": "1ea06ef4-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"backoffLimit": 6,
"completions": 1,
"parallelism": 1,
"selector": {
"matchLabels": {
"controller-uid": "1ea06ef4-c8f0-11e9-b184-b0cab0867ee7"
}
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"app": "uperf-bench-client-6f5a15c5",
"controller-uid": "1ea06ef4-c8f0-11e9-b184-b0cab0867ee7",
"job-name": "uperf-client-172.17.0.5-6f5a15c5"
}
},
"spec": {
"containers": [
{
"args": [
"export h=172.17.0.5; export clustername=myk8scluster; export hostnet=False; export ips=$(hostname -I); while true; do if [[ $(redis-cli -h 172.17.0.4 get start) =~ 'true' ]]; then for file in $(ls /tmp/uperf-test/ | egrep ^uperf); do cat /tmp/uperf-test/$file; for i in `seq 1 1`; do python /opt/snafu/uperf-wrapper/uperf-wrapper.py -w /tmp/uperf-test/$file -r $i; done; done; else continue; fi; break; done; redis-cli -h 172.17.0.4 set start false"
],
"command": [
"/bin/sh",
"-c"
],
"image": "quay.io/cloud-bulldozer/uperf:latest",
"imagePullPolicy": "Always",
"name": "benchmark",
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/tmp/uperf-test",
"name": "config-volume"
}
]
}
],
"dnsPolicy": "ClusterFirst",
"restartPolicy": "OnFailure",
"schedulerName": "default-scheduler",
"securityContext": {},
"terminationGracePeriodSeconds": 30,
"volumes": [
{
"configMap": {
"defaultMode": 420,
"name": "uperf-test-6f5a15c5"
},
"name": "config-volume"
}
]
}
}
},
"status": {}
}
}
TASK [uperf-bench : Start Client(s) - ServiceIP] *******************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:84
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [uperf-bench : k8s_status] ************************************************
TASK [uperf-bench : k8s_status] ************************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:90
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansible-operator
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926924.56-78585777933159 `" && echo ansible-tmp-1566926924.56-78585777933159="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926924.56-78585777933159 `" ) && sleep 0'
Using module file /usr/share/ansible/openshift/k8s_status.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-25j_VdmZ/tmpwThBT8 TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926924.56-78585777933159/AnsiballZ_k8s_status.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926924.56-78585777933159/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926924.56-78585777933159/AnsiballZ_k8s_status.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926924.56-78585777933159/AnsiballZ_k8s_status.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926924.56-78585777933159/ > /dev/null 2>&1 && sleep 0'
"kind": "Benchmark",
"kubeconfig": null,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"status": {
"complete": false,
"state": "Starting"
},
"username": null,
"verify_ssl": null
}
},
"result": {
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:23Z",
"generation": 1,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"resourceVersion": "6116991",
"selfLink": "/apis/ripsaw.cloudbulldozer.io/v1alpha1/namespaces/my-ripsaw/benchmarks/uperf-benchmark/status",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"workload": {
"args": {
"hostnetwork": false,
"nthrs": [
1
],
"pair": 1,
"pin": false,
"pin_client": "node-1",
"pin_server": "node-0",
"protos": [
"tcp",
"udp"
],
"runtime": 15,
"samples": 1,
"serviceip": false,
"sizes": [
64,
1024,
16384
],
"test_types": [
"stream",
"rr"
]
},
"name": "uperf"
}
},
"status": {
"complete": false,
"state": "Start
changed: [localhost] => {
"changed": true,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "ripsaw.cloudbulldozer.io/v1alpha1",
"cert_file": null,
"conditions": null,
"context": null,
"force": false,
"host": null,
"key_file": null,
"kind": "Benchmark",
"kubeconfig": null,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"status": {
"complete": false,
"state": "Starting"
},
"username": null,
"verify_ssl": null
}
},
"result": {
"apiVersion": "ripsaw.cloudbulldozer.io/v1alpha1",
"kind": "Benchmark",
"metadata": {
"creationTimestamp": "2019-08-27T17:28:23Z",
"generation": 1,
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"resourceVersion": "6116991",
"selfLink": "/apis/ripsaw.cloudbulldozer.io/v1alpha1/namespaces/my-ripsaw/benchmarks/uperf-benchmark/status",
"uid": "11f3d110-c8f0-11e9-b184-b0cab0867ee7"
},
"spec": {
"workload": {
"args": {
"hostnetwork": false,
"nthrs": [
1
],
"pair": 1,
"pin": false,
"pin_client": "node-1",
"pin_server": "node-0",
"protos": [
"tcp",
"udp"
],
"runtime": 15,
"samples": 1,
"serviceip": false,
"sizes": [
64,
1024,
16384
],
"test_types": [
"stream",
"rr"
]
},
"name": "uperf"
}
},
"status": {
"complete": false,
"state": "Starting",
"suuid": "6f5a15c5",
"uuid": "6f5a15c5-0532-509b-a349-09bb8510a17c"
}
}
}
TASK [uperf-bench : Check if all clients are up] *******************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:103
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [uperf-bench : Signal workload] *******************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:112
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [uperf-bench : k8s_status] ************************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:116
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [uperf-bench : Waiting for pods to complete....] **************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:130
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [uperf-bench : k8s_status] ************************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:139
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:153
TASK [uperf-bench : Get Server Pods] *******************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:153
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [uperf-bench : Pod names - to clean] **************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:162
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [uperf-bench : Cleanup run] ***********************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:171
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [uperf-bench : k8s_status] ************************************************
task path: /opt/ansible/roles/uperf-bench/tasks/main.yml:181
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [include_role : iperf3-bench] *********************************************
task path: /opt/ansible/playbook.yml:65
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [include_role : sysbench] *************************************************
task path: /opt/ansible/playbook.yml:71
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [include_role : load-ycsb] ************************************************
task path: /opt/ansible/playbook.yml:77
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [include_role : ycsb-bench] ***********************************************
task path: /opt/ansible/playbook.yml:83
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [include_role : byowl] ****************************************************
task path: /opt/ansible/playbook.yml:90
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [include_role : fio-distributed] ******************************************
task path: /opt/ansible/playbook.yml:96
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [include_role : pgbench] **************************************************
task path: /opt/ansible/playbook.yml:102
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
TASK [include_role : smallfile-bench] ******************************************
task path: /opt/ansible/playbook.yml:108
skipping: [localhost] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
META: ran handlers
META: ran handlers
PLAY RECAP *********************************************************************
localhost : ok=19 changed=6 unreachable=0 failed=0
/tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/uperf-benchmark/artifacts/3495860388553275548//stdout
ansible-playbook 2.7.10
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/usr/share/ansible/openshift']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 2.7.5 (default, Oct 30 2018, 23:45:53) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
Using /etc/ansible/ansible.cfg as config file
setting up inventory plugins
/tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/uperf-benchmark/inventory/hosts did not meet host_list requirements, check plugin documentation if this is unexpected
/tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/uperf-benchmark/inventory/hosts did not meet script requirements, check plugin documentation if this is unexpected
Set default localhost to localhost
Parsed /tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/uperf-benchmark/inventory/hosts inventory source with ini plugin
Parsed /tmp/ansible-operator/runner/ripsaw.cloudbulldozer.io/v1alpha1/Benchmark/my-ripsaw/uperf-benchmark/inventory/hosts inventory source with ini plugin
Loading callback plugin awx_display of type stdout, v2.0 from /usr/lib/python2.7/site-packages/ansible_runner/display_callback/module.pyc
PLAYBOOK: playbook.yml *********************************************************
1 plays in /opt/ansible/playbook.yml
PLAY [localhost] ***************************************************************
META: ran handlers
TASK [Get state] ***************************************************************
task path: /opt/ansible/playbook.yml:5
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ansible-operator
<localhost> EXEC /bin/sh -c 'echo ~ansible-operator && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926927.4-272450631791716 `" && echo ansible-tmp-1566926927.4-272450631791716="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1566926927.4-272450631791716 `" ) && sleep 0'
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/basic.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/k8s/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/k8s/common.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/parsing/convert_bool.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/_collections_compat.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/six/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/_text.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/parsing/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/pycompat24.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/process.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/__init__.py
Using module_utils file /usr/lib/python2.7/site-packages/ansible/module_utils/common/file.py
Using module file /usr/lib/python2.7/site-packages/ansible/modules/clustering/k8s/k8s_facts.py
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-519giHF9p/tmpRGNuE6 TO /opt/ansible/.ansible/tmp/ansible-tmp-1566926927.4-272450631791716/AnsiballZ_k8s_facts.py
<localhost> EXEC /bin/sh -c 'chmod u+x /opt/ansible/.ansible/tmp/ansible-tmp-1566926927.4-272450631791716/ /opt/ansible/.ansible/tmp/ansible-tmp-1566926927.4-272450631791716/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /opt/ansible/.ansible/tmp/ansible-tmp-1566926927.4-272450631791716/AnsiballZ_k8s_facts.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /opt/ansible/.ansible/tmp/ansible-tmp-1566926927.4-272450631791716/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"changed": false,
"invocation": {
"module_args": {
"api_key": null,
"api_version": "ripsaw.cloudbulldozer.io/v1alpha1",
"cert_file": null,
"context": null,
"field_selectors": [],
"host": null,
"key_file": null,
"kind": "Benchmark",
"kubeconfig": null,
"label_selectors": [],
"name": "uperf-benchmark",
"namespace": "my-ripsaw",
"password": null,
"ssl_ca_cert": null,
"username": null,
"verify_ssl": null