Page MenuHomePhabricator

Mount WebPageTest log dir to EBS
Closed, ResolvedPublic

Description

WebPageTest supports archiving test runs in S3, that is good so we can remove/create a new WebPageTest server and still keep all the old runs.

One problem is how we should find old runs if we recreate the instance. The search (http://wpt.wmftest.org/testlog/1/) in WebPageTest goes through the WebPageTest logs to create the results. The logs are not moved automatically to S3.

Been looking for how people usually solves it and it seems like mounting WebPageTest log dir to ESB will do the trick. It will be a little more work setting up an instance but we will be able to have an easy way of going back in time to check test results

  • Mount the log dir (/var/www/webpagetest/www/logs should do it) on EBS
  • Verify by killing the instance, create a new one and check that we can find the tests. For us to be able to see the real test result (not only search for it), the result needs to have been archived to S3.

Event Timeline

• Peter claimed this task.
• Peter raised the priority of this task from to Medium.
• Peter updated the task description. (Show Details)
• Peter added a project: Performance-Team.
• Peter added subscribers: • Wwes, Krinkle, ori and 2 others.