Changes to Events.yaml are not available to mochitests when using artifact builds
Categories
(Toolkit :: Telemetry, defect, P2)
Tracking
()
People
(Reporter: rehandalal+mozilla, Assigned: janerik)
References
Details
Attachments
(1 file)
I added a new entry to the "objects" array for a few events and these changes were not getting picked up by mochitest and causing my tests to fail. I noticed this in my patch on bug 1436111.
I've created a minimal patch that recreates the issue for me.
It's probably worth nothing that :mythmon who was reviewing the patch on the other bug was not able to reproduce the issue. So it appears to be intermittent.
Reporter | ||
Comment 1•5 years ago
|
||
Comment 2•5 years ago
|
||
Might be related to bug 1572758 where events aren't recording/showing properly.
Comment 3•5 years ago
|
||
I tried this patch both with an artifact build and with a normal build, and both worked fine for me. I did both of my tests on Linux, if that matters, though I used two separate machines.
Comment 4•5 years ago
|
||
The priority flag is not set for this bug.
:chutten, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 5•5 years ago
|
||
(Lowish priority pending what bug 1572758 turns up)
Comment 6•4 years ago
|
||
FWIW I'm having this issue with xpcshell too (https://bugzilla.mozilla.org/show_bug.cgi?id=1448945#c55)
Comment 7•4 years ago
|
||
Any chance this can be higher priority now that bug 1619990 is fixed?
Assignee | ||
Comment 8•4 years ago
|
||
Sure, should probably be a similar fix. I need to see if I find some time still this week, but now that my next week opened up I can prioritize it.
Assignee | ||
Comment 9•4 years ago
•
|
||
I took a look at this and couldn't reproduce either.
Mochitests start a full browser and thus also the full Telemetry module, meaning it picks up changed metrics in artifact builds.
For artifact builds the Telemetry build system generates a $OBJDIR/dist/bin/EventArtifactDefinitions.json
file.
If you encounter a problem again please check if your changes are reflected in that file (happy to assist with that) and let us know.
For now I'm closing this.
Assignee | ||
Updated•4 years ago
|
Description
•