Bug 65148

Summary: Add some debug logging to NRWT to diagnose why the windows bots can't determine their SVN revision
Product: WebKit Reporter: Adam Barth <abarth>
Component: New BugsAssignee: Adam Barth <abarth>
Status: RESOLVED FIXED    
Severity: Normal CC: ojan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Adam Barth
Reported 2011-07-25 16:08:01 PDT
Add some debug logging to NRWT to diagnose why the windows bots can't determine their SVN revision
Attachments
Patch (1.66 KB, patch)
2011-07-25 16:08 PDT, Adam Barth
no flags
Adam Barth
Comment 1 2011-07-25 16:08:19 PDT
Adam Barth
Comment 2 2011-07-25 16:14:50 PDT
Comment on attachment 101936 [details] Patch Clearing flags on attachment: 101936 Committed r91719: <http://trac.webkit.org/changeset/91719>
Adam Barth
Comment 3 2011-07-25 16:14:53 PDT
All reviewed patches have been landed. Closing bug.
Ojan Vafai
Comment 4 2011-07-25 17:03:45 PDT
We know that the --xml version of this code in JSONResultsGenerator works on the windows bots. Why not just change the code?
Adam Barth
Comment 5 2011-07-25 17:13:59 PDT
> We know that the --xml version of this code in JSONResultsGenerator works on the windows bots. Why not just change the code? Why does JSONResultsGenerator have it's own secret version of _get_svn_revision ? :(
Adam Barth
Comment 6 2011-07-25 17:19:04 PDT
Here's the log: http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Vista/builds/5169/steps/webkit_tests/logs/stdio 2011-07-25 17:18:12,144 464 manager.py:221 DEBUG Failed to learn head_svn_revision: 2011-07-25 17:18:12,144 464 manager.py:222 DEBUG [Error 2] The system cannot find the file specified
Adam Barth
Comment 7 2011-07-25 17:30:36 PDT
Ojan Vafai
Comment 8 2011-07-25 17:36:26 PDT
(In reply to comment #5) > > We know that the --xml version of this code in JSONResultsGenerator works on the windows bots. Why not just change the code? > > Why does JSONResultsGenerator have it's own secret version of _get_svn_revision ? :( I've mentioned this code a billion times to Eric everytime he's tried fixing this bug. This code was written before scm.py existed. An attempt to use scm.py's was made, but didn't work on windows so it was rolled back. :) Noone had time to look into why. See the FIXME above the code explaining all this.
Adam Barth
Comment 9 2011-07-25 17:53:11 PDT
Well, hopefully the fix in Bug 65156 will fix windows and then we can delete this second implementation.
Note You need to log in before you can comment on or make changes to this bug.