Max attempts reached for git remote update; giving up.

Bug #1425665 reported by Davanum Srinivas (DIMS)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Gate
New
Undecided
Unassigned

Bug Description

Example:
http://logs.openstack.org/57/138657/4/gate/gate-tempest-dsvm-full/c3da4e4/logs/devstack-gate-setup-workspace-new.txt.gz

Symptom:
Console.html will show:
2015-02-25 19:35:44.445 | /opt/stack/new/devstack-gate/devstack-vm-gate.sh: line 433: cd: /opt/stack/new/devstack: No such file or directory

Cause: git operation to create that directory is failing
2015-02-25 19:33:10.361 | Initialized empty Git repository in /opt/stack/new/devstack-gate/.git/
2015-02-25 19:33:43.287 | + cd devstack-gate
2015-02-25 19:33:43.289 | + git_remote_set_url origin https://git.openstack.org/openstack-infra/devstack-gate
2015-02-25 19:33:43.291 | + git remote set-url origin https://git.openstack.org/openstack-infra/devstack-gate
2015-02-25 19:33:43.293 | ++ echo devstack-gate
2015-02-25 19:33:43.296 | ++ tr '[:lower:]' '[:upper:]'
2015-02-25 19:33:43.298 | ++ tr - _
2015-02-25 19:33:43.301 | ++ sed 's/[^A-Z_]//'
2015-02-25 19:33:43.303 | + local uc_project=DEVSTACK_GATE
2015-02-25 19:33:43.305 | + local 'project_branch_var=$OVERRIDE_DEVSTACK_GATE_PROJECT_BRANCH'
2015-02-25 19:33:43.307 | ++ eval echo '$OVERRIDE_DEVSTACK_GATE_PROJECT_BRANCH'
2015-02-25 19:33:43.309 | +++ echo
2015-02-25 19:33:43.311 | + local project_branch=
2015-02-25 19:33:43.313 | + [[ '' != '' ]]
2015-02-25 19:33:43.315 | ++ echo refs/zuul/master/Ze8fab3e949f44fcfbac973371ee63122
2015-02-25 19:33:43.317 | ++ sed -e s,master,master,
2015-02-25 19:33:43.319 | + OVERRIDE_ZUUL_REF=refs/zuul/master/Ze8fab3e949f44fcfbac973371ee63122
2015-02-25 19:33:43.321 | + git_remote_update
2015-02-25 19:33:43.322 | + MAX_ATTEMPTS=3
2015-02-25 19:33:43.324 | + COUNT=0
2015-02-25 19:33:43.326 | + timeout -k 1m 5m git remote update
2015-02-25 19:33:43.328 | timeout: invalid option -- 'k'
2015-02-25 19:33:43.329 | Try `timeout --help' for more information.
2015-02-25 19:33:43.331 | + COUNT=1
2015-02-25 19:33:43.333 | + echo 'git remote update failed.'
2015-02-25 19:33:43.335 | git remote update failed.
2015-02-25 19:33:43.337 | + '[' 1 -eq 3 ']'
2015-02-25 19:33:43.339 | + SLEEP_TIME=72
2015-02-25 19:33:43.341 | + echo 'sleep 72 before retrying.'
2015-02-25 19:33:43.342 | sleep 72 before retrying.
2015-02-25 19:33:43.344 | + sleep 72
2015-02-25 19:34:55.298 | + timeout -k 1m 5m git remote update
2015-02-25 19:34:55.300 | timeout: invalid option -- 'k'
2015-02-25 19:34:55.302 | Try `timeout --help' for more information.
2015-02-25 19:34:55.304 | + COUNT=2
2015-02-25 19:34:55.306 | + echo 'git remote update failed.'
2015-02-25 19:34:55.308 | git remote update failed.
2015-02-25 19:34:55.310 | + '[' 2 -eq 3 ']'
2015-02-25 19:34:55.312 | + SLEEP_TIME=49
2015-02-25 19:34:55.314 | + echo 'sleep 49 before retrying.'
2015-02-25 19:34:55.316 | sleep 49 before retrying.
2015-02-25 19:34:55.318 | + sleep 49
2015-02-25 19:35:44.301 | + timeout -k 1m 5m git remote update
2015-02-25 19:35:44.303 | timeout: invalid option -- 'k'
2015-02-25 19:35:44.305 | Try `timeout --help' for more information.
2015-02-25 19:35:44.307 | + COUNT=3
2015-02-25 19:35:44.308 | + echo 'git remote update failed.'
2015-02-25 19:35:44.310 | git remote update failed.
2015-02-25 19:35:44.312 | + '[' 3 -eq 3 ']'
2015-02-25 19:35:44.314 | + echo 'Max attempts reached for git remote update; giving up.'
2015-02-25 19:35:44.316 | Max attempts reached for git remote update; giving up.
2015-02-25 19:35:44.318 | + exit 1

Revision history for this message
Matthew Treinish (treinish) wrote :

This isn't a bug in tempest. Tempest wasn't ever run in that log...

Changed in tempest:
status: New → Invalid
no longer affects: tempest
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.