Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4022070ybv; Tue, 25 Feb 2020 11:37:39 -0800 (PST) X-Google-Smtp-Source: APXvYqzdlVERgVWcr77C9OB1798zqbGfFTSAgivs5hWH9IGp1T+KmQbgtpuOVwkGVc6kH9OnCkMr X-Received: by 2002:a05:6830:2154:: with SMTP id r20mr150561otd.131.1582659458951; Tue, 25 Feb 2020 11:37:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582659458; cv=none; d=google.com; s=arc-20160816; b=OCiBzdfu/QCvjjbRQTYDOhZE17wW6sUY/PUoY6dvIYYzMhiFcjPdCIH3YIHsQrzENl Y7oE7P49lanGulC14+M/9XqpGc+ztN3anTyAyl1b7g82IUMHES7KQH7tojRHcMFeDO0U X+83lB8sipoDrlIWDWe5mvIwGg27BThZjwl0ZTaimwUKHV3cmZ8k5oYxZKVve2HgWTqp Ya/MliWHVFTCwn1pJ3VPWXE+rvQrpTBBCRPIgyiK/3fwb+k1mx8c3pBIj0HI0QgRu3FI Ao1Yb1e6aZbeSZPNPNJxsOhXLB0QzBO8pqfTYlXZTDZ3Wd98AtwwSVpekaQokYitXjKF NtKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=EJ8HPUktc58qJYFrDAIdvsZ1Ei72XTyb2PR3F/Eja5g=; b=yVWdBubY3sTTwbzV9Tw2JK81OYwBapDyn+NLTuPIF0+UQj5PaatwrV6teI/Xa1+Z9C R1usmOYpX3VupCmiTE3f5JccAnAt4seP3W8lgkJgm5wVUdyCKGWaQ1aXalKzBB0/1sv+ lSCpf2ewb/x+Kt0pSVwbI7kLzRbpyYV/zigTHlMVDQc0nUsQiCfTRiNSeQ+Q8ww5JCDU uahP2PeTdpSRq6LGo9Id3Z8hrNBPYnfDOQthqEfJyhKjzP7UfCiWQp2uBVZxSVOUuMSI lgwUeoRLDc1OJOaBsJS/rcK8g7hF5WQT0zfrHnVoJnUhSx1rT1rhuIbs/H2+svAQCbVz qa/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mRoO3xim; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k66si62524oih.200.2020.02.25.11.37.26; Tue, 25 Feb 2020 11:37:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mRoO3xim; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731594AbgBYTbP (ORCPT + 99 others); Tue, 25 Feb 2020 14:31:15 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:46094 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730776AbgBYTbO (ORCPT ); Tue, 25 Feb 2020 14:31:14 -0500 Received: by mail-pg1-f196.google.com with SMTP id y30so16948pga.13 for ; Tue, 25 Feb 2020 11:31:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=EJ8HPUktc58qJYFrDAIdvsZ1Ei72XTyb2PR3F/Eja5g=; b=mRoO3ximDl17LdEWrFR3sIPemcYle9IAprIuQGT7k9qxAXCZvML8ln5am7XhoUgTIk +aGyOyaTzXGab4oJumoYVV6plrgijKkaIuaHuVKxl10zAQKX22W2JxU/F1CScvPk/dTk mLp8j8X4SciZ9bdFTxukYo0F9vTijuu4ZqEh8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=EJ8HPUktc58qJYFrDAIdvsZ1Ei72XTyb2PR3F/Eja5g=; b=ND7gxnAfhdS59bSCNZcg8Z5+haJhVhaQxp62QrTOpVQG/+DpSrJOCxC2YfdgXRRrMW jhdQZCnvtG6/YdItP3G3WTGo71s6LML+M14rWALPJCGxb7kxgG1B2oKQic8KFyhrxEw1 3S2niiVmCyg7Od5foFhmkvVO9jf07h6pp4X1P6jmVEkpi4YCfelEAh13u2ONqNOmHFx6 jzDiyObk+UeTIgx81IGSrZF9y8SlKZRL9+gASrXgESqcKOeQrUWUyFoDsv4HHO75eF9/ zDNkUBijsMtSmzytWs4rIAD7r8TASy8yYkHq8RJ1hfbb8RCGuJehFEKNz3r34MyNaIeN b+vw== X-Gm-Message-State: APjAAAXO+y5JIi1evJIRh8gHRxsdJj8xTRqVEI6pLOg89aV72Iu4QBxT k9UbPc26vvGFu5REUlC9RGTE8Q== X-Received: by 2002:a63:a741:: with SMTP id w1mr80479pgo.131.1582659073819; Tue, 25 Feb 2020 11:31:13 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id r3sm18490808pfg.145.2020.02.25.11.31.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2020 11:31:12 -0800 (PST) Date: Tue, 25 Feb 2020 11:31:11 -0800 From: Kees Cook To: Naresh Kamboju Cc: "open list:KERNEL SELFTEST FRAMEWORK" , Shuah Khan , Anders Roxell , lkft-triage@lists.linaro.org, open list , ankita@in.ibm.com, Will Deacon , ardb@kernel.org, "Guohanjun (Hanjun Guo)" Subject: Re: selftests: Linux Kernel Dump Test Module output Message-ID: <202002251126.66255B5@keescook> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 17, 2020 at 04:39:37PM +0530, Naresh Kamboju wrote: > The selftest lkdtm test failed on x86_64 and arm64. > am I missing any pre-requisite? > [...] > ref: > https://qa-reports.linaro.org/lkft/linux-mainline-oe/build/v5.6-rc1-19-g359c92c02bfa/testrun/1212254/log Looking at this, I see debugfs mounted, I see LKDTM enabled, but I see the console freak out just as lkdtm starts: [ 349.262263] kselftest: Running tests in lkdtm # 4 0x0000000000401014 ?? ??0 0x0000000000401014: ??_??0 # # 5 0x00007f9de1221a56 ?? ??0 0x00007f9de1221a56: ??_??0 # # 6 0x0000000000401399 ?? ??0 0x0000000000401399: ??_??0 # # madvise failed, failed,: _ # # addr 0x7f9de1000000 0x7f9de1000000: _ # # length 0x200000 0x200000: _ # # src_type 0 0: _ # # Testing guest mode PA-bitsANY, VA-bits48, 4K pages guest: mode_PA-bitsANY, # # Guest physical address width detected 39 physical: address_width # [FAIL] 11 selftests kvm vmx_dirty_log_test # exit=254 Is a kvm test running at the same time? It just looks like the entire console goes silent (which would certainly make the lkdtm tests fail) > https://qa-reports.linaro.org/lkft/linux-mainline-oe/build/v5.5-11440-gd1ea35f4cdd4/testrun/1202720/log Similar happens here, only this time it seems to be gpio tests? [ 363.276824] kselftest: Running tests in lkdtm # ./gpio-mockup.sh line 89 ./gpio-mockup-chardev No such file or # directory line: 89_./gpio-mockup-chardev # # GPIO gpio-mockup test with ranges <-1,32,-1,32,-1,32> gpio-mockup: test_with # # -1,32,-1,32,-1,32 ... [ 407.481225] test_bpf: #0 TAX jited:1 63 62 132 PASS The console seems broken for over 40 seconds? -- Kees Cook