From nobody Tue Apr 15 14:31:51 2025 X-Original-To: freebsd-testing@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZcRSQ6bWCz5tFW2 for ; Tue, 15 Apr 2025 14:32:06 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZcRSQ2QCfz3LZK for ; Tue, 15 Apr 2025 14:32:06 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-5e6167d0536so10379917a12.1 for ; Tue, 15 Apr 2025 07:32:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744727524; x=1745332324; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2kRD4pO/K1Lxi6gMOorGpZl8Vdof45Ud8nww0g7VerY=; b=m/vKQs0Qr9Maty43aSnybAKbj8DgZtcjP48VOJ4vrnDrJkF3Wk1Fo9lJaoSSUkVGHI nAw92LxkTv7rY5ldQE+1ST8BMAUIF4916kZClf3AmL0ihynY5UTujIW2mSF9+eNeKQaS /cEmgR3qBYwajCcU3jhaMNjFx4LsiAwFrMuqPtrE0XhpUUcjA6xizEXH7tuAADTCTZbq EgBEDuK/IXM5tfFU1iQJj8vzy9PwWer2VsmWZ64eR/6ykD64ZnBi2L6WPygZuDob0Tud 3EPPsS29J96KPPx15blL3hLw2CpQ4pObZHKZ6lREmFtlzsDL854BnC+ulWrdeP6GsJeX e4Hg== X-Gm-Message-State: AOJu0YxHT4QaajdD3UD/YCrh99eWbX51MGQKUKzb+tR+Cde1bo5M2nTb 9P8uZqvkW6hgLuGroJyaO69Zzpsjk0un8UXZn1XF0KqII+QS4zE2gFxJcP1sXRx3nx9xFK6a5vy 3AlD4MiKL7f5/VGq0ba20GmVhkgY= X-Gm-Gg: ASbGncsLZDjyntIvQxpbc9de5V58BZhJtjOqx/eqth8KjIL11rMnW4c8oDPCs+CXph3 i5zKQDgMPuLxNNUC4EOfC/gmNEN7EgRsvbq8YhCDfDXOW7uzl+lZDlBA1P43sRcdyymJQl7XVzm /K8caL0Q3ElZ+eJvK/rdv6Tw== X-Google-Smtp-Source: AGHT+IGezjDaq6SSOqETH0zcPgTLS7fs058Iu9aIvSYy+Znqxx954PetqqZbTcIf/8Aa1g/ihAh55Rculp0CNc7qcro= X-Received: by 2002:a05:6402:210b:b0:5e7:8efa:ba13 with SMTP id 4fb4d7f45d1cf-5f36f780b3cmr14772691a12.7.1744727524216; Tue, 15 Apr 2025 07:32:04 -0700 (PDT) List-Id: Testing List-Archive: https://lists.freebsd.org/archives/freebsd-testing List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-testing@freebsd.org Sender: owner-freebsd-testing@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Tue, 15 Apr 2025 08:31:51 -0600 X-Gm-Features: ATxdqUGA-7KjItIbu8csF4Z4wRo_wG7fv8pDFrb2eTSqLpznm_Tr4-CkubjC5Ng Message-ID: Subject: Re: Reg: sys/geom/class/eli/misc_test:preserve_disk_props skipped To: "Sankar Raj, HareshX" Cc: "FreeBSD-testing@FreeBSD.org" Content-Type: multipart/alternative; boundary="0000000000004fa0ae0632d208a0" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4ZcRSQ2QCfz3LZK X-Spamd-Bar: ---- --0000000000004fa0ae0632d208a0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 15, 2025 at 8:24=E2=80=AFAM Sankar Raj, HareshX < hareshx.sankar.raj@intel.com> wrote: > Hi All, > > > > We are from Intel =E2=80=93 and we are trying to run the kyua framework t= ests 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 configurati= on > 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 --verbos= e* > =3D=3D=3D> Execution context > Current directory: /usr/tests > Environment variables: > BLOCKSIZE=3DK > ENV=3D/root/.shrc > HOME=3D/root > LANG=3DC.UTF-8 > LOGNAME=3Droot > MAIL=3D/var/mail/root > MM_CHARSET=3DUTF-8 > OLDPWD=3D/root/kyua_executor > PAGER=3Dless > > PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root= /bin > PWD=3D/usr/tests > SHELL=3D/bin/sh > SSH_CLIENT=3D10.94.154.238 62938 22 > SSH_CONNECTION=3D10.94.154.238 62938 10.237.214.23 22 > SSH_TTY=3D/dev/pts/0 > TERM=3Dxterm > USER=3Droot > =3D=3D=3D> 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 =3D geli should preserve properties for disks > has_cleanup =3D true > is_exclusive =3D false > required_configs =3D disks > required_disk_space =3D 0 > required_files is empty > required_memory =3D 0 > required_programs is empty > required_user =3D root > timeout =3D 15 > =3D=3D=3D> Skipped tests > sys/geom/class/eli/misc_test:preserve_disk_props -> skipped: Required > configuration property 'disks' not defined [0.001s] > =3D=3D=3D> 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 i= n > the kyua.conf file as below: > > cat /etc/kyua.conf > [eli] > disks =3D ["/dev/md0", "/dev/md1", "/dev/md2"] > > > > > > We also tried to export DISKS parameter like below. > > > > export DISKS=3D"/dev/md0" > > > > *Example:* > > > > *Creating a dummy disk for the test:* > > > > dd if=3D/dev/zero of=3D/tmp/dummy_disk.img bs=3D1M count=3D10 > > mdconfig -a -t vnode -f /tmp/dummy_disk.img -u 0 > > > > *Setting disks property and running test:* > > export DISKS=3D"/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 advanc= e. > > > > Kind Regards, > > Haresh > Hi, Haresh! In order to run that test, you need to have some actual disks to devote to the test. Their data will not be preserved. I'm not sure if md devices count; they might. But once you choose which disks to use, you need to configure them in /etc/kyua/kyua.conf, like this, for example. Most such tests only need one disk, but a few need more than one. test_suites.FreeBSD.disks =3D '/dev/vtbd1 /dev/vtbd2 /dev/vtbd3 /dev/vtbd4 /dev/vtbd5' --0000000000004fa0ae0632d208a0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Apr 15, 2025 at 8:24=E2=80=AFAM Sanka= r Raj, HareshX <hareshx.= sankar.raj@intel.com> wrote:

Hi All,

=C2=A0

We are from Intel =E2=80=93 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=C2=A0 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?

=C2=A0

Steps to reproduce the skipped behavior:

=C2=A0

cd /usr/tests<= /u>

kyua test sys/geom/class/eli/mi= sc_test

sys/geom/class/eli/misc_test:ph= yspath=C2=A0 ->=C2=A0 passed=C2=A0 [0.070s]

sys= /geom/class/eli/misc_test:preserve_disk_props=C2=A0 ->=C2=A0 skipped: Re= quired configuration property 'disks' not defined=C2=A0 [0.001s]

sys/geom/class/eli/misc_test:pr= eserve_props=C2=A0 ->=C2=A0 passed=C2=A0 [0.040s]

sys/geom/class/eli/misc_test:un= aligned_io=C2=A0 ->=C2=A0 passed=C2=A0 [2.935s]

=C2=A0

Results file id is usr_tests.20= 250403-124541-697370

Results saved to /root/.kyua/st= ore/results.usr_tests.20250403-124541-697370.db

=C2=A0

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

=C2=A0

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

=C2=A0

kyua report --results-filter =C2=A0skipped --resu= lts-file /usr/tests --verbose
=3D=3D=3D> Execution context
Current directory: /usr/tests
Environment variables:
=C2=A0 =C2=A0 BLOCKSIZE=3DK
=C2=A0 =C2=A0 ENV=3D/root/.shrc
=C2=A0 =C2=A0 HOME=3D/root
=C2=A0 =C2=A0 LANG=3DC.UTF-8
=C2=A0 =C2=A0 LOGNAME=3Droot
=C2=A0 =C2=A0 MAIL=3D/var/mail/root
=C2=A0 =C2=A0 MM_CHARSET=3DUTF-8
=C2=A0 =C2=A0 OLDPWD=3D/root/kyua_executor
=C2=A0 =C2=A0 PAGER=3Dless
=C2=A0 =C2=A0 PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/loc= al/bin:/root/bin
=C2=A0 =C2=A0 PWD=3D/usr/tests
=C2=A0 =C2=A0 SHELL=3D/bin/sh
=C2=A0 =C2=A0 SSH_CLIENT=3D10.94.154.238 62938 22
=C2=A0 =C2=A0 SSH_CONNECTION=3D10.94.154.238 62938 10.237.214.23 22
=C2=A0 =C2=A0 SSH_TTY=3D/dev/pts/0
=C2=A0 =C2=A0 TERM=3Dxterm
=C2=A0 =C2=A0 USER=3Droot
=3D=3D=3D> sys/geom/class/eli/misc_test:preserve_disk_props
Result: =C2=A0 =C2=A0 skipped: Required configuration property 'disks&#= 39; not defined
Start time: 2025-02-15T06:08:08.886500Z
End time: =C2=A0 2025-02-15T06:08:08.887832Z
Duration: =C2=A0 0.001s

Metadata:
=C2=A0 =C2=A0 allowed_architectures is empty
=C2=A0 =C2=A0 allowed_platforms is empty
=C2=A0 =C2=A0 description =3D geli should preserve properties for disks
=C2=A0 =C2=A0 has_cleanup =3D true
=C2=A0 =C2=A0 is_exclusive =3D false
=C2=A0 =C2=A0 required_configs =3D disks
=C2=A0 =C2=A0 required_disk_space =3D 0
=C2=A0 =C2=A0 required_files is empty
=C2=A0 =C2=A0 required_memory =3D 0
=C2=A0 =C2=A0 required_programs is empty
=C2=A0 =C2=A0 required_user =3D root
=C2=A0 =C2=A0 timeout =3D 15
=3D=3D=3D> Skipped tests
sys/geom/class/eli/misc_test:preserve_dis= k_props =C2=A0-> =C2=A0skipped: Required configuration property 'dis= ks' not defined =C2=A0[0.001s]
=3D=3D=3D> Summary
Results read from /root/.kyua/store/results.usr_tests.20250215-060555-62746= 9.db
Test cases: 37 total, 1 skipped, 0 expected failures, 1 broken, 0 failed Start time: 2025-02-15T06:05:55.728318Z
End time: =C2=A0 2025-02-15T06:09:23.253538Z
Total time: 206.250s

=C2=A0

We tried to create virtual disks using dd command an= d gave the property in the kyua.conf file as below:

cat /etc/kyua.conf
[eli]
disks =3D ["/dev/md0", "/dev/md1", "/dev/md2"= ]

=C2=A0

=C2=A0

We also tried to export DISKS parameter like below.<= u>

=C2=A0

export DISKS=3D"/dev/md0"

=C2=A0

Example:

=C2=A0

Creating a dummy disk for the test:=

=C2=A0

dd if=3D/dev/zero of=3D/tmp/dummy_disk.img bs=3D1M c= ount=3D10

mdconfig -a -t vnode -f /tmp/dummy_disk.img -u 0<= /u>

=C2=A0

Setting disks property and running test:

export DISKS=3D"/dev/md0" or Having disks = set in kyua.conf

kyua test sys/geom/class/eli/mi= sc_test


Cleanup:

=C2=A0

mdconfig -d -u 0=C2=A0

=C2=A0

=C2=A0

=C2=A0

We still got the tests to skipped. Could you plea= se help in guiding us to run the tests without skipping them.=

Any required documentation on the same would be help= ful. Thanks in advance.

=C2=A0

Kind Regards,

Haresh


Hi, Haresh!
In order to run that test, you need to have some actual disks = to devote to the test.=C2=A0 Their data will not be preserved.=C2=A0 I'= m not sure if md devices count; they might.=C2=A0 But once you choose which= disks to use, you need to configure them in /etc/kyua/kyua.conf, like this= , for example.=C2=A0 Most such tests only need one disk, but a few need mor= e than one.

test_suites.FreeBSD.disks =3D '/de= v/vtbd1 /dev/vtbd2 /dev/vtbd3 /dev/vtbd4 /dev/vtbd5'
--0000000000004fa0ae0632d208a0--