RESOLVED FIXED Bug 82996
Chromium testers should extract builds instead of building on their own
https://bugs.webkit.org/show_bug.cgi?id=82996
Summary Chromium testers should extract builds instead of building on their own
Ryosuke Niwa
Reported 2012-04-02 19:36:28 PDT
Chromium testers should extract builds instead of building on their own
Attachments
Patch (13.74 KB, patch)
2012-04-02 20:03 PDT, Ryosuke Niwa
tony: review+
Ryosuke Niwa
Comment 1 2012-04-02 20:03:08 PDT
Ryosuke Niwa
Comment 2 2012-04-02 20:05:25 PDT
Comment on attachment 135262 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=135262&action=review > Tools/BuildSlaveSupport/download-built-product:39 > + parser.add_option("--platform", dest="platform") > + parser.add_option("--debug", action="store_const", const="debug", dest="configuration") > + parser.add_option("--release", action="store_const", const="release", dest="configuration") Note that platform and configuration are not used at the moment. They're here for the forward compatibility.
Tony Chang
Comment 3 2012-04-03 11:35:43 PDT
Comment on attachment 135262 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=135262&action=review > Tools/BuildSlaveSupport/built-product-archive:219 > + elif platform == 'chromium': > + removeDirectoryIfExists(configurationBuildDirectory) > + os.makedirs(configurationBuildDirectory) > + return unzipArchive(configurationBuildDirectory, configuration) This is the same as the qt, gtk, efl branch. Can we merge them? Would also be nice to do the removeDir/makedirs before the if.
Ryosuke Niwa
Comment 4 2012-04-03 11:55:16 PDT
Thanks for the review. (In reply to comment #3) > This is the same as the qt, gtk, efl branch. Can we merge them? Would also be nice to do the removeDir/makedirs before the if. Will do.
Ryosuke Niwa
Comment 5 2012-04-03 11:58:26 PDT
Csaba Osztrogonác
Comment 6 2012-04-03 12:28:32 PDT
Reopen, because it broke our Qt ARM tester bot on http://build.webkit.sed.hu http://build.webkit.sed.hu/builders/ARMv5%20Linux%20Qt%20Release%20%28Test%29/builds/6274 It's too late for me now, but I can check it tomorrow what happened.
Ryosuke Niwa
Comment 7 2012-04-03 12:48:20 PDT
(In reply to comment #6) > Reopen, because it broke our Qt ARM tester bot on http://build.webkit.sed.hu > > http://build.webkit.sed.hu/builders/ARMv5%20Linux%20Qt%20Release%20%28Test%29/builds/6274 > > It's too late for me now, but I can check it tomorrow what happened. Yeah, addressing Tony's comment (calling removeDirectoryIfExists outside if) resulted in some bug :( It should be fixed in http://trac.webkit.org/changeset/113071.
Csaba Osztrogonác
Comment 8 2012-04-03 12:51:42 PDT
(In reply to comment #7) > Yeah, addressing Tony's comment (calling removeDirectoryIfExists outside if) resulted in some bug :( It should be fixed in http://trac.webkit.org/changeset/113071. Unfortunately it didn't fix. Traceback (most recent call last): File "./Tools/BuildSlaveSupport/built-product-archive", line 218, in <module> sys.exit(main()) File "./Tools/BuildSlaveSupport/built-product-archive", line 61, in main return extractBuiltProduct(options.configuration, options.platform) File "./Tools/BuildSlaveSupport/built-product-archive", line 213, in extractBuiltProduct os.makedirs(configurationBuildDirectory) File "/usr/lib/python2.6/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 17] File exists: '/home/webkitbuildbot/slaves/armReleaseTest/buildslave/arm-qt-linux-release-arm-test/build/WebKitBuild/Release'
Csaba Osztrogonác
Comment 9 2012-04-03 12:53:47 PDT
Ryosuke Niwa
Comment 10 2012-04-03 13:16:05 PDT
(In reply to comment #9) > Oh, I think I should modify our master.cfg too after this change - http://trac.webkit.org/changeset/113067/trunk/Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg Ah, yes. You may need to adjust your master.cfg if you're using WebKIt's BuildSlaveSupport scripts.
Csaba Osztrogonác
Comment 11 2012-04-03 13:36:10 PDT
I fixed our master.cfg and it works now.
Note You need to log in before you can comment on or make changes to this bug.