Bug 29199 - FAIL: gdb.tui/completion.exp: completion of layout names: quit command input (timeout)
Summary: FAIL: gdb.tui/completion.exp: completion of layout names: quit command input ...
Status: RESOLVED DUPLICATE of bug 27813
Alias: None
Product: gdb
Classification: Unclassified
Component: cli (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-30 19:22 UTC by Tom de Vries
Modified: 2023-05-24 09:41 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom de Vries 2022-05-30 19:22:05 UTC
With taskset -c 3, I run into:
...
FAIL: gdb.tui/completion.exp: completion of layout names: quit command input (timeout)
FAIL: gdb.tui/completion.exp: completion of focus command: tab completion (timeout)
FAIL: gdb.tui/completion.exp: completion of focus command: quit command input (timeout)
...

In more detail:
...
(gdb) layout PASS: gdb.tui/completion.exp: completion of layout names: tab completion
FAIL: gdb.tui/completion.exp: completion of layout names: quit command input (timeout)
^Cfocus^GQuit^M
(gdb) ^G^M
Display all 197 possibilities? (y or n)FAIL: gdb.tui/completion.exp: completion of focus command: tab completion (timeout)
^CFAIL: gdb.tui/completion.exp: completion of focus command: quit command input (timeout)
...
Comment 1 Tom de Vries 2022-05-30 19:25:23 UTC
This was with trunk and a few patch, now also reproduced with pure trunk.

Also reproduced with taskset -c 0.

Frequency: about once in 10:
...
$ for n in $(seq 1 10); do taskset -c 0 ./test.sh 2>&1 | grep "expected passes"; done
# of expected passes            5
# of expected passes            5
# of expected passes            5
# of expected passes            5
# of expected passes            3
# of expected passes            5
# of expected passes            5
# of expected passes            5
# of expected passes            5
# of expected passes            5
...
Comment 2 Tom de Vries 2023-05-24 09:20:26 UTC
I think this is a duplicate of PR27813.

It's in a TUI test-case, but in the CLI part, so changing component to CLI.
Comment 3 Tom de Vries 2023-05-24 09:41:20 UTC
Marking as duplicate.

I'm preparing a patch to fix PR 27813 also for readline 7, and if that one gets committed we shouldn't be seeing this FAIL anymore.

*** This bug has been marked as a duplicate of bug 27813 ***