Received: by 10.192.165.148 with SMTP id m20csp851442imm; Fri, 27 Apr 2018 08:30:55 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpOoXRSuhYPp8myHGz8aBdNlFzGwMF5sSSHu9JnOkuhKXnjDs24kwhD0Z2tBckWEsOMSkNm X-Received: by 2002:a17:902:2924:: with SMTP id g33-v6mr2768877plb.26.1524843055507; Fri, 27 Apr 2018 08:30:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524843055; cv=none; d=google.com; s=arc-20160816; b=fJH1Hd/PLXodafmtFnfF5f/aprc3ToD+CY8STiCtswVbagRqL1mALgI+ENVbviul1L WyS/uhkUCwnNqKjMnNLrdWEJW8TgXyQ8c1vKxzXooU0dW9fsecDPkmT9AR/2KVZjwns0 3vyP2/ixC/7n52+UvMABJePk70iTKqVReBshjjXfIlwmT8g+6wdIutjWBFRO+eJCBp5Z 3sHfR1H/hQm29iWhnO3w519WvokfcK/0cFuvQeLY7ks91z/CWVjwJDbd8dOzUW+1AaN4 eTEYYsw1b+9FNE/41FdM+FdNRthtYqFaBeZCdoGYoZ/qysSF37IaOGSo5JWMTgK0E0OJ SQPA== 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:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=ElqC7tADU+v/GRSgMjSvEGKpXBfx48c8pGl7LKcuyMQ=; b=fkLG5gJGQhlqI+ZM3ORWQtEBWt6WMc2HAYnJJB5T3JL+m7csw3odXChq5o8PUb8fAP IXNj+l0RtEmkHTbeU/Vw54EPKP8YAtM5DS26zKiyDfGRgFegaqGok13rAz8naLG+dX// wPaK2WUGGyVm6H62LnXXiFsLkwSKcSXEotH2RvlYpMp7bOUto18+UHAQmYqDBeVe661B 5Q8VnyFxyoPtK3PMtpK6e/K+wj6XxnM0b24EkAOaObO1lBEex81PYO9IxRYkB1alBZ6h E5d8QrLfuOsjjnOG/tY6G9CcPkWPrk3rDjaX+ZzoiMZ3h4ZrtyV6a6eg1p8mx9q8rJ+k abmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rajagiritech-edu-in.20150623.gappssmtp.com header.s=20150623 header.b=VpbWhuQF; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y14-v6si1426996pgo.286.2018.04.27.08.30.41; Fri, 27 Apr 2018 08:30:55 -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; dkim=pass header.i=@rajagiritech-edu-in.20150623.gappssmtp.com header.s=20150623 header.b=VpbWhuQF; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933275AbeD0P2a (ORCPT + 99 others); Fri, 27 Apr 2018 11:28:30 -0400 Received: from mail-qk0-f171.google.com ([209.85.220.171]:37399 "EHLO mail-qk0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932862AbeD0P21 (ORCPT ); Fri, 27 Apr 2018 11:28:27 -0400 Received: by mail-qk0-f171.google.com with SMTP id d74so1680518qkg.4 for ; Fri, 27 Apr 2018 08:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rajagiritech-edu-in.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ElqC7tADU+v/GRSgMjSvEGKpXBfx48c8pGl7LKcuyMQ=; b=VpbWhuQFDa0Sbhri8pC2L0TczMNEkot9aSTw6N9iIaqe1Bvy+7CrkeytkJ51J0YhgW ItMxN0xLAZvYoTu0LqpSg0c/Orm1u7aVwgT3wvcOU/0XI7+i3liMeDTM7WvWM1vAUCR1 XQpXu4x9UUMHHfZk6ByL7hsikk32BFXxF2IXEgWJAWSDWz0UOzpXpGyM6plG20qqA/5z 75DxF6a8xOGL4Jy0m8ucRpwokGvGmoiHQxTs9htewaMcerbkwbH+AMrd+CtAlpTKZWme G6UKPZpPjtcEUzABKGfolvAe/9l5r6dQcMkT72vekzlBQk6D7bEdFXuJaeukCLbU5kVl Gprw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ElqC7tADU+v/GRSgMjSvEGKpXBfx48c8pGl7LKcuyMQ=; b=d6HsyQTL5RL2JlB7lcHQsWRgRe4uN+tGXXc5cA/53lSP1f2pzmIPxn/oKhHJhLBNM8 HDYTrN+MEWlGCenO21JGu+4SO/xIbuCTc9TmFvmQ8dCJF4hA9tsa7PwnaFuNkUsUh3/y 1JbHqYQGyTLg488SjOz2+EUDdPcJhrMseYZBjRrDcGjwStyJMNev3ZNlYbMxvfEOwMSk hC9z9dnfrPJFJX0mQujuW8yK7MdacXPiDP5tX22gY9a7qUmATkAIJ3z3t+JJ3rxMF2ax rafOcIpj5Q+AMMJXyRVh/rrTUC3+O/IYjBOgCZ5HkoMjAcObV8GKhgM5os8CHn59oNrP 1/ag== X-Gm-Message-State: ALQs6tBCD+juc35//vNb9hrZQ7CWGCxJXEWqw6O563WpSD4EVeEBgoA2 y3HKFCI5+HDUdHnOi0Hm28RldkZgym0/rXnz1VeOiw== X-Received: by 10.55.176.2 with SMTP id z2mr2169224qke.222.1524842906844; Fri, 27 Apr 2018 08:28:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.170.73 with HTTP; Fri, 27 Apr 2018 08:28:26 -0700 (PDT) In-Reply-To: <20180427074130.GN20050@localhost> References: <20180427074130.GN20050@localhost> From: Jeffrin Thalakkottoor Date: Fri, 27 Apr 2018 20:58:26 +0530 Message-ID: Subject: Re: possible BUG: selftest about raw_skew failed To: Miroslav Lichvar Cc: Thomas Gleixner , Shuah Khan , Kees Cook , anton@enomsg.org, ccross@android.com, Tony Luck , John Stultz , sboyd@kernel.org, linux-kselftest@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org i think may be systemd-timesyncd was running. anyway currently the status is as follows... $systemctl status systemd-timesyncd.service =E2=97=8F systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2018-04-27 19:26:16 IST; 1h 11min ago Docs: man:systemd-timesyncd.service(8) Main PID: 514 (systemd-timesyn) Status: "Synchronized to time server 123.108.200.124:123 (0.debian.pool.ntp.org)." Tasks: 2 (limit: 4382) Memory: 1.8M CGroup: /system.slice/systemd-timesyncd.service =E2=94=94=E2=94=80514 /lib/systemd/systemd-timesyncd $ The test in the latest run show "PASS" see below... selftests: raw_skew =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Estimating clock drift: 26.836(est) 26.838(act) [OK] Pass 0 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 1..0 ok 1..7 selftests: raw_skew [PASS] On Fri, Apr 27, 2018 at 1:11 PM, Miroslav Lichvar wro= te: > On Thu, Apr 26, 2018 at 11:28:29PM +0200, Thomas Gleixner wrote: >> On Sat, 21 Apr 2018, Jeffrin Thalakkottoor wrote: >> > selftests: raw_skew >> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> > WARNING: ADJ_OFFSET in progress, this will cause inaccurate results >> > Estimating clock drift: 17.910(est) 16.820(act) [FAILED] > > Was ntpd, systemd-timesyncd, or some other NTP/PTP daemon running > shortly before or during the test? > > The warning indicates that the clock was slewed by adjtime() or > adjtimex(), which makes the measurement of the frequency less accurate > and the test may fail. > > Maybe this test and other tests that measure the frequency of the > system clock should be modified to SKIP when adjtimex() returns a > non-zero offset (or the frequency changes during the test)? > > -- > Miroslav Lichvar --=20 software engineer rajagiri school of engineering and technology