Commit Graph
759 Commits
Author SHA1 Message Date
David Krauser 4a642784d7 Bug 1351274 - Add C++ test coverage for the Categorical Histogram. r=dexter 2017-10-02 19:04:00 +02:00
Alessio Placitelli fdceb69955 Bug 1395835 - Rename "group" to "category" in the scalar code and docs. r=chutten
MozReview-Commit-ID: HQ3I2cfEaa
2017-09-27 10:12:13 +02:00
Chris H-C f92123a71c bug 1397293 - Suppress TelemetryStopwatch errors in TelemetrySend tests r=Dexter
MozReview-Commit-ID: 4XkD5Og8kvY
2017-09-26 14:54:00 -04:00
Chris H-C ba7e148275 bug 1397293 - Test TelemetrySend tooLateToSend r=Dexter
MozReview-Commit-ID: FmqQKEnU9L1
2017-09-26 14:53:15 -04:00
Matt Howell ea6f37b4e7 Bug 1403037 - Don't test attribution data in applications that don't use it. r=Dexter
MozReview-Commit-ID: Giy2ZRlMVa2
2017-09-25 19:39:58 -07:00
Alessio Placitelli e24412e896 Bug 1393801 - Enable dynamic scalar registration. f=gfritzsche,r=billm,chutten
MozReview-Commit-ID: JlRk7hLV5QD
2017-08-29 13:05:40 +02:00
Phil Ringnalda 96e9eb05a2 Backed out 4 changesets (bug 1348981) for Linux debug timeouts in test_system_update.js
Backed out changeset b1fe39ea6d5c (bug 1348981)
Backed out changeset 47866f942752 (bug 1348981)
Backed out changeset 5e93d8760487 (bug 1348981)
Backed out changeset 58431e2c37d7 (bug 1348981)

MozReview-Commit-ID: 2WjZKztxyVs
2017-09-23 06:20:56 -07:00
Robert Helmer 23bf23b30d Bug 1348981 - only load system add-ons from a built-in list r=kmag
MozReview-Commit-ID: A6c5kaLmNPP
2017-09-14 00:36:04 -07:00
Alessio Placitelli c048ed4eb2 Bug 1400870 - Keep the attribution code on environment changes. r=chutten
This patch makes sure |_updateSettings| carries over the attribution code,
if present. Without this patch the whole "environment.settings" section
is replaced and the attribution code disppears after the first environment
change/subsession split.

MozReview-Commit-ID: 8bxjVOl2mUp
2017-09-21 09:34:58 +02:00
Adam Gashlin 63c15a8463 Bug 1393601 - Add telemetry for MOZ_UPDATER. r=Dexter, r=rweiss 2017-09-18 09:50:10 -07:00
Sebastian Hengst fba940c63f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2iVDKexRjxu
2017-09-13 23:58:43 +02:00
Georg Fritzsche d2dfd47222 Bug 1398851 - Part 3: Re-enable test_TelemetrySend.js on Window 64bit debug. r=Dexter 2017-09-13 03:21:00 -04:00
Georg Fritzsche 2b7c3e1168 Bug 1398851 - Part 2: Fix fragile TelemetrySend test. r=Dexter 2017-09-12 06:55:00 -04:00
Georg Fritzsche 356ac3a136 Bug 1398851 - Part 1: Add test logging for Telemetry PingServer requests. r=Dexter 2017-09-12 06:55:00 -04:00
Chris H-C 2793f9e884 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
2017-09-13 10:44:22 -04:00
Ryan VanderMeulen 87aee3fcc7 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 27fa9d8684 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 ae41ca936c Bug 1395990 - stop using Services.appinfo.isOfficial in test_TelemetrySession.js;r=mossop
MozReview-Commit-ID: 420221gSjJ1
2017-09-01 18:55:13 +02:00
Alessio Placitelli cc37955cfb 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
2017-08-21 11:50:59 +02:00
Chris H-C eabcba7afb 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
2017-08-22 09:42:09 -04:00
Alessio Placitelli 48120f64db 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
2017-08-28 18:38:59 +02:00
Wes Kocher 7d6cb9f00c Merge inbound to central, a=merge
MozReview-Commit-ID: 3N9jinnrmjb
2017-08-25 16:21:57 -07:00
Alessio Placitelli 5cd4ee6547 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
2017-08-24 18:22:04 +02:00
David Major 2f8a0aa015 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 547accb38c Bug 1389992 - Remove the os_shutting_down scalar and related code. r=dexter 2017-08-23 13:05:29 -04:00
Sebastian Hengst cd3a8b86af Backed out changeset 109e89a7d561 (bug 1391420) for busting Linux pgo builds. r=backout on a CLOSED TREE 2017-08-23 18:12:46 +02:00
David Major 0aace12760 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 47aa8f1361 Bug 1390441 - Fix usePingSenderOnShutdown test via reseting TelemetrySend in tests. r=gfritzsche 2017-08-22 15:28:18 +01:00
Alessio Placitelli 5329b408e3 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 debb94e181 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 c115daf948 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 a477c935be Bug 1365309 - Part 3: Disable test_ThreadHangStats.js on ASAN, a=bustage 2017-08-14 13:47:22 -04:00
Michael Layzell 429ac6cb75 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 0566e2fbfd Backed out changeset 579fd072422e (bug 1365309) 2017-08-11 09:29:08 +02:00
Sebastian Hengst 983d3050d2 Backed out changeset bd63a8fecf00 (bug 1380081) 2017-08-11 09:28:47 +02:00
Sebastian Hengst b66a07d840 Backed out changeset d77a13ef7a49 (bug 1380081) 2017-08-11 09:28:32 +02:00
Michael Layzell cb12530be6 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 33751c95e2 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 56a9ba5262 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 2883064fb0 Bug 1379145 - Use Policy in TelemetrySend.jsm to set up/reset custom timeout. r=gfritzsche 2017-08-07 17:51:07 +01:00
Kate Ustiuzhanina 7aaca1f8aa Bug 1379125 - Track dicarded for size pending ping with TelemetryHealthPing. r=gfritzsche 2017-08-07 11:09:05 +01:00
Kate Ustiuzhanina a37d22b011 Bug 1375008 - Prioritize submission of Health ping. r=gfritzsche 2017-07-27 15:22:08 +01:00
Georg Fritzsche 9385f14125 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.
2017-08-03 07:03:00 -04:00
Kate Ustiuzhanina c5e7ca3c41 Bug 1385417 - Fix sendOnTimeout test. r=gfritzsche 2017-08-04 10:11:38 +01:00
Rajesh Kathiriya fefc455410 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Phil Ringnalda 9faf750b95 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 3ab0531d75 Bug 1357517 - Disable pref observer TelemetrySend test on platforms where the crash reporter component is not available (like asan). r=me 2017-07-31 19:28:27 +02:00
Kate Ustiuzhanina 4feb80744a Bug 1385417 - Fix sendOnTimeout test. r=gfritzsche 2017-07-31 14:57:33 +01:00
Marco Castelluccio fbbb4fbe67 Bug 1357517 - Remove unneeded ternary operators to fix eslint failure. r=me 2017-07-31 16:23:15 +02:00
Marco Castelluccio ce56433409 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