Consider dropping TELEMETRY_MEMORY_REPORTER_MS probe
Categories
(Toolkit :: Telemetry, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox69 | --- | fixed |
People
(Reporter: kmag, Assigned: brensurio, Mentored)
References
Details
(Whiteboard: [good first bug][lang=c++])
Attachments
(1 file)
|
4.21 KB,
patch
|
chutten
:
review+
|
Details | Diff | Splinter Review |
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
I've reproduced the failure in a new build and have filed bug 1518200 to look into it.
Turns out the telemetry python tests aren't playing well with mach test at the moment. So instead of mach test toolkit/components/telemetry/tests/ instead run mach test toolkit/components/telemetry/tests/unit
That's a shorter series of tests but should still catch most problems that might crop up while fixing this bug.
Please let me know if you have any other problems.
Updated•7 years ago
|
Updated•7 years ago
|
| Assignee | ||
Comment 6•7 years ago
|
||
I'm currently looking into this. Should I submit patch before this is assigned to me?
| Assignee | ||
Comment 7•7 years ago
|
||
I'm having problems with building. I was able to build it twice for initial build and testing it, however my visual studio updated so now it's having error like this:
0:07.02 config/external/ffi
0:07.02 process_begin: CreateProcess(NULL, D:/dev/visualstudio/2019/community/VC/Tools/MSVC/14.20.27508/bin/HostX64/x64/ml64.exe -Fowin64.obj -Z7 -c f:/repos/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/config/external/ffi/win64.asm, ...) failed.
0:07.02 make (e=2): The system cannot find the file specified.
0:07.02 mozmake.EXE[4]: *** [f:/repos/mozilla-source/mozilla-central/config/rules.mk:765: win64.obj] Error 2
0:07.02 mozmake.EXE[3]: *** [f:/repos/mozilla-source/mozilla-central/config/recurse.mk:74: config/external/ffi/target] Error 2
0:07.02 mozmake.EXE[3]: *** Waiting for unfinished jobs....
0:07.03 [0m[0m[1m[32m Finished[0m release [optimized] target(s) in 1.93s
0:07.12 mozmake.EXE[2]: *** [f:/repos/mozilla-source/mozilla-central/config/recurse.mk:34: compile] Error 2
0:07.12 mozmake.EXE[1]: *** [f:/repos/mozilla-source/mozilla-central/config/rules.mk:404: default] Error 2
0:07.12 mozmake.EXE: *** [client.mk:125: build] Error 2
0:07.19 235 compiler warnings present.
14.20.27508 is my previous version, now it's 14.21.27702. How do I update the path that mach build takes? I already tried mach configure and mach bootstrap again. Thank you.
| Assignee | ||
Comment 8•7 years ago
|
||
I was able to run the test using mach test toolkit/components/telemetry/tests/unit. But now I have a failed tests:
Ran 144 checks (96 subtests, 48 tests)
Expected results: 142
Unexpected results: 2
test: 1 (1 fail)
subtest: 1 (1 fail)
Unexpected Results
toolkit/components/telemetry/tests/unit/test_TelemetrySession.js
FAIL toolkit/components/telemetry/tests/unit/test_TelemetrySession.js - xpcshell return code: 0
FAIL test_saveLoadPing - [test_saveLoadPing : 365] false == true
f:/repos/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/_tests/xpcshell/toolkit/components/telemetry/tests/unit/test_TelemetrySession.js:checkPayload:365
f:/repos/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/_tests/xpcshell/toolkit/components/telemetry/tests/unit/test_TelemetrySession.js:test_saveLoadPing:577
Do I have to edit the test to match my changes? Thank you.
Comment 9•7 years ago
|
||
As far as I know no tests should need to be changed to remove TELEMETRY_MEMORY_REPORTER_MS. Did you remove other memory instrumentation or perhaps turn off memory reporting altogether?
| Assignee | ||
Comment 10•7 years ago
|
||
Thank you. I have accidentally removed some codes. It is passed now. I'm about to submit a patch. I'm still configuring how to submit to Phabricator.
Comment 11•7 years ago
|
||
Sounds great. Please let me know if you have any questions.
Updated•7 years ago
|
| Assignee | ||
Comment 12•7 years ago
|
||
Thank you. I already followed instruction on how to setup arc and phabricator. However when I enter arc diff --trace, I only get this error so I can't patch. Is there something I'm missing out? I already did the authentication and arc install-certificate also, I can login to phabricator website
[2019-05-29 10:54:02] EXCEPTION: (Exception) Failed to passthru proc_open(): proc_open(): CreateProcess failed, error code - 2 at [<phutil>\src\future\exec\PhutilExecPassthru.php:103]
arcanist(head=master, ref.master=7329bc7c32b9), phutil(head=master, ref.master=86ee6e90797c)
#0 PhutilExecPassthru::execute() called at [<phutil>\src\future\exec\execx.php:50]
#1 phutil_passthru(string, PhutilCommandString) called at [<phutil>\src\console\PhutilInteractiveEditor.php:148]
#2 PhutilInteractiveEditor::invokeEditor(string, string, integer) called at [<phutil>\src\console\PhutilInteractiveEditor.php:77]
#3 PhutilInteractiveEditor::editInteractively() called at [<arcanist>\src\workflow\ArcanistDiffWorkflow.php:1658]
#4 ArcanistDiffWorkflow::getCommitMessageFromUser() called at [<arcanist>\src\workflow\ArcanistDiffWorkflow.php:1501]
#5 ArcanistDiffWorkflow::buildCommitMessage() called at [<arcanist>\src\workflow\ArcanistDiffWorkflow.php:469]
#6 ArcanistDiffWorkflow::run() called at [<arcanist>\scripts\arcanist.php:394]
Comment 13•7 years ago
|
||
Wow, that's something I've never seen before. The Mozilla Phabricator User Guide says the #phabricator channel on IRC should be populated with people who can help. Are you able to ask over there?
| Assignee | ||
Comment 14•7 years ago
|
||
I think I found out the reason, it's because I'm not updated. I read the manual, but I'm afraid I might mess something up. What would be next commands I use? How do I combine my commit with the latest? No one is answering on IRC, probably timezone reasons.
$ hg head
changeset: 476441:a73077366144
tag: tip
fxtree: central
user: Arnold Iakab <ariakab@mozilla.com>
date: Fri May 31 18:12:45 2019 +0000
summary: Bug 1512607 Intermittent Windows raptor [taskcluster:error] Task aborted - max run time exceeded r=rwood,pe
changeset: 475794:3286e63d8a2a
user: Bren Louis <brensurio@gmail.com>
date: Tue May 28 20:57:12 2019 +0800
summary: Bug 1514372 - Removed time record regarding TELEMETRY_MEMORY_REPORTER_MS
Comment 15•7 years ago
|
||
It shouldn't matter if your source code isn't up-to-date. You should still be able to push for review (the problem would come later when we try to land it after review, if any problem were to come of it).
Since the problem is preventing you from using Phabricator, to get you unstuck we can conduct a review on the patch directly. You can use hg export to generate a patch file and then you can upload it here to the bug and mark me as a reviewer. Specifically, I think (I'm not sure, I use git to access mozilla-central via git-cinnabar) you should only need to hg export -r 475794:3286e63d8a2a -o bug1514372.patch which should generate a file called "bug1514372.patch". Then here on the bug you can click on the link "Attach a file" just under the bug details near the top of this page. Attach the patch file and change the review flag to "?" and then put me in the box (search for chutten) (this way I get an email and it shows up in red that I have something I need to review).
Do you think that will work?
| Assignee | ||
Comment 16•7 years ago
|
||
Hi. I was able to export the patch. Please check. I just removed the timing part. I was wondering if I should also removed the RECORD macro in MemoryTelemetry.cpp.
Comment 17•7 years ago
|
||
Updated•7 years ago
|
Comment 18•7 years ago
|
||
Pushed by nerli@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/696ec62765c7
Removed time record regarding TELEMETRY_MEMORY_REPORTER_MS r=chutten
Comment 19•7 years ago
|
||
| bugherder | ||
Description
•