How to use the Ubuntu QA-tracker API to read/download tests for a testcase/milestone

Asked by Chris Guiver

I want to download my QA-testing results (particularly comments, but bug numbers would be great too), but have had no luck trying to use the example code found on http://iso.qa.ubuntu.com/qatracker/api (or the code it points to found at https://code.launchpad.net/~ubuntu-qa-website-devel/ubuntu-qa-website/python-qatracker).

As I don't code in python, it's possible it could be something simple, but I get either errors or no results. This is very vague sorry, but I'm not the the machine where I tried so I don't have access to the actual errors currently, but what I tried was pretty much only what I downloaded, first being the iso.qa example & second being the launchpad code

Does anyone have a simple script that they can provide to me that will download a users (ie. mine) QA-tests recorded for a testcase (eg. Lubuntu 19.10 all, or just 'live session' tests). I only want to read data so I don't need authentication, and I'm hoping to get it in a series of small text files, OR a large text file I can `grep` to extract what I need.

(an example of what I want; earlier today I had a repeat of a bug I'd tagged a couple of weeks ago, so would have loved to grep this file using a few words to find the lp.bug.report to re-tag for the current test. Another desired use is to see which boxes I've tested with recently so I can easily rotate the hardware I use etc)

** This has just been copy/pasted from a UF thread; https://ubuntuforums.org/showthread.php?t=2422536&highlight=iso+testing+api which is why it meations eoan/19.10. I regularly wish I knew how to do this, including today, to have looked up the last time I used a box today & had a kernel panic... had my prior install had an issue I'd forgotten about?? I couldn't recall any..

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :
#1

https://launchpad.net/oem-qa-test-status-tracker
Their is no accessible site to download all of the testing data for a single tester.
You can see the test that you reported by looking through test reports individually.
Open a bug report to view the information.
https://wiki.ubuntu.com/Testing/ISO/Procedures
https://iso.qa.ubuntu.com/
Ubuntu 19.10 is no longer supported.

Revision history for this message
Chris Guiver (guiverc) said :
#2

The page I linked said (http://iso.qa.ubuntu.com/qatracker/api)

---
The testing tracker offers an XML-RPC API to access its content and add new results.
Accessing content can be done anonymously, however adding, updating or removing results requires authentication using your login and the API key below.
---

which I felt (hoped?), since I only want to read (not add, update/change) matched what the API allowed for easily. Is the code only reading the current day?

:(

I gather the results get forwarded to 'product managers' (via email); maybe it's an incentive for me to take on more responsibility to become one...

Thanks for the reply :) Appreciated.

Can you help with this problem?

Provide an answer of your own, or ask Chris Guiver for more information if necessary.

To post a message you must log in.