Hi,
When trying to run the autopkgtests, I got the following test failure:
Failures:
1) integration tests remote plugin DSL #autocmd
Failure/Error: expect(status).to be_success, lambda { output.read }
NVIM v0.2.1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-BECBrH/neovim-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DDISABLE_LOG -Wdate-time -D_FORTIFY_SOURCE=2 -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -O2 -g -DMIN_LOG_LEVEL=3 -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/build/neovim-BECBrH/neovim-0.2.1/build/config -I/build/neovim-BECBrH/neovim-0.2.1/src -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/build/neovim-BECBrH/neovim-0.2.1/build/src/nvim/auto -I/build/neovim-BECBrH/neovim-0.2.1/build/include
Compiled by pkg-vim-maintainers@lists.alioth.debian.org
Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Starting Vader: 1 suite(s), 3 case(s)
Starting Vader: /tmp/autopkgtest-lxc.p99garm4/downtmp/build.MTg/src/spec/integration/rplugin_autocmd_spec.vim
(1/3) [EXECUTE] Trigger event for matching patterns
(1/3) [EXECUTE] (X) Vim(cd):E344: Can't find directory "/tmp/autopkgtest-lxc.p99garm4/downtmp/build.MTg/src/debian/fakehome" in cdpath
> function <SNR>33_query_path, line 16
(2/3) [EXECUTE] Don't trigger event for non-matching patterns
(3/3) [EXECUTE] Trigger event with eval
Success/Total: 2/3
Success/Total: 2/3 (assertions: 2/2)
Elapsed time: 0.412890 sec.
# ./spec/integration_spec.rb:70:in `block (5 levels) in <top (required)>'
# ./spec/integration_spec.rb:117:in `block in run_vader'
# ./spec/integration_spec.rb:111:in `run_vader'
# ./spec/integration_spec.rb:69:in `block (4 levels) in <top (required)>'
# ./spec/integration_spec.rb:16:in `block (3 levels) in <top (required)>'
# ./spec/integration_spec.rb:16:in `chdir'
# ./spec/integration_spec.rb:16:in `block (2 levels) in <top (required)>'
# ./spec/helper.rb:32:in `block (3 levels) in <top (required)>'
# ./spec/helper.rb:32:in `block (2 levels) in <top (required)>
Full output of the command attached.
Can you have a look?
Thanks
Cédric
┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby2.3 │
└──────────────────────────────────────────────────────────────────────────────┘
Invalid gemspec in [neovim.gemspec]: No such file or directory - git
GEM_PATH= ruby2.3 -e gem\ \"neovim\"
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.3 from debian/ruby-tests.rake │
└──────────────────────────────────────────────────────────────────────────────┘
mv lib .gem2deb.lib
RUBYLIB=. GEM_PATH= ruby2.3 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation
Run options: exclude {:embedded=>true}
Randomized with seed 40472
Neovim::Client
example at ./spec/neovim/client_spec.rb:8
#method_missing
enables nvim_* function calls
raises exceptions for incorrect usage
raises exceptions for unknown methods
#methods
includes api methods
includes builtin methods
#respond_to?
returns false otherwise
returns true for Ruby functions
returns true for vim functions
#current
returns the target
Vim
Vim
is an alias for the Vim module
Neovim::Window
refers to Neovim::Window
Neovim::Buffer
refers to Neovim::Buffer
#method_missing
delegates method calls to @__client
refreshes global variables
integration tests
:rubydo
vader specs
:rubyfile
vader specs
ruby-buffer
ruby-vim
ruby-window
remote plugin DSL
#autocmd (FAILED - 1)
#command
#function
:ruby
vader specs
ruby-buffer
ruby-window
ruby-vim
Neovim::Session::EventLoop
tcp
sends and receives data
unix
sends and receives data
#write
retries when writes would block
#run
handles other errors
handles EOF
#shutdown
closes IO handles
kills spawned processes
child
sends and receives data
stdio
sends and receives data
Neovim::Host
#handle
rescues plugin sync handler exceptions
calls the specs handler
calls the poll handler
calls a default async handler
calls a default sync handler
calls a plugin sync handler
calls a plugin async handler
#specs
has default specs
#run
runs the session event loop and handles messages
rescues session exceptions
#register
adds plugin handlers
yields a client to the plugin setup blocks
doesn't add top-level RPCs to specs
adds specs
.run
loads plugins and runs the host event loop
#handlers
has a default poll handler
Neovim::Session::RPC
unix
receives responses to requests
receives requests
receives notifications
#run
logs exceptions
tcp
receives requests
receives notifications
receives responses to requests
Neovim::Buffer
.[]
returns the buffer from the global Vim client at the given index
.count
returns the current buffer count from the global Vim client
.current
returns the current buffer from the global Vim client
Neovim::Session::Notification
has readers
#sync?
is false
Neovim::Logging
.logger
fetches the level from $NVIM_RUBY_LOG_LEVEL as an integer
defaults the level to WARN
fetches the level from $NVIM_RUBY_LOG_LEVEL as a string
defaults the output to STDERR
fetches the output from $NVIM_RUBY_LOG_FILE
Neovim::RemoteObject
Neovim::Buffer
#method_missing
enables nvim_buf_* function calls
#respond_to?
returns true for Buffer functions
returns true for Ruby functions
returns false otherwise
#methods
returns builtin methods
returns api methods
Neovim::Window
#respond_to?
returns false otherwise
returns true for Window functions
returns true for Ruby functions
#method_missing
falls back to super
enables nvim_win_* function calls
#methods
returns api methods
returns builtin methods
Neovim::Tabpage
#respond_to?
returns true for Ruby functions
returns true for Tabpage functions
returns false otherwise
#methods
returns builtin methods
returns api methods
#method_missing
enables nvim_tabpage_* function calls
Neovim::Host::Loader
#load
doesn't leak constants defined in plugins
doesn't leak the overidden Neovim.plugin method
registers multiple plugins defined in the provided files
registers plugins defined in the provided files
doesn't register plugins when none are defined
Neovim::Window
.count
only includes windows within a tabpage
returns the current window count from the global Vim client
.[]
returns the window at the given index
only includes windows within a tabpage
.current
returns the current window from the global Vim client
Neovim::Plugin
.from_config_block
registers a top level RPC
registers setup callbacks
registers a function
registers a command
registers an autocmd
#specs
returns specs for plugin handlers
doesn't include specs for top-level RPCs
Neovim::Session
tcp
#request
raises an exception when there are errors
fails outside of the main thread
synchronously returns a result
handles large data
#run
supports requests within callbacks
enqueues messages received during blocking requests
#notify
fails outside of the main thread
doesn't raise exceptions
handles large data
returns nil
#channel_id
returns nil when the API hasn't been discovered
returns the channel_id when the API has been discovered
unix
#channel_id
returns the channel_id when the API has been discovered
returns nil when the API hasn't been discovered
#run
supports requests within callbacks
enqueues messages received during blocking requests
#request
fails outside of the main thread
handles large data
synchronously returns a result
raises an exception when there are errors
#notify
returns nil
doesn't raise exceptions
handles large data
fails outside of the main thread
child
#run
supports requests within callbacks
enqueues messages received during blocking requests
#request
raises an exception when there are errors
handles large data
fails outside of the main thread
synchronously returns a result
#notify
returns nil
handles large data
doesn't raise exceptions
fails outside of the main thread
#channel_id
returns nil when the API hasn't been discovered
returns the channel_id when the API has been discovered
Neovim::Buffer
#lines=
updates the buffer's lines
#lines
returns a LineRange
Neovim::Current
#window=
returns an integer
sets the current window from an integer
sets the current window from a Window
returns a Window
#window
returns the current window
#buffer=
sets the current buffer from an integer
returns a Buffer
returns an integer
sets the current buffer from a Buffer
#tabpage
returns the current tabpage
#line=
sets the content of the current line
#tabpage=
sets the current tabpage from an integer
returns an integer
returns a Tabpage
sets the current tabpage from a Tabpage
#buffer
returns the current buffer
#line
returns the contents of the line
returns an empty string if the current line is empty
Neovim::Session::Request
has readers
#error
writes an RPC error response to serializer
#respond
writes an RPC response to serializer
#sync?
is true
Neovim
.attach_child
spawns and attaches to a child process
.executable
returns the current executable
.attach_tcp
attaches to a TCP socket
.attach_unix
attaches to a UNIX socket
Neovim::Executable
.from_env
returns a default path
respects NVIM_EXECUTABLE
#version
raises with an invalid executable path
returns the current nvim version
Neovim::Session::Serializer
tcp
sends and receives data
unix
sends and receives data
#run
logs exceptions
Neovim::LineRange
#[]
accepts a single index
accepts an index and length
accepts a range
#replace
replaces all lines
#==
compares line contents
#delete
returns the line deleted
returns nil if provided a non-integer
deletes the line at the given index
#to_a
returns lines as an array
returns a large number of lines as an array
#[]=
accepts a single index
accepts a range
accepts an index and length
#each
yields a large number of lines
yields each line
Neovim::Session::API
#functions_for_object
returns relevant functions
.null
returns an empty API object
#functions_for_object_method
returns relevant functions
Failures:
1) integration tests remote plugin DSL #autocmd
Failure/Error: expect(status).to be_success, lambda { output.read }
NVIM v0.2.1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-BECBrH/neovim-0.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DDISABLE_LOG -Wdate-time -D_FORTIFY_SOURCE=2 -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -O2 -g -DMIN_LOG_LEVEL=3 -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/build/neovim-BECBrH/neovim-0.2.1/build/config -I/build/neovim-BECBrH/neovim-0.2.1/src -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/build/neovim-BECBrH/neovim-0.2.1/build/src/nvim/auto -I/build/neovim-BECBrH/neovim-0.2.1/build/include
Compiled by pkg-vim-maintainers@lists.alioth.debian.org
Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Starting Vader: 1 suite(s), 3 case(s)
Starting Vader: /tmp/autopkgtest-lxc.p99garm4/downtmp/build.MTg/src/spec/integration/rplugin_autocmd_spec.vim
(1/3) [EXECUTE] Trigger event for matching patterns
(1/3) [EXECUTE] (X) Vim(cd):E344: Can't find directory "/tmp/autopkgtest-lxc.p99garm4/downtmp/build.MTg/src/debian/fakehome" in cdpath
> function <SNR>33_query_path, line 16
(2/3) [EXECUTE] Don't trigger event for non-matching patterns
(3/3) [EXECUTE] Trigger event with eval
Success/Total: 2/3
Success/Total: 2/3 (assertions: 2/2)
Elapsed time: 0.412890 sec.
# ./spec/integration_spec.rb:70:in `block (5 levels) in <top (required)>'
# ./spec/integration_spec.rb:117:in `block in run_vader'
# ./spec/integration_spec.rb:111:in `run_vader'
# ./spec/integration_spec.rb:69:in `block (4 levels) in <top (required)>'
# ./spec/integration_spec.rb:16:in `block (3 levels) in <top (required)>'
# ./spec/integration_spec.rb:16:in `chdir'
# ./spec/integration_spec.rb:16:in `block (2 levels) in <top (required)>'
# ./spec/helper.rb:32:in `block (3 levels) in <top (required)>'
# ./spec/helper.rb:32:in `block (2 levels) in <top (required)>'
Finished in 7.31 seconds (files took 0.20101 seconds to load)
194 examples, 1 failure
Failed examples:
rspec ./spec/integration_spec.rb[1:4:3] # integration tests remote plugin DSL #autocmd
Randomized with seed 40472
/usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
mv .gem2deb.lib lib
Attachment:
signature.asc
Description: PGP signature