>>> ruby-listen: Building community/ruby-listen 3.7.1-r1 (using abuild 3.11.0_rc13-r0) started Fri, 21 Apr 2023 06:15:05 +0000 >>> ruby-listen: Checking sanity of /home/buildozer/aports/community/ruby-listen/APKBUILD... >>> ruby-listen: Analyzing dependencies... >>> ruby-listen: Installing for build: build-base ruby ruby-rb-inotify ruby-rspec (1/15) Installing libffi (3.4.4-r2) (2/15) Installing readline (8.2.1-r1) (3/15) Installing yaml (0.2.5-r1) (4/15) Installing ruby-libs (3.1.4-r1) (5/15) Installing libucontext (1.2-r2) (6/15) Installing ruby (3.1.4-r1) (7/15) Installing ruby-ffi (1.15.5-r1) Executing ruby-ffi-1.15.5-r1.post-install (8/15) Installing ruby-rb-inotify (0.10.1-r2) (9/15) Installing ruby-rspec-support (3.12.0-r0) (10/15) Installing ruby-rspec-core (3.12.0-r0) (11/15) Installing ruby-diff-lcs (1.5.0-r1) (12/15) Installing ruby-rspec-expectations (3.12.0-r0) (13/15) Installing ruby-rspec-mocks (3.12.0-r0) (14/15) Installing ruby-rspec (3.12.0-r0) (15/15) Installing .makedepends-ruby-listen (20230421.061525) Executing busybox-1.36.0-r7.trigger OK: 343 MiB in 112 packages >>> ruby-listen: Cleaning up srcdir >>> ruby-listen: Cleaning up pkgdir >>> ruby-listen: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/listen-3.7.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> ruby-listen: Fetching https://github.com/guard/listen/archive/v3.7.1/listen-3.7.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 56280 0 56280 0 0 91647 0 --:--:-- --:--:-- --:--:-- 171k >>> ruby-listen: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/listen-3.7.1.tar.gz >>> ruby-listen: Checking sha512sums... listen-3.7.1.tar.gz: OK tests-remove-unnecessary-requires.patch: OK gemspec.patch: OK >>> ruby-listen: Unpacking /var/cache/distfiles/v3.18/listen-3.7.1.tar.gz... >>> ruby-listen: tests-remove-unnecessary-requires.patch patching file spec/spec_helper.rb >>> ruby-listen: gemspec.patch patching file listen.gemspec Successfully built RubyGem Name: listen Version: 3.7.1 File: listen-3.7.1.gem Run options: include {:focus=>true} All examples were filtered out; ignoring {:focus=>true} Randomized with seed 26090 Listen::Adapter::BSD class is expected not to be usable Listen::Listener #pause sets paused to true #only with existing only options overwrites existing ignore options (FAILED - 1) #stop when only initialized terminates when fully started terminates #ignore with existing ignore options adds up to existing ignore options (FAILED - 2) with existing ignore options (array) adds up to existing ignore options (FAILED - 3) #listen? when paused is expected not to be processing when stopped is expected not to be processing when processing is expected to be processing #start sets paused to false starts adapter #ignore! with no existing options sets options with existing ignore! options overwrites existing ignore options (FAILED - 4) with existing ignore options deletes ignore options (FAILED - 5) #paused? returns true when paused returns false when not paused initialize is expected not to be paused with directories passes directories to backend with a block passes the block to the event processor unpause with start sets paused to false Listen::Event::Loop #start is started when start is called again returns silently when state change to :started takes longer than 5 seconds raises Error::NotStarted when set up / started #stop waits for the thread to finish sets the reason for waking up frees the thread Listen::Directory #scan with recursive on with file.rb & subdir in record with subdir2 path present snapshots changes for file, file2 & subdir paths (FAILED - 6) with empty dir snapshots changes for file & subdir path (FAILED - 7) with empty record with subdir present in dir snapshots changes for subdir (FAILED - 8) with non-existing dir reports no changes #scan with recursive off with file & subdir in record with empty dir sets record dir path snapshots changes for file path and dir that doesn't exist (FAILED - 9) when file2.rb is added notices file removed and file2 changed when file.rb no longer exists after scan rescans when file.rb removed notices file was removed when subdir is removed notices subdir does not exist (FAILED - 10) with empty record when network share is disconnected unsets record dir path reports no changes with file.rb in dir snapshots changes for file & file2 paths with non-existing dir path unsets record dir path reports no changes Listen::Adapter::Base handling events when an event occurs passes invalidates the snapshot based on the event (FAILED - 11) #start runs the adapter builds record Listen::Silencer::Controller append_ignores with previous :ignore rules when providing a single regexp as argument appends the given :ignore rules as array (FAILED - 12) when providing a nil reconfigures with existing :ignore rules (FAILED - 13) when providing as array appends the given :ignore rules (FAILED - 14) when providing multiple arguments appends the given :ignore rules as a flat array (FAILED - 15) with no previous :ignore rules when providing a nil sets the given :ignore rules as empty array when providing as array sets the given :ignore rules (FAILED - 16) when providing multiple arguments sets the given :ignore rules as a flat array (FAILED - 17) when providing a single regexp as argument sets the given :ignore rules as array (FAILED - 18) Listen.logger logger infers WARN level from LISTEN_GEM_DEBUGGING="warning" infers INFO level from LISTEN_GEM_DEBUGGING="TRUE " infers DEBUG level from LISTEN_GEM_DEBUGGING="2" infers INFO level from LISTEN_GEM_DEBUGGING=" true" infers INFO level from LISTEN_GEM_DEBUGGING=" yesss!" infers INFO level from LISTEN_GEM_DEBUGGING="YES" infers FATAL level from LISTEN_GEM_DEBUGGING="fatal" infers WARN level from LISTEN_GEM_DEBUGGING=" warn" infers DEBUG level from LISTEN_GEM_DEBUGGING="DEBUG" infers INFO level from LISTEN_GEM_DEBUGGING="true" returns default logger if none set infers WARN level from LISTEN_GEM_DEBUGGING="warn" infers INFO level from LISTEN_GEM_DEBUGGING="info" infers WARN level from LISTEN_GEM_DEBUGGING="WARN" infers INFO level from LISTEN_GEM_DEBUGGING="INFO" infers ERROR level from LISTEN_GEM_DEBUGGING="error" infers ERROR level from LISTEN_GEM_DEBUGGING="OTHER" infers FATAL level from LISTEN_GEM_DEBUGGING="FATAL" infers FATAL level from LISTEN_GEM_DEBUGGING=" fatal" infers ERROR level from LISTEN_GEM_DEBUGGING="ERROR" infers INFO level from LISTEN_GEM_DEBUGGING="TRUE" infers INFO level from LISTEN_GEM_DEBUGGING="1" infers INFO level from LISTEN_GEM_DEBUGGING="level1" infers DEBUG level from LISTEN_GEM_DEBUGGING="debug" infers DEBUG level from LISTEN_GEM_DEBUGGING="2 " infers INFO level from LISTEN_GEM_DEBUGGING="yes" infers DEBUG level from LISTEN_GEM_DEBUGGING="level2" logger= allows the logger to be set allows nil to be set (implying default logger) Listen::File #change with file record with non-existing file is expected to eq :removed sets path in record with existing file with different mode in record is expected to equal :modified sets path in record with expected data with same mode in record with identical mtime in record with inaccurate stat times with real mtime barely within last second without available sha should not unset record is expected to equal :removed with available sha with different sha in record sets path in record with expected data is expected to equal :modified with no sha in record is expected to be nil with same sha in record is expected to be nil with real mtime barely not within last second is expected to be nil with accurate stat times is expected to be nil with earlier mtime than in record is expected to equal :modified sets path in record with expected data with later mtime than in record is expected to equal :modified sets path in record with expected data with empty record with existing path sets path in record with expected data returns added #inaccurate_mac_time? with one accurate time is expected to be falsey with no accurate times is expected to be truthy with all accurate times is expected to be falsey Listen when never started extra calls to stop allows stop with normal start/stop with paths set allows extra calls to stop with one listen dir force_polling option to true with default ignore options listens to sub-subdirectory removed listen to the files of a removed directory with nothing in listen dir is expected to process addition of "file.rb" listens to file moved inside is expected to process addition of ".hidden" listens to multiple files addition dir in listen dir is expected to process addition of "dir/file.rb" with .bundle dir ignored by default is expected not to process addition of ".bundle/file.rb" dir with file in listen dir listens to file move two dirs with files in listen dir listens to dir move listens to multiple file moves existing file.rb in listen dir listens to file mode change is expected to process removal of "file.rb" is expected to process modification of "file.rb" listens to file.rb moved out listens to subdirectory removed listen to the files of a removed directory hidden file in listen dir is expected to process modification of ".hidden" when :ignore is *ignored_dir* when default ignore is *.rb is expected not to process addition of "file.rb" with #ignore! on *.txt mask is expected to process addition of "file.rb" is expected not to process addition of "file.txt" with #ignore on *.txt mask is expected not to process addition of "file.txt" is expected not to process addition of "file.rb" when :ignore is bar.rb when :only is *.rb is expected not to process addition of "bar.rb" is expected to process addition of "file.rb" is expected not to process addition of "file.txt" ignored dir with file in listen dir is expected not to process addition of "ignored_dir/file.rb" when :only is *.rb is expected to process addition of "file.rb" is expected not to process addition of "file.txt" when polling with a large latency passes the latency option correctly force_polling option to false with default ignore options listens to sub-subdirectory removed listen to the files of a removed directory with nothing in listen dir listens to file moved inside is expected to process addition of ".hidden" listens to multiple files addition is expected to process addition of "file.rb" with .bundle dir ignored by default is expected not to process addition of ".bundle/file.rb" dir with file in listen dir listens to file move dir in listen dir is expected to process addition of "dir/file.rb" hidden file in listen dir is expected to process modification of ".hidden" existing file.rb in listen dir is expected to process removal of "file.rb" is expected to process modification of "file.rb" listens to file.rb moved out listens to file mode change listens to subdirectory removed listen to the files of a removed directory two dirs with files in listen dir listens to dir move listens to multiple file moves when driver does not support option does not pass the latency option when :ignore is *ignored_dir* when :ignore is bar.rb when :only is *.rb is expected not to process addition of "bar.rb" is expected to process addition of "file.rb" is expected not to process addition of "file.txt" when :only is *.rb is expected to process addition of "file.rb" is expected not to process addition of "file.txt" when default ignore is *.rb is expected not to process addition of "file.rb" with #ignore on *.txt mask is expected not to process addition of "file.rb" is expected not to process addition of "file.txt" with #ignore! on *.txt mask is expected not to process addition of "file.txt" is expected to process addition of "file.rb" ignored dir with file in listen dir is expected not to process addition of "ignored_dir/file.rb" Listen .stop stops all listeners .to initalizes listener Listen::Thread .new calls Thread.new when nested exceptions raised details exception causes when exception raised rescues and logs exceptions rescues and logs backtrace + exception backtrace when exception raised that is not derived from StandardError SystemStackError does not rescue SystemExit does not rescue SecurityError does not rescue NoMemoryError does not rescue TestExceptionDerivedFromException does not rescue .rescue_and_log rescues and logs nested exceptions when exception raised that is not derived from StandardError raises out Listen::Adapter::Config #queue provides a direct queue for filesystem events #adapter_options provides a set of adapter_specific options #initialize with no directories returns the current path in array with directories as array with Pathnames for directories returns array of pathnames with strings for directories when already resolved returns array of pathnames when not resolved returns array of resolved pathnames with directories as messy array implement me (PENDING: Not yet implemented) #silencer provides a silencer object Listen::MonotonicTime module methods .now when CLOCK_MONOTONIC defined returns the CLOCK_MONOTONIC tick count when CLOCK_MONOTONIC not defined but CLOCK_MONOTONIC_RAW defined returns the floating point Time.now when neither CLOCK_MONOTONIC nor CLOCK_MONOTONIC_RAW defined returns the floating point Time.now Listen::Change #change directory calls Listen::Directory#new with build options calls still_building! on record file with known change doesn't notify to listener if path is silenced notifies change directly to listener with unknown change doesn't call Listen::File#change if path is silenced calls Listen::File#change that returns no change doesn't notifies no change that returns a change listener listen notifies change to listener silence option notifies change to listener Listen::Event::Processor _process_changes when it raises an exception derived from StandardError rescues and logs exception and continues #loop_for when not stopped when initially processing when event queue is empty when stopped after sleeping sleeps, waiting to be woken up breaks when event queue has events when there were events ages ago processes events when initially paused when stopped after sleeping sleeps, waiting to be woken up breaks when still paused after sleeping when there were no events for ages still does not process events because it is paused when there were no events before sleeps for latency to possibly later optimize some events when stopped with pending changes does not change the event queue does not sleep Listen::Silencer #silenced? is expected to accept :file and # when accepting only foo/* and *.txt is expected not to accept :file and "bar/baz.rb" is expected to accept :file and "bar.txt" is expected not to accept :file and "bar.rb" is expected to accept :file and "foo/bar.rb" with default ignore is expected not to accept :file and ".mutagen-temporary-cross-device-rename0" is expected not to accept :file and "foo~" is expected to accept :file and "sedabcdefg" is expected to accept :dir and "logfoo" is expected to accept :dir and "foolog" is expected to accept :dir and "foo.svn" is expected not to accept :file and "foo.swpx" is expected to accept :dir and "foovendor/bundle" is expected not to accept :dir and ".svn" is expected to accept :dir and "foovendor/ruby" is expected not to accept :file and ".goutputstream-S3FBGX" is expected to accept :dir and ".bundlefoo" is expected not to accept :file and "foo.swx" is expected to accept :file and "foo.tmpl" is expected not to accept :dir and "log" is expected not to accept :dir and ".bundle" is expected to accept :dir and "foo.bundle" is expected not to accept :dir and "vendor/bundle" is expected to accept :dir and "foobundle" is expected to accept :dir and "foo.rbx" is expected to accept :file and "file54321.new" is expected to accept :file and "a.swf" is expected not to accept :file and "foo.rb___jb_old___" is expected not to accept :dir and "bundle" is expected to accept :file and "foo.sedq7eVAR" is expected to accept :dir and "foo.git" is expected to accept :file and "sedan2014" is expected to accept :dir and ".rbxfoo" is expected to accept :dir and ".hgfoo" is expected not to accept :file and "foo.rbB22583.new" is expected to accept :file and "sed_ABCDE" is expected to accept :dir and "footmp" is expected not to accept :file and ".#hello.rb" is expected not to accept :dir and "vendor/ruby" is expected to accept :dir and "tmpfoo" is expected to accept :file and "14913" is expected not to accept :dir and "tmp" is expected to accept :file and "sediments" is expected not to accept :file and "foo.rbo54321.new" is expected not to accept :dir and ".git" is expected to accept :dir and ".gitfoo" is expected to accept :dir and "foo.hg" is expected not to accept :file and "#hello.rb#" is expected to accept :file and "sedatives" is expected to accept :dir and "bundlefoo" is expected not to accept :file and "sedq7eVAR" is expected to accept :dir and "vendor/bundlefoo" is expected to accept :dir and ".svnfoo" is expected not to accept :file and "foo.rb.kate-swp" is expected not to accept :file and "foo.rb___jb_bak___" is expected not to accept :file and "foo.swp" is expected not to accept :file and "4913" is expected to accept :file and "49131" is expected to accept :file and "file.new" is expected not to accept :dir and ".hg" is expected not to accept :file and ".mutagen-temporary-unicode-test-éntry0" is expected not to accept :file and "sed86w1kB" is expected not to accept :file and ".DS_Store" is expected to accept :dir and "vendor/rubyfoo" is expected to accept :file and ".sedq7eVAR" is expected not to accept :dir and ".rbx" is expected not to accept :file and "foo.tmp" when ignoring only *.pid is expected to accept :file and ".git" is expected not to accept :file and "foo.pid" when accepting only *.pid when ignoring bar* is expected not to accept :file and "foo.rb" is expected not to accept :file and "bar.pid" is expected to accept :file and "foo.pid" when ignoring *.pid is expected not to accept :file and "foo.pid" when accepting only *foo* is expected to accept :file and "foo" is expected not to accept :file and "bar" when ignoring foo/bar* and *.pid is expected not to accept :file and "foo.pid" is expected not to accept :file and "foo/bar/baz" Listen::Backend #stop stops the adapter #start starts the adapter #initialize with config sets up an adapter class Listen::Adapter::Polling class is expected to be usable with a valid configuration #_latency with custom latency overriding is expected to eq 1234 with no overriding option is expected to eq 1.0 #start # terminated with exception (report_on_exception is true): /usr/lib/ruby/gems/3.1.0/gems/rspec-support-3.12.0/lib/rspec/support.rb:102:in `block in ': # received :invalidate with unexpected arguments (RSpec::Mocks::MockExpectationError) expected: (:dir, ".", {:recursive=>true}) (keyword arguments) got: (:dir, ".", {:recursive=>true}) (options hash) from /usr/lib/ruby/gems/3.1.0/gems/rspec-support-3.12.0/lib/rspec/support.rb:111:in `notify_failure' from /usr/lib/ruby/gems/3.1.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/error_generator.rb:338:in `notify' from /usr/lib/ruby/gems/3.1.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/error_generator.rb:322:in `__raise' from /usr/lib/ruby/gems/3.1.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/error_generator.rb:55:in `raise_unexpected_message_args_error' from /usr/lib/ruby/gems/3.1.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/message_expectation.rb:555:in `raise_unexpected_message_args_error' from /usr/lib/ruby/gems/3.1.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/proxy.rb:222:in `message_received' from /usr/lib/ruby/gems/3.1.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/method_double.rb:80:in `proxy_method_invoked' from /usr/lib/ruby/gems/3.1.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/verifying_proxy.rb:161:in `proxy_method_invoked' from /usr/lib/ruby/gems/3.1.0/gems/rspec-mocks-3.12.0/lib/rspec/mocks/method_double.rb:64:in `block (2 levels) in define_proxy_method' from /home/buildozer/aports/community/ruby-listen/src/listen-3.7.1/lib/listen/adapter/base.rb:108:in `_queue_change' from /home/buildozer/aports/community/ruby-listen/src/listen-3.7.1/lib/listen/adapter/polling.rb:36:in `_process_event' from /home/buildozer/aports/community/ruby-listen/src/listen-3.7.1/lib/listen/adapter/base.rb:44:in `block (2 levels) in configure' from /home/buildozer/aports/community/ruby-listen/src/listen-3.7.1/lib/listen/adapter/polling.rb:26:in `block (2 levels) in _run' from /home/buildozer/aports/community/ruby-listen/src/listen-3.7.1/lib/listen/adapter/polling.rb:25:in `each' from /home/buildozer/aports/community/ruby-listen/src/listen-3.7.1/lib/listen/adapter/polling.rb:25:in `block in _run' from /home/buildozer/aports/community/ruby-listen/src/listen-3.7.1/lib/listen/adapter/polling.rb:23:in `loop' from /home/buildozer/aports/community/ruby-listen/src/listen-3.7.1/lib/listen/adapter/polling.rb:23:in `_run' from /home/buildozer/aports/community/ruby-listen/src/listen-3.7.1/lib/listen/adapter/base.rb:79:in `block in start' from /home/buildozer/aports/community/ruby-listen/src/listen-3.7.1/lib/listen/thread.rb:26:in `rescue_and_log' from /home/buildozer/aports/community/ruby-listen/src/listen-3.7.1/lib/listen/thread.rb:18:in `block in new' notifies change on every listener directories path (FAILED - 19) Listen::Event::Queue #<< when relative option is true when watched dir is not the current dir registers relative path when watched dir is on another drive registers full path when watched dir is the current dir registers relative paths #empty? when empty is expected to be empty when not empty is expected not to be empty #pop when empty forward the call to the queue Listen::Event::Config with a given block is callable calls the block Listen::Adapter .select returns BSD adapter when usable returns Polling adapter if forced returns Linux adapter when usable returns Darwin adapter when usable returns Windows adapter when usable no usable adapters warns polling fallback with custom message if set warns polling fallback with default message returns Polling adapter doesn't warn if polling_fallback_message is false Listen::Listener::Config options custom options extracts adapter options extract adapter selecting options Listen::Record #add_dir sets itself when empty sets path and keeps old data not overwritten correctly sets new directory data sets itself when . sets itself when nil #build re-inits paths with a normal symlinked directory to another shows message with subdir containing symlink to parent shows a warning with no subdirs builds record with subdir containing dirs builds record with subdir containing symlinked file shows a warning with subdir containing files builds record, skipping silenced patterns #unset_path within watched dir when path is present unsets path when path not present unsets path within subdir when path is present unsets path when path not present unsets path #file_data with path in subdir when path is present returns file data path not present return empty hash with path in watched dir when path is present returns file data path not present return empty hash #update_file with path in watched dir sets path by spliting dirname and basename sets path and keeps old data not overwritten with subdir path sets path and keeps old data not overwritten sets path by splitting dirname and basename #dir_entries in watched dir with file.rb in record is expected to eq {"file.rb"=>{:mtime=>1.1}} with subdir/file.rb in record is expected to eq {"subdir"=>{}} with no entries is expected to be empty when there is a file with the same name as a dir is expected to eq {"README.md"=>{:mtime=>1.2}} when there is a file with a similar name to a dir is expected to eq {"README.md"=>{:mtime=>1.2}} in subdir /path with no entries is expected to be empty with path/file.rb already in record is expected to eq {"file.rb"=>{:mtime=>1.1}} with empty path/subdir is expected to be empty with path/subdir with file is expected to be empty with path renamed to file is expected to be empty Listen::QueueOptimizer smoosh_changes with rename from temp file is expected to eq {:added=>[], :modified=>["foo"], :removed=>[]} with no cookie with ignored file is expected to eq {:added=>[], :modified=>[], :removed=>[]} with a detected temp file is expected to eq {:added=>[], :modified=>[], :removed=>[]} when double move is expected to eq {:added=>[], :modified=>["foo"], :removed=>[]} with cookie when related moved_to is expected to eq {:added=>["bar"], :modified=>[], :removed=>[]} when related moved_to with ignored moved_from is expected to eq {:added=>[], :modified=>["foo"], :removed=>[]} when single moved is expected to eq {:added=>["foo"], :modified=>[], :removed=>[]} Listen::Adapter::Windows class is expected not to be usable Listen::FSM FSM with string state name raises ArgumentError on new FSM with no start state raises ArgumentError on new simple FSM starts in start_state raises on disallowed transitions declares transition and transition! private allows transitions #wait_for_state enforces precondition that states must be symbols returns truthy immediately if already in the desired state passes nil (infinite) timeout: down to wait, if none given waits for the next state change and returns truthy if then in the desired state passes the timeout: down to wait, if given waits for the next state change and returns falsey if then not the desired state Listen::Adapter::Linux instance methods inotify max watches exceeded raises exception #stop when not even initialized does not crash when configured stops the worker watch events starts by calling watch with default events _callback recognizes moved_to as moved_to (FAILED - 20) recognizes close_write as modify (FAILED - 21) recognizes moved_from as moved_from (FAILED - 22) class methods is expected to be usable Pending: (Failures listed here are expected and do not affect your suite's status) 1) Listen::Adapter::Config#initialize with directories as messy array implement me # Not yet implemented # ./spec/lib/listen/adapter/config_spec.rb:84 Failures: 1) Listen::Listener#only with existing only options overwrites existing ignore options Failure/Error: expect(silencer).to receive(:configure).once.with(only: [/bar/]) # received :configure with unexpected arguments expected: ({:only=>[/bar/]}) got: ({:only=>[/bar/]}) (1 time) ({:only=>[/foo/]}) (1 time) # ./spec/lib/listen/listener_spec.rb:314:in `block (4 levels) in ' 2) Listen::Listener#ignore with existing ignore options adds up to existing ignore options Failure/Error: expect(silencer).to receive(:configure).once.with(ignore: [/bar/]) # received :configure with unexpected arguments expected: ({:ignore=>[/bar/]}) got: ({:ignore=>[/bar/]}) (1 time) ({:ignore=>[/bar/, /foo/]}) (1 time) # ./spec/lib/listen/listener_spec.rb:248:in `block (4 levels) in ' 3) Listen::Listener#ignore with existing ignore options (array) adds up to existing ignore options Failure/Error: expect(silencer).to receive(:configure).once.with(ignore: [/bar/]) # received :configure with unexpected arguments expected: ({:ignore=>[/bar/]}) got: ({:ignore=>[/bar/]}) (1 time) ({:ignore=>[/bar/, /foo/]}) (1 time) # ./spec/lib/listen/listener_spec.rb:263:in `block (4 levels) in ' 4) Listen::Listener#ignore! with existing ignore! options overwrites existing ignore options Failure/Error: expect(silencer).to receive(:configure).once.with(ignore!: [/bar/]) # received :configure with unexpected arguments expected: ({:ignore!=>[/bar/]}) got: ({:ignore!=>[/bar/]}) (1 time) ({:ignore!=>[/foo/]}) (1 time) # ./spec/lib/listen/listener_spec.rb:290:in `block (4 levels) in ' 5) Listen::Listener#ignore! with existing ignore options deletes ignore options Failure/Error: expect(silencer).to receive(:configure).once.with(ignore: [/bar/]) # received :configure with unexpected arguments expected: ({:ignore=>[/bar/]}) got: ({:ignore=>[/bar/]}) (1 time) ({:ignore!=>[/foo/]}) (1 time) # ./spec/lib/listen/listener_spec.rb:301:in `block (4 levels) in ' 6) Listen::Directory#scan with recursive on with file.rb & subdir in record with subdir2 path present snapshots changes for file, file2 & subdir paths Failure/Error: expect(snapshot).to receive(:invalidate). with(:dir, 'subdir', recursive: true) # received :invalidate with unexpected arguments expected: (:dir, "subdir", {:recursive=>true}) (keyword arguments) got: (:dir, "subdir", {:recursive=>true}) (options hash) # ./spec/lib/listen/directory_spec.rb:242:in `block (5 levels) in ' 7) Listen::Directory#scan with recursive on with file.rb & subdir in record with empty dir snapshots changes for file & subdir path Failure/Error: expect(snapshot).to receive(:invalidate). with(:dir, 'subdir', recursive: true) # received :invalidate with unexpected arguments expected: (:dir, "subdir", {:recursive=>true}) (keyword arguments) got: (:dir, "subdir", {:recursive=>true}) (options hash) # ./spec/lib/listen/directory_spec.rb:221:in `block (5 levels) in ' 8) Listen::Directory#scan with recursive on with empty record with subdir present in dir snapshots changes for subdir Failure/Error: expect(snapshot).to receive(:invalidate). with(:dir, 'subdir', recursive: true) # received :invalidate with unexpected arguments expected: (:dir, "subdir", {:recursive=>true}) (keyword arguments) got: (:dir, "subdir", {:recursive=>true}) (options hash) # ./spec/lib/listen/directory_spec.rb:276:in `block (5 levels) in ' 9) Listen::Directory#scan with recursive off with file & subdir in record with empty dir snapshots changes for file path and dir that doesn't exist Failure/Error: expect(snapshot).to receive(:invalidate). with(:dir, 'subdir', recursive: false) # received :invalidate with unexpected arguments expected: (:dir, "subdir", {:recursive=>false}) (keyword arguments) got: (:dir, "subdir", {:recursive=>false}) (options hash) # ./spec/lib/listen/directory_spec.rb:78:in `block (5 levels) in ' 10) Listen::Directory#scan with recursive off with file & subdir in record when subdir is removed notices subdir does not exist Failure/Error: expect(snapshot).to receive(:invalidate). with(:dir, 'subdir', recursive: false) # received :invalidate with unexpected arguments expected: (:dir, "subdir", {:recursive=>false}) got: (:file, "file.rb", {}) (1 time) (:dir, "subdir", {:recursive=>false}) (1 time) # ./spec/lib/listen/directory_spec.rb:93:in `block (5 levels) in ' 11) Listen::Adapter::Base handling events when an event occurs passes invalidates the snapshot based on the event Failure/Error: @snapshots[dir].invalidate(type, rel_path, options) # received :invalidate with unexpected arguments expected: (:file, "bar", {:cookie=>3}) (keyword arguments) got: (:file, "bar", {:cookie=>3}) (options hash) # ./lib/listen/adapter/base.rb:108:in `_queue_change' # ./spec/lib/listen/adapter/base_spec.rb:24:in `_process_event' # ./lib/listen/adapter/base.rb:44:in `block (2 levels) in configure' # ./spec/lib/listen/adapter/base_spec.rb:20:in `fake_event' # ./spec/lib/listen/adapter/base_spec.rb:97:in `block (4 levels) in ' 12) Listen::Silencer::Controller append_ignores with previous :ignore rules when providing a single regexp as argument appends the given :ignore rules as array Failure/Error: @silencer.configure(@prev_silencer_options.dup.freeze) # received :configure with unexpected arguments expected: ({:ignore=>[/foo/, /bar/]}) (keyword arguments) got: ({:ignore=>[/foo/, /bar/]}) (options hash) Please stub a default value first if message might be received with other args as well. # ./lib/listen/silencer/controller.rb:46:in `_reconfigure_silencer' # ./lib/listen/silencer/controller.rb:16:in `initialize' # ./spec/lib/listen/silencer/controller_spec.rb:53:in `new' # ./spec/lib/listen/silencer/controller_spec.rb:53:in `block (4 levels) in ' # ./spec/lib/listen/silencer/controller_spec.rb:71:in `block (5 levels) in ' 13) Listen::Silencer::Controller append_ignores with previous :ignore rules when providing a nil reconfigures with existing :ignore rules Failure/Error: @silencer.configure(@prev_silencer_options.dup.freeze) # received :configure with unexpected arguments expected: ({:ignore=>[/foo/, /bar/]}) (keyword arguments) got: ({:ignore=>[/foo/, /bar/]}) (options hash) Please stub a default value first if message might be received with other args as well. # ./lib/listen/silencer/controller.rb:46:in `_reconfigure_silencer' # ./lib/listen/silencer/controller.rb:16:in `initialize' # ./spec/lib/listen/silencer/controller_spec.rb:53:in `new' # ./spec/lib/listen/silencer/controller_spec.rb:53:in `block (4 levels) in ' # ./spec/lib/listen/silencer/controller_spec.rb:63:in `block (5 levels) in ' 14) Listen::Silencer::Controller append_ignores with previous :ignore rules when providing as array appends the given :ignore rules Failure/Error: @silencer.configure(@prev_silencer_options.dup.freeze) # received :configure with unexpected arguments expected: ({:ignore=>[/foo/, /bar/]}) (keyword arguments) got: ({:ignore=>[/foo/, /bar/]}) (options hash) Please stub a default value first if message might be received with other args as well. # ./lib/listen/silencer/controller.rb:46:in `_reconfigure_silencer' # ./lib/listen/silencer/controller.rb:16:in `initialize' # ./spec/lib/listen/silencer/controller_spec.rb:53:in `new' # ./spec/lib/listen/silencer/controller_spec.rb:53:in `block (4 levels) in ' # ./spec/lib/listen/silencer/controller_spec.rb:89:in `block (5 levels) in ' 15) Listen::Silencer::Controller append_ignores with previous :ignore rules when providing multiple arguments appends the given :ignore rules as a flat array Failure/Error: @silencer.configure(@prev_silencer_options.dup.freeze) # received :configure with unexpected arguments expected: ({:ignore=>[/foo/, /bar/]}) (keyword arguments) got: ({:ignore=>[/foo/, /bar/]}) (options hash) Please stub a default value first if message might be received with other args as well. # ./lib/listen/silencer/controller.rb:46:in `_reconfigure_silencer' # ./lib/listen/silencer/controller.rb:16:in `initialize' # ./spec/lib/listen/silencer/controller_spec.rb:53:in `new' # ./spec/lib/listen/silencer/controller_spec.rb:53:in `block (4 levels) in ' # ./spec/lib/listen/silencer/controller_spec.rb:80:in `block (5 levels) in ' 16) Listen::Silencer::Controller append_ignores with no previous :ignore rules when providing as array sets the given :ignore rules Failure/Error: @silencer.configure(@prev_silencer_options.dup.freeze) # received :configure with unexpected arguments expected: ({:ignore=>[/foo/, /bar/]}) (keyword arguments) got: ({:ignore=>[/foo/, /bar/]}) (options hash) Please stub a default value first if message might be received with other args as well. # ./lib/listen/silencer/controller.rb:46:in `_reconfigure_silencer' # ./lib/listen/silencer/controller.rb:21:in `append_ignores' # ./spec/lib/listen/silencer/controller_spec.rb:46:in `block (5 levels) in ' 17) Listen::Silencer::Controller append_ignores with no previous :ignore rules when providing multiple arguments sets the given :ignore rules as a flat array Failure/Error: @silencer.configure(@prev_silencer_options.dup.freeze) # received :configure with unexpected arguments expected: ({:ignore=>[/foo/, /bar/]}) (keyword arguments) got: ({:ignore=>[/foo/, /bar/]}) (options hash) Please stub a default value first if message might be received with other args as well. # ./lib/listen/silencer/controller.rb:46:in `_reconfigure_silencer' # ./lib/listen/silencer/controller.rb:21:in `append_ignores' # ./spec/lib/listen/silencer/controller_spec.rb:38:in `block (5 levels) in ' 18) Listen::Silencer::Controller append_ignores with no previous :ignore rules when providing a single regexp as argument sets the given :ignore rules as array Failure/Error: @silencer.configure(@prev_silencer_options.dup.freeze) # received :configure with unexpected arguments expected: ({:ignore=>[/foo/]}) (keyword arguments) got: ({:ignore=>[/foo/]}) (options hash) Please stub a default value first if message might be received with other args as well. # ./lib/listen/silencer/controller.rb:46:in `_reconfigure_silencer' # ./lib/listen/silencer/controller.rb:21:in `append_ignores' # ./spec/lib/listen/silencer/controller_spec.rb:30:in `block (5 levels) in ' 19) Listen::Adapter::Polling with a valid configuration #start notifies change on every listener directories path Failure/Error: @snapshots[dir].invalidate(type, rel_path, options) # received :invalidate with unexpected arguments expected: (:dir, ".", {:recursive=>true}) (keyword arguments) got: (:dir, ".", {:recursive=>true}) (options hash) # ./lib/listen/adapter/base.rb:108:in `_queue_change' # ./lib/listen/adapter/polling.rb:36:in `_process_event' # ./lib/listen/adapter/base.rb:44:in `block (2 levels) in configure' # ./lib/listen/adapter/polling.rb:26:in `block (2 levels) in _run' # ./lib/listen/adapter/polling.rb:25:in `each' # ./lib/listen/adapter/polling.rb:25:in `block in _run' # ./lib/listen/adapter/polling.rb:23:in `loop' # ./lib/listen/adapter/polling.rb:23:in `_run' # ./lib/listen/adapter/base.rb:79:in `block in start' # ./lib/listen/thread.rb:26:in `rescue_and_log' # ./lib/listen/thread.rb:18:in `block in new' 20) Listen::Adapter::Linux instance methods _callback recognizes moved_to as moved_to Failure/Error: @snapshots[dir].invalidate(type, rel_path, options) # received :invalidate with unexpected arguments expected: (:file, "path/foo.txt", {:change=>:moved_to, :cookie=>123}) (keyword arguments) got: (:file, "path/foo.txt", {:change=>:moved_to, :cookie=>123}) (options hash) # ./lib/listen/adapter/base.rb:108:in `_queue_change' # ./lib/listen/adapter/linux.rb:72:in `_process_event' # ./lib/listen/adapter/base.rb:44:in `block (2 levels) in configure' # ./spec/lib/listen/adapter/linux_spec.rb:125:in `block (6 levels) in ' # ./spec/lib/listen/adapter/linux_spec.rb:124:in `each' # ./spec/lib/listen/adapter/linux_spec.rb:124:in `block (5 levels) in ' # ./spec/lib/listen/adapter/linux_spec.rb:144:in `block (4 levels) in ' 21) Listen::Adapter::Linux instance methods _callback recognizes close_write as modify Failure/Error: @snapshots[dir].invalidate(type, rel_path, options) # received :invalidate with unexpected arguments expected: (:file, "path/foo.txt", {:change=>:modified, :cookie=>123}) (keyword arguments) got: (:file, "path/foo.txt", {:change=>:modified, :cookie=>123}) (options hash) # ./lib/listen/adapter/base.rb:108:in `_queue_change' # ./lib/listen/adapter/linux.rb:72:in `_process_event' # ./lib/listen/adapter/base.rb:44:in `block (2 levels) in configure' # ./spec/lib/listen/adapter/linux_spec.rb:125:in `block (6 levels) in ' # ./spec/lib/listen/adapter/linux_spec.rb:124:in `each' # ./spec/lib/listen/adapter/linux_spec.rb:124:in `block (5 levels) in ' # ./spec/lib/listen/adapter/linux_spec.rb:139:in `block (4 levels) in ' 22) Listen::Adapter::Linux instance methods _callback recognizes moved_from as moved_from Failure/Error: @snapshots[dir].invalidate(type, rel_path, options) # received :invalidate with unexpected arguments expected: (:file, "path/foo.txt", {:change=>:moved_from, :cookie=>123}) (keyword arguments) got: (:file, "path/foo.txt", {:change=>:moved_from, :cookie=>123}) (options hash) # ./lib/listen/adapter/base.rb:108:in `_queue_change' # ./lib/listen/adapter/linux.rb:72:in `_process_event' # ./lib/listen/adapter/base.rb:44:in `block (2 levels) in configure' # ./spec/lib/listen/adapter/linux_spec.rb:125:in `block (6 levels) in ' # ./spec/lib/listen/adapter/linux_spec.rb:124:in `each' # ./spec/lib/listen/adapter/linux_spec.rb:124:in `block (5 levels) in ' # ./spec/lib/listen/adapter/linux_spec.rb:149:in `block (4 levels) in ' Finished in 4 minutes 6.7 seconds (files took 0.3247 seconds to load) 370 examples, 22 failures, 1 pending Failed examples: rspec ./spec/lib/listen/listener_spec.rb:313 # Listen::Listener#only with existing only options overwrites existing ignore options rspec ./spec/lib/listen/listener_spec.rb:247 # Listen::Listener#ignore with existing ignore options adds up to existing ignore options rspec ./spec/lib/listen/listener_spec.rb:262 # Listen::Listener#ignore with existing ignore options (array) adds up to existing ignore options rspec ./spec/lib/listen/listener_spec.rb:289 # Listen::Listener#ignore! with existing ignore! options overwrites existing ignore options rspec ./spec/lib/listen/listener_spec.rb:300 # Listen::Listener#ignore! with existing ignore options deletes ignore options rspec ./spec/lib/listen/directory_spec.rb:239 # Listen::Directory#scan with recursive on with file.rb & subdir in record with subdir2 path present snapshots changes for file, file2 & subdir paths rspec ./spec/lib/listen/directory_spec.rb:218 # Listen::Directory#scan with recursive on with file.rb & subdir in record with empty dir snapshots changes for file & subdir path rspec ./spec/lib/listen/directory_spec.rb:275 # Listen::Directory#scan with recursive on with empty record with subdir present in dir snapshots changes for subdir rspec ./spec/lib/listen/directory_spec.rb:75 # Listen::Directory#scan with recursive off with file & subdir in record with empty dir snapshots changes for file path and dir that doesn't exist rspec ./spec/lib/listen/directory_spec.rb:92 # Listen::Directory#scan with recursive off with file & subdir in record when subdir is removed notices subdir does not exist rspec ./spec/lib/listen/adapter/base_spec.rb:91 # Listen::Adapter::Base handling events when an event occurs passes invalidates the snapshot based on the event rspec ./spec/lib/listen/silencer/controller_spec.rb:70 # Listen::Silencer::Controller append_ignores with previous :ignore rules when providing a single regexp as argument appends the given :ignore rules as array rspec ./spec/lib/listen/silencer/controller_spec.rb:62 # Listen::Silencer::Controller append_ignores with previous :ignore rules when providing a nil reconfigures with existing :ignore rules rspec ./spec/lib/listen/silencer/controller_spec.rb:88 # Listen::Silencer::Controller append_ignores with previous :ignore rules when providing as array appends the given :ignore rules rspec ./spec/lib/listen/silencer/controller_spec.rb:79 # Listen::Silencer::Controller append_ignores with previous :ignore rules when providing multiple arguments appends the given :ignore rules as a flat array rspec ./spec/lib/listen/silencer/controller_spec.rb:43 # Listen::Silencer::Controller append_ignores with no previous :ignore rules when providing as array sets the given :ignore rules rspec ./spec/lib/listen/silencer/controller_spec.rb:35 # Listen::Silencer::Controller append_ignores with no previous :ignore rules when providing multiple arguments sets the given :ignore rules as a flat array rspec ./spec/lib/listen/silencer/controller_spec.rb:27 # Listen::Silencer::Controller append_ignores with no previous :ignore rules when providing a single regexp as argument sets the given :ignore rules as array rspec ./spec/lib/listen/adapter/polling_spec.rb:57 # Listen::Adapter::Polling with a valid configuration #start notifies change on every listener directories path rspec ./spec/lib/listen/adapter/linux_spec.rb:142 # Listen::Adapter::Linux instance methods _callback recognizes moved_to as moved_to rspec ./spec/lib/listen/adapter/linux_spec.rb:137 # Listen::Adapter::Linux instance methods _callback recognizes close_write as modify rspec ./spec/lib/listen/adapter/linux_spec.rb:147 # Listen::Adapter::Linux instance methods _callback recognizes moved_from as moved_from Randomized with seed 26090 >>> ERROR: ruby-listen: check failed >>> ruby-listen: Uninstalling dependencies... (1/15) Purging .makedepends-ruby-listen (20230421.061525) (2/15) Purging ruby-rb-inotify (0.10.1-r2) (3/15) Purging ruby-ffi (1.15.5-r1) (4/15) Purging ruby-rspec (3.12.0-r0) (5/15) Purging ruby-rspec-core (3.12.0-r0) (6/15) Purging ruby-rspec-expectations (3.12.0-r0) (7/15) Purging ruby-rspec-mocks (3.12.0-r0) (8/15) Purging ruby-diff-lcs (1.5.0-r1) (9/15) Purging ruby-rspec-support (3.12.0-r0) (10/15) Purging ruby (3.1.4-r1) (11/15) Purging libucontext (1.2-r2) (12/15) Purging ruby-libs (3.1.4-r1) (13/15) Purging yaml (0.2.5-r1) (14/15) Purging libffi (3.4.4-r2) (15/15) Purging readline (8.2.1-r1) Executing busybox-1.36.0-r7.trigger OK: 326 MiB in 97 packages