Merge ~canonical-kernel-team/+git/autotest-client-tests:phlin/blacklist-blktrace-smk-xilinx into ~canonical-kernel-team/+git/autotest-client-tests:master

Proposed by Po-Hsu Lin
Status: Merged
Merged at revision: 097ba4d84296e155b3e7cb1624545e506dbf28bf
Proposed branch: ~canonical-kernel-team/+git/autotest-client-tests:phlin/blacklist-blktrace-smk-xilinx
Merge into: ~canonical-kernel-team/+git/autotest-client-tests:master
Diff against target: 7 lines (+1/-0)
1 file modified
ubuntu_blktrace_smoke_test/blacklist.xilinx (+1/-0)
Reviewer Review Type Date Requested Status
Francis Ginther Approve
Review via email: mp+433501@code.launchpad.net

Commit message

This test requires CONFIG_BLK_DEV_IO_TRACE, which is not enabled on
xilinx kernel.

Use the blacklist.FLAVOUR feature in CKCT to skip this test, avoid
wasting time on our xilinx devices.

The rule is:
  if s.blacklisted(test, s.request['flavour'].split('-')[0]):

As the flavour is xilinx-zynqmp, the filename will be blacklist.xilinx.

Description of the change

Tested on bare-metal jenkins with the dry run flag, this job will be skipped as expected.

$KT/mk-test-jobs testflinger:xilinx /var/lib/jenkins/job-messages/focal--linux-xilinx-zynqmp--xilinx-zynqmp--sru--5.4.0--master.msg --priority=3 --dry-run

https://warthogs.atlassian.net/browse/KERNTT-184

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_blktrace_smoke_test/blacklist.xilinx b/ubuntu_blktrace_smoke_test/blacklist.xilinx
2new file mode 100644
3index 0000000..7fc53ed
4--- /dev/null
5+++ b/ubuntu_blktrace_smoke_test/blacklist.xilinx
6@@ -0,0 +1 @@
7+This test requires CONFIG_BLK_DEV_IO_TRACE, which is not enabled on xilinx kernel.

Subscribers

People subscribed via source and target branches

to all changes: