Source: ruby-http-form-data
Version: 2.1.0-2
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>       Failure/Error: outbuf = outbuf.to_s.clear
> 
>       FrozenError:
>         can't modify frozen String: ""
>       # ./lib/http/form_data/composite_io.rb:32:in `clear'
>       # ./lib/http/form_data/composite_io.rb:32:in `read'
>       # ./lib/http/form_data/readable.rb:24:in `read'
>       # ./lib/http/form_data/readable.rb:12:in `to_s'
>       # ./spec/lib/http/form_data/multipart_spec.rb:133:in `block (3 levels) 
> in <top (required)>'
> 
> Top 10 slowest examples (0.01071 seconds, 28.6% of total time):
>   HTTP::FormData.create when form has file in an array param is expected to 
> be a kind of HTTP::FormData::Multipart
>     0.00153 seconds ./spec/lib/http/form_data_spec.rb:21
>   HTTP::FormData::Urlencoded#to_s rewinds content
>     0.0013 seconds ./spec/lib/http/form_data/urlencoded_spec.rb:32
>   HTTP::FormData::CompositeIO#initialize fails if an IO is neither a String 
> nor an IO
>     0.0013 seconds ./spec/lib/http/form_data/composite_io_spec.rb:14
>   HTTP::FormData::Multipart#boundary returns a new boundary
>     0.00112 seconds ./spec/lib/http/form_data/multipart_spec.rb:137
>   HTTP::FormData::Multipart#rewind rewinds the multipart data IO
>     0.00098 seconds ./spec/lib/http/form_data/multipart_spec.rb:105
>   HTTP::FormData::File#to_s when file given as a Pathname is expected to eq 
> "The HTTP Gem is an easy-to-use client library for making requests from 
> Ruby.\n"
>     0.00094 seconds ./spec/lib/http/form_data/file_spec.rb:49
>   HTTP::FormData::File#to_s when file given as a String is expected to eq 
> "The HTTP Gem is an easy-to-use client library for making requests from 
> Ruby.\n"
>     0.00094 seconds ./spec/lib/http/form_data/file_spec.rb:38
>   HTTP::FormData::Urlencoded#content_length with unicode chars is expected to 
> eq 37
>     0.0009 seconds ./spec/lib/http/form_data/urlencoded_spec.rb:19
>   HTTP::FormData.ensure_hash when Hash given is expected to eq {:foo=>:bar}
>     0.00086 seconds ./spec/lib/http/form_data_spec.rb:30
>   HTTP::FormData::File#filename when file given as File and filename given 
> with options is expected to eq "foobar.txt"
>     0.00084 seconds ./spec/lib/http/form_data/file_spec.rb:183
> 
> Top 6 slowest example groups:
>   HTTP::FormData
>     0.0007 seconds average (0.0049 seconds / 7 examples) 
> ./spec/lib/http/form_data_spec.rb:3
>   HTTP::FormData::Urlencoded
>     0.00051 seconds average (0.00457 seconds / 9 examples) 
> ./spec/lib/http/form_data/urlencoded_spec.rb:4
>   HTTP::FormData::Multipart
>     0.00049 seconds average (0.00687 seconds / 14 examples) 
> ./spec/lib/http/form_data/multipart_spec.rb:3
>   HTTP::FormData::File
>     0.00046 seconds average (0.01431 seconds / 31 examples) 
> ./spec/lib/http/form_data/file_spec.rb:4
>   HTTP::FormData::CompositeIO
>     0.00031 seconds average (0.00437 seconds / 14 examples) 
> ./spec/lib/http/form_data/composite_io_spec.rb:3
>   HTTP::FormData::Part
>     0.00022 seconds average (0.00194 seconds / 9 examples) 
> ./spec/lib/http/form_data/part_spec.rb:3
> 
> Finished in 0.03743 seconds (files took 0.32371 seconds to load)
> 84 examples, 18 failures
> 
> Failed examples:
> 
> rspec ./spec/lib/http/form_data/composite_io_spec.rb:9 # 
> HTTP::FormData::CompositeIO#initialize accepts IOs and strings
> rspec ./spec/lib/http/form_data/composite_io_spec.rb:62 # 
> HTTP::FormData::CompositeIO#read returns nil when no partial data was 
> retrieved with a buffer
> rspec ./spec/lib/http/form_data/composite_io_spec.rb:25 # 
> HTTP::FormData::CompositeIO#read reads partial data
> rspec ./spec/lib/http/form_data/composite_io_spec.rb:69 # 
> HTTP::FormData::CompositeIO#read returns data in binary encoding
> rspec ./spec/lib/http/form_data/composite_io_spec.rb:37 # 
> HTTP::FormData::CompositeIO#read returns nil when no partial data was 
> retrieved
> rspec ./spec/lib/http/form_data/composite_io_spec.rb:80 # 
> HTTP::FormData::CompositeIO#read reads data in bytes
> rspec ./spec/lib/http/form_data/composite_io_spec.rb:21 # 
> HTTP::FormData::CompositeIO#read reads all data
> rspec ./spec/lib/http/form_data/composite_io_spec.rb:32 # 
> HTTP::FormData::CompositeIO#read returns empty string when no data was 
> retrieved
> rspec ./spec/lib/http/form_data/composite_io_spec.rb:92 # 
> HTTP::FormData::CompositeIO#rewind rewinds all IOs
> rspec ./spec/lib/http/form_data/multipart_spec.rb:18 # 
> HTTP::FormData::Multipart#to_s properly generates multipart data
> rspec ./spec/lib/http/form_data/multipart_spec.rb:33 # 
> HTTP::FormData::Multipart#to_s rewinds content
> rspec ./spec/lib/http/form_data/multipart_spec.rb:62 # 
> HTTP::FormData::Multipart#to_s with filename set to nil doesn't include a 
> filename
> rspec ./spec/lib/http/form_data/multipart_spec.rb:79 # 
> HTTP::FormData::Multipart#to_s with content type set to nil doesn't include a 
> filename
> rspec ./spec/lib/http/form_data/multipart_spec.rb:44 # 
> HTTP::FormData::Multipart#to_s with user-defined boundary uses the given 
> boundary
> rspec ./spec/lib/http/form_data/multipart_spec.rb:105 # 
> HTTP::FormData::Multipart#rewind rewinds the multipart data IO
> rspec ./spec/lib/http/form_data/multipart_spec.rb:93 # 
> HTTP::FormData::Multipart#size returns bytesize of multipart data
> rspec ./spec/lib/http/form_data/multipart_spec.rb:99 # 
> HTTP::FormData::Multipart#read returns multipart data
> rspec ./spec/lib/http/form_data/multipart_spec.rb:133 # 
> HTTP::FormData::Multipart#content_length 
> 
> Randomized with seed 6150
> 
> Coverage report generated for RSpec to /<<PKGBUILDDIR>>/coverage. 180 / 182 
> LOC (98.9%) covered.
> [Coveralls] Outside the CI environment, not sending data.
> SimpleCov failed with exit 1
> /usr/bin/ruby2.7 
> -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib
>  /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec 
> --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby2.7" failed: 

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/ruby-http-form-data_2.1.0-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to