Closed Bug 1925510 Opened 1 year ago Closed 1 year ago

Intermittent GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)

Categories

(Core :: Gecko Profiler, defect, P5)

defect

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox132 --- unaffected
firefox133 --- wontfix
firefox134 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: tszentpeteri [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=478856886&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/adM3KLlORGK82YR6Kfxctg/runs/0/artifacts/public/logs/live_backing.log


[task 2024-10-18T11:51:19.874Z] 11:51:19     INFO -  TEST-START | GeckoProfiler.AllThreads
[task 2024-10-18T11:51:20.037Z] 11:51:20  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)
[task 2024-10-18T11:51:20.038Z] 11:51:20     INFO -  Google Test trace:
[task 2024-10-18T11:51:20.038Z] 11:51:20     INFO -  /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:4682: Features: StackWalk Threads CPUAllThreads
[task 2024-10-18T11:51:20.038Z] 11:51:20     INFO -   @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1522
[task 2024-10-18T11:51:20.173Z] 11:51:20  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)
[task 2024-10-18T11:51:20.173Z] 11:51:20     INFO -  Google Test trace:
[task 2024-10-18T11:51:20.173Z] 11:51:20     INFO -  /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:4682: Features: StackWalk Threads SamplingAllThreads
[task 2024-10-18T11:51:20.174Z] 11:51:20     INFO -   @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1522
[task 2024-10-18T11:51:20.309Z] 11:51:20  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)
[task 2024-10-18T11:51:20.310Z] 11:51:20     INFO -  Google Test trace:
[task 2024-10-18T11:51:20.311Z] 11:51:20     INFO -  /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:4682: Features: StackWalk Threads CPUAllThreads SamplingAllThreads
[task 2024-10-18T11:51:20.311Z] 11:51:20     INFO -   @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1522
[task 2024-10-18T11:51:20.442Z] 11:51:20  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)
[task 2024-10-18T11:51:20.442Z] 11:51:20     INFO -  Google Test trace:
[task 2024-10-18T11:51:20.443Z] 11:51:20     INFO -  /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:4682: Features: StackWalk Threads MarkersAllThreads
[task 2024-10-18T11:51:20.443Z] 11:51:20     INFO -   @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1522
[task 2024-10-18T11:51:20.576Z] 11:51:20  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)
[task 2024-10-18T11:51:20.578Z] 11:51:20     INFO -  Google Test trace:
[task 2024-10-18T11:51:20.578Z] 11:51:20     INFO -  /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:4682: Features: StackWalk Threads CPUAllThreads MarkersAllThreads
[task 2024-10-18T11:51:20.578Z] 11:51:20     INFO -   @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1522
[task 2024-10-18T11:51:20.714Z] 11:51:20  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)
[task 2024-10-18T11:51:20.714Z] 11:51:20     INFO -  Google Test trace:
[task 2024-10-18T11:51:20.715Z] 11:51:20     INFO -  /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:4682: Features: StackWalk Threads SamplingAllThreads MarkersAllThreads
[task 2024-10-18T11:51:20.715Z] 11:51:20     INFO -   @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1522
[task 2024-10-18T11:51:20.850Z] 11:51:20  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)
[task 2024-10-18T11:51:20.850Z] 11:51:20     INFO -  Google Test trace:
[task 2024-10-18T11:51:20.851Z] 11:51:20     INFO -  /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:4682: Features: StackWalk Threads CPUAllThreads SamplingAllThreads MarkersAllThreads
[task 2024-10-18T11:51:20.852Z] 11:51:20     INFO -   @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1522
[task 2024-10-18T11:51:20.852Z] 11:51:20  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | test completed (time: 976ms)
[task 2024-10-18T11:51:20.853Z] 11:51:20     INFO -  TEST-START | GeckoProfiler.FailureHandling

Tier 1 link failure here

Summary: Intermittent [tier 2] GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr) → Intermittent GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)

Backfills and retriggers indicate it's coming from bug 1923595

@Olli, could you take a look into this? seems kinda frequent.
here's a failure log

TEST-START | GeckoProfiler.AllThreads
[task 2024-10-26T20:40:28.177Z] 20:40:28  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)
[task 2024-10-26T20:40:28.179Z] 20:40:28     INFO -  Google Test trace:
[task 2024-10-26T20:40:28.179Z] 20:40:28     INFO -  /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp(4682): Features: StackWalk Threads CPUAllThreads
[task 2024-10-26T20:40:28.179Z] 20:40:28     INFO -   @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1522
[task 2024-10-26T20:40:28.861Z] 20:40:28  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)
[task 2024-10-26T20:40:28.863Z] 20:40:28     INFO -  Google Test trace:
[task 2024-10-26T20:40:28.863Z] 20:40:28     INFO -  /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp(4682): Features: StackWalk Threads SamplingAllThreads
[task 2024-10-26T20:40:28.863Z] 20:40:28     INFO -   @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1522
[task 2024-10-26T20:40:29.570Z] 20:40:29  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)
[task 2024-10-26T20:40:29.572Z] 20:40:29     INFO -  Google Test trace:
[task 2024-10-26T20:40:29.572Z] 20:40:29     INFO -  /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp(4682): Features: StackWalk Threads CPUAllThreads SamplingAllThreads
[task 2024-10-26T20:40:29.573Z] 20:40:29     INFO -   @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1522
[task 2024-10-26T20:40:30.277Z] 20:40:30  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)
[task 2024-10-26T20:40:30.279Z] 20:40:30     INFO -  Google Test trace:
[task 2024-10-26T20:40:30.280Z] 20:40:30     INFO -  /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp(4682): Features: StackWalk Threads MarkersAllThreads
[task 2024-10-26T20:40:30.280Z] 20:40:30     INFO -   @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1522
[task 2024-10-26T20:40:30.972Z] 20:40:30  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)
[task 2024-10-26T20:40:30.974Z] 20:40:30     INFO -  Google Test trace:
[task 2024-10-26T20:40:30.974Z] 20:40:30     INFO -  /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp(4682): Features: StackWalk Threads CPUAllThreads MarkersAllThreads
[task 2024-10-26T20:40:30.975Z] 20:40:30     INFO -   @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1522
[task 2024-10-26T20:40:31.663Z] 20:40:31  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)
[task 2024-10-26T20:40:31.665Z] 20:40:31     INFO -  Google Test trace:
[task 2024-10-26T20:40:31.665Z] 20:40:31     INFO -  /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp(4682): Features: StackWalk Threads SamplingAllThreads MarkersAllThreads
[task 2024-10-26T20:40:31.665Z] 20:40:31     INFO -   @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1522
[task 2024-10-26T20:40:32.379Z] 20:40:32  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | Expected: (aOutput) != (nullptr), actual: NULL vs (nullptr)
[task 2024-10-26T20:40:32.381Z] 20:40:32     INFO -  Google Test trace:
[task 2024-10-26T20:40:32.381Z] 20:40:32     INFO -  /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp(4682): Features: StackWalk Threads CPUAllThreads SamplingAllThreads MarkersAllThreads
[task 2024-10-26T20:40:32.381Z] 20:40:32     INFO -   @ /builds/worker/checkouts/gecko/tools/profiler/tests/gtest/GeckoProfiler.cpp:1522
[task 2024-10-26T20:40:32.382Z] 20:40:32  WARNING -  TEST-UNEXPECTED-FAIL | GeckoProfiler.AllThreads | test completed (time: 4958ms)
Flags: needinfo?(smaug)
Keywords: regression
Regressed by: 1923595

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

I don't understand how the backout in bug 1923595 could have caused this.
And this is failing on windows11-32 only. Are windows11-32 tests something new?

Nazim, the test might be a bit more familiar to you. Any ideas here?

Flags: needinfo?(smaug) → needinfo?(canaltinova)

Interesting. It doesn't look like it could be triggered by Bug 1923595. I pushed a try run to see the errors, maybe they could give us more insight: https://treeherder.mozilla.org/jobs?repo=try&revision=1d0de815f623ef0c3e44464fb9dd05a52e6975b4 I'll investigate more later.

Assignee: nobody → canaltinova
Status: NEW → ASSIGNED
Flags: needinfo?(canaltinova)

This test log shows that the tests are failing due to OOM: https://treeherder.mozilla.org/logviewer?job_id=481027569&repo=try&lineNumber=39755

aWriter failed with: OOM in ChunkedJSONWriteFunc::AllocChunk allocating new chunk

It doesn't look like it's directly related to bug 1923595. But this bug seems to change how we calculate the number of cores, and probably now the result is more, and creating more threads. Since we have more threads, we are trying to serialize more data, and it seems like we reached this threshold on these platforms.

But considering that these failures are happening only on 32 bit windows and linux, let's disable this test on them.

Looks like Bug 1923595 changes how we calculate the number of cores and probably
resulting us to create more threads. Our GeckoProfiler.AllThreads test tries to
profile all the threads with some different all-thread features. It looks like
we hit the memory threshold on 32-bit Windows and Linux tests. This patch
disables it on these platforms so we don't get OOM intermittent failures.

Attachment #9435056 - Attachment description: Bug 1925510 - Disable the profiler gtests where we profile all the threads on 32-bit Windows and Linux r?aabh! → Bug 1925510 - Disable the profiler gtests 32-bit platforms r?aabh!
Attachment #9435056 - Attachment description: Bug 1925510 - Disable the profiler gtests 32-bit platforms r?aabh! → Bug 1925510 - Disable the profiler gtests on 32-bit platforms r?aabh!

As Bug 1919384 comment 29 shows, it looks like it's not just this subtest and more a general issue. So I'm disabling the gtests on all 32-bit platforms with this patch instead.

Pushed by canaltinova@gmail.com: https://hg.mozilla.org/integration/autoland/rev/eeca264bb82b Disable the profiler gtests on 32-bit platforms r=aabh,profiler-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: