Closed Bug 1867942 Opened 1 year ago Closed 1 year ago

Permafailing [tier 2] raptor-browsertime Critical: Failed waiting on page <url> to finished loading, timed out after 120000 ms Error: Running page complete check

Categories

(Testing :: Raptor, defect, P5)

defect

Tracking

(firefox-esr115 unaffected, firefox120 unaffected, firefox121 unaffected, firefox122 fixed)

RESOLVED FIXED
122 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox120 --- unaffected
firefox121 --- unaffected
firefox122 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

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


[task 2023-12-02T07:16:45.858Z] 07:16:45     INFO -  raptor-browsertime Info: Testing url https://pinterest.com/ iteration 1
[task 2023-12-02T07:17:01.111Z] 07:17:01     INFO -  raptor-browsertime Info: Will check again if the browser has navigated to the page
[task 2023-12-02T07:19:01.148Z] 07:19:01    ERROR -  raptor-browsertime Error: Browsertime failed to run
[task 2023-12-02T07:19:01.148Z] 07:19:01     INFO -  raptor-browsertime Info: return (function(waitTime) {
[task 2023-12-02T07:19:01.149Z] 07:19:01     INFO -  raptor-browsertime Info:     try {
[task 2023-12-02T07:19:01.149Z] 07:19:01     INFO -  raptor-browsertime Info:             var end = window.performance.timing.loadEventEnd;
[task 2023-12-02T07:19:01.149Z] 07:19:01     INFO -  raptor-browsertime Info:             var start= window.performance.timing.navigationStart;
[task 2023-12-02T07:19:01.150Z] 07:19:01     INFO -  raptor-browsertime Info:             return (end > 0) && (performance.now() > end - start + waitTime);
[task 2023-12-02T07:19:01.150Z] 07:19:01     INFO -  raptor-browsertime Info:     }
[task 2023-12-02T07:19:01.150Z] 07:19:01     INFO -  raptor-browsertime Info:     catch(e) {
[task 2023-12-02T07:19:01.150Z] 07:19:01     INFO -  raptor-browsertime Info:         return true;
[task 2023-12-02T07:19:01.151Z] 07:19:01     INFO -  raptor-browsertime Info:     }
[task 2023-12-02T07:19:01.151Z] 07:19:01     INFO -  raptor-browsertime Info: })(arguments[arguments.length - 1]);
[task 2023-12-02T07:19:01.151Z] 07:19:01     INFO -  raptor-browsertime Info:  took too long
[task 2023-12-02T07:19:01.151Z] 07:19:01     INFO -  raptor-browsertime Info: return (function(waitTime) {
[task 2023-12-02T07:19:01.152Z] 07:19:01     INFO -  raptor-browsertime Info:     try {
[task 2023-12-02T07:19:01.152Z] 07:19:01     INFO -  raptor-browsertime Info:             var end = window.performance.timing.loadEventEnd;
[task 2023-12-02T07:19:01.152Z] 07:19:01     INFO -  raptor-browsertime Info:             var start= window.performance.timing.navigationStart;
[task 2023-12-02T07:19:01.152Z] 07:19:01     INFO -  raptor-browsertime Info:             return (end > 0) && (performance.now() > end - start + waitTime);
[task 2023-12-02T07:19:01.153Z] 07:19:01     INFO -  raptor-browsertime Info:     }
[task 2023-12-02T07:19:01.153Z] 07:19:01     INFO -  raptor-browsertime Info:     catch(e) {
[task 2023-12-02T07:19:01.153Z] 07:19:01     INFO -  raptor-browsertime Info:         return true;
[task 2023-12-02T07:19:01.153Z] 07:19:01     INFO -  raptor-browsertime Info:     }
[task 2023-12-02T07:19:01.153Z] 07:19:01     INFO -  raptor-browsertime Info: })(arguments[arguments.length - 1]);
[task 2023-12-02T07:19:01.154Z] 07:19:01     INFO -  raptor-browsertime Info:  took too long
[task 2023-12-02T07:19:01.154Z] 07:19:01     INFO -  raptor-browsertime Info:     at Timeout.<anonymous> (file:///opt/worker/tasks/task_170150075903221/fetches/browsertime/node_modules/browsertime/lib/core/seleniumRunner.js:45:16)
[task 2023-12-02T07:19:01.154Z] 07:19:01     INFO -  raptor-browsertime Info:     at listOnTimeout (node:internal/timers:559:17)
[task 2023-12-02T07:19:01.154Z] 07:19:01     INFO -  raptor-browsertime Info:     at processTimers (node:internal/timers:502:7)
[task 2023-12-02T07:19:01.155Z] 07:19:01     INFO -  raptor-browsertime Info: URL failed to load, trying 4 more time(s): Failed waiting on page https://pinterest.com/  to finished loading, timed out after 120000 ms
[task 2023-12-02T07:19:01.155Z] 07:19:01 CRITICAL -  raptor-browsertime Critical: Failed waiting on page https://pinterest.com/ to finished loading, timed out after 120000 ms Error: Running page complete check
[task 2023-12-02T07:19:01.155Z] 07:19:01     INFO -  raptor-mitmproxy Info: MitmproxyDesktop stop!!

Hi Greg, do you have a bit of time to check this?
Thank you.

Flags: needinfo?(gmierz2)

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

Thanks for the ping! That test shouldn't be running on mozilla-central, or autoland, but the add-all-browsertime backfill action was scheduling it since it wasn't taking into account the run-on-projects settings. This issue should be fixed by the patch in bug 1867511, but I'll check back to see if it's still being scheduled.

This looks to be fixed now, the last time tp6-bench was triggered by the browsertime-backfill cron was here: https://treeherder.mozilla.org/jobs?repo=autoland&searchStr=browsertime%2Ctp6-bench&revision=97bd03fdb1bec86b388b3393aa328608da4b388d

After the patch, it no longer gets triggered. See this push for example: https://treeherder.mozilla.org/jobs?repo=autoland&searchStr=browsertime&revision=2a52041afc10652845d2b12c671546363922fbdd

I'll leave the ni? open to check back on Monday.

This is fixed now from the changes in bug 1867511. The task is no longer scheduled on autoland by the add-all-browsertime cron.

Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(gmierz2)
Resolution: --- → FIXED
Component: Performance → Raptor
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.