Bug 46431 - scm_unittest fails on Mac SnowLeopard
Summary: scm_unittest fails on Mac SnowLeopard
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-23 16:55 PDT by Dirk Pranke
Modified: 2010-10-15 13:46 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Pranke 2010-09-23 16:55:56 PDT
for example:

checkout $ time python scm_unittest.py -v GitSVNTest.test_apply_git_patch
test_apply_git_patch (__main__.GitSVNTest) ... ERROR

======================================================================
ERROR: test_apply_git_patch (__main__.GitSVNTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "scm_unittest.py", line 917, in test_apply_git_patch
    Checkout(scm).apply_patch(patch)
  File "/Volumes/Src/src/c.wtot/src/third_party/WebKit/WebKitTools/Scripts/webkitpy/common/checkout/api.py", line 127, in apply_patch
    run_command(args, input=patch.contents())
  File "/src/c.wtot/src/third_party/WebKit/WebKitTools/Scripts/webkitpy/common/system/executive.py", line 91, in run_command
    return Executive().run_command(*args, **kwargs)
  File "/src/c.wtot/src/third_party/WebKit/WebKitTools/Scripts/webkitpy/common/system/executive.py", line 292, in run_command
    close_fds=self._should_close_fds())
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 595, in __init__
    errread, errwrite)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1106, in _execute_child
    raise child_exception
OSError: [Errno 62] Too many levels of symbolic links

----------------------------------------------------------------------
Ran 1 test in 9.110s

FAILED (errors=1)

real	0m9.600s
user	0m0.702s
sys	0m1.020s
checkout $ 

I think the way we're creating sym links is broken, because the WebKitTools/Scripts dir in the test repo is symlinked to itself. Haven't debugged further than this yet.
Comment 1 Dirk Pranke 2010-10-15 13:46:20 PDT
this is passing for me lately, so closing.