B2G/QA/Gaia Test Plan/Crash: Difference between revisions
< B2G | QA | Gaia Test Plan
Jump to navigation
Jump to search
| (10 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
*'''Developers:''' | *'''Developers:''' | ||
*'''Designer:''' | *'''Designer:''' | ||
*'''QA:''' Naoki Hirata | *'''QA:''' Naoki Hirata, Marcia Knous | ||
|} | |} | ||
= Test Plan = | = Test Plan = | ||
== Design Documentation/Background Research == | == Design Documentation/Background Research == | ||
Design Documentation can be found : [http://people.mozilla.com/~lco/Crash_Reporting_B2G/R1_Crash%20Reports%20v1.pdf http://people.mozilla.com/~lco/Crash_Reporting_B2G/R1_Crash%20Reports%20v1.pdf] | * Design Documentation | ||
** can be found : [http://people.mozilla.com/~lco/Crash_Reporting_B2G/R1_Crash%20Reports%20v1.pdf http://people.mozilla.com/~lco/Crash_Reporting_B2G/R1_Crash%20Reports%20v1.pdf] | |||
=== How to force a crash === | |||
* Plugin Crash | |||
** adb shell ps|grep plugin-container | |||
** app_0 409 109 55512 16760 ffffffff 40064330 S /system/b2g/plugin-container | |||
** adb shell kill -11 409 | |||
* b2g OS crash | |||
** adb shell ps |grep b2g | |||
** root 109 1 191120 66024 ffffffff 400fa330 S /system/b2g/b2g | |||
** adb shell kill -11 109 | |||
* browser tab crash | |||
** go to http://www.crashmybrowser.com/ | |||
=== How to check crash: === | |||
* checking crash: | |||
* root@android:/data/b2g/mozilla/Crash Reports/ | |||
* /data/b2g/mozilla/Crash Reports/pending folder. | |||
=== Kairo's reports: === | |||
* https://crash-analysis.mozilla.com/rkaiser/0000.overview.html#latest | |||
* https://crash-analysis.mozilla.com/rkaiser/2012-11-28/2012-11-28.b2g.crashes.html | |||
=== Socorro === | |||
* https://crash-stats.mozilla.com/products/B2G | |||
* https://wiki.mozilla.org/CrashKill | |||
* https://wiki.mozilla.org/Socorro | |||
== System Testing == | == System Testing == | ||
| Line 22: | Line 50: | ||
=== Mobile Device === | === Mobile Device === | ||
Test devices : | Test devices : | ||
* Leo | |||
* Inari | |||
Backup test devices: | |||
* Otoro | * Otoro | ||
* Unagi | * Unagi | ||
| Line 39: | Line 70: | ||
== Bugs == | == Bugs == | ||
{{Bug|761905}} - (b2g-crash-reporting) Tracking: Crash reporting for b2g (gonk) | * {{Bug|761905}} - (b2g-crash-reporting) Tracking: Crash reporting for b2g (gonk) | ||
** Implementation Meta Tracker | |||
* {{bug|833574}} - (b2g-frontend-crash-reporting) [Meta] Other Crash Reporting Bugs | |||
** Bugs after implementation Meta Tracker | |||
= Test Outline = | = Test Outline = | ||
Note : This test out line is a brain storm of all possible conditions to consider for testing. The scope of the testing will be narrowed from this list based on design information, risks of breakage, etc.<br> | Note : This test out line is a brain storm of all possible conditions to consider for testing. The scope of the testing will be narrowed from this list based on design information, risks of breakage, etc.<br> | ||
[https://mozqa.etherpad.mozilla.org/crash-testing-on-b2g collaborative effort by marcia and nhirata] | <br> | ||
* [https://mozqa.etherpad.mozilla.org/crash-testing-on-b2g collaborative effort by marcia and nhirata] | |||
* [https://docs.google.com/spreadsheet/ccc?key=0Arku3jleCA0UdEtYMng1eDhURXItN2MyMTk3aFN6N2c#gid=0 Test Case mapping] | |||
== Positive Smoke/Alpha Tests == | == Positive Smoke/Alpha Tests == | ||
| Line 70: | Line 106: | ||
** Content Crash | ** Content Crash | ||
*** Browser content crash | *** Browser content crash | ||
* about:Crashes | |||
=== Functional === | === Functional === | ||
Latest revision as of 23:20, 16 April 2013
General Information
| Area | Details |
|---|---|
| Team: |
|
Test Plan
Design Documentation/Background Research
- Design Documentation
How to force a crash
- Plugin Crash
- adb shell ps|grep plugin-container
- app_0 409 109 55512 16760 ffffffff 40064330 S /system/b2g/plugin-container
- adb shell kill -11 409
- b2g OS crash
- adb shell ps |grep b2g
- root 109 1 191120 66024 ffffffff 400fa330 S /system/b2g/b2g
- adb shell kill -11 109
- browser tab crash
How to check crash:
- checking crash:
- root@android:/data/b2g/mozilla/Crash Reports/
- /data/b2g/mozilla/Crash Reports/pending folder.
Kairo's reports:
- https://crash-analysis.mozilla.com/rkaiser/0000.overview.html#latest
- https://crash-analysis.mozilla.com/rkaiser/2012-11-28/2012-11-28.b2g.crashes.html
Socorro
- https://crash-stats.mozilla.com/products/B2G
- https://wiki.mozilla.org/CrashKill
- https://wiki.mozilla.org/Socorro
System Testing
Mobile OS
- B2G - Firefox OS 18
Mobile Device
Test devices :
- Leo
- Inari
Backup test devices:
- Otoro
- Unagi
Strategy
- Exploratory Manual testing using outline; see Test Outline section
- Regression testing based on Test Cases
- Eventual automation testing
Signoff Criteria
- All tef+ blockers are closed
- All basecamp blockers are closed
- All smoke tests and basic functional tests are ran without finding any basecamp blockers
Test Cases and Results
- Test cases will be tracked in MozTrap under "crash reporting"
Bugs
- bug 761905 - (b2g-crash-reporting) Tracking: Crash reporting for b2g (gonk)
- Implementation Meta Tracker
- bug 833574 - (b2g-frontend-crash-reporting) [Meta] Other Crash Reporting Bugs
- Bugs after implementation Meta Tracker
Test Outline
Note : This test out line is a brain storm of all possible conditions to consider for testing. The scope of the testing will be narrowed from this list based on design information, risks of breakage, etc.
Positive Smoke/Alpha Tests
UI
- General
- FTE Crash settings
- Send
- Don't send
- OS Crash
- Confirm System Crash Message
- Confirm "Always send" is checked by default
- Confirm "Don't Send" is inactive when "Always Send" is checked
- Confirm What's in a Crash Report link
- Subsequent OS crashes
- App Crash
- Confirm System Crash Message
- Confirm "Always send" is checked by default
- Confirm "Don't Send" is inactive when "Always Send" is checked
- Confirm What's in a Crash Report link
- Subsequent App crashes
- Settings - send versus do not send
- Pref on "Never send a report" in the Settings Preferences
- Pref on "Always send a report" in the Settings Preferences
- Pref on "Ask me when a crash occurs" in the Settings Preferences
- Content Crash
- Browser content crash
- FTE Crash settings
- about:Crashes
Functional
- UI Based Functionality
- FTE Crash settings
- Send
- Don't send
- OS Crash
- Confirm System Crash Message
- Confirm "Always send" is checked by default
- Confirm "Don't Send" is inactive when "Always Send" is checked
- Confirm What's in a Crash Report link
- Subsequent OS crashes
- App Crash
- Confirm System Crash Message
- Confirm "Always send" is checked by default
- Confirm "Don't Send" is inactive when "Always Send" is checked
- Confirm What's in a Crash Report link
- Subsequent App crashes
- Settings - send versus do not send
- Pref on "Never send a report" in the Settings Preferences
- Pref on "Always send a report" in the Settings Preferences
- Pref on "Ask me when a crash occurs" in the Settings Preferences
- Content Crash
- Browser content crash
- FTE Crash settings
Beta Conditional
- Virtual Conditions
- Content Conditions
- check Pending/Sent in /data/b2g/mozilla/Crash Reports/
- Physical Conditions
- While Charged
- While not Charged
- Power Consumption
- Performance
- Speed of functions
- Processor utilization
- Memory utilization
- Memory leaks?
- Memory efficiency
- Storage
- Disk
- near full SD card and crash
- full SD card and crash
- Disk
- Boundary testing
- How many submissions can be sent at a time?
- Sending of pending submissions
- Negative (Tests to Break) Tests
- Network Conditions
- WiFi
- Send only through wifi
- Secured Wifi
- WPA
- Portal
- Open Wifi
- Mobile Data
- 3G
- 4G?
- No connections
- WiFi
- Race Conditions
- Battery
- Battery Low
- No Battery
- Calls
- Incoming Phone Call
- Battery
- Device/Platform Specific Issues
- Portrait/Landscape Orientation
- Speaker(sound and crash)
- Phone call and crash
- Localization
- Language/Dialog check
- Date Format (Euro/Japanese/Chinese)
- Time Format (Chinese/Japanese)
- Change of IME on Mobile OS
- Help?
Usability
- Usability
- Accessibility (508 compliance)