Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 630018

Summary: >app-editors/vim-8.0.0983 fails tests ( Test_terminal_noblock line 23: Pattern 'done' does not match )
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) <kentnl>
Component: Current packagesAssignee: Vim Maintainers <vim>
Status: CONFIRMED ---    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=630042
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: vim-8.0.1056:20170905-163313.log.xz
emerge --info

Description Kent Fredric (IRC: kent\n) gentoo-dev 2017-09-05 18:25:01 UTC
Created attachment 492680 [details]
vim-8.0.1056:20170905-163313.log.xz

I've started noticing this happening since vim 8.0.0983.

grep -P -c '^function.*line\s*\d' $( grep -l 'FEATURES.*test' $( ls --time=ctime --sort=time -r ./vim-8* ) )
./vim-8.0.0938:20170829-075053.log:0
./vim-8.0.0983:20170903-101722.log:6
./vim-8.0.1056:20170905-163313.log:9
./vim-8.0.1056:20170905-165400.log:9
./vim-8.0.1056:20170905-170005.log:9
./vim-8.0.1056:20170905-170656.log:9
./vim-8.0.0983:20170905-171721.log:6
./vim-8.0.0983:20170905-172332.log:6
./vim-8.0.0983:20170905-174006.log:6
./vim-8.0.0938:20170905-175501.log:0
./vim-8.0.0938:20170905-181424.log:0

 grep -P -c '^function.*Test_terminal.*line\s*\d' $( grep -l 'FEATURES.*test' $( ls --time=ctime --sort=time -r ./vim-8* ) )
./vim-8.0.0938:20170829-075053.log:0
./vim-8.0.0983:20170903-101722.log:6
./vim-8.0.1056:20170905-163313.log:6
./vim-8.0.1056:20170905-165400.log:6
./vim-8.0.1056:20170905-170005.log:6
./vim-8.0.1056:20170905-170656.log:6
./vim-8.0.0983:20170905-171721.log:6
./vim-8.0.0983:20170905-172332.log:6
./vim-8.0.0983:20170905-174006.log:6
./vim-8.0.0938:20170905-175501.log:0
./vim-8.0.0938:20170905-181424.log:0


From test_terminal.vim:
Found errors in Test_terminal_noblock():
function RunTheTest[24]..Test_terminal_noblock line 23: Pattern 'done' does not match 'ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc'
function RunTheTest[24]..Test_terminal_noblock[26]..Stop_shell_in_terminal line 3: Expected 'dead' but got 'run'
Caught exception in Test_terminal_noblock(): Vim(bwipeout):E89: No write since last change for buffer 22 (add ! to override) @ function RunTheTest[24]..Test_terminal_noblock, line 31
Found errors in Test_terminal_redir_file():
Caught exception in Test_terminal_redir_file(): Vim(call):E630: channel_write_input(): write while not connected @ function RunTheTest[24]..Test_terminal_redir_file, line 5

And this second failure crops up in 8.0.1056:

 grep -P -c '^function.*Test_undofile.*line\s*\d' $( grep -l 'FEATURES.*test' $( ls --time=ctime --sort=time -r ./vim-8* ) )
./vim-8.0.0938:20170829-075053.log:0
./vim-8.0.0983:20170903-101722.log:0
./vim-8.0.1056:20170905-163313.log:3
./vim-8.0.1056:20170905-165400.log:3
./vim-8.0.1056:20170905-170005.log:3
./vim-8.0.1056:20170905-170656.log:3
./vim-8.0.0983:20170905-171721.log:0
./vim-8.0.0983:20170905-172332.log:0
./vim-8.0.0983:20170905-174006.log:0
./vim-8.0.0938:20170905-175501.log:0
./vim-8.0.0938:20170905-181424.log:0

From test_undo.vim:
Found errors in Test_undofile_earlier():
function RunTheTest[24]..Test_undofile_earlier line 22: Expected '' but got '\e[32m123'
TEST FAILURE
Comment 1 Kent Fredric (IRC: kent\n) gentoo-dev 2017-09-05 18:27:42 UTC
Created attachment 492682 [details]
emerge --info
Comment 2 Tim Harder gentoo-dev 2017-09-11 05:32:15 UTC
I'm not able to reproduce this. It could be interesting if you tried the live ebuild to see if the same failures occur.
Comment 3 Kent Fredric (IRC: kent\n) gentoo-dev 2017-09-11 23:05:30 UTC
If there are other settings that could conspire against this:

1. Running on a chroot
2. In a TMUX session
3. Connected via SSH
4. To an URXVT terminal

Latest commmit seems to have fixed the undo bug.

However, terminal one is still there:

grep -P '^function.*line\s*\d' '/var/tmp/portage/app-editors/vim-9999/temp/build.log' | sort -u
function RunTheTest[24]..Test_terminal_noblock[26]..Stop_shell_in_terminal line 3: Expected 'dead' but got 'run'
function RunTheTest[24]..Test_terminal_noblock line 23: Pattern 'done' does not match 'ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc'

And this is as-of 49a613f84aaa7cccd1d12a2ffc4ebb1956f973aa / v8.0.1097