Closed Bug 1606826 Opened 4 years ago Closed 4 years ago

Browsertime android visual metrics job failing to get application name

Categories

(Testing :: Raptor, defect, P1)

Version 3
defect

Tracking

(firefox-esr68 unaffected, firefox71 unaffected, firefox72 unaffected, firefox73 fixed)

RESOLVED FIXED
mozilla73
Tracking Status
firefox-esr68 --- unaffected
firefox71 --- unaffected
firefox72 --- unaffected
firefox73 --- fixed

People

(Reporter: rwood, Assigned: rwood)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[task 2020-01-03T11:47:09.856Z] 2020-01-03T11:47:09.856764Z Command succeeded result=b'{"SpeedIndex": 0, "FirstVisualChange": 0, "LastVisualChange": 0, "ContentfulSpeedIndex": 0, "videoRecordingStart": 0, "PerceptualSpeedIndex": 0, "VisualProgress": "0=100", "VisuallyComplete": 0}\n'
[task 2020-01-03T11:47:09.861Z] 2020-01-03T11:47:09.861343Z Unhandled exception: 'int' object is not subscriptable
[task 2020-01-03T11:47:09.861Z] Traceback (most recent call last):
[task 2020-01-03T11:47:09.862Z] File "/builds/worker/bin/run-visual-metrics.py", line 514, in <module>
[task 2020-01-03T11:47:09.862Z] sys.exit(main(log, args))
[task 2020-01-03T11:47:09.862Z] File "/builds/worker/bin/run-visual-metrics.py", line 281, in main
[task 2020-01-03T11:47:09.862Z] append_result(log, suites, job.test_name, app_json["application"]["name"],
[task 2020-01-03T11:47:09.862Z] TypeError: 'int' object is not subscriptable

Priority: -- → P1

Ah, on browsertime android, in the application.json, there is no version:

{"application": {"version": null, "name": "geckoview"}}

Which is causing the schema verification to fail:

2020-01-03T11:46:48.970059Z Loaded json from file path=PosixPath('/builds/worker/fetches/browsertime-results/application.json') read_json={'application': {'version': None, 'name': 'geckoview'}}
2020-01-03T11:46:48.970386Z Failed to parse json: expected str for dictionary value @ data['application']['version']

Pushed by rwood@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/de596d0f84d6
Browsertime android visual metrics job failing to get application name r=perftest-reviewers,stephendonner
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: