Merge ~canonical-kernel-team/+git/autotest-client-tests:phlin/test_parser_testsuite_timeout into ~canonical-kernel-team/+git/autotest-client-tests:master

Proposed by Po-Hsu Lin
Status: Merged
Merge reported by: Po-Hsu Lin
Merged at revision: c941cf51e76328796dc689fa02b13424732f6ad6
Proposed branch: ~canonical-kernel-team/+git/autotest-client-tests:phlin/test_parser_testsuite_timeout
Merge into: ~canonical-kernel-team/+git/autotest-client-tests:master
Diff against target: 16 lines (+4/-1)
1 file modified
ubuntu_qrt_apparmor/control (+4/-1)
Reviewer Review Type Date Requested Status
Francis Ginther Approve
Review via email: mp+465469@code.launchpad.net

Commit message

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

Test shows this ApparmorTestsuites.test_parser_testsuite test will
take about 40 minutes to run on the newly added Xilinx KD240 device
with J-xilinx kernel.

Bump the timeout to 50 minutes to solve this issue.

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 :

Applied and pushed. Thanks!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/ubuntu_qrt_apparmor/control b/ubuntu_qrt_apparmor/control
2index 3f2494f..8046e74 100644
3--- a/ubuntu_qrt_apparmor/control
4+++ b/ubuntu_qrt_apparmor/control
5@@ -27,7 +27,10 @@ if result == 'GOOD':
6 if all_tests[category]:
7 for sub_test in all_tests[category]:
8 test = '{}.{}'.format(category, sub_test)
9- job.run_test_detail(NAME, test_name=test, tag=test, timeout=60*35)
10+ timeout_threshold = 60*35
11+ if test == 'ApparmorTestsuites.test_parser_testsuite':
12+ timeout_threshold = 60*50 # LP:2064586
13+ job.run_test_detail(NAME, test_name=test, tag=test, timeout=timeout_threshold)
14
15 # Extra clean up task for Jammy
16 job.run_test_detail(NAME, test_name='cleanup', tag='cleanup', timeout=60*5)

Subscribers

People subscribed via source and target branches

to all changes: