New issue
Advanced search Search tips

Issue 719722 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 710981
Owner: ----
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

git cl upload failed but CL was uploaded to gerrit

Project Member Reported by sunn...@chromium.org, May 8 2017

Issue description

I uploaded a CL twice because git cl upload failed the first time but uploaded the CL to gerrit.

https://chromium-review.googlesource.com/c/499408/ (first CL)
https://chromium-review.googlesource.com/c/499388/ (second CL)

The timestamps and CL ids are in reverse order for some reason. The first CL does not have the Cq-Include-Trybots line added by PRESUBMIT.py.

Command line output:

sunnyps@sunnyps-linux:~/src/chromium/src$ git cl upload
Using 50% similarity for rename/copy detection. Override with --similarity.                                                   
Running presubmit upload checks ...
Done processing /usr/local/google/home/sunnyps/src/chromium/src/cc/trees/layer_tree_host_impl.cc

Presubmit checks took 2.7s to calculate.

Presubmit checks passed.
 cc/trees/layer_tree_host_impl.cc | 3 +++
 1 file changed, 3 insertions(+)
To https://chromium.googlesource.com/chromium/src.git
 ! [remote rejected]           cdf23843c3df06866d20574229adceaf76df427e -> refs/for/refs/heads/master%m=Initial_upload,notify=NONE,r=danakj (error in Gerrit backend)
error: failed to push some refs to 'https://chromium.googlesource.com/chromium/src.git'

Error after CL description prompt -- saving description to /usr/local/google/home/sunnyps/.git_cl_description_backup

Failed to create a change. Please examine output above for the reason of the failure.
Hint: run command below to diangose common Git/Gerrit credential problems:
  git cl creds-check

sunnyps@sunnyps-linux:~/src/chromium/src$ git cl creds-check
git is already configured to use your .gitcookies from /usr/local/google/home/sunnyps/.gitcookies
Your .netrc and .gitcookies have credentials for these hosts:
                            Host                            User         Which file
================================        ========================        ===========
chromium-review.googlesource.com        git-sunnyps.chromium.org        .gitcookies
       chromium.googlesource.com        git-sunnyps.chromium.org        .gitcookies

No problems detected in your .gitcookies
sunnyps@sunnyps-linux:~/src/chromium/src$ git cl upload
Using 50% similarity for rename/copy detection. Override with --similarity.
Running presubmit upload checks ...
Done processing /usr/local/google/home/sunnyps/src/chromium/src/cc/trees/layer_tree_host_impl.cc

Presubmit checks took 2.7s to calculate.

Presubmit checks passed.
 cc/trees/layer_tree_host_impl.cc | 3 +++
 1 file changed, 3 insertions(+)
remote: Processing changes: new: 1, done            
remote:                                                                                                                       
remote: New Changes:        
remote:   https://chromium-review.googlesource.com/499388 cc: Add counter trace events for missing tiles.        
remote: 
To https://chromium.googlesource.com/chromium/src.git
 * [new branch]                a7fece2d60814baf00dd967c8e9e8c20ce41bfe0 -> refs/for/refs/heads/master%m=Initial_upload,notify=NONE,r=danakj

** Post Upload Hook Messages **
Automatically added Blink trybots to run Blink tests on CQ.



 
Mergedinto: 710981
Status: Duplicate (was: Untriaged)
This was due to a currently ongoing release of the next version of the gerrit backends. The machine responding to your push got shutdown in the middle of the request.

Sign in to add a comment