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
diff --git a/ubuntu_qrt_apparmor/control b/ubuntu_qrt_apparmor/control
index 3f2494f..8046e74 100644
--- a/ubuntu_qrt_apparmor/control
+++ b/ubuntu_qrt_apparmor/control
@@ -27,7 +27,10 @@ if result == 'GOOD':
27 if all_tests[category]:27 if all_tests[category]:
28 for sub_test in all_tests[category]:28 for sub_test in all_tests[category]:
29 test = '{}.{}'.format(category, sub_test)29 test = '{}.{}'.format(category, sub_test)
30 job.run_test_detail(NAME, test_name=test, tag=test, timeout=60*35)30 timeout_threshold = 60*35
31 if test == 'ApparmorTestsuites.test_parser_testsuite':
32 timeout_threshold = 60*50 # LP:2064586
33 job.run_test_detail(NAME, test_name=test, tag=test, timeout=timeout_threshold)
3134
32 # Extra clean up task for Jammy35 # Extra clean up task for Jammy
33 job.run_test_detail(NAME, test_name='cleanup', tag='cleanup', timeout=60*5)36 job.run_test_detail(NAME, test_name='cleanup', tag='cleanup', timeout=60*5)

Subscribers

People subscribed via source and target branches

to all changes: