Merge ~canonical-kernel-team/+git/autotest-client-tests:jianhuilee/mtk-lp2059103 into ~canonical-kernel-team/+git/autotest-client-tests:master

Proposed by Jian Hui Lee
Status: Merged
Merge reported by: Po-Hsu Lin
Merged at revision: 864fab46f8f1f6bb7a1aed3023270cd86121f6ad
Proposed branch: ~canonical-kernel-team/+git/autotest-client-tests:jianhuilee/mtk-lp2059103
Merge into: ~canonical-kernel-team/+git/autotest-client-tests:master
Diff against target: 22 lines (+4/-0)
1 file modified
ubuntu_ltp/ubuntu_ltp.py (+4/-0)
Reviewer Review Type Date Requested Status
Po-Hsu Lin Approve
Francis Ginther Approve
Review via email: mp+463124@code.launchpad.net

Commit message

UBUNTU: SAUCE: ubuntu_ltp: skip read_all_sys testing on linux-mtk kernel

BugLink: https://bugs.launchpad.net/bugs/2059103

temporarily skip read_all_sys test on mediatek platform, to allow the affected test cases reset and meet the schedule. we will fix the apusys driver in the following sru cycle.

To post a comment you must log in.
Revision history for this message
Francis Ginther (fginther) wrote :

+1

review: Approve
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Proven to be working. +1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/ubuntu_ltp/ubuntu_ltp.py b/ubuntu_ltp/ubuntu_ltp.py
2index 5db9c06..d936f78 100644
3--- a/ubuntu_ltp/ubuntu_ltp.py
4+++ b/ubuntu_ltp/ubuntu_ltp.py
5@@ -6,6 +6,7 @@ import platform
6 import re
7 import shutil
8 from autotest.client import test, utils
9+from autotest.client.shared import error
10
11 class ubuntu_ltp(test.test):
12 version = 1
13@@ -127,6 +128,9 @@ class ubuntu_ltp(test.test):
14 print("Setting LTP_TIMEOUT_MUL={} for read_all_sys".format(LTP_TIMEOUT_MUL))
15 os.environ["LTP_TIMEOUT_MUL"] = LTP_TIMEOUT_MUL
16
17+ if test_case == 'read_all_sys' and os.uname()[1] == 'mtk-genio':
18+ raise error.TestFail('Test marked as failed for mtk due to cause apusys driver error (LP: #2059103)')
19+
20 cmd = '/opt/ltp/runltp -f /tmp/target -q -C /dev/null -l /dev/null -T /dev/null'
21 print(utils.system_output(cmd, verbose=False))
22 # /dev/loop# creation will be taken care by the runltp

Subscribers

People subscribed via source and target branches

to all changes: