<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>174261</bug_id>
          
          <creation_ts>2017-07-07 10:33:27 -0700</creation_ts>
          <short_desc>Teach buildbot testers to download archives from s3</short_desc>
          <delta_ts>2017-07-11 16:59:58 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lucas Forschler">lforschler</reporter>
          <assigned_to name="Lucas Forschler">lforschler</assigned_to>
          <cc>ap</cc>
    
    <cc>lforschler</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1326514</commentid>
    <comment_count>0</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2017-07-07 10:33:27 -0700</bug_when>
    <thetext>We are now storing built product archives on s3. We need to teach our build workers to use these archives.
This will involve teaching the download/extract tool about the location of the s3 object.

I see two options:
 1. Retrieve the archive via the aws/s3 tool
    this is probably the easiest, but will require installing the AWS tools on the bot. I&apos;d prefer not to introduce another dependency.
 2. Retrieve the archive via https
    this is likely the cleanest solution, since the files on s3 are public and served via https.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1326516</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-07-07 10:34:04 -0700</bug_when>
    <thetext>&lt;rdar://problem/33184218&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1326518</commentid>
    <comment_count>2</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2017-07-07 10:37:18 -0700</bug_when>
    <thetext>note: The builders currently upload to the buildbot master. The master then transfers the file to S3. After this is working, we need to find a good way to remove the archive from the master... This could possibly be done in the same script where we transfer to S3. If the archive is uploaded successfully, simply delete the local copy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1326536</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-07-07 11:30:50 -0700</bug_when>
    <thetext>Are the S3 versions minified? What exactly is the impact on c ash log quality?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1327711</commentid>
    <comment_count>4</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2017-07-11 13:47:27 -0700</bug_when>
    <thetext>*** Bug 174384 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1327712</commentid>
    <comment_count>5</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2017-07-11 13:48:29 -0700</bug_when>
    <thetext>We keep the full AND Minified version in S3.
Full will stick around for 14 days
Minified will stick around for 2.5 years.

This change will have no impact on what is tested, as the bits are still the same as before. Eventually, we can opt to use the minified versions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1327714</commentid>
    <comment_count>6</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2017-07-11 13:48:41 -0700</bug_when>
    <thetext>&lt;rdar://problem/33184218&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1327716</commentid>
    <comment_count>7</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2017-07-11 13:49:09 -0700</bug_when>
    <thetext>Committed revision 219358.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1327718</commentid>
    <comment_count>8</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2017-07-11 13:49:52 -0700</bug_when>
    <thetext>This will require a master restart.
But, I&apos;m going to wait to give the queues a chance to catch up.... since some non-Mac test queues may not have builds on S3 yet. (that change was landed earlier this morning)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1327845</commentid>
    <comment_count>9</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2017-07-11 16:59:58 -0700</bug_when>
    <thetext>oops. Our nodes cannot reach s3 due to networking permissions. Will need to fix that before restarting the master.
example fail: https://build.webkit.org/builders/Apple%20El%20Capitan%20Debug%20Test262%20%28Tests%29/builds/2613/steps/download-built-product/logs/stdio</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>