Skip to content

Instantly share code, notes, and snippets.

2021-08-05, fixed: https://treeherder.mozilla.org/perfherder/alerts?id=30782:
[{'imdb': ['g5']}]
2021-08-05, fixed: https://treeherder.mozilla.org/perfherder/alerts?id=30789:
[{'web-de': ['g5']}]
2021-10-29, backed out: https://treeherder.mozilla.org/perfherder/alerts?id=32176:
[{'instagram': ['g5']}]
2021-11-09, backed out: https://treeherder.mozilla.org/perfherder/alerts?id=32320:
2021-04-28, investigating: https://treeherder.mozilla.org/perfherder/alerts?id=29850:
[{'youtube': ['g5']}, {'google-search-restaurants': ['g5']}, {'booking': ['g5']}, {'bing-search-restaurants': ['g5']}]
2021-05-06, investigating: https://treeherder.mozilla.org/perfherder/alerts?id=29980:
[{'google-search-restaurants': ['g5']}]
2021-05-11, investigating: https://treeherder.mozilla.org/perfherder/alerts?id=30048:
[{'google-maps': ['g5']}, {'youtube': ['g5']}, {'google-search-restaurants': ['g5']}, {'google': ['g5']}, {'booking': ['g5']}, {'amazon': ['g5']}, {'allrecipes': ['g5']}, {'bing': ['g5']}, {'bing-search-restaurants': ['g5']}, {'wikipedia': ['g5']}, {'facebook-cristiano': ['g5']}, {'youtube-watch': ['g5']}]
2021-05-19, fixed: https://treeherder.mozilla.org/perfherder/alerts?id=30125:
import json
import math
import os
import requests
DEFAULT_REQUEST_HEADERS = {
'Accept': 'application/json',
'User-Agent': 'ouija',
}
test-linux1804-64-asan-qr/opt-cppunit-1proc
test-linux1804-64-asan-qr/opt-crashtest-e10s
test-linux1804-64-asan-qr/opt-crashtest-swr-e10s
test-linux1804-64-asan-qr/opt-firefox-ui-functional-local-e10s
test-linux1804-64-asan-qr/opt-firefox-ui-functional-remote-e10s
test-linux1804-64-asan-qr/opt-gtest-1proc
test-linux1804-64-asan-qr/opt-jsreftest-e10s-1
test-linux1804-64-asan-qr/opt-jsreftest-e10s-2
test-linux1804-64-asan-qr/opt-jsreftest-e10s-3
test-linux1804-64-asan-qr/opt-marionette-e10s
elvis@DESKTOP-35QKDMP ~/mozilla-central
$ ./mach wpt testing/web-platform/mozilla/tests/xml/parsedepth.html --log-mach-level debug
0:00.06 DEBUG Config is up to date, not regenerating
0:00.06 DEBUG Using config path c:/Users/elvis/mozilla-central/obj-x86_64-pc-mingw32\_tests\web-platform\wptrunner.local.ini
0:00.06 INFO Skipping manifest download because existing file is recent
0:04.65 mozversion INFO application_buildid: 20200920090949
0:04.66 mozversion INFO application_changeset: bf7094ba8ae6fcc116bc31caf111620252af7f45
0:04.66 mozversion INFO application_display_name: Nightly
0:04.66 mozversion INFO application_id: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
0:04.66 mozversion INFO application_name: Firefox
mkdir c:\users\jmaher
cd c:\users\jmaher
wget https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Q-4b0x3LRIKYzAdh4jndwg/runs/0/artifacts/public/build/mozharness.zip
unzip mozharness.zip
wget https://hg.mozilla.org/try/raw-file/462181506ac8f34d9851e0d2477b8994b5648904/taskcluster/scripts/run-task
set EXTRA_MOZHARNESS_CONFIG={"installer_url": "http://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Q-4b0x3LRIKYzAdh4jndwg/artifacts/public/build/target.zip", "test_packages_url": "http://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Q-4b0x3LRIKYzAdh4jndwg/artifacts/public/build/target.test_packages.json"}
C:/mozilla-build/python3/python3.exe run-task -- c:\mozilla-build\python\python.exe -u mozharness\scripts\desktop_unittest.py --cfg mozharness\configs\unittests\win_unittest.py --mochitest-suite=mochitest-webgl1-core --setpref=media.peerconnection.mtransport_process=false --setpref=network.process.enabled=false --download-symbols true
@jmaher
jmaher / .taskcluster.yml
Last active July 8, 2020 14:17 — forked from grenade/.taskcluster.yml
repeat a set of tasks (a configurable number of times) each with a set of commands on multiple taskcluster worker types
---
provisionerId: relops-3
workerType: decision
retries: 5
priority: highest
created: '2020-07-08T13:00:36.378Z'
deadline: '2020-07-08T16:00:36.378Z'
routes:
- index.project.relops.worker-details.decision
scopes:
select data.date, data.project, count(distinct data.revision) as pushes, sum(data.cost) as cost, sum(data.cost)/count(distinct data.revision) as cost_per_push from (
SELECT
DATE_TRUNC(dts.date, MONTH) as date,
dts.project,
dts.revision,
dts.workerType,
(sum(dts.execution)/3600)*(sum(cpw.cost)/sum(cpw.hours)) as cost
FROM
taskclusteretl.derived_task_summary as dts,
taskclusteretl.derived_daily_cost_per_workertype as cpw
--select data.date, data.project, count(distinct data.revision) as pushes, sum(data.cost) as cost, sum(data.cost)/count(distinct data.revision) as cost_per_push from (
select count(distinct data.revision) as pushes, sum(data.cost) as cost, sum(data.cost)/count(distinct data.revision) as cost_per_push from (
SELECT
DATE_TRUNC(dts.date, MONTH) as date,
dts.revision,
dts.project,
dts.workerType,
-- sum(cpw.cost) as cost
(sum(dts.execution)/3600)*(sum(cpw.cost)/sum(cpw.hours)) as cost
FROM
-- TODO extract month
select data.date, data.project, count(distinct data.revision) as pushes, sum(data.cost) as cost, sum(data.cost)/count(distinct data.revision) as cost_per_push from (
SELECT
DATE_TRUNC(dts.date, MONTH) as date,
dts.revision,
dts.project,
dts.workerType,
-- sum(cpw.cost) as cost
(sum(dts.execution)/3600)*(sum(cpw.cost)/sum(cpw.hours)) as cost
FROM