You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests failing after the Docker base image switch (from CentOS to Ubuntu).
7.17 as well as all 8.x images are hitting a potential JRuby bug, sample output:
logstash_1_946bade3a63a | Feb 03, 2022 10:51:54 AM jnr.netdb.NativeProtocolsDB load
logstash_1_946bade3a63a | WARNING: Failed to load native protocols db
logstash_1_946bade3a63a | java.lang.RuntimeException: getprotobyname_r failed
logstash_1_946bade3a63a | at org.jruby.dist/jnr.netdb.NativeProtocolsDB$LinuxNativeProtocolsDB.getProtocolByName(NativeProtocolsDB.java:180)
logstash_1_946bade3a63a | at org.jruby.dist/jnr.netdb.NativeProtocolsDB.load(NativeProtocolsDB.java:80)
logstash_1_946bade3a63a | at org.jruby.dist/jnr.netdb.NativeProtocolsDB.access$000(NativeProtocolsDB.java:40)
logstash_1_946bade3a63a | at org.jruby.dist/jnr.netdb.NativeProtocolsDB$SingletonHolder.<clinit>(NativeProtocolsDB.java:47)
logstash_1_946bade3a63a | at org.jruby.dist/jnr.netdb.NativeProtocolsDB.getInstance(NativeProtocolsDB.java:43)
logstash_1_946bade3a63a | at org.jruby.dist/jnr.netdb.Protocol$ProtocolDBSingletonHolder.load(Protocol.java:107)
logstash_1_946bade3a63a | at org.jruby.dist/jnr.netdb.Protocol$ProtocolDBSingletonHolder.<clinit>(Protocol.java:103)
logstash_1_946bade3a63a | at org.jruby.dist/jnr.netdb.Protocol.getProtocolDB(Protocol.java:96)
logstash_1_946bade3a63a | at org.jruby.dist/jnr.netdb.Protocol.getProtocolByNumber(Protocol.java:59)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ext.socket.Addrinfo.<init>(Addrinfo.java:806)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ext.socket.SocketUtils$2.addrinfo(SocketUtils.java:255)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ext.socket.SocketUtils.buildAddrinfoList(SocketUtils.java:321)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ext.socket.SocketUtils.getaddrinfoList(SocketUtils.java:231)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ext.socket.Addrinfo.getaddrinfo(Addrinfo.java:307)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ext.socket.Addrinfo$INVOKER$s$0$0$getaddrinfo.call(Addrinfo$INVOKER$s$0$0$getaddrinfo.gen)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.internal.runtime.methods.JavaMethod$JavaMethodN.call(JavaMethod.java:837)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
logstash_1_946bade3a63a | at usr.share.logstash.vendor.jruby.lib.ruby.stdlib.socket.RUBY$method$tcp_server_sockets_port0$0(/usr/share/logstash/vendor/jruby/lib/ruby/stdlib/socket.rb:712)
logstash_1_946bade3a63a | at usr.share.logstash.vendor.jruby.lib.ruby.stdlib.socket.RUBY$method$tcp_server_sockets_port0$0$__VARARGS__(/usr/share/logstash/vendor/jruby/lib/ruby/stdlib/socket.rb:711)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
logstash_1_946bade3a63a | at usr.share.logstash.vendor.jruby.lib.ruby.stdlib.socket.RUBY$method$tcp_server_sockets$0(/usr/share/logstash/vendor/jruby/lib/ruby/stdlib/socket.rb:764)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
logstash_1_946bade3a63a | at usr.share.logstash.vendor.jruby.lib.ruby.gems.shared.gems.webrick_minus_1_dot_7_dot_0.lib.webrick.utils.RUBY$method$create_listeners$0(/usr/share/logstash/vendor/jruby/lib/ruby/gems/shared/gems/webrick-1.7.0/lib/webrick/utils.rb:60)
logstash_1_946bade3a63a | at usr.share.logstash.vendor.jruby.lib.ruby.gems.shared.gems.webrick_minus_1_dot_7_dot_0.lib.webrick.utils.RUBY$method$create_listeners$0$__VARARGS__(/usr/share/logstash/vendor/jruby/lib/ruby/gems/shared/gems/webrick-1.7.0/lib/webrick/utils.rb:56)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
logstash_1_946bade3a63a | at usr.share.logstash.vendor.jruby.lib.ruby.gems.shared.gems.webrick_minus_1_dot_7_dot_0.lib.webrick.server.RUBY$method$listen$0(/usr/share/logstash/vendor/jruby/lib/ruby/gems/shared/gems/webrick-1.7.0/lib/webrick/server.rb:130)
logstash_1_946bade3a63a | at usr.share.logstash.vendor.jruby.lib.ruby.gems.shared.gems.webrick_minus_1_dot_7_dot_0.lib.webrick.server.RUBY$method$listen$0$__VARARGS__(/usr/share/logstash/vendor/jruby/lib/ruby/gems/shared/gems/webrick-1.7.0/lib/webrick/server.rb:129)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
logstash_1_946bade3a63a | at usr.share.logstash.vendor.jruby.lib.ruby.gems.shared.gems.webrick_minus_1_dot_7_dot_0.lib.webrick.server.RUBY$method$initialize$0(/usr/share/logstash/vendor/jruby/lib/ruby/gems/shared/gems/webrick-1.7.0/lib/webrick/server.rb:111)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHelpers.java:1169)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuperSplatArgs(IRRuntimeHelpers.java:1156)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ir.targets.InstanceSuperInvokeSite.invoke(InstanceSuperInvokeSite.java:39)
logstash_1_946bade3a63a | at usr.share.logstash.vendor.jruby.lib.ruby.gems.shared.gems.webrick_minus_1_dot_7_dot_0.lib.webrick.httpserver.RUBY$method$initialize$0(/usr/share/logstash/vendor/jruby/lib/ruby/gems/shared/gems/webrick-1.7.0/lib/webrick/httpserver.rb:47)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:80)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:70)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:333)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:87)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.RubyClass.newInstance(RubyClass.java:939)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.RubyClass$INVOKER$i$newInstance.call(RubyClass$INVOKER$i$newInstance.gen)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:207)
logstash_1_946bade3a63a | at usr.share.plugins.plugin.spec.inputs.elasticsearch_spec.RUBY$block$initialize$1(/usr/share/plugins/plugin/spec/inputs/elasticsearch_spec.rb:741)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.runtime.CompiledIRBlockBody.callDirect(CompiledIRBlockBody.java:138)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:58)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:52)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.runtime.Block.call(Block.java:139)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.RubyProc.call(RubyProc.java:318)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.javasupport.Java$ProcToInterface.callProc(Java.java:1136)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.javasupport.Java$ProcToInterface.access$300(Java.java:1113)
logstash_1_946bade3a63a | at org.jruby.dist/org.jruby.javasupport.Java$ProcToInterface$ConcreteMethod.call(Java.java:1174)
logstash_1_946bade3a63a | at org.jruby.gen.InterfaceImpl1108810244.run(org/jruby/gen/InterfaceImpl1108810244.gen:13)
logstash_1_946bade3a63a | at java.base/java.lang.Thread.run(Thread.java:829)
Tests failing after the Docker base image switch (from CentOS to Ubuntu).
7.17 as well as all 8.x images are hitting a potential JRuby bug, sample output:
... reproducer at elastic/logstash#13703
The text was updated successfully, but these errors were encountered: