Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4448450ioa; Wed, 27 Apr 2022 04:13:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNCxxDHsKj3eGhVpkDoWrBw41SwxncoPM0KP4376Rt/EYDc7dbhegyr4mAv+0aPFeR/LRp X-Received: by 2002:a17:903:2d1:b0:156:7ceb:b56f with SMTP id s17-20020a17090302d100b001567cebb56fmr28296663plk.11.1651058005729; Wed, 27 Apr 2022 04:13:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651058005; cv=none; d=google.com; s=arc-20160816; b=sDS95n2oFvjuXgRQa/MvlEtNl0IbpXuRSyOMoS5mtCasDG1EZR1DOqQYWMTIIV80xg OBbOidDivwPl7hU1LmtOCPALVsJB1AMbvjwahOB0bOyiZdAJ6rN0oPJ71R0+rsoHz1in Jujb/Ql7PuOYT52A8IMTiHJnVVlNOCHvk5wDEWdm3Xx1ayD62iJ+pNvqrdAKebzdVgTG mceN9EYzhnb8E89UX5T/b/97XPjqIVhSlmayJwSzWQQAY4pisJ76YTXsJmu7Yn5Oyw03 fXzGOlmpPp8b+zwYZmRdS4ATlgG9lnH4DHrKALzXwnXGyL2YEUouCaKc0T6XRR2qVyGa Gmhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=iTDSLnh863UbzlbjfH1D1Rn73x9IF6PCFt7xCpVb6ho=; b=nhBxTXAAwfSZfjQt+Yf3AgByk+EnWDBut4MtZaFUkM4vGX/uImLUuZiFs1VjqXn4Wa uBVFFnMP93rf8eLKXaCakcrn8oDtd0KX/0eIgaNvfFKXMN8eXJKhUE7OjWUJ9AeqpqOd RugkxHJGzBdpTGJhyT8DAGneLbUGGLYNrgwWIpNIj2oufjh9qrlxLsuArvdfNvH7fhU1 MldhM48jZ3yE3ngKb73lW5OqdxMFrmLz2ub3yXoYr0pEx70iILbX79n/7PV8uceYwFME c2QlHAv6Q9W4+89cX6cFR0Qt4dY03TpYSfbCbLrDujwZ5WiEVDoepC03Nz0AYYRB28G7 YM/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=R6skvcZn; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id lb11-20020a17090b4a4b00b001d999489486si1595462pjb.167.2022.04.27.04.13.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 04:13:25 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=R6skvcZn; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5F1414417A8; Wed, 27 Apr 2022 03:07:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352861AbiDZQRq (ORCPT + 99 others); Tue, 26 Apr 2022 12:17:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232878AbiDZQRp (ORCPT ); Tue, 26 Apr 2022 12:17:45 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 431279E9CA for ; Tue, 26 Apr 2022 09:14:38 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 037F2210E8; Tue, 26 Apr 2022 16:14:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1650989677; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iTDSLnh863UbzlbjfH1D1Rn73x9IF6PCFt7xCpVb6ho=; b=R6skvcZn+e87Oc769JP5z5Jpp9aNYiM0jwU49znjitwJ8SK3iKXXUUFx8wF0SMYNO8Oy3i ZiMwtO4fwHpAmEOqqBhAwv8uftn5W2wkpK4Kz7BwoZc5FfbUSiDCfEj2+l0xscUOzWSca5 OIQt1C0x3w7aV+yJYbwzGCnX86VHIE4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1650989677; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iTDSLnh863UbzlbjfH1D1Rn73x9IF6PCFt7xCpVb6ho=; b=mY/CNuBPFQaiKh1DmTdZq+Yeqbz3lmD7dY0TwlrNb3dZfqbOcKYC2drzRFprcPrsuZeYLI zl5WP7KuSuhX5qBg== Received: from kunlun.suse.cz (unknown [10.100.128.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id E38922C142; Tue, 26 Apr 2022 16:14:36 +0000 (UTC) Date: Tue, 26 Apr 2022 18:14:35 +0200 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Dan Williams Cc: Linux Kernel Mailing List , Linux NVDIMM Subject: Re: ndctl tests usable? Message-ID: <20220426161435.GH163591@kunlun.suse.cz> References: <20220426123839.GF163591@kunlun.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 26, 2022 at 08:51:25AM -0700, Dan Williams wrote: > On Tue, Apr 26, 2022 at 5:39 AM Michal Such?nek wrote: > > > > Hello, > > > > there is some testsuite included with ndctl, and when following the > > instructions to build it most tests fail or are skipped: > > > > [ 95s] Ok: 3 > > [ 95s] Expected Fail: 0 > > [ 95s] Fail: 5 > > [ 95s] Unexpected Pass: 0 > > [ 95s] Skipped: 15 > > [ 95s] Timeout: 0 > > > > Is this the expected outcome or is this a problem with the ndctl build? > > > > Attaching test run log. > > I see a few missing prerequisites: > > [ 78s] /usr/src/packages/BUILD/ndctl-73/test/pmem-errors.sh: line > 64: mkfs.ext4: command not found > [ 95s] /usr/src/packages/BUILD/ndctl-73/test/security.sh: line 25: > jq: command not found Indeed, with those installed I get much more tests passing: [ 148s] Ok: 13 [ 148s] Expected Fail: 0 [ 148s] Fail: 4 [ 148s] Unexpected Pass: 0 [ 148s] Skipped: 6 [ 148s] Timeout: 0 > > This report: > > [ 51s] 1/23 ndctl:ndctl / libndctl SKIP > 0.02s exit status 77 > > ...seems to indicate that the nfit_test modules did not appear to load > correctly. I never expected that the nfit_test modules would be > redistributable, so I was surprised to see them being installed by an > actual package "nfit_test-kmp-default-0_k5.17.4_1-6.1". The reason > they are not redistributable is because they require replacing the > production build of the kernel provided modules libnvdimm.ko, > nd_pmem.ko, etc... What I expect is happening is that the production > version of libnvdimm.ko is already loaded (or is the only one on the AFAICT neither is the case, that's why I dump the module information in the log. Thanks Michal