Shizuo Fujita
Shizuo Fujita
The port used in the test is determined by the unused_port method. However, since the protocols are not properly specified, they wll look at free TCP ports. https://github.com/search?q=repo%3Afluent%2Ffluentd%20unused_port&type=code At least,...
Still showing similar errors... ``` 1) Error: test_cat_json(TestFluentCat::json): Errno::EACCES: Permission denied - bind(2) for 127.0.0.1:53311 C:/hostedtoolcache/windows/Ruby/3.1.6/x64/lib/ruby/3.1.0/socket.rb:179:in `bind' C:/hostedtoolcache/windows/Ruby/3.1.6/x64/lib/ruby/3.1.0/socket.rb:179:in `bind' D:/a/fluentd/fluentd/lib/fluent/plugin_helper/server.rb:390:in `server_create_udp_socket' D:/a/fluentd/fluentd/lib/fluent/plugin_helper/server.rb:174:in `server_create' D:/a/fluentd/fluentd/lib/fluent/plugin/in_forward.rb:183:in `start' D:/a/fluentd/fluentd/lib/fluent/test/driver/base.rb:120:in `instance_start' D:/a/fluentd/fluentd/lib/fluent/test/driver/base.rb:78:in `run' D:/a/fluentd/fluentd/lib/fluent/test/driver/base_owner.rb:130:in...
When I added debug print, it just use UDP protocol in test_cat.rb ```diff diff --git a/lib/fluent/plugin_helper/server.rb b/lib/fluent/plugin_helper/server.rb index eecee5ae..ad487858 100644 --- a/lib/fluent/plugin_helper/server.rb +++ b/lib/fluent/plugin_helper/server.rb @@ -122,6 +122,9 @@ module Fluent...
@daipom Unfortunately, when I run the test, only UDP is used. So, it need to check that the free UDP port in here at the very least. If there is...
I think this issue might be related to https://github.com/fluent-plugins-nursery/winevt_c/pull/52 (However, I haven't been able to reproduce this problem, so I don't know if it can fix this issue.)
From the error log, looks like you have used fluent-plugin-elasticsearch. fluent-plugin-elasticsearch has a problem that increases memory usage when an exception occurs on sending a request. This will be fixed...
Hmm, I have tried to reproduce https://github.com/fluent/fluentd-kubernetes-daemonset/issues/1573, however, I can't reproduce yet. @der Can you provide the more information how to reproduce that ?
If the issue still occurs in your environment, please report the steps to reproduce it.
Can you send a Pull Request?