Re: 4.9.0-rc8 - rcutorture test failure
From: Sachin Sant <hidden>
Date: 2016-12-09 10:58:01
But I am not seeing this as a failure. The last status print from the log you attached is as follows: =20 07:58:25 [ 2778.876118] rcu-torture: rtc: (null) ver: 24968 =
tfle: 0 rta: 24968 rtaf: 0 rtf: 24959 rtmbe: 0 rtbe: 0 rtbke: 0 rtbre: 0 = rtbf: 0 rtb: 0 nt: 10218404 onoff: 0/0:0/0 -1,0:-1,0 0:0 (HZ=3D250) = barrier: 0/0:0 cbflood: 22703
07:58:25 [ 2778.876251] rcu-torture: Reader Pipe: 161849976604 399197 =
0 0 0 0 0 0 0 0 0
07:58:25 [ 2778.876438] rcu-torture: Reader Batch: 145090807711 =
16759538163 0 0 0 0 0 0 0 0 0
07:58:25 [ 2778.876625] rcu-torture: Free-Block Circulation: 24967 =
24967 24966 24965 24964 24963 24962 24961 24960 24959 0
07:58:25 [ 2778.876829] rcu-torture:--- End of test: SUCCESS: =
nreaders=3D79 nfakewriters=3D4 stat_interval=3D60 verbose=3D1 = test_no_idle_hz=3D1 shuffle_interval=3D3 stutter=3D5 irqreader=3D1 = fqs_duration=3D0 fqs_holdoff=3D0 fqs_stutter=3D3 test_boost=3D1/0 = test_boost_interval=3D7 test_boost_duration=3D4 shutdown_secs=3D0 = stall_cpu=3D0 stall_cpu_holdoff=3D10 n_barrier_cbs=3D0 onoff_interval=3D0 = onoff_holdoff=3D0
=20 The "SUCCESS" indicates that rcutorture thought that it succeeded. Also, in the "Reader Pipe" and "Reader Batch" lines, only the first =
two
numbers in the series at the end of each line are non-zero, which also indicates a non-broken RCU. =20 So could you please let me know what your scripting didn't like about this log? =20
The test case has following piece of code which prints the failure
message during result analysis.
Checks for known bugs
"""
utils.system('dmesg -c > /dev/null')
pipe1 =3D [r for r in self.results if "!!! Reader Pipe:" in r]
if len(pipe1) !=3D 0:
raise error.TestError('\nBUG: grace-period failure !=E2=80=99)
sys.exit(0)
pipe2 =3D [r for r in self.results if "Reader Pipe" in r]
for p in pipe2:
nmiss =3D p.split(" ")[7]
if int(nmiss):
raise error.TestError('\nBUG: rcutorture tests failed !')
sys.exit(0)
I will double check on this.
Thanks
-Sachin=