hangup01 from pty in ubuntu_ltp_stable failed on G-5.8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Testcase hangup01 from ubuntu_
Test case failed with:
hangup01 1 TFAIL : hangup01.c:132: unexpected message 3
tag=hangup01 stime=1618856629 dur=1 exit=exited stat=1
It was found that the regression was introduced by the following commits applied via stable uddates:
dd78b0c483e3 tty: implement read_iter
3b830a9c34d5 tty: convert tty_ldisc_ops 'read()' function to take a kernel pointer
These patches were applied via bug 1921960 ("Groovy update: upstream stable patchset 2021-03-30").
[Fix]
Revert the patches mentioned above until a fix can be found.
[Test case]
Run the pty testsuite from ubuntu_ltp_stable.
[Where problems could occur]
If reverting these two patches is not enough to bring the code to the behavior of the tty driver before 5.8.0-51.57 then remaining issues could still be present on the tty code. Those issues should be caught by the ltp testcases though.
[Original Description]
Issue found on Groovy 5.8.0-51.57 with P8 node "dryden" and ARM64 node "helo-kernel" and AMD64 node "onibi"
Test case failed with:
hangup01 1 TFAIL : hangup01.c:132: unexpected message 3
tag=hangup01 stime=1618856629 dur=1 exit=exited stat=1
tags: | added: sru-20210412 |
Changed in linux (Ubuntu Groovy): | |
status: | Incomplete → Confirmed |
description: | updated |
description: | updated |
Changed in linux (Ubuntu): | |
status: | Incomplete → Fix Released |
Changed in linux (Ubuntu Groovy): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-kernel-tests: | |
status: | New → Fix Released |
tags: |
added: verification-done-focal removed: verification-needed-focal |
Reproduced manually with node dryden, it looks like this is a potential regression.
5.8.0-50.56 - passed
5.8.0-51.57 - failed
<<<test_start>>> status> >> status= "ok" type=exited termination_id=1 corefile=no
tag=hangup01 stime=1618996707
cmdline="hangup01"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
hangup01 1 TFAIL : hangup01.c:132: unexpected message 3
<<<execution_
initiation_
duration=1 termination_
cutime=0 cstime=0
<<<test_end>>>
Apr 21 09:18:27 dryden kernel: [ 7150.667723] LTP: starting hangup01