Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630018 - >app-editors/vim-8.0.0983 fails tests ( Test_terminal_noblock line 23: Pattern 'done' does not match )
Summary: >app-editors/vim-8.0.0983 fails tests ( Test_terminal_noblock line 23: Patter...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2017-09-05 18:25 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2021-03-26 08:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
vim-8.0.1056:20170905-163313.log.xz (vim-8.0.1056:20170905-163313.log.xz,170.87 KB, application/x-xz)
2017-09-05 18:25 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
emerge --info (einfo,4.73 KB, text/plain)
2017-09-05 18:27 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) 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) (RETIRED) 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) (RETIRED) 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
Comment 4 Larry the Git Cow gentoo-dev 2021-03-26 08:50:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbf9548d7b7f81510dd9252b8f90f830a3796a13

commit bbf9548d7b7f81510dd9252b8f90f830a3796a13
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-03-26 08:38:15 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-03-26 08:44:12 +0000

    app-editors/vim: drop old version
    
    Dropping all old versions, which do not support slotted lua, while
    current stable does.
    
    Closes: https://bugs.gentoo.org/616680
    Closes: https://bugs.gentoo.org/716450
    Closes: https://bugs.gentoo.org/715886
    Closes: https://bugs.gentoo.org/691892
    Closes: https://bugs.gentoo.org/688044
    Closes: https://bugs.gentoo.org/684336
    Closes: https://bugs.gentoo.org/642356
    Closes: https://bugs.gentoo.org/641946
    Closes: https://bugs.gentoo.org/645062
    Closes: https://bugs.gentoo.org/630018
    Closes: https://bugs.gentoo.org/629830
    Closes: https://bugs.gentoo.org/628974
    Closes: https://bugs.gentoo.org/612030
    
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 app-editors/vim/Manifest            |   4 -
 app-editors/vim/vim-8.2.0360.ebuild | 320 ------------------------------------
 app-editors/vim/vim-8.2.0508.ebuild | 320 ------------------------------------
 app-editors/vim/vim-8.2.0638.ebuild | 320 ------------------------------------
 app-editors/vim/vim-8.2.0814.ebuild | 320 ------------------------------------
 5 files changed, 1284 deletions(-)