Closed Bug 1656522 Opened 5 years ago Closed 5 years ago

Intermittent google-search HTTP3: ERROR: Could not find element by id pnnext

Categories

(Testing :: mozperftest, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: sparky, Unassigned)

References

(Blocks 1 open bug)

Details

Try run: https://treeherder.mozilla.org/#/jobs?repo=try&tier=1%2C2%2C3&revision=be8ec555dea007da72ebc217d7fdc5d86fdffc68
Failure: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=311582992&repo=try&lineNumber=116-118

Log excerpt:

[task 2020-07-30T23:22:11.101Z] [2020-07-30 23:22:11] INFO: Running tests using Firefox - 1 iteration(s)
[task 2020-07-30T23:22:14.338Z] [2020-07-30 23:22:14] INFO: Navigating to url https://www.google.com/ iteration 1
[task 2020-07-30T23:22:21.013Z] [2020-07-30 23:22:21] INFO: Navigating to url https://www.google.com/ iteration 1
[task 2020-07-30T23:22:27.303Z] [2020-07-30 23:22:27] INFO: Setting up search
[task 2020-07-30T23:22:32.429Z] [2020-07-30 23:22:32] INFO: Start search
[task 2020-07-30T23:22:32.429Z] [2020-07-30 23:22:32] INFO: Start to measure pageload
[task 2020-07-30T23:22:37.628Z] [2020-07-30 23:22:37] INFO: Done
[task 2020-07-30T23:22:37.628Z] [2020-07-30 23:22:37] INFO: Waiting for 25000 milliseconds
[task 2020-07-30T23:23:02.732Z] [2020-07-30 23:23:02] INFO: Going to second page of search results
[task 2020-07-30T23:23:02.732Z] [2020-07-30 23:23:02] INFO: Start to measure pageload
[task 2020-07-30T23:23:02.740Z] [2020-07-30 23:23:02] ERROR: Couldn't execute script named CUSTOM error:JavascriptError: TypeError: can't access property "click", document.getElementById(...) is null
[task 2020-07-30T23:23:02.740Z] [2020-07-30 23:23:02] ERROR: Could not find element by id pnnext
[task 2020-07-30T23:23:02.740Z] [2020-07-30 23:23:02] ERROR: Error: Could not find element by id pnnext
[task 2020-07-30T23:23:02.741Z]     at Click.byIdAndWait (/Users/cltbld/.mozbuild/browsertime/node_modules/browsertime/lib/core/engine/command/click.js:219:13)
[task 2020-07-30T23:23:02.741Z]     at process._tickCallback (internal/process/next_tick.js:68:7)
[task 2020-07-30T23:23:03.295Z] [2020-07-30 23:23:03] ERROR: Error running browsertime TypeError: Cannot read property 'length' of undefined
[task 2020-07-30T23:23:03.295Z]     at Collector.perIteration (/Users/cltbld/.mozbuild/browsertime/node_modules/browsertime/lib/core/engine/collector.js:116:31)
[task 2020-07-30T23:23:03.295Z]     at Engine.runByScript (/Users/cltbld/.mozbuild/browsertime/node_modules/browsertime/lib/core/engine/index.js:178:25)
[task 2020-07-30T23:23:03.295Z]     at process._tickCallback (internal/process/next_tick.js:68:7)
[task 2020-07-30T23:23:03.320Z] Traceback (most recent call last):
[task 2020-07-30T23:23:03.320Z]   File "python/mozperftest/mozperftest/runner.py", line 170, in <module>
[task 2020-07-30T23:23:03.320Z]     sys.exit(main())
[task 2020-07-30T23:23:03.320Z]   File "python/mozperftest/mozperftest/runner.py", line 166, in main
[task 2020-07-30T23:23:03.320Z]     run_tests(mach_cmd, **dict(args._get_kwargs()))
[task 2020-07-30T23:23:03.320Z]   File "python/mozperftest/mozperftest/runner.py", line 138, in run_tests
[task 2020-07-30T23:23:03.320Z]     e.run(metadata)
[task 2020-07-30T23:23:03.320Z]   File "/Users/cltbld/tasks/task_1596150691/fetches/python/mozperftest/mozperftest/environment.py", line 93, in run
[task 2020-07-30T23:23:03.320Z]     metadata = testlayer(syslayer(metadata))
[task 2020-07-30T23:23:03.320Z]   File "/Users/cltbld/tasks/task_1596150691/fetches/python/mozperftest/mozperftest/layers.py", line 156, in __call__
[task 2020-07-30T23:23:03.320Z]     metadata = layer(metadata)
[task 2020-07-30T23:23:03.320Z]   File "/Users/cltbld/tasks/task_1596150691/fetches/python/mozperftest/mozperftest/layers.py", line 68, in __call__
[task 2020-07-30T23:23:03.320Z]     metadata = self.run(metadata)
[task 2020-07-30T23:23:03.320Z]   File "/Users/cltbld/tasks/task_1596150691/fetches/python/mozperftest/mozperftest/test/browsertime/runner.py", line 314, in run
[task 2020-07-30T23:23:03.320Z]     metadata = self._one_cycle(metadata, result_dir)
[task 2020-07-30T23:23:03.320Z]   File "/Users/cltbld/tasks/task_1596150691/fetches/python/mozperftest/mozperftest/test/browsertime/runner.py", line 361, in _one_cycle
[task 2020-07-30T23:23:03.320Z]     raise NodeException(exit_code)
[task 2020-07-30T23:23:03.320Z] mozperftest.test.browsertime.runner.NodeException: 1

This failure has only popped up when http3 is enabled which is interesting.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.