Sun 9 Sep 06:36:04 BST 2018: starting build of ruby-http version 2.2.2-1 arch armel on mustang1 Running apt-get -q --download-only --only-source source ruby-http=2.2.2-1 Reading package lists... NOTICE: 'ruby-http' packaging is maintained in the 'Git' version control system at: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-http.git Please use: git clone https://anonscm.debian.org/git/pkg-ruby-extras/ruby-http.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 68.8 kB of source archives. Get:1 http://mirror/debian unstable/main ruby-http 2.2.2-1 (dsc) [2,202 B] Get:2 http://mirror/debian unstable/main ruby-http 2.2.2-1 (tar) [62.6 kB] Get:3 http://mirror/debian unstable/main ruby-http 2.2.2-1 (diff) [4,004 B] Fetched 68.8 kB in 0s (2,029 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-http_2.2.2-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) total 72 -rw-r--r-- 1 root root 4004 Jul 27 2017 ruby-http_2.2.2-1.debian.tar.xz -rw-r--r-- 1 root root 2202 Jul 27 2017 ruby-http_2.2.2-1.dsc -rw-r--r-- 1 root root 62583 Jul 27 2017 ruby-http_2.2.2.orig.tar.gz W: /root/.pbuilderrc does not exist I: using fakeroot in build. I: pbuilder: network access will be disabled during build I: Current time: Sun Sep 9 06:36:05 BST 2018 I: pbuilder-time-stamp: 1536471365 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-armel.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: Mounting /dev I: Mounting /dev/pts I: Mounting /proc I: Mounting /sys I: policy-rc.d already exists I: Obtaining the cached apt archive contents I: Copying source file I: copying [ruby-http_2.2.2-1.dsc] I: copying [./ruby-http_2.2.2.orig.tar.gz] I: copying [./ruby-http_2.2.2-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Thu Jul 27 10:35:11 2017 UTC gpgv: using RSA key 2A7974AE2FC152D77867DA4ACE1F9C674512C22A gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-http_2.2.2-1.dsc dpkg-source: info: extracting ruby-http in ruby-http-2.2.2 dpkg-source: info: unpacking ruby-http_2.2.2.orig.tar.gz dpkg-source: info: unpacking ruby-http_2.2.2-1.debian.tar.xz dpkg-source: info: applying disable-network-tests.patch dpkg-source: info: applying add-missing-x509v3-extensions-in-spec I: Installing the build-deps I: user script /chroot/rebuildd/pbuilder/1063/tmp/hooks/D01update starting Get:1 http://mirror.einval.org/debian sid InRelease [233 kB] Ign:2 http://mirror.einval.org/debian sid/main armel Packages.diff/Index Get:2 http://mirror.einval.org/debian sid/main armel Packages.diff/Index [27.9 kB] Ign:2 http://mirror.einval.org/debian sid/main armel Packages.diff/Index Get:3 http://mirror.einval.org/debian sid/main armel Packages [7923 kB] Fetched 8155 kB in 3s (2509 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libncurses6 libprocps7 lsb-base Recommended packages: libgpm2 psmisc The following NEW packages will be installed: libncurses6 libprocps7 lsb-base procps debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 4 newly installed, 0 to remove and 42 not upgraded. Need to get 0 B/415 kB of archives. After this operation, 1113 kB of additional disk space will be used. Selecting previously unselected package libncurses6:armel. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11698 files and directories currently installed.) Preparing to unpack .../libncurses6_6.1+20180714-1_armel.deb ... Unpacking libncurses6:armel (6.1+20180714-1) ... Selecting previously unselected package libprocps7:armel. Preparing to unpack .../libprocps7_2%3a3.3.15-2_armel.deb ... Unpacking libprocps7:armel (2:3.3.15-2) ... Selecting previously unselected package lsb-base. Preparing to unpack .../lsb-base_9.20170808_all.deb ... Unpacking lsb-base (9.20170808) ... Selecting previously unselected package procps. Preparing to unpack .../procps_2%3a3.3.15-2_armel.deb ... Unpacking procps (2:3.3.15-2) ... Setting up libprocps7:armel (2:3.3.15-2) ... Setting up lsb-base (9.20170808) ... Processing triggers for libc-bin (2.27-5) ... Setting up libncurses6:armel (6.1+20180714-1) ... Setting up procps (2:3.3.15-2) ... update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode Processing triggers for libc-bin (2.27-5) ... I: user script /chroot/rebuildd/pbuilder/1063/tmp/hooks/D01update finished W: skipping an editor backup file /chroot/rebuildd/pbuilder/1063/tmp/hooks/D01update~ I: user script /chroot/rebuildd/pbuilder/1063/tmp/hooks/D02enable_swp starting I: user script /chroot/rebuildd/pbuilder/1063/tmp/hooks/D02enable_swp finished W: skipping an editor backup file /chroot/rebuildd/pbuilder/1063/tmp/hooks/D02enable_swp~ -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armel Maintainer: Debian Pbuilder Team 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 (>= 9~), gem2deb, ruby-addressable, ruby-certificate-authority, ruby-coveralls, ruby-http-cookie, ruby-http-form-data (>= 1.0.1+gemwatch~), ruby-http-parser.rb, ruby-rspec, ruby-rspec-its, ruby-simplecov dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 11783 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 (>= 9~); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on gem2deb; 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-certificate-authority; however: Package ruby-certificate-authority is not installed. pbuilder-satisfydepends-dummy depends on ruby-coveralls; however: Package ruby-coveralls is not installed. pbuilder-satisfydepends-dummy depends on ruby-http-cookie; however: Package ruby-http-cookie is not installed. pbuilder-satisfydepends-dummy depends on ruby-http-form-data (>= 1.0.1+gemwatch~); however: Package ruby-http-form-data is not installed. pbuilder-satisfydepends-dummy depends on ruby-http-parser.rb; however: Package ruby-http-parser.rb is not installed. pbuilder-satisfydepends-dummy depends on ruby-rspec; however: Package ruby-rspec is not installed. pbuilder-satisfydepends-dummy depends on ruby-rspec-its; however: Package ruby-rspec-its is not installed. pbuilder-satisfydepends-dummy depends on ruby-simplecov; however: Package ruby-simplecov is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} ca-certificates{a} debhelper{a} devscripts{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gem2deb{a} gem2deb-test-runner{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libexpat1{a} libfile-homedir-perl{a} libfile-stripnondeterminism-perl{a} libfile-which-perl{a} libfreetype6{a} libglib2.0-0{a} libgmp-dev{a} libgmpxx4ldbl{a} libgraphite2-3{a} libharfbuzz0b{a} libhttp-parser2.8{a} libicu-le-hb0{a} libicu60{a} libjs-jquery{a} libjs-jquery-easing{a} libjs-jquery-fancybox{a} libjs-jquery-mousewheel{a} libjs-jquery-ui{a} libmagic-mgc{a} libmagic1{a} libmpdec2{a} libpipeline1{a} libpng16-16{a} libpython3-stdlib{a} libpython3.6-minimal{a} libpython3.6-stdlib{a} libreadline7{a} libruby2.5{a} libsigsegv2{a} libssl1.1{a} libtimedate-perl{a} libtool{a} libxml2{a} libyaml-0-2{a} m4{a} man-db{a} mime-support{a} openssl{a} po-debconf{a} python3{a} python3-minimal{a} python3.6{a} python3.6-minimal{a} rake{a} readline-common{a} ruby{a} ruby-addressable{a} ruby-all-dev{a} ruby-certificate-authority{a} ruby-coveralls{a} ruby-did-you-mean{a} ruby-diff-lcs{a} ruby-docile{a} ruby-domain-name{a} ruby-http-cookie{a} ruby-http-form-data{a} ruby-http-parser.rb{a} ruby-json{a} ruby-mime-types{a} ruby-mime-types-data{a} ruby-minitest{a} ruby-multi-json{a} ruby-net-telnet{a} ruby-netrc{a} ruby-power-assert{a} ruby-public-suffix{a} ruby-rest-client{a} ruby-rspec{a} ruby-rspec-core{a} ruby-rspec-expectations{a} ruby-rspec-its{a} ruby-rspec-mocks{a} ruby-rspec-support{a} ruby-setup{a} ruby-simplecov{a} ruby-simplecov-html{a} ruby-term-ansicolor{a} ruby-test-unit{a} ruby-thor{a} ruby-thread-order{a} ruby-tins{a} ruby-unf{a} ruby-unf-ext{a} ruby-xmlrpc{a} ruby2.5{a} ruby2.5-dev{a} rubygems-integration{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: apt-file at curl dctrl-tools debian-keyring dput dput-ng dupload equivs fakeroot fonts-lato gnupg gnupg2 javascript-common libarchive-cpio-perl libdistro-info-perl libencode-locale-perl libgit-wrapper-perl libglib2.0-data liblist-compare-perl libltdl-dev liblwp-protocol-https-perl libmail-sendmail-perl libsoap-lite-perl libstring-shellquote-perl libtry-tiny-perl liburi-perl libwww-perl licensecheck lintian lynx patchutils pseudo python3-apt python3-debian python3-magic python3-requests python3-unidiff python3-xdg ruby-oj ruby-sqlite3 ruby2.5-doc shared-mime-info strace unzip wdiff wget xdg-user-dirs zip 0 packages upgraded, 110 newly installed, 0 to remove and 42 not upgraded. Need to get 21.0 kB/34.1 MB of archives. After unpacking 124 MB will be used. Writing extended state information... Get: 1 http://mirror.einval.org/debian sid/main armel ruby-certificate-authority all 0.2.0~434c15cd-1 [21.0 kB] Fetched 21.0 kB in 0s (470 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:armel. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11783 files and directories currently installed.) Preparing to unpack .../0-libbsd0_0.9.1-1_armel.deb ... Unpacking libbsd0:armel (0.9.1-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../1-bsdmainutils_11.1.2+b1_armel.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../2-groff-base_1.22.3-10_armel.deb ... Unpacking groff-base (1.22.3-10) ... Selecting previously unselected package libpipeline1:armel. Preparing to unpack .../3-libpipeline1_1.5.0-1_armel.deb ... Unpacking libpipeline1:armel (1.5.0-1) ... Selecting previously unselected package man-db. Preparing to unpack .../4-man-db_2.8.4-2_armel.deb ... Unpacking man-db (2.8.4-2) ... Selecting previously unselected package libssl1.1:armel. Preparing to unpack .../5-libssl1.1_1.1.1~~pre9-1_armel.deb ... Unpacking libssl1.1:armel (1.1.1~~pre9-1) ... Selecting previously unselected package libpython3.6-minimal:armel. Preparing to unpack .../6-libpython3.6-minimal_3.6.6-4_armel.deb ... Unpacking libpython3.6-minimal:armel (3.6.6-4) ... Selecting previously unselected package libexpat1:armel. Preparing to unpack .../7-libexpat1_2.2.6-1_armel.deb ... Unpacking libexpat1:armel (2.2.6-1) ... Selecting previously unselected package python3.6-minimal. Preparing to unpack .../8-python3.6-minimal_3.6.6-4_armel.deb ... Unpacking python3.6-minimal (3.6.6-4) ... Setting up libssl1.1:armel (1.1.1~~pre9-1) ... Setting up libpython3.6-minimal:armel (3.6.6-4) ... Setting up libexpat1:armel (2.2.6-1) ... Setting up python3.6-minimal (3.6.6-4) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12656 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.6.6-1_armel.deb ... Unpacking python3-minimal (3.6.6-1) ... Selecting previously unselected package mime-support. Preparing to unpack .../1-mime-support_3.61_all.deb ... Unpacking mime-support (3.61) ... Selecting previously unselected package libmpdec2:armel. Preparing to unpack .../2-libmpdec2_2.4.2-2_armel.deb ... Unpacking libmpdec2:armel (2.4.2-2) ... Selecting previously unselected package readline-common. Preparing to unpack .../3-readline-common_7.0-5_all.deb ... Unpacking readline-common (7.0-5) ... Selecting previously unselected package libreadline7:armel. Preparing to unpack .../4-libreadline7_7.0-5_armel.deb ... Unpacking libreadline7:armel (7.0-5) ... Selecting previously unselected package libpython3.6-stdlib:armel. Preparing to unpack .../5-libpython3.6-stdlib_3.6.6-4_armel.deb ... Unpacking libpython3.6-stdlib:armel (3.6.6-4) ... Selecting previously unselected package python3.6. Preparing to unpack .../6-python3.6_3.6.6-4_armel.deb ... Unpacking python3.6 (3.6.6-4) ... Selecting previously unselected package libpython3-stdlib:armel. Preparing to unpack .../7-libpython3-stdlib_3.6.6-1_armel.deb ... Unpacking libpython3-stdlib:armel (3.6.6-1) ... Setting up python3-minimal (3.6.6-1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 13109 files and directories currently installed.) Preparing to unpack .../00-python3_3.6.6-1_armel.deb ... Unpacking python3 (3.6.6-1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../01-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.34-2_armel.deb ... Unpacking libmagic-mgc (1:5.34-2) ... Selecting previously unselected package libmagic1:armel. Preparing to unpack .../03-libmagic1_1%3a5.34-2_armel.deb ... Unpacking libmagic1:armel (1:5.34-2) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.34-2_armel.deb ... Unpacking file (1:5.34-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../05-gettext-base_0.19.8.1-7_armel.deb ... Unpacking gettext-base (0.19.8.1-7) ... Selecting previously unselected package libsigsegv2:armel. Preparing to unpack .../06-libsigsegv2_2.12-2_armel.deb ... Unpacking libsigsegv2:armel (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../07-m4_1.4.18-1_armel.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../08-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../09-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../10-automake_1%3a1.16.1-1.1_all.deb ... Unpacking automake (1:1.16.1-1.1) ... Selecting previously unselected package autopoint. Preparing to unpack .../11-autopoint_0.19.8.1-7_all.deb ... Unpacking autopoint (0.19.8.1-7) ... Selecting previously unselected package openssl. Preparing to unpack .../12-openssl_1.1.1~~pre9-1_armel.deb ... Unpacking openssl (1.1.1~~pre9-1) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../13-ca-certificates_20180409_all.deb ... Unpacking ca-certificates (20180409) ... Selecting previously unselected package libtool. Preparing to unpack .../14-libtool_2.4.6-3.1_all.deb ... Unpacking libtool (2.4.6-3.1) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../15-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../16-libarchive-zip-perl_1.63-1_all.deb ... Unpacking libarchive-zip-perl (1.63-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../17-libfile-stripnondeterminism-perl_0.042-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.042-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../18-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../19-dh-strip-nondeterminism_0.042-1_all.deb ... Unpacking dh-strip-nondeterminism (0.042-1) ... Selecting previously unselected package libelf1:armel. Preparing to unpack .../20-libelf1_0.170-0.5_armel.deb ... Unpacking libelf1:armel (0.170-0.5) ... Selecting previously unselected package dwz. Preparing to unpack .../21-dwz_0.12-2_armel.deb ... Unpacking dwz (0.12-2) ... Selecting previously unselected package libglib2.0-0:armel. Preparing to unpack .../22-libglib2.0-0_2.58.0-3_armel.deb ... Unpacking libglib2.0-0:armel (2.58.0-3) ... Selecting previously unselected package libpng16-16:armel. Preparing to unpack .../23-libpng16-16_1.6.34-2_armel.deb ... Unpacking libpng16-16:armel (1.6.34-2) ... Selecting previously unselected package libfreetype6:armel. Preparing to unpack .../24-libfreetype6_2.8.1-2_armel.deb ... Unpacking libfreetype6:armel (2.8.1-2) ... Selecting previously unselected package libgraphite2-3:armel. Preparing to unpack .../25-libgraphite2-3_1.3.12-1_armel.deb ... Unpacking libgraphite2-3:armel (1.3.12-1) ... Selecting previously unselected package libharfbuzz0b:armel. Preparing to unpack .../26-libharfbuzz0b_1.8.8-2_armel.deb ... Unpacking libharfbuzz0b:armel (1.8.8-2) ... Selecting previously unselected package libicu-le-hb0:armel. Preparing to unpack .../27-libicu-le-hb0_1.0.3+git161113-5_armel.deb ... Unpacking libicu-le-hb0:armel (1.0.3+git161113-5) ... Selecting previously unselected package libicu60:armel. Preparing to unpack .../28-libicu60_60.2-6_armel.deb ... Unpacking libicu60:armel (60.2-6) ... Selecting previously unselected package libxml2:armel. Preparing to unpack .../29-libxml2_2.9.4+dfsg1-7+b1_armel.deb ... Unpacking libxml2:armel (2.9.4+dfsg1-7+b1) ... Selecting previously unselected package libcroco3:armel. Preparing to unpack .../30-libcroco3_0.6.12-2_armel.deb ... Unpacking libcroco3:armel (0.6.12-2) ... Selecting previously unselected package gettext. Preparing to unpack .../31-gettext_0.19.8.1-7_armel.deb ... Unpacking gettext (0.19.8.1-7) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../32-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../33-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../34-debhelper_11.3.5_all.deb ... Unpacking debhelper (11.3.5) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../35-libfile-which-perl_1.22-1_all.deb ... Unpacking libfile-which-perl (1.22-1) ... Selecting previously unselected package libfile-homedir-perl. Preparing to unpack .../36-libfile-homedir-perl_1.004-1_all.deb ... Unpacking libfile-homedir-perl (1.004-1) ... Selecting previously unselected package devscripts. Preparing to unpack .../37-devscripts_2.18.4_armel.deb ... Unpacking devscripts (2.18.4) ... Selecting previously unselected package rubygems-integration. Preparing to unpack .../38-rubygems-integration_1.11_all.deb ... Unpacking rubygems-integration (1.11) ... Selecting previously unselected package ruby-did-you-mean. Preparing to unpack .../39-ruby-did-you-mean_1.2.1-1_all.deb ... Unpacking ruby-did-you-mean (1.2.1-1) ... Selecting previously unselected package ruby-minitest. Preparing to unpack .../40-ruby-minitest_5.11.3-1_all.deb ... Unpacking ruby-minitest (5.11.3-1) ... Selecting previously unselected package ruby-net-telnet. Preparing to unpack .../41-ruby-net-telnet_0.1.1-2_all.deb ... Unpacking ruby-net-telnet (0.1.1-2) ... Selecting previously unselected package ruby-power-assert. Preparing to unpack .../42-ruby-power-assert_1.1.1-1_all.deb ... Unpacking ruby-power-assert (1.1.1-1) ... Selecting previously unselected package ruby-test-unit. Preparing to unpack .../43-ruby-test-unit_3.2.8-1_all.deb ... Unpacking ruby-test-unit (3.2.8-1) ... Selecting previously unselected package ruby-xmlrpc. Preparing to unpack .../44-ruby-xmlrpc_0.3.0-2_all.deb ... Unpacking ruby-xmlrpc (0.3.0-2) ... Selecting previously unselected package libyaml-0-2:armel. Preparing to unpack .../45-libyaml-0-2_0.2.1-1_armel.deb ... Unpacking libyaml-0-2:armel (0.2.1-1) ... Selecting previously unselected package libruby2.5:armel. Preparing to unpack .../46-libruby2.5_2.5.1-5_armel.deb ... Unpacking libruby2.5:armel (2.5.1-5) ... Selecting previously unselected package ruby2.5. Preparing to unpack .../47-ruby2.5_2.5.1-5_armel.deb ... Unpacking ruby2.5 (2.5.1-5) ... Selecting previously unselected package ruby. Preparing to unpack .../48-ruby_1%3a2.5.1_armel.deb ... Unpacking ruby (1:2.5.1) ... Selecting previously unselected package rake. Preparing to unpack .../49-rake_12.3.1-3_all.deb ... Unpacking rake (12.3.1-3) ... Selecting previously unselected package gem2deb-test-runner. Preparing to unpack .../50-gem2deb-test-runner_0.39_armel.deb ... Unpacking gem2deb-test-runner (0.39) ... Selecting previously unselected package libgmpxx4ldbl:armel. Preparing to unpack .../51-libgmpxx4ldbl_2%3a6.1.2+dfsg-3_armel.deb ... Unpacking libgmpxx4ldbl:armel (2:6.1.2+dfsg-3) ... Selecting previously unselected package libgmp-dev:armel. Preparing to unpack .../52-libgmp-dev_2%3a6.1.2+dfsg-3_armel.deb ... Unpacking libgmp-dev:armel (2:6.1.2+dfsg-3) ... Selecting previously unselected package ruby2.5-dev:armel. Preparing to unpack .../53-ruby2.5-dev_2.5.1-5_armel.deb ... Unpacking ruby2.5-dev:armel (2.5.1-5) ... Selecting previously unselected package ruby-all-dev:armel. Preparing to unpack .../54-ruby-all-dev_1%3a2.5.1_armel.deb ... Unpacking ruby-all-dev:armel (1:2.5.1) ... Selecting previously unselected package ruby-setup. Preparing to unpack .../55-ruby-setup_3.4.1-9_all.deb ... Unpacking ruby-setup (3.4.1-9) ... Selecting previously unselected package gem2deb. Preparing to unpack .../56-gem2deb_0.39_armel.deb ... Unpacking gem2deb (0.39) ... Selecting previously unselected package libhttp-parser2.8:armel. Preparing to unpack .../57-libhttp-parser2.8_2.8.1-1_armel.deb ... Unpacking libhttp-parser2.8:armel (2.8.1-1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../58-libjs-jquery_3.2.1-1_all.deb ... Unpacking libjs-jquery (3.2.1-1) ... Selecting previously unselected package libjs-jquery-easing. Preparing to unpack .../59-libjs-jquery-easing_12-1_all.deb ... Unpacking libjs-jquery-easing (12-1) ... Selecting previously unselected package libjs-jquery-mousewheel. Preparing to unpack .../60-libjs-jquery-mousewheel_12-1_all.deb ... Unpacking libjs-jquery-mousewheel (12-1) ... Selecting previously unselected package libjs-jquery-fancybox. Preparing to unpack .../61-libjs-jquery-fancybox_12-1_all.deb ... Unpacking libjs-jquery-fancybox (12-1) ... Selecting previously unselected package libjs-jquery-ui. Preparing to unpack .../62-libjs-jquery-ui_1.12.1+dfsg-5_all.deb ... Unpacking libjs-jquery-ui (1.12.1+dfsg-5) ... Selecting previously unselected package ruby-public-suffix. Preparing to unpack .../63-ruby-public-suffix_2.0.5-1_all.deb ... Unpacking ruby-public-suffix (2.0.5-1) ... Selecting previously unselected package ruby-addressable. Preparing to unpack .../64-ruby-addressable_2.5.2-1_all.deb ... Unpacking ruby-addressable (2.5.2-1) ... Selecting previously unselected package ruby-certificate-authority. Preparing to unpack .../65-ruby-certificate-authority_0.2.0~434c15cd-1_all.deb ... Unpacking ruby-certificate-authority (0.2.0~434c15cd-1) ... Selecting previously unselected package ruby-multi-json. Preparing to unpack .../66-ruby-multi-json_1.12.1-1_all.deb ... Unpacking ruby-multi-json (1.12.1-1) ... Selecting previously unselected package ruby-unf-ext. Preparing to unpack .../67-ruby-unf-ext_0.0.7.4-1+b2_armel.deb ... Unpacking ruby-unf-ext (0.0.7.4-1+b2) ... Selecting previously unselected package ruby-unf. Preparing to unpack .../68-ruby-unf_0.1.4-2_all.deb ... Unpacking ruby-unf (0.1.4-2) ... Selecting previously unselected package ruby-domain-name. Preparing to unpack .../69-ruby-domain-name_0.5.20160216-2_all.deb ... Unpacking ruby-domain-name (0.5.20160216-2) ... Selecting previously unselected package ruby-http-cookie. Preparing to unpack .../70-ruby-http-cookie_1.0.2-1_all.deb ... Unpacking ruby-http-cookie (1.0.2-1) ... Selecting previously unselected package ruby-mime-types-data. Preparing to unpack .../71-ruby-mime-types-data_3.2015.1120-1_all.deb ... Unpacking ruby-mime-types-data (3.2015.1120-1) ... Selecting previously unselected package ruby-mime-types. Preparing to unpack .../72-ruby-mime-types_3.2.2-1_all.deb ... Unpacking ruby-mime-types (3.2.2-1) ... Selecting previously unselected package ruby-netrc. Preparing to unpack .../73-ruby-netrc_0.11.0-1_all.deb ... Unpacking ruby-netrc (0.11.0-1) ... Selecting previously unselected package ruby-rest-client. Preparing to unpack .../74-ruby-rest-client_2.0.2-3_all.deb ... Unpacking ruby-rest-client (2.0.2-3) ... Selecting previously unselected package ruby-docile. Preparing to unpack .../75-ruby-docile_1.1.5-2_all.deb ... Unpacking ruby-docile (1.1.5-2) ... Selecting previously unselected package ruby-json. Preparing to unpack .../76-ruby-json_2.1.0+dfsg-2+b1_armel.deb ... Unpacking ruby-json (2.1.0+dfsg-2+b1) ... Selecting previously unselected package ruby-simplecov-html. Preparing to unpack .../77-ruby-simplecov-html_0.10.0-1_all.deb ... Unpacking ruby-simplecov-html (0.10.0-1) ... Selecting previously unselected package ruby-simplecov. Preparing to unpack .../78-ruby-simplecov_0.16.1-1_all.deb ... Unpacking ruby-simplecov (0.16.1-1) ... Selecting previously unselected package ruby-tins. Preparing to unpack .../79-ruby-tins_1.1.0-1_all.deb ... Unpacking ruby-tins (1.1.0-1) ... Selecting previously unselected package ruby-term-ansicolor. Preparing to unpack .../80-ruby-term-ansicolor_1.3.0-1_all.deb ... Unpacking ruby-term-ansicolor (1.3.0-1) ... Selecting previously unselected package ruby-thor. Preparing to unpack .../81-ruby-thor_0.19.4-1_all.deb ... Unpacking ruby-thor (0.19.4-1) ... Selecting previously unselected package ruby-coveralls. Preparing to unpack .../82-ruby-coveralls_0.8.22-1_all.deb ... Unpacking ruby-coveralls (0.8.22-1) ... Selecting previously unselected package ruby-diff-lcs. Preparing to unpack .../83-ruby-diff-lcs_1.3-1_all.deb ... Unpacking ruby-diff-lcs (1.3-1) ... Selecting previously unselected package ruby-http-form-data. Preparing to unpack .../84-ruby-http-form-data_1.0.1+gemwatch-1_all.deb ... Unpacking ruby-http-form-data (1.0.1+gemwatch-1) ... Selecting previously unselected package ruby-http-parser.rb. Preparing to unpack .../85-ruby-http-parser.rb_0.6.0-4+b3_armel.deb ... Unpacking ruby-http-parser.rb (0.6.0-4+b3) ... Selecting previously unselected package ruby-rspec-support. Preparing to unpack .../86-ruby-rspec-support_3.8.0c0e1m0s0-1_all.deb ... Unpacking ruby-rspec-support (3.8.0c0e1m0s0-1) ... Selecting previously unselected package ruby-rspec-expectations. Preparing to unpack .../87-ruby-rspec-expectations_3.8.0c0e1m0s0-1_all.deb ... Unpacking ruby-rspec-expectations (3.8.0c0e1m0s0-1) ... Selecting previously unselected package ruby-rspec-mocks. Preparing to unpack .../88-ruby-rspec-mocks_3.8.0c0e1m0s0-1_all.deb ... Unpacking ruby-rspec-mocks (3.8.0c0e1m0s0-1) ... Selecting previously unselected package ruby-thread-order. Preparing to unpack .../89-ruby-thread-order_1.1.0-1_all.deb ... Unpacking ruby-thread-order (1.1.0-1) ... Selecting previously unselected package ruby-rspec-core. Preparing to unpack .../90-ruby-rspec-core_3.8.0c0e1m0s0-1_all.deb ... Unpacking ruby-rspec-core (3.8.0c0e1m0s0-1) ... Selecting previously unselected package ruby-rspec. Preparing to unpack .../91-ruby-rspec_3.8.0c0e1m0s0-1_all.deb ... Unpacking ruby-rspec (3.8.0c0e1m0s0-1) ... Selecting previously unselected package ruby-rspec-its. Preparing to unpack .../92-ruby-rspec-its_1.2.0-3_all.deb ... Unpacking ruby-rspec-its (1.2.0-3) ... Setting up libjs-jquery (3.2.1-1) ... Setting up readline-common (7.0-5) ... Setting up ruby-xmlrpc (0.3.0-2) ... Setting up libarchive-zip-perl (1.63-1) ... Setting up mime-support (3.61) ... Setting up libfile-which-perl (1.22-1) ... Setting up libpng16-16:armel (1.6.34-2) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:armel (2.12-2) ... Setting up libreadline7:armel (7.0-5) ... Setting up libfile-homedir-perl (1.004-1) ... Setting up libelf1:armel (0.170-0.5) ... Setting up groff-base (1.22.3-10) ... Setting up libglib2.0-0:armel (2.58.0-3) ... No schema files found: doing nothing. Setting up gettext-base (0.19.8.1-7) ... Setting up libpipeline1:armel (1.5.0-1) ... Setting up m4 (1.4.18-1) ... Setting up libbsd0:armel (0.9.1-1) ... Setting up libfreetype6:armel (2.8.1-2) ... Setting up libmagic-mgc (1:5.34-2) ... Setting up libmagic1:armel (1:5.34-2) ... Setting up libgraphite2-3:armel (1.3.12-1) ... Setting up ruby-did-you-mean (1.2.1-1) ... Setting up libyaml-0-2:armel (0.2.1-1) ... Setting up sensible-utils (0.0.12) ... Processing triggers for libc-bin (2.27-5) ... Setting up dwz (0.12-2) ... Setting up autotools-dev (20180224.1) ... Setting up libjs-jquery-easing (12-1) ... Setting up libjs-jquery-ui (1.12.1+dfsg-5) ... Setting up libjs-jquery-mousewheel (12-1) ... Setting up openssl (1.1.1~~pre9-1) ... Setting up ruby-net-telnet (0.1.1-2) ... Setting up bsdmainutils (11.1.2+b1) ... 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 libgmpxx4ldbl:armel (2:6.1.2+dfsg-3) ... Setting up libjs-jquery-fancybox (12-1) ... Setting up ruby-minitest (5.11.3-1) ... Setting up ca-certificates (20180409) ... Updating certificates in /etc/ssl/certs... 133 added, 0 removed; done. Setting up autopoint (0.19.8.1-7) ... Setting up libmpdec2:armel (2.4.2-2) ... Setting up ruby-power-assert (1.1.1-1) ... Setting up libfile-stripnondeterminism-perl (0.042-1) ... Setting up libhttp-parser2.8:armel (2.8.1-1) ... Setting up libgmp-dev:armel (2:6.1.2+dfsg-3) ... Setting up libpython3.6-stdlib:armel (3.6.6-4) ... Setting up python3.6 (3.6.6-4) ... Setting up ruby-test-unit (3.2.8-1) ... Setting up libharfbuzz0b:armel (1.8.8-2) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.34-2) ... Setting up automake (1:1.16.1-1.1) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up rubygems-integration (1.11) ... Setting up man-db (2.8.4-2) ... Building database of manual pages ... Setting up libtool (2.4.6-3.1) ... Setting up libpython3-stdlib:armel (3.6.6-1) ... Setting up python3 (3.6.6-1) ... Setting up devscripts (2.18.4) ... Setting up ruby2.5 (2.5.1-5) ... Setting up dh-autoreconf (19) ... Setting up libicu-le-hb0:armel (1.0.3+git161113-5) ... Setting up dh-strip-nondeterminism (0.042-1) ... Setting up ruby (1:2.5.1) ... Setting up ruby-diff-lcs (1.3-1) ... Setting up ruby-thor (0.19.4-1) ... Setting up ruby-simplecov-html (0.10.0-1) ... Setting up libicu60:armel (60.2-6) ... Setting up ruby-docile (1.1.5-2) ... Setting up ruby-certificate-authority (0.2.0~434c15cd-1) ... Setting up ruby-multi-json (1.12.1-1) ... Setting up rake (12.3.1-3) ... Setting up ruby-thread-order (1.1.0-1) ... Setting up ruby-rspec-support (3.8.0c0e1m0s0-1) ... Setting up ruby-tins (1.1.0-1) ... Setting up ruby-setup (3.4.1-9) ... Setting up libxml2:armel (2.9.4+dfsg1-7+b1) ... Setting up libcroco3:armel (0.6.12-2) ... Setting up ruby-public-suffix (2.0.5-1) ... Setting up ruby-http-form-data (1.0.1+gemwatch-1) ... Setting up ruby-mime-types-data (3.2015.1120-1) ... Setting up ruby-mime-types (3.2.2-1) ... Setting up ruby-netrc (0.11.0-1) ... Setting up ruby-term-ansicolor (1.3.0-1) ... Setting up gem2deb-test-runner (0.39) ... Setting up libruby2.5:armel (2.5.1-5) ... Setting up ruby-json (2.1.0+dfsg-2+b1) ... Setting up ruby-unf-ext (0.0.7.4-1+b2) ... Setting up ruby-rspec-expectations (3.8.0c0e1m0s0-1) ... Setting up gettext (0.19.8.1-7) ... Setting up ruby-addressable (2.5.2-1) ... Setting up ruby-rspec-mocks (3.8.0c0e1m0s0-1) ... Setting up ruby-rspec-core (3.8.0c0e1m0s0-1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up ruby2.5-dev:armel (2.5.1-5) ... Setting up ruby-unf (0.1.4-2) ... Setting up ruby-http-parser.rb (0.6.0-4+b3) ... Setting up ruby-rspec-its (1.2.0-3) ... Setting up ruby-simplecov (0.16.1-1) ... Setting up ruby-all-dev:armel (1:2.5.1) ... Setting up po-debconf (1.0.20) ... Setting up ruby-domain-name (0.5.20160216-2) ... Setting up ruby-rspec (3.8.0c0e1m0s0-1) ... Setting up ruby-http-cookie (1.0.2-1) ... Setting up debhelper (11.3.5) ... Setting up ruby-rest-client (2.0.2-3) ... Setting up ruby-coveralls (0.8.22-1) ... Setting up gem2deb (0.39) ... Processing triggers for libc-bin (2.27-5) ... Processing triggers for ca-certificates (20180409) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... The following additional 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 42 not upgraded. Need to get 0 B/129 kB of archives. After this operation, 348 kB of additional disk space will be used. Selecting previously unselected package libfakeroot:armel. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18216 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.23-1_armel.deb ... Unpacking libfakeroot:armel (1.23-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.23-1_armel.deb ... Unpacking fakeroot (1.23-1) ... Processing triggers for libc-bin (2.27-5) ... Setting up libfakeroot:armel (1.23-1) ... Processing triggers for man-db (2.8.4-2) ... Setting up fakeroot (1.23-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.27-5) ... I: Copying back the cached apt archive contents I: new cache content 'ruby-certificate-authority_0.2.0~434c15cd-1_all.deb' added I: Building the package I: Running cd /build/ruby-http-2.2.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc -rfakeroot dpkg-buildpackage: info: source package ruby-http dpkg-buildpackage: info: source version 2.2.2-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Pirate Praveen dpkg-source --before-build ruby-http-2.2.2 dpkg-buildpackage: info: host architecture armel fakeroot debian/rules clean dh clean dh_clean rm -rf coverage dpkg-source -b ruby-http-2.2.2 dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building ruby-http using existing ./ruby-http_2.2.2.orig.tar.gz dpkg-source: info: building ruby-http in ruby-http_2.2.2-1.debian.tar.xz dpkg-source: info: building ruby-http in ruby-http_2.2.2-1.dsc debian/rules build dh build --buildsystem=ruby --with ruby dh_update_autotools_config -O--buildsystem=ruby dh_auto_configure -O--buildsystem=ruby dh_ruby --configure dh_auto_build -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -O--buildsystem=ruby dh_ruby --test 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 dh_ruby --install /build/ruby-http-2.2.2/debian/ruby-http dh_ruby --install sh: 1: git: not found Invalid gemspec in [http.gemspec]: No such file or directory - git ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install files │ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby install -D -m644 /build/ruby-http-2.2.2/lib/http/request/writer.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/request/writer.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/client.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/client.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/chainable.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/chainable.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/feature.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/feature.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/timeout/null.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/timeout/null.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/timeout/global.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/timeout/global.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/timeout/per_operation.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/timeout/per_operation.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/response.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/response.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/mime_type.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/mime_type.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/features/auto_deflate.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/features/auto_deflate.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/features/auto_inflate.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/features/auto_inflate.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/options.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/options.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/response/status/reasons.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/response/status/reasons.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/response/body.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/response/body.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/response/parser.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/response/parser.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/response/inflater.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/response/inflater.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/response/status.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/response/status.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/redirector.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/redirector.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/version.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/version.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/errors.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/errors.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/request.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/request.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/headers.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/headers.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/connection.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/connection.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/content_type.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/content_type.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/mime_type/adapter.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/mime_type/adapter.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/mime_type/json.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/mime_type/json.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/uri.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/uri.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/headers/mixin.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/headers/mixin.rb install -D -m644 /build/ruby-http-2.2.2/lib/http/headers/known.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http/headers/known.rb install -D -m644 /build/ruby-http-2.2.2/lib/http.rb /build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby/http.rb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ └──────────────────────────────────────────────────────────────────────────────┘ generating gemspec at /build/ruby-http-2.2.2/debian/ruby-http/usr/share/rubygems-integration/all/specifications/http-2.2.2.gemspec /usr/bin/ruby2.5 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.5 │ └──────────────────────────────────────────────────────────────────────────────┘ sh: 1: git: not found Invalid gemspec in [http.gemspec]: No such file or directory - git GEM_PATH=debian/ruby-http/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/arm-linux-gnueabi/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -e gem\ \"http\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.5 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-http-2.2.2/debian/ruby-http/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-http/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/arm-linux-gnueabi/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.5 /usr/bin/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb /usr/lib/ruby/vendor_ruby/certificate_authority/key_material.rb:74: warning: method redefined; discarding old private_key /usr/lib/ruby/vendor_ruby/certificate_authority/key_material.rb:78: warning: method redefined; discarding old public_key /usr/lib/ruby/vendor_ruby/certificate_authority/key_material.rb:112: warning: method redefined; discarding old public_key /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:62: warning: method redefined; discarding old path_len= /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:425: warning: method redefined; discarding old uris= /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:430: warning: method redefined; discarding old dns_names= /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:435: warning: method redefined; discarding old ips= /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:440: warning: method redefined; discarding old emails= /usr/lib/ruby/vendor_ruby/certificate_authority/ocsp_handler.rb:116: warning: assigned but unused variable - certificate Run options: include {:focus=>true} All examples were filtered out; ignoring {:focus=>true} Randomized with seed 13001 HTTP::Options new supports a Options instance with a Hash coerces :headers correctly coerces :proxy correctly coerces :form correctly coerces :response correctly HTTP::Headers::Mixin #headers returns @headers instance variable #[]= proxies to headers#[] #[] proxies to headers#[] HTTP::Options coerces to a Hash has reader methods for attributes HTTP::Client timeouts without timeouts works with a global timeout errors if connecting takes too long errors if reading takes too long it resets state when reusing connections does not timeout with a per operation timeout works connection of 1 does not time out read of 2.5 does not time out of 0 times out working with SSL /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized /usr/lib/ruby/vendor_ruby/certificate_authority/extensions.rb:70: warning: instance variable @path_len not initialized just works (FAILED - 1) fails with OpenSSL::SSL::SSLError if host mismatch connection reuse when disabled opens new sockets (FAILED - 2) when enabled re-uses the socket (FAILED - 3) with a socket issue transparently reopens (FAILED - 4) with a change in host errors on a mixed state re-opens the connection (FAILED - 5) when trying to read a stale body errors (FAILED - 6) without a host infers host from persistent config (FAILED - 7) when reading a cached body succeeds (FAILED - 8) with SSL options instead of a context just works (FAILED - 9) timeouts without timeouts works (FAILED - 10) with a per operation timeout works (FAILED - 11) read of 2.5 does not time out (FAILED - 12) of 0 times out connection of 1 does not time out (FAILED - 13) with a global timeout errors if reading takes too long (FAILED - 14) errors if connecting takes too long it resets state when reusing connections does not timeout (FAILED - 15) passing json encodes given object #request with non-ASCII URLs theoretically works like a charm (PENDING: Temporarily skipped with xit) works like a charm in real world (PENDING: Temporarily skipped with xit) with explicitly given `Host` header keeps `Host` header as is (PENDING: Temporarily skipped with xit) parsing params does not corrupts index-less arrays accepts params within the provided URL properly encodes colons combines GET params from the URI with the passed in params does not modifies query part if no params were given merges duplicate values connection reuse when disabled opens new sockets when enabled re-uses the socket on a mixed state re-opens the connection with a socket issue transparently reopens without a host infers host from persistent config when reading a cached body succeeds with a change in host errors when trying to read a stale body errors #perform calls finish_response once body was fully flushed when server fully flushes response in one chunk properly reads body with HEAD request does not iterates through body finishes response after headers were received following redirects fails upon endless redirects returns response of new location fails if max amount of hops reached prepends previous request uri scheme and host if needed with non-ASCII URLs theoretically works like a charm (PENDING: Temporarily skipped with xit) works like a charm in real world (PENDING: Temporarily skipped with xit) HTTP::Options proxy defaults to {} accepts proxy address, port, username, and password may be specified with with_proxy HTTP::Response::Status #request_timeout? when code is 408 should equal true when code is lower than 408 should equal false when code is higher than 408 should equal false with 2xx codes is not #server_error? is not #informational? is not #client_error? is #success? is not #redirect? #unauthorized? when code is lower than 401 should equal false when code is higher than 401 should equal false when code is 401 should equal true #precondition_required? when code is higher than 428 should equal false when code is lower than 428 should equal false when code is 428 should equal true #service_unavailable? when code is 503 should equal true when code is higher than 503 should equal false when code is lower than 503 should equal false #insufficient_storage? when code is 507 should equal true when code is lower than 507 should equal false when code is higher than 507 should equal false #request_header_fields_too_large? when code is higher than 431 should equal false when code is 431 should equal true when code is lower than 431 should equal false #unprocessable_entity? when code is higher than 422 should equal false when code is 422 should equal true when code is lower than 422 should equal false with 1xx codes is not #success? is not #redirect? is not #client_error? is #informational? is not #server_error? #upgrade_required? when code is 426 should equal true when code is higher than 426 should equal false when code is lower than 426 should equal false #see_other? when code is 303 should equal true when code is higher than 303 should equal false when code is lower than 303 should equal false #proxy_authentication_required? when code is 407 should equal true when code is lower than 407 should equal false when code is higher than 407 should equal false #reset_content? when code is higher than 205 should equal false when code is lower than 205 should equal false when code is 205 should equal true #precondition_failed? when code is 412 should equal true when code is higher than 412 should equal false when code is lower than 412 should equal false #range_not_satisfiable? when code is 416 should equal true when code is higher than 416 should equal false when code is lower than 416 should equal false #unsupported_media_type? when code is higher than 415 should equal false when code is 415 should equal true when code is lower than 415 should equal false #non_authoritative_information? when code is lower than 203 should equal false when code is higher than 203 should equal false when code is 203 should equal true .new /build/ruby-http-2.2.2/lib/http/response/status.rb:147: warning: instance variable @code not initialized fails if given value does not respond to #to_i accepts any object that responds to #to_i #not_modified? when code is higher than 304 should equal false when code is 304 should equal true when code is lower than 304 should equal false #inspect returns quoted code and reason phrase #method_not_allowed? when code is higher than 405 should equal false when code is 405 should equal true when code is lower than 405 should equal false #reason with well-known code: 100 should eq "Continue" should be frozen with well-known code: 305 should be frozen should eq "Use Proxy" with well-known code: 202 should eq "Accepted" should be frozen with well-known code: 431 should be frozen should eq "Request Header Fields Too Large" with well-known code: 413 should be frozen should eq "Payload Too Large" with well-known code: 301 should be frozen should eq "Moved Permanently" with well-known code: 308 should be frozen should eq "Permanent Redirect" with well-known code: 424 should be frozen should eq "Failed Dependency" with well-known code: 408 should be frozen should eq "Request Timeout" with well-known code: 415 should eq "Unsupported Media Type" should be frozen with well-known code: 423 should eq "Locked" should be frozen with well-known code: 422 should be frozen should eq "Unprocessable Entity" with well-known code: 204 should be frozen should eq "No Content" with well-known code: 208 should be frozen should eq "Already Reported" with well-known code: 421 should be frozen should eq "Misdirected Request" with well-known code: 307 should eq "Temporary Redirect" should be frozen with well-known code: 416 should eq "Range Not Satisfiable" should be frozen with well-known code: 417 should eq "Expectation Failed" should be frozen with well-known code: 409 should be frozen should eq "Conflict" with well-known code: 501 should be frozen should eq "Not Implemented" with well-known code: 226 should eq "IM Used" should be frozen with well-known code: 411 should be frozen should eq "Length Required" with well-known code: 205 should eq "Reset Content" should be frozen with well-known code: 302 should be frozen should eq "Found" with well-known code: 507 should eq "Insufficient Storage" should be frozen with well-known code: 429 should eq "Too Many Requests" should be frozen with well-known code: 428 should eq "Precondition Required" should be frozen with well-known code: 206 should eq "Partial Content" should be frozen with well-known code: 508 should eq "Loop Detected" should be frozen with well-known code: 505 should be frozen should eq "HTTP Version Not Supported" with well-known code: 414 should be frozen should eq "URI Too Long" with well-known code: 401 should eq "Unauthorized" should be frozen with well-known code: 203 should be frozen should eq "Non-Authoritative Information" with well-known code: 502 should be frozen should eq "Bad Gateway" with well-known code: 303 should be frozen should eq "See Other" with well-known code: 304 should eq "Not Modified" should be frozen with well-known code: 200 should eq "OK" should be frozen with well-known code: 402 should be frozen should eq "Payment Required" with well-known code: 404 should eq "Not Found" should be frozen with well-known code: 101 should eq "Switching Protocols" should be frozen with well-known code: 412 should be frozen should eq "Precondition Failed" with well-known code: 403 should eq "Forbidden" should be frozen with well-known code: 102 should be frozen should eq "Processing" with well-known code: 511 should eq "Network Authentication Required" should be frozen with unknown code should be nil with well-known code: 451 should eq "Unavailable For Legal Reasons" should be frozen with well-known code: 201 should be frozen should eq "Created" with well-known code: 500 should eq "Internal Server Error" should be frozen with well-known code: 400 should be frozen should eq "Bad Request" with well-known code: 510 should eq "Not Extended" should be frozen with well-known code: 504 should be frozen should eq "Gateway Timeout" with well-known code: 406 should be frozen should eq "Not Acceptable" with well-known code: 407 should eq "Proxy Authentication Required" should be frozen with well-known code: 207 should be frozen should eq "Multi-Status" with well-known code: 426 should be frozen should eq "Upgrade Required" with well-known code: 410 should eq "Gone" should be frozen with well-known code: 405 should be frozen should eq "Method Not Allowed" with well-known code: 503 should eq "Service Unavailable" should be frozen with well-known code: 300 should be frozen should eq "Multiple Choices" with well-known code: 506 should be frozen should eq "Variant Also Negotiates" #not_found? when code is higher than 404 should equal false when code is lower than 404 should equal false when code is 404 should equal true #ok? when code is lower than 200 should equal false when code is 200 should equal true when code is higher than 200 should equal false #http_version_not_supported? when code is 505 should equal true when code is lower than 505 should equal false when code is higher than 505 should equal false #internal_server_error? when code is 500 should equal true when code is lower than 500 should equal false when code is higher than 500 should equal false #processing? when code is higher than 102 should equal false when code is lower than 102 should equal false when code is 102 should equal true #moved_permanently? when code is 301 should equal true when code is higher than 301 should equal false when code is lower than 301 should equal false #code should eq 200 /build/ruby-http-2.2.2/spec/lib/http/response/status_spec.rb:16: warning: constant ::Fixnum is deprecated should be a kind of Integer #created? when code is higher than 201 should equal false when code is lower than 201 should equal false when code is 201 should equal true #failed_dependency? when code is lower than 424 should equal false when code is 424 should equal true when code is higher than 424 should equal false #loop_detected? when code is lower than 508 should equal false when code is 508 should equal true when code is higher than 508 should equal false #not_extended? when code is higher than 510 should equal false when code is 510 should equal true when code is lower than 510 should equal false #gateway_timeout? when code is lower than 504 should equal false when code is higher than 504 should equal false when code is 504 should equal true #not_implemented? when code is 501 should equal true when code is lower than 501 should equal false when code is higher than 501 should equal false #no_content? when code is 204 should equal true when code is lower than 204 should equal false when code is higher than 204 should equal false #permanent_redirect? when code is 308 should equal true when code is higher than 308 should equal false when code is lower than 308 should equal false #network_authentication_required? when code is lower than 511 should equal false when code is 511 should equal true when code is higher than 511 should equal false #bad_gateway? when code is 502 should equal true when code is higher than 502 should equal false when code is lower than 502 should equal false #switching_protocols? when code is 101 should equal true when code is higher than 101 should equal false when code is lower than 101 should equal false #conflict? when code is lower than 409 should equal false when code is 409 should equal true when code is higher than 409 should equal false #temporary_redirect? when code is higher than 307 should equal false when code is lower than 307 should equal false when code is 307 should equal true #locked? when code is 423 should equal true when code is lower than 423 should equal false when code is higher than 423 should equal false #continue? when code is higher than 100 should equal false when code is 100 should equal true when code is lower than 100 should equal false #uri_too_long? when code is lower than 414 should equal false when code is 414 should equal true when code is higher than 414 should equal false #partial_content? when code is 206 should equal true when code is lower than 206 should equal false when code is higher than 206 should equal false #expectation_failed? when code is lower than 417 should equal false when code is higher than 417 should equal false when code is 417 should equal true #already_reported? when code is lower than 208 should equal false when code is higher than 208 should equal false when code is 208 should equal true #gone? when code is 410 should equal true when code is higher than 410 should equal false when code is lower than 410 should equal false #multiple_choices? when code is lower than 300 should equal false when code is 300 should equal true when code is higher than 300 should equal false #payload_too_large? when code is 413 should equal true when code is lower than 413 should equal false when code is higher than 413 should equal false #unavailable_for_legal_reasons? when code is 451 should equal true when code is lower than 451 should equal false when code is higher than 451 should equal false #im_used? when code is lower than 226 should equal false when code is 226 should equal true when code is higher than 226 should equal false .coerce fails if coercion failed is aliased as `.[]` with Symbol fails when symbolized reason is unknown coerces symbolized reasons with String coerces reasons fails when reason is unknown with Numeric coerces as Fixnum code #found? when code is lower than 302 should equal false when code is higher than 302 should equal false when code is 302 should equal true with 3xx codes is not #client_error? is not #success? is not #server_error? is not #informational? is #redirect? #payment_required? when code is 402 should equal true when code is higher than 402 should equal false when code is lower than 402 should equal false #length_required? when code is 411 should equal true when code is lower than 411 should equal false when code is higher than 411 should equal false #use_proxy? when code is higher than 305 should equal false when code is lower than 305 should equal false when code is 305 should equal true #to_sym with well-known code: 428 should equal :precondition_required with well-known code: 503 should equal :service_unavailable with well-known code: 510 should equal :not_extended with well-known code: 203 should equal :non_authoritative_information with well-known code: 417 should equal :expectation_failed with well-known code: 403 should equal :forbidden with well-known code: 413 should equal :payload_too_large with well-known code: 202 should equal :accepted with well-known code: 205 should equal :reset_content with well-known code: 304 should equal :not_modified with well-known code: 404 should equal :not_found with well-known code: 506 should equal :variant_also_negotiates with well-known code: 414 should equal :uri_too_long with well-known code: 410 should equal :gone with well-known code: 416 should equal :range_not_satisfiable with well-known code: 208 should equal :already_reported with well-known code: 507 should equal :insufficient_storage with well-known code: 501 should equal :not_implemented with well-known code: 409 should equal :conflict with well-known code: 511 should equal :network_authentication_required with well-known code: 429 should equal :too_many_requests with well-known code: 204 should equal :no_content with well-known code: 305 should equal :use_proxy with well-known code: 201 should equal :created with well-known code: 300 should equal :multiple_choices with well-known code: 303 should equal :see_other with well-known code: 407 should equal :proxy_authentication_required with well-known code: 421 should equal :misdirected_request with well-known code: 302 should equal :found with well-known code: 207 should equal :multi_status with well-known code: 308 should equal :permanent_redirect with well-known code: 502 should equal :bad_gateway with well-known code: 423 should equal :locked with well-known code: 226 should equal :im_used with well-known code: 431 should equal :request_header_fields_too_large with well-known code: 504 should equal :gateway_timeout with unknown code should be nil with well-known code: 424 should equal :failed_dependency with well-known code: 412 should equal :precondition_failed with well-known code: 400 should equal :bad_request with well-known code: 402 should equal :payment_required with well-known code: 100 should equal :continue with well-known code: 401 should equal :unauthorized with well-known code: 200 should equal :ok with well-known code: 301 should equal :moved_permanently with well-known code: 411 should equal :length_required with well-known code: 206 should equal :partial_content with well-known code: 415 should equal :unsupported_media_type with well-known code: 508 should equal :loop_detected with well-known code: 500 should equal :internal_server_error with well-known code: 406 should equal :not_acceptable with well-known code: 505 should equal :http_version_not_supported with well-known code: 307 should equal :temporary_redirect with well-known code: 422 should equal :unprocessable_entity with well-known code: 405 should equal :method_not_allowed with well-known code: 426 should equal :upgrade_required with well-known code: 408 should equal :request_timeout with well-known code: 102 should equal :processing with well-known code: 451 should equal :unavailable_for_legal_reasons with well-known code: 101 should equal :switching_protocols #forbidden? when code is lower than 403 should equal false when code is 403 should equal true when code is higher than 403 should equal false with 4xx codes is not #redirect? is not #server_error? is #client_error? is not #success? is not #informational? #not_acceptable? when code is 406 should equal true when code is higher than 406 should equal false when code is lower than 406 should equal false with 5xx codes is not #success? is #server_error? is not #client_error? is not #informational? is not #redirect? #variant_also_negotiates? when code is 506 should equal true when code is higher than 506 should equal false when code is lower than 506 should equal false #accepted? when code is higher than 202 should equal false when code is lower than 202 should equal false when code is 202 should equal true #multi_status? when code is 207 should equal true when code is higher than 207 should equal false when code is lower than 207 should equal false ::SYMBOLS [200] should equal :ok [400] should equal :bad_request #too_many_requests? when code is higher than 429 should equal false when code is lower than 429 should equal false when code is 429 should equal true #misdirected_request? when code is lower than 421 should equal false when code is higher than 421 should equal false when code is 421 should equal true #bad_request? when code is lower than 400 should equal false when code is 400 should equal true when code is higher than 400 should equal false HTTP::Options merge supports another Options merges as excepted in complex cases supports a Hash HTTP::Headers is Enumerable #== allows comparison with Array of key/value pairs sensitive to headers order compares header keys and values sensitive to header values order #to_a returns an Array returns Array of key/value pairs with normalized keys #keys returns uniq keys only normalizes keys #delete fails with invalid header name fails with empty header name removes given header normalizes header name #set normalizes header name fails with invalid header name overwrites previous value allows set multiple values fails with empty header name sets header value #[]= overwrites previous value normalizes header name sets header value allows set multiple values #each returns Enumerator if no block given returns self instance if block given yields each key/value pair separatedly yields headers in the same order they were added .coerce fails if given object cannot be coerced accepts any object that respond to #to_hash accepts any object that respond to #to_h accepts any object that respond to #to_a is aliased as .[] with duplicate header keys (mixed case) adds all headers #get returns array of associated values fails with invalid header name fails with empty header name normalizes header name when header does not exists returns empty array #add normalizes header name appends new value if header exists fails with empty header name fails with invalid header name allows append multiple values sets header value #hash equals if two headers equals #include? normalizes given header name tells whenever given headers is set or not #inspect should eq "#[\"hoo=ray\", \"woo=hoo\"]}>" #merge! leaves headers not presented in other as is overwrites existing values appends other headers, not presented in base .empty? initially should equal true when header exists should equal false when last header was removed should equal true #[] when header has a single value returns it returns a single value normalizes header name when header has a multiple values normalizes header name returns array of associated values when header does not exists returns nil #merge should be a kind of HTTP::Headers overwrites existing values appends other headers, not presented in base should not equal ["Host", "example.com"] and ["Accept", "application/json"] leaves headers not presented in other as is does not affects original headers #to_h returns Hash with normalized keys returns a Hash for a header with single value provides a value as is for a header with multiple values provides an array of values #dup has headers copied should not equal ["Content-Type", "application/json"] should be a kind of HTTP::Headers modifying a copy does not affects original headers modifies dupped copy HTTP::Response includes HTTP::Headers::Mixin #flush returns response self-reference flushes body #content_length without Content-Length header should be nil with Content-Length: 5 should eq 5 with invalid Content-Length should be nil #connection returns the connection object used to instantiate the response mime_type without Content-Type header should be nil with Content-Type: text/html; charset=utf-8 should eq "text/html" with Content-Type: text/html should eq "text/html" #cookies contains cookies limited to domain of request uri contains cookies without domain restriction does not contains cookies limited to non-requeted uri should be a kind of HTTP::CookieJar #inspect returns human-friendly response representation #parse with unknown content type raises HTTP::Error with explicitly given mime type supports MIME type aliases ignores mime_type of response with known content type returns parsed body to_a returns a Rack-like array charset with Content-Type: text/html should be nil with Content-Type: text/html; charset=utf-8 should eq "utf-8" without Content-Type header should be nil HTTP::Options features defaults to be empty raises error for not supported features accepts plain symbols in array accepts feature name with its options in array HTTP::Options body defaults to nil may be specified with with_body HTTP::Request::Writer #initalize when body is an Enumerable does not raise an error when body is nil does not raise an error when body is not string, enumerable or nil raises an error when body is a string does not raise an error #stream when body is Enumerable writes a chunked request from an Enumerable correctly writes Transfer-Encoding header only once when Transfer-Encoding is not chunked should raise HTTP::RequestError when Transfer-Encoding not set should raise HTTP::RequestError when body is nil properly sets Content-Length header if needed when Content-Length explicitly set keeps given value when body is a unicode String properly calculates Content-Length if needed when Content-Length explicitly set keeps given value HTTP::Options form may be specified with with_form_data defaults to nil HTTP::Options json may be specified with with_json data defaults to nil HTTP::Redirector #strict by default should equal true #max_hops by default should eq 5 #perform fails with StateError if there were no Location header returns first non-redirect response fails with EndlessRedirectError if endless loop detected fails with TooManyRedirectsError if max hops reached following 307 redirect follows with original request's verb following 308 redirect follows with original request's verb following 303 redirect follows with HEAD if original request was HEAD follows with GET if original request was GET follows with GET if original request was neither GET nor HEAD following 302 redirect with strict mode raises StateError if original request was DELETE raises StateError if original request was POST it follows with original verb if it's safe raises StateError if original request was PUT with non-strict mode it follows with GET if original request was POST it follows with original verb if it's safe it follows with GET if original request was DELETE it follows with GET if original request was PUT following 301 redirect with non-strict mode it follows with GET if original request was DELETE it follows with GET if original request was POST it follows with original verb if it's safe it follows with GET if original request was PUT with strict mode raises StateError if original request was DELETE it follows with original verb if it's safe raises StateError if original request was POST raises StateError if original request was PUT following 300 redirect with strict mode it follows with original verb if it's safe raises StateError if original request was DELETE raises StateError if original request was POST raises StateError if original request was PUT with non-strict mode it follows with GET if original request was POST it follows with GET if original request was DELETE it follows with GET if original request was PUT it follows with original verb if it's safe HTTP getting resources is easy with URI instance is easy with query string parameters in the URI and opts hash includes both with query string parameters is easy with headers is easy with a large request body with a global timeout with a 16500 body and 36 of fuzzing returns a large body when bytesize != length returns a large body with a 16000 body and 64 of fuzzing returns a large body when bytesize != length returns a large body with a 16500 body and 721 of fuzzing returns a large body when bytesize != length returns a large body with a 34000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 68000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 16500 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 17000 body and 302 of fuzzing returns a large body when bytesize != length returns a large body with a 17000 body and 82 of fuzzing returns a large body when bytesize != length returns a large body with a 68000 body and 394 of fuzzing returns a large body when bytesize != length returns a large body with a 34000 body and 97 of fuzzing returns a large body when bytesize != length returns a large body with a 34000 body and 196 of fuzzing returns a large body when bytesize != length returns a large body with a 17000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 16000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 68000 body and 80 of fuzzing returns a large body when bytesize != length returns a large body with a 16000 body and 557 of fuzzing returns a large body when bytesize != length returns a large body with a null timeout with a 34000 body and 173 of fuzzing returns a large body when bytesize != length returns a large body with a 16000 body and 93 of fuzzing returns a large body when bytesize != length returns a large body with a 16500 body and 8 of fuzzing returns a large body when bytesize != length returns a large body with a 17000 body and 753 of fuzzing returns a large body when bytesize != length returns a large body with a 34000 body and 66 of fuzzing returns a large body when bytesize != length returns a large body with a 16000 body and 472 of fuzzing returns a large body when bytesize != length returns a large body with a 68000 body and 622 of fuzzing returns a large body when bytesize != length returns a large body with a 16500 body and 336 of fuzzing returns a large body when bytesize != length returns a large body with a 68000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 34000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 16000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 68000 body and 22 of fuzzing returns a large body when bytesize != length returns a large body with a 17000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 16500 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 17000 body and 49 of fuzzing returns a large body when bytesize != length returns a large body with a per_operation timeout with a 16000 body and 2 of fuzzing returns a large body when bytesize != length returns a large body with a 17000 body and 54 of fuzzing returns a large body when bytesize != length returns a large body with a 68000 body and 91 of fuzzing returns a large body when bytesize != length returns a large body with a 16000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 68000 body and 442 of fuzzing returns a large body when bytesize != length returns a large body with a 17000 body and 543 of fuzzing returns a large body when bytesize != length returns a large body with a 34000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 34000 body and 37 of fuzzing returns a large body when bytesize != length returns a large body with a 16500 body and 7 of fuzzing returns a large body when bytesize != length returns a large body with a 17000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 68000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 16000 body and 164 of fuzzing returns a large body when bytesize != length returns a large body with a 16500 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 16500 body and 259 of fuzzing returns a large body when bytesize != length returns a large body with a 34000 body and 537 of fuzzing returns a large body when bytesize != length returns a large body .cookies passes correct `Cookie` header properly merges cookies properly works with cookie jars from response properly merges Cookie headers and cookies unifies socket errors into HTTP::ConnectionError posting with an explicit body is easy loading endpoint with charset uses charset from headers with encoding option respects option .timeout fails with unknown timeout type with :null type sets timeout_class to Null without timeout type sets timeout_class to PerOperation sets given timeout options with :global type sets given timeout options sets timeout_class to Global with :per_operation type sets given timeout options sets timeout_class to PerOperation loading binary data is encoded as bytes .via proxy with authentication responds with the endpoint's body responds with 407 when wrong credentials given proxies the request responds with 407 if no credentials given ssl responds with 407 when wrong credentials given responds with the endpoint's body (FAILED - 16) responds with 407 if no credentials given anonymous proxy ignores credentials proxies the request responds with the endpoint's body raises an argument error if no port given ssl responds with the endpoint's body (FAILED - 17) ignores credentials (FAILED - 18) posting forms to resources is easy loading text with no charset is binary encoded with redirects is easy for 302 is easy for 301 .basic_auth WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-http-2.2.2/spec/lib/http_spec.rb:260:in `block (3 levels) in '. fails when :user is not given sets Authorization header with proper BasicAuth value WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-http-2.2.2/spec/lib/http_spec.rb:256:in `block (3 levels) in '. fails when :pass is not given WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-http-2.2.2/spec/lib/http_spec.rb:252:in `block (3 levels) in '. fails when options is not a Hash .auth sets Authorization header to the given value accepts any #to_s object passing a string encoding type finds encoding .nodelay sets TCP_NODELAY on the underlying socket head requests is easy .use turns on given feature with :auto_inflate returns deflated body returns raw body when Content-Encoding type is missing returns decoded body with :auto_deflate sends gzipped body .persistent with host only given example at ./spec/lib/http_spec.rb:276 (PENDING: Temporarily skipped with xit) example at ./spec/lib/http_spec.rb:275 (PENDING: Temporarily skipped with xit) with host and block given returns last evaluation of last expression (PENDING: Temporarily skipped with xit) auto-closes connection (PENDING: Temporarily skipped with xit) with timeout specified sets keep_alive_timeout HTTP::URI sets default ports for HTTPS URIs sets default ports for HTTP URIs knows URI schemes HTTP::Features::AutoDeflate accepts string as method uses gzip by default accepts deflate method accepts gzip method raises error for wrong type #deflate when body is nil does not remove Content-Length header does not set Content-Encoding header returns nil when body is a string encodes body removes Content-Length header sets Content-Encoding header as deflate method removes Content-Length header sets Content-Encoding header encodes body when body is not a string does not set Content-Encoding header returns given body does not remove Content-Length header HTTP::ContentType .parse with text/plain; charSET=utf-8 mime_type should eq "text/plain" charset should eq "utf-8" with tEXT/plaIN charset should be nil mime_type should eq "text/plain" with text/plain;charset=utf-8;foo=bar mime_type should eq "text/plain" charset should eq "utf-8" with text/plain mime_type should eq "text/plain" charset should be nil with text/plain; charset="utf-8" mime_type should eq "text/plain" charset should eq "utf-8" with text/plain; foo=bar; charset=utf-8 mime_type should eq "text/plain" charset should eq "utf-8" with text/plain; charset=utf-8 charset should eq "utf-8" mime_type should eq "text/plain" HTTP::Request provides a #scheme accessor /build/ruby-http-2.2.2/lib/http/request.rb:84: warning: instance variable @scheme not initialized requires URI to have scheme part sets given headers includes HTTP::Headers::Mixin provides a #verb accessor User-Agent header was not given should eq "http.rb/2.2.2" was explicitly given should eq "MrCrawly/123" #redirect presets new Host header verb should eq :post with schema-less absolute URL given presets new Host header proxy should eq {:proxy_password=>"adams", :proxy_username=>"douglas"} uri should eq # body should eq "The Ultimate Question" verb should eq :post with new verb given verb should equal :get body should eq "The Ultimate Question" with relative URL given keeps Host header proxy should eq {:proxy_password=>"adams", :proxy_username=>"douglas"} uri should eq # with original URI having non-standard port uri should eq # verb should eq :post body should eq "The Ultimate Question" with relative URL that misses leading slash given keeps Host header uri should eq # proxy should eq {:proxy_password=>"adams", :proxy_username=>"douglas"} with original URI having non-standard port uri should eq # verb should eq :post body should eq "The Ultimate Question" uri should eq # proxy should eq {:proxy_password=>"adams", :proxy_username=>"douglas"} #headline should eq "GET /foo?bar=baz HTTP/1.1" when URI contains fragment omits fragment part when URI contains non-ASCII path encodes non-ASCII path part when URI contains encoded query does not unencodes query part with proxy should eq "GET http://example.com/foo?bar=baz HTTP/1.1" and HTTPS uri should eq "GET /foo?bar=baz HTTP/1.1" Host header was explicitly given should eq "github.com" was not given should eq "example.com" and request URI has non-standard port should eq "example.com:3000" HTTP::Response::Body streams bodies from responses when body empty returns responds to empty? with true #readpartial without size given does not blows up calls underlying connection readpartial without specific size with size given passes value to underlying connection when body is gzipped decodes body #readpartial streams decoded body HTTP::Features::AutoInflate stream_for for identity Content-Encoding header returns connection for deflate Content-Encoding header returns HTTP::Response::Inflater instance - connection wrapper when there is no Content-Encoding header returns connection for gzip Content-Encoding header returns HTTP::Response::Inflater instance - connection wrapper for x-gzip Content-Encoding header returns HTTP::Response::Inflater instance - connection wrapper for unknown Content-Encoding header returns connection HTTP::Options headers defaults to be empty accepts any object that respond to :to_hash may be specified with with_headers Pending: (Failures listed here are expected and do not affect your suite's status) 1) HTTP::Client#request with non-ASCII URLs theoretically works like a charm # Temporarily skipped with xit # ./spec/lib/http/client_spec.rb:176 2) HTTP::Client#request with non-ASCII URLs works like a charm in real world # Temporarily skipped with xit # ./spec/lib/http/client_spec.rb:181 3) HTTP::Client#request with explicitly given `Host` header keeps `Host` header as is # Temporarily skipped with xit # ./spec/lib/http/client_spec.rb:192 4) HTTP::Client following redirects with non-ASCII URLs theoretically works like a charm # Temporarily skipped with xit # ./spec/lib/http/client_spec.rb:91 5) HTTP::Client following redirects with non-ASCII URLs works like a charm in real world # Temporarily skipped with xit # ./spec/lib/http/client_spec.rb:100 6) HTTP.persistent with host only given # Temporarily skipped with xit # ./spec/lib/http_spec.rb:276 7) HTTP.persistent with host only given # Temporarily skipped with xit # ./spec/lib/http_spec.rb:275 8) HTTP.persistent with host and block given returns last evaluation of last expression # Temporarily skipped with xit # ./spec/lib/http_spec.rb:280 9) HTTP.persistent with host and block given auto-closes connection # Temporarily skipped with xit # ./spec/lib/http_spec.rb:284 Failures: 1) HTTP::Client working with SSL just works Failure/Error: @socket.readpartial(size) OpenSSL::SSL::SSLError: SSL_read: sslv3 alert unsupported certificate # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `sysread' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `readpartial' # ./lib/http/timeout/null.rb:44:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/lib/http/client_spec.rb:223:in `block (3 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 2) HTTP::Client working with SSL connection reuse when disabled opens new sockets Failure/Error: @socket.readpartial(size) OpenSSL::SSL::SSLError: SSL_read: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `sysread' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `readpartial' # ./lib/http/timeout/null.rb:44:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/support/http_handling_shared.rb:106:in `block (3 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:298:in `block (2 levels) in let' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `block (3 levels) in fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `fetch' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `block (2 levels) in fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/support/reentrant_mutex.rb:23:in `synchronize' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:156:in `block in fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:155:in `fetch' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:155:in `fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:298:in `block in let' # ./spec/support/http_handling_shared.rb:188:in `block (4 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 3) HTTP::Client working with SSL connection reuse when enabled re-uses the socket Failure/Error: @socket.write(data) Errno::ECONNRESET: Connection reset by peer Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # /usr/lib/ruby/2.5.0/openssl/buffering.rb:325:in `syswrite' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:325:in `do_write' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:344:in `block in write' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:343:in `each' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:343:in `inject' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:343:in `write' # ./lib/http/timeout/null.rb:51:in `write' # ./lib/http/request/writer.rb:99:in `write' # ./lib/http/request/writer.rb:80:in `send_request' # ./lib/http/request/writer.rb:42:in `stream' # ./lib/http/request.rb:113:in `stream' # ./lib/http/connection.rb:74:in `send_request' # ./lib/http/client.rb:63:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/support/http_handling_shared.rb:106:in `block (3 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:298:in `block (2 levels) in let' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `block (3 levels) in fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `fetch' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `block (2 levels) in fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/support/reentrant_mutex.rb:23:in `synchronize' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:156:in `block in fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:155:in `fetch' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:155:in `fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:298:in `block in let' # ./spec/support/http_handling_shared.rb:121:in `block (4 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 4) HTTP::Client working with SSL connection reuse when enabled with a socket issue transparently reopens Failure/Error: @socket.readpartial(size) OpenSSL::SSL::SSLError: SSL_read: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `sysread' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `readpartial' # ./lib/http/timeout/null.rb:44:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/support/http_handling_shared.rb:158:in `block (5 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 5) HTTP::Client working with SSL connection reuse when enabled on a mixed state re-opens the connection Failure/Error: @socket.readpartial(size) OpenSSL::SSL::SSLError: SSL_read: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `sysread' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `readpartial' # ./lib/http/timeout/null.rb:44:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/support/http_handling_shared.rb:127:in `block (5 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 6) HTTP::Client working with SSL connection reuse when enabled when trying to read a stale body errors Failure/Error: @socket.readpartial(size) OpenSSL::SSL::SSLError: SSL_read: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `sysread' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `readpartial' # ./lib/http/timeout/null.rb:44:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/support/http_handling_shared.rb:139:in `block (5 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 7) HTTP::Client working with SSL connection reuse when enabled without a host infers host from persistent config Failure/Error: @socket.readpartial(size) OpenSSL::SSL::SSLError: SSL_read: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `sysread' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `readpartial' # ./lib/http/timeout/null.rb:44:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/support/http_handling_shared.rb:116:in `block (5 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 8) HTTP::Client working with SSL connection reuse when enabled when reading a cached body succeeds Failure/Error: @socket.readpartial(size) OpenSSL::SSL::SSLError: SSL_read: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `sysread' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `readpartial' # ./lib/http/timeout/null.rb:44:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/support/http_handling_shared.rb:146:in `block (5 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 9) HTTP::Client working with SSL with SSL options instead of a context just works Failure/Error: @socket.readpartial(size) OpenSSL::SSL::SSLError: SSL_read: sslv3 alert unsupported certificate # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `sysread' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `readpartial' # ./lib/http/timeout/null.rb:44:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/lib/http/client_spec.rb:238:in `block (4 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 10) HTTP::Client working with SSL timeouts without timeouts works Failure/Error: @socket.readpartial(size) OpenSSL::SSL::SSLError: SSL_read: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `sysread' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `readpartial' # ./lib/http/timeout/null.rb:44:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/support/http_handling_shared.rb:26:in `block (4 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 11) HTTP::Client working with SSL timeouts with a per operation timeout works Failure/Error: result = @socket.read_nonblock(size, :exception => false) OpenSSL::SSL::SSLError: SSL_read: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # /usr/lib/ruby/2.5.0/openssl/buffering.rb:182:in `sysread_nonblock' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:182:in `read_nonblock' # ./lib/http/timeout/per_operation.rb:63:in `block in readpartial' # ./lib/http/timeout/per_operation.rb:62:in `loop' # ./lib/http/timeout/per_operation.rb:62:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/support/http_handling_shared.rb:33:in `block (4 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:298:in `block (2 levels) in let' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `block (3 levels) in fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `fetch' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `block (2 levels) in fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/support/reentrant_mutex.rb:23:in `synchronize' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:156:in `block in fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:155:in `fetch' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:155:in `fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:298:in `block in let' # ./spec/support/http_handling_shared.rb:36:in `block (4 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 12) HTTP::Client working with SSL timeouts with a per operation timeout read of 2.5 does not time out Failure/Error: expect { client.get("#{server.endpoint}/sleep").body.to_s }.to_not raise_error expected no Exception, got # with backtrace: # /usr/lib/ruby/2.5.0/openssl/buffering.rb:182:in `sysread_nonblock' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:182:in `read_nonblock' # ./lib/http/timeout/per_operation.rb:63:in `block in readpartial' # ./lib/http/timeout/per_operation.rb:62:in `loop' # ./lib/http/timeout/per_operation.rb:62:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/support/http_handling_shared.rb:62:in `block (7 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/matchers/built_in/raise_error.rb:52:in `matches?' # /usr/lib/ruby/vendor_ruby/rspec/matchers/built_in/raise_error.rb:71:in `does_not_match?' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:78:in `does_not_match?' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:72:in `block in handle_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:70:in `handle_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:78:in `not_to' # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:106:in `not_to' # ./spec/support/http_handling_shared.rb:62:in `block (6 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # /usr/lib/ruby/vendor_ruby/rspec/support.rb:97:in `block in ' # /usr/lib/ruby/vendor_ruby/rspec/support.rb:106:in `notify_failure' # /usr/lib/ruby/vendor_ruby/rspec/expectations/fail_with.rb:35:in `fail_with' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:40:in `handle_failure' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:72:in `block in handle_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:70:in `handle_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:78:in `not_to' # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:106:in `not_to' # ./spec/support/http_handling_shared.rb:62:in `block (6 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 13) HTTP::Client working with SSL timeouts with a per operation timeout connection of 1 does not time out Failure/Error: expect { response }.to_not raise_error expected no Exception, got # with backtrace: # /usr/lib/ruby/2.5.0/openssl/buffering.rb:388:in `syswrite_nonblock' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:388:in `write_nonblock' # ./lib/http/timeout/per_operation.rb:77:in `block in write' # ./lib/http/timeout/per_operation.rb:76:in `loop' # ./lib/http/timeout/per_operation.rb:76:in `write' # ./lib/http/request/writer.rb:99:in `write' # ./lib/http/request/writer.rb:80:in `send_request' # ./lib/http/request/writer.rb:42:in `stream' # ./lib/http/request.rb:113:in `stream' # ./lib/http/connection.rb:74:in `send_request' # ./lib/http/client.rb:63:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/support/http_handling_shared.rb:33:in `block (4 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:298:in `block (2 levels) in let' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `block (3 levels) in fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `fetch' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:157:in `block (2 levels) in fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/support/reentrant_mutex.rb:23:in `synchronize' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:156:in `block in fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:155:in `fetch' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:155:in `fetch_or_store' # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:298:in `block in let' # ./spec/support/http_handling_shared.rb:44:in `block (7 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/matchers/built_in/raise_error.rb:52:in `matches?' # /usr/lib/ruby/vendor_ruby/rspec/matchers/built_in/raise_error.rb:71:in `does_not_match?' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:78:in `does_not_match?' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:72:in `block in handle_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:70:in `handle_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:78:in `not_to' # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:106:in `not_to' # ./spec/support/http_handling_shared.rb:44:in `block (6 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # /usr/lib/ruby/vendor_ruby/rspec/support.rb:97:in `block in ' # /usr/lib/ruby/vendor_ruby/rspec/support.rb:106:in `notify_failure' # /usr/lib/ruby/vendor_ruby/rspec/expectations/fail_with.rb:35:in `fail_with' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:40:in `handle_failure' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:72:in `block in handle_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:70:in `handle_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:78:in `not_to' # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:106:in `not_to' # ./spec/support/http_handling_shared.rb:44:in `block (6 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 14) HTTP::Client working with SSL timeouts with a global timeout errors if reading takes too long Failure/Error: expect { client.get("#{server.endpoint}/sleep").body.to_s }. to raise_error(HTTP::TimeoutError, /Timed out/) expected HTTP::TimeoutError with message matching /Timed out/, got # with backtrace: # /usr/lib/ruby/2.5.0/openssl/buffering.rb:182:in `sysread_nonblock' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:182:in `read_nonblock' # ./lib/http/timeout/global.rb:73:in `read_nonblock' # ./lib/http/timeout/global.rb:51:in `block in readpartial' # ./lib/http/timeout/global.rb:87:in `block in perform_io' # ./lib/http/timeout/global.rb:85:in `loop' # ./lib/http/timeout/global.rb:85:in `perform_io' # ./lib/http/timeout/global.rb:51:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/support/http_handling_shared.rb:86:in `block (5 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/matchers/built_in/raise_error.rb:52:in `matches?' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:50:in `block in handle_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:48:in `handle_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:65:in `to' # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:101:in `to' # ./spec/support/http_handling_shared.rb:86:in `block (4 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # /usr/lib/ruby/vendor_ruby/rspec/support.rb:97:in `block in ' # /usr/lib/ruby/vendor_ruby/rspec/support.rb:106:in `notify_failure' # /usr/lib/ruby/vendor_ruby/rspec/expectations/fail_with.rb:35:in `fail_with' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:40:in `handle_failure' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:50:in `block in handle_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:27:in `with_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/handler.rb:48:in `handle_matcher' # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:65:in `to' # /usr/lib/ruby/vendor_ruby/rspec/expectations/expectation_target.rb:101:in `to' # ./spec/support/http_handling_shared.rb:86:in `block (4 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 15) HTTP::Client working with SSL timeouts with a global timeout it resets state when reusing connections does not timeout Failure/Error: @socket.read_nonblock(size, :exception => false) OpenSSL::SSL::SSLError: SSL_read: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # /usr/lib/ruby/2.5.0/openssl/buffering.rb:182:in `sysread_nonblock' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:182:in `read_nonblock' # ./lib/http/timeout/global.rb:73:in `read_nonblock' # ./lib/http/timeout/global.rb:51:in `block in readpartial' # ./lib/http/timeout/global.rb:87:in `block in perform_io' # ./lib/http/timeout/global.rb:85:in `loop' # ./lib/http/timeout/global.rb:85:in `perform_io' # ./lib/http/timeout/global.rb:51:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/support/http_handling_shared.rb:96:in `block (5 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 16) HTTP.via proxy with authentication ssl responds with the endpoint's body Failure/Error: @socket.readpartial(size) OpenSSL::SSL::SSLError: SSL_read: sslv3 alert unsupported certificate # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `sysread' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `readpartial' # ./lib/http/timeout/null.rb:44:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/lib/http_spec.rb:151:in `block (5 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 17) HTTP.via anonymous proxy ssl responds with the endpoint's body Failure/Error: @socket.readpartial(size) OpenSSL::SSL::SSLError: SSL_read: sslv3 alert unsupported certificate # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `sysread' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `readpartial' # ./lib/http/timeout/null.rb:44:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/lib/http_spec.rb:115:in `block (5 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' 18) HTTP.via anonymous proxy ssl ignores credentials Failure/Error: @socket.readpartial(size) OpenSSL::SSL::SSLError: SSL_read: sslv3 alert unsupported certificate # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `sysread' # /usr/lib/ruby/2.5.0/openssl/buffering.rb:125:in `readpartial' # ./lib/http/timeout/null.rb:44:in `readpartial' # ./lib/http/connection.rb:212:in `read_more' # ./lib/http/connection.rb:99:in `block in read_headers!' # ./lib/http/connection.rb:98:in `loop' # ./lib/http/connection.rb:98:in `read_headers!' # ./lib/http/client.rb:64:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/lib/http_spec.rb:120:in `block (5 levels) in ' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `instance_exec' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:254:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `block in with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:602:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:464:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:457:in `with_around_example_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/example.rb:251:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:629:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:625:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:592:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke' # /usr/bin/rspec:4:in `
' Top 10 slowest examples (13.97 seconds, 63.9% of total time): HTTP::Client working with SSL just works 4.33 seconds ./spec/lib/http/client_spec.rb:222 HTTP::Client timeouts with a global timeout it resets state when reusing connections does not timeout 4.05 seconds ./spec/support/http_handling_shared.rb:95 HTTP::Client timeouts with a per operation timeout read of 2.5 does not time out 2.01 seconds ./spec/support/http_handling_shared.rb:61 HTTP::Client timeouts with a global timeout errors if connecting takes too long 1.01 seconds ./spec/support/http_handling_shared.rb:77 HTTP::Client working with SSL timeouts with a global timeout errors if connecting takes too long 1.01 seconds ./spec/support/http_handling_shared.rb:77 HTTP::Client timeouts with a global timeout errors if reading takes too long 1 seconds ./spec/support/http_handling_shared.rb:85 HTTP getting resources with a large request body with a per_operation timeout with a 68000 body and 91 of fuzzing when bytesize != length returns a large body 0.1503 seconds ./spec/lib/http_spec.rb:74 HTTP.via anonymous proxy ssl responds with the endpoint's body 0.13822 seconds ./spec/lib/http_spec.rb:114 HTTP.via proxy with authentication ssl responds with the endpoint's body 0.13704 seconds ./spec/lib/http_spec.rb:150 HTTP.via anonymous proxy ssl ignores credentials 0.13557 seconds ./spec/lib/http_spec.rb:119 Top 10 slowest example groups: HTTP::Client 0.26549 seconds average (14.6 seconds / 55 examples) ./spec/lib/http/client_spec.rb:8 HTTP 0.0429 seconds average (6.35 seconds / 148 examples) ./spec/lib/http_spec.rb:9 HTTP::Headers::Mixin 0.00758 seconds average (0.02274 seconds / 3 examples) ./spec/lib/http/headers/mixin_spec.rb:2 HTTP::Request 0.00318 seconds average (0.12392 seconds / 39 examples) ./spec/lib/http/request_spec.rb:4 HTTP::Redirector 0.00258 seconds average (0.09017 seconds / 35 examples) ./spec/lib/http/redirector_spec.rb:2 HTTP::Features::AutoInflate 0.00195 seconds average (0.01172 seconds / 6 examples) ./spec/lib/http/features/auto_inflate_spec.rb:2 HTTP::Response 0.00184 seconds average (0.04224 seconds / 23 examples) ./spec/lib/http/response_spec.rb:2 HTTP::ContentType 0.00175 seconds average (0.02454 seconds / 14 examples) ./spec/lib/http/content_type_spec.rb:2 HTTP::Response::Body 0.0015 seconds average (0.01047 seconds / 7 examples) ./spec/lib/http/response/body_spec.rb:2 HTTP::Options merge 0.00147 seconds average (0.00442 seconds / 3 examples) ./spec/lib/http/options/merge_spec.rb:3 Finished in 21.85 seconds (files took 1.59 seconds to load) 857 examples, 18 failures, 9 pending Failed examples: rspec ./spec/lib/http/client_spec.rb:222 # HTTP::Client working with SSL just works rspec ./spec/lib/http/client_spec.rb[1:7:2:2:1] # HTTP::Client working with SSL connection reuse when disabled opens new sockets rspec ./spec/lib/http/client_spec.rb[1:7:2:1:2] # HTTP::Client working with SSL connection reuse when enabled re-uses the socket rspec ./spec/lib/http/client_spec.rb[1:7:2:1:6:1] # HTTP::Client working with SSL connection reuse when enabled with a socket issue transparently reopens rspec ./spec/lib/http/client_spec.rb[1:7:2:1:3:1] # HTTP::Client working with SSL connection reuse when enabled on a mixed state re-opens the connection rspec ./spec/lib/http/client_spec.rb[1:7:2:1:4:1] # HTTP::Client working with SSL connection reuse when enabled when trying to read a stale body errors rspec ./spec/lib/http/client_spec.rb[1:7:2:1:1:1] # HTTP::Client working with SSL connection reuse when enabled without a host infers host from persistent config rspec ./spec/lib/http/client_spec.rb[1:7:2:1:5:1] # HTTP::Client working with SSL connection reuse when enabled when reading a cached body succeeds rspec ./spec/lib/http/client_spec.rb:237 # HTTP::Client working with SSL with SSL options instead of a context just works rspec ./spec/lib/http/client_spec.rb[1:7:1:1:1] # HTTP::Client working with SSL timeouts without timeouts works rspec ./spec/lib/http/client_spec.rb[1:7:1:2:1] # HTTP::Client working with SSL timeouts with a per operation timeout works rspec ./spec/lib/http/client_spec.rb[1:7:1:2:3:2:1] # HTTP::Client working with SSL timeouts with a per operation timeout read of 2.5 does not time out rspec ./spec/lib/http/client_spec.rb[1:7:1:2:2:1:1] # HTTP::Client working with SSL timeouts with a per operation timeout connection of 1 does not time out rspec ./spec/lib/http/client_spec.rb[1:7:1:3:2] # HTTP::Client working with SSL timeouts with a global timeout errors if reading takes too long rspec ./spec/lib/http/client_spec.rb[1:7:1:3:3:1] # HTTP::Client working with SSL timeouts with a global timeout it resets state when reusing connections does not timeout rspec ./spec/lib/http_spec.rb:150 # HTTP.via proxy with authentication ssl responds with the endpoint's body rspec ./spec/lib/http_spec.rb:114 # HTTP.via anonymous proxy ssl responds with the endpoint's body rspec ./spec/lib/http_spec.rb:119 # HTTP.via anonymous proxy ssl ignores credentials Randomized with seed 13001 Coverage report generated for RSpec to /build/ruby-http-2.2.2/coverage. 1104 / 1157 LOC (95.42%) covered. [Coveralls] Outside the CI environment, not sending data. /usr/bin/ruby2.5 /usr/bin/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed ERROR: Test "ruby2.5" failed. Exiting. dh_auto_install: dh_ruby --install /build/ruby-http-2.2.2/debian/ruby-http returned exit code 1 make: *** [debian/rules:6: binary] Error 1 dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2 I: Terminate timeout process I: copying local configuration /usr/lib/pbuilder/pbuilder-modules: line 1: 9816 Terminated ( : Timeout process; sleep "${TIMEOUT_TIME}"; log.i "Terminating build process due to timeout "; kill "${BUILD_PID}" || true ) E: Failed autobuilding of package I: user script /chroot/rebuildd/pbuilder/1063/tmp/hooks/C01kill-gpg-agent starting Found other processes running as uid 1234, killing them: 10736 /tmp/hooks/C01kill-gpg-agent: 22: kill: No such process I: user script /chroot/rebuildd/pbuilder/1063/tmp/hooks/C01kill-gpg-agent finished I: unmounting /sys filesystem I: unmounting /proc filesystem I: unmounting /dev/pts filesystem I: unmounting /dev filesystem I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env  I: removing directory /chroot/rebuildd/pbuilder/1063 and its subdirectories FAILED to build: 1