Skip to content

Backport(v1.16) tests: fix unused_port (PR#4675) #540

Backport(v1.16) tests: fix unused_port (PR#4675)

Backport(v1.16) tests: fix unused_port (PR#4675) #540

Triggered via pull request January 28, 2025 08:36
Status Failure
Total duration 34m 0s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 4 warnings
Failure: test/plugin/test_in_tail.rb#L3268
<{:position_entries=> [["/home/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/459019737fffa0c0c6d5/tail.txt0", "0000000000000016", nil]], :record_values=> ["file1 log1", "file1 log2", "file2 log1", "file2 log2", "file3 log1", "file3 log2"], :tail_watcher_inodes=>[1051996, 1051998, nil], :tail_watcher_io_handler_opened_statuses=>[false, false, false], :tail_watcher_paths=> ["/home/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/459019737fffa0c0c6d5/tail.txt0", "/home/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/459019737fffa0c0c6d5/tail.txt0", "/home/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/459019737fffa0c0c6d5/tail.txt0"]}> expected but was <{:position_entries=> [["/home/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/459019737fffa0c0c6d5/tail.txt0", "0000000000000016", 1051999]], :record_values=> ["file1 log1", "file1 log2", "file2 log1", "file2 log2", "file3 log1", "file3 log2"], :tail_watcher_inodes=>[1051996, 1051998, nil], :tail_watcher_io_handler_opened_statuses=>[false, false, false], :tail_watcher_paths=> ["/home/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/459019737fffa0c0c6d5/tail.txt0", "/home/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/459019737fffa0c0c6d5/tail.txt0", "/home/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/459019737fffa0c0c6d5/tail.txt0"]}>. diff: {:position_entries=> [["/home/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/459019737fffa0c0c6d5/tail.txt0", "0000000000000016", - nil]], + 1051999]], :record_values=> ["file1 log1", "file1 log2", "file2 log1", "file2 log2", "file3 log1", "file3 log2"], :tail_watcher_inodes=>[1051996, 1051998, nil], :tail_watcher_io_handler_opened_statuses=>[false, false, false], :tail_watcher_paths=> ["/home/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/459019737fffa0c0c6d5/tail.txt0", "/home/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/459019737fffa0c0c6d5/tail.txt0", "/home/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/459019737fffa0c0c6d5/tail.txt0"]}
Ruby 3.0 on ubuntu-latest
Process completed with exit code 1.
Ruby 3.1 on ubuntu-latest
Process completed with exit code 1.
Ruby 3.2 on macos-latest
Process completed with exit code 1.
Failure: test/plugin/test_in_tail.rb#L1616
<{:files=>[], :tails=>[]}> expected but was <{:files=>[], :tails=> ["/Users/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/827b8f3324a77680492d/tail.txt"]}>. diff: - {:files=>[], :tails=>[]} + {:files=>[], + :tails=> + ["/Users/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/827b8f3324a77680492d/tail.txt"]} folded diff: - {:files=>[], :tails=>[]} + {:files=>[], + :tails=> + ["/Users/runner/work/fluentd/fluentd/test/plugin/../tmp/tail/827b8f3324a7768 + 0492d/tail.txt"]}
Ruby 2.7 on macos-latest
Process completed with exit code 1.
Ruby 3.0 on windows-latest
Process completed with exit code 1.
Ruby 3.1 on windows-latest
Process completed with exit code 1.
Error: test/test_log.rb#L697
TypeError: no implicit conversion of Pathname into String C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/logger-1.6.5/lib/logger/log_device.rb:104:in `initialize' C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/logger-1.6.5/lib/logger/log_device.rb:104:in `new' C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/logger-1.6.5/lib/logger/log_device.rb:104:in `fixup_mode' C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/logger-1.6.5/lib/logger/log_device.rb:117:in `open_logfile' C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/logger-1.6.5/lib/logger/log_device.rb:90:in `set_dev' C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/logger-1.6.5/lib/logger/log_device.rb:62:in `block in reopen' C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/3.3.0/monitor.rb:201:in `synchronize' C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/3.3.0/monitor.rb:201:in `mon_synchronize' C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/logger-1.6.5/lib/logger/log_device.rb:57:in `reopen' D:/a/fluentd/fluentd/lib/fluent/log.rb:749:in `reopen' D:/a/fluentd/fluentd/lib/fluent/log.rb:239:in `reopen!' D:/a/fluentd/fluentd/test/test_log.rb:697:in `test_reopen'
Ruby 3.3 on windows-latest
Process completed with exit code 1.
Failure: test/plugin/test_out_exec_filter.rb#L514
<4> expected but was <3>.
Error: test/test_log.rb#L697
TypeError: no implicit conversion of Pathname into String C:/hostedtoolcache/windows/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/logger-1.6.5/lib/logger/log_device.rb:104:in `initialize' C:/hostedtoolcache/windows/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/logger-1.6.5/lib/logger/log_device.rb:104:in `new' C:/hostedtoolcache/windows/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/logger-1.6.5/lib/logger/log_device.rb:104:in `fixup_mode' C:/hostedtoolcache/windows/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/logger-1.6.5/lib/logger/log_device.rb:117:in `open_logfile' C:/hostedtoolcache/windows/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/logger-1.6.5/lib/logger/log_device.rb:90:in `set_dev' C:/hostedtoolcache/windows/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/logger-1.6.5/lib/logger/log_device.rb:62:in `block in reopen' C:/hostedtoolcache/windows/Ruby/3.2.6/x64/lib/ruby/3.2.0/monitor.rb:202:in `synchronize' C:/hostedtoolcache/windows/Ruby/3.2.6/x64/lib/ruby/3.2.0/monitor.rb:202:in `mon_synchronize' C:/hostedtoolcache/windows/Ruby/3.2.6/x64/lib/ruby/gems/3.2.0/gems/logger-1.6.5/lib/logger/log_device.rb:57:in `reopen' D:/a/fluentd/fluentd/lib/fluent/log.rb:749:in `reopen' D:/a/fluentd/fluentd/lib/fluent/log.rb:239:in `reopen!' D:/a/fluentd/fluentd/test/test_log.rb:697:in `test_reopen'
Ruby 3.2 on windows-latest
Process completed with exit code 1.
Ruby 3.0 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Ruby 3.1 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Ruby 3.2 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Ruby 3.3 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636