Bug 94404 - webkitpy install is messed up on Apple Lion WK2 bot
Summary: webkitpy install is messed up on Apple Lion WK2 bot
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kiran Muppala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-17 18:27 PDT by Dirk Pranke
Modified: 2012-08-20 11:01 PDT (History)
9 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 2012-08-17 18:27:49 PDT
The install/checkout seems to have gotten into a weird state:

http://build.webkit.org/builders/Apple%20Lion%20Release%20WK2%20%28Tests%29/builds/2357/steps/webkitpy-test/logs/stdio

where we think we've installed mechanize and yet it's not working:


Checking autoinstalled packages ...
Checking imports ...
Finding the individual test methods ...
Running the tests ...
[39/1577] webkitpy.common.net.buildbot.buildbot_unittest.BuildBotTest.test_revisions_for_builder erred:
  Traceback (most recent call last):
    File "/Volumes/Data/slave/lion-release-tests-wk2/build/Tools/Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py", line 394, in test_revisions_for_builder
      builder_with_success = Builder('Some builder', None)
    File "/Volumes/Data/slave/lion-release-tests-wk2/build/Tools/Scripts/webkitpy/common/net/buildbot/buildbot.py", line 54, in __init__
      from webkitpy.thirdparty.autoinstalled.mechanize import Browser
  ImportError: No module named mechanize
  
I think NRWT is running fine (it doesn't need mechanize for anything), but we should probably fix this. Deleting the checkout or at least Tools/Scripts/webkitpy/thirdparty/autoinstalled should be sufficient.

But, of course, I don't have access to the bot :).
Comment 1 Kiran Muppala 2012-08-17 19:30:33 PDT
Deleted the Tools/Scripts/webkitpy/thirdparty/autoinstalled folder and rebooted the bot.
Comment 2 Kiran Muppala 2012-08-17 19:46:09 PDT
After reboot webkitpy-test ran fine.

http://build.webkit.org/builders/Apple%20Lion%20Release%20WK2%20%28Tests%29/builds/2360/steps/webkitpy-test/logs/stdio

Resolving bug.
Comment 3 Adam Barth 2012-08-19 13:48:20 PDT
Interesting.  I wonder if we should have some automatic way of recovering from corrupted autoinstall directories.
Comment 4 Dirk Pranke 2012-08-20 11:01:10 PDT
(In reply to comment #3)
> Interesting.  I wonder if we should have some automatic way of recovering from corrupted autoinstall directories.

Perhaps. If I had some idea how this happened it would be helpful :). If it seems to keep happening we can certainly put some work into it.