Closed Bug 1060649 Opened 10 years ago Closed 7 years ago

Store the build directory as a property on the job, rather than deriving it from the log URL

Categories

(Tree Management :: Treeherder: Data Ingestion, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gakiwate, Unassigned)

References

Details

Titanic (https://github.com/gakiwate/titanic/) is a tool to bisect test failures. Titanic takes revision under investigation - which can be supplied to it using the APIs or command line and then works by pulling data about the revision and revisions before it from TBPL(https://tbpl.mozilla.org/) to bisect the failure. Titanic needs to trigger of jobs for which it needs the links to the builds for particular platforms etc. At present, this is available in TBPL via a very circumventous route. We query TBPL using getRevisionsBuild and use the 'log' entry to get the build directory. For example we get the following log path entry for buildername "Android 2.3 mozilla-inbound build" log": "http://ftp.mozilla.org/pub/mozilla.org/mobile/tinderbox-builds/mozilla-inbound-android/1408368977/mozilla-inbound-android-bm91-build1-build23.txt.gz" Using this we can figure out that the build is in the directory "http://ftp.mozilla.org/pub/mozilla.org/mobile/tinderbox-builds/mozilla-inbound-android/1408368977/" It would be very helpful if there was a way one could query Treeherder with a revision and buildername and get the equivalent build directory.
Depends on: 1045846
OS: Mac OS X → All
Hardware: x86 → All
Depends on: 1057314
No longer depends on: 1045846
No longer blocks: 1060632
Priority: -- → P3
Summary: [titanic] get build location for a particular revision and platform → Store the build directory as a property on the job, rather than deriving it from the log URL
Blocks: 1044200
Component: Treeherder → Treeherder: Data Ingestion
No longer depends on: 1057314
Priority: P3 → P5
armen, can you see how we are getting the build directory for mozci and ensure we are doing it smart. Otherwise, we should adapt this bug to be for mozci.
Flags: needinfo?(armenzg)
I grab it from a property.
Flags: needinfo?(armenzg)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
We still want this for treeherder.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Status: REOPENED → NEW
Depends on: 1160410
There isnt a build directory concept in the S3 world so closing as wont fix
Status: NEW → RESOLVED
Closed: 10 years ago7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.