Job details: Add a link to the buildbot master page for that job

RESOLVED WONTFIX

Status

Tree Management
Treeherder
P4
normal
RESOLVED WONTFIX
4 years ago
a year ago

People

(Reporter: emorley, Unassigned)

Tracking

({regression})

Details

(Reporter)

Description

4 years ago
For TBPL, we currently have the bookmarklet created in bug 809908 - which allows selecting a job in TBPL, and then using the bookmarklet to generate the (non-obvious) URL required to view that job on its buildbot master.

With treeherder we should see about building this into the UI - but perhaps in a way that's not surfaced too obviously, since only people with the appropriate VPN access can use it, so it will just confuse (/annoy) everyone else.

The URL is generated as follows:

    // claimed_by_name is of the form:
    // "buildbot-master22.build.mtv1.mozilla.com:/builds/buildbot/tests1-tegra/master"
    // Port number depends on whether the job is a test, try-build or non-try-build. See:
    // https://hg.mozilla.org/build/tools/file/tip/buildfarm/maintenance/production-masters.json
    var bm = job.claimed_by_name.split(':');
    var port = /build[0-9]/.test(bm[1]) ? "8001" :
               /try[0-9]/.test(bm[1]) ? "8101" :
               /tests[0-9]/.test(bm[1]) ? "8201" :
               'unknown';
    window.open('http://' + bm[0] + ':' + port + '/builders/' + job.buildername + '/builds/' + job.buildnumber);

eg:
http://buildbot-master70.srv.releng.use1.mozilla.com:8001/builders/Linux%20x86-64%20mozilla-central%20valgrind/builds/58

claimed_by_name comes from the buildapi when using the bookmarklet, though we may be storing some of this in treeherder already (or it might make sense to, even if we don't).
(Reporter)

Updated

4 years ago
Summary: Add a link to the buildbot master page for each job → Job details: Add a link to the buildbot master page for each job
(Reporter)

Updated

4 years ago
Summary: Job details: Add a link to the buildbot master page for each job → Job details: Add a link to the buildbot master page for that job
(Reporter)

Comment 1

4 years ago
Whilst TBPL didn't offer this feature, switching to treeherder means we cannot use the existing bookmarklet, so this is still a regression unless we rewrite the bookmarklet... which seems pointless when we should just build this in.
Blocks: 1059400
(Reporter)

Updated

4 years ago
Priority: P3 → P2
(Reporter)

Updated

4 years ago
Priority: P2 → P3
(Reporter)

Updated

4 years ago
No longer blocks: 1059400
Keywords: regression
(Reporter)

Updated

3 years ago
Priority: P3 → P4
(Reporter)

Comment 2

a year ago
Buildbot is going away.
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.