Bug 174198

Summary: Enabling uploading archives to S3
Product: WebKit Reporter: Lucas Forschler <lforschler>
Component: Tools / TestsAssignee: Lucas Forschler <lforschler>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, kocsen_chung, lforschler, ossy, slewis, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=197914
Attachments:
Description Flags
v1 patch for review
lforschler: commit-queue-
v2 patch for review
lforschler: commit-queue-
v3 patch for review
lforschler: commit-queue-
v4 patch with feedback applied
slewis: review+, lforschler: commit-queue+
patch for landing none

Lucas Forschler
Reported 2017-07-06 01:36:53 PDT
Teach buildbot to use S3 for archive storage.
Attachments
v1 patch for review (3.27 KB, patch)
2017-07-06 01:41 PDT, Lucas Forschler
lforschler: commit-queue-
v2 patch for review (3.36 KB, patch)
2017-07-06 13:48 PDT, Lucas Forschler
lforschler: commit-queue-
v3 patch for review (3.26 KB, patch)
2017-07-06 13:52 PDT, Lucas Forschler
lforschler: commit-queue-
v4 patch with feedback applied (11.59 KB, patch)
2017-07-06 15:00 PDT, Lucas Forschler
slewis: review+
lforschler: commit-queue+
patch for landing (12.39 KB, patch)
2017-07-06 20:35 PDT, Lucas Forschler
no flags
Radar WebKit Bug Importer
Comment 1 2017-07-06 01:38:02 PDT
Lucas Forschler
Comment 2 2017-07-06 01:41:56 PDT
Created attachment 314710 [details] v1 patch for review
Lucas Forschler
Comment 3 2017-07-06 13:48:18 PDT
Created attachment 314753 [details] v2 patch for review
Lucas Forschler
Comment 4 2017-07-06 13:52:19 PDT
Created attachment 314754 [details] v3 patch for review had a search/replace error in the last one.
Lucas Forschler
Comment 5 2017-07-06 13:57:32 PDT
Comment on attachment 314754 [details] v3 patch for review View in context: https://bugs.webkit.org/attachment.cgi?id=314754&action=review > Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:790 > + haltOnFailure = True This should be transferring and transferred
Kocsen Chung
Comment 6 2017-07-06 14:29:52 PDT
Comment on attachment 314754 [details] v3 patch for review View in context: https://bugs.webkit.org/attachment.cgi?id=314754&action=review > Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:265 > +class ArchiveMinifiedBuiltProduct(ArchiveBuiltProduct): Nit: ArchiveMinifiedBuildProduct (Build instead of Built) > Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:294 > + Nit: add extra whitespace for a total of two newlines between class bodies. > Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:787 > + name = "transfer-to-s3" I think it would be nice to adhere to other steps when it comes to the order of these variables. Usually (from immediate context above) I see name, description, descriptionDone and command declared first and succeed in that order. The rest can go below those.
Lucas Forschler
Comment 7 2017-07-06 14:53:56 PDT
Comment on attachment 314754 [details] v3 patch for review View in context: https://bugs.webkit.org/attachment.cgi?id=314754&action=review >> Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:265 >> +class ArchiveMinifiedBuiltProduct(ArchiveBuiltProduct): > > Nit: ArchiveMinifiedBuildProduct > (Build instead of Built) I'm following the convention of the parent class, which is "ArchiveBuiltProduct". I think we should stay consistent here. >> Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:294 >> + > > Nit: add extra whitespace for a total of two newlines between class bodies. I went back and forth on this... this file is NOT consistent... about half of the classes have one space, there other two between them. Let's do a follow-up patch which adds two spaces everywhere. >> Tools/BuildSlaveSupport/build.webkit.org-config/master.cfg:787 >> + name = "transfer-to-s3" > > I think it would be nice to adhere to other steps when it comes to the order of these variables. > > Usually (from immediate context above) I see name, description, descriptionDone and command declared first and succeed in that order. > The rest can go below those. sounds reasonable.
Lucas Forschler
Comment 8 2017-07-06 15:00:46 PDT
Created attachment 314759 [details] v4 patch with feedback applied
WebKit Commit Bot
Comment 9 2017-07-06 18:40:41 PDT
Comment on attachment 314759 [details] v4 patch with feedback applied Rejecting attachment 314759 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 314759, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: .webkit.org/git/WebKit f7690be..bffe022 master -> origin/master Partial-rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc ... Currently at 219228 = f7690bed686173d0f489bfe42db410ad8803373f r219229 = bffe0225c245062649b98d0475077cff818f4b6b Done rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc First, rewinding head to replay your work on top of it... Fast-forwarded master to refs/remotes/origin/master. Full output: http://webkit-queues.webkit.org/results/4066537
Lucas Forschler
Comment 10 2017-07-06 20:35:20 PDT
Created attachment 314804 [details] patch for landing
WebKit Commit Bot
Comment 11 2017-07-06 21:13:39 PDT
Comment on attachment 314804 [details] patch for landing Clearing flags on attachment: 314804 Committed r219235: <http://trac.webkit.org/changeset/219235>
WebKit Commit Bot
Comment 12 2017-07-06 21:13:43 PDT
All reviewed patches have been landed. Closing bug.
Csaba Osztrogonác
Comment 13 2017-07-31 14:38:54 PDT
(In reply to WebKit Commit Bot from comment #11) > Comment on attachment 314804 [details] > patch for landing > > Clearing flags on attachment: 314804 > > Committed r219235: <http://trac.webkit.org/changeset/219235> It broke the mastercfg_unittest.py build step list test, please update it.
Csaba Osztrogonác
Comment 14 2017-08-01 23:45:59 PDT
Note You need to log in before you can comment on or make changes to this bug.