Bug 221263

Summary: [build.webkit.org] unzip layout-test-results in background
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Aakash Jain <aakash_jain>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, jbedard, lingho, ryanhaddad, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=221822
Bug Depends on:    
Bug Blocks: 175056    
Attachments:
Description Flags
Patch none

Description Aakash Jain 2021-02-02 08:58:56 PST
Unzipping layout-test-results might take a long time (few minutes), especially with a S3 mount for results. e.g.: 8 minutes in https://build.webkit-dev.org/#/builders/28/builds/5

However, while unzipping is done on server, we don't really need to block the build during that time, we can move the unzip operation to background so that the bot can process the next build.
Comment 1 Aakash Jain 2021-02-02 09:01:54 PST
Created attachment 419006 [details]
Patch
Comment 2 Aakash Jain 2021-02-02 09:04:15 PST
Ling configured AWS lambda to automatically unzip the zip files created on results volume.

Sample run: https://build.webkit-dev.org/#/builders/32/builds/20
Comment 3 EWS 2021-02-02 10:23:45 PST
Committed r272220: <https://trac.webkit.org/changeset/272220>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 419006 [details].
Comment 4 Radar WebKit Bug Importer 2021-02-02 10:24:57 PST
<rdar://problem/73886325>
Comment 5 Aakash Jain 2021-02-08 07:35:03 PST
Temporarily reverted this on the server (on 2021-02-06) since the lambda was timing out.