Merge ~alextu/plainbox-provider-pc-sanity:pc10-s2i into plainbox-provider-pc-sanity:master
Proposed by
Alex Tu
Status: | Merged |
---|---|
Merged at revision: | bb4d3e8b85045e97e7bc7e1fd063994201e8cd38 |
Proposed branch: | ~alextu/plainbox-provider-pc-sanity:pc10-s2i |
Merge into: | plainbox-provider-pc-sanity:master |
Diff against target: |
149 lines (+113/-0) 4 files modified
debian/changelog (+2/-0) usr/sbin/check-turbostat-power-residency.sh (+95/-0) usr/share/plainbox-provider-checkbox/units/pc-sanity/pc-sanity-power-consumption.pxu (+15/-0) usr/share/plainbox-provider-checkbox/units/pc-sanity/pc-sanity-smoke-test.pxu (+1/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Kai-Chuan Hsieh | Approve | ||
Shih-Yuan Lee | Pending | ||
Yuan-Chen Cheng | Pending | ||
Rex Tsai | Pending | ||
OEM Solutions Group: Engineers | Pending | ||
Review via email: mp+390080@code.launchpad.net |
Commit message
check expected power residency during s2i e.g. cpu pkg c10, s0ix, gfxrc6..etc
this test case refer to Intel document : https:/
To post a comment you must log in.
Seems have error while grep the file:
u@u-Latitude: /usr/share/ plainbox- provider- checkbox/ units/pc- sanity$ checkbox-cli run com.canonical. certification: :miscellanea/ turbostate- s2i-power- residency ======= ======= ======[ Running Selected Jobs ]====== ======= ======= ======= = certification: :miscellanea/ turbostate- s2i-power- residency plainbox: :miscellanea ------- ------- ------- ------- ------- ------- ------- ------- ------- --- -power- residency. sh --s2i turbostat. log: No such file or directory ------- ------- ------- ------- ------- ------- ------- ------- ------- --- >8 --- run-2020- 09-02T08. 57.57 ======= ======= ======= ======[ Results ]====== ======= ======= ======= ======= =
=======
--------------[ Running job 1 / 1. Estimated time left: unknown ]---------------
[ check if target machine can get expected power residency on e.g. cpu pkg c10, s0ix, gfxrc6..etc ]
ID: com.canonical.
Category: com.canonical.
... 8< -------
+ check-turbostat
/usr/bin/turbostat
[INFO] getting turbostat log. Please wait for 60s
rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "freeze" using /dev/rtc0 at Wed Sep 2 08:58:59 2020
grep: /tmp/s2i-
(standard_in) 2: syntax error
[INFO] checking s0ix : %
(standard_in) 1: syntax error
Failed avg s0ix : NOT > 70
(standard_in) 2: syntax error
[INFO] checking gfxrc6 : %
(standard_in) 1: syntax error
Failed avg gfxrc6 : NOT > 50
(standard_in) 2: syntax error
[INFO] checking pkg_pc10 : %
(standard_in) 1: syntax error
Failed avg pkg_pc10 : NOT > 80
-------
Outcome: job failed
Finalizing session that hasn't been submitted anywhere: checkbox-
=======
☒ : check if target machine can get expected power residency on e.g. cpu pkg c10, s0ix, gfxrc6..etc