From nobody Tue Apr 15 14:36:13 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 4ZcRYH2fh1z5tF8q for ; Tue, 15 Apr 2025 14:36:19 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (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 4ZcRYG1BsHz3NHs; Tue, 15 Apr 2025 14:36:18 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x732.google.com with SMTP id af79cd13be357-7c5e2fe5f17so553060685a.3; Tue, 15 Apr 2025 07:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744727777; x=1745332577; darn=freebsd.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :from:to:cc:subject:date:message-id:reply-to; bh=fDotL/MXkfRzwcQX1Gb9cJy12eoTTX7xJ8ONVmN1enI=; b=W10AQ62MImkyjWSZfSeH6Gi5phYie5tdc6sryfTfKfyUYcD+Y1TzF1U8BmGDp9UtRK FwNZ/V9pffb3i73Zk/eMMJ0Fi0r8wOiuEtCjD25iapGlOpdIr012SrhH3RayDiMAXVuf TkBxryxV3kNywDBdL/jxImAR1LloWI9o9/KFaToyX887RYDtMbO4Tgsm35dOzY7Vnlfc /cDvCYYaWdXQ06ZQ2hzICK2pgFCf3gvi4JXjQwi4hVNV2eeaLXbke7/hrhlLCZSwlH39 ueMnd1rWg7FyvRQBAd1gYTp6BvnQ8MFPdXVF3lp6FXPC0VTv/cITkOksoAyns6hTqB1p viXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744727777; x=1745332577; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fDotL/MXkfRzwcQX1Gb9cJy12eoTTX7xJ8ONVmN1enI=; b=iI+feBzMeaIAozqJ65OIm15P/WRrtPmQS1QYSf2ydTWoSdteSY6tdp9dbzNVq2Sze4 8jWW5xJS8n9YZGRam7sEQl8vDJ6ha2Ri2DgOzzRsPtteR6bmUcmbFY14rqJYpBd8ZT+Y h8eVxvOHX2cNyYQPQ99/8Ri35cy1JCGO61TvUFKm46iUKWKc4AqygLzC/HBaMntigxFZ lnEJVteikvtTvuU6RBA7xHkpIRoUp9SQMuCCeb+T9vSbT76yDZBZfBKKKK+Ud9N2O9bi DCRfUvp6qA8oWT25tYTQXzEPGVoo420KAiwFcBk9eDBNgLzlpFhnII/l37GJNeSsQqUz uGDA== X-Forwarded-Encrypted: i=1; AJvYcCU6RNiICyaiPamPn4pj8UH4FXj7gGvp8/Vqz5uHAkS7jAZpcU2lMs512a+LlmAhbIi2qgQVCf3/uuxPMNeE6QY=@freebsd.org X-Gm-Message-State: AOJu0YxXRjA9MxwAeMQae9o+cQ4hpDEV+nPgLqUqp1ui2DlvCrXFl9mJ 8aYxMDLJzcgeh63HgaWfst9o3DCHusdizMemVW3HYxCeO3SjFqJajIbMqS+/agk= X-Gm-Gg: ASbGncs+2PMV9sXeUpqX/RumvJZbiA1LNZwYrF2HiuAMns6GvOjlMp2pgLmGjogjyfa jv/LH6nGpgjRLekWc+tv3Wwvl9Nt0mCe59gdk9XDctzpYaW71Gw3j1C9MBxUWbby5fCkGCyiSlF Yk7eNhFm131EvzNGHFFFEbvnhSFuXuyICJPfaWKpGbtNI7GgqWwI5wEDE3R60XJoa/NhEFkWHSm oG8SwGBP0QPVL/wAze1Tvb7VRbK8YL5larj85CYQfKZ6t/ePuZF6kgOE7YMO2pA0Qc1zmpLd1EN 9PoIUN8l8V8GIrTIEVNW/PdoCiLcgLg+5/KFWgIYKAPa612DkcpA88s= X-Google-Smtp-Source: AGHT+IFw+Pdt9wIpsWS3pklYgiShYD9vCuWQiyjp8wVKi39tnDUtjC4O6j3thyJkfUgRuon3wXml0g== X-Received: by 2002:a05:620a:4725:b0:7c5:9731:3c7b with SMTP id af79cd13be357-7c7af115b36mr3153726085a.36.1744727776723; Tue, 15 Apr 2025 07:36:16 -0700 (PDT) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7c7a89517f8sm909784785a.37.2025.04.15.07.36.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Apr 2025 07:36:15 -0700 (PDT) Date: Tue, 15 Apr 2025 10:36:13 -0400 From: Mark Johnston To: Alan Somers Cc: "Sankar Raj, HareshX" , "FreeBSD-testing@FreeBSD.org" Subject: Re: Reg: sys/geom/class/eli/misc_test:preserve_disk_props skipped Message-ID: References: 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4ZcRYG1BsHz3NHs X-Spamd-Bar: ---- On Tue, Apr 15, 2025 at 08:31:51AM -0600, Alan Somers wrote: > On Tue, Apr 15, 2025 at 8:24 AM Sankar Raj, HareshX < > hareshx.sankar.raj@intel.com> wrote: > > > 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 > > > > 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. I'm pretty sure md disks will work fine for this purpose. > 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 = '/dev/vtbd1 /dev/vtbd2 /dev/vtbd3 /dev/vtbd4 > /dev/vtbd5' One can also specify this in the kyua command-line invocation: $ kyua -v test_suites.FreeBSD.disks='/dev/vtbd1 /dev/vtbd2' test