[DRE-maint] Bug#745672: FTBFS: ERROR: ./spec/dns_spec.rb:16 # EventMachine::HttpRequest should fail GET on

Per Andersson avtobiff at gmail.com
Wed Apr 23 22:24:08 UTC 2014


Package: ruby-em-http-request
Version: 1.1.2-1
Severity: serious

Hi!

This package FTBFS, excerpt of failure below. Full log attached.


--
Per


[...]
   dh_auto_install -O--buildsystem=ruby
  Entering dh_ruby --install
Running tests for ruby2.0 using debian/ruby-tests.rake ...
/usr/bin/ruby2.0 -S rspec ./spec/client_fiber_spec.rb ./spec/client_spec.rb ./spec/digest_auth_spec.rb ./spec/dns_spec.rb ./spec/encoding_spec.rb ./spec/external_spec.rb ./spec/gzip_spec.rb ./spec/http_proxy_spec.rb ./spec/middleware/oauth2_spec.rb ./spec/middleware_spec.rb ./spec/multi_spec.rb ./spec/pipelining_spec.rb ./spec/redirect_spec.rb ./spec/socksify_proxy_spec.rb ./spec/ssl_spec.rb
[2014-04-23 22:09:35] INFO  WEBrick 1.3.1
[2014-04-23 22:09:35] INFO  ruby 2.0.0 (2014-03-03) [x86_64-linux-gnu]
[2014-04-23 22:09:35] INFO  WEBrick::HTTPServer#start: pid=11631 port=8090
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
..localhost - - [23/Apr/2014:22:09:41 UTC] "HEAD / HTTP/1.1" 200 0
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "DELETE / HTTP/1.1" 200 0
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /fail HTTP/1.1" 404 0
- -> /fail
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /fail HTTP/1.1" 404 0
- -> /fail
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /fail_with_nonstandard_response HTTP/1.1" 420 0
- -> /fail_with_nonstandard_response
..localhost - - [23/Apr/2014:22:09:41 UTC] "GET /?q=test HTTP/1.1" 200 4
- -> /?q=test
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /?q=test HTTP/1.1" 200 4
- -> /?q=test
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo_query?hash[]=value1&hash[]=value2 HTTP/1.1" 200 27
- -> /echo_query?hash[]=value1&hash[]=value2
..localhost - - [23/Apr/2014:22:09:41 UTC] "PUT / HTTP/1.1" 200 4
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST / HTTP/1.1" 200 4
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "PATCH / HTTP/1.1" 200 4
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST / HTTP/1.1" 200 21
- -> /
localhost - - [23/Apr/2014:22:09:41 UTC] "POST / HTTP/1.1" 200 26
- -> /
..localhost - - [23/Apr/2014:22:09:41 UTC] "POST /echo_content_length_from_header HTTP/1.1" 200 15
- -> /echo_content_length_from_header
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST /echo_content_length HTTP/1.1" 200 2
- -> /echo_content_length
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 304 0
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /authtest HTTP/1.1" 200 7
- -> /authtest
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /authtest HTTP/1.1" 200 7
- -> /authtest
..localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /auth HTTP/1.1" 200 90
- -> /auth
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /auth HTTP/1.1" 200 73
- -> /auth
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo_query HTTP/1.1" 200 0
.- -> /echo_query
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo_headers HTTP/1.1" 200 0
- -> /echo_headers
..localhost - - [23/Apr/2014:22:09:41 UTC] "GET /deflate HTTP/1.1" 200 12
- -> /deflate
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /gzip-large HTTP/1.1" 200 16344
- -> /gzip-large
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
..localhost - - [23/Apr/2014:22:09:41 UTC] "GET /relative-location HTTP/1.1" 301 0
.- -> /relative-location
localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /deflate HTTP/1.1" 200 12
- -> /deflate
..localhost - - [23/Apr/2014:22:09:41 UTC] "GET /set_cookie HTTP/1.1" 200 10
- -> /set_cookie
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /set_multiple_cookies HTTP/1.1" 200 11
- -> /set_multiple_cookies
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo_cookie HTTP/1.1" 200 5
- -> /echo_cookie
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo_cookie HTTP/1.1" 200 5
- -> /echo_cookie
..localhost - - [23/Apr/2014:22:09:41 UTC] "POST / HTTP/1.1" 200 509
- -> /
localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
...localhost - - [23/Apr/2014:22:09:41 UTC] "POST /echo_content_type HTTP/1.1" 200 0
.- -> /echo_content_type
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST /echo_content_type HTTP/1.1" 200 33
- -> /echo_content_type
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST /echo_content_type HTTP/1.1" 200 19
- -> /echo_content_type
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST /echo_content_type HTTP/1.1" 200 28
- -> /echo_content_type
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST /echo_content_type HTTP/1.1" 200 31
- -> /echo_content_type
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
....localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo-user-agent HTTP/1.1" 200 25
- -> /echo-user-agent
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo-user-agent HTTP/1.1" 200 2
- -> /echo-user-agent
....localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo-user-agent HTTP/1.1" 200 3
- -> /echo-user-agent
[2014-04-23 22:09:41] ERROR URI::InvalidURIError: bad URI(is not URI?): http://$$$@$!%&^
	/usr/lib/ruby/2.0.0/uri/generic.rb:1203:in `rescue in merge'
	/usr/lib/ruby/2.0.0/uri/generic.rb:1200:in `merge'
	/usr/lib/ruby/2.0.0/webrick/httpresponse.rb:275:in `setup_header'
	/usr/lib/ruby/2.0.0/webrick/httpresponse.rb:205:in `send_response'
	/usr/lib/ruby/2.0.0/webrick/httpserver.rb:110:in `run'
	/usr/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /redirect/badhost HTTP/1.1" 301 0
- -> /redirect/badhost
.F............localhost - - [23/Apr/2014:22:09:41 UTC] "GET /?q=test HTTP/1.1" 200 4
- -> /?q=test
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /proxyauth?q=test HTTP/1.1" 200 4
- -> /proxyauth?q=test
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /?q=test HTTP/1.1" 200 4
- -> /?q=test
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /?q=test HTTP/1.1" 200 4
- -> /?q=test
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /redirect HTTP/1.1" 301 8
- -> /redirect
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
....localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
..localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST / HTTP/1.1" 200 15
- -> /
localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "POST / HTTP/1.1" 200 0
- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "HEAD / HTTP/1.1" 200 0
- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "DELETE / HTTP/1.1" 200 0
- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "PUT / HTTP/1.1" 200 0
.- -> /
....localhost - - [23/Apr/2014:22:09:42 UTC] "POST / HTTP/1.1" 200 0
- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "GET / HTTP/1.1" 200 13
- -> /
....localhost - - [23/Apr/2014:22:09:42 UTC] "GET / HTTP/1.1" 200 13
- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect HTTP/1.1" 301 8
- -> /redirect
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
..localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/created HTTP/1.1" 201 13
- -> /redirect/created
...localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect HTTP/1.1" 301 8
- -> /redirect
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
.localhost - - [23/Apr/2014:22:09:42 UTC] "HEAD /redirect/head HTTP/1.1" 301 0
- -> /redirect/head
localhost - - [23/Apr/2014:22:09:42 UTC] "HEAD / HTTP/1.1" 200 0
.- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "GET / HTTP/1.1" 200 13
- -> /
...localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect HTTP/1.1" 301 8
- -> /redirect
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/bad HTTP/1.1" 301 0
- -> /redirect/bad
.localhost - - [23/Apr/2014:22:09:42 UTC] "GET / HTTP/1.1" 200 13
- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/nohost HTTP/1.1" 301 0
.- -> /redirect/nohost
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/timeout HTTP/1.1" 301 0
- -> /redirect/timeout
.localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/multiple-with-cookie HTTP/1.1" 301 8
- -> /redirect/multiple-with-cookie
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect HTTP/1.1" 301 8
- -> /redirect
.localhost - - [23/Apr/2014:22:09:42 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/multiple-with-cookie HTTP/1.1" 301 8
- -> /redirect/multiple-with-cookie
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect HTTP/1.1" 301 8
- -> /redirect
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
.localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect HTTP/1.1" 301 8
- -> /redirect
.localhost - - [23/Apr/2014:22:09:42 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/middleware_redirects_1 HTTP/1.1" 301 0
- -> /redirect/middleware_redirects_1
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/middleware_redirects_2 HTTP/1.1" 301 0
- -> /redirect/middleware_redirects_2
.localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/middleware_redirects_3 HTTP/1.1" 200 0
- -> /redirect/middleware_redirects_3
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/middleware_redirects_1 HTTP/1.1" 301 0
- -> /redirect/middleware_redirects_1
.localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/middleware_redirects_2 HTTP/1.1" 301 0
- -> /redirect/middleware_redirects_2
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/http_no_port HTTP/1.1" 301 0
- -> /redirect/http_no_port
.localhost - - [23/Apr/2014:22:09:47 UTC] "GET /redirect/https_no_port HTTP/1.1" 301 0
- -> /redirect/https_no_port
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /timeout HTTP/1.1" 200 0
- -> /timeout
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /timeout HTTP/1.1" 200 0
- -> /timeout
.localhost - - [23/Apr/2014:22:09:52 UTC] "GET /redirect/http_with_port HTTP/1.1" 301 0
- -> /redirect/http_with_port
.localhost - - [23/Apr/2014:22:09:57 UTC] "GET /redirect/https_with_port HTTP/1.1" 301 0
- -> /redirect/https_with_port
.

Failures:

  1) EventMachine::HttpRequest should fail GET on invalid host
     Failure/Error: http.error.should match(/unable to resolve server address/)
     NoMethodError:
       undefined method `match' for Errno::ETIMEDOUT:Class
     # ./spec/dns_spec.rb:22:in `block (4 levels) in <top (required)>'
     # ./lib/em-http/client.rb:124:in `on_error'
     # ./lib/em-http/client.rb:118:in `unbind'
     # ./lib/em-http/http_connection.rb:173:in `block in unbind'
     # ./lib/em-http/http_connection.rb:173:in `map'
     # ./lib/em-http/http_connection.rb:173:in `unbind'
     # ./lib/em-http/http_connection.rb:31:in `unbind'
     # ./spec/dns_spec.rb:17:in `block (2 levels) in <top (required)>'

Finished in 26.05 seconds
119 examples, 1 failure

Failed examples:

rspec ./spec/dns_spec.rb:16 # EventMachine::HttpRequest should fail GET on invalid host
[2014-04-23 22:10:02] INFO  going to shutdown ...
[2014-04-23 22:10:02] INFO  WEBrick::HTTPServer#start done.
/usr/bin/ruby2.0 -S rspec ./spec/client_fiber_spec.rb ./spec/client_spec.rb ./spec/digest_auth_spec.rb ./spec/dns_spec.rb ./spec/encoding_spec.rb ./spec/external_spec.rb ./spec/gzip_spec.rb ./spec/http_proxy_spec.rb ./spec/middleware/oauth2_spec.rb ./spec/middleware_spec.rb ./spec/multi_spec.rb ./spec/pipelining_spec.rb ./spec/redirect_spec.rb ./spec/socksify_proxy_spec.rb ./spec/ssl_spec.rb failed
ERROR: Test "ruby2.0" failed. Exiting.
dh_auto_install: dh_ruby --install /tmp/buildd/ruby-em-http-request-1.1.2/debian/ruby-em-http-request returned exit code 1
make: *** [binary] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
-------------- next part --------------
Building with cowbuilder for distribution sid
I: using cowbuilder as pbuilder
dpkg-checkbuilddeps: Unmet build dependencies: ruby-addressable ruby-cookiejar ruby-em-socksify ruby-escape-utils ruby-rack ruby-rspec ruby-multi-json
W: Unmet build-dependency in source
dpkg-buildpackage: source package ruby-em-http-request
dpkg-buildpackage: source version 1.1.2-2
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Per Andersson <avtobiff at gmail.com>
 dpkg-source --before-build ruby-em-http-request
dpkg-checkbuilddeps: Unmet build dependencies: ruby-addressable ruby-cookiejar ruby-em-socksify ruby-escape-utils ruby-rack ruby-rspec ruby-multi-json
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
dpkg-buildpackage: warning: this is currently a non-fatal warning with -S, but will probably become fatal in the future
 fakeroot debian/rules clean
dh clean --buildsystem=ruby --with ruby
   dh_testdir -O--buildsystem=ruby
   dh_auto_clean -O--buildsystem=ruby
  Entering dh_ruby --clean
  Leaving dh_ruby --clean
   dh_clean -O--buildsystem=ruby
 dpkg-source -b ruby-em-http-request
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building ruby-em-http-request using existing ./ruby-em-http-request_1.1.2.orig.tar.gz
dpkg-source: info: building ruby-em-http-request in ruby-em-http-request_1.1.2-2.debian.tar.xz
dpkg-source: info: building ruby-em-http-request in ruby-em-http-request_1.1.2-2.dsc
 dpkg-genchanges -S >../ruby-em-http-request_1.1.2-2_source.changes
dpkg-genchanges: not including original source code in upload
 dpkg-source --after-build ruby-em-http-request
dpkg-source: info: unapplying change_mongrel_to_webrick.patch
dpkg-source: info: unapplying require_connection_test.patch
dpkg-source: info: unapplying disable-rubygems.patch
dpkg-buildpackage: binary and diff upload (original source NOT included)
 -> Copying COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.7962 
  forking: cp -al /var/cache/pbuilder/base-sid.cow /var/cache/pbuilder/build//cow.7962 
I: removed stale ilistfile /var/cache/pbuilder/build//cow.7962/.ilist
  forking: chroot /var/cache/pbuilder/build//cow.7962 cowdancer-ilistcreate /.ilist find . -xdev -path ./home -prune -o \( \( -type l -o -type f \) -a -links +1 -print0 \) | xargs -0 stat --format '%d %i ' 
 -> Invoking pbuilder
  forking: pbuilder build --debbuildopts  --debbuildopts  --buildplace /var/cache/pbuilder/build//cow.7962 --buildresult /home/avtobiff/debian/packages/pkg-ruby-extras --debbuildopts  --no-targz --internal-chrootexec chroot /var/cache/pbuilder/build//cow.7962 cow-shell /home/avtobiff/debian/packages/pkg-ruby-extras/ruby-em-http-request_1.1.2-2.dsc 
I: Running in no-targz mode
I: using fakeroot in build.
I: Current time: Thu Apr 24 00:08:55 CEST 2014
I: pbuilder-time-stamp: 1398290935
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /home/avtobiff/debian/local-debs
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Installing the build-deps
I: user script /var/cache/pbuilder/build/cow.7962/tmp/hooks/D80no-man-db-rebuild starting
I: Preseed man-db/auto-update to false
I: user script /var/cache/pbuilder/build/cow.7962/tmp/hooks/D80no-man-db-rebuild finished
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-maint at lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), ruby-addressable, ruby-cookiejar, ruby-em-socksify, ruby-escape-utils, ruby-eventmachine, ruby-http-parser.rb, ruby-rack, ruby-rspec, ruby-multi-json
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 11386 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
 pbuilder-satisfydepends-dummy depends on debhelper (>= 7.0.50~); however:
  Package debhelper is not installed.
 pbuilder-satisfydepends-dummy depends on gem2deb (>= 0.2.13~); however:
  Package gem2deb is not installed.
 pbuilder-satisfydepends-dummy depends on ruby-addressable; however:
  Package ruby-addressable is not installed.
 pbuilder-satisfydepends-dummy depends on ruby-cookiejar; however:
  Package ruby-cookiejar is not installed.
 pbuilder-satisfydepends-dummy depends on ruby-em-socksify; however:
  Package ruby-em-socksify is not installed.
 pbuilder-satisfydepends-dummy depends on ruby-escape-utils; however:
  Package ruby-escape-utils is not installed.
 pbuilder-satisfydepends-dummy depends on ruby-eventmachine; however:
  Package ruby-eventmachine is not installed.
 pbuilder-satisfydepends-dummy depends on ruby-http-parser.rb; however:
  Package ruby-http-parser.rb is not installed.
 pbuilder-satisfyd
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
The following NEW packages will be installed:
  bsdmainutils{a} debhelper{a} devscripts{a} dh-python{a} file{a} 
  gem2deb{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} 
  libasprintf0c2{a} libcroco3{a} libexpat1{a} libffi6{a} libglib2.0-0{a} 
  libgmp-dev{a} libgmpxx4ldbl{a} libhttp-parser2.1{a} libjs-jquery{a} 
  libmagic1{a} libmpdec2{a} libpipeline1{a} libpython3-stdlib{a} 
  libpython3.3-minimal{a} libpython3.3-stdlib{a} libruby2.0{a} 
  libruby2.1{a} libssl1.0.0{a} libunistring0{a} libxml2{a} libyaml-0-2{a} 
  man-db{a} mime-support{a} po-debconf{a} python3{a} python3-minimal{a} 
  python3.3{a} python3.3-minimal{a} ruby{a} ruby-addressable{a} 
  ruby-all-dev{a} ruby-cookiejar{a} ruby-diff-lcs{a} ruby-em-socksify{a} 
  ruby-escape-utils{a} ruby-eventmachine{a} ruby-http-parser.rb{a} 
  ruby-multi-json{a} ruby-rack{a} ruby-rspec{a} ruby-rspec-core{a} 
  ruby-rspec-expectations{a} ruby-rspec-mocks{a} ruby2.0{a} ruby2.0-dev{a} 
  ruby2.1{a} ruby2.1-dev{a} rubygems-integration{a} 
0 packages upgraded, 58 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/25.6 MB of archives. After unpacking 94.1 MB will be used.
Writing extended state information...
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpipeline1:amd64.
(Reading database ... 11386 files and directories currently installed.)
Preparing to unpack .../libpipeline1_1.3.0-1_amd64.deb ...
Unpacking libpipeline1:amd64 (1.3.0-1) ...
Selecting previously unselected package libssl1.0.0:amd64.
Preparing to unpack .../libssl1.0.0_1.0.1g-3_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.1g-3) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../groff-base_1.22.2-5_amd64.deb ...
Unpacking groff-base (1.22.2-5) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_9.0.5_amd64.deb ...
Unpacking bsdmainutils (9.0.5) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.6.7.1-1_amd64.deb ...
Unpacking man-db (2.6.7.1-1) ...
Selecting previously unselected package libasprintf0c2:amd64.
Preparing to unpack .../libasprintf0c2_0.18.3.2-1_amd64.deb ...
Unpacking libasprintf0c2:amd64 (0.18.3.2-1) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../libmagic1_1%3a5.17-1_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.17-1) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../libxml2_2.9.1+dfsg1-3_amd64.deb ...
Unpacking libxml2:amd64 (2.9.1+dfsg1-3) ...
Selecting previously unselected package libffi6:amd64.
Preparing to unpack .../libffi6_3.1~rc1+r3.0.13-12_amd64.deb ...
Unpacking libffi6:amd64 (3.1~rc1+r3.0.13-12) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../libglib2.0-0_2.40.0-2_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.40.0-2) ...
Selecting previously unselected package libcroco3:amd64.
Preparing to unpack .../libcroco3_0.6.8-2_amd64.deb ...
Unpacking libcroco3:amd64 (0.6.8-2) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.1.0-4_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-4) ...
Selecting previously unselected package libgmpxx4ldbl:amd64.
Preparing to unpack .../libgmpxx4ldbl_2%3a6.0.0+dfsg-2_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.0.0+dfsg-2) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.0-6_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.0-6) ...
Selecting previously unselected package libpython3.3-minimal:amd64.
Preparing to unpack .../libpython3.3-minimal_3.3.5-1_amd64.deb ...
Unpacking libpython3.3-minimal:amd64 (3.3.5-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.54_all.deb ...
Unpacking mime-support (3.54) ...
Selecting previously unselected package libpython3.3-stdlib:amd64.
Preparing to unpack .../libpython3.3-stdlib_3.3.5-1_amd64.deb ...
Unpacking libpython3.3-stdlib:amd64 (3.3.5-1) ...
Selecting previously unselected package libunistring0:amd64.
Preparing to unpack .../libunistring0_0.9.3-5_amd64.deb ...
Unpacking libunistring0:amd64 (0.9.3-5) ...
Selecting previously unselected package libyaml-0-2:amd64.
Preparing to unpack .../libyaml-0-2_0.1.4-3.2_amd64.deb ...
Unpacking libyaml-0-2:amd64 (0.1.4-3.2) ...
Selecting previously unselected package python3.3-minimal.
Preparing to unpack .../python3.3-minimal_3.3.5-1_amd64.deb ...
Unpacking python3.3-minimal (3.3.5-1) ...
Selecting previously unselected package libhttp-parser2.1:amd64.
Preparing to unpack .../libhttp-parser2.1_2.1-2_amd64.deb ...
Unpacking libhttp-parser2.1:amd64 (2.1-2) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.17-1_amd64.deb ...
Unpacking file (1:5.17-1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.18.3.2-1_amd64.deb ...
Unpacking gettext-base (0.18.3.2-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.18.3.2-1_amd64.deb ...
Unpacking gettext (0.18.3.2-1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.1) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.16+nmu2_all.deb ...
Unpacking po-debconf (1.0.16+nmu2) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20140228_all.deb ...
Unpacking debhelper (9.20140228) ...
Selecting previously unselected package python3.3.
Preparing to unpack .../python3.3_3.3.5-1_amd64.deb ...
Unpacking python3.3 (3.3.5-1) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.3.4-1_amd64.deb ...
Unpacking python3-minimal (3.3.4-1) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.3.4-1_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.3.4-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_1.20140128-1_all.deb ...
Unpacking dh-python (1.20140128-1) ...
Selecting previously unselected package python3.
Preparing to unpack .../python3_3.3.4-1_amd64.deb ...
Unpacking python3 (3.3.4-1) ...
Selecting previously unselected package devscripts.
Preparing to unpack .../devscripts_2.14.1_amd64.deb ...
Unpacking devscripts (2.14.1) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../libjs-jquery_1.7.2+dfsg-3_all.deb ...
Unpacking libjs-jquery (1.7.2+dfsg-3) ...
Selecting previously unselected package libruby2.1:amd64.
Preparing to unpack .../libruby2.1_2.1.1-3_amd64.deb ...
Unpacking libruby2.1:amd64 (2.1.1-3) ...
Selecting previously unselected package ruby2.1.
Preparing to unpack .../ruby2.1_2.1.1-3_amd64.deb ...
Unpacking ruby2.1 (2.1.1-3) ...
Selecting previously unselected package rubygems-integration.
Preparing to unpack .../rubygems-integration_1.6_all.deb ...
Unpacking rubygems-integration (1.6) ...
Selecting previously unselected package libruby2.0:amd64.
Preparing to unpack .../libruby2.0_2.0.0.484+really457-3_amd64.deb ...
Unpacking libruby2.0:amd64 (2.0.0.484+really457-3) ...
Selecting previously unselected package ruby2.0.
Preparing to unpack .../ruby2.0_2.0.0.484+really457-3_amd64.deb ...
Unpacking ruby2.0 (2.0.0.484+really457-3) ...
Selecting previously unselected package ruby.
Preparing to unpack .../ruby_1%3a2.0.0.2_all.deb ...
Unpacking ruby (1:2.0.0.2) ...
Selecting previously unselected package ruby2.0-dev:amd64.
Preparing to unpack .../ruby2.0-dev_2.0.0.484+really457-3_amd64.deb ...
Unpacking ruby2.0-dev:amd64 (2.0.0.484+really457-3) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../libgmp-dev_2%3a6.0.0+dfsg-2_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.0.0+dfsg-2) ...
Selecting previously unselected package ruby2.1-dev:amd64.
Preparing to unpack .../ruby2.1-dev_2.1.1-3_amd64.deb ...
Unpacking ruby2.1-dev:amd64 (2.1.1-3) ...
Selecting previously unselected package ruby-all-dev.
Preparing to unpack .../ruby-all-dev_1%3a2.0.0.2_all.deb ...
Unpacking ruby-all-dev (1:2.0.0.2) ...
Selecting previously unselected package gem2deb.
Preparing to unpack .../archives/gem2deb_0.7.5_all.deb ...
Unpacking gem2deb (0.7.5) ...
Selecting previously unselected package ruby-addressable.
Preparing to unpack .../ruby-addressable_2.3.5-1_all.deb ...
Unpacking ruby-addressable (2.3.5-1) ...
Selecting previously unselected package ruby-cookiejar.
Preparing to unpack .../ruby-cookiejar_0.3.1-1_all.deb ...
Unpacking ruby-cookiejar (0.3.1-1) ...
Selecting previously unselected package ruby-diff-lcs.
Preparing to unpack .../ruby-diff-lcs_1.2.5-1_all.deb ...
Unpacking ruby-diff-lcs (1.2.5-1) ...
Selecting previously unselected package ruby-eventmachine.
Preparing to unpack .../ruby-eventmachine_1.0.3-6_amd64.deb ...
Unpacking ruby-eventmachine (1.0.3-6) ...
Selecting previously unselected package ruby-em-socksify.
Preparing to unpack .../ruby-em-socksify_0.3.0-1_all.deb ...
Unpacking ruby-em-socksify (0.3.0-1) ...
Selecting previously unselected package ruby-escape-utils.
Preparing to unpack .../ruby-escape-utils_1.0.1-2_amd64.deb ...
Unpacking ruby-escape-utils (1.0.1-2) ...
Selecting previously unselected package ruby-http-parser.rb.
Preparing to unpack .../ruby-http-parser.rb_0.6.0-2+b1_amd64.deb ...
Unpacking ruby-http-parser.rb (0.6.0-2+b1) ...
Selecting previously unselected package ruby-multi-json.
Preparing to unpack .../ruby-multi-json_1.8.0-1_all.deb ...
Unpacking ruby-multi-json (1.8.0-1) ...
Selecting previously unselected package ruby-rack.
Preparing to unpack .../ruby-rack_1.5.2-1_all.deb ...
Unpacking ruby-rack (1.5.2-1) ...
Selecting previously unselected package ruby-rspec-expectations.
Preparing to unpack .../ruby-rspec-expectations_2.14.2-1_all.deb ...
Unpacking ruby-rspec-expectations (2.14.2-1) ...
Selecting previously unselected package ruby-rspec-mocks.
Preparing to unpack .../ruby-rspec-mocks_2.14.5-1_all.deb ...
Unpacking ruby-rspec-mocks (2.14.5-1) ...
Selecting previously unselected package ruby-rspec-core.
Preparing to unpack .../ruby-rspec-core_2.14.7-2_all.deb ...
Unpacking ruby-rspec-core (2.14.7-2) ...
Selecting previously unselected package ruby-rspec.
Preparing to unpack .../ruby-rspec_2.14.1-1_all.deb ...
Unpacking ruby-rspec (2.14.1-1) ...
Setting up libpipeline1:amd64 (1.3.0-1) ...
Setting up libssl1.0.0:amd64 (1.0.1g-3) ...
Setting up groff-base (1.22.2-5) ...
Setting up bsdmainutils (9.0.5) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up man-db (2.6.7.1-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libasprintf0c2:amd64 (0.18.3.2-1) ...
Setting up libmagic1:amd64 (1:5.17-1) ...
Setting up libxml2:amd64 (2.9.1+dfsg1-3) ...
Setting up libffi6:amd64 (3.1~rc1+r3.0.13-12) ...
Setting up libglib2.0-0:amd64 (2.40.0-2) ...
No schema files found: doing nothing.
Setting up libcroco3:amd64 (0.6.8-2) ...
Setting up libexpat1:amd64 (2.1.0-4) ...
Setting up libgmpxx4ldbl:amd64 (2:6.0.0+dfsg-2) ...
Setting up libmpdec2:amd64 (2.4.0-6) ...
Setting up libpython3.3-minimal:amd64 (3.3.5-1) ...
Setting up mime-support (3.54) ...
update-alternatives: using /usr/bin/see to provide /usr/bin/view (view) in auto mode
Setting up libpython3.3-stdlib:amd64 (3.3.5-1) ...
Setting up libunistring0:amd64 (0.9.3-5) ...
Setting up libyaml-0-2:amd64 (0.1.4-3.2) ...
Setting up python3.3-minimal (3.3.5-1) ...
Setting up libhttp-parser2.1:amd64 (2.1-2) ...
Setting up file (1:5.17-1) ...
Setting up gettext-base (0.18.3.2-1) ...
Setting up gettext (0.18.3.2-1) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu2) ...
Setting up debhelper (9.20140228) ...
Setting up python3.3 (3.3.5-1) ...
Setting up python3-minimal (3.3.4-1) ...
Setting up libpython3-stdlib:amd64 (3.3.4-1) ...
Setting up libjs-jquery (1.7.2+dfsg-3) ...
Setting up libgmp-dev:amd64 (2:6.0.0+dfsg-2) ...
Setting up dh-python (1.20140128-1) ...
Setting up python3 (3.3.4-1) ...
Setting up devscripts (2.14.1) ...
Setting up rubygems-integration (1.6) ...
Setting up ruby2.0 (2.0.0.484+really457-3) ...
Setting up ruby (1:2.0.0.2) ...
Setting up ruby2.1 (2.1.1-3) ...
Setting up ruby-addressable (2.3.5-1) ...
Setting up ruby-cookiejar (0.3.1-1) ...
Setting up ruby-diff-lcs (1.2.5-1) ...
Setting up ruby-multi-json (1.8.0-1) ...
Setting up ruby-rack (1.5.2-1) ...
Setting up ruby-rspec-expectations (2.14.2-1) ...
Setting up ruby-rspec-mocks (2.14.5-1) ...
Setting up ruby-rspec-core (2.14.7-2) ...
Setting up ruby-rspec (2.14.1-1) ...
Setting up libruby2.0:amd64 (2.0.0.484+really457-3) ...
Setting up libruby2.1:amd64 (2.1.1-3) ...
Setting up ruby2.0-dev:amd64 (2.0.0.484+really457-3) ...
Setting up ruby2.1-dev:amd64 (2.1.1-3) ...
Setting up ruby-all-dev (1:2.0.0.2) ...
Setting up gem2deb (0.7.5) ...
Setting up ruby-eventmachine (1.0.3-6) ...
Setting up ruby-em-socksify (0.3.0-1) ...
Setting up ruby-escape-utils (1.0.1-2) ...
Setting up ruby-http-parser.rb (0.6.0-2+b1) ...
Processing triggers for libc-bin (2.18-4) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libfakeroot
The following NEW packages will be installed:
  fakeroot libfakeroot
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/122 kB of archives.
After this operation, 411 kB of additional disk space will be used.
Selecting previously unselected package libfakeroot:amd64.
(Reading database ... 16932 files and directories currently installed.)
Preparing to unpack .../libfakeroot_1.20-3_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20-3) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20-3_amd64.deb ...
Unpacking fakeroot (1.20-3) ...
Processing triggers for man-db (2.6.7.1-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libfakeroot:amd64 (1.20-3) ...
Setting up fakeroot (1.20-3) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
I: Copying back the cached apt archive contents
I: Copying source file
I: copying [/home/avtobiff/debian/packages/pkg-ruby-extras/ruby-em-http-request_1.1.2-2.dsc]
I: copying [/home/avtobiff/debian/packages/pkg-ruby-extras/ruby-em-http-request_1.1.2.orig.tar.gz]
I: copying [/home/avtobiff/debian/packages/pkg-ruby-extras/ruby-em-http-request_1.1.2-2.debian.tar.xz]
I: Extracting source
dpkg-source: warning: extracting unsigned source package (ruby-em-http-request_1.1.2-2.dsc)
dpkg-source: info: extracting ruby-em-http-request in ruby-em-http-request-1.1.2
dpkg-source: info: unpacking ruby-em-http-request_1.1.2.orig.tar.gz
dpkg-source: info: unpacking ruby-em-http-request_1.1.2-2.debian.tar.xz
dpkg-source: info: applying disable-rubygems.patch
dpkg-source: info: applying require_connection_test.patch
dpkg-source: info: applying change_mongrel_to_webrick.patch
I: Building the package
W: no hooks of type A found -- ignoring
I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc  -rfakeroot
dpkg-buildpackage: source package ruby-em-http-request
dpkg-buildpackage: source version 1.1.2-2
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Per Andersson <avtobiff at gmail.com>
 dpkg-source --before-build ruby-em-http-request-1.1.2
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --buildsystem=ruby --with ruby
   dh_testdir -O--buildsystem=ruby
   dh_auto_clean -O--buildsystem=ruby
  Entering dh_ruby --clean
  Leaving dh_ruby --clean
   dh_clean -O--buildsystem=ruby
 dpkg-source -b ruby-em-http-request-1.1.2
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building ruby-em-http-request using existing ./ruby-em-http-request_1.1.2.orig.tar.gz
dpkg-source: info: building ruby-em-http-request in ruby-em-http-request_1.1.2-2.debian.tar.xz
dpkg-source: info: building ruby-em-http-request in ruby-em-http-request_1.1.2-2.dsc
 debian/rules build
dh build --buildsystem=ruby --with ruby
   dh_testdir -O--buildsystem=ruby
   dh_auto_configure -O--buildsystem=ruby
   dh_auto_build -O--buildsystem=ruby
   dh_auto_test -O--buildsystem=ruby
 fakeroot debian/rules binary
dh binary --buildsystem=ruby --with ruby
   dh_testroot -O--buildsystem=ruby
   dh_prep -O--buildsystem=ruby
   dh_auto_install -O--buildsystem=ruby
  Entering dh_ruby --install
Running tests for ruby2.0 using debian/ruby-tests.rake ...
/usr/bin/ruby2.0 -S rspec ./spec/client_fiber_spec.rb ./spec/client_spec.rb ./spec/digest_auth_spec.rb ./spec/dns_spec.rb ./spec/encoding_spec.rb ./spec/external_spec.rb ./spec/gzip_spec.rb ./spec/http_proxy_spec.rb ./spec/middleware/oauth2_spec.rb ./spec/middleware_spec.rb ./spec/multi_spec.rb ./spec/pipelining_spec.rb ./spec/redirect_spec.rb ./spec/socksify_proxy_spec.rb ./spec/ssl_spec.rb
[2014-04-23 22:09:35] INFO  WEBrick 1.3.1
[2014-04-23 22:09:35] INFO  ruby 2.0.0 (2014-03-03) [x86_64-linux-gnu]
[2014-04-23 22:09:35] INFO  WEBrick::HTTPServer#start: pid=11631 port=8090
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
..localhost - - [23/Apr/2014:22:09:41 UTC] "HEAD / HTTP/1.1" 200 0
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "DELETE / HTTP/1.1" 200 0
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /fail HTTP/1.1" 404 0
- -> /fail
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /fail HTTP/1.1" 404 0
- -> /fail
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /fail_with_nonstandard_response HTTP/1.1" 420 0
- -> /fail_with_nonstandard_response
..localhost - - [23/Apr/2014:22:09:41 UTC] "GET /?q=test HTTP/1.1" 200 4
- -> /?q=test
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /?q=test HTTP/1.1" 200 4
- -> /?q=test
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo_query?hash[]=value1&hash[]=value2 HTTP/1.1" 200 27
- -> /echo_query?hash[]=value1&hash[]=value2
..localhost - - [23/Apr/2014:22:09:41 UTC] "PUT / HTTP/1.1" 200 4
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST / HTTP/1.1" 200 4
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "PATCH / HTTP/1.1" 200 4
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST / HTTP/1.1" 200 21
- -> /
localhost - - [23/Apr/2014:22:09:41 UTC] "POST / HTTP/1.1" 200 26
- -> /
..localhost - - [23/Apr/2014:22:09:41 UTC] "POST /echo_content_length_from_header HTTP/1.1" 200 15
- -> /echo_content_length_from_header
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST /echo_content_length HTTP/1.1" 200 2
- -> /echo_content_length
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 304 0
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /authtest HTTP/1.1" 200 7
- -> /authtest
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /authtest HTTP/1.1" 200 7
- -> /authtest
..localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /auth HTTP/1.1" 200 90
- -> /auth
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /auth HTTP/1.1" 200 73
- -> /auth
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo_query HTTP/1.1" 200 0
.- -> /echo_query
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo_headers HTTP/1.1" 200 0
- -> /echo_headers
..localhost - - [23/Apr/2014:22:09:41 UTC] "GET /deflate HTTP/1.1" 200 12
- -> /deflate
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /gzip-large HTTP/1.1" 200 16344
- -> /gzip-large
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
..localhost - - [23/Apr/2014:22:09:41 UTC] "GET /relative-location HTTP/1.1" 301 0
.- -> /relative-location
localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /deflate HTTP/1.1" 200 12
- -> /deflate
..localhost - - [23/Apr/2014:22:09:41 UTC] "GET /set_cookie HTTP/1.1" 200 10
- -> /set_cookie
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /set_multiple_cookies HTTP/1.1" 200 11
- -> /set_multiple_cookies
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo_cookie HTTP/1.1" 200 5
- -> /echo_cookie
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo_cookie HTTP/1.1" 200 5
- -> /echo_cookie
..localhost - - [23/Apr/2014:22:09:41 UTC] "POST / HTTP/1.1" 200 509
- -> /
localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
...localhost - - [23/Apr/2014:22:09:41 UTC] "POST /echo_content_type HTTP/1.1" 200 0
.- -> /echo_content_type
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST /echo_content_type HTTP/1.1" 200 33
- -> /echo_content_type
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST /echo_content_type HTTP/1.1" 200 19
- -> /echo_content_type
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST /echo_content_type HTTP/1.1" 200 28
- -> /echo_content_type
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST /echo_content_type HTTP/1.1" 200 31
- -> /echo_content_type
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
....localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo-user-agent HTTP/1.1" 200 25
- -> /echo-user-agent
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo-user-agent HTTP/1.1" 200 2
- -> /echo-user-agent
....localhost - - [23/Apr/2014:22:09:41 UTC] "GET /echo-user-agent HTTP/1.1" 200 3
- -> /echo-user-agent
[2014-04-23 22:09:41] ERROR URI::InvalidURIError: bad URI(is not URI?): http://$$$@$!%&^
	/usr/lib/ruby/2.0.0/uri/generic.rb:1203:in `rescue in merge'
	/usr/lib/ruby/2.0.0/uri/generic.rb:1200:in `merge'
	/usr/lib/ruby/2.0.0/webrick/httpresponse.rb:275:in `setup_header'
	/usr/lib/ruby/2.0.0/webrick/httpresponse.rb:205:in `send_response'
	/usr/lib/ruby/2.0.0/webrick/httpserver.rb:110:in `run'
	/usr/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /redirect/badhost HTTP/1.1" 301 0
- -> /redirect/badhost
.F............localhost - - [23/Apr/2014:22:09:41 UTC] "GET /?q=test HTTP/1.1" 200 4
- -> /?q=test
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /proxyauth?q=test HTTP/1.1" 200 4
- -> /proxyauth?q=test
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /?q=test HTTP/1.1" 200 4
- -> /?q=test
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /?q=test HTTP/1.1" 200 4
- -> /?q=test
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET /redirect HTTP/1.1" 301 8
- -> /redirect
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
....localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
..localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST / HTTP/1.1" 200 13
- -> /
.localhost - - [23/Apr/2014:22:09:41 UTC] "POST / HTTP/1.1" 200 15
- -> /
localhost - - [23/Apr/2014:22:09:41 UTC] "GET / HTTP/1.1" 200 13
- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "POST / HTTP/1.1" 200 0
- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "HEAD / HTTP/1.1" 200 0
- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "DELETE / HTTP/1.1" 200 0
- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "PUT / HTTP/1.1" 200 0
.- -> /
....localhost - - [23/Apr/2014:22:09:42 UTC] "POST / HTTP/1.1" 200 0
- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "GET / HTTP/1.1" 200 13
- -> /
....localhost - - [23/Apr/2014:22:09:42 UTC] "GET / HTTP/1.1" 200 13
- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect HTTP/1.1" 301 8
- -> /redirect
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
..localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/created HTTP/1.1" 201 13
- -> /redirect/created
...localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect HTTP/1.1" 301 8
- -> /redirect
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
.localhost - - [23/Apr/2014:22:09:42 UTC] "HEAD /redirect/head HTTP/1.1" 301 0
- -> /redirect/head
localhost - - [23/Apr/2014:22:09:42 UTC] "HEAD / HTTP/1.1" 200 0
.- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "GET / HTTP/1.1" 200 13
- -> /
...localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect HTTP/1.1" 301 8
- -> /redirect
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/bad HTTP/1.1" 301 0
- -> /redirect/bad
.localhost - - [23/Apr/2014:22:09:42 UTC] "GET / HTTP/1.1" 200 13
- -> /
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/nohost HTTP/1.1" 301 0
.- -> /redirect/nohost
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/timeout HTTP/1.1" 301 0
- -> /redirect/timeout
.localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/multiple-with-cookie HTTP/1.1" 301 8
- -> /redirect/multiple-with-cookie
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect HTTP/1.1" 301 8
- -> /redirect
.localhost - - [23/Apr/2014:22:09:42 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/multiple-with-cookie HTTP/1.1" 301 8
- -> /redirect/multiple-with-cookie
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect HTTP/1.1" 301 8
- -> /redirect
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
.localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect HTTP/1.1" 301 8
- -> /redirect
.localhost - - [23/Apr/2014:22:09:42 UTC] "GET /gzip HTTP/1.1" 200 30
- -> /gzip
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/middleware_redirects_1 HTTP/1.1" 301 0
- -> /redirect/middleware_redirects_1
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/middleware_redirects_2 HTTP/1.1" 301 0
- -> /redirect/middleware_redirects_2
.localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/middleware_redirects_3 HTTP/1.1" 200 0
- -> /redirect/middleware_redirects_3
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/middleware_redirects_1 HTTP/1.1" 301 0
- -> /redirect/middleware_redirects_1
.localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/middleware_redirects_2 HTTP/1.1" 301 0
- -> /redirect/middleware_redirects_2
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /redirect/http_no_port HTTP/1.1" 301 0
- -> /redirect/http_no_port
.localhost - - [23/Apr/2014:22:09:47 UTC] "GET /redirect/https_no_port HTTP/1.1" 301 0
- -> /redirect/https_no_port
localhost - - [23/Apr/2014:22:09:41 UTC] "GET /timeout HTTP/1.1" 200 0
- -> /timeout
localhost - - [23/Apr/2014:22:09:42 UTC] "GET /timeout HTTP/1.1" 200 0
- -> /timeout
.localhost - - [23/Apr/2014:22:09:52 UTC] "GET /redirect/http_with_port HTTP/1.1" 301 0
- -> /redirect/http_with_port
.localhost - - [23/Apr/2014:22:09:57 UTC] "GET /redirect/https_with_port HTTP/1.1" 301 0
- -> /redirect/https_with_port
.

Failures:

  1) EventMachine::HttpRequest should fail GET on invalid host
     Failure/Error: http.error.should match(/unable to resolve server address/)
     NoMethodError:
       undefined method `match' for Errno::ETIMEDOUT:Class
     # ./spec/dns_spec.rb:22:in `block (4 levels) in <top (required)>'
     # ./lib/em-http/client.rb:124:in `on_error'
     # ./lib/em-http/client.rb:118:in `unbind'
     # ./lib/em-http/http_connection.rb:173:in `block in unbind'
     # ./lib/em-http/http_connection.rb:173:in `map'
     # ./lib/em-http/http_connection.rb:173:in `unbind'
     # ./lib/em-http/http_connection.rb:31:in `unbind'
     # ./spec/dns_spec.rb:17:in `block (2 levels) in <top (required)>'

Finished in 26.05 seconds
119 examples, 1 failure

Failed examples:

rspec ./spec/dns_spec.rb:16 # EventMachine::HttpRequest should fail GET on invalid host
[2014-04-23 22:10:02] INFO  going to shutdown ...
[2014-04-23 22:10:02] INFO  WEBrick::HTTPServer#start done.
/usr/bin/ruby2.0 -S rspec ./spec/client_fiber_spec.rb ./spec/client_spec.rb ./spec/digest_auth_spec.rb ./spec/dns_spec.rb ./spec/encoding_spec.rb ./spec/external_spec.rb ./spec/gzip_spec.rb ./spec/http_proxy_spec.rb ./spec/middleware/oauth2_spec.rb ./spec/middleware_spec.rb ./spec/multi_spec.rb ./spec/pipelining_spec.rb ./spec/redirect_spec.rb ./spec/socksify_proxy_spec.rb ./spec/ssl_spec.rb failed
ERROR: Test "ruby2.0" failed. Exiting.
dh_auto_install: dh_ruby --install /tmp/buildd/ruby-em-http-request-1.1.2/debian/ruby-em-http-request returned exit code 1
make: *** [binary] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
I: user script /var/cache/pbuilder/build/cow.7962/tmp/hooks/C10shell starting
Reading package lists...
Building dependency tree...
Reading state information...
bash is already the newest version.
The following extra packages will be installed:
  libgpm2 vim-common vim-runtime
Suggested packages:
  gpm ctags vim-doc vim-scripts
The following NEW packages will be installed:
  less libgpm2 vim vim-common vim-runtime
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 6200 kB/6236 kB of archives.
After this operation, 28.7 MB of additional disk space will be used.
Get:1 http://ftp.uk.debian.org/debian/ sid/main vim-common amd64 2:7.4.253-1 [176 kB]
Get:2 http://ftp.uk.debian.org/debian/ sid/main less amd64 458-2 [133 kB]
Get:3 http://ftp.uk.debian.org/debian/ sid/main vim-runtime all 2:7.4.253-1 [4998 kB]
Get:4 http://ftp.uk.debian.org/debian/ sid/main vim amd64 2:7.4.253-1 [893 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 6200 kB in 3s (1674 kB/s)
Selecting previously unselected package libgpm2:amd64.
(Reading database ... 16976 files and directories currently installed.)
Preparing to unpack .../libgpm2_1.20.4-6.1_amd64.deb ...
Unpacking libgpm2:amd64 (1.20.4-6.1) ...
Selecting previously unselected package vim-common.
Preparing to unpack .../vim-common_2%3a7.4.253-1_amd64.deb ...
Unpacking vim-common (2:7.4.253-1) ...
Selecting previously unselected package less.
Preparing to unpack .../archives/less_458-2_amd64.deb ...
Unpacking less (458-2) ...
Selecting previously unselected package vim-runtime.
Preparing to unpack .../vim-runtime_2%3a7.4.253-1_all.deb ...
Adding 'diversion of /usr/share/vim/vim74/doc/help.txt to /usr/share/vim/vim74/doc/help.txt.vim-tiny by vim-runtime'
Adding 'diversion of /usr/share/vim/vim74/doc/tags to /usr/share/vim/vim74/doc/tags.vim-tiny by vim-runtime'
Unpacking vim-runtime (2:7.4.253-1) ...
Selecting previously unselected package vim.
Preparing to unpack .../vim_2%3a7.4.253-1_amd64.deb ...
Unpacking vim (2:7.4.253-1) ...
Processing triggers for mime-support (3.54) ...
Processing triggers for man-db (2.6.7.1-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libgpm2:amd64 (1.20.4-6.1) ...
Setting up vim-common (2:7.4.253-1) ...
Setting up less (458-2) ...
Setting up vim-runtime (2:7.4.253-1) ...
Processing /usr/share/vim/addons/doc
Setting up vim (2:7.4.253-1) ...
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode
Processing triggers for libc-bin (2.18-4) ...
I: user script /var/cache/pbuilder/build/cow.7962/tmp/hooks/C10shell finished
I: unmounting /home/avtobiff/debian/local-debs filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
 -> Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.7962 


More information about the Pkg-ruby-extras-maintainers mailing list