AdvancedTelemetry does not enabled properly

RESOLVED INVALID

Status

Firefox OS
Gaia::System
RESOLVED INVALID
2 years ago
2 years ago

People

(Reporter: ihsiao, Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(blocking-b2g:2.5?)

Details

(Reporter)

Description

2 years ago
### Steps:
1. Modify the advanced_telemetry.js and reset gaia
   AT.REPORT_URL = 'https://incoming-telemetry-mozilla-org-fw81a67t0so2.runscope.net/submit/telemetry';
   AT.REPORT_INTERVAL = 3 * 60 * 1000;
   AT.REPORT_TIMEOUT = 20 * 1000;
   AT.RETRY_INTERVAL = 20 * 1000;
   AT.MERGE_INTERVAL = 1 * 60 * 1000;
2. Monitor ftuping/appusage/advancedTelemetry logs via this command:
$ adb logcat -v threadtime | grep -i -E 'advancedtelemetry|ftuping|appusage'

3. Enable advanced telemetry in FTE. Select "Enhanced" in "About Foxfood" page, and check adb logs, you should see the following logs for enabling AppUsage and AdvancedTelemetry:
   10-20 13:09:11.314  6805  6805 I GeckoConsole: Content JS LOG: [AdvancedTelemetryInfo] Start Collecting 
   10-20 13:09:11.324  6805  6805 I GeckoConsole: Content JS LOG: [AppUsage] starting app usage metrics collection 

4. After the FTE, AdvancedTelemetry didn't collect data correctly, neither send to server when the report interval is reached (should be 3 minutes from above setting)


### Expected behavior:
We should see the AdvancedTelemetry adb logs, such as:
10-15 16:33:25.971  1966  1966 I GeckoConsole: Content JS LOG: [AdvancedTelemetry] calling sendTelemetryData 
10-15 16:33:26.191  1966  1966 I GeckoConsole: Content JS LOG: [AdvancedTelemetry]{"type":"advancedtelemetry" ...

And then server will receive the Metrics payload.


### Observed behavior:
AdvancedTelemetry didn't collect data correctly, neither send to server when the report interval is reached.
(Reporter)

Comment 1

2 years ago
[Blocking Requested - why for this release]: The AdvancedTelemetry function is broken and this issue will block 2.5 Telemetry testing.
blocking-b2g: --- → 2.5?
(Reporter)

Updated

2 years ago
QA Whiteboard: [COM=Telemetry]
(Reporter)

Updated

2 years ago
Flags: needinfo?(thills)
Flags: needinfo?(rnicoletti)
(Reporter)

Comment 2

2 years ago
Build ID               20151019205841
Gaia Revision          22c7651e57164f57117a863bb1a3b6098c6f9588
Gaia Date              2015-10-20 02:21:13
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/9605da94e75d61598d3c00f01a12d1b6bc427a6c
Gecko Version          44.0a1
Device Name            aries
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.worker.20151019.201730
Firmware Date          Mon Oct 19 20:17:38 UTC 2015
Bootloader             s1
(Reporter)

Comment 3

2 years ago
Is this issue duplicate bug 1215654?
(Reporter)

Comment 4

2 years ago
I just found that my settings are wrong in the advanced_telemetry.js, mark this bug as invalid.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INVALID
(Reporter)

Updated

2 years ago
Flags: needinfo?(thills)
Flags: needinfo?(rnicoletti)
You need to log in before you can comment on or make changes to this bug.