timer_settime01 from ubuntu_ltp_syscalls failed on bionic /aws-4.15 on c5.metal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned | ||
linux-aws (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
21367. 09/25 08:38:06 DEBUG| utils:0153| [stdout] startup='Fri Sep 25 08:37:00 2020'
21368. 09/25 08:38:06 DEBUG| utils:0153| [stdout] tst_test.c:1250: TINFO: Timeout per run is 0h 05m 00s
21369. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21370. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21371. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21372. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21373. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21374. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21375. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21376. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21377. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21378. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21379. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21380. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21381. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21382. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21383. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21384. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21385. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21386. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21387. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21388. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21389. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21390. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21391. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21392. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21393. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21394. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21395. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21396. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21397. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21398. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21399. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21400. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21401. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21402. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21403. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21404. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21405. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21406. 09/25 08:38:06 DEBUG| utils:0153| [stdout] timer_settime01
21407. 09/25 08:38:06 DEBUG| utils:0153| [stdout]
21408. 09/25 08:38:06 DEBUG| utils:0153| [stdout] HINT: You _MAY_ be missing kernel fixes, see:
21409. 09/25 08:38:06 DEBUG| utils:0153| [stdout]
21410. 09/25 08:38:06 DEBUG| utils:0153| [stdout] https:/
21411. 09/25 08:38:06 DEBUG| utils:0153| [stdout] https:/
21412. 09/25 08:38:06 DEBUG| utils:0153| [stdout]
21413. 09/25 08:38:06 DEBUG| utils:0153| [stdout] Summary:
21414. 09/25 08:38:06 DEBUG| utils:0153| [stdout] passed 32
21415. 09/25 08:38:06 DEBUG| utils:0153| [stdout] failed 1
21416. 09/25 08:38:06 DEBUG| utils:0153| [stdout] skipped 0
21417. 09/25 08:38:06 DEBUG| utils:0153| [stdout] warnings 0
21418. 09/25 08:38:06 DEBUG| utils:0153| [stdout] tag=timer_settime01 stime=1601023020 dur=2 exit=exited stat=1 core=no cu=202 cs=0
no longer affects: | linux (Ubuntu) |
tags: | added: kqa-blocker |
Changed in linux-aws (Ubuntu): | |
status: | New → Invalid |
Changed in linux-aws (Ubuntu Bionic): | |
status: | New → Invalid |
tags: |
added: ubuntu-ltp-syscalls removed: ubuntu-ltp |
The reading back of the timer seems relatively recent.
commit b34e243e85dde08 9dbb84dd6d63dc0 fe95b4d504
Author: Viresh Kumar <email address hidden>
Date: Wed Jul 8 16:01:04 2020 +0530
syscalls/ timer_settime01 : Make sure the timer fires
This patch improves the testcase by doing multiple things:
- Make sure the timer fires and catch the signals.
- Verify the values set to the itimerspec by reading them again using gettime( ) syscalls.
timer_
- Reduce the timer interval, 5 seconds was way too much.
Signed-off-by: Viresh Kumar <email address hidden>
Signed-off-by: Cyril Hrubis <email address hidden>
That said, we are off by 34 nanoseconds. Not sure that is a strict requirement to have the alarm be triggered by not more than the value given. But this is so close, I would hardly designate it as a bug. Add to it that this is using ABSTIME. There could be a hidden bug here, but I would bet this is not a regression and it hardly matters much. And it is not anyone of the two commits referred by the test.
Cascardo.