Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1030033ybp; Thu, 17 Oct 2019 07:06:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQMhgx/9on2j2PSUCZgXyDnHZ4SCKZjz13TDzh/ovfXxiTGM0qeCciBfX6xfwWEXfFa7M6 X-Received: by 2002:a1c:4986:: with SMTP id w128mr2925855wma.69.1571321165697; Thu, 17 Oct 2019 07:06:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571321165; cv=none; d=google.com; s=arc-20160816; b=HhkNegTZoGa2/DDF2AO77uGTVMDSwPhCsytb9Rb542x4zo0cNBoVGQk4kwUcd/VMY5 EOLlVcb9KOxUpswwmorWekG5yllnrBF8egcaqWDuQsMf1cgROZx7xohsJbiN9VgZroDj ob6cVJyIcZW0jy4Kh7FcdHZRVw1TDeC8MbIMDJEktDIVzarVRIvQwA1+8ssdk9/Syp1T Yc4To0fVZB5fxG0jUROtOxq/Ke7RY6Vte69oOf181m+uPZ7eZxrDxVRZtELlJC4Q01K2 JU8NOFy8AJ/3nyBgL+UqcRXjcc++wwvUgx1a2dh+kbVpSguoygvtEDkeQNSwff78yN1q W/SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=lKd03L0IrmsmPr7zLBp1A753epBsDo5QbVqmlBfH5ks=; b=xWSBo2ny1gGvtBRCAuqvWlpCapJJQZPZjkEsnMaHfcqIzZP2jdVgnnVJ905N6DNVGX x9lqtrQNue5N3GH7B1EZZfAEDVQWIDWGgl8z0o6VgJktouL07NSjjqcLSALXhMx9acos l4dF1/MfY+pwgD/O+XcahZ85b7WUnLPF2RDvy+JyAbxpSY4OV9zx2/6BimJUnfDi761X 1clswaWbJifVb41jFblmVWNMjZmu7M9/LyLW+7K4yDdXL4yiu4zXkx5kb6g50/Y958Xu tjlRjn08J6LnVWXBueFlJugByA7YugPEhe8puvZUcA+wVx+9mNPRACvi8qProATQXeWG hcjw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si1756208ede.126.2019.10.17.07.05.38; Thu, 17 Oct 2019 07:06:05 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394605AbfJPVrQ (ORCPT + 99 others); Wed, 16 Oct 2019 17:47:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57520 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388409AbfJPVrP (ORCPT ); Wed, 16 Oct 2019 17:47:15 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7DFE33082B40; Wed, 16 Oct 2019 21:47:15 +0000 (UTC) Received: from [10.10.121.199] (ovpn-121-199.rdu2.redhat.com [10.10.121.199]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 061ED60BE1; Wed, 16 Oct 2019 21:47:12 +0000 (UTC) Subject: Re: [PATCH v3 3/3] selftests/livepatch: Test interaction with ftrace_enabled To: Kamalesh Babulal , Miroslav Benes , rostedt@goodmis.org, mingo@redhat.com, jpoimboe@redhat.com, jikos@kernel.org, pmladek@suse.com Cc: linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, shuah@kernel.org, linux-kselftest@vger.kernel.org References: <20191016113316.13415-1-mbenes@suse.cz> <20191016113316.13415-4-mbenes@suse.cz> <61b8e995-f5a2-8094-8e91-1a60019d2916@linux.vnet.ibm.com> From: Joe Lawrence Message-ID: Date: Wed, 16 Oct 2019 17:47:11 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <61b8e995-f5a2-8094-8e91-1a60019d2916@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Wed, 16 Oct 2019 21:47:15 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/16/19 1:06 PM, Kamalesh Babulal wrote: > On 10/16/19 5:03 PM, Miroslav Benes wrote: >> From: Joe Lawrence >> >> Since livepatching depends upon ftrace handlers to implement "patched" >> code functionality, verify that the ftrace_enabled sysctl value >> interacts with livepatch registration as expected. At the same time, >> ensure that ftrace_enabled is set and part of the test environment >> configuration that is saved and restored when running the selftests. >> >> Signed-off-by: Joe Lawrence >> Signed-off-by: Miroslav Benes > > [...] >> diff --git a/tools/testing/selftests/livepatch/test-ftrace.sh b/tools/testing/selftests/livepatch/test-ftrace.sh >> new file mode 100755 >> index 000000000000..e2a76887f40a >> --- /dev/null >> +++ b/tools/testing/selftests/livepatch/test-ftrace.sh > > This test fails due to wrong file permissions, with the warning: > > # Warning: file test-ftrace.sh is not executable, correct this. > not ok 4 selftests: livepatch: test-ftrace.sh > Hi Kamalesh, Thanks for testing. This error is weird as the git log says new file mode: 100755. 'git am' of Miroslav's patchset gives me a new test-ftrace.sh with "Access: (0775/-rwxrwxr-x)" Did you apply the mbox directly or.. ? -- Joe