Merge ~artur-at-work/plainbox-provider-pc-sanity:update-hyperlink-to-s0ix-manual into plainbox-provider-pc-sanity:master

Proposed by Artur Pak
Status: Merged
Approved by: Andy Chi
Approved revision: f4ece8805006f248070372b5db0789f0290702ef
Merged at revision: 6390aa80a800aa1c5028482460c5e475c11dd49d
Proposed branch: ~artur-at-work/plainbox-provider-pc-sanity:update-hyperlink-to-s0ix-manual
Merge into: plainbox-provider-pc-sanity:master
Diff against target: 69 lines (+7/-7)
5 files modified
README.md (+1/-1)
autopkgtest.sh (+1/-1)
bin/autopkgtest-plainbox-provider-pc-sanity-auto (+1/-1)
bin/check-turbostat-power-residency.sh (+3/-3)
units/pc-sanity/pc-sanity-check-devices.pxu (+1/-1)
Reviewer Review Type Date Requested Status
Andy Chi Approve
Dirk Su Approve
Review via email: mp+463901@code.launchpad.net

Commit message

Update the link to linux-s0ix-troubleshooting page (JIRA: OEX86-84)

To post a comment you must log in.
Revision history for this message
OEM Taipei Bot (oem-taipei-bot) wrote :

[autopkgtest]
blame: .
badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.
erroneous package: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.

https://oem-share.canonical.com/partners/lyoncore/share/artifacts/plainbox-provider-pc-sanity/plainbox-provider-pc-sanity-1.0.2-81b14a1-in-linux-container-jammy

Revision history for this message
Dirk Su (dirksu) wrote :

LGTM

review: Approve
Revision history for this message
Andy Chi (andch) wrote :

Can we trigger the test again?

Revision history for this message
Artur Pak (artur-at-work) wrote :

> Can we trigger the test again?

OK, I made changes to second manual's link and uploaded again.

Revision history for this message
OEM Taipei Bot (oem-taipei-bot) wrote :

[autopkgtest]
blame: .
badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.
erroneous package: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.

https://oem-share.canonical.com/partners/lyoncore/share/artifacts/plainbox-provider-pc-sanity/plainbox-provider-pc-sanity-1.0.2-a4c2aa1-in-linux-container-jammy

Revision history for this message
Artur Pak (artur-at-work) wrote (last edit ):

It's probably failing due to outdated ppa for checkbox:
https://launchpad.net/~checkbox-dev/+archive/ubuntu/ppa

I'll try to update to new ppa:
https://launchpad.net/~checkbox-dev/+archive/ubuntu/edge

---error while building:
The following packages have unmet dependencies:
 17s autopkgtest-satdep : Depends: python3-checkbox-ng but it is not installable
 17s Depends: checkbox-provider-certification-client but it is not installable
 17s Depends: checkbox-provider-base but it is not installable
 17s E: Unable to correct problems, you have held broken packages.
 17s autopkgtest: WARNING: Test dependencies are unsatisfiable - calling apt install on test deps directly for further data about failing dependencies in test logs
 17s blame: .
 17s badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.
 17s autopkgtest [10:08:21]: ERROR: erroneous package: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.

Revision history for this message
OEM Taipei Bot (oem-taipei-bot) wrote :

[autopkgtest]
blame: .
badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.
erroneous package: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.

https://oem-share.canonical.com/partners/lyoncore/share/artifacts/plainbox-provider-pc-sanity/plainbox-provider-pc-sanity-1.0.2-b2ebb7c-in-linux-container-jammy

Revision history for this message
Andy Chi (andch) wrote :

Artur,
Is it necessary to use checkbox-dev/edge? Maybe checkbox-dev/beta?

Revision history for this message
OEM Taipei Bot (oem-taipei-bot) wrote :

[autopkgtest]
blame: .
badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.
erroneous package: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.

https://oem-share.canonical.com/partners/lyoncore/share/artifacts/plainbox-provider-pc-sanity/plainbox-provider-pc-sanity-1.0.2-b2ebb7c-in-linux-container-jammy

Revision history for this message
Artur Pak (artur-at-work) wrote :

> Artur,
> Is it necessary to use checkbox-dev/edge? Maybe checkbox-dev/beta?

Thanks, yes, switched to beta instead.

Revision history for this message
OEM Taipei Bot (oem-taipei-bot) wrote :

[autopkgtest]
blame: .
badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.
erroneous package: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.

https://oem-share.canonical.com/partners/lyoncore/share/artifacts/plainbox-provider-pc-sanity/plainbox-provider-pc-sanity-1.0.2-f4ece88-in-linux-container-jammy

Revision history for this message
OEM Taipei Bot (oem-taipei-bot) wrote :

[autopkgtest]
help FAIL badpkg
blame: .
badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.
checkbox-cli-list FAIL badpkg
blame: .
badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.
bootstrap-pc-sanity FAIL badpkg
blame: .
badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.
cvescan FAIL badpkg
blame: .
badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.

https://oem-share.canonical.com/partners/lyoncore/share/artifacts/plainbox-provider-pc-sanity/plainbox-provider-pc-sanity-1.0.2-f4ece88-in-linux-container-jammy

Revision history for this message
Artur Pak (artur-at-work) wrote :

"prepare-checkbox-sanity" is missing in beta channel:
https://launchpad.net/~checkbox-dev/+archive/ubuntu/beta

Revision history for this message
OEM Taipei Bot (oem-taipei-bot) wrote :
Revision history for this message
Artur Pak (artur-at-work) wrote :

Hi Andy,
 Could you help to review please?

 It now can pass the autopkgtest after adding prepare-checkbox-sanity to beta and increasing CI job timeout.

Revision history for this message
Andy Chi (andch) wrote :

LGTM. Thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/README.md b/README.md
2index cf8ac08..df5e0bb 100644
3--- a/README.md
4+++ b/README.md
5@@ -2,7 +2,7 @@
6
7 This provider contains test cases and a test plan for pc sanity testing.
8
9-It depends on packages from ppa:checkbox-dev/ppa in build time.
10+It depends on packages from ppa:checkbox-dev/beta in build time.
11 The launchpad recipe build it daily : https://code.launchpad.net/~oem-solutions-engineers/+recipe/plainbox-provider-pc-sanity-daily-1
12
13 ## Run autopkgtest to check build time and installation time sanity.
14diff --git a/autopkgtest.sh b/autopkgtest.sh
15index 3d8737d..286bee7 100755
16--- a/autopkgtest.sh
17+++ b/autopkgtest.sh
18@@ -3,5 +3,5 @@
19 if [ "build" = "$1" ]; then
20 autopkgtest-build-lxd images:ubuntu/focal/amd64
21 else
22- autopkgtest -U --setup-commands="sudo apt-get install -y wget snapd software-properties-common && add-apt-repository -y -u -s ppa:checkbox-dev/ppa && export DEBIAN_FRONTEND=noninteractive" --shell-fail -- lxd autopkgtest/ubuntu/focal/amd64
23+ autopkgtest -U --setup-commands="sudo apt-get install -y wget snapd software-properties-common && add-apt-repository -y -u -s ppa:checkbox-dev/beta && export DEBIAN_FRONTEND=noninteractive" --shell-fail -- lxd autopkgtest/ubuntu/focal/amd64
24 fi
25diff --git a/bin/autopkgtest-plainbox-provider-pc-sanity-auto b/bin/autopkgtest-plainbox-provider-pc-sanity-auto
26index a7bfb37..4d06369 100755
27--- a/bin/autopkgtest-plainbox-provider-pc-sanity-auto
28+++ b/bin/autopkgtest-plainbox-provider-pc-sanity-auto
29@@ -11,4 +11,4 @@ if ! valid_oem_scripts_config; then
30 exit 1
31 fi
32
33-autopkgtest-collect-credentials ppa:checkbox-dev/ppa "$@"
34+autopkgtest-collect-credentials ppa:checkbox-dev/beta "$@"
35diff --git a/bin/check-turbostat-power-residency.sh b/bin/check-turbostat-power-residency.sh
36index ffdc02b..2d6d7f8 100755
37--- a/bin/check-turbostat-power-residency.sh
38+++ b/bin/check-turbostat-power-residency.sh
39@@ -1,6 +1,6 @@
40 #!/bin/bash
41
42-#refer to https://01.org/blogs/qwang59/2020/linux-s0ix-troubleshooting
43+#refer to https://web.archive.org/web/20230614200306/https://01.org/blogs/qwang59/2020/linux-s0ix-troubleshooting
44 set -e
45 state="pass"
46 command -v turbostat || exit 1
47@@ -100,7 +100,7 @@ if [ "$state" != "pass" ]; then
48 echo "Otherwise, please get PHM report to check which device blocking PC10 or s0ix and open bugs for HWE to check kernel modules"
49 echo ""
50 echo "reference:"
51- echo " - https://01.org/blogs/qwang59/2020/linux-s0ix-troubleshooting"
52- echo " - https://01.org/blogs/qwang59/2018/how-achieve-s0ix-states-linux"
53+ echo " - https://web.archive.org/web/20230614200306/https://01.org/blogs/qwang59/2020/linux-s0ix-troubleshooting"
54+ echo " - https://blog.csdn.net/yuzaipiaofei/article/details/90384456"
55 exit 1
56 fi
57diff --git a/units/pc-sanity/pc-sanity-check-devices.pxu b/units/pc-sanity/pc-sanity-check-devices.pxu
58index c5511f9..ecc2028 100644
59--- a/units/pc-sanity/pc-sanity-check-devices.pxu
60+++ b/units/pc-sanity/pc-sanity-check-devices.pxu
61@@ -78,7 +78,7 @@ command:
62 if [ ! -d /sys/kernel/debug/pmc_core ]; then
63 echo "The system has no /sys/kernel/debug/pmc_core."
64 echo "It is required for doing low power idle analysis."
65- echo "For more detail, please refer to https://01.org/blogs/qwang59/2020/linux-s0ix-troubleshooting"
66+ echo "For more detail, please refer to https://web.archive.org/web/20230614200306/https://01.org/blogs/qwang59/2020/linux-s0ix-troubleshooting"
67 exit 1
68 fi
69 _summary: Check if intel_pmc_core driver is probed

Subscribers

People subscribed via source and target branches