Closed Bug 1681738 Opened 4 years ago Closed 4 years ago

Intermittent GeckoProfiler.GetProfile | Expected equality of these values:

Categories

(Core :: Gecko Profiler, defect, P2)

defect

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox83 --- unaffected
firefox84 --- unaffected
firefox85 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: mozbugz)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: archaeopteryx [at] coole-files.de
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=324144291&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/IxyWj04cQKymxqCgCwYa3Q/runs/0/artifacts/public/logs/live_backing.log


[task 2020-12-10T12:17:03.933Z] 12:17:03     INFO -  TEST-START | GeckoProfiler.GetProfile
[task 2020-12-10T12:17:03.950Z] 12:17:03  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.GetProfile | Expected equality of these values:
[task 2020-12-10T12:17:03.951Z] 12:17:03     INFO -    features.size()
[task 2020-12-10T12:17:03.951Z] 12:17:03     INFO -      Which is: 1
[task 2020-12-10T12:17:03.951Z] 12:17:03     INFO -    2u
[task 2020-12-10T12:17:03.951Z] 12:17:03     INFO -      Which is: 2 @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1820
[task 2020-12-10T12:17:03.951Z] 12:17:03  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.GetProfile | Value of: found
[task 2020-12-10T12:17:03.951Z] 12:17:03     INFO -    Actual: false
[task 2020-12-10T12:17:03.951Z] 12:17:03     INFO -  Expected: true
[task 2020-12-10T12:17:03.951Z] 12:17:03     INFO -  features doesn't contain "stackwalk" @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1821
[task 2020-12-10T12:17:03.951Z] 12:17:03  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.GetProfile | test completed (time: 15ms)

The new tests from bug 1680995 assume that stack-walking is always available, but some platforms may not support it.

So the tests should check if the profiler supports a feature (e.g., with profiler_get_available_features) before looking for that feature in the output.

Assignee: nobody → gsquelart
Severity: S4 → S3
Keywords: regression
Priority: P5 → P2
Regressed by: 1680995
Has Regression Range: --- → yes

Oh, that was beta on macos, this explains why it was not visible before: Stack-walking is only enabled on Nightly/Mac because IIRC it requires frame pointers, which help with debugging, but add some overhead, that's why they're not present in beta&release.

On some platforms, features may be unavailable. E.g.: StackWalk on Mac non-Nightly.

Pushed by gsquelart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/acba856d14fd GeckoProfiler.GetProfile gtest: Only check JSON for features that are actually active - r=canaltinova

Set release status flags based on info from the regressing bug 1680995

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: