Fri 10 Aug 10:56:47 BST 2018: starting build of ruby-http version 2.2.2-1 on pein 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.einval.org/debian unstable/main ruby-http 2.2.2-1 (dsc) [2,202 B] Get:2 http://mirror.einval.org/debian unstable/main ruby-http 2.2.2-1 (tar) [62.6 kB] Get:3 http://mirror.einval.org/debian unstable/main ruby-http 2.2.2-1 (diff) [4,004 B] Fetched 68.8 kB in 0s (1,224 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: pbuilder: network access will be disabled during build I: Current time: Fri Aug 10 10:56:49 BST 2018 I: pbuilder-time-stamp: 1533895009 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-armhf.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 /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: using fakeroot in build. I: Installing the build-deps I: user script /chroot/rebuildd/pbuilder/19881/tmp/hooks/D01update starting Get:1 http://mirror.einval.org/debian unstable InRelease [233 kB] Ign:2 http://mirror.einval.org/debian unstable/main armhf Packages.diff/Index Get:2 http://mirror.einval.org/debian unstable/main armhf Packages.diff/Index [27.9 kB] Ign:2 http://mirror.einval.org/debian unstable/main armhf Packages.diff/Index Get:3 http://mirror.einval.org/debian unstable/main armhf Packages [7893 kB] Fetched 8125 kB in 6s (1377 kB/s) Reading package lists... I: user script /chroot/rebuildd/pbuilder/19881/tmp/hooks/D01update finished W: skipping an editor backup file /chroot/rebuildd/pbuilder/19881/tmp/hooks/D01update~ -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf 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 ... 11759 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} libncurses6{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 will be upgraded: libtinfo6 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 libgpm2 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 1 packages upgraded, 111 newly installed, 0 to remove and 59 not upgraded. Need to get 0 B/36.0 MB of archives. After unpacking 119 MB will be used. The following packages have unmet dependencies: libncursesw6 : Depends: libtinfo6 (= 6.1+20180210-4) but 6.1+20180714-1 is to be installed The following actions will resolve these dependencies: Upgrade the following packages: 1) libncursesw6 [6.1+20180210-4 (now) -> 6.1+20180714-1 (unstable)] 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} libncurses6{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 will be upgraded: libncursesw6 libtinfo6 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 libgpm2 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 2 packages upgraded, 111 newly installed, 0 to remove and 58 not upgraded. Need to get 0 B/36.1 MB of archives. After unpacking 119 MB will be used. Writing extended state information... debconf: delaying package configuration, since apt-utils is not installed E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device) Selecting previously unselected package libbsd0:armhf. (Reading database ... 11759 files and directories currently installed.) Preparing to unpack .../libbsd0_0.9.1-1_armhf.deb ... Unpacking libbsd0:armhf (0.9.1-1) ... Preparing to unpack .../libtinfo6_6.1+20180714-1_armhf.deb ... Unpacking libtinfo6:armhf (6.1+20180714-1) over (6.1+20180210-4) ... Setting up libtinfo6:armhf (6.1+20180714-1) ... (Reading database ... 11765 files and directories currently installed.) Preparing to unpack .../libncursesw6_6.1+20180714-1_armhf.deb ... Unpacking libncursesw6:armhf (6.1+20180714-1) over (6.1+20180210-4) ... Setting up libncursesw6:armhf (6.1+20180714-1) ... Selecting previously unselected package bsdmainutils. (Reading database ... 11765 files and directories currently installed.) Preparing to unpack .../0-bsdmainutils_11.1.2+b1_armhf.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../1-groff-base_1.22.3-10_armhf.deb ... Unpacking groff-base (1.22.3-10) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../2-libpipeline1_1.5.0-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.0-1) ... Selecting previously unselected package man-db. Preparing to unpack .../3-man-db_2.8.4-2_armhf.deb ... Unpacking man-db (2.8.4-2) ... Selecting previously unselected package libssl1.1:armhf. Preparing to unpack .../4-libssl1.1_1.1.0h-4_armhf.deb ... Unpacking libssl1.1:armhf (1.1.0h-4) ... Selecting previously unselected package libpython3.6-minimal:armhf. Preparing to unpack .../5-libpython3.6-minimal_3.6.6-1_armhf.deb ... Unpacking libpython3.6-minimal:armhf (3.6.6-1) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../6-libexpat1_2.2.5-3_armhf.deb ... Unpacking libexpat1:armhf (2.2.5-3) ... Selecting previously unselected package python3.6-minimal. Preparing to unpack .../7-python3.6-minimal_3.6.6-1_armhf.deb ... Unpacking python3.6-minimal (3.6.6-1) ... Setting up libssl1.1:armhf (1.1.0h-4) ... Setting up libpython3.6-minimal:armhf (3.6.6-1) ... Setting up libexpat1:armhf (2.2.5-3) ... Setting up python3.6-minimal (3.6.6-1) ... Selecting previously unselected package python3-minimal. (Reading database ... 12632 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.6.6-1_armhf.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:armhf. Preparing to unpack .../2-libmpdec2_2.4.2-2_armhf.deb ... Unpacking libmpdec2:armhf (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:armhf. Preparing to unpack .../4-libreadline7_7.0-5_armhf.deb ... Unpacking libreadline7:armhf (7.0-5) ... Selecting previously unselected package libpython3.6-stdlib:armhf. Preparing to unpack .../5-libpython3.6-stdlib_3.6.6-1_armhf.deb ... Unpacking libpython3.6-stdlib:armhf (3.6.6-1) ... Selecting previously unselected package python3.6. Preparing to unpack .../6-python3.6_3.6.6-1_armhf.deb ... Unpacking python3.6 (3.6.6-1) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../7-libpython3-stdlib_3.6.6-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.6.6-1) ... Setting up python3-minimal (3.6.6-1) ... Selecting previously unselected package python3. (Reading database ... 13084 files and directories currently installed.) Preparing to unpack .../00-python3_3.6.6-1_armhf.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_armhf.deb ... Unpacking libmagic-mgc (1:5.34-2) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../03-libmagic1_1%3a5.34-2_armhf.deb ... Unpacking libmagic1:armhf (1:5.34-2) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.34-2_armhf.deb ... Unpacking file (1:5.34-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../05-gettext-base_0.19.8.1-6+b1_armhf.deb ... Unpacking gettext-base (0.19.8.1-6+b1) ... Selecting previously unselected package libsigsegv2:armhf. Preparing to unpack .../06-libsigsegv2_2.12-2_armhf.deb ... Unpacking libsigsegv2:armhf (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../07-m4_1.4.18-1_armhf.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_all.deb ... Unpacking automake (1:1.16.1-1) ... Selecting previously unselected package autopoint. Preparing to unpack .../11-autopoint_0.19.8.1-6_all.deb ... Unpacking autopoint (0.19.8.1-6) ... Selecting previously unselected package openssl. Preparing to unpack .../12-openssl_1.1.0h-4_armhf.deb ... Unpacking openssl (1.1.0h-4) ... 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-2.1_all.deb ... Unpacking libtool (2.4.6-2.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.60-1_all.deb ... Unpacking libarchive-zip-perl (1.60-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:armhf. Preparing to unpack .../20-libelf1_0.170-0.5_armhf.deb ... Unpacking libelf1:armhf (0.170-0.5) ... Selecting previously unselected package dwz. Preparing to unpack .../21-dwz_0.12-2_armhf.deb ... Unpacking dwz (0.12-2) ... Selecting previously unselected package libglib2.0-0:armhf. Preparing to unpack .../22-libglib2.0-0_2.56.1-2_armhf.deb ... Unpacking libglib2.0-0:armhf (2.56.1-2) ... Selecting previously unselected package libpng16-16:armhf. Preparing to unpack .../23-libpng16-16_1.6.34-2_armhf.deb ... Unpacking libpng16-16:armhf (1.6.34-2) ... Selecting previously unselected package libfreetype6:armhf. Preparing to unpack .../24-libfreetype6_2.8.1-2_armhf.deb ... Unpacking libfreetype6:armhf (2.8.1-2) ... Selecting previously unselected package libgraphite2-3:armhf. Preparing to unpack .../25-libgraphite2-3_1.3.11-2_armhf.deb ... Unpacking libgraphite2-3:armhf (1.3.11-2) ... Selecting previously unselected package libharfbuzz0b:armhf. Preparing to unpack .../26-libharfbuzz0b_1.8.4-1_armhf.deb ... Unpacking libharfbuzz0b:armhf (1.8.4-1) ... Selecting previously unselected package libicu-le-hb0:armhf. Preparing to unpack .../27-libicu-le-hb0_1.0.3+git161113-5_armhf.deb ... Unpacking libicu-le-hb0:armhf (1.0.3+git161113-5) ... Selecting previously unselected package libicu60:armhf. Preparing to unpack .../28-libicu60_60.2-6_armhf.deb ... Unpacking libicu60:armhf (60.2-6) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../29-libxml2_2.9.4+dfsg1-7+b1_armhf.deb ... Unpacking libxml2:armhf (2.9.4+dfsg1-7+b1) ... Selecting previously unselected package libcroco3:armhf. Preparing to unpack .../30-libcroco3_0.6.12-2_armhf.deb ... Unpacking libcroco3:armhf (0.6.12-2) ... Selecting previously unselected package libncurses6:armhf. Preparing to unpack .../31-libncurses6_6.1+20180714-1_armhf.deb ... Unpacking libncurses6:armhf (6.1+20180714-1) ... Selecting previously unselected package gettext. Preparing to unpack .../32-gettext_0.19.8.1-6+b1_armhf.deb ... Unpacking gettext (0.19.8.1-6+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../33-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 .../34-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../35-debhelper_11.3.5_all.deb ... Unpacking debhelper (11.3.5) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../36-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 .../37-libfile-homedir-perl_1.004-1_all.deb ... Unpacking libfile-homedir-perl (1.004-1) ... Selecting previously unselected package devscripts. Preparing to unpack .../38-devscripts_2.18.3_armhf.deb ... Unpacking devscripts (2.18.3) ... Selecting previously unselected package rubygems-integration. Preparing to unpack .../39-rubygems-integration_1.11_all.deb ... Unpacking rubygems-integration (1.11) ... Selecting previously unselected package ruby-did-you-mean. Preparing to unpack .../40-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 .../41-ruby-minitest_5.10.3-1_all.deb ... Unpacking ruby-minitest (5.10.3-1) ... Selecting previously unselected package ruby-net-telnet. Preparing to unpack .../42-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 .../43-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 .../44-ruby-test-unit_3.2.7-1_all.deb ... Unpacking ruby-test-unit (3.2.7-1) ... Selecting previously unselected package ruby-xmlrpc. Preparing to unpack .../45-ruby-xmlrpc_0.3.0-2_all.deb ... Unpacking ruby-xmlrpc (0.3.0-2) ... Selecting previously unselected package libyaml-0-2:armhf. Preparing to unpack .../46-libyaml-0-2_0.2.1-1_armhf.deb ... Unpacking libyaml-0-2:armhf (0.2.1-1) ... Selecting previously unselected package libruby2.5:armhf. Preparing to unpack .../47-libruby2.5_2.5.1-5_armhf.deb ... Unpacking libruby2.5:armhf (2.5.1-5) ... Selecting previously unselected package ruby2.5. Preparing to unpack .../48-ruby2.5_2.5.1-5_armhf.deb ... Unpacking ruby2.5 (2.5.1-5) ... Selecting previously unselected package ruby. Preparing to unpack .../49-ruby_1%3a2.5.1_armhf.deb ... Unpacking ruby (1:2.5.1) ... Selecting previously unselected package rake. Preparing to unpack .../50-rake_12.3.1-3_all.deb ... Unpacking rake (12.3.1-3) ... Selecting previously unselected package gem2deb-test-runner. Preparing to unpack .../51-gem2deb-test-runner_0.39_armhf.deb ... Unpacking gem2deb-test-runner (0.39) ... Selecting previously unselected package libgmpxx4ldbl:armhf. Preparing to unpack .../52-libgmpxx4ldbl_2%3a6.1.2+dfsg-3_armhf.deb ... Unpacking libgmpxx4ldbl:armhf (2:6.1.2+dfsg-3) ... Selecting previously unselected package libgmp-dev:armhf. Preparing to unpack .../53-libgmp-dev_2%3a6.1.2+dfsg-3_armhf.deb ... Unpacking libgmp-dev:armhf (2:6.1.2+dfsg-3) ... Selecting previously unselected package ruby2.5-dev:armhf. Preparing to unpack .../54-ruby2.5-dev_2.5.1-5_armhf.deb ... Unpacking ruby2.5-dev:armhf (2.5.1-5) ... Selecting previously unselected package ruby-all-dev:armhf. Preparing to unpack .../55-ruby-all-dev_1%3a2.5.1_armhf.deb ... Unpacking ruby-all-dev:armhf (1:2.5.1) ... Selecting previously unselected package ruby-setup. Preparing to unpack .../56-ruby-setup_3.4.1-9_all.deb ... Unpacking ruby-setup (3.4.1-9) ... Selecting previously unselected package gem2deb. Preparing to unpack .../57-gem2deb_0.39_armhf.deb ... Unpacking gem2deb (0.39) ... Selecting previously unselected package libhttp-parser2.8:armhf. Preparing to unpack .../58-libhttp-parser2.8_2.8.1-1_armhf.deb ... Unpacking libhttp-parser2.8:armhf (2.8.1-1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../59-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 .../60-libjs-jquery-easing_12-1_all.deb ... Unpacking libjs-jquery-easing (12-1) ... Selecting previously unselected package libjs-jquery-mousewheel. Preparing to unpack .../61-libjs-jquery-mousewheel_12-1_all.deb ... Unpacking libjs-jquery-mousewheel (12-1) ... Selecting previously unselected package libjs-jquery-fancybox. Preparing to unpack .../62-libjs-jquery-fancybox_12-1_all.deb ... Unpacking libjs-jquery-fancybox (12-1) ... Selecting previously unselected package libjs-jquery-ui. Preparing to unpack .../63-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 .../64-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 .../65-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 .../66-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 .../67-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 .../68-ruby-unf-ext_0.0.7.4-1+b2_armhf.deb ... Unpacking ruby-unf-ext (0.0.7.4-1+b2) ... Selecting previously unselected package ruby-unf. Preparing to unpack .../69-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 .../70-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 .../71-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 .../72-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 .../73-ruby-mime-types_3.1-1_all.deb ... Unpacking ruby-mime-types (3.1-1) ... Selecting previously unselected package ruby-netrc. Preparing to unpack .../74-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 .../75-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 .../76-ruby-docile_1.1.5-2_all.deb ... Unpacking ruby-docile (1.1.5-2) ... Selecting previously unselected package ruby-json. Preparing to unpack .../77-ruby-json_2.1.0+dfsg-2+b1_armhf.deb ... Unpacking ruby-json (2.1.0+dfsg-2+b1) ... Selecting previously unselected package ruby-simplecov-html. Preparing to unpack .../78-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 .../79-ruby-simplecov_0.16.1-1_all.deb ... Unpacking ruby-simplecov (0.16.1-1) ... Selecting previously unselected package ruby-tins. Preparing to unpack .../80-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 .../81-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 .../82-ruby-thor_0.19.4-1_all.deb ... Unpacking ruby-thor (0.19.4-1) ... Selecting previously unselected package ruby-coveralls. Preparing to unpack .../83-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 .../84-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 .../85-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 .../86-ruby-http-parser.rb_0.6.0-4+b3_armhf.deb ... Unpacking ruby-http-parser.rb (0.6.0-4+b3) ... Selecting previously unselected package ruby-rspec-support. Preparing to unpack .../87-ruby-rspec-support_3.7.0c1e0m0s1-1_all.deb ... Unpacking ruby-rspec-support (3.7.0c1e0m0s1-1) ... Selecting previously unselected package ruby-rspec-expectations. Preparing to unpack .../88-ruby-rspec-expectations_3.7.0c1e0m0s1-1_all.deb ... Unpacking ruby-rspec-expectations (3.7.0c1e0m0s1-1) ... Selecting previously unselected package ruby-rspec-mocks. Preparing to unpack .../89-ruby-rspec-mocks_3.7.0c1e0m0s1-1_all.deb ... Unpacking ruby-rspec-mocks (3.7.0c1e0m0s1-1) ... Selecting previously unselected package ruby-thread-order. Preparing to unpack .../90-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 .../91-ruby-rspec-core_3.7.0c1e0m0s1-1_all.deb ... Unpacking ruby-rspec-core (3.7.0c1e0m0s1-1) ... Selecting previously unselected package ruby-rspec. Preparing to unpack .../92-ruby-rspec_3.7.0c1e0m0s1-1_all.deb ... Unpacking ruby-rspec (3.7.0c1e0m0s1-1) ... Selecting previously unselected package ruby-rspec-its. Preparing to unpack .../93-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.60-1) ... Setting up mime-support (3.61) ... Setting up libfile-which-perl (1.22-1) ... Setting up libpng16-16:armhf (1.6.34-2) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:armhf (2.12-2) ... Setting up libreadline7:armhf (7.0-5) ... Setting up libfile-homedir-perl (1.004-1) ... Setting up libelf1:armhf (0.170-0.5) ... Setting up groff-base (1.22.3-10) ... Setting up libglib2.0-0:armhf (2.56.1-2) ... No schema files found: doing nothing. Setting up gettext-base (0.19.8.1-6+b1) ... Setting up libpipeline1:armhf (1.5.0-1) ... Setting up m4 (1.4.18-1) ... Setting up libbsd0:armhf (0.9.1-1) ... Setting up libfreetype6:armhf (2.8.1-2) ... Setting up libmagic-mgc (1:5.34-2) ... Setting up libmagic1:armhf (1:5.34-2) ... Setting up libgraphite2-3:armhf (1.3.11-2) ... Setting up ruby-did-you-mean (1.2.1-1) ... Setting up libyaml-0-2:armhf (0.2.1-1) ... Setting up sensible-utils (0.0.12) ... Processing triggers for libc-bin (2.27-4) ... 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.0h-4) ... 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:armhf (2:6.1.2+dfsg-3) ... Setting up libjs-jquery-fancybox (12-1) ... Setting up ruby-minitest (5.10.3-1) ... Setting up ca-certificates (20180409) ... Updating certificates in /etc/ssl/certs... 133 added, 0 removed; done. Setting up libncurses6:armhf (6.1+20180714-1) ... Setting up autopoint (0.19.8.1-6) ... Setting up libmpdec2:armhf (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:armhf (2.8.1-1) ... Setting up libgmp-dev:armhf (2:6.1.2+dfsg-3) ... Setting up libpython3.6-stdlib:armhf (3.6.6-1) ... Setting up python3.6 (3.6.6-1) ... Setting up ruby-test-unit (3.2.7-1) ... Setting up libharfbuzz0b:armhf (1.8.4-1) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.34-2) ... Setting up automake (1:1.16.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-2.1) ... Setting up libpython3-stdlib:armhf (3.6.6-1) ... Setting up python3 (3.6.6-1) ... Setting up devscripts (2.18.3) ... Setting up ruby2.5 (2.5.1-5) ... Setting up dh-autoreconf (19) ... Setting up libicu-le-hb0:armhf (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:armhf (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.7.0c1e0m0s1-1) ... Setting up ruby-tins (1.1.0-1) ... Setting up ruby-setup (3.4.1-9) ... Setting up libxml2:armhf (2.9.4+dfsg1-7+b1) ... Setting up libcroco3:armhf (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.1-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:armhf (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.7.0c1e0m0s1-1) ... Setting up gettext (0.19.8.1-6+b1) ... Setting up ruby-addressable (2.5.2-1) ... Setting up ruby-rspec-mocks (3.7.0c1e0m0s1-1) ... Setting up ruby-rspec-core (3.7.0c1e0m0s1-1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up ruby2.5-dev:armhf (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:armhf (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.7.0c1e0m0s1-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-4) ... 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 58 not upgraded. Need to get 0 B/126 kB of archives. After this operation, 307 kB of additional disk space will be used. E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device) Selecting previously unselected package libfakeroot:armhf. (Reading database ... 18196 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.23-1_armhf.deb ... Unpacking libfakeroot:armhf (1.23-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.23-1_armhf.deb ... Unpacking fakeroot (1.23-1) ... Processing triggers for libc-bin (2.27-4) ... Setting up libfakeroot:armhf (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-4) ... I: Copying back the cached apt archive contents 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 armhf 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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.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-gnueabihf/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-gnueabihf/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 26297 HTTP::Response includes HTTP::Headers::Mixin mime_type with Content-Type: text/html should eq "text/html" with Content-Type: text/html; charset=utf-8 should eq "text/html" without Content-Type header should be nil charset with Content-Type: text/html; charset=utf-8 should eq "utf-8" with Content-Type: text/html should be nil without Content-Type header should be nil #inspect returns human-friendly response representation #cookies should be a kind of HTTP::CookieJar contains cookies without domain restriction contains cookies limited to domain of request uri does not contains cookies limited to non-requeted uri #parse with explicitly given mime type supports MIME type aliases ignores mime_type of response with unknown content type raises HTTP::Error with known content type returns parsed body #flush flushes body returns response self-reference to_a returns a Rack-like array #connection returns the connection object used to instantiate the response #content_length with invalid Content-Length should be nil with Content-Length: 5 should eq 5 without Content-Length header should be nil HTTP::Options headers accepts any object that respond to :to_hash defaults to be empty may be specified with with_headers HTTP::Options json defaults to nil may be specified with with_json data 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 new supports a Options instance with a Hash coerces :form correctly coerces :response correctly coerces :headers correctly coerces :proxy correctly HTTP::Client passing json encodes given object connection reuse when disabled opens new sockets when enabled re-uses the socket when reading a cached body succeeds with a socket issue transparently reopens when trying to read a stale body errors without a host infers host from persistent config on a mixed state re-opens the connection with a change in host errors #perform calls finish_response once body was fully flushed with HEAD request does not iterates through body finishes response after headers were received when server fully flushes response in one chunk properly reads body following redirects prepends previous request uri scheme and host if needed fails if max amount of hops reached fails upon endless redirects returns response of new location 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) #request with explicitly given `Host` header keeps `Host` header as is (PENDING: Temporarily skipped with xit) 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) 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 (FAILED - 2) with SSL options instead of a context just works (FAILED - 3) connection reuse when disabled opens new sockets (FAILED - 4) when enabled re-uses the socket (FAILED - 5) when reading a cached body succeeds (FAILED - 6) with a change in host errors without a host infers host from persistent config (FAILED - 7) with a socket issue transparently reopens (FAILED - 8) on a mixed state re-opens the connection (FAILED - 9) when trying to read a stale body errors (FAILED - 10) timeouts with a global timeout errors if reading takes too long (FAILED - 11) errors if connecting takes too long it resets state when reusing connections does not timeout (FAILED - 12) with a per operation timeout works (FAILED - 13) connection of 1 does not time out (FAILED - 14) read of 0 times out (FAILED - 15) of 2.5 does not time out (FAILED - 16) without timeouts works (FAILED - 17) parsing params merges duplicate values properly encodes colons does not modifies query part if no params were given does not corrupts index-less arrays accepts params within the provided URL combines GET params from the URI with the passed in params timeouts without timeouts works with a global timeout errors if reading takes too long errors if connecting 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 HTTP::Headers is Enumerable #to_a returns an Array returns Array of key/value pairs with normalized keys #dup should be a kind of HTTP::Headers has headers copied should not equal ["Content-Type", "application/json"] modifying a copy modifies dupped copy does not affects original headers #merge! overwrites existing values appends other headers, not presented in base leaves headers not presented in other as is #[]= allows set multiple values sets header value overwrites previous value normalizes header name #keys returns uniq keys only normalizes keys #delete removes given header normalizes header name fails with invalid header name fails with empty header name #add fails with invalid header name appends new value if header exists fails with empty header name sets header value allows append multiple values normalizes header name #inspect should eq "#[\"hoo=ray\", \"woo=hoo\"]}>" #[] when header has a single value returns it returns a single value normalizes header name when header does not exists returns nil when header has a multiple values returns array of associated values normalizes header name .empty? when last header was removed should equal true when header exists should equal false initially should equal true #include? normalizes given header name tells whenever given headers is set or not #hash equals if two headers equals #== compares header keys and values sensitive to header values order sensitive to headers order allows comparison with Array of key/value pairs #set overwrites previous value sets header value allows set multiple values fails with invalid header name normalizes header name fails with empty header name #to_h returns a Hash returns Hash with normalized keys for a header with multiple values provides an array of values for a header with single value provides a value as is .coerce accepts any object that respond to #to_h fails if given object cannot be coerced accepts any object that respond to #to_hash accepts any object that respond to #to_a is aliased as .[] with duplicate header keys (mixed case) adds all headers #merge appends other headers, not presented in base leaves headers not presented in other as is overwrites existing values should not equal ["Host", "example.com"] and ["Accept", "application/json"] does not affects original headers should be a kind of HTTP::Headers #each yields each key/value pair separatedly returns self instance if block given returns Enumerator if no block given yields headers in the same order they were added #get normalizes header name fails with invalid header name returns array of associated values fails with empty header name when header does not exists returns empty array HTTP::Options body may be specified with with_body defaults to nil HTTP::Options proxy accepts proxy address, port, username, and password may be specified with with_proxy defaults to {} HTTP::Options merge supports another Options supports a Hash merges as excepted in complex cases HTTP posting with an explicit body is easy loading text with no charset is binary encoded .use turns on given feature with :auto_deflate sends gzipped body with :auto_inflate returns decoded body returns raw body when Content-Encoding type is missing returns deflated body .nodelay sets TCP_NODELAY on the underlying socket passing a string encoding type finds encoding posting forms to resources is easy .cookies properly merges cookies properly works with cookie jars from response unifies socket errors into HTTP::ConnectionError properly merges Cookie headers and cookies passes correct `Cookie` header loading endpoint with charset uses charset from headers with encoding option respects option .auth accepts any #to_s object sets Authorization header to the given value loading binary data is encoded as bytes .via proxy with authentication proxies the request responds with 407 if no credentials given responds with the endpoint's body responds with 407 when wrong credentials given ssl responds with 407 if no credentials given responds with 407 when wrong credentials given responds with the endpoint's body (FAILED - 18) anonymous proxy ignores credentials proxies the request raises an argument error if no port given responds with the endpoint's body ssl ignores credentials (FAILED - 19) responds with the endpoint's body (FAILED - 20) with redirects is easy for 301 is easy for 302 .timeout fails with unknown timeout type with :global type sets given timeout options sets timeout_class to Global with :null type sets timeout_class to Null without timeout type sets timeout_class to PerOperation sets given timeout options with :per_operation type sets given timeout options sets timeout_class to PerOperation .persistent with host only given example at ./spec/lib/http_spec.rb:275 (PENDING: Temporarily skipped with xit) example at ./spec/lib/http_spec.rb:276 (PENDING: Temporarily skipped with xit) with host and block given auto-closes connection (PENDING: Temporarily skipped with xit) returns last evaluation of last expression (PENDING: Temporarily skipped with xit) with timeout specified sets keep_alive_timeout head requests is easy .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:252:in `block (3 levels) in '. fails when options is not a Hash 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 getting resources is easy with query string parameters in the URI and opts hash includes both with query string parameters is easy with URI instance is easy with headers is easy with a large request body with a global timeout with a 16000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 16500 body and 567 of fuzzing returns a large body when bytesize != length returns a large body with a 34000 body and 85 of fuzzing returns a large body when bytesize != length returns a large body with a 34000 body and 602 of fuzzing returns a large body when bytesize != length returns a large body with a 16000 body and 66 of fuzzing returns a large body when bytesize != length returns a large body with a 17000 body and 79 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 388 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 143 of fuzzing returns a large body when bytesize != length returns a large body with a 16500 body and 28 of fuzzing returns a large body when bytesize != length returns a large body with a 16000 body and 993 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 17000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 68000 body and 51 of fuzzing returns a large body when bytesize != length returns a large body with a null timeout with a 16500 body and 44 of fuzzing returns a large body when bytesize != length returns a large body with a 16500 body and 948 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 900 of fuzzing returns a large body when bytesize != length returns a large body with a 68000 body and 86 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 68000 body and 227 of fuzzing returns a large body when bytesize != length returns a large body with a 17000 body and 16 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 34000 body and 284 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 16000 body and 0 of fuzzing returns a large body when bytesize != length returns a large body with a 34000 body and 69 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 17000 body and 340 of fuzzing returns a large body when bytesize != length returns a large body with a per_operation timeout with a 17000 body and 16 of fuzzing returns a large body when bytesize != length returns a large body with a 17000 body and 341 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 81 of fuzzing returns a large body when bytesize != length returns a large body with a 16500 body and 538 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 81 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 16000 body and 554 of fuzzing returns a large body when bytesize != length returns a large body with a 34000 body and 694 of fuzzing returns a large body when bytesize != length returns a large body with a 16500 body and 28 of fuzzing returns a large body when bytesize != length returns a large body with a 68000 body and 632 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 29 of fuzzing returns a large body when bytesize != length returns a large body HTTP::Headers::Mixin #[] proxies to headers#[] #[]= proxies to headers#[] #headers returns @headers instance variable 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; charset=utf-8 charset should eq "utf-8" mime_type should eq "text/plain" with tEXT/plaIN mime_type should eq "text/plain" charset should be nil with text/plain; charSET=utf-8 charset should eq "utf-8" mime_type should eq "text/plain" with text/plain; foo=bar; charset=utf-8 mime_type should eq "text/plain" charset should eq "utf-8" HTTP::Redirector #perform fails with StateError if there were no Location header fails with EndlessRedirectError if endless loop detected fails with TooManyRedirectsError if max hops reached returns first non-redirect response following 303 redirect follows with GET if original request was neither GET nor HEAD follows with GET if original request was GET follows with HEAD if original request was HEAD following 308 redirect follows with original request's verb following 307 redirect follows with original request's verb following 302 redirect with non-strict mode it follows with GET if original request was PUT it follows with GET if original request was POST it follows with GET if original request was DELETE it follows with original verb if it's safe with strict mode it follows with original verb if it's safe raises StateError if original request was POST raises StateError if original request was DELETE raises StateError if original request was PUT following 300 redirect with non-strict mode 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 POST it follows with GET if original request was PUT with strict mode raises StateError if original request was DELETE raises StateError if original request was POST raises StateError if original request was PUT it follows with original verb if it's safe following 301 redirect with strict mode raises StateError if original request was PUT raises StateError if original request was POST raises StateError if original request was DELETE it follows with original verb if it's safe 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 PUT it follows with GET if original request was DELETE #max_hops by default should eq 5 #strict by default should equal true HTTP::URI knows URI schemes sets default ports for HTTP URIs sets default ports for HTTPS URIs HTTP::Options features raises error for not supported features accepts feature name with its options in array defaults to be empty accepts plain symbols in array HTTP::Options coerces to a Hash has reader methods for attributes HTTP::Options form may be specified with with_form_data defaults to nil 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 nil properly sets Content-Length header if needed when Content-Length explicitly set keeps given value when body is Enumerable writes Transfer-Encoding header only once writes a chunked request from an Enumerable correctly when Transfer-Encoding is not chunked should raise HTTP::RequestError when Transfer-Encoding not set should raise HTTP::RequestError when body is a unicode String properly calculates Content-Length if needed when Content-Length explicitly set keeps given value HTTP::Response::Body streams bodies from responses when body is gzipped decodes body #readpartial streams decoded body 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 HTTP::Features::AutoDeflate raises error for wrong type accepts gzip method uses gzip by default accepts deflate method accepts string as method #deflate when body is not a string does not remove Content-Length header does not set Content-Encoding header returns given body when body is nil does not remove Content-Length header returns nil does not set Content-Encoding header when body is a string encodes body sets Content-Encoding header removes Content-Length header as deflate method removes Content-Length header encodes body sets Content-Encoding header HTTP::Response::Status #locked? when code is 423 should equal true when code is higher than 423 should equal false when code is lower than 423 should equal false #precondition_required? when code is 428 should equal true when code is higher than 428 should equal false when code is lower than 428 should equal false ::SYMBOLS [400] should equal :bad_request [200] should equal :ok #multi_status? when code is higher than 207 should equal false when code is 207 should equal true when code is lower than 207 should equal false #temporary_redirect? when code is higher than 307 should equal false when code is 307 should equal true when code is lower than 307 should equal false with 4xx codes is not #redirect? is #client_error? is not #server_error? is not #success? is not #informational? #service_unavailable? when code is lower than 503 should equal false when code is 503 should equal true when code is higher than 503 should equal false with 5xx codes is not #redirect? is not #success? is not #informational? is #server_error? is not #client_error? #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 #range_not_satisfiable? when code is 416 should equal true when code is lower than 416 should equal false when code is higher than 416 should equal false #request_timeout? when code is lower than 408 should equal false when code is 408 should equal true when code is higher than 408 should equal false #accepted? when code is 202 should equal true when code is higher than 202 should equal false when code is lower than 202 should equal false #not_extended? when code is higher than 510 should equal false when code is lower than 510 should equal false when code is 510 should equal true #reason 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: 409 should eq "Conflict" should be frozen with well-known code: 451 should be frozen should eq "Unavailable For Legal Reasons" with well-known code: 308 should be frozen should eq "Permanent Redirect" with well-known code: 431 should be frozen should eq "Request Header Fields Too Large" with well-known code: 302 should eq "Found" should be frozen with well-known code: 305 should be frozen should eq "Use Proxy" with well-known code: 426 should eq "Upgrade Required" should be frozen with well-known code: 205 should be frozen should eq "Reset Content" with well-known code: 424 should eq "Failed Dependency" should be frozen with well-known code: 511 should eq "Network Authentication Required" should be frozen with well-known code: 505 should be frozen should eq "HTTP Version Not Supported" with well-known code: 421 should eq "Misdirected Request" should be frozen with well-known code: 405 should be frozen should eq "Method Not Allowed" with well-known code: 203 should be frozen should eq "Non-Authoritative Information" with well-known code: 204 should eq "No Content" should be frozen with well-known code: 428 should be frozen should eq "Precondition Required" with well-known code: 304 should be frozen should eq "Not Modified" with well-known code: 507 should be frozen should eq "Insufficient Storage" with well-known code: 500 should be frozen should eq "Internal Server Error" with well-known code: 202 should be frozen should eq "Accepted" with well-known code: 400 should eq "Bad Request" should be frozen with well-known code: 429 should be frozen should eq "Too Many Requests" with well-known code: 423 should be frozen should eq "Locked" with well-known code: 208 should eq "Already Reported" should be frozen with well-known code: 226 should eq "IM Used" should be frozen with well-known code: 101 should be frozen should eq "Switching Protocols" with well-known code: 508 should eq "Loop Detected" should be frozen with well-known code: 504 should eq "Gateway Timeout" should be frozen with well-known code: 410 should be frozen should eq "Gone" with well-known code: 417 should be frozen should eq "Expectation Failed" with well-known code: 102 should eq "Processing" should be frozen with well-known code: 402 should be frozen should eq "Payment Required" with well-known code: 412 should eq "Precondition Failed" should be frozen with well-known code: 401 should be frozen should eq "Unauthorized" with well-known code: 303 should eq "See Other" should be frozen with well-known code: 207 should eq "Multi-Status" should be frozen with well-known code: 502 should eq "Bad Gateway" should be frozen with well-known code: 406 should be frozen should eq "Not Acceptable" with unknown code should be nil with well-known code: 200 should be frozen should eq "OK" with well-known code: 510 should eq "Not Extended" should be frozen with well-known code: 506 should eq "Variant Also Negotiates" should be frozen with well-known code: 501 should eq "Not Implemented" should be frozen with well-known code: 201 should be frozen should eq "Created" with well-known code: 414 should eq "URI Too Long" should be frozen with well-known code: 411 should eq "Length Required" should be frozen with well-known code: 404 should be frozen should eq "Not Found" with well-known code: 413 should eq "Payload Too Large" should be frozen with well-known code: 416 should be frozen should eq "Range Not Satisfiable" with well-known code: 300 should eq "Multiple Choices" should be frozen with well-known code: 206 should eq "Partial Content" should be frozen with well-known code: 307 should be frozen should eq "Temporary Redirect" with well-known code: 422 should eq "Unprocessable Entity" should be frozen with well-known code: 503 should be frozen should eq "Service Unavailable" with well-known code: 301 should be frozen should eq "Moved Permanently" with well-known code: 100 should eq "Continue" should be frozen with well-known code: 403 should be frozen should eq "Forbidden" with well-known code: 407 should eq "Proxy Authentication Required" should be frozen #precondition_failed? when code is 412 should equal true when code is lower than 412 should equal false when code is higher than 412 should equal false #code /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 should eq 200 with 1xx codes is #informational? is not #client_error? is not #redirect? is not #success? is not #server_error? #network_authentication_required? when code is higher than 511 should equal false when code is lower than 511 should equal false when code is 511 should equal true #proxy_authentication_required? when code is higher than 407 should equal false when code is lower than 407 should equal false when code is 407 should equal true #already_reported? when code is higher than 208 should equal false when code is lower than 208 should equal false when code is 208 should equal true #processing? when code is 102 should equal true when code is higher than 102 should equal false when code is lower than 102 should equal false #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 #uri_too_long? when code is lower than 414 should equal false when code is higher than 414 should equal false when code is 414 should equal true #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 #partial_content? when code is 206 should equal true when code is higher than 206 should equal false when code is lower than 206 should equal false #bad_gateway? when code is lower than 502 should equal false when code is higher than 502 should equal false when code is 502 should equal true #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 #method_not_allowed? when code is 405 should equal true when code is lower than 405 should equal false when code is higher than 405 should equal false #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 #im_used? when code is 226 should equal true when code is higher than 226 should equal false when code is lower than 226 should equal false #created? when code is higher than 201 should equal false when code is 201 should equal true when code is lower than 201 should equal false #http_version_not_supported? when code is lower than 505 should equal false when code is higher than 505 should equal false when code is 505 should equal true #conflict? when code is 409 should equal true when code is lower than 409 should equal false when code is higher than 409 should equal false #continue? when code is lower than 100 should equal false when code is 100 should equal true when code is higher than 100 should equal false #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 #see_other? when code is lower than 303 should equal false when code is higher than 303 should equal false when code is 303 should equal true #inspect returns quoted code and reason phrase #to_sym with well-known code: 424 should equal :failed_dependency with well-known code: 413 should equal :payload_too_large with well-known code: 506 should equal :variant_also_negotiates with well-known code: 403 should equal :forbidden with well-known code: 508 should equal :loop_detected with well-known code: 411 should equal :length_required with well-known code: 451 should equal :unavailable_for_legal_reasons with well-known code: 412 should equal :precondition_failed with well-known code: 400 should equal :bad_request with well-known code: 417 should equal :expectation_failed with well-known code: 207 should equal :multi_status with well-known code: 308 should equal :permanent_redirect with well-known code: 305 should equal :use_proxy with well-known code: 503 should equal :service_unavailable with well-known code: 414 should equal :uri_too_long with well-known code: 505 should equal :http_version_not_supported with well-known code: 511 should equal :network_authentication_required with well-known code: 203 should equal :non_authoritative_information with well-known code: 500 should equal :internal_server_error with well-known code: 504 should equal :gateway_timeout with well-known code: 409 should equal :conflict with well-known code: 202 should equal :accepted with well-known code: 421 should equal :misdirected_request with well-known code: 415 should equal :unsupported_media_type with well-known code: 205 should equal :reset_content with well-known code: 304 should equal :not_modified with well-known code: 301 should equal :moved_permanently with well-known code: 416 should equal :range_not_satisfiable with well-known code: 407 should equal :proxy_authentication_required with well-known code: 501 should equal :not_implemented with well-known code: 426 should equal :upgrade_required with well-known code: 226 should equal :im_used with well-known code: 423 should equal :locked with well-known code: 206 should equal :partial_content with well-known code: 102 should equal :processing with well-known code: 307 should equal :temporary_redirect with well-known code: 300 should equal :multiple_choices with well-known code: 410 should equal :gone with well-known code: 502 should equal :bad_gateway with well-known code: 101 should equal :switching_protocols with well-known code: 406 should equal :not_acceptable with well-known code: 429 should equal :too_many_requests with well-known code: 303 should equal :see_other with well-known code: 100 should equal :continue with unknown code should be nil with well-known code: 428 should equal :precondition_required with well-known code: 302 should equal :found with well-known code: 201 should equal :created with well-known code: 507 should equal :insufficient_storage with well-known code: 402 should equal :payment_required with well-known code: 405 should equal :method_not_allowed with well-known code: 401 should equal :unauthorized with well-known code: 208 should equal :already_reported with well-known code: 422 should equal :unprocessable_entity with well-known code: 510 should equal :not_extended with well-known code: 431 should equal :request_header_fields_too_large with well-known code: 204 should equal :no_content with well-known code: 408 should equal :request_timeout with well-known code: 404 should equal :not_found with well-known code: 200 should equal :ok #permanent_redirect? when code is 308 should equal true when code is lower than 308 should equal false when code is higher than 308 should equal false #gateway_timeout? when code is higher than 504 should equal false when code is 504 should equal true when code is lower than 504 should equal false #bad_request? when code is higher than 400 should equal false when code is lower than 400 should equal false when code is 400 should equal true with 2xx codes is #success? is not #informational? is not #client_error? is not #redirect? is not #server_error? #too_many_requests? when code is higher than 429 should equal false when code is 429 should equal true when code is lower than 429 should equal false #failed_dependency? when code is higher than 424 should equal false when code is lower than 424 should equal false when code is 424 should equal true .coerce is aliased as `.[]` fails if coercion failed with String coerces reasons fails when reason is unknown with Numeric coerces as Fixnum code with Symbol fails when symbolized reason is unknown coerces symbolized reasons #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 #misdirected_request? when code is lower than 421 should equal false when code is 421 should equal true when code is higher than 421 should equal false #reset_content? when code is 205 should equal true when code is higher than 205 should equal false when code is lower than 205 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 #gone? when code is higher than 410 should equal false when code is lower than 410 should equal false when code is 410 should equal true #not_implemented? when code is lower than 501 should equal false when code is 501 should equal true when code is higher than 501 should equal false #payload_too_large? when code is higher than 413 should equal false when code is 413 should equal true when code is lower than 413 should equal false #length_required? when code is higher than 411 should equal false when code is 411 should equal true when code is lower than 411 should equal false .new accepts any object that responds to #to_i /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 with 3xx codes is not #client_error? is not #informational? is #redirect? is not #server_error? is not #success? #unprocessable_entity? when code is lower than 422 should equal false when code is higher than 422 should equal false when code is 422 should equal true #found? when code is higher than 302 should equal false when code is 302 should equal true when code is lower than 302 should equal false #no_content? when code is higher than 204 should equal false when code is lower than 204 should equal false when code is 204 should equal true #internal_server_error? when code is higher than 500 should equal false when code is lower than 500 should equal false when code is 500 should equal true #use_proxy? when code is 305 should equal true when code is higher than 305 should equal false when code is lower than 305 should equal false #non_authoritative_information? when code is 203 should equal true when code is lower than 203 should equal false when code is higher than 203 should equal false #variant_also_negotiates? when code is 506 should equal true when code is lower than 506 should equal false when code is higher than 506 should equal false #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 #not_modified? when code is lower than 304 should equal false when code is 304 should equal true when code is higher than 304 should equal false #multiple_choices? when code is higher than 300 should equal false when code is 300 should equal true when code is lower than 300 should equal false #unavailable_for_legal_reasons? when code is higher than 451 should equal false when code is 451 should equal true when code is lower than 451 should equal false #request_header_fields_too_large? when code is lower than 431 should equal false when code is higher than 431 should equal false when code is 431 should equal true #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 #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 #unsupported_media_type? when code is lower than 415 should equal false when code is 415 should equal true when code is higher than 415 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 HTTP::Request /build/ruby-http-2.2.2/lib/http/request.rb:84: warning: instance variable @scheme not initialized requires URI to have scheme part includes HTTP::Headers::Mixin sets given headers provides a #scheme accessor provides a #verb accessor #headline should eq "GET /foo?bar=baz HTTP/1.1" when URI contains non-ASCII path encodes non-ASCII path part when URI contains encoded query does not unencodes query part when URI contains fragment omits fragment 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" #redirect presets new Host header body should eq "The Ultimate Question" with relative URL that misses leading slash given keeps Host header proxy should eq {:proxy_username=>"douglas", :proxy_password=>"adams"} uri should eq # body should eq "The Ultimate Question" verb should eq :post with original URI having non-standard port uri should eq # with relative URL given keeps Host header with original URI having non-standard port uri should eq # body should eq "The Ultimate Question" proxy should eq {:proxy_username=>"douglas", :proxy_password=>"adams"} verb should eq :post uri should eq # verb should eq :post with schema-less absolute URL given presets new Host header body should eq "The Ultimate Question" verb should eq :post uri should eq # proxy should eq {:proxy_username=>"douglas", :proxy_password=>"adams"} uri should eq # proxy should eq {:proxy_username=>"douglas", :proxy_password=>"adams"} with new verb given verb should equal :get 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" User-Agent header was not given should eq "http.rb/2.2.2" was explicitly given should eq "MrCrawly/123" Pending: (Failures listed here are expected and do not affect your suite's status) 1) HTTP::Client following redirects with non-ASCII URLs theoretically works like a charm # Temporarily skipped with xit # ./spec/lib/http/client_spec.rb:91 2) 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 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#request with non-ASCII URLs theoretically works like a charm # Temporarily skipped with xit # ./spec/lib/http/client_spec.rb:176 5) 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 6) HTTP.persistent with host only given # Temporarily skipped with xit # ./spec/lib/http_spec.rb:275 7) HTTP.persistent with host only given # Temporarily skipped with xit # ./spec/lib/http_spec.rb:276 8) HTTP.persistent with host and block given auto-closes connection # Temporarily skipped with xit # ./spec/lib/http_spec.rb:284 9) HTTP.persistent with host and block given returns last evaluation of last expression # Temporarily skipped with xit # ./spec/lib/http_spec.rb:280 Failures: 1) HTTP::Client working with SSL just works Failure/Error: @socket.connect OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate # ./lib/http/timeout/null.rb:26:in `connect' # ./lib/http/timeout/null.rb:26:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 fails with OpenSSL::SSL::SSLError if host mismatch Failure/Error: expect { client.get(dummy_ssl.endpoint.gsub("127.0.0.1", "localhost")) }. to raise_error(OpenSSL::SSL::SSLError, /does not match/) expected OpenSSL::SSL::SSLError with message matching /does not match/, got # with backtrace: # ./lib/http/timeout/null.rb:26:in `connect' # ./lib/http/timeout/null.rb:26:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60:in `perform' # ./lib/http/client.rb:41:in `request' # ./lib/http/chainable.rb:19:in `get' # ./spec/lib/http/client_spec.rb:228:in `block (4 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/lib/http/client_spec.rb:228: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 `
' # /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/lib/http/client_spec.rb:228: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 with SSL options instead of a context just works Failure/Error: @socket.connect OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate # ./lib/http/timeout/null.rb:26:in `connect' # ./lib/http/timeout/null.rb:26:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 disabled opens new sockets Failure/Error: @socket.connect OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # ./lib/http/timeout/null.rb:26:in `connect' # ./lib/http/timeout/null.rb:26:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 re-uses the socket Failure/Error: @socket.connect OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # ./lib/http/timeout/null.rb:26:in `connect' # ./lib/http/timeout/null.rb:26:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 reading a cached body succeeds Failure/Error: @socket.connect OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # ./lib/http/timeout/null.rb:26:in `connect' # ./lib/http/timeout/null.rb:26:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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.connect OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # ./lib/http/timeout/null.rb:26:in `connect' # ./lib/http/timeout/null.rb:26:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 with a socket issue transparently reopens Failure/Error: @socket.connect OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # ./lib/http/timeout/null.rb:26:in `connect' # ./lib/http/timeout/null.rb:26:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 connection reuse when enabled on a mixed state re-opens the connection Failure/Error: @socket.connect OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # ./lib/http/timeout/null.rb:26:in `connect' # ./lib/http/timeout/null.rb:26:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 connection reuse when enabled when trying to read a stale body errors Failure/Error: @socket.connect OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # ./lib/http/timeout/null.rb:26:in `connect' # ./lib/http/timeout/null.rb:26:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 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: # ./lib/http/timeout/global.rb:37:in `connect_nonblock' # ./lib/http/timeout/global.rb:37:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 global timeout it resets state when reusing connections does not timeout Failure/Error: @socket.connect_nonblock OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # ./lib/http/timeout/global.rb:37:in `connect_nonblock' # ./lib/http/timeout/global.rb:37:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 works Failure/Error: @socket.connect_nonblock OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # ./lib/http/timeout/per_operation.rb:33:in `connect_nonblock' # ./lib/http/timeout/per_operation.rb:33:in `block (2 levels) in connect_ssl' # ./lib/http/timeout/null.rb:67:in `rescue_writable' # ./lib/http/timeout/per_operation.rb:32:in `block in connect_ssl' # ./lib/http/timeout/null.rb:59:in `rescue_readable' # ./lib/http/timeout/per_operation.rb:31:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 per operation timeout connection of 1 does not time out Failure/Error: expect { response }.to_not raise_error expected no Exception, got # with backtrace: # ./lib/http/timeout/per_operation.rb:33:in `connect_nonblock' # ./lib/http/timeout/per_operation.rb:33:in `block (2 levels) in connect_ssl' # ./lib/http/timeout/null.rb:67:in `rescue_writable' # ./lib/http/timeout/per_operation.rb:32:in `block in connect_ssl' # ./lib/http/timeout/null.rb:59:in `rescue_readable' # ./lib/http/timeout/per_operation.rb:31:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 per operation timeout read of 0 times out Failure/Error: expect { response }.to raise_error(HTTP::TimeoutError, /Read/i) expected HTTP::TimeoutError with message matching /Read/i, got # with backtrace: # ./lib/http/timeout/per_operation.rb:33:in `connect_nonblock' # ./lib/http/timeout/per_operation.rb:33:in `block (2 levels) in connect_ssl' # ./lib/http/timeout/null.rb:67:in `rescue_writable' # ./lib/http/timeout/per_operation.rb:32:in `block in connect_ssl' # ./lib/http/timeout/null.rb:59:in `rescue_readable' # ./lib/http/timeout/per_operation.rb:31:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:54: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/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:54: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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:54: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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::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: # ./lib/http/timeout/per_operation.rb:33:in `connect_nonblock' # ./lib/http/timeout/per_operation.rb:33:in `block (2 levels) in connect_ssl' # ./lib/http/timeout/null.rb:67:in `rescue_writable' # ./lib/http/timeout/per_operation.rb:32:in `block in connect_ssl' # ./lib/http/timeout/null.rb:59:in `rescue_readable' # ./lib/http/timeout/per_operation.rb:31:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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::Client working with SSL timeouts without timeouts works Failure/Error: @socket.connect OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate Shared Example Group: "HTTP handling" called from ./spec/lib/http/client_spec.rb:218 # ./lib/http/timeout/null.rb:26:in `connect' # ./lib/http/timeout/null.rb:26:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 proxy with authentication ssl responds with the endpoint's body Failure/Error: @socket.connect OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate # ./lib/http/timeout/null.rb:26:in `connect' # ./lib/http/timeout/null.rb:26:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 `
' 19) HTTP.via anonymous proxy ssl ignores credentials Failure/Error: @socket.connect OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate # ./lib/http/timeout/null.rb:26:in `connect' # ./lib/http/timeout/null.rb:26:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 `
' 20) HTTP.via anonymous proxy ssl responds with the endpoint's body Failure/Error: @socket.connect OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3/TLS write finished: sslv3 alert unsupported certificate # ./lib/http/timeout/null.rb:26:in `connect' # ./lib/http/timeout/null.rb:26:in `connect_ssl' # ./lib/http/timeout/null.rb:35:in `start_tls' # ./lib/http/connection.rb:158:in `start_tls' # ./lib/http/connection.rb:44:in `initialize' # ./lib/http/client.rb:60:in `new' # ./lib/http/client.rb:60: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:466:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:604:in `run_around_example_hooks_for' # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:466: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:628:in `block in run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:624:in `run_examples' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `block in run' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:591:in `run' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `map' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1926:in `with_suite_hooks' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:113:in `block in run_specs' # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:79:in `report' # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:112: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 (22.02 seconds, 52.9% of total time): HTTP::Client working with SSL just works 11.42 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.07 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 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 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.01 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 632 of fuzzing when bytesize != length returns a large body 0.37331 seconds ./spec/lib/http_spec.rb:74 HTTP getting resources with a large request body with a per_operation timeout with a 68000 body and 0 of fuzzing when bytesize != length returns a large body 0.37314 seconds ./spec/lib/http_spec.rb:74 HTTP getting resources with a large request body with a global timeout with a 68000 body and 143 of fuzzing when bytesize != length returns a large body 0.37024 seconds ./spec/lib/http_spec.rb:74 HTTP getting resources with a large request body with a per_operation timeout with a 68000 body and 81 of fuzzing when bytesize != length returns a large body 0.36919 seconds ./spec/lib/http_spec.rb:74 Top 10 slowest example groups: HTTP::Client 0.40475 seconds average (22.26 seconds / 55 examples) ./spec/lib/http/client_spec.rb:8 HTTP 0.11623 seconds average (17.2 seconds / 148 examples) ./spec/lib/http_spec.rb:9 HTTP::Response 0.00779 seconds average (0.17908 seconds / 23 examples) ./spec/lib/http/response_spec.rb:2 HTTP::Request 0.00695 seconds average (0.27091 seconds / 39 examples) ./spec/lib/http/request_spec.rb:4 HTTP::Redirector 0.00648 seconds average (0.22688 seconds / 35 examples) ./spec/lib/http/redirector_spec.rb:2 HTTP::Headers::Mixin 0.00411 seconds average (0.01233 seconds / 3 examples) ./spec/lib/http/headers/mixin_spec.rb:2 HTTP::Request::Writer 0.00384 seconds average (0.04605 seconds / 12 examples) ./spec/lib/http/request/writer_spec.rb:4 HTTP::Options merge 0.00347 seconds average (0.01042 seconds / 3 examples) ./spec/lib/http/options/merge_spec.rb:3 HTTP::ContentType 0.00345 seconds average (0.04831 seconds / 14 examples) ./spec/lib/http/content_type_spec.rb:2 HTTP::Response::Body 0.00345 seconds average (0.02414 seconds / 7 examples) ./spec/lib/http/response/body_spec.rb:2 Finished in 41.61 seconds (files took 3.51 seconds to load) 857 examples, 20 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:227 # HTTP::Client working with SSL fails with OpenSSL::SSL::SSLError if host mismatch 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: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:5:1] # HTTP::Client working with SSL connection reuse when enabled when reading a cached body succeeds 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: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: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/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: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:2:3:1:1] # HTTP::Client working with SSL timeouts with a per operation timeout read of 0 times out 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:1:1] # HTTP::Client working with SSL timeouts without timeouts works 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:119 # HTTP.via anonymous proxy ssl ignores credentials rspec ./spec/lib/http_spec.rb:114 # HTTP.via anonymous proxy ssl responds with the endpoint's body Randomized with seed 26297 Coverage report generated for RSpec to /build/ruby-http-2.2.2/coverage. 1102 / 1157 LOC (95.25%) 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 debian/rules:6: recipe for target 'binary' failed make: *** [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: 27263 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/19881/tmp/hooks/C01kill-gpg-agent starting I: user script /chroot/rebuildd/pbuilder/19881/tmp/hooks/C01kill-gpg-agent finished I: unmounting /sys filesystem I: unmounting /proc 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/19881 and its subdirectories FAILED to build: 1