Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp988831ybl; Mon, 2 Dec 2019 23:01:15 -0800 (PST) X-Google-Smtp-Source: APXvYqxcigkI+QiD1HaOO+J7SEsS19GCLoOVGYYHBiuTFqjHQkG+Bn6lzYcYLbe03ZudgRwJpQps X-Received: by 2002:aca:cf58:: with SMTP id f85mr2516754oig.6.1575356475823; Mon, 02 Dec 2019 23:01:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575356475; cv=none; d=google.com; s=arc-20160816; b=BuNjVF2Y1G1RWKHSE+x4XCb78MYFqOCdQc5UyiE/DXc9kq6h5h2T53X4NWCRknWioM mXEKmdg5wGLkSe2HKu+X3j9rtyabhlKoFFRakIUuUlaQKbJz+W9FydgFNGccKv2mRNcO zQpR2US31ypslspJAtiwVL0bePBG9RCDHBh/t+zn0Bo2U+0Q8EDah+JykiqanqnnZrap TJxKELHNWhj53FIxenmPj/1zGBtyfo0OQJtH/4syl1j9vkGO4e9njLUPaXHC2OUpnGrq Ob1x/gy2OBtPosjDgqXEl2GKXCChQn8aisWswM0ubtK2nWKmihMvJDLZXUvUWybr2Z7x dCUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=INGajexy9It7CoUDmxX+ri4F9omlcw2mriGYC3fDDCI=; b=LibGRFxq+Tbe2yYh6JTAdBxjD7afzPFNZ3NVErEgoC91xelMN9rSXqvaXFrBMrLOC5 LDtbYAHyDnCJamevURASFspy7ukD7LV1SIiSWPGk7O8gmAG2gapIt1ij3XT5Bipwk/pU 2PLXJ9VCKtp/YiUBt4ebzm2qU42OZ9OENA52eaFTMFioaBcuHtohwIbndmdz3TYGmPay uUv+Hdjw9F4PvLo8IKpYgEC3i0WhVj4pdNAWpm5XHefu2RZx6nN+V6Jk5pSpHHQP7kc0 JDCqJNEG95eUjhsH/vEi4XabyH2U5JzPdymR2GRiJC6lJ1Ma+g2FrF5Htgc9hlVZ4LG4 Tasg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="ItVhJQ5/"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t189si14566oie.13.2019.12.02.23.01.03; Mon, 02 Dec 2019 23:01:15 -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=@google.com header.s=20161025 header.b="ItVhJQ5/"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727282AbfLCHAc (ORCPT + 99 others); Tue, 3 Dec 2019 02:00:32 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:36154 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727323AbfLCHAc (ORCPT ); Tue, 3 Dec 2019 02:00:32 -0500 Received: by mail-pf1-f193.google.com with SMTP id b19so1368842pfd.3 for ; Mon, 02 Dec 2019 23:00:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=INGajexy9It7CoUDmxX+ri4F9omlcw2mriGYC3fDDCI=; b=ItVhJQ5/E4Tjc6i/wsv9yGPBfHXXxKaCb4L7T+pTJEe+oB0q0MqPtcQNj3lmHkV3Cq dL5jxRC7w7herfMWSMCI/44CqKzzZkp7WGxLGvDWnxcp/9sFCv8pbSrB8lrzp0f6VIXG iv/iwztoNmBPqTpJKzBmnlDuF2XL7T8onNihgot0eJ96ZkmO8ZkQPcnVIx4wuR9eGRph BLJRIkR8vsfuBBnpdbIMYCCVOMjKpwCHS5EEmn/+f+yIPheJlNPkdmuHSAEf1mOVzy8s RMDPF4OYG+Yqw3SiBsNvCTMTNigzyeIwjps7jU9/izIs0clDzCqzHaNBOYM4KS+UIpcA EZfA== 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:user-agent; bh=INGajexy9It7CoUDmxX+ri4F9omlcw2mriGYC3fDDCI=; b=JfBGVNXEXtPXwC71sQwcslHVlN6soENWhLi5hTyJA5XobeOI0iVdhi163UBx4Mnpd7 A5ypaH8iJDiD6z7g0qhUOaIVivW3dSrcat9hs4CQQlrbPCJHdsQSHhFH9wMty5n+9nMl xanPwZHmWMDGN9PnmF7B+aF2yJdyGtn/H99yLF+/dYhBPYo1hZ2U+6ESKaQeTGt1KSoi 3x+SbZh4imP6G33oKStLbFVwnYy07YswE4/oR29m/PC1+GZnCzUlQi/65awqPqo646QE KFt1kB29IOqv1WH2KOQuXgnQ9P/+dB/OiBVE5jD/+Z/hB2/nMT1OkBPL+uYWuIEoUzVH fzBQ== X-Gm-Message-State: APjAAAVR7d7zx03kU2zmeEMg4CSygh+G8X6vl9oJWipKHVPzDXJjLQ2Z TfcWfDdmrd0hOHszjtOCgoaQAA== X-Received: by 2002:a63:1b5c:: with SMTP id b28mr3764856pgm.69.1575356430815; Mon, 02 Dec 2019 23:00:30 -0800 (PST) Received: from google.com ([2620:15c:2cb:1:e90c:8e54:c2b4:29e7]) by smtp.gmail.com with ESMTPSA id k4sm1887484pfa.25.2019.12.02.23.00.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2019 23:00:30 -0800 (PST) Date: Mon, 2 Dec 2019 23:00:25 -0800 From: Brendan Higgins To: SeongJae Park Cc: shuah@kernel.org, corbet@lwn.net, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: Re: [PATCH 0/6] Fix nits in the kunit Message-ID: <20191203070025.GA4206@google.com> References: <1575242724-4937-1-git-send-email-sj38.park@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1575242724-4937-1-git-send-email-sj38.park@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 02, 2019 at 08:25:18AM +0900, SeongJae Park wrote: > From: SeongJae Park > > This patchset contains trivial fixes for the kunit documentations and the > wrapper python scripts. > > SeongJae Park (6): > docs/kunit/start: Use in-tree 'kunit_defconfig' > docs/kunit/start: Skip wrapper run command > kunit: Remove duplicated defconfig creation > kunit: Create default config in 'build_dir' > kunit: Place 'test.log' under the 'build_dir' > kunit: Rename 'kunitconfig' to '.kunitconfig' > > Documentation/dev-tools/kunit/start.rst | 19 +++++-------------- > tools/testing/kunit/kunit.py | 10 ++++++---- > tools/testing/kunit/kunit_kernel.py | 6 +++--- > 3 files changed, 14 insertions(+), 21 deletions(-) I applied your patchset to torvalds/master, ran the command: tools/testing/kunit/kunit.py run --timeout=60 --jobs=8 --defconfig --build_dir=.kunit and got the error: Traceback (most recent call last): File "tools/testing/kunit/kunit.py", line 140, in main(sys.argv[1:]) File "tools/testing/kunit/kunit.py", line 123, in main create_default_kunitconfig() File "tools/testing/kunit/kunit.py", line 36, in create_default_kunitconfig kunit_kernel.KUNITCONFIG_PATH) File "/usr/lib/python3.7/shutil.py", line 121, in copyfile with open(dst, 'wb') as fdst: FileNotFoundError: [Errno 2] No such file or directory: '.kunit/.kunitconfig' It seems that it expects the build_dir to already exist; however, I don't think this is clear from the error message. Would you mind addressing that here? Cheers!