Граф коммитов

750 Коммитов

Автор SHA1 Сообщение Дата
Adam Gashlin a120916e3e Bug 1393601 - Add telemetry for MOZ_UPDATER. r=Dexter, r=rweiss 2017-09-18 09:50:10 -07:00
Sebastian Hengst 006a58c35d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2iVDKexRjxu
2017-09-13 23:58:43 +02:00
Georg Fritzsche a935bd75f2 Bug 1398851 - Part 3: Re-enable test_TelemetrySend.js on Window 64bit debug. r=Dexter
--HG--
extra : rebase_source : 6e95f24c0cc7513821133d934da5ac3c7f6c1ff9
2017-09-13 03:21:00 -04:00
Georg Fritzsche 717862843d Bug 1398851 - Part 2: Fix fragile TelemetrySend test. r=Dexter
--HG--
extra : rebase_source : c191007c899136cf2fa1c06f3c18f95205ff7ae0
2017-09-12 06:55:00 -04:00
Georg Fritzsche 8a7f5d347f Bug 1398851 - Part 1: Add test logging for Telemetry PingServer requests. r=Dexter
--HG--
extra : rebase_source : ac2cbb991cd32cb9961bbc62e995c9c46c124bc5
2017-09-12 06:55:00 -04:00
Chris H-C 2a7054c197 bug 1398431 - Don't let off-thread CCs get you down r=Dexter
Since we don't atomically retrieve session and subsession snapshots, there's
a possibility that off-thread accumulations can happen in between the two
getPayload calls in test_checkSubsessionHistograms.

CYCLE_COLLECTOR_WORKER* are the obvious first choice.

MozReview-Commit-ID: 5lseRAJ1Rg6

--HG--
extra : rebase_source : 219ed38e526483627792ed4c177f49c1537c3f07
2017-09-13 10:44:22 -04:00
Ryan VanderMeulen 92447ea729 Bug 1398851 - Temporarily skip test_TelemetrySend.js on Win64 debug due to frequent failures. r=gfritzsche 2017-09-12 09:00:36 -04:00
Anthony Miyaguchi 122408f0ff Bug 1390095 - Send a duplicate of a users first shutdown ping with pingsender. r=Dexter 2017-09-05 17:49:45 -07:00
Julian Descottes 4fed1e8edb Bug 1395990 - stop using Services.appinfo.isOfficial in test_TelemetrySession.js;r=mossop
MozReview-Commit-ID: 420221gSjJ1

--HG--
extra : rebase_source : aa6f33da65c308d0eab511c36f60fa6aa0464830
2017-09-01 18:55:13 +02:00
Alessio Placitelli d46280f836 Bug 1380256 - Implement the update ping with reason "success". r=chutten,mhowell,rweiss+418169
This patch enables sending the "update" ping with reason "success"
after the browser is restarted when an update is successfully applied.

MozReview-Commit-ID: 8LYxhTTrs7l

--HG--
extra : rebase_source : 1f66417adbc6b0126c2e7436c994a0b93a3f4cdc
2017-08-21 11:50:59 +02:00
Chris H-C 28c67cf8bd bug 1376600 - Remove registered(Keyed)Histograms r=Dexter
With the removal of the old addonHistograms, all histograms are now registered.
So removing registered(Keyed)Histograms should be straightforward?

Unfortunately not, as this was how we filtered data based on dataset
(opt-in/opt-out), so a little more fiddling was needed to get C++ to only
serialize dataset-appropriate data (instead of post-facto filtering it in JS).

MozReview-Commit-ID: HDplhmzmzJl

--HG--
extra : rebase_source : 9c38c97e39e3c4fb192288d751505e1f0f2a2c6d
2017-08-22 09:42:09 -04:00
Alessio Placitelli 0d1eb15486 Bug 1335236 - Fix intermittent test_TelemetrySend.js due to flaky time tests. r=chutten
On very fast builds (OPT, PGO) this test can fail intermittently because the time it takes to send a ping and receive a reply is 0. Account for that by replacing all the "greater than" checks with "greater or equal than".

MozReview-Commit-ID: JvEo2rCbJj6

--HG--
extra : rebase_source : 17ea1ccf2e0a69c98eaaa64ef94db29983b21591
2017-08-28 18:38:59 +02:00
Wes Kocher 68149d6a59 Merge inbound to central, a=merge
MozReview-Commit-ID: 3N9jinnrmjb
2017-08-25 16:21:57 -07:00
Alessio Placitelli d5464d5729 Bug 1379316 - Move test with broken telemetry init out of test_TelemetrySession.js. r=chutten
Sometimes, test receive pings that should not be there. This happens because
Telemetry is initialized multiple times by some tests: this patch fixes
one test and moves another flaky test to a separate file. Additionally,
add useful debug information to the logs to understand which ping made
the test fail.

MozReview-Commit-ID: BS25U3e9fxO

--HG--
extra : rebase_source : 697142688c9562c4c64c7a81908d9360fc4d04f4
2017-08-24 18:22:04 +02:00
David Major 406287685a Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 15:05:40 -04:00
Ryan VanderMeulen 22f5ab5cfe Bug 1389992 - Remove the os_shutting_down scalar and related code. r=dexter 2017-08-23 13:05:29 -04:00
Sebastian Hengst 142b3bf28b Backed out changeset 109e89a7d561 (bug 1391420) for busting Linux pgo builds. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 6a4421254e4de31071785b73abdd1186638e31f2
2017-08-23 18:12:46 +02:00
David Major 8cb2cb650a Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 11:10:39 -04:00
Kate Ustiuzhanina 5382ee1c76 Bug 1390441 - Fix usePingSenderOnShutdown test via reseting TelemetrySend in tests. r=gfritzsche 2017-08-22 15:28:18 +01:00
Alessio Placitelli b7821e75df Bug 1343855 - Part 2 - Add support for key whitelists in keyed histograms. r=gfritzsche, data-review=francois
MozReview-Commit-ID: H2pE3VivWIX
2017-05-17 04:10:00 +02:00
Michael Layzell f59ead979d Bug 1380081 - Part 6: Remove test_ThreadHangStats.js, r=chutten
A new test using the new APIs is introduced in a later part. This test no longer
functions as ThreadHangStats is no longer present.

MozReview-Commit-ID: HKmoP2An4GP
2017-08-15 16:35:33 -04:00
Michael Layzell cd973809f7 Bug 1380081 - Part 3: Remove the ThreadHangStats object and related code, r=froydnj
MozReview-Commit-ID: EtrktVmc3vP
2017-08-15 16:34:21 -04:00
Michael Layzell 39c6389ed1 Bug 1365309 - Part 3: Disable test_ThreadHangStats.js on ASAN, a=bustage 2017-08-14 13:47:22 -04:00
Michael Layzell ba3aeb0481 Bug 1365309 - Part 2: re-enable BHR on linux, r=froydnj
MozReview-Commit-ID: BtRZecG4IYA
2017-08-14 10:05:24 -04:00
Sebastian Hengst b8464d1de1 Backed out changeset 579fd072422e (bug 1365309) 2017-08-11 09:29:08 +02:00
Sebastian Hengst 655e0abe18 Backed out changeset bd63a8fecf00 (bug 1380081) 2017-08-11 09:28:47 +02:00
Sebastian Hengst 2a55111fcb Backed out changeset d77a13ef7a49 (bug 1380081) 2017-08-11 09:28:32 +02:00
Michael Layzell 8a786be0df Bug 1380081 - Part 6: Remove test_ThreadHangStats.js, r=chutten
A new test using the new APIs is introduced in a later part. This test no longer
functions as ThreadHangStats is no longer present.

MozReview-Commit-ID: HKmoP2An4GP
2017-08-10 15:55:12 -04:00
Michael Layzell b0eb879969 Bug 1380081 - Part 3: Remove the ThreadHangStats object and related code, r=froydnj
MozReview-Commit-ID: EtrktVmc3vP
2017-08-10 15:55:12 -04:00
Michael Layzell 18a7248d09 Bug 1365309 - Part 2: re-enable BHR on linux, r=froydnj
MozReview-Commit-ID: BtRZecG4IYA
2017-08-10 15:55:12 -04:00
Kate Ustiuzhanina 4db629f8f6 Bug 1379145 - Use Policy in TelemetrySend.jsm to set up/reset custom timeout. r=gfritzsche
--HG--
extra : rebase_source : 71e52a397bc6ad8218f9d53a754ce4009f647652
2017-08-07 17:51:07 +01:00
Kate Ustiuzhanina 3cfadb8e23 Bug 1379125 - Track dicarded for size pending ping with TelemetryHealthPing. r=gfritzsche
--HG--
extra : rebase_source : 0c888483fac948cbf70da1834e9c0fbbd022a2bb
2017-08-07 11:09:05 +01:00
Kate Ustiuzhanina 62072603a7 Bug 1375008 - Prioritize submission of Health ping. r=gfritzsche
--HG--
extra : rebase_source : 9ed68f5af232d88b4c82efbebed1c1a16fd29891
2017-07-27 15:22:08 +01:00
Georg Fritzsche e035cc0e52 Bug 1302681 - Part 1: Extend Event Telemetry core for recording from addons. r=dexter
To cut down on complexity, we don't require specifying any expiry versions.
Given that these events will be recorded non-persistently from off-train add-ons, they can be expired by shipping new add-on releases.

We also start to use the new "record on release" terminology here instead of opt-in/opt-out, but are not changing the internal functionality yet.

Technically, this is implemented by keeping a separate registry for the dynamic event information.
Built-in & dynamic events are tracked with separate numeric ids, so introduce a common identifier for both, an EventKey.
For actual event storage, the events are treated the same as built-in events. They are simply bucketed into the 'dynamic' process storage.
This approach ends up duplicating code paths that use the event info, but keeps a single implementation for recording, storage & serialization.

--HG--
extra : rebase_source : 639f9353a7e9383efe87f7f059ca83b56fb3b2a7
2017-08-03 07:03:00 -04:00
Kate Ustiuzhanina 099014b6d9 Bug 1385417 - Fix sendOnTimeout test. r=gfritzsche 2017-08-04 10:11:38 +01:00
Rajesh Kathiriya 48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Phil Ringnalda 27fb550d1e Backed out changeset 4446ecfee3d7 (bug 1385417) for Win8 permaorange in test_TelemetryHealthPing.js
MozReview-Commit-ID: 9icHWi2MI0M
2017-07-31 22:19:35 -07:00
Marco Castelluccio b639886200 Bug 1357517 - Disable pref observer TelemetrySend test on platforms where the crash reporter component is not available (like asan). r=me
--HG--
extra : rebase_source : 82c273b30ba029c5941301bf46c2e88bfd25c9e2
2017-07-31 19:28:27 +02:00
Kate Ustiuzhanina 0373c719f7 Bug 1385417 - Fix sendOnTimeout test. r=gfritzsche
--HG--
extra : rebase_source : 8819ae899b3398460484f27f3f4cc8f41d97d53c
2017-07-31 14:57:33 +01:00
Marco Castelluccio 8cb3d8d257 Bug 1357517 - Remove unneeded ternary operators to fix eslint failure. r=me
--HG--
extra : rebase_source : 71b99679bbeef346e04c835b7d3c85cff9f8f308
2017-07-31 16:23:15 +02:00
Marco Castelluccio 65612c8204 Bug 1357517 - TelemetrySend crash annotations are controlled by TelemetryEnabled pref on Android, FhrUploadEnabled on other platforms. r=me 2017-07-31 15:53:10 +02:00
Marco Castelluccio 81011259ba Bug 1357517 - Remove Preferences.jsm usage from some Telemetry files. r=Dexter
--HG--
extra : rebase_source : 9f7d43e70a007fa317d8cc246319e2a974a89672
2017-07-31 01:32:31 +02:00
Luciano Italiani dd592719c1 Bug 1374671 - Enable the ESLint no-whitespace-before-property rule across mozilla-central. r=standard8
MozReview-Commit-ID: 4WkNg0YrgHx

--HG--
extra : rebase_source : 2c32028e81c388406455004c2adcdb4a01942b95
2017-07-27 23:01:13 -03:00
Kate Ustiuzhanina 84b0bee21b Bug 1374270 - Support sending health ping on shutdown via PingSender. r=Dexter
--HG--
extra : rebase_source : b064cd2cba2d71d6e3775ece1d78f060280a5d01
2017-07-28 15:49:52 +01:00
John Dorlus 61246931b7 Bug 1382345 - Use callback in test harness r=chutten
Added callback to testcase.py. Made sure callback is callable.
Added callback in test_main_tab_scalars to be the browser restart.
Added callback in test_ping_server_received_ping to None because no callback is needed.

MozReview-Commit-ID: Jf4YHasCXVg

--HG--
extra : rebase_source : f2b54f151d40436598003c009cc8a9b06bb052af
2017-07-26 14:15:14 -04:00
Carsten "Tomcat" Book d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Kate Ustiuzhanina 13c06e90e4 Bug 1318297 - Support initial implementation for Health ping. r=gfritzsche
Health ping is supposed to be a small ping for monitoring failures.
Current implementation tracks discarded for size and
send failures.
2017-07-25 16:19:31 +01:00
Andrew Halberstadt 21a03ad73c Bug 1383120 - Enable no-arbitrary-setTimeout eslint rule on xpcshell tests, r=mossop
MozReview-Commit-ID: 6DqLaZ9n5EM

--HG--
extra : rebase_source : 5f1264bb3ea23005c91557e5db4ce5f9e167ce9a
2017-07-26 09:08:07 -04:00
Carsten "Tomcat" Book bdf7db3d13 Merge mozilla-central to mozilla-inbound
--HG--
rename : dom/tests/mochitest/chrome/test_window_getAppLocales.html => dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
rename : mobile/android/app/src/main/res/drawable/as_contextmenu_divider.xml => mobile/android/app/src/main/res/drawable/as_contextmenu_divider_helper.xml
rename : testing/tools/autotry/autotry.py => tools/tryselect/selectors/syntax.py
extra : rebase_source : d74c74a654cd977d35e35de2768ada4ebe659ae4
2017-07-25 14:38:43 +02:00
Alejandro Rodriguez Salamanca d86dc82b47 Bug 1382192 - Use the prefs defined in TelemetryUtils.jsm in TelemetrySession.jsm. r=dexter 2017-07-24 07:09:00 +02:00