Closed Bug 1248277 Opened 9 years ago Closed 8 years ago

Add a User Agent to requests that mozplatformqa-jenkins makes to Treeherder

Categories

(Testing :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

In bug 1230222 we're wanting to have consumers of Treeherder's API set a User Agent, to make issues (or eg deprecation of a particular endpoint) easier to track.
Attachment #8719312 - Flags: review?(spolk)
Attachment #8719312 - Flags: review?(spolk) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
There appear to be some machines where this hasn't been deployed. ie I'm seeing requests of form: [12/May/2016:11:45:54 +0000] "GET //api/project/mozilla-aurora/resultset/?revision=901b6248af7d HTTP/1.1" 200 385 "-" "python-requests/2.9.1" [12/May/2016:11:52:04 +0000] "GET //api/project/mozilla-aurora/resultset/?revision=901b6248af7d HTTP/1.1" 200 385 "-" "python-requests/2.9.1" [12/May/2016:11:56:34 +0000] "GET //api/project/mozilla-aurora/jobs/?job_guid=a7e1f5e3-719b-4d55-81c7-f4aa76288225 HTTP/1.1" 200 600 "-" "python- [12/May/2016:11:57:21 +0000] "GET //api/project/mozilla-aurora/resultset/?revision=901b6248af7d HTTP/1.1" 200 385 "-" "python-requests/2.9.1" [12/May/2016:11:57:22 +0000] "GET //api/project/mozilla-aurora/jobs/?job_guid=3369c10b-d58a-4c41-be71-842dac0ab728 HTTP/1.1" 200 592 "-" "python- [12/May/2016:11:57:45 +0000] "GET //api/project/mozilla-aurora/resultset/?revision=901b6248af7d HTTP/1.1" 200 385 "-" "python-requests/2.9.1" [12/May/2016:12:00:34 +0000] "GET //api/project/mozilla-aurora/jobs/?job_guid=1f8f58a3-b7dd-4b10-a330-2566be265727 HTTP/1.1" 200 597 "-" "python- [12/May/2016:13:04:48 +0000] "GET //api/project/mozilla-aurora/resultset/?revision=901b6248af7d HTTP/1.1" 200 385 "-" "python-requests/2.9.1" [12/May/2016:13:05:16 +0000] "GET //api/project/mozilla-aurora/resultset/?revision=901b6248af7d HTTP/1.1" 200 385 "-" "python-requests/2.9.1" [12/May/2016:13:10:56 +0000] "GET //api/project/mozilla-aurora/jobs/?job_guid=f5370182-5bfe-4579-955a-fadaa22d7fe4 HTTP/1.1" 200 583 "-" "python-requests/2.9.1" These are coming from corp.mtv2.mozilla.com. Looking at the job_guids being queried, they are all for jobs of type "MSE YouTube Playback", eg: https://treeherder.mozilla.org/api/project/mozilla-aurora/jobs/?job_guid=b8db7e7d-9f39-4813-a733-cd52b9320a8b https://treeherder.mozilla.org/api/project/mozilla-aurora/jobs/?job_guid=f5370182-5bfe-4579-955a-fadaa22d7fe4 In addition, the version of requests matches that in the requirements file for this repo: https://github.com/mozilla/mozplatformqa-jenkins/blob/7f9bf7b415e88369cae671ee094ada83ebb37ac2/external-media-tests/treeherding_requirements.txt Please can someone deploy this ASAP, since we're about to block generic user agents from accessing Treeherder's API in bug 1267683. Thanks :-)
Status: RESOLVED → REOPENED
Flags: needinfo?(mjzffr)
Resolution: FIXED → ---
Based on the name I'm guessing these tests are owned by the media playback team. I've heard they were planning to take over maintenance after Syd left, but I'm not certain what kind of knowledge transfer happened or who the relevant people to cc are. I'll do my best to track down the right people and make sure they have the information they need. Hopefully Bug 1267683 can wait a few days while this happens.
It sounds like :rillian and :SingingTree are the maintainers. I'll dig up the relevant machine information and follow up with them by email.
I believe the aurora jobs need to be updated according to: https://wiki.mozilla.org/Auto-tools/Projects/Platform_Quality/External_Media_Tests#Migrating_tests_from_one_release_train_to_another I have run the above steps, so now the aurora jobs are all disabled, except one (http://pf-jenkins.qa.mtv2.mozilla.com:8080/job/mn-mse-youtube-default-e10s-aurora-mac/), which I have enabled for a test run. We'll have results up in a couple of hours as executors become available. Among other things, the update points the jobs to refer to https://github.com/mozilla/mozplatformqa-jenkins at the right revision.
Flags: needinfo?(mjzffr)
Status: REOPENED → RESOLVED
Closed: 9 years ago8 years ago
Resolution: --- → FIXED
Thanks Maja!
Checked the logs; confirmed the former UA no longer appears. Many thanks :-)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: