From patchwork Fri Aug 3 15:20:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Patil X-Patchwork-Id: 143414 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp287196ljj; Fri, 3 Aug 2018 08:20:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf8XtMvhnfKbo4jFZsvq/OzOw3zaWEU+4iKT9GMNhB8DEEhZDrTrdulBegpXVkDgUDO3sjO X-Received: by 2002:a7b:c0d5:: with SMTP id s21-v6mr5030472wmh.106.1533309634699; Fri, 03 Aug 2018 08:20:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533309634; cv=none; d=google.com; s=arc-20160816; b=nhy+jXKWGF7LthxjZaIpv2oIY7NHHpVp6oeNyuaIffdUovv4aG3eSg89jmCP7GI4J9 USyZH2dtwzXbq4PMmpnRmIAdRVlNEP5VfRdR6o/hrwhFDi63CFvE/0xW4DHTxZCEr/cW q4Wif7nw2U1JuVtHZLrdl2lh3ROoZ7zSL47Ug31xO/CKXB0v9zInoT4C0jfa0Q8TShLg LywWepE0HA0f6oHdOn80fusssuPkJnXly1yVg1Pglo2nq5QNKD9TRp5fzuNTXoxP9hjY 015NEY1+jbMqgsN8JN9ENodw1UFlLfi5L2uKoxeGMoi0zlESc8MlOwxKUee1oY67dQ0c HVSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:dkim-signature:delivered-to :arc-authentication-results; bh=aulC7ZQr+ufQFOBl9CZqzp+QW0EPq1psAqlP2/tK30U=; b=R5ofapBH7VkYPgiCth7PKrA6UkyXfH6zkA7UmjmsZx1NhNdUAppSIccdcDkO7FLoCJ WouAb4QwscmIM6hJ7+FUwm6QWngVSPCiqGx8vR6sNur+X/gFV7u+F66vZKnexh2ZZ9dY DC7u+yd19zTLPhxpP3d6rjjuJidRMyGu0xxedCrmB87RNWP0CWc0isN2fQhbj/b9jges F+uc7m2mKaULbqZiKbwwk8cvhkbxE36WEWORDYtm+BMTNoqJ8PyTOftCuVsgRDrkFQ46 NFsSiXc/D6Bd/8dQXi4SqwWnDcKpmrbLB4LPoRQ49Hl/TQettk4/RLUXpmNc1wVuDmvg xzww== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@google.com header.s=20161025 header.b=aqc1Jiv0; spf=pass (google.com: domain of ltp-bounces+patch=linaro.org@lists.linux.it designates 213.254.12.146 as permitted sender) smtp.mailfrom="ltp-bounces+patch=linaro.org@lists.linux.it"; dmarc=fail (p=REJECT sp=REJECT dis=QUARANTINE) header.from=google.com Return-Path: Received: from picard.linux.it (picard.linux.it. [213.254.12.146]) by mx.google.com with ESMTPS id v74-v6si4094445wrc.286.2018.08.03.08.20.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Aug 2018 08:20:34 -0700 (PDT) Received-SPF: pass (google.com: domain of ltp-bounces+patch=linaro.org@lists.linux.it designates 213.254.12.146 as permitted sender) client-ip=213.254.12.146; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@google.com header.s=20161025 header.b=aqc1Jiv0; spf=pass (google.com: domain of ltp-bounces+patch=linaro.org@lists.linux.it designates 213.254.12.146 as permitted sender) smtp.mailfrom="ltp-bounces+patch=linaro.org@lists.linux.it"; dmarc=fail (p=REJECT sp=REJECT dis=QUARANTINE) header.from=google.com Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 4BB3A3E672C for ; Fri, 3 Aug 2018 17:20:34 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [IPv6:2001:4b78:1:20::2]) by picard.linux.it (Postfix) with ESMTP id 0C5933E6677 for ; Fri, 3 Aug 2018 17:20:30 +0200 (CEST) Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by in-2.smtp.seeweb.it (Postfix) with ESMTPS id 17632600F51 for ; Fri, 3 Aug 2018 17:20:30 +0200 (CEST) Received: by mail-pf1-x442.google.com with SMTP id d4-v6so3423703pfn.0 for ; Fri, 03 Aug 2018 08:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=X2K+VhkKfXsMMkfJ60uwd2PPIOUnBsSY6J+6UzDb424=; b=aqc1Jiv0NImkRUlCJSB2auo0n/PI5t+5FaRUMeiBbDBnMAsAkxKnMabMCHQzYqXPMi z8KMAl3CGI9TaH245oZ1XLcVnb/Kr8vDA4g8gbXGp0tAVGqWkalufnXadWA1ObTsiFXI 5F/fz0npR4p1P4bswx0GvVo733RO5qxry7evKynaEETzaEtI0PHqZBF7rJbDe4LQsg5M 0lhh5ki21PTAG1MyrK0MhNKT5siD3oZQNv2aS96YuF4v+1kcCxeKzR9/P/ycWQEyaG2x iQp4Fg6BUPTw/myemYivpEQO6QPRiH+WA+wsV52C5C+/Dff96HUD5RSQTI7lV6f/QATu XR7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=X2K+VhkKfXsMMkfJ60uwd2PPIOUnBsSY6J+6UzDb424=; b=dIFQswZ/hwTSjIr0Nk5+N+SH7vw10qLv710kOkVJi+nZMrACfUQVuFZssuFXbPY+FG 3HySpLAYZCj5CAI53Jvr+qv7w2XzoS0S4AWUr2ii97NVkMJ7f1ah2iTJYhcoeQCtfCRi OdU2UC97fiU0mof9CzqfWj/IyKKOC+TRf4Z7EqTGPyilSsvFkJJ5twLeG+VRt8TcrcjJ TdMv6ri1IJLFbGvXo2CDMt4rucCi30DGjGb598UzO+Lj/EwaK9Cpo8wlIL4/jX0AWRow SPzAagTzqOVBr6wxDlzRnhhsl319Xc2w+FtBmefrJGSDPAP8uK5q9OJbItL1VxzrxKrz HlyQ== X-Gm-Message-State: AOUpUlGbmO+RgXx2+b9Ij5/wGlQOVcs0+DgYGIc4ofVS1NWjNPrSeUnv Xd9JaP7csQ2BWcy0F0PV+t9Dp8Og4TzIog== X-Received: by 2002:a63:7007:: with SMTP id l7-v6mr4291812pgc.206.1533309627924; Fri, 03 Aug 2018 08:20:27 -0700 (PDT) Received: from sspatil-desktop.mtv.corp.google.com ([2620:0:1000:1600:6e29:33f4:7c9a:4918]) by smtp.gmail.com with ESMTPSA id r81-v6sm7831398pfa.18.2018.08.03.08.20.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Aug 2018 08:20:26 -0700 (PDT) From: Sandeep Patil To: ltp@lists.linux.it Date: Fri, 3 Aug 2018 08:20:18 -0700 Message-Id: <20180803152018.13701-1-sspatil@google.com> X-Mailer: git-send-email 2.18.0.597.ga71716f1ad-goog MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.99.2 at in-2.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=-14.9 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,ENV_AND_HDR_SPF_MATCH,SPF_PASS,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-2.smtp.seeweb.it Cc: kernel-team@android.com, chrubis@suze.cz, palethorpe@suse.com Subject: [LTP] [PATCH] fs: exclude 'wakeup_count' from read_all_sys test. X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+patch=linaro.org@lists.linux.it Sender: "ltp" /sys/power/wakeup_count semantics state that the read() for the file will block as long as there is a wakeup_event in progress. On most systems, this will be non deterministic and will result in extremely flaky test. Exclude the file from read_all_sys test for the same. Signed-off-by: Sandeep Patil --- runtest/fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtest/fs b/runtest/fs index a66948a43..aca7e355f 100644 --- a/runtest/fs +++ b/runtest/fs @@ -71,7 +71,7 @@ proc01 proc01 -m 128 read_all_dev read_all -d /dev -p -q -r 10 read_all_proc read_all -d /proc -q -r 10 -read_all_sys read_all -d /sys -q -r 10 +read_all_sys read_all -d /sys -q -r 10 -e /sys/power/wakeup_count #Run the File System Race Condition Check tests as well fs_racer fs_racer.sh -t 5