Closed Bug 1609173 Opened 4 years ago Closed 4 years ago

Browsertime fennec video recording error

Categories

(Testing :: Raptor, defect, P1)

Version 3
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: rwood, Assigned: sparky)

References

Details

There is a video recording error when running browsertime on fennec with video (stack below). The test runs and finishes but there are no videos found in the browsertime results.

[task 2020-01-14T06:08:48.605Z] 06:08:46 INFO - Tue, 14 Jan 2020 06:08:46 GMT adb:sync LIST /sdcard/browsertime-firefox-windowrecording
[task 2020-01-14T06:08:48.605Z] 06:08:46 INFO - [2020-01-14 06:08:46] DEBUG: [browsertime.video] Using window recording directory: undefined
[task 2020-01-14T06:08:48.605Z] 06:08:46 INFO - [2020-01-14 06:08:46] ERROR: [browsertime.video] Could not find window recording directory in /builds/task_1578981920/workspace/build/blobber_upload_dir/browsertime-results/amazon-cold
[task 2020-01-14T06:08:48.605Z] 06:08:46 ERROR - [2020-01-14 06:08:46] ERROR: [browsertime] TypeError: Cannot read property 'substr' of undefined
[task 2020-01-14T06:08:48.605Z] 06:08:46 INFO - at findRecordingStartTime (/builds/task_1578981920/fetches/browsertime/node_modules/browsertime/lib/video/screenRecording/firefox/firefoxWindowRecorder.js:60:23)
[task 2020-01-14T06:08:48.605Z] 06:08:46 INFO - at FirefoxWindowRecorder.stop (/builds/task_1578981920/fetches/browsertime/node_modules/browsertime/lib/video/screenRecording/firefox/firefoxWindowRecorder.js:188:31)

I notice for GVE and Fenix we use 'about:blank' for the default page, for fennec the default page on app startup is 'about:home'. If after browsertime starts the fennec app, and during the 'post-startup-delay', I manually navigate to 'about:blank' then the orange screen does appear right before navigation to the test page (i.e. www.amazon.com) begins. However even so, after the test finishes there are no videos found in the browsertime results and I see the same error:

DEBUG: [browsertime.video] Using window recording directory: undefined

I check on the device's sdcard and there are no video recordings there (they are expected to be in /sdcard/browsertime-firefox-windowrecording

Hey :barret, is the windowUtils.setCompositionRecording API supported in fennec (more specifically fennec 68.5a1)? Looks like the API is being called via browsertime/webdriver, and I don't see any error messages returned - however no video recordings are created.

Flags: needinfo?(brennie)

It should be. I see all the relevant bits except the WebRenderCompositionRecorder on the esr68 branch, but we shouldn't be using WebRender on Fennec.

Flags: needinfo?(brennie)
Assignee: rwood → gmierz2

I'm pretty sure that this error is fixed now. We can reopen it if need be.

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