Please add XMLRPC call for "get job result bundle"

Bug #1110713 reported by Paul Sokolovsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Scheduler (deprecated)
Fix Released
High
Senthil Kumaran S

Bug Description

The easy way to get a result bundle hash of a job is by constructing URL like https://validation.linaro.org/lava-server/scheduler/job/46594/json . That's suitable for both web client site programming, and backend programming. Unfortunately, the latter case breaks when jobs is submitted to private stream - the URL gives 403 then and required OpenID auth to succeed. It would be quite a chore to emulate OpenID auth programmatically in backend app. Instead, there should be XMLRPC call to get a result bundle id of a particular job. It probably also makes sense to add getters for other job properties like status, etc. (or one getter for several props).

This came up when finishing deployment of CBuild/LAVA, and adhering to previously missed requirement of tight control of access to toolchain benchmark results produced by restrictive-license benchmarks like EEMBC and SPEC2000. So, this blocks full deployment of CBuild/LAVA, so please treat this with high priority. Thanks.

Related branches

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 1110713] [NEW] Please add XMLRPC call for "get job result bundle"

Paul Sokolovsky <email address hidden> writes:

> The easy way to get a result bundle hash of a job is by constructing URL
> like https://validation.linaro.org/lava-server/scheduler/job/46594/json
> . That's suitable for both web client site programming, and backend
> programming. Unfortunately, the latter case breaks when jobs is
> submitted to private stream - the URL gives 403 then and required OpenID
> auth to succeed. It would be quite a chore to emulate OpenID auth
> programmatically in backend app. Instead, there should be XMLRPC call to
> get a result bundle id of a particular job. It probably also makes sense
> to add getters for other job properties like status, etc. (or one getter
> for several props).

Seems reasonable -- and should easy enough. Want to try it yourself?
Otherwise we should get to it soonish I hope.

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Would be glad too, but need to tweak some other aspects of CBuild/LAVA integration first. So yes, let's see how it goes next week. Thanks!

Changed in lava-scheduler:
importance: Undecided → High
assignee: nobody → Senthil Kumaran S (stylesen)
milestone: none → 2013.05
status: New → In Progress
Changed in lava-scheduler:
status: In Progress → Fix Committed
Changed in lava-scheduler:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.