raw_skew test in timers from ubuntu_kernel_selftests Bail out on B-4.15

Bug #1882511 reported by Po-Hsu Lin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Issue found on 4.15.0-103.104-generic / 4.15.0-103.104-lowlatency on node "rizzo"

 selftests: raw_skew
 ========================================
 Estimating clock drift: 36.948(est) 0.0(act) [FAILED]
 Bail out!
 Pass 0 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
 1..0
 not ok 1..7 selftests: raw_skew [FAIL]

This issue does not exist in 4.15.0-102 on node rizzo.

Po-Hsu Lin (cypressyew)
summary: - raw_skew test in ubuntu_kernel_selftests Bail out on B-4.15
+ raw_skew test in timers from ubuntu_kernel_selftests Bail out on B-4.15
description: updated
Po-Hsu Lin (cypressyew)
tags: added: 4.15 bionic ubuntu-kernel-selftests
Po-Hsu Lin (cypressyew)
tags: added: sru-20200518
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

It looks like this issue is a bit random.

I tried to run it on 4.15.0-102 and 4.15.0-103, they all got skipped with:
 selftests: raw_skew
 ========================================
 WARNING: ADJ_OFFSET in progress, this will cause inaccurate results
 Estimating clock drift: 12.142(est) 11.73(act) [SKIP]
 1..0 # Skipped: The clock was adjusted externally. Shutdown NTPd or other time sync daemons
 not ok 1..7 selftests: raw_skew [SKIP]

Let's keep an eye on this issue.

Po-Hsu Lin (cypressyew)
tags: added: kqa-blocker
Po-Hsu Lin (cypressyew)
tags: added: sru-20200608
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Spotted on Eoan 5.3
5.3.0-64.58 With node rizzo

tags: added: 5.3 eoan sru-20200629
Po-Hsu Lin (cypressyew)
tags: added: 5.0 sru-20200720
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found on B-4.15 (4.15.0-1080.84) AWS with instance t3a.2xlarge only

tags: added: sru-20200810
tags: added: amd64 azure sru-20210104
Ian May (ian-may)
tags: added: sru-20210125
tags: added: aws
Revision history for this message
Ian May (ian-may) wrote :

Found on Bionic/aws 4.15.0-1095.102

tags: added: sru-20210222
Revision history for this message
Marcelo Cerri (mhcerri) wrote :

Also seen in bionic linux-gcp-fips 4.15.0-2007.8 for sru-20210315

tags: added: gcp-fips sru-20210315
Revision history for this message
Ian May (ian-may) wrote :

Found on bionic/linux-aws-fips: 4.15.0-2045.47

Revision history for this message
Krzysztof Kozlowski (krzk) wrote (last edit ):

Found on bionic/linux-azure-4.15/4.15.0-1123.136 on Standard_B1ms instance only:
----
Estimating clock drift: 62.230(est) 71.696(act) [FAILED]
Bail out!
----

tags: added: sru-20210816
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Found on 2021.11.08/bionic/linux-azure-4.15/4.15.0-1127.140:

17149 14:54:24 DEBUG| [stdout] selftests: raw_skew
17150 14:54:24 DEBUG| [stdout] ========================================
17151 14:56:24 DEBUG| [stdout] Estimating clock drift: 9.90(est) 19.661(act) [FAILED]
17152 14:56:24 DEBUG| [stdout] Bail out!

tags: added: hinted sru-20211108
Revision history for this message
Ian May (ian-may) wrote :

Found on bionic/linux-aws: 4.15.0-1116.123

Revision history for this message
Luke Nowakowski-Krijger (lukenow) wrote :

Found on 2022.01.31/impish/kvm/5.13.0-1013.14 and 2022.01.31/bionic/kvm/4.15.0-1107.109 and is failing with

19:54:27 DEBUG| [stdout] # selftests: timers: raw_skew
19:56:27 DEBUG| [stdout] # Estimating clock drift: 43.443(est) 0.0(act) [FAILED]
19:56:27 DEBUG| [stdout] # # Totals: pass:0 fail:0 xfail:0 xpass:0 skip:0 error:0
19:56:27 DEBUG| [stdout] not ok 1 selftests: timers: raw_skew # exit=1

This passed in other cycles with # Estimating clock drift: 0.0(est) 0.0(act) [OK]
but is now failing because it seems the function clock_gettime* in the test is now actually returning a value when it was not before.

Regardless this seems like a case of vm clock flakiness. Maybe something in glibc changed that caused this to finally return a value for some reason? Havent looked into it too much but doesent seem like a kernel issue.

tags: added: 5.13 impish sru-20220131
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.