Closed Bug 606322 Opened 15 years ago Closed 15 years ago

Create buildduty helpers for triggering builds/talos/tests on any branch

Categories

(Release Engineering :: General, defect, P2)

x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lsblakk, Assigned: lsblakk)

Details

Attachments

(2 files)

Example is getting a bug like bug 606053 where you have 3 changesets * platforms * talos suites and that's a lot to go chasing around. In that particular case I chose to build sendchanges from following the Master link in the scheduler db for each platform, to get to the packageURL but to automate this we could use a script that can grab that link and troll it for the fileURL and packageURL (for unittests) and then build a sendchange out of that information.
Assignee: nobody → lsblakk
The problem is determining what is the buildid for each platform because the revision the developer already gives it to us. If we could have symlinks from changeset to the ftp location that would be great. Like tinderbox-builds/changesets/$changeset to the right tinderbox-builds/$branch-$platform/$buildid this problem could make this problem solvable. Anways, what I want to say that we need to match a changeset/branch to an FTP location for every platform. The two ideas are the symlinking or pulling the ftp location out of the properties and/ord DBs we have.
Lets not call the epoch timestamps at tinderbox-builds/$branch-$platform buildid's, since buildid means YYYYMMDDHHSS. Other than that you're basically describing bug 584178.
The great thing about this idea is that it uses schedulerdb to find the link to the page for that build on it's master, and you can grab fileURL and packageURL there so you don't even need to know the dir structure at all to be able to create a sendchange this way. You can just test that the links resolve (to be sure they are still up). We don't need buildid or epoch timestamps.
and in case i wasn't clear enough - all you would need to run this helper script is the changeset, and then some flags for what platforms, talos, unittest you want to re-build/re-run
tested on a local button while connected to build-vpn with a staging-master url successfully.
Attachment #486857 - Flags: review?(catlee)
Summary: create buildduty helper for triggering talos/unittests on branches → Create buildduty helpers for triggering builds/talos/tests on any branch
<table> <td><form method="post" action="http://staging-master.build.mozilla.org:8010/builders/Linux%20mozilla-central%20build/builds/244/rebuild" class="command rebuild"><input type="submit" value="rebuild"></form></td> </table> is what I tested.
Attachment #486857 - Flags: review?(catlee) → review+
Comment on attachment 486857 [details] [diff] [review] adds a rebuild button to running/revision templates http://hg.mozilla.org/build/buildapi/rev/44ea7d036c4a
Attachment #486857 - Flags: checked-in+
checked in a bustage fix for key errors on 'url': http://hg.mozilla.org/build/buildapi/rev/71000b93d929
turns out you can see this on the mirrored http://build.mozilla.org/builds/running.html page so instead of frustrating developers with this mirage...i took it out.
Attachment #487992 - Flags: review?(catlee)
Attachment #487992 - Flags: review?(catlee) → review+
Comment on attachment 487992 [details] [diff] [review] remove rebuild button from running template since it is public facing http://hg.mozilla.org/build/buildapi/rev/fea5be7ad234
Attachment #487992 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: