Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2025 14:24:40 +0000
From:      "Sankar Raj, HareshX" <hareshx.sankar.raj@intel.com>
To:        "FreeBSD-testing@FreeBSD.org" <FreeBSD-testing@FreeBSD.org>
Subject:   Reg: sys/geom/class/eli/misc_test:preserve_disk_props skipped
Message-ID:  <PH7PR11MB75715982B8DE683D0617585FCFB22@PH7PR11MB7571.namprd11.prod.outlook.com>
In-Reply-To: <PH7PR11MB7571683BCE4DDFC3F0801684CFB22@PH7PR11MB7571.namprd11.prod.outlook.com>
References:  <PH7PR11MB7571683BCE4DDFC3F0801684CFB22@PH7PR11MB7571.namprd11.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi All,

We are from Intel - and we are trying to run the kyua framework tests with both software crypto acceleration providers and also Intel QAT HW.
We want a clarification on the kyua tests - sys/geom/class/eli/misc_test: preserve_disk_props  which is by default skipped and requires configuration property 'disks'.
We are not sure of how to set this property and get this test unskipped. Could someone please guide us in this regard?

Steps to reproduce the skipped behavior:

cd /usr/tests
kyua test sys/geom/class/eli/misc_test
sys/geom/class/eli/misc_test:physpath  ->  passed  [0.070s]
sys/geom/class/eli/misc_test:preserve_disk_props  ->  skipped: Required configuration property 'disks' not defined  [0.001s]
sys/geom/class/eli/misc_test:preserve_props  ->  passed  [0.040s]
sys/geom/class/eli/misc_test:unaligned_io  ->  passed  [2.935s]

Results file id is usr_tests.20250403-124541-697370
Results saved to /root/.kyua/store/results.usr_tests.20250403-124541-697370.db

3/4 passed (0 broken, 0 failed, 1 skipped)

Below log is from kyua report of the whole test list sys/geom/class/eli/:

kyua report --results-filter  skipped --results-file /usr/tests --verbose
===> Execution context
Current directory: /usr/tests
Environment variables:
    BLOCKSIZE=K
    ENV=/root/.shrc
    HOME=/root
    LANG=C.UTF-8
    LOGNAME=root
    MAIL=/var/mail/root
    MM_CHARSET=UTF-8
    OLDPWD=/root/kyua_executor
    PAGER=less
    PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
    PWD=/usr/tests
    SHELL=/bin/sh
    SSH_CLIENT=10.94.154.238 62938 22
    SSH_CONNECTION=10.94.154.238 62938 10.237.214.23 22
    SSH_TTY=/dev/pts/0
    TERM=xterm
    USER=root
===> sys/geom/class/eli/misc_test:preserve_disk_props
Result:     skipped: Required configuration property 'disks' not defined
Start time: 2025-02-15T06:08:08.886500Z
End time:   2025-02-15T06:08:08.887832Z
Duration:   0.001s
Metadata:
    allowed_architectures is empty
    allowed_platforms is empty
    description = geli should preserve properties for disks
    has_cleanup = true
    is_exclusive = false
    required_configs = disks
    required_disk_space = 0
    required_files is empty
    required_memory = 0
    required_programs is empty
    required_user = root
    timeout = 15
===> Skipped tests
sys/geom/class/eli/misc_test:preserve_disk_props  ->  skipped: Required configuration property 'disks' not defined  [0.001s]
===> Summary
Results read from /root/.kyua/store/results.usr_tests.20250215-060555-627469.db
Test cases: 37 total, 1 skipped, 0 expected failures, 1 broken, 0 failed
Start time: 2025-02-15T06:05:55.728318Z
End time:   2025-02-15T06:09:23.253538Z
Total time: 206.250s

We tried to create virtual disks using dd command and gave the property in the kyua.conf file as below:
cat /etc/kyua.conf
[eli]
disks = ["/dev/md0", "/dev/md1", "/dev/md2"]


We also tried to export DISKS parameter like below.

export DISKS="/dev/md0"

Example:

Creating a dummy disk for the test:

dd if=/dev/zero of=/tmp/dummy_disk.img bs=1M count=10
mdconfig -a -t vnode -f /tmp/dummy_disk.img -u 0

Setting disks property and running test:
export DISKS="/dev/md0" or Having disks set in kyua.conf
kyua test sys/geom/class/eli/misc_test

Cleanup:

mdconfig -d -u 0



We still got the tests to skipped. Could you please help in guiding us to run the tests without skipping them.
Any required documentation on the same would be helpful. Thanks in advance.

Kind Regards,
Haresh
--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.

[-- Attachment #2 --]
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">;
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Aptos",sans-serif;
	mso-ligatures:standardcontextual;
	mso-fareast-language:EN-US;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Aptos",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	mso-ligatures:none;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">We are from Intel &#8211; and we are trying to run the kyua framework tests with both software crypto acceleration providers and also Intel QAT HW.<o:p></o:p></p>
<p class="MsoNormal">We want a clarification on the kyua tests - sys/geom/class/eli/misc_test: preserve_disk_props&nbsp; which is by default skipped and requires configuration property 'disks'.<o:p></o:p></p>
<p class="MsoNormal">We are not sure of how to set this property and get this test unskipped. Could someone please guide us in this regard?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b>Steps to reproduce the skipped behavior:<o:p></o:p></b></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span lang="EN-US">cd /usr/tests</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">kyua test sys/geom/class/eli/misc_test<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">sys/geom/class/eli/misc_test:physpath&nbsp; -&gt;&nbsp; passed&nbsp; [0.070s]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="background:yellow;mso-highlight:yellow">sys/geom/class/eli/misc_test:preserve_disk_props&nbsp; -&gt;&nbsp; skipped: Required configuration property 'disks' not defined&nbsp; [0.001s]</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">sys/geom/class/eli/misc_test:preserve_props&nbsp; -&gt;&nbsp; passed&nbsp; [0.040s]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">sys/geom/class/eli/misc_test:unaligned_io&nbsp; -&gt;&nbsp; passed&nbsp; [2.935s]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Results file id is usr_tests.20250403-124541-697370<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Results saved to /root/.kyua/store/results.usr_tests.20250403-124541-697370.db<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">3/4 passed (0 broken, 0 failed, 1 skipped)<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Below log is from kyua report of the whole test list sys/geom/class/eli/:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b>kyua report --results-filter &nbsp;skipped --results-file /usr/tests --verbose</b><br>
===&gt; Execution context<br>
Current directory: /usr/tests<br>
Environment variables:<br>
&nbsp; &nbsp; BLOCKSIZE=K<br>
&nbsp; &nbsp; ENV=/root/.shrc<br>
&nbsp; &nbsp; HOME=/root<br>
&nbsp; &nbsp; LANG=C.UTF-8<br>
&nbsp; &nbsp; LOGNAME=root<br>
&nbsp; &nbsp; MAIL=/var/mail/root<br>
&nbsp; &nbsp; MM_CHARSET=UTF-8<br>
&nbsp; &nbsp; OLDPWD=/root/kyua_executor<br>
&nbsp; &nbsp; PAGER=less<br>
&nbsp; &nbsp; PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin<br>
&nbsp; &nbsp; PWD=/usr/tests<br>
&nbsp; &nbsp; SHELL=/bin/sh<br>
&nbsp; &nbsp; SSH_CLIENT=10.94.154.238 62938 22<br>
&nbsp; &nbsp; SSH_CONNECTION=10.94.154.238 62938 10.237.214.23 22<br>
&nbsp; &nbsp; SSH_TTY=/dev/pts/0<br>
&nbsp; &nbsp; TERM=xterm<br>
&nbsp; &nbsp; USER=root<br>
===&gt; sys/geom/class/eli/misc_test:preserve_disk_props<br>
Result: &nbsp; &nbsp; skipped: Required configuration property 'disks' not defined<br>
Start time: 2025-02-15T06:08:08.886500Z<br>
End time: &nbsp; 2025-02-15T06:08:08.887832Z<br>
Duration: &nbsp; 0.001s<o:p></o:p></p>
<p class="MsoNormal">Metadata:<br>
&nbsp; &nbsp; allowed_architectures is empty<br>
&nbsp; &nbsp; allowed_platforms is empty<br>
&nbsp; &nbsp; description = geli should preserve properties for disks<br>
&nbsp; &nbsp; has_cleanup = true<br>
&nbsp; &nbsp; is_exclusive = false<br>
&nbsp; &nbsp; required_configs = disks<br>
&nbsp; &nbsp; required_disk_space = 0<br>
&nbsp; &nbsp; required_files is empty<br>
&nbsp; &nbsp; required_memory = 0<br>
&nbsp; &nbsp; required_programs is empty<br>
&nbsp; &nbsp; required_user = root<br>
&nbsp; &nbsp; timeout = 15<br>
===&gt; Skipped tests<br>
<span style="background:yellow;mso-highlight:yellow">sys/geom/class/eli/misc_test:preserve_disk_props &nbsp;-&gt; &nbsp;skipped: Required configuration property 'disks' not defined &nbsp;[0.001s]</span><br>
===&gt; Summary<br>
Results read from /root/.kyua/store/results.usr_tests.20250215-060555-627469.db<br>
Test cases: 37 total, 1 skipped, 0 expected failures, 1 broken, 0 failed<br>
Start time: 2025-02-15T06:05:55.728318Z<br>
End time: &nbsp; 2025-02-15T06:09:23.253538Z<br>
Total time: 206.250s<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">We tried to create virtual disks using dd command and gave the property in the kyua.conf file as below:<o:p></o:p></p>
<p class="MsoNormal">cat /etc/kyua.conf<br>
[eli]<br>
disks = [&quot;/dev/md0&quot;, &quot;/dev/md1&quot;, &quot;/dev/md2&quot;]<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">We also tried to export DISKS parameter like below.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">export DISKS=&quot;/dev/md0&quot;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b>Example:<o:p></o:p></b></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td width="623" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal"><b>Creating a dummy disk for the test:</b><o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">dd if=/dev/zero of=/tmp/dummy_disk.img bs=1M count=10<o:p></o:p></p>
<p class="MsoNormal">mdconfig -a -t vnode -f /tmp/dummy_disk.img -u 0<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal"><b>Setting disks property and running test:</b><o:p></o:p></p>
<p class="MsoNormal">export DISKS=&quot;/dev/md0&quot; or Having disks set in kyua.conf<o:p></o:p></p>
<p class="MsoNormal">kyua test sys/geom/class/eli/<span lang="EN-US">misc_test</span><o:p></o:p></p>
<p class="MsoNormal"><br>
<b>Cleanup:</b><o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">mdconfig -d -u 0&nbsp;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">We still got the tests to skipped. <b>Could you please help in guiding us to run the tests without skipping them.<o:p></o:p></b></p>
<p class="MsoNormal">Any required documentation on the same would be helpful. Thanks in advance.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Kind Regards,<o:p></o:p></p>
<p class="MsoNormal">Haresh<o:p></o:p></p>
</div>
<p>--------------------------------------------------------------<br>
Intel Research and Development Ireland Limited<br>
Registered in Ireland<br>
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare<br>
Registered Number: 308263</p>


<p>This e-mail and any attachments may contain confidential material for the
sole use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.</p>

<p></p>
</body>
</html>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?PH7PR11MB75715982B8DE683D0617585FCFB22>