Source: ruby-jaeger-client Version: 1.1.0-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: debian-r...@lists.debian.org Usertags: ruby3.0
Hi, We are about to enable building against ruby3.0 on unstable. During a test rebuild, ruby-jaeger-client was found to fail to build in that situation. To reproduce this locally, you need to install ruby-all-dev from experimental on an unstable system or build chroot. Relevant part (hopefully): > ArgumentError: > wrong number of arguments (given 1, expected 0; required keywords: > span_id, trace_id, flags) > # ./lib/jaeger/span_context.rb:25:in `initialize' > # ./spec/spec_helper.rb:16:in `new' > # ./spec/spec_helper.rb:16:in `build_span_context' > # ./spec/jaeger/span_spec.rb:50:in `block (3 levels) in <top > (required)>' > # ./spec/jaeger/span_spec.rb:51:in `block (3 levels) in <top > (required)>' > # ./spec/jaeger/span_spec.rb:61:in `block (4 levels) in <top > (required)>' > > Finished in 0.37196 seconds (files took 1.6 seconds to load) > 177 examples, 42 failures > > Failed examples: > > rspec ./spec/jaeger/injectors/b3_rack_codec_spec.rb:9 # > Jaeger::Injectors::B3RackCodec sets trace information > rspec ./spec/jaeger/injectors/trace_context_rack_codec_spec.rb:14 # > Jaeger::Injectors::TraceContextRackCodec sets traceparent > rspec ./spec/jaeger/injectors/trace_context_rack_codec_spec.rb:27 # > Jaeger::Injectors::TraceContextRackCodec sets traceparent with largest trace > id and span id > rspec ./spec/jaeger/rate_limiter_spec.rb:11 # > Jaeger::RateLimiter#check_credit returns false if item cost is higher than > balance > rspec ./spec/jaeger/rate_limiter_spec.rb:16 # > Jaeger::RateLimiter#check_credit returns true until there is credit left > rspec ./spec/jaeger/rate_limiter_spec.rb:23 # > Jaeger::RateLimiter#check_credit returns true when there is enough credit > rspec ./spec/jaeger/rate_limiter_spec.rb:51 # Jaeger::RateLimiter#update when > balance was full before the update keeps the new balance full > rspec ./spec/jaeger/rate_limiter_spec.rb:61 # Jaeger::RateLimiter#update when > balance was half full before the update marks the new balance half full > rspec ./spec/jaeger/reporters/composite_reporter_spec.rb:9 # > Jaeger::Reporters::CompositeReporter#report forwards span to all reporters > rspec ./spec/jaeger/reporters/in_memory_reporter_spec.rb:7 # > Jaeger::Reporters::InMemoryReporter#report adds span to in memory spans list > rspec ./spec/jaeger/reporters/in_memory_reporter_spec.rb:19 # > Jaeger::Reporters::InMemoryReporter#clear clears spans from the reporter > rspec ./spec/jaeger/reporters/logging_reporter_spec.rb:8 # > Jaeger::Reporters::LoggingReporter#report logs out span information > rspec ./spec/jaeger/samplers/guaranteed_throughput_probabilistic_spec.rb:31 # > Jaeger::Samplers::GuaranteedThroughputProbabilistic when rate is set to 0 > when lower bound return false returns false for every trace > rspec ./spec/jaeger/samplers/guaranteed_throughput_probabilistic_spec.rb:35 # > Jaeger::Samplers::GuaranteedThroughputProbabilistic when rate is set to 0 > when lower bound return false returns tags with param 0 > rspec ./spec/jaeger/samplers/guaranteed_throughput_probabilistic_spec.rb:49 # > Jaeger::Samplers::GuaranteedThroughputProbabilistic when rate is set to 0 > when lower bound sampler returns true returns true > rspec ./spec/jaeger/samplers/guaranteed_throughput_probabilistic_spec.rb:53 # > Jaeger::Samplers::GuaranteedThroughputProbabilistic when rate is set to 0 > when lower bound sampler returns true returns tags with lower bound param > rspec ./spec/jaeger/samplers/guaranteed_throughput_probabilistic_spec.rb:70 # > Jaeger::Samplers::GuaranteedThroughputProbabilistic when rate is set to 1 > returns true for every trace > rspec ./spec/jaeger/samplers/guaranteed_throughput_probabilistic_spec.rb:74 # > Jaeger::Samplers::GuaranteedThroughputProbabilistic when rate is set to 1 > returns tags with param 1 > rspec ./spec/jaeger/samplers/guaranteed_throughput_probabilistic_spec.rb:81 # > Jaeger::Samplers::GuaranteedThroughputProbabilistic when rate is set to 1 > calls lower bound sampler > rspec ./spec/jaeger/samplers/per_operation_spec.rb:24 # > Jaeger::Samplers::PerOperation when operation strategy is defined when > operation rate is set to 0 uses lower bound sampler > rspec ./spec/jaeger/samplers/per_operation_spec.rb:37 # > Jaeger::Samplers::PerOperation when operation strategy is defined when > operation rate is set to 0 returns tags with lower bound param > rspec ./spec/jaeger/samplers/per_operation_spec.rb:57 # > Jaeger::Samplers::PerOperation when operation strategy is defined when > operation rate is set to 1 uses operation probabilistic sampler > rspec ./spec/jaeger/samplers/per_operation_spec.rb:73 # > Jaeger::Samplers::PerOperation when operation strategy is defined when > operation rate is set to 1 returns tags with lower bound param > rspec ./spec/jaeger/samplers/per_operation_spec.rb:92 # > Jaeger::Samplers::PerOperation when operation strategy is undefined when > default rate is set to 0 uses lower bound sampler > rspec ./spec/jaeger/samplers/per_operation_spec.rb:105 # > Jaeger::Samplers::PerOperation when operation strategy is undefined when > default rate is set to 0 returns tags with lower bound param > rspec ./spec/jaeger/samplers/per_operation_spec.rb:122 # > Jaeger::Samplers::PerOperation when operation strategy is undefined when > default rate is set to 1 uses probabilistic sampling which returns always true > rspec ./spec/jaeger/samplers/per_operation_spec.rb:130 # > Jaeger::Samplers::PerOperation when operation strategy is undefined when > default rate is set to 1 returns tags with lower bound param > rspec ./spec/jaeger/samplers/probabilistic_spec.rb:14 # > Jaeger::Samplers::Probabilistic when rate is set to 0 returns false for every > trace > rspec ./spec/jaeger/samplers/probabilistic_spec.rb:18 # > Jaeger::Samplers::Probabilistic when rate is set to 0 returns tags with param > 0 > rspec ./spec/jaeger/samplers/probabilistic_spec.rb:32 # > Jaeger::Samplers::Probabilistic when rate is set to 0.5 when trace is over > the boundary returns false > rspec ./spec/jaeger/samplers/probabilistic_spec.rb:36 # > Jaeger::Samplers::Probabilistic when rate is set to 0.5 when trace is over > the boundary returns tags with param 0.5 > rspec ./spec/jaeger/samplers/probabilistic_spec.rb:47 # > Jaeger::Samplers::Probabilistic when rate is set to 0.5 when trace is under > the boundary returns true > rspec ./spec/jaeger/samplers/probabilistic_spec.rb:51 # > Jaeger::Samplers::Probabilistic when rate is set to 0.5 when trace is under > the boundary returns tags with param 0.5 > rspec ./spec/jaeger/samplers/probabilistic_spec.rb:64 # > Jaeger::Samplers::Probabilistic when rate is set to 1 returns true for every > trace > rspec ./spec/jaeger/samplers/probabilistic_spec.rb:68 # > Jaeger::Samplers::Probabilistic when rate is set to 1 returns tags with param > 1 > rspec ./spec/jaeger/span_context_spec.rb:50 # Jaeger::SpanContext#to_trace_id > returns trace id in hex format > rspec ./spec/jaeger/span_context_spec.rb:57 # Jaeger::SpanContext#to_span_id > returns span id in hex format > rspec ./spec/jaeger/span_spec.rb:38 # Jaeger::Span stores and retrieves > baggage > rspec ./spec/jaeger/span_spec.rb:18 # Jaeger::Span#log_kv adds log to span > rspec ./spec/jaeger/span_spec.rb:27 # Jaeger::Span#log_kv adds log to span > with specific timestamp > rspec ./spec/jaeger/span_spec.rb:54 # Jaeger::Span#set_tag when > sampling.priority sets debug flag to true when sampling.priority is greater > than 0 > rspec ./spec/jaeger/span_spec.rb:60 # Jaeger::Span#set_tag when > sampling.priority sets sampled flag to false when sampling.priority is 0 > > /usr/bin/ruby3.0 > -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib > /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec > --pattern ./spec/\*\*/\*_spec.rb --format documentation failed > ERROR: Test "ruby3.0" failed: The full build log is available at https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-jaeger-client/ruby-jaeger-client_1.1.0-2+rebuild1633383653_amd64.build.txt
signature.asc
Description: PGP signature