This repository was archived by the owner on Aug 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Missing metrics for vimeo and yandex due to: AttributeError: 'list' object has no attribute 'get' #264
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingdatalosshelp wantedExtra attention is neededExtra attention is neededmetrics
Description
We're missing data for vimeo and yandex (in DataDog & probably Telemetry) due to the following Python traceback[0]:
23:24:17 [vimeo] Running shell script
23:24:17 + python ./send_to_telemetry.py wpt.json
Post stage
23:24:18 {'appName': 'firefox', 'channel': 'release', 'version': '65.0.1', 'connection': 'cable', 'url': 'https://vimeo.com', 'platform': 'desktop', 'runner': 'https://qa-preprod-master.fxtest.jenkins.stage.mozaws.net/', 'runId': 'jenkins-wpt-vimeo-601', 'sessionState': 'noAuth', 'metrics': {'TTFB': {'firstView': {'median': 237, 'standardDeviation': 1}}, 'render': {'firstView': {'median': 2500, 'standardDeviation': 47}}, 'firstPaint': {'firstView': {'median': 933, 'standardDeviation': 41}}, 'timeToContentfulPaint': {'firstView': {'median': 1552605715418, 'standardDeviation': 1117}}, 'domContentFlushed': {'firstView': {'median': 2505, 'standardDeviation': 24}}, 'timeToFirstInteractive': {'firstView': {'median': 1552605717379, 'standardDeviation': 1273}}, 'pageLoadTime': {'firstView': {'median': 27877, 'standardDeviation': 10886}}, 'SpeedIndex': {'firstView': {'median': 4754, 'standardDeviation': 1126}}, 'bytesInDoc': {'firstView': {'median': 12980254, 'standardDeviation': 5166800}}, 'visualComplete': {'firstView': {'median': 30000, 'standardDeviation': 12552}}, 'requestsFull': {'firstView': {'median': 403, 'standardDeviation': 28}}}}
23:24:18 Traceback (most recent call last):
23:24:18 File "./send_to_telemetry.py", line 95, in <module>
23:24:18 main(*sys.argv[1:])
23:24:18 File "./send_to_telemetry.py", line 41, in main
23:24:18 sample = test["data"][measure]["firstView"].get(name)
23:24:18 AttributeError: 'list' object has no attribute 'get'
[Pipeline] archiveArtifacts
23:24:18 Archiving artifacts
/cc @davehunt @stuartphilp just FYI - will look into but might need help
[0] https://qa-preprod-master.fxtest.jenkins.stage.mozaws.net/job/wpt/job/vimeo/601/console
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdatalosshelp wantedExtra attention is neededExtra attention is neededmetrics