gate-quickstart role failing depends-on 'UnboundLocalError: local variable 'remote_head' referenced before assignment'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo-quickstart |
Fix Released
|
High
|
Harry Rybacki |
Bug Description
It appears that changes with a `Depends-on: <change id>` are presently breaking the gate-quickstart role. I first noted this when making a tripleo-
From the gate's console output[3] we see the following error:
```
TASK [gate-quickstart : Check out the gated change] *******
task path: /home/centos/
Wednesday 11 January 2017 19:36:42 +0000 (0:00:00.058) 0:00:05.991 *****
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: UnboundLocalError: local variable 'remote_head' referenced before assignment
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/
```
The failing task is calling Ansible's git module. This appears to be known issue[4] related to 'force: true'[5]. A fix was merged to devel and backported to stable-2.2[6]. We have pinned ansible to '2.2.0.0' in our requirements.txt[7] though -- so I'm not sure exactly what is going on. Need to verify exactly what 2.2 stable means with respect to 2.2.0.0
[1] - https:/
[2] - https:/
[3] - https:/
[4] - https:/
[5] - https:/
[6] - https:/
[7] - https:/
tags: | added: ci |
summary: |
- gate-quickstart role failing 'UnboundLocalError: local variable - 'remote_head' referenced before assignment' + gate-quickstart role failing depends-on 'UnboundLocalError: local + variable 'remote_head' referenced before assignment' |
Changed in tripleo-quickstart: | |
importance: | Undecided → High |
Fix proposed to branch: master /review. openstack. org/419135
Review: https:/