janke99 / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 0 forks source link

automate-git.py fails when checking out chrome third_party code #1361

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run automate-git.py tool
python automate-git.py --download-dir CEF3-MacOS-trunk/download/ --force-clean 
--force-clean-deps --build-tests --client-distrib --verbose-build 
--build-log-file

What is the expected output? What do you see instead?
Checkout/build passes without any errors

What version of the product are you using? On what operating system?
CEF3. Mac OS X 10.7.5

U   
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/third_p
arty/WebKit
Checked out revision 177271.
src/chrome/installer/mac/third_party/xz/xz (ERROR)
----------------------------------------
[0:00:00] Started.
[0:00:00] _____ switching src/chrome/installer/mac/third_party/xz/xz to a new 
upstream
[0:00:00] running 'git remote set-url origin 
https://chromium.googlesource.com/chromium/trunk/deps/third_party/xz' in 
'/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/chrome
/installer/mac/third_party/xz/xz'
[0:00:00] running 'git config remote.origin.fetch 
+refs/branch-heads/*:refs/remotes/branch-heads/* ^\+refs/branch-heads/\*:.*$' 
in 
'/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/chrome
/installer/mac/third_party/xz/xz'
[0:00:00] fatal: remote error: Git repository not found
[0:00:01] fatal: remote error: Git repository not found
[0:00:02] fatal: remote error: Git repository not found
[0:00:05] fatal: remote error: Git repository not found
----------------------------------------
Error: Command git -c core.deltaBaseCacheLimit=2g fetch origin --prune returned 
non-zero exit status 128 in 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/chrome/
installer/mac/third_party/xz/xz

Warnings:
Conflicting directory 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/breakpa
d/src moved to 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/_bad_scm/sr
c/breakpad/srcv0xh97.
Conflicting directory 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/chrome/
test/data/extensions/api_test/permissions/nacl_enabled/bin moved to 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/_bad_scm/sr
c/chrome/test/data/extensions/api_test/permissions/nacl_enabled/binCU6Ny7.
Conflicting directory 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/native_
client moved to 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/_bad_scm/sr
c/native_client6Hmdhy.
Conflicting directory 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/sdch/op
en-vcdiff moved to 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/_bad_scm/sr
c/sdch/open-vcdiffoBWmRW.
Conflicting directory 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/testing
/gmock moved to 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/_bad_scm/sr
c/testing/gmock8SHzqt.
Conflicting directory 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/testing
/gtest moved to 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/_bad_scm/sr
c/testing/gtestQkZlci.
Conflicting directory 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/third_p
arty/WebKit moved to 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/_bad_scm/sr
c/third_party/WebKitt0rHrU.
Conflicting directory 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/third_p
arty/bidichecker moved to 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/_bad_scm/sr
c/third_party/bidicheckerPHKUxT.
Conflicting directory 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/third_p
arty/cacheinvalidation/src moved to 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/_bad_scm/sr
c/third_party/cacheinvalidation/srcqMA9jM.
Conflicting directory 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/third_p
arty/cld_2/src moved to 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/_bad_scm/sr
c/third_party/cld_2/src4nwaD7.
Conflicting directory 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/third_p
arty/google_toolbox_for_mac/src moved to 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/_bad_scm/sr
c/third_party/google_toolbox_for_mac/srcJr1Zh9.
Conflicting directory 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src/third_p
arty/jsoncpp/source/include moved to 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/_bad_scm/sr
c/third_party/jsoncpp/source/includecNG0x9.
--> Creating directory 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download
--> Download Directory: 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download
--> Depot Tools Directory: 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/depot_tools
-------- Running "svn checkout 
http://src.chromium.org/svn/trunk/tools/depot_tools 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/depot_tools" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download"...
-------- Running "update_depot_tools" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/depot_tools"...
--> CEF Branch: trunk
--> CEF URL: 
https://chromiumembedded@bitbucket.org/chromiumembedded/trunk-cef3.git
--> CEF Source Directory: 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/cef_trunk
-------- Running "git clone 
https://chromiumembedded@bitbucket.org/chromiumembedded/trunk-cef3.git 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/cef_trunk" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download"...
-------- Running "git rev-parse HEAD" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/cef_trunk"...
-------- Running "git rev-parse origin/master" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/cef_trunk"...
--> CEF Current Checkout: 59bbe472211daab11ac5ab727f558785abb961f3
-------- Running "git log --grep=^git-svn-id: -n 1 
59bbe472211daab11ac5ab727f558785abb961f3" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/cef_trunk"...
--> CEF Current Revision: 1811
--> CEF Desired Checkout: 59bbe472211daab11ac5ab727f558785abb961f3 
(origin/master)
-------- Running "git log --grep=^git-svn-id: -n 1 
59bbe472211daab11ac5ab727f558785abb961f3" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/cef_trunk"...
--> CEF Desired Revision: 1811
-------- Running "git checkout --force origin/master" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/cef_trunk"...
--> CEF Output Directory: 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/out_trunk
--> Creating directory 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium
--> Writing file: 
/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/.gclient
-------- Running "gclient sync --nohooks --with_branch_heads --jobs 16" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium"...
-------- Running "git config --get remote.origin.url" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src"...
--> Chromium URL: https://chromium.googlesource.com/chromium/src.git
-------- Running "git rev-parse HEAD" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src"...
-------- Running "git rev-parse e800fe7470fa87dc1ca5b148a7c2c41f603fdcbd" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src"...
--> Chromium Current Checkout: f44ecee406acecee0f5cea4b16bd0e395ffc0108
-------- Running "git log --grep=^git-svn-id: -n 1 
f44ecee406acecee0f5cea4b16bd0e395ffc0108" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src"...
--> Chromium Current Revision: 291560
--> Chromium Desired Checkout: e800fe7470fa87dc1ca5b148a7c2c41f603fdcbd 
(e800fe7470fa87dc1ca5b148a7c2c41f603fdcbd)
-------- Running "git log --grep=^git-svn-id: -n 1 
e800fe7470fa87dc1ca5b148a7c2c41f603fdcbd" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src"...
--> Chromium Desired Revision: 280796
-------- Running "git fetch" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src"...
-------- Running "git fetch --tags" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src"...
-------- Running "git checkout --force 
e800fe7470fa87dc1ca5b148a7c2c41f603fdcbd" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium/src"...
-------- Running "gclient sync --reset --with_branch_heads --jobs 16" in 
"/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/download/chromium"...
Traceback (most recent call last):
  File "/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/tools/automate/automate-git.py", line 835, in <module>
    chromium_dir, depot_tools_dir)
  File "/Volumes/Sources/cef/workspace/CEF3-MacOS-trunk-64/tools/automate/automate-git.py", line 73, in run
    shell=(sys.platform == 'win32'))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 504, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gclient', 'sync', '--reset', 
'--with_branch_heads', '--jobs', '16']' returned non-zero exit status 1

Please provide any additional information below.
I am seeing similar errors for trunk revision 1811 for 32, 64 bit builds of 
windows and mac

Original issue reported on code.google.com by meghs.p...@gmail.com on 26 Aug 2014 at 11:23

GoogleCodeExporter commented 9 years ago
Try manually deleting the "third_party/xz" directory and running 
automate-git.py again. There were also some problems with depot_tools when you 
filed this issue that may now be resolved.

Original comment by magreenb...@gmail.com on 28 Aug 2014 at 2:47

GoogleCodeExporter commented 9 years ago
@#1 Thanks,
I had manually deleted the failing directory ; it did not fix the issue. But, 
it worked after pulling in the latest depot_tools.

Original comment by meghs.p...@gmail.com on 29 Aug 2014 at 5:55

GoogleCodeExporter commented 9 years ago

Original comment by magreenb...@gmail.com on 29 Aug 2014 at 2:11