From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f174.google.com (mail-il1-f174.google.com [209.85.166.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 207666CDC8 for ; Thu, 6 Jun 2024 23:03:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717715000; cv=none; b=ZAlJ6GDeSl36vpzEIOHzIsqHCPAQqx/7YfsnpmIMpp/eG/0/mPjUDWtdHO1BgtoDvMWwwnryQrq/U6+GkSg+7dEvkLnSEYGUONDRNRoEUt2vDguCwMPH0WjeEqhObWd0I6gkdg4AfRAayB8mTNc6zHFDONgJ1n2x2VjGKYIrUGA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717715000; c=relaxed/simple; bh=kMnjXiY2TH6WLrxS7NvxTkG8S8yaLFy0Tv2TpuX/WyM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pCaHmsTaTdqfC/2osYIXFPX+cVD6BYZje2CR1mDotzSFAjbfNnFnTYbZs/H/fZSMViCeBxb87HMTl0166Bl6cH+A0P8K0LXHNmw1Y86bsA4sJs4Zf9MrYwLJml53aD/pbnKPAN/0BwdmUeyDj0+Wi9aX9Czk+2/cGM92EuyXNYg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FEYCJFF1; arc=none smtp.client-ip=209.85.166.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="FEYCJFF1" Received: by mail-il1-f174.google.com with SMTP id e9e14a558f8ab-3745eb24ffaso963075ab.1 for ; Thu, 06 Jun 2024 16:03:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1717714998; x=1718319798; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=WSwzpZYUu1xmHPg1f7bkp3xG7EtMyrFFSdaCiRvwBnA=; b=FEYCJFF1Fw0h18o15laGnlcYA4mWT1Nh2oB1L5HahzLVsNTdY1hYUVXDx6v/QYd3Kb ssnr7bYHzJ5SSNSrVPWEAb0Sq1efFesv5uKQxitG+s83DILk43uCo2RX14pWgod3x8wn 60dr6R5xQ45ekiU+P3A0Hk6g6iqoHPs1vosUk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717714998; x=1718319798; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WSwzpZYUu1xmHPg1f7bkp3xG7EtMyrFFSdaCiRvwBnA=; b=hbcJX/ckqhfFiaRtJxkgomWymeGIUV+IxMDGddl7YfoXiqEPyVqG6X/vOOblLjmQ8T Ld3cOJYkgHwR96kGB0nYvjq5MrwLTUqJE2IQTmyVSwYGazazCA45JdqW6v3Ecs3cYU32 4q1buStaqMpa7B7Vv+dm/XVdHp35JkrSx/tio25uwZcKK6ChRPvRB2YogQfbt7mcr0pq UkYFrMKNE6N6ye0pEPgTZsTLhcT9kFJf/zZLzIEcjqHGPT7tBOgz1kuxBFAcZf+R5pPK EmEv7zqwy6Jc0ChzeDM5ud7aOqqV9opL4dz7CS8koK6Pdjr8qh3FviUVSK5yCmPNTA+j WxjA== X-Forwarded-Encrypted: i=1; AJvYcCXYPBFpSDumwsUFWp0TPnGc92dFuPEIO8gBYkg2BsZEIdJnYh20hZc0RlrwrkkFeZVqlCw57Nh1ChXq4kUlA8uNw4L9JQlTMTtZdcSTXoYi X-Gm-Message-State: AOJu0Yxk7YSYWxM/ELk5ByuUjEewagACuHTwtEXzXRc1Ae8zaNXntGZa ReT9rVKV7XE+WLgogfmsXGTw0dGAFv5KoDHc8++8esfZNHBD43RBxIZB1MjiuXU= X-Google-Smtp-Source: AGHT+IErb8QhrMrD58+3GtGxtleq3phws95UT1YHdUEMAgr/NObxJzRLHoP0lgBpi9J8bzt6cgRtIw== X-Received: by 2002:a05:6e02:1a8d:b0:374:9cfb:ee13 with SMTP id e9e14a558f8ab-37580236023mr9811845ab.0.1717714998019; Thu, 06 Jun 2024 16:03:18 -0700 (PDT) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-374bc15d9d9sm5105765ab.37.2024.06.06.16.03.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Jun 2024 16:03:17 -0700 (PDT) Message-ID: <646f0597-240a-4251-b45e-e45f504734a9@linuxfoundation.org> Date: Thu, 6 Jun 2024 17:03:16 -0600 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/2] Modify the watchdog selftest for execution with To: Laura Nao Cc: kernel@collabora.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, shuah@kernel.org References: <20240506111359.224579-1-laura.nao@collabora.com> <20240606095714.397658-1-laura.nao@collabora.com> Content-Language: en-US From: Shuah Khan In-Reply-To: <20240606095714.397658-1-laura.nao@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 6/6/24 03:57, Laura Nao wrote: > Hi Shuah, > > On 5/6/24 13:13, Laura Nao wrote: >> The watchdog selftest script supports various parameters for testing >> different IOCTLs. The watchdog ping functionality is validated by >> starting >> a loop where the watchdog device is periodically pet, which can only >> be >> stopped by the user interrupting the script. >> >> This results in a timeout when running this test using the kselftest >> runner >> with no non-oneshot parameters (or no parameters at all): Sorry for the delay on this. This test isn't include in the default kselftest run? How are you running this? >> >> TAP version 13 >> 1..1 >> # timeout set to 45 >> # selftests: watchdog: watchdog-test >> # Watchdog Ticking Away! >> # .............................................# >> not ok 1 selftests: watchdog: watchdog-test # TIMEOUT 45 seconds >> >> To address this issue, the first patch in this series limits the loop >> to 5 >> iterations by default and adds support for a new '-c' option to >> customize >> the number of pings as required. >> >> The second patch conforms the test output to the KTAP format. >> > > Gentle ping - any thoughts on this series? It would simplify running the > watchdog kselftest in CI environments by leveraging the runner. > This test isn't intended to be included in the default run. It requires loading a watchdog driver first. Do you load the driver from the runner? thanks, -- Shuah