Skip to content

Instantly share code, notes, and snippets.

1528744, Firefox :: General, adw@mozilla.com
1534455, Toolkit :: XUL Widgets, ntim.bugs@gmail.com
1516133, Toolkit :: Safe Browsing, amarchesini@mozilla.com
1528396, Core :: Graphics, jgilbert@mozilla.com
1578125, Core :: DOM: Animation, brian@birchill.co.jp
1560360, Testing :: web-platform-tests, james@hoppipolla.co.uk
1478037, Core :: DOM: Core & HTML, bzbarsky@mit.edu
1582662, Firefox Build System :: General, nalexander@mozilla.com
1522555, Core :: Graphics: WebRender, emilio@crisal.io
1585331, Core :: DOM: Security, sstreich@mozilla.com
# query for cpu/cost data (what we see in dashboards), useful to see what we report as not overhead
#select workerType, project, count(distinct taskId), sum(execution) from taskclusteretl.derived_task_summary where workerType in ('t-win10-64-gpu-s', 'gecko-t-win10-64-gpu-s', 'gecko-t-win10-64-gpu', 'gecko-t-win7-32-gpu', 't-win7-32-gpu') and project in ('autoland', 'mozilla-central') group by workerType, project
# win7-gpu workerId and timestamps, can find short/long running and use workerId for queries below
#select workerId, timestamp_diff(max(timestamp), min(timestamp), SECOND) from taskclusteretl.worker_metrics where worker='generic-worker' and workerPoolId='gecko-t/t-win7-32-gpu' and timestamp<'2020-04-25' group by workerId limit 100;
# XibnuQNCRuurLjAEGa7dLg ran for 90 minutes on worker: i-05a4785567184eae8, cpu hours of execution: 1407 seconds, provisioner: aws / gecko-t, workerType: t-win7-32-gpu
#select * from taskclusteretl.worker_metrics where worker='generic-worker' and workerPoolId like '%gpu%'
pushing to ssh://hg.mozilla.org/try
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: recorded push in pushlog
remote: added 1 changesets with 1 changes to 1 files (+1 heads)
remote: error committing pushlog transaction on attempt 1; retrying
remote:
remote: View your change here:
$ ./mach -v test testing/web-platform/tests/html/semantics/links/downloading-resources/header-referrer.html
JMAHER: is_wpt_path: matching testing/web-platform/tests
JMAHER: add_wpt_manifest_data: full: c:\Users\elvis\mozilla-central\testing\web-platform\tests\html\semantics\links\downloading-resources\header-origin.js, src: testing\web-platform\tests\html\semantics\links\downloading-resources\header-origin.js
JMAHER: add_wpt_manifest_data: full: c:\Users\elvis\mozilla-central\testing\web-platform\tests\html\semantics\links\downloading-resources\header-referrer.js, src: testing\web-platform\tests\html\semantics\links\downloading-resources\header-referrer.js
JMAHER: add_wpt_manifest_data: full: c:\Users\elvis\mozilla-central\testing\web-platform\tests\html\semantics\links\downloading-resources\resources\inspect-header.py, src: testing\web-platform\tests\html\semantics\links\downloading-resources\resources\inspect-header.py
JMAHER: add_wpt_manifest_data: full: c:\Users\elvis\mozilla-central\testing\web-platform\
[task 2020-04-19T16:46:27.284Z] 16:46:27 INFO - TEST-TIMEOUT | /content-security-policy/inside-worker/dedicated-inheritance.html | took 40517ms [task 2020-04-19T16:47:07.904Z] 16:47:07 INFO - TEST-TIMEOUT | /content-security-policy/inside-worker/dedicated-script.html | took 40620ms [task 2020-04-19T16:54:15.027Z] 16:54:15 INFO - TEST-TIMEOUT | /feature-policy/reporting/camera-report-only.https.html | took 40785ms [task 2020-04-19T16:54:56.379Z] 16:54:56 INFO - TEST-TIMEOUT | /feature-policy/reporting/document-write-report-only.html | took 40748ms [task 2020-04-19T16:55:38.944Z] 16:55:38 INFO - TEST-TIMEOUT | /feature-policy/reporting/fullscreen-report-only.html | took 40717ms [task 2020-04-19T16:56:22.318Z] 16:56:22 INFO - TEST-TIMEOUT | /feature-policy/reporting/geolocation-report-only.https.html |
elvis@DESKTOP-35QKDMP ~/mozilla-central
$ ./mach try -v fuzzy testing/web-platform/tests/css/css-exclusions/
Must specify platform when selecting tests.
elvis@DESKTOP-35QKDMP ~/mozilla-central
$ ./mach try -v fuzzy -q 'linux debug' testing/web-platform/tests/css/css-exclusions/ usage: mach [-h] [-b BUILDS] [-p PLATFORMS] [-u TESTS] [-t TALOS] [-j JOBS]
[--tag TAGS] [--and] [--no-artifact] [-v] [--detect-paths]
[-m [MESSAGE]] [--no-push] [--closed-tree]
[--save SAVE | --preset PRESET | --list-presets | --edit-presets]
[--all-emails] [--upload-xdbs] [--interactive] [--setenv SETENV]
TypeError: object of type 'int' has no len()
File "c:\Users\elvis\mozilla-central\tools/tryselect/mach_commands.py", line 326, in try_chooser
return self.run(**kwargs)
File "c:\Users\elvis\mozilla-central\tools/tryselect/mach_commands.py", line 177, in run
return mod.run(**kwargs)
File "c:\Users\elvis\mozilla-central\tools\tryselect\selectors\chooser\__init__.py", line 44, in run
tg = generate_tasks(parameters, full)
File "c:\Users\elvis\mozilla-central\tools\tryselect\tasks.py", line 114, in generate_tasks
tg_full = generate('full_task_set')
SET @frameworks = 'raptor,browsertime';
SET @repositories = 'autoland,mozilla-inbound';
SELECT summary.bug_number AS bug_number,alert.id,
alert.created,
alert.is_regression,
alert.amount_abs,
alert.amount_pct,
IFNULL(alert.related_summary_id, alert.summary_id) AS summary_id,
CASE summary.status
import json
import requests
DEFAULT_REQUEST_HEADERS = {
'Accept': 'application/json',
'User-Agent': 'elvis314',
}
def getResults(url):
# url example:
[
{
"date": "2020-03-20",
"f0_": "111"
},
{
"date": "2020-03-09",
"f0_": "135"
},
{