QA/Fennec/Move Android decoder out of app process
Overview
Purpose
Please ensure that the video/audio function works well. There is no crash issue or other side effects.
Ownership
Engineering Program Manager: Bobby Chien
Key Engineer: John Lin
Engineering Manager: Blake Wu
TDC QA Contact: Cynthia Tang (:Cynthia)
QA: Ioana Chiorean (:ioanachiorean)
Overall Status
[OK] Nightly: Landed - [ON TRACK]
[OK] Aurora: Landed - [ON TRACK]
[OK] Beta: Landed - [ON TRACK]
Testing Summary
Scope of testing
The testing will be focus on verifying the bug 1257777
Environments
Testing will be performed on following devices:
- Phones
- 4.x
- 5.x
- 6.x
- 7.0 Beta
- Tablet
- 4.x
- 5.x
- 6.0
Specifications
- Meta Bug: bug 1257777 - Move Android audio/video decoder out of application process
- Preferences:
- 1. Launch Firefox (Fennec)
- 2. Enter "about:config" in URL address field
- 3. Find "media.android-remote-codec.enabled" and enable it
User stories
- As a user, I want to
Acceptance Criteria
- QA requirements: Please ensure that the video/audio function works well. There is no crash issue or other side effects.
The preference is enabled When you use the command line "adb shell ps |grep mozilla” , there will be two processes. For example (test case): u0_a83 9157 211 1410808 320372 sys_epoll_ 00000000 S org.mozilla.fennec u0_a83 10590 211 884724 40600 sys_epoll_ 00000000 S org.mozilla.fennec:media
The preference is disabled: When you use the command line "adb shell ps |grep mozilla” , there will be one process. For example: u0_a83 9157 211 1410808 320372 sys_epoll_ 00000000 S org.mozilla.fennec
Testing details
Testing days
Date:05-09-2016 - Ioana
- Created Test Plan
- Run Cynthia's proposed test case - PASSED
- Prerequisites: Launch Firefox (Fennec) -> Go to "about:config" -> Find "media.android-remote-codec.enabled" and enable it
- Watch a video
- When you use the command line "adb shell ps |grep mozilla” , there will be two processes. For example
u0_a83 9157 211 1410808 320372 sys_epoll_ 00000000 S org.mozilla.fennec
u0_a83 10590 211 884724 40600 sys_epoll_ 00000000 S org.mozilla.fennec:media
- Disable the preference
- When you use the command line "adb shell ps |grep mozilla” , there will be one process. For example:
u0_a83 9157 211 1410808 320372 sys_epoll_ 00000000 S org.mozilla.fennec
Date:01-20-2017 - Bogdan
- Ran tests using Windwos 10 (64-bit) | Tester: Bogdan Surd
- Prerequisites: Launch Firefox (Fennec) -> Go to "about:config" -> Find "media.android-remote-codec.enabled" and enable it
- Watch a video
- Open CMD or PowerShell use the command line "adb shell ps |FINDSTR mozilla” for CMD or "adb shell ps |sls mozilla” for PowerShell
- There will be two or more processes that will be displayed. For example:
u0_a89 10934 2410 1373844 240664 ffffffff 00000000 S org.mozilla.firefox
u0_a89 11086 2410 993952 52964 ffffffff 00000000 S org.mozilla.firefox:media
- Disable the preference
- When you use the command line "adb shell ps |FINDSTR mozilla” for CMD or "adb shell ps |sls mozilla” for PowerShell, there will be one process. For example:
u0_a89 11704 2410 1337504 234044 ffffffff 00000000 S org.mozilla.firefox
- Notes:
- You need to close and reopen the app in order for the preference to take effect.
- For additional functionality the user can install Chocolatey in case the install does not work be sure to first run Set-ExecutionPolicy RemoteSigned
- Useful commands for Chocolatey:
- choco list - displays a list of all the available features that can be installed
- choco search example - displays a list that contains all of the matching items
- choco install item name - installs selected item from the list
- After installing Chocolatey and grepwin(choco install grepwin) the user can use adb shell ps |ag mozilla or adb shell ps |grep mozilla to get the desired list
- Useful commands for Chocolatey:
Date:06-02-2017 Ioana
- Run Cynthia's proposed test case - PASSED
- Verified bug 1363276 - Android remote decoder doesn't return video frames on Android 4.2.2
- Verified in "about:config" that "media.android-remote-codec.enabled" is enabled
- Watch a video Nexus 9 (Android 5.1.1)
- When you use the command line "adb shell ps |grep mozilla” , there will be two processes. In my case today:
u0_a91 7096 240 1595732 318356 SyS_epoll_ 0000000000 S org.mozilla.fennec_aurora
u0_a91 8724 240 955736 30616 SyS_epoll_ 0000000000 S org.mozilla.fennec_aurora:media
- Before the video starts
u0_a91 7096 240 1602224 323292 SyS_epoll_ 0000000000 S org.mozilla.fennec_aurora
- Disable the preference and close the app. Reopen it
- When you use the command line "adb shell ps |grep mozilla” , there will be one process. In my case today:
u0_a91 9181 240 1482064 330676 SyS_epoll_ 0000000000 S org.mozilla.fennec_aurora
- Watch a video on: Prestigio PSP5508DUO (Android 4.4.2)
- When you use the command line "adb shell ps |grep mozilla” , there will be two processes. In my case today:
u0_a122 6502 160 1111796 200524 ffffffff 00000000 S org.mozilla.fennec_aurora
u0_a122 6764 160 562852 25548 ffffffff 00000000 S org.mozilla.fennec_aurora:media
- Before the video starts
u0_a122 6502 160 1092768 196780 ffffffff 00000000 S org.mozilla.fennec_aurora
- Disable the preference and close the app. Reopen it
- When you use the command line "adb shell ps |grep mozilla” , there will be one process. In my case today:
u0_a122 6502 160 1092768 196780 ffffffff 00000000 S org.mozilla.fennec_aurora
Date:06-03-2017
- Watch a video Nexus 9 (Android 5.1.1) - Firefox 54 Beta 10
- When you use the command line "adb shell ps |grep mozilla” , there will be two processes. In my case today:
u0_a91 7096 240 1595732 318356 SyS_epoll_ 0000000000 S org.mozilla.fennec_aurora
u0_a91 8724 240 955736 30616 SyS_epoll_ 0000000000 S org.mozilla.fennec_aurora:media
- Before the video starts
u0_a91 7096 240 1602224 323292 SyS_epoll_ 0000000000 S org.mozilla.fennec_aurora
- Disable the preference and close the app. Reopen it
- When you use the command line "adb shell ps |grep mozilla” , there will be one process. In my case today:
u0_a91 9181 240 1482064 330676 SyS_epoll_ 0000000000 S org.mozilla.fennec_aurora
Date:06-06-2017 - MihaiN
- Ran tests using Ubuntu (64-bit) | Tester: Mihai Ninu
- Prerequisites: Launch Firefox (Fennec) -> Go to "about:config" -> Find "media.android-remote-codec.enabled" and enable it
- Watch a video on: Prestigio PSP5508DUO (Android 4.4.2)
- Open console and use the command line "adb shell ps |ag mozilla”
- There will be two or more processes that will be displayed. For example:
u0_a122 7845 160 1085188 172744 ffffffff 00000000 S org.mozilla.fennec_aurora
u0_a122 8003 160 561808 25848 ffffffff 00000000 S org.mozilla.fennec_aurora:media
- Disable the preference
- When you use the command line "adb shell ps |ag mozilla” there will be one process before playing a video.
Bug Work
Tracking bugs
- bugs to track the feature
- Depends on:
ID | Summary | Priority | Status |
---|---|---|---|
1251069 | Media playback problems on Pixel C | P2 | RESOLVED |
1257777 | Move Android audio/video decoder out of application process | P2 | RESOLVED |
1295106 | Use shared memory for input and output buffers of out-of-process decoder on Android. | P2 | RESOLVED |
1297556 | Add telemetry to know how many crashes happens in decoding process. | P2 | RESOLVED |
1298860 | There are a lot of missing frames when playing some videos | P2 | RESOLVED |
1299068 | The video is choppy when playing a video from Vimeo | P2 | VERIFIED |
6 Total; 0 Open (0%); 5 Resolved (83.33%); 1 Verified (16.67%);
- Blocks:
5 Total; 0 Open (0%); 5 Resolved (100%); 0 Verified (0%);
Still issues
[NEW] Bug - name of bug
Bug fixed
[RESOLVED FIXED] Bug - name of bugspoofing
Signoff
Exit Criteria | Status | Notes/Details |
---|---|---|
[Mobile] SV Pre-Aurora 53 Signoff | GREEN by Jan 23, 2017 | Email to be sent |
[Mobile] SV Pre-Beta 53 Signoff | Email to be sent | |
[Mobile] SV Pre-Release 53 Signoff | Email to be sent | |
Release Signoff | Email to be sent |
Criteria
Results
Nightly testing
- In progress
Aurora testing
- NA
Beta testing
- NA