Bifrost test bridge init race

Bug #1650025 reported by Julia Kreger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bifrost
Triaged
Medium
Unassigned

Bug Description

Observed on openstack CI:

2016-12-14 11:41:12.987330 | TASK [bifrost-create-vm-nodes : Verify default network is running] *************
2016-12-14 11:41:12.987462 | task path: /home/jenkins/workspace/gate-bifrost-integration-dhcp-ubuntu-xenial-nv/openstack/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:70
2016-12-14 11:41:13.067564 | <localhost> ESTABLISH LOCAL CONNECTION FOR USER: jenkins
2016-12-14 11:41:13.067737 | <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1481715673.07-193837246091520 `" && echo ansible-tmp-1481715673.07-193837246091520="` echo $HOME/.ansible/tmp/ansible-tmp-1481715673.07-193837246091520 `" ) && sleep 0'
2016-12-14 11:41:13.075421 | <localhost> PUT /tmp/tmpHczas3 TO /home/jenkins/.ansible/tmp/ansible-tmp-1481715673.07-193837246091520/command
2016-12-14 11:41:13.075961 | <localhost> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1481715673.07-193837246091520/ /home/jenkins/.ansible/tmp/ansible-tmp-1481715673.07-193837246091520/command && sleep 0'
2016-12-14 11:41:13.081755 | <localhost> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-vtruqinnoocmvlaqzsegmprqndhwyrbu; LANG=C.UTF-8 LC_ALL=C.UTF-8 LC_MESSAGES=C.UTF-8 /usr/bin/python /home/jenkins/.ansible/tmp/ansible-tmp-1481715673.07-193837246091520/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1481715673.07-193837246091520/" > /dev/null 2>&1'"'"' && sleep 0'
2016-12-14 11:41:13.596172 | fatal: [localhost]: FAILED! => {"changed": true, "cmd": "virsh net-info default |grep Active|grep -q yes", "delta": "0:00:00.402686", "end": "2016-12-14 11:41:13.557873", "failed": true, "invocation": {"module_args": {"_raw_params": "virsh net-info default |grep Active|grep -q yes", "_uses_shell": true, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 1, "start": "2016-12-14 11:41:13.155187", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}
2016-12-14 11:41:13.596272 | ...ignoring
2016-12-14 11:41:13.604056 |
2016-12-14 11:41:13.604128 | TASK [bifrost-create-vm-nodes : Start default network if not running] **********
2016-12-14 11:41:13.604247 | task path: /home/jenkins/workspace/gate-bifrost-integration-dhcp-ubuntu-xenial-nv/openstack/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:75
2016-12-14 11:41:13.640804 | <localhost> ESTABLISH LOCAL CONNECTION FOR USER: jenkins
2016-12-14 11:41:13.640972 | <localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1481715673.64-262820627029533 `" && echo ansible-tmp-1481715673.64-262820627029533="` echo $HOME/.ansible/tmp/ansible-tmp-1481715673.64-262820627029533 `" ) && sleep 0'
2016-12-14 11:41:13.648524 | <localhost> PUT /tmp/tmpA7ri12 TO /home/jenkins/.ansible/tmp/ansible-tmp-1481715673.64-262820627029533/command
2016-12-14 11:41:13.649058 | <localhost> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1481715673.64-262820627029533/ /home/jenkins/.ansible/tmp/ansible-tmp-1481715673.64-262820627029533/command && sleep 0'
2016-12-14 11:41:13.662809 | <localhost> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-frwnmcqzylxnfyoscoadxyqowsurbyrn; LANG=C.UTF-8 LC_ALL=C.UTF-8 LC_MESSAGES=C.UTF-8 /usr/bin/python /home/jenkins/.ansible/tmp/ansible-tmp-1481715673.64-262820627029533/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1481715673.64-262820627029533/" > /dev/null 2>&1'"'"' && sleep 0'
2016-12-14 11:41:13.810856 | fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["virsh", "net-start", "default"], "delta": "0:00:00.020430", "end": "2016-12-14 11:41:13.774477", "failed": true, "invocation": {"module_args": {"_raw_params": "virsh net-start default", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 1, "start": "2016-12-14 11:41:13.754047", "stderr": "error: Failed to start network default\nerror: error creating bridge interface virbr0: File exists", "stdout": "", "stdout_lines": [], "warnings": []}
2016-12-14 11:41:13.816428 |

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.