Implement the string metric type
Categories
(Toolkit :: Telemetry, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: janerik, Assigned: janerik)
References
Details
(Whiteboard: [telemetry:fog:m3])
Attachments
(2 files)
Implement a string metric for Project FOG
Assignee | ||
Comment 1•5 years ago
|
||
Currently there's no user, so we do some trickery to actually make sure
it gets compiled.
It also lacks any test, due to it being a bit more complex to set up a
Glean instance for a test run (we need a temporary directory and we need
the additional info and ... lots of boiler plate)
Comment 2•5 years ago
|
||
(In reply to Jan-Erik Rediger [:janerik] from comment #1)
It also lacks any test, due to it being a bit more complex to set up a
Glean instance for a test run (we need a temporary directory and we need
the additional info and ... lots of boiler plate)
Maybe this is a good reason to put this in "glean-sdk" :-P
Assignee | ||
Comment 3•5 years ago
|
||
(In reply to Alessio Placitelli [:Dexter] from comment #2)
(In reply to Jan-Erik Rediger [:janerik] from comment #1)
It also lacks any test, due to it being a bit more complex to set up a
Glean instance for a test run (we need a temporary directory and we need
the additional info and ... lots of boiler plate)Maybe this is a good reason to put this in "glean-sdk" :-P
well, yeah, for that part (I'm less worried about it now, it's literally just forwarding the call).
But later we will have IPC in that part of the code and that will need tests (but that will then require a full firefox anyway)
Assignee | ||
Comment 4•5 years ago
|
||
A first Rust test, which should run without any interaction with
Firefox.
This will eventually break down when we get IPC in there.
Depends on D72128
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=299279914&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/a7cafec28c8e15e7bf22b85adaaa92ce8476f5e4
[task 2020-04-24T16:26:29.879Z] + export RUSTFMT=/builds/worker/fetches/rustc/bin/rustfmt
[task 2020-04-24T16:26:29.879Z] + RUSTFMT=/builds/worker/fetches/rustc/bin/rustfmt
[task 2020-04-24T16:26:29.879Z] + export RUST_BACKTRACE=1
[task 2020-04-24T16:26:29.879Z] + RUST_BACKTRACE=1
[task 2020-04-24T16:26:29.879Z] + export AUTOMATION=1
[task 2020-04-24T16:26:29.879Z] + AUTOMATION=1
[task 2020-04-24T16:26:29.879Z] + cargo build --verbose --frozen --features debugmozjs
[task 2020-04-24T16:26:31.162Z] error: the lock file /builds/worker/workspace/build/src/Cargo.lock needs to be updated but --frozen was passed to prevent this
[fetches 2020-04-24T16:26:31.171Z] removing /builds/worker/fetches
[fetches 2020-04-24T16:26:31.660Z] finished
[taskcluster 2020-04-24 16:26:32.193Z] === Task Finished ===
[taskcluster 2020-04-24 16:26:32.288Z] Artifact "public/build" not found at "/builds/worker/artifacts/"
[taskcluster 2020-04-24 16:26:32.435Z] Unsuccessful task run with exit code: 101 completed in 38.993 seconds
Comment 7•5 years ago
|
||
Looks like there's an extra line in Cargo.lock. Lemme remove that and resubmit.
Comment 9•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/adc3d5d6d340
https://hg.mozilla.org/mozilla-central/rev/d2d6233b7691
Description
•