diff options
| author | Danny Hsu <danny.hsu@canonical.com> | 2019-09-05 16:16:02 +0800 |
|---|---|---|
| committer | Danny Hsu <danny.hsu@canonical.com> | 2019-09-05 16:16:02 +0800 |
| commit | f2f68afa39ad1b3b70c430228bca0ebbe27ffa9e (patch) | |
| tree | 4e4aea3e10782bcd3e495c6eeb43ac552289d782 | |
| parent | 89568d0fba02a294a7fcb88f3e01871f4c482ddb (diff) | |
Modify stella-full and stella-regression, Add stella-dock
| -rw-r--r-- | jobs/stella/Enable-Disable-In-Active-For-Stress.txt.in | 28 | ||||
| -rw-r--r-- | jobs/stella/cmit-sourcelist.txt.in | 13 | ||||
| -rw-r--r-- | jobs/stella/cnb-sourcelist.txt.in | 6 | ||||
| -rw-r--r-- | jobs/stella/third-party-addon.txt.in | 60 | ||||
| -rw-r--r-- | jobs/stella/vdt-sourcelist.txt.in | 41 | ||||
| -rw-r--r-- | jobs/stella/vnb-sourcelist.txt.in | 48 | ||||
| -rw-r--r-- | units/stella-dock.pxu | 6 | ||||
| -rw-r--r-- | units/stella-full-18-04.pxu | 80 | ||||
| -rw-r--r-- | units/stella-full.pxu | 16 | ||||
| -rw-r--r-- | units/stella-regression.pxu | 15 |
10 files changed, 30 insertions, 283 deletions
diff --git a/jobs/stella/Enable-Disable-In-Active-For-Stress.txt.in b/jobs/stella/Enable-Disable-In-Active-For-Stress.txt.in deleted file mode 100644 index d998e14..0000000 --- a/jobs/stella/Enable-Disable-In-Active-For-Stress.txt.in +++ /dev/null @@ -1,28 +0,0 @@ -plugin: shell -id: stella/Enable-Disable-In-Active-Sleep-For-Stress/Disable-In-Active-AC -category_id: stella -command: - gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing -_description: To disable In-Active in AC mode - -plugin: shell -id: stella/Enable-Disable-In-Active-Sleep-For-Stress/Disable-In-Active-Battery -category_id: stella -command: - gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type nothing -_description: To disable In-Active in battery mode - -plugin: shell -id: stella/Enable-Disable-In-Active-Sleep-For-Stress/Enable-In-Active-AC -category_id: stella -command: - gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type suspend -_description: To enable In-Active in AC mode - -plugin: shell -id: stella/Enable-Disable-In-Active-Sleep-For-Stress/Enable-In-Active-Battery -category_id: stella -command: - gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type suspend -_description: To enable In-Active in battery mode - diff --git a/jobs/stella/cmit-sourcelist.txt.in b/jobs/stella/cmit-sourcelist.txt.in deleted file mode 100644 index ef86f7d..0000000 --- a/jobs/stella/cmit-sourcelist.txt.in +++ /dev/null @@ -1,13 +0,0 @@ -plugin: shell -id: stella/cmit-sourcelist/oem-trusty-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/trusty-oem.list "deb http://oem.archive.canonical.com/updates/ trusty-oem public" -_description: Check OEM trusty repository - -plugin: shell -id: stella/cmit-sourcelist/datong-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/trusty-stella-datong.list "deb http://hp.archive.canonical.com/updates trusty-stella-datong public" -_description: Check Datong repository diff --git a/jobs/stella/cnb-sourcelist.txt.in b/jobs/stella/cnb-sourcelist.txt.in deleted file mode 100644 index e8d5df9..0000000 --- a/jobs/stella/cnb-sourcelist.txt.in +++ /dev/null @@ -1,6 +0,0 @@ -plugin: shell -id: stella/cnb-sourcelist/ludao-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/trusty-stella-ludao.list "deb http://hp.archive.canonical.com/updates trusty-stella-ludao public" -_description: Check Ludao repository diff --git a/jobs/stella/third-party-addon.txt.in b/jobs/stella/third-party-addon.txt.in deleted file mode 100644 index dcc83cd..0000000 --- a/jobs/stella/third-party-addon.txt.in +++ /dev/null @@ -1,60 +0,0 @@ -plugin: user-interact-verify -id: stella/third-party-addon/Adobe-flash -category_id: stella -command: xdg-open http://www.adobe.com/tw/support/flashplayer/ts/documents/tn_15507.htm -_description: - PURPOSE: - To validate that Adobe Flash plugin is installed by default - STEPS: - Press Test button - VERIFICATION: - The website will let you know that Adobe-flash is intalled or not. - -plugin: manual -id: stella/third-party-addon/Java -category_id: stella -_description: - PURPOSE: - 1. To validate that Java runtime plugin is installed by default - STEPS: - 1. Boot into system - 2. Open a web browser and browse to http://www.java.com/en/download/installed.jsp?detect=jre&try=1 - VERIFICATION: - The page should refresh and display your environment within 10-60 sec. - -plugin: shell -id: stella/third-party-addon/check-mp3-codec-installed -category_id: stella -command: - if [ "`dpkg -L gstreamer0.10-fluendo-mp3 | grep gstreamer0.10-fluendo-mp3`" ]; then echo "gstreamer0.10-fluendo-mp3 is existed"; exit 0; else echo "gstreamer0.10-fluendo-mp3 is not existed"; exit 1; fi -_description: Check fluendo mp3 codec is installed in system - -plugin: user-interact-verify -id: stella/third-party-addon/check-Hanyi-font-installed -category_id: stella -command: - if [ "`dpkg -L ttf-hanyi | grep ttf-hanyi`" ]; then echo "ttf-hanyi is existed"; exit 0; else echo "ttf-hanyi is not existed"; exit 1; fi -_description: - PURPOSE: - Check Hanyi-font is installed in system - STEPS: - 1. Press test button - VERIFICATION: - The verification of this test is automated. Do not change the - automatically selected result. - -plugin: user-interact-verify -id: stella/third-party-addon/Unity-mode-default3d -category_id: stella -command: unity_2d3d_check -_description: - PURPOSE: - 1. Check if default desktop session is set to 3D - STEPS: - 1. Make sure you are logged in to the default desktop session - 2. Press Test button to run 2D/3D check - VERIFICATION: - 1. Output of test result should say user is logged into "ubuntu" session (3D mode) - 2. Output of test result should say session is running in "ubuntu" (3D mode) - 3. Output of test result should say that the expected and actual running session MATCHES - diff --git a/jobs/stella/vdt-sourcelist.txt.in b/jobs/stella/vdt-sourcelist.txt.in deleted file mode 100644 index d4df158..0000000 --- a/jobs/stella/vdt-sourcelist.txt.in +++ /dev/null @@ -1,41 +0,0 @@ -plugin: shell -id: stella/vdt-sourcelist/nagoya-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/precise-stella-nagoya.list "deb http://hp.archive.canonical.com/updates precise-stella-nagoya public" -_description: Check Nagoya repository - -plugin: shell -id: stella/vdt-sourcelist/oem-sp1-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/precise-oem-sp1.list "deb http://oem.archive.canonical.com/updates/ precise-oem-sp1 public" -_description: Check OEM SP1 repository - -plugin: shell -id: stella/vdt-sourcelist/dali-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/precise-stella-dali.list "deb http://hp.archive.canonical.com/updates precise-stella-dali public" -_description: Check Dali repository - -plugin: shell -id: stella/vdt-sourcelist/fuli-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/precise-stella-fuli.list "deb http://hp.archive.canonical.com/updates precise-stella-fuli public" -_description: Check Fuli repository - -plugin: shell -id: stella/vdt-sourcelist/oem-sp2-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/precise-oem-sp2.list "deb http://oem.archive.canonical.com/updates/ precise-oem-sp2 public" -_description: Check OEM SP2 repository - -plugin: shell -id: stella/vdt-sourcelist/jiali-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/precise-stella-jiali.list "deb http://hp.archive.canonical.com/updates precise-stella-jiali public" -_description: Check Jiali repository diff --git a/jobs/stella/vnb-sourcelist.txt.in b/jobs/stella/vnb-sourcelist.txt.in deleted file mode 100644 index fc4648e..0000000 --- a/jobs/stella/vnb-sourcelist.txt.in +++ /dev/null @@ -1,48 +0,0 @@ -plugin: shell -id: stella/vnb-sourcelist/anaheim-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/precise-stella-anaheim.list "deb http://hp.archive.canonical.com/updates precise-stella-anaheim public" -_description: Check Anaheim repository - -plugin: shell -id: stella/vnb-sourcelist/oem-sp1-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/precise-oem-sp1.list "deb http://oem.archive.canonical.com/updates/ precise-oem-sp1 public" -_description: Check OEM SP1 repository - -plugin: shell -id: stella/vnb-sourcelist/puli-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/precise-stella-puli.list "deb http://hp.archive.canonical.com/updates precise-stella-puli public" -_description: Check Puli repository - -plugin: shell -id: stella/vnb-sourcelist/yuli-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/precise-stella-yuli.list "deb http://hp.archive.canonical.com/updates precise-stella-yuli public" -_description: Check Yuli repository - -plugin: shell -id: stella/vnb-sourcelist/yuanli-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/precise-stella-yuanli.list "deb http://hp.archive.canonical.com/updates precise-stella-yuanli public" -_description: Check Yuanli repository - -plugin: shell -id: stella/vnb-sourcelist/oem-sp2-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/precise-oem-sp2.list "deb http://oem.archive.canonical.com/updates/ precise-oem-sp2 public" -_description: Check OEM SP2 repository - -plugin: shell -id: stella/vnb-sourcelist/daan-repository -category_id: stella -command: - sources_test /etc/apt/sources.list.d/precise-stella-daan.list "deb http://hp.archive.canonical.com/updates precise-stella-daan public" -_description: Check Daan repository diff --git a/units/stella-dock.pxu b/units/stella-dock.pxu index 5799136..fc59a5c 100644 --- a/units/stella-dock.pxu +++ b/units/stella-dock.pxu @@ -1,8 +1,8 @@ +# Version: 1.1.0 2019-09-04 id: stella-dock -_name: Stella Docking Tests +_name: Stella Dock Test unit: test plan -_description: This test plan is used to check the docking functionalities and the behaviour of the laptop when docked/undocked. +_description: Stella Dock include: nested_part: oem-generic-docking -exclude: diff --git a/units/stella-full-18-04.pxu b/units/stella-full-18-04.pxu deleted file mode 100644 index 1bf9145..0000000 --- a/units/stella-full-18-04.pxu +++ /dev/null @@ -1,80 +0,0 @@ -# Version: 1.0.0 2019-06-13 -id: stella-full-18-04 -_name: Stella Full 18.04 -unit: test plan -_description: Stella Full 18.04 -include: - com.canonical.certification::recovery_info_attachment - com.canonical.ce::stella/energy-star-compliant-NB/suspend-on-AC-power - com.canonical.ce::stella/energy-star-compliant-NB/suspend-on-battery-power - com.canonical.ce::stella/hp-particular/hp-documents - com.canonical.ce::stella/hp-particular/hp-wallpaper - com.canonical.ce::stella/desktop-kpi-dashboard - com.canonical.ce::stella/sourcelist/.*-repository$ -nested_part: - com.canonical.certification::submission-cert-full - com.canonical.certification::audio-cert-full - com.canonical.certification::bluetooth-cert-full - com.canonical.certification::camera-cert-full - com.canonical.certification::esata-cert-full - com.canonical.certification::firewire-cert-full - com.canonical.certification::thunderbolt-cert-full - com.canonical.certification::monitor-integrated-gpu-cert-full - com.canonical.certification::graphics-integrated-gpu-cert-full - com.canonical.certification::graphics-discrete-gpu-cert-full - com.canonical.certification::monitor-discrete-gpu-cert-full - com.canonical.certification::input-cert-full - com.canonical.certification::disk-cert-manual - com.canonical.certification::keys-cert-full - com.canonical.certification::led-cert-full - com.canonical.certification::mediacard-cert-full - com.canonical.certification::mobilebroadband-cert-full - com.canonical.certification::networking-cert-full - com.canonical.certification::optical-cert-full - com.canonical.certification::power-management-precheck-cert - com.canonical.certification::touchpad-cert-full - com.canonical.certification::touchscreen-cert-full - com.canonical.certification::usb-cert-full - com.canonical.certification::usb3-cert-full - com.canonical.certification::usb-c-cert-full - com.canonical.certification::wireless-cert-full - com.canonical.certification::before-suspend-reference-cert-full - # Test discrete card first, if present, since it's the one we will be using - # after coming back from suspend if the system has hybrid graphics. - com.canonical.certification::after-suspend-graphics-discrete-gpu-cert-full - # com.canonical.certification::after-suspend-monitor-discrete-gpu-cert-full - # Now we ask to switch to the integrated graphics card. This requires a - # restart of checkbox. - com.canonical.certification::after-suspend-graphics-integrated-gpu-cert-full - com.canonical.certification::after-suspend-monitor-integrated-gpu-cert-full - com.canonical.certification::suspend-key-led-oops-check-cert - com.canonical.certification::after-suspend-reference-cert-full - com.canonical.certification::after-suspend-audio-cert-full - com.canonical.certification::after-suspend-camera-cert-full - com.canonical.certification::after-suspend-input-cert-full - com.canonical.certification::after-suspend-led-cert-full - com.canonical.certification::after-suspend-mediacard-cert-full - com.canonical.certification::after-suspend-touchpad-cert-full - com.canonical.certification::after-suspend-usb-cert-full - com.canonical.certification::after-suspend-usb3-cert-full - com.canonical.certification::after-suspend-usb-c-cert-full - com.canonical.certification::after-suspend-wireless-cert-full - com.canonical.certification::after-suspend-keys-cert-full - # The following tests should run BEFORE the automated tests. The reboot and - # power off tests will also give us a clean system to start the stress run - # with. - com.canonical.certification::power-management-reboot-poweroff-cert - # Automated Tests - # The following tests are purely automated and/or lenghty stress tests. - # They have been moved to the end of the test run to improve the testing - # process. - com.canonical.certification::stress-suspend-30-cycles-with-reboots-automated - com.canonical.certification::stress-ng-cert-automated - com.canonical.certification::stress-30-reboot-poweroff-automated - com.canonical.certification::misc-client-cert-full - com.canonical.certification::cpu-cert-full - com.canonical.certification::disk-cert-automated - com.canonical.certification::tpm2.0_3.0.4 - com.canonical.certification::info-attachment-cert-full -mandatory_include: - com.canonical.certification::miscellanea/tester-info diff --git a/units/stella-full.pxu b/units/stella-full.pxu new file mode 100644 index 0000000..cdbd156 --- /dev/null +++ b/units/stella-full.pxu @@ -0,0 +1,16 @@ +# Version: 1.1.0 2019-09-04 +id: stella-full +_name: Stella Full Test +unit: test plan +_description: Stella Full +include: + com.canonical.certification::recovery_info_attachment + com.canonical.ce::stella/energy-star-compliant-NB/suspend-on-AC-power + com.canonical.ce::stella/energy-star-compliant-NB/suspend-on-battery-power + com.canonical.ce::stella/hp-particular/hp-documents + com.canonical.ce::stella/hp-particular/hp-wallpaper + com.canonical.ce::stella/hotkeys/help + com.canonical.ce::stella/desktop-kpi-dashboard + com.canonical.ce::stella/sourcelist/.*-repository$ +nested_part: + oem-generic-full diff --git a/units/stella-regression.pxu b/units/stella-regression.pxu index cc8c08f..b92d85e 100644 --- a/units/stella-regression.pxu +++ b/units/stella-regression.pxu @@ -1,10 +1,17 @@ +# Version: 1.1.0 2019-09-04 id: stella-regression -_name: Stella Regression Tests +_name: Stella Regression Test unit: test plan -_description: This test plan is based on the SRU whitelist and targeted at testing Stella images and devices to find potential regressions. +_description: Stella Regression include: + com.canonical.certification::recovery_info_attachment + com.canonical.ce::stella/energy-star-compliant-NB/suspend-on-AC-power + com.canonical.ce::stella/energy-star-compliant-NB/suspend-on-battery-power + com.canonical.ce::stella/hp-particular/hp-documents + com.canonical.ce::stella/hp-particular/hp-wallpaper + com.canonical.ce::stella/hotkeys/help com.canonical.ce::stella/desktop-kpi-dashboard -mandatory_include: + com.canonical.ce::stella/sourcelist/.*-repository$ nested_part: - oem-generic-regression + oem-generic-blocker |
