Skip to content

Push servo-perf log to a public place and link to it in Treeherder #11167

Closed as not planned

Description

@shinglyu

In order to debug servo-perf data, we need to put the log in somewhere that is public. Then we can add a link to it in our treeherder artifact.

@larsbergstrom I assume if we run #11107 in our buildbot infrastructure, the log can be access from a link into buildbot?

Activity

  1. aneeshusa commented on May 13, 2016

    @aneeshusa
    Contributor

    It is possible to save and access logs from Buildbot, but we delete them after ~5 days to save disk space from running out. If they need to be accessible more permanently, we'll need to upload them to S3 with s3cmd.

  2. shinglyu commented on May 13, 2016

    @shinglyu
    ContributorAuthor

    @aneeshusa Do you know how I can apply for access to our S3?

  3. metajack commented on May 13, 2016

    @metajack
    Collaborator

    @aneeshusa Please talk to @larsbergstrom, @edunham, or myself for that. I believe any of us can set you up with an AWS login or with the S3 credentials.

  4. aneeshusa commented on May 13, 2016

    @aneeshusa
    Contributor

    If we're running servo-perf on the buildbot infrastructure, we can simply upload to S3 automatically as a build step, with a tightly scoped bot account that only allows uploads to S3. See the android-nightly builder for an example (although it's currently busted).

  5. shinglyu commented on May 16, 2016

    @shinglyu
    ContributorAuthor

    @aneeshusa @metajack Thank you for the info, but it might take a few more weeks before I can deploy it on buildbot. So I should better get a credential before that. I'll talk to @larsbergstrom about that when I met him tomorrow.

  6. added
    I-enhancement
    on May 25, 2016
  7. highfive commented on May 25, 2016

    @highfive
  8. larsbergstrom commented on Jun 4, 2016

    @larsbergstrom
    Contributor

    @edunham Do you know how to make the servo-perf bucket publicly available? I tried logging in to our S3 page and can see the bucket and add new permission groups but can't figure out where I'm supposed to paste in the JSON that enables public access.

  9. edunham commented on Jun 6, 2016

    @edunham
    Contributor

    @larsbergstrom I added a global read permission and made the one document in the bucket public, and now anyone can download http://servo-perf.s3.amazonaws.com/perf-1464145346.json.

    If a help document showed you a piece of JSON for enabling public access, it probably wanted you to make it into a custom policy (https://console.aws.amazon.com/iam/home?region=us-west-2#policies) then add the bucket policy by clicking the "add bucket policy" link in the the "permissions" tab of the bucket's "properties" menu. Totally intuitive!

  10. larsbergstrom commented on Jun 6, 2016

    @larsbergstrom
    Contributor

    @edunham Awesome, thanks much! I think I was trying to do it on the s3 page instead of the policy page, which is where I went wrong :-)

  11. edunham commented on Jun 6, 2016

    @edunham
    Contributor

    Depending on exactly how the end users will be consuming these logs, we might also want to configure the bucket as a public website and generate an index document to list them. I believe that it's currently only possible to discover the URL of a given log through the API or console.

  12. shinglyu commented on Jun 8, 2016

    @shinglyu
    ContributorAuthor

    @edunham My test runner will add the link to the Treeherder dashboard. So people can find the link in a Treeherder job's description section.

  13. nox commented on Oct 2, 2017

    @nox
    Contributor

    What's the status on this?

  14. mrobinson commented on Oct 7, 2025

    @mrobinson
    Member

    I think we can close this now. Treeherder and this particular performance benchmark aren't a thing any longer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-infrastructureI-enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions