RUN: /usr/share/launchpad-buildd/slavebin/slave-prep ['slave-prep'] Forking launchpad-buildd slave process... Kernel version: Linux wani02 2.6.24-32-xen #1 SMP Mon Dec 3 16:12:25 UTC 2012 x86_64 Buildd toolchain package versions: launchpad-buildd_119~0.IS.08.04 python-lpbuildd_119~0.IS.08.04 bzr-builder_0.7.2+bzr156-0ubuntu1~1.IS.8.04 bzr_2.4.0-0ubuntu2~11.IS.8.04. Syncing the system clock with the buildd NTP service... 19 Nov 18:05:55 ntpdate[3374]: step time server 10.211.37.1 offset -25945.277200 sec RUN: /usr/share/launchpad-buildd/slavebin/unpack-chroot ['unpack-chroot', 'PACKAGEBUILD-5244489', '/home/buildd/filecache-default/8cabf0d27c46c059cfb33227b40152ef510fbe4f'] Unpacking chroot for build PACKAGEBUILD-5244489 RUN: /usr/share/launchpad-buildd/slavebin/mount-chroot ['mount-chroot', 'PACKAGEBUILD-5244489'] Mounting chroot for build PACKAGEBUILD-5244489 RUN: /usr/share/launchpad-buildd/slavebin/override-sources-list ['override-sources-list', 'PACKAGEBUILD-5244489', 'deb http://ftpmaster.internal/ubuntu trusty main restricted universe multiverse', 'deb http://ftpmaster.internal/ubuntu trusty-security main restricted universe multiverse', 'deb http://ftpmaster.internal/ubuntu trusty-updates main restricted universe multiverse'] Overriding sources.list in build-PACKAGEBUILD-5244489 RUN: /usr/share/launchpad-buildd/slavebin/update-debian-chroot ['update-debian-chroot', 'PACKAGEBUILD-5244489', 'i386'] Updating debian chroot for build PACKAGEBUILD-5244489 Ign http://ftpmaster.internal trusty InRelease Ign http://archive-team.internal trusty InRelease Ign http://ftpmaster.internal trusty-security InRelease Ign http://ftpmaster.internal trusty-updates InRelease Ign http://archive-team.internal trusty Release.gpg Get:1 http://ftpmaster.internal trusty Release.gpg [933 B] Get:2 http://archive-team.internal trusty Release [723 B] Get:3 http://ftpmaster.internal trusty-security Release.gpg [933 B] Get:4 http://ftpmaster.internal trusty-updates Release.gpg [933 B] Get:5 http://ftpmaster.internal trusty Release [49.6 kB] Get:6 http://ftpmaster.internal trusty-security Release [49.6 kB] Get:7 http://ftpmaster.internal trusty-updates Release [49.6 kB] Get:8 http://ftpmaster.internal trusty/main i386 Packages [1260 kB] Get:9 http://archive-team.internal trusty/main i386 Packages Ign http://archive-team.internal trusty/main Translation-en Get:10 http://ftpmaster.internal trusty/restricted i386 Packages [11.3 kB] Get:11 http://ftpmaster.internal trusty/universe i386 Packages [5770 kB] Get:12 http://ftpmaster.internal trusty/multiverse i386 Packages [134 kB] Get:13 http://ftpmaster.internal trusty/main Translation-en [728 kB] Get:14 http://ftpmaster.internal trusty/multiverse Translation-en [102 kB] Get:15 http://ftpmaster.internal trusty/restricted Translation-en [3361 B] Get:16 http://ftpmaster.internal trusty/universe Translation-en [3965 kB] Get:17 http://ftpmaster.internal trusty-security/main i386 Packages [14 B] Get:18 http://ftpmaster.internal trusty-security/restricted i386 Packages [14 B] Get:19 http://ftpmaster.internal trusty-security/universe i386 Packages [14 B] Get:20 http://ftpmaster.internal trusty-security/multiverse i386 Packages [14 B] Get:21 http://ftpmaster.internal trusty-security/main Translation-en [14 B] Get:22 http://ftpmaster.internal trusty-security/multiverse Translation-en [14 B] Get:23 http://ftpmaster.internal trusty-security/restricted Translation-en [14 B] Get:24 http://ftpmaster.internal trusty-security/universe Translation-en [14 B] Get:25 http://ftpmaster.internal trusty-updates/main i386 Packages [14 B] Get:26 http://ftpmaster.internal trusty-updates/restricted i386 Packages [14 B] Get:27 http://ftpmaster.internal trusty-updates/universe i386 Packages [14 B] Get:28 http://ftpmaster.internal trusty-updates/multiverse i386 Packages [14 B] Get:29 http://ftpmaster.internal trusty-updates/main Translation-en [14 B] Get:30 http://ftpmaster.internal trusty-updates/multiverse Translation-en [14 B] Get:31 http://ftpmaster.internal trusty-updates/restricted Translation-en [14 B] Get:32 http://ftpmaster.internal trusty-updates/universe Translation-en [14 B] Fetched 12.1 MB in 9s (1232 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: libdb5.3 libffi6 libprocps1 The following packages will be upgraded: adduser apt apt-transport-https base-files base-passwd binutils busybox-initramfs bzip2 coreutils cpp-4.8 debconf diffutils dpkg dpkg-dev findutils g++-4.8 gcc-4.8 gcc-4.8-base gnupg gpgv grep ifupdown initramfs-tools initramfs-tools-bin iproute iproute2 kmod libapt-pkg4.12 libasan0 libasn1-8-heimdal libatomic1 libbz2-1.0 libcloog-isl4 libcurl3-gnutls libdbus-1-3 libdpkg-perl libdrm2 libgcc-4.8-dev libgcc1 libgomp1 libgssapi-krb5-2 libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal libisl10 libitm1 libjson-c2 libjson0 libk5crypto3 libkeyutils1 libkmod2 libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libmpfr4 libnih-dbus1 libnih1 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpng12-0 libprocps0 libquadmath0 libroken18-heimdal libsasl2-2 libsasl2-modules libsasl2-modules-db libselinux1 libsemanage-common libsemanage1 libsepol1 libsqlite3-0 libstdc++-4.8-dev libstdc++6 libudev1 libwind0-heimdal linux-libc-dev module-init-tools patch perl perl-base perl-modules procps sed tar udev upstart 92 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 57.8 MB of archives. After this operation, 4902 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! base-files coreutils diffutils dpkg findutils grep libdb5.3 perl perl-base perl-modules bzip2 libbz2-1.0 sed tar libitm1 libgomp1 libasan0 gcc-4.8-base libgcc1 libatomic1 libquadmath0 cpp-4.8 binutils libstdc++-4.8-dev g++-4.8 gcc-4.8 libgcc-4.8-dev libstdc++6 libcloog-isl4 libisl10 libmpfr4 libapt-pkg4.12 gpgv gnupg apt base-passwd debconf libpam0g libselinux1 libpam-modules-bin libpam-modules libsemanage-common libsemanage1 libsepol1 libffi6 libp11-kit0 libsqlite3-0 libdbus-1-3 libdrm2 libjson-c2 libkmod2 libnih-dbus1 libnih1 libpng12-0 libprocps1 procps udev libudev1 kmod module-init-tools libroken18-heimdal libasn1-8-heimdal libkeyutils1 libk5crypto3 libgssapi-krb5-2 libkrb5-3 libkrb5support0 libhcrypto4-heimdal libheimbase1-heimdal libwind0-heimdal libhx509-5-heimdal libkrb5-26-heimdal libheimntlm0-heimdal libgssapi3-heimdal libsasl2-modules-db libsasl2-2 libldap-2.4-2 libcurl3-gnutls libprocps0 libpam-runtime adduser busybox-initramfs iproute2 ifupdown initramfs-tools initramfs-tools-bin libjson0 upstart apt-transport-https libsasl2-modules dpkg-dev libdpkg-perl patch iproute linux-libc-dev Authentication warning overridden. Get:1 http://ftpmaster.internal/ubuntu/ trusty/main base-files i386 6.12ubuntu5 [62.1 kB] Get:2 http://ftpmaster.internal/ubuntu/ trusty/main coreutils i386 8.21-1ubuntu3 [2438 kB] Get:3 http://ftpmaster.internal/ubuntu/ trusty/main diffutils i386 1:3.3-1 [202 kB] Get:4 http://ftpmaster.internal/ubuntu/ trusty/main dpkg i386 1.17.1ubuntu1 [1999 kB] Get:5 http://ftpmaster.internal/ubuntu/ trusty/main findutils i386 4.4.2-6ubuntu2 [236 kB] Get:6 http://ftpmaster.internal/ubuntu/ trusty/main grep i386 2.14-4 [285 kB] Get:7 http://ftpmaster.internal/ubuntu/ trusty/main libdb5.3 i386 5.3.28-3 [795 kB] Get:8 http://ftpmaster.internal/ubuntu/ trusty/main perl i386 5.18.1-4build1 [3735 kB] Get:9 http://ftpmaster.internal/ubuntu/ trusty/main perl-base i386 5.18.1-4build1 [1544 kB] Get:10 http://ftpmaster.internal/ubuntu/ trusty/main perl-modules all 5.18.1-4build1 [3921 kB] Get:11 http://ftpmaster.internal/ubuntu/ trusty/main bzip2 i386 1.0.6-5 [37.4 kB] Get:12 http://ftpmaster.internal/ubuntu/ trusty/main libbz2-1.0 i386 1.0.6-5 [33.9 kB] Get:13 http://ftpmaster.internal/ubuntu/ trusty/main sed i386 4.2.2-2ubuntu1 [141 kB] Get:14 http://ftpmaster.internal/ubuntu/ trusty/main tar i386 1.27-3 [231 kB] Get:15 http://ftpmaster.internal/ubuntu/ trusty/main libitm1 i386 4.8.2-1ubuntu2 [36.7 kB] Get:16 http://ftpmaster.internal/ubuntu/ trusty/main libgomp1 i386 4.8.2-1ubuntu2 [29.1 kB] Get:17 http://ftpmaster.internal/ubuntu/ trusty/main libasan0 i386 4.8.2-1ubuntu2 [76.2 kB] Get:18 http://ftpmaster.internal/ubuntu/ trusty/main gcc-4.8-base i386 4.8.2-1ubuntu2 [15.9 kB] Get:19 http://ftpmaster.internal/ubuntu/ trusty/main libgcc1 i386 1:4.8.2-1ubuntu2 [53.7 kB] Get:20 http://ftpmaster.internal/ubuntu/ trusty/main libatomic1 i386 4.8.2-1ubuntu2 [9702 B] Get:21 http://ftpmaster.internal/ubuntu/ trusty/main libquadmath0 i386 4.8.2-1ubuntu2 [218 kB] Get:22 http://ftpmaster.internal/ubuntu/ trusty/main cpp-4.8 i386 4.8.2-1ubuntu2 [5657 kB] Get:23 http://ftpmaster.internal/ubuntu/ trusty/main binutils i386 2.23.90.20131116-1ubuntu1 [3644 kB] Get:24 http://ftpmaster.internal/ubuntu/ trusty/main libstdc++-4.8-dev i386 4.8.2-1ubuntu2 [1749 kB] Get:25 http://ftpmaster.internal/ubuntu/ trusty/main g++-4.8 i386 4.8.2-1ubuntu2 [8501 kB] Get:26 http://ftpmaster.internal/ubuntu/ trusty/main gcc-4.8 i386 4.8.2-1ubuntu2 [6463 kB] Get:27 http://ftpmaster.internal/ubuntu/ trusty/main libgcc-4.8-dev i386 4.8.2-1ubuntu2 [2795 kB] Get:28 http://ftpmaster.internal/ubuntu/ trusty/main libstdc++6 i386 4.8.2-1ubuntu2 [335 kB] Get:29 http://ftpmaster.internal/ubuntu/ trusty/main libcloog-isl4 i386 0.18.1-2 [57.5 kB] Get:30 http://ftpmaster.internal/ubuntu/ trusty/main libisl10 i386 0.12.1-1 [540 kB] Get:31 http://ftpmaster.internal/ubuntu/ trusty/main libmpfr4 i386 3.1.2-1 [197 kB] Get:32 http://ftpmaster.internal/ubuntu/ trusty/main libapt-pkg4.12 i386 0.9.9.1~ubuntu4 [832 kB] Get:33 http://ftpmaster.internal/ubuntu/ trusty/main gpgv i386 1.4.15-1.1ubuntu1 [177 kB] Get:34 http://ftpmaster.internal/ubuntu/ trusty/main gnupg i386 1.4.15-1.1ubuntu1 [762 kB] Get:35 http://ftpmaster.internal/ubuntu/ trusty/main apt i386 0.9.9.1~ubuntu4 [1234 kB] Get:36 http://ftpmaster.internal/ubuntu/ trusty/main base-passwd i386 3.5.28 [39.1 kB] Get:37 http://ftpmaster.internal/ubuntu/ trusty/main debconf all 1.5.51ubuntu1 [148 kB] Get:38 http://ftpmaster.internal/ubuntu/ trusty/main libpam0g i386 1.1.3-10ubuntu1 [61.0 kB] Get:39 http://ftpmaster.internal/ubuntu/ trusty/main libselinux1 i386 2.2.1-1ubuntu1 [66.3 kB] Get:40 http://ftpmaster.internal/ubuntu/ trusty/main libpam-modules-bin i386 1.1.3-10ubuntu1 [37.4 kB] Get:41 http://ftpmaster.internal/ubuntu/ trusty/main libpam-modules i386 1.1.3-10ubuntu1 [274 kB] Get:42 http://ftpmaster.internal/ubuntu/ trusty/main libsemanage-common all 2.2-1 [6488 B] Get:43 http://ftpmaster.internal/ubuntu/ trusty/main libsemanage1 i386 2.2-1 [84.2 kB] Get:44 http://ftpmaster.internal/ubuntu/ trusty/main libsepol1 i386 2.2-1 [118 kB] Get:45 http://ftpmaster.internal/ubuntu/ trusty/main libffi6 i386 3.0.13-5 [14.2 kB] Get:46 http://ftpmaster.internal/ubuntu/ trusty/main libp11-kit0 i386 0.20.1-2ubuntu1 [90.1 kB] Get:47 http://ftpmaster.internal/ubuntu/ trusty/main libsqlite3-0 i386 3.8.1-1ubuntu1 [391 kB] Get:48 http://ftpmaster.internal/ubuntu/ trusty/main libdbus-1-3 i386 1.6.18-0ubuntu1 [153 kB] Get:49 http://ftpmaster.internal/ubuntu/ trusty/main libdrm2 i386 2.4.46-4 [27.4 kB] Get:50 http://ftpmaster.internal/ubuntu/ trusty/main libjson-c2 i386 0.11-3ubuntu1 [24.3 kB] Get:51 http://ftpmaster.internal/ubuntu/ trusty/main libkmod2 i386 15-0ubuntu2 [46.6 kB] Get:52 http://ftpmaster.internal/ubuntu/ trusty/main libnih-dbus1 i386 1.0.3-4ubuntu24 [16.0 kB] Get:53 http://ftpmaster.internal/ubuntu/ trusty/main libnih1 i386 1.0.3-4ubuntu24 [54.1 kB] Get:54 http://ftpmaster.internal/ubuntu/ trusty/main libpng12-0 i386 1.2.49-5ubuntu1 [130 kB] Get:55 http://ftpmaster.internal/ubuntu/ trusty/main libprocps1 i386 1:3.3.8-2ubuntu1 [34.2 kB] Get:56 http://ftpmaster.internal/ubuntu/ trusty/main procps i386 1:3.3.8-2ubuntu1 [241 kB] Get:57 http://ftpmaster.internal/ubuntu/ trusty/main udev i386 204-5ubuntu6 [1045 kB] Get:58 http://ftpmaster.internal/ubuntu/ trusty/main libudev1 i386 204-5ubuntu6 [42.5 kB] Get:59 http://ftpmaster.internal/ubuntu/ trusty/main kmod i386 15-0ubuntu2 [96.1 kB] Get:60 http://ftpmaster.internal/ubuntu/ trusty/main module-init-tools all 15-0ubuntu2 [1874 B] Get:61 http://ftpmaster.internal/ubuntu/ trusty/main libroken18-heimdal i386 1.6~git20120403+dfsg1-3ubuntu0.2 [46.3 kB] Get:62 http://ftpmaster.internal/ubuntu/ trusty/main libasn1-8-heimdal i386 1.6~git20120403+dfsg1-3ubuntu0.2 [227 kB] Get:63 http://ftpmaster.internal/ubuntu/ trusty/main libkeyutils1 i386 1.5.6-1 [7266 B] Get:64 http://ftpmaster.internal/ubuntu/ trusty/main libk5crypto3 i386 1.11.3+dfsg-3ubuntu2 [99.2 kB] Get:65 http://ftpmaster.internal/ubuntu/ trusty/main libgssapi-krb5-2 i386 1.11.3+dfsg-3ubuntu2 [132 kB] Get:66 http://ftpmaster.internal/ubuntu/ trusty/main libkrb5-3 i386 1.11.3+dfsg-3ubuntu2 [349 kB] Get:67 http://ftpmaster.internal/ubuntu/ trusty/main libkrb5support0 i386 1.11.3+dfsg-3ubuntu2 [33.7 kB] Get:68 http://ftpmaster.internal/ubuntu/ trusty/main libhcrypto4-heimdal i386 1.6~git20120403+dfsg1-3ubuntu0.2 [102 kB] Get:69 http://ftpmaster.internal/ubuntu/ trusty/main libheimbase1-heimdal i386 1.6~git20120403+dfsg1-3ubuntu0.2 [32.2 kB] Get:70 http://ftpmaster.internal/ubuntu/ trusty/main libwind0-heimdal i386 1.6~git20120403+dfsg1-3ubuntu0.2 [77.3 kB] Get:71 http://ftpmaster.internal/ubuntu/ trusty/main libhx509-5-heimdal i386 1.6~git20120403+dfsg1-3ubuntu0.2 [123 kB] Get:72 http://ftpmaster.internal/ubuntu/ trusty/main libkrb5-26-heimdal i386 1.6~git20120403+dfsg1-3ubuntu0.2 [230 kB] Get:73 http://ftpmaster.internal/ubuntu/ trusty/main libheimntlm0-heimdal i386 1.6~git20120403+dfsg1-3ubuntu0.2 [16.2 kB] Get:74 http://ftpmaster.internal/ubuntu/ trusty/main libgssapi3-heimdal i386 1.6~git20120403+dfsg1-3ubuntu0.2 [107 kB] Get:75 http://ftpmaster.internal/ubuntu/ trusty/main libsasl2-modules-db i386 2.1.25.dfsg1-17build1 [14.7 kB] Get:76 http://ftpmaster.internal/ubuntu/ trusty/main libsasl2-2 i386 2.1.25.dfsg1-17build1 [55.0 kB] Get:77 http://ftpmaster.internal/ubuntu/ trusty/main libldap-2.4-2 i386 2.4.31-1+nmu2ubuntu5 [182 kB] Get:78 http://ftpmaster.internal/ubuntu/ trusty/main libcurl3-gnutls i386 7.33.0-1ubuntu1 [192 kB] Get:79 http://ftpmaster.internal/ubuntu/ trusty/main libprocps0 i386 1:3.3.3-2ubuntu8 [34.0 kB] Get:80 http://ftpmaster.internal/ubuntu/ trusty/main libpam-runtime all 1.1.3-10ubuntu1 [40.9 kB] Get:81 http://ftpmaster.internal/ubuntu/ trusty/main adduser all 3.113+nmu3ubuntu3 [169 kB] Get:82 http://ftpmaster.internal/ubuntu/ trusty/main busybox-initramfs i386 1:1.21.0-1ubuntu1 [172 kB] Get:83 http://ftpmaster.internal/ubuntu/ trusty/main iproute2 i386 3.11.0-1 [523 kB] Get:84 http://ftpmaster.internal/ubuntu/ trusty/main ifupdown i386 0.7.46.1ubuntu1 [57.2 kB] Get:85 http://ftpmaster.internal/ubuntu/ trusty/main initramfs-tools all 0.103ubuntu2 [49.2 kB] Get:86 http://ftpmaster.internal/ubuntu/ trusty/main initramfs-tools-bin i386 0.103ubuntu2 [9796 B] Get:87 http://ftpmaster.internal/ubuntu/ trusty/main libjson0 i386 0.11-3ubuntu1 [1010 B] Get:88 http://ftpmaster.internal/ubuntu/ trusty/main upstart i386 1.11-0ubuntu1 [579 kB] Get:89 http://ftpmaster.internal/ubuntu/ trusty/main apt-transport-https i386 0.9.9.1~ubuntu4 [16.6 kB] Get:90 http://ftpmaster.internal/ubuntu/ trusty/main libsasl2-modules i386 2.1.25.dfsg1-17build1 [59.3 kB] Get:91 http://ftpmaster.internal/ubuntu/ trusty/main dpkg-dev all 1.17.1ubuntu1 [726 kB] Get:92 http://ftpmaster.internal/ubuntu/ trusty/main libdpkg-perl all 1.17.1ubuntu1 [195 kB] Get:93 http://ftpmaster.internal/ubuntu/ trusty/main patch i386 2.7.1-4 [99.2 kB] Get:94 http://ftpmaster.internal/ubuntu/ trusty/main iproute all 1:3.11.0-1 [2324 B] Get:95 http://ftpmaster.internal/ubuntu/ trusty/main linux-libc-dev i386 3.12.0-3.8 [730 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 57.8 MB in 3s (17.0 MB/s) (Reading database ... 12107 files and directories currently installed.) Preparing to replace base-files 6.12ubuntu4 (using .../base-files_6.12ubuntu5_i386.deb) ... Unpacking replacement base-files ... Setting up base-files (6.12ubuntu5) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... Installing new version of config file /etc/os-release ... (Reading database ... 12107 files and directories currently installed.) Preparing to replace coreutils 8.20-3ubuntu5 (using .../coreutils_8.21-1ubuntu3_i386.deb) ... Unpacking replacement coreutils ... Setting up coreutils (8.21-1ubuntu3) ... (Reading database ... 12109 files and directories currently installed.) Preparing to replace diffutils 1:3.2-8 (using .../diffutils_1%3a3.3-1_i386.deb) ... Unpacking replacement diffutils ... Setting up diffutils (1:3.3-1) ... (Reading database ... 12109 files and directories currently installed.) Preparing to replace dpkg 1.16.12ubuntu1 (using .../dpkg_1.17.1ubuntu1_i386.deb) ... Unpacking replacement dpkg ... Setting up dpkg (1.17.1ubuntu1) ... (Reading database ... 12092 files and directories currently installed.) Preparing to replace findutils 4.4.2-6ubuntu1 (using .../findutils_4.4.2-6ubuntu2_i386.deb) ... Unpacking replacement findutils ... Setting up findutils (4.4.2-6ubuntu2) ... (Reading database ... 12092 files and directories currently installed.) Preparing to replace grep 2.14-3 (using .../archives/grep_2.14-4_i386.deb) ... Unpacking replacement grep ... Setting up grep (2.14-4) ... Selecting previously unselected package libdb5.3:i386. (Reading database ... 12092 files and directories currently installed.) Unpacking libdb5.3:i386 (from .../libdb5.3_5.3.28-3_i386.deb) ... Setting up libdb5.3:i386 (5.3.28-3) ... Processing triggers for libc-bin ... (Reading database ... 12098 files and directories currently installed.) Preparing to replace perl 5.14.2-21build1 (using .../perl_5.18.1-4build1_i386.deb) ... Unpacking replacement perl ... Preparing to replace perl-base 5.14.2-21build1 (using .../perl-base_5.18.1-4build1_i386.deb) ... Unpacking replacement perl-base ... Setting up perl-base (5.18.1-4build1) ... (Reading database ... 12000 files and directories currently installed.) Preparing to replace perl-modules 5.14.2-21build1 (using .../perl-modules_5.18.1-4build1_all.deb) ... Unpacking replacement perl-modules ... Preparing to replace bzip2 1.0.6-4 (using .../bzip2_1.0.6-5_i386.deb) ... Unpacking replacement bzip2 ... Preparing to replace libbz2-1.0:i386 1.0.6-4 (using .../libbz2-1.0_1.0.6-5_i386.deb) ... Unpacking replacement libbz2-1.0:i386 ... Setting up libbz2-1.0:i386 (1.0.6-5) ... Processing triggers for libc-bin ... (Reading database ... 12037 files and directories currently installed.) Preparing to replace sed 4.2.2-1ubuntu1 (using .../sed_4.2.2-2ubuntu1_i386.deb) ... Unpacking replacement sed ... Setting up sed (4.2.2-2ubuntu1) ... (Reading database ... 12037 files and directories currently installed.) Preparing to replace tar 1.26+dfsg-8 (using .../archives/tar_1.27-3_i386.deb) ... Unpacking replacement tar ... Setting up tar (1.27-3) ... (Reading database ... 12038 files and directories currently installed.) Preparing to replace libitm1:i386 4.8.1-10ubuntu8 (using .../libitm1_4.8.2-1ubuntu2_i386.deb) ... Unpacking replacement libitm1:i386 ... Preparing to replace libgomp1:i386 4.8.1-10ubuntu8 (using .../libgomp1_4.8.2-1ubuntu2_i386.deb) ... Unpacking replacement libgomp1:i386 ... Preparing to replace libasan0:i386 4.8.1-10ubuntu8 (using .../libasan0_4.8.2-1ubuntu2_i386.deb) ... Unpacking replacement libasan0:i386 ... Preparing to replace gcc-4.8-base:i386 4.8.1-10ubuntu8 (using .../gcc-4.8-base_4.8.2-1ubuntu2_i386.deb) ... Unpacking replacement gcc-4.8-base:i386 ... Setting up gcc-4.8-base:i386 (4.8.2-1ubuntu2) ... (Reading database ... 12038 files and directories currently installed.) Preparing to replace libgcc1:i386 1:4.8.1-10ubuntu8 (using .../libgcc1_1%3a4.8.2-1ubuntu2_i386.deb) ... Unpacking replacement libgcc1:i386 ... Setting up libgcc1:i386 (1:4.8.2-1ubuntu2) ... Processing triggers for libc-bin ... (Reading database ... 12038 files and directories currently installed.) Preparing to replace libatomic1:i386 4.8.1-10ubuntu8 (using .../libatomic1_4.8.2-1ubuntu2_i386.deb) ... Unpacking replacement libatomic1:i386 ... Preparing to replace libquadmath0:i386 4.8.1-10ubuntu8 (using .../libquadmath0_4.8.2-1ubuntu2_i386.deb) ... Unpacking replacement libquadmath0:i386 ... Preparing to replace cpp-4.8 4.8.1-10ubuntu8 (using .../cpp-4.8_4.8.2-1ubuntu2_i386.deb) ... Unpacking replacement cpp-4.8 ... Preparing to replace binutils 2.23.52.20130913-0ubuntu1 (using .../binutils_2.23.90.20131116-1ubuntu1_i386.deb) ... Unpacking replacement binutils ... Preparing to replace libstdc++-4.8-dev:i386 4.8.1-10ubuntu8 (using .../libstdc++-4.8-dev_4.8.2-1ubuntu2_i386.deb) ... Unpacking replacement libstdc++-4.8-dev:i386 ... Preparing to replace g++-4.8 4.8.1-10ubuntu8 (using .../g++-4.8_4.8.2-1ubuntu2_i386.deb) ... Unpacking replacement g++-4.8 ... Preparing to replace gcc-4.8 4.8.1-10ubuntu8 (using .../gcc-4.8_4.8.2-1ubuntu2_i386.deb) ... Unpacking replacement gcc-4.8 ... Preparing to replace libgcc-4.8-dev:i386 4.8.1-10ubuntu8 (using .../libgcc-4.8-dev_4.8.2-1ubuntu2_i386.deb) ... Unpacking replacement libgcc-4.8-dev:i386 ... Preparing to replace libstdc++6:i386 4.8.1-10ubuntu8 (using .../libstdc++6_4.8.2-1ubuntu2_i386.deb) ... Unpacking replacement libstdc++6:i386 ... Setting up libstdc++6:i386 (4.8.2-1ubuntu2) ... Processing triggers for libc-bin ... (Reading database ... 12038 files and directories currently installed.) Preparing to replace libcloog-isl4:i386 0.18.0-2 (using .../libcloog-isl4_0.18.1-2_i386.deb) ... Unpacking replacement libcloog-isl4:i386 ... Preparing to replace libisl10:i386 0.11.2-1 (using .../libisl10_0.12.1-1_i386.deb) ... Unpacking replacement libisl10:i386 ... Preparing to replace libmpfr4:i386 3.1.1-2 (using .../libmpfr4_3.1.2-1_i386.deb) ... Unpacking replacement libmpfr4:i386 ... Preparing to replace libapt-pkg4.12:i386 0.9.9.1~ubuntu3 (using .../libapt-pkg4.12_0.9.9.1~ubuntu4_i386.deb) ... Unpacking replacement libapt-pkg4.12:i386 ... Setting up libapt-pkg4.12:i386 (0.9.9.1~ubuntu4) ... Processing triggers for libc-bin ... (Reading database ... 12038 files and directories currently installed.) Preparing to replace gpgv 1.4.14-1ubuntu2 (using .../gpgv_1.4.15-1.1ubuntu1_i386.deb) ... Unpacking replacement gpgv ... Setting up gpgv (1.4.15-1.1ubuntu1) ... (Reading database ... 12038 files and directories currently installed.) Preparing to replace gnupg 1.4.14-1ubuntu2 (using .../gnupg_1.4.15-1.1ubuntu1_i386.deb) ... Unpacking replacement gnupg ... Setting up gnupg (1.4.15-1.1ubuntu1) ... (Reading database ... 12038 files and directories currently installed.) Preparing to replace apt 0.9.9.1~ubuntu3 (using .../apt_0.9.9.1~ubuntu4_i386.deb) ... Unpacking replacement apt ... Setting up apt (0.9.9.1~ubuntu4) ... gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key " not changed gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key " not changed gpg: key C0B21F32: "Ubuntu Archive Automatic Signing Key (2012) " not changed gpg: key EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) " not changed gpg: Total number processed: 4 gpg: unchanged: 4 (Reading database ... 12038 files and directories currently installed.) Preparing to replace base-passwd 3.5.26 (using .../base-passwd_3.5.28_i386.deb) ... Unpacking replacement base-passwd ... Setting up base-passwd (3.5.28) ... (Reading database ... 12038 files and directories currently installed.) Preparing to replace debconf 1.5.50ubuntu1 (using .../debconf_1.5.51ubuntu1_all.deb) ... Unpacking replacement debconf ... Setting up debconf (1.5.51ubuntu1) ... (Reading database ... 12038 files and directories currently installed.) Preparing to replace libpam0g:i386 1.1.3-8ubuntu3 (using .../libpam0g_1.1.3-10ubuntu1_i386.deb) ... Unpacking replacement libpam0g:i386 ... Setting up libpam0g:i386 (1.1.3-10ubuntu1) ... Processing triggers for libc-bin ... (Reading database ... 12038 files and directories currently installed.) Preparing to replace libselinux1:i386 2.1.13-2 (using .../libselinux1_2.2.1-1ubuntu1_i386.deb) ... Unpacking replacement libselinux1:i386 ... Setting up libselinux1:i386 (2.2.1-1ubuntu1) ... Processing triggers for libc-bin ... (Reading database ... 12038 files and directories currently installed.) Preparing to replace libpam-modules-bin 1.1.3-8ubuntu3 (using .../libpam-modules-bin_1.1.3-10ubuntu1_i386.deb) ... Unpacking replacement libpam-modules-bin ... Setting up libpam-modules-bin (1.1.3-10ubuntu1) ... (Reading database ... 12038 files and directories currently installed.) Preparing to replace libpam-modules:i386 1.1.3-8ubuntu3 (using .../libpam-modules_1.1.3-10ubuntu1_i386.deb) ... Unpacking replacement libpam-modules:i386 ... Setting up libpam-modules:i386 (1.1.3-10ubuntu1) ... (Reading database ... 12038 files and directories currently installed.) Preparing to replace libsemanage-common 2.1.10-2 (using .../libsemanage-common_2.2-1_all.deb) ... Unpacking replacement libsemanage-common ... Setting up libsemanage-common (2.2-1) ... Installing new version of config file /etc/selinux/semanage.conf ... (Reading database ... 12038 files and directories currently installed.) Preparing to replace libsemanage1:i386 2.1.10-2 (using .../libsemanage1_2.2-1_i386.deb) ... Unpacking replacement libsemanage1:i386 ... Preparing to replace libsepol1:i386 2.1.9-2 (using .../libsepol1_2.2-1_i386.deb) ... Unpacking replacement libsepol1:i386 ... Setting up libsepol1:i386 (2.2-1) ... Setting up libsemanage1:i386 (2.2-1) ... Processing triggers for libc-bin ... Selecting previously unselected package libffi6:i386. (Reading database ... 12038 files and directories currently installed.) Unpacking libffi6:i386 (from .../libffi6_3.0.13-5_i386.deb) ... Preparing to replace libp11-kit0:i386 0.18.3-2ubuntu1 (using .../libp11-kit0_0.20.1-2ubuntu1_i386.deb) ... Unpacking replacement libp11-kit0:i386 ... Preparing to replace libsqlite3-0:i386 3.7.17-1ubuntu1 (using .../libsqlite3-0_3.8.1-1ubuntu1_i386.deb) ... Unpacking replacement libsqlite3-0:i386 ... Preparing to replace libdbus-1-3:i386 1.6.12-0ubuntu10 (using .../libdbus-1-3_1.6.18-0ubuntu1_i386.deb) ... Unpacking replacement libdbus-1-3:i386 ... Preparing to replace libdrm2:i386 2.4.46-1 (using .../libdrm2_2.4.46-4_i386.deb) ... Unpacking replacement libdrm2:i386 ... Preparing to replace libjson-c2:i386 0.11-2ubuntu1 (using .../libjson-c2_0.11-3ubuntu1_i386.deb) ... Unpacking replacement libjson-c2:i386 ... Preparing to replace libkmod2:i386 9-3ubuntu1 (using .../libkmod2_15-0ubuntu2_i386.deb) ... Unpacking replacement libkmod2:i386 ... Preparing to replace libnih-dbus1:i386 1.0.3-4ubuntu16 (using .../libnih-dbus1_1.0.3-4ubuntu24_i386.deb) ... Unpacking replacement libnih-dbus1:i386 ... Preparing to replace libnih1:i386 1.0.3-4ubuntu16 (using .../libnih1_1.0.3-4ubuntu24_i386.deb) ... Unpacking replacement libnih1:i386 ... Preparing to replace libpng12-0:i386 1.2.49-4ubuntu1 (using .../libpng12-0_1.2.49-5ubuntu1_i386.deb) ... Unpacking replacement libpng12-0:i386 ... Selecting previously unselected package libprocps1:i386. Unpacking libprocps1:i386 (from .../libprocps1_1%3a3.3.8-2ubuntu1_i386.deb) ... Preparing to replace procps 1:3.3.3-2ubuntu7 (using .../procps_1%3a3.3.8-2ubuntu1_i386.deb) ... invoke-rc.d: policy-rc.d denied execution of stop. Unpacking replacement procps ... Preparing to replace udev 204-0ubuntu18 (using .../udev_204-5ubuntu6_i386.deb) ... Adding 'diversion of /bin/udevadm to /bin/udevadm.upgrade by fake-udev' Unpacking replacement udev ... Preparing to replace libudev1:i386 204-0ubuntu18 (using .../libudev1_204-5ubuntu6_i386.deb) ... Unpacking replacement libudev1:i386 ... Preparing to replace kmod 9-3ubuntu1 (using .../kmod_15-0ubuntu2_i386.deb) ... Unpacking replacement kmod ... Preparing to replace module-init-tools 9-3ubuntu1 (using .../module-init-tools_15-0ubuntu2_all.deb) ... Unpacking replacement module-init-tools ... Preparing to replace libroken18-heimdal:i386 1.6~git20120403+dfsg1-3ubuntu0.1 (using .../libroken18-heimdal_1.6~git20120403+dfsg1-3ubuntu0.2_i386.deb) ... Unpacking replacement libroken18-heimdal:i386 ... Preparing to replace libasn1-8-heimdal:i386 1.6~git20120403+dfsg1-3ubuntu0.1 (using .../libasn1-8-heimdal_1.6~git20120403+dfsg1-3ubuntu0.2_i386.deb) ... Unpacking replacement libasn1-8-heimdal:i386 ... Preparing to replace libkeyutils1:i386 1.5.5-7 (using .../libkeyutils1_1.5.6-1_i386.deb) ... Unpacking replacement libkeyutils1:i386 ... Preparing to replace libk5crypto3:i386 1.10.1+dfsg-6.1ubuntu1 (using .../libk5crypto3_1.11.3+dfsg-3ubuntu2_i386.deb) ... Unpacking replacement libk5crypto3:i386 ... Preparing to replace libgssapi-krb5-2:i386 1.10.1+dfsg-6.1ubuntu1 (using .../libgssapi-krb5-2_1.11.3+dfsg-3ubuntu2_i386.deb) ... Unpacking replacement libgssapi-krb5-2:i386 ... Preparing to replace libkrb5-3:i386 1.10.1+dfsg-6.1ubuntu1 (using .../libkrb5-3_1.11.3+dfsg-3ubuntu2_i386.deb) ... Unpacking replacement libkrb5-3:i386 ... Preparing to replace libkrb5support0:i386 1.10.1+dfsg-6.1ubuntu1 (using .../libkrb5support0_1.11.3+dfsg-3ubuntu2_i386.deb) ... Unpacking replacement libkrb5support0:i386 ... Preparing to replace libhcrypto4-heimdal:i386 1.6~git20120403+dfsg1-3ubuntu0.1 (using .../libhcrypto4-heimdal_1.6~git20120403+dfsg1-3ubuntu0.2_i386.deb) ... Unpacking replacement libhcrypto4-heimdal:i386 ... Preparing to replace libheimbase1-heimdal:i386 1.6~git20120403+dfsg1-3ubuntu0.1 (using .../libheimbase1-heimdal_1.6~git20120403+dfsg1-3ubuntu0.2_i386.deb) ... Unpacking replacement libheimbase1-heimdal:i386 ... Preparing to replace libwind0-heimdal:i386 1.6~git20120403+dfsg1-3ubuntu0.1 (using .../libwind0-heimdal_1.6~git20120403+dfsg1-3ubuntu0.2_i386.deb) ... Unpacking replacement libwind0-heimdal:i386 ... Preparing to replace libhx509-5-heimdal:i386 1.6~git20120403+dfsg1-3ubuntu0.1 (using .../libhx509-5-heimdal_1.6~git20120403+dfsg1-3ubuntu0.2_i386.deb) ... Unpacking replacement libhx509-5-heimdal:i386 ... Preparing to replace libkrb5-26-heimdal:i386 1.6~git20120403+dfsg1-3ubuntu0.1 (using .../libkrb5-26-heimdal_1.6~git20120403+dfsg1-3ubuntu0.2_i386.deb) ... Unpacking replacement libkrb5-26-heimdal:i386 ... Preparing to replace libheimntlm0-heimdal:i386 1.6~git20120403+dfsg1-3ubuntu0.1 (using .../libheimntlm0-heimdal_1.6~git20120403+dfsg1-3ubuntu0.2_i386.deb) ... Unpacking replacement libheimntlm0-heimdal:i386 ... Preparing to replace libgssapi3-heimdal:i386 1.6~git20120403+dfsg1-3ubuntu0.1 (using .../libgssapi3-heimdal_1.6~git20120403+dfsg1-3ubuntu0.2_i386.deb) ... Unpacking replacement libgssapi3-heimdal:i386 ... Preparing to replace libsasl2-modules-db:i386 2.1.25.dfsg1-17 (using .../libsasl2-modules-db_2.1.25.dfsg1-17build1_i386.deb) ... Unpacking replacement libsasl2-modules-db:i386 ... Preparing to replace libsasl2-2:i386 2.1.25.dfsg1-17 (using .../libsasl2-2_2.1.25.dfsg1-17build1_i386.deb) ... Unpacking replacement libsasl2-2:i386 ... Preparing to replace libldap-2.4-2:i386 2.4.31-1+nmu2ubuntu3 (using .../libldap-2.4-2_2.4.31-1+nmu2ubuntu5_i386.deb) ... Unpacking replacement libldap-2.4-2:i386 ... Preparing to replace libcurl3-gnutls:i386 7.32.0-1ubuntu1 (using .../libcurl3-gnutls_7.33.0-1ubuntu1_i386.deb) ... Unpacking replacement libcurl3-gnutls:i386 ... Preparing to replace libprocps0:i386 1:3.3.3-2ubuntu7 (using .../libprocps0_1%3a3.3.3-2ubuntu8_i386.deb) ... Unpacking replacement libprocps0:i386 ... Preparing to replace libpam-runtime 1.1.3-8ubuntu3 (using .../libpam-runtime_1.1.3-10ubuntu1_all.deb) ... Unpacking replacement libpam-runtime ... Setting up libpam-runtime (1.1.3-10ubuntu1) ... (Reading database ... 12060 files and directories currently installed.) Preparing to replace adduser 3.113+nmu3ubuntu2 (using .../adduser_3.113+nmu3ubuntu3_all.deb) ... Unpacking replacement adduser ... Preparing to replace busybox-initramfs 1:1.20.0-8.1ubuntu1 (using .../busybox-initramfs_1%3a1.21.0-1ubuntu1_i386.deb) ... Unpacking replacement busybox-initramfs ... Preparing to replace iproute2 3.10.0-1ubuntu1 (using .../iproute2_3.11.0-1_i386.deb) ... Unpacking replacement iproute2 ... Preparing to replace ifupdown 0.7.44ubuntu3 (using .../ifupdown_0.7.46.1ubuntu1_i386.deb) ... Unpacking replacement ifupdown ... Preparing to replace initramfs-tools 0.103ubuntu1 (using .../initramfs-tools_0.103ubuntu2_all.deb) ... Unpacking replacement initramfs-tools ... Preparing to replace initramfs-tools-bin 0.103ubuntu1 (using .../initramfs-tools-bin_0.103ubuntu2_i386.deb) ... Unpacking replacement initramfs-tools-bin ... Preparing to replace libjson0:i386 0.11-2ubuntu1 (using .../libjson0_0.11-3ubuntu1_i386.deb) ... Unpacking replacement libjson0:i386 ... Preparing to replace upstart 1.10-0ubuntu7 (using .../upstart_1.11-0ubuntu1_i386.deb) ... Unpacking replacement upstart ... Preparing to replace apt-transport-https 0.9.9.1~ubuntu3 (using .../apt-transport-https_0.9.9.1~ubuntu4_i386.deb) ... Unpacking replacement apt-transport-https ... Preparing to replace libsasl2-modules:i386 2.1.25.dfsg1-17 (using .../libsasl2-modules_2.1.25.dfsg1-17build1_i386.deb) ... Unpacking replacement libsasl2-modules:i386 ... Preparing to replace dpkg-dev 1.16.12ubuntu1 (using .../dpkg-dev_1.17.1ubuntu1_all.deb) ... Unpacking replacement dpkg-dev ... Preparing to replace libdpkg-perl 1.16.12ubuntu1 (using .../libdpkg-perl_1.17.1ubuntu1_all.deb) ... Unpacking replacement libdpkg-perl ... Preparing to replace patch 2.7.1-3 (using .../patch_2.7.1-4_i386.deb) ... Unpacking replacement patch ... Preparing to replace iproute 1:3.10.0-1ubuntu1 (using .../iproute_1%3a3.11.0-1_all.deb) ... Unpacking replacement iproute ... Preparing to replace linux-libc-dev:i386 3.11.0-12.19 (using .../linux-libc-dev_3.12.0-3.8_i386.deb) ... Unpacking replacement linux-libc-dev:i386 ... Setting up bzip2 (1.0.6-5) ... Setting up libitm1:i386 (4.8.2-1ubuntu2) ... Setting up libgomp1:i386 (4.8.2-1ubuntu2) ... Setting up libasan0:i386 (4.8.2-1ubuntu2) ... Setting up libatomic1:i386 (4.8.2-1ubuntu2) ... Setting up libquadmath0:i386 (4.8.2-1ubuntu2) ... Setting up libisl10:i386 (0.12.1-1) ... Setting up libcloog-isl4:i386 (0.18.1-2) ... Setting up libmpfr4:i386 (3.1.2-1) ... Setting up cpp-4.8 (4.8.2-1ubuntu2) ... Setting up binutils (2.23.90.20131116-1ubuntu1) ... Setting up libgcc-4.8-dev:i386 (4.8.2-1ubuntu2) ... Setting up libstdc++-4.8-dev:i386 (4.8.2-1ubuntu2) ... Setting up gcc-4.8 (4.8.2-1ubuntu2) ... Setting up g++-4.8 (4.8.2-1ubuntu2) ... Setting up libffi6:i386 (3.0.13-5) ... Setting up libp11-kit0:i386 (0.20.1-2ubuntu1) ... Setting up libsqlite3-0:i386 (3.8.1-1ubuntu1) ... Setting up libdbus-1-3:i386 (1.6.18-0ubuntu1) ... Setting up libdrm2:i386 (2.4.46-4) ... Setting up libjson-c2:i386 (0.11-3ubuntu1) ... Setting up libkmod2:i386 (15-0ubuntu2) ... Setting up libnih1:i386 (1.0.3-4ubuntu24) ... Setting up libnih-dbus1:i386 (1.0.3-4ubuntu24) ... Setting up libpng12-0:i386 (1.2.49-5ubuntu1) ... Setting up libprocps1:i386 (1:3.3.8-2ubuntu1) ... Setting up procps (1:3.3.8-2ubuntu1) ... Installing new version of config file /etc/init.d/procps ... Installing new version of config file /etc/sysctl.conf ... invoke-rc.d: policy-rc.d denied execution of start. Setting up libudev1:i386 (204-5ubuntu6) ... Setting up udev (204-5ubuntu6) ... Installing new version of config file /etc/udev/udev.conf ... Installing new version of config file /etc/init/udevmonitor.conf ... Installing new version of config file /etc/init.d/udev ... invoke-rc.d: policy-rc.d denied execution of restart. Removing 'diversion of /bin/udevadm to /bin/udevadm.upgrade by fake-udev' update-initramfs: deferring update (trigger activated) Setting up kmod (15-0ubuntu2) ... Setting up module-init-tools (15-0ubuntu2) ... Setting up libroken18-heimdal:i386 (1.6~git20120403+dfsg1-3ubuntu0.2) ... Setting up libasn1-8-heimdal:i386 (1.6~git20120403+dfsg1-3ubuntu0.2) ... Setting up libkeyutils1:i386 (1.5.6-1) ... Setting up libkrb5support0:i386 (1.11.3+dfsg-3ubuntu2) ... Setting up libk5crypto3:i386 (1.11.3+dfsg-3ubuntu2) ... Setting up libkrb5-3:i386 (1.11.3+dfsg-3ubuntu2) ... Setting up libgssapi-krb5-2:i386 (1.11.3+dfsg-3ubuntu2) ... Setting up libhcrypto4-heimdal:i386 (1.6~git20120403+dfsg1-3ubuntu0.2) ... Setting up libheimbase1-heimdal:i386 (1.6~git20120403+dfsg1-3ubuntu0.2) ... Setting up libwind0-heimdal:i386 (1.6~git20120403+dfsg1-3ubuntu0.2) ... Setting up libhx509-5-heimdal:i386 (1.6~git20120403+dfsg1-3ubuntu0.2) ... Setting up libkrb5-26-heimdal:i386 (1.6~git20120403+dfsg1-3ubuntu0.2) ... Setting up libheimntlm0-heimdal:i386 (1.6~git20120403+dfsg1-3ubuntu0.2) ... Setting up libgssapi3-heimdal:i386 (1.6~git20120403+dfsg1-3ubuntu0.2) ... Setting up libsasl2-modules-db:i386 (2.1.25.dfsg1-17build1) ... Setting up libsasl2-2:i386 (2.1.25.dfsg1-17build1) ... Setting up libldap-2.4-2:i386 (2.4.31-1+nmu2ubuntu5) ... Setting up libcurl3-gnutls:i386 (7.33.0-1ubuntu1) ... Setting up libprocps0:i386 (1:3.3.3-2ubuntu8) ... Setting up adduser (3.113+nmu3ubuntu3) ... Setting up busybox-initramfs (1:1.21.0-1ubuntu1) ... Setting up iproute2 (3.11.0-1) ... Setting up ifupdown (0.7.46.1ubuntu1) ... Installing new version of config file /etc/init.d/networking ... Setting up initramfs-tools-bin (0.103ubuntu2) ... Setting up initramfs-tools (0.103ubuntu2) ... update-initramfs: deferring update (trigger activated) Setting up libjson0:i386 (0.11-3ubuntu1) ... Setting up upstart (1.11-0ubuntu1) ... Setting up apt-transport-https (0.9.9.1~ubuntu4) ... Setting up libsasl2-modules:i386 (2.1.25.dfsg1-17build1) ... Setting up patch (2.7.1-4) ... Setting up iproute (1:3.11.0-1) ... Setting up linux-libc-dev:i386 (3.12.0-3.8) ... Setting up perl-modules (5.18.1-4build1) ... Setting up perl (5.18.1-4build1) ... Setting up libdpkg-perl (1.17.1ubuntu1) ... Setting up dpkg-dev (1.17.1ubuntu1) ... Processing triggers for libc-bin ... Processing triggers for initramfs-tools ... RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package ['sbuild-package', 'PACKAGEBUILD-5244489', 'i386', 'trusty', '--nolog', '--batch', '--archive=ubuntu', '--dist=trusty', '-A', '--purpose=PPA', '--architecture=i386', '--comp=main', 'ruby-excon_0.28.0-1~ubuntu14.04.1~ppa1.dsc'] Initiating build PACKAGEBUILD-5244489 with 1 jobs across 1 processor cores. Kernel reported to sbuild: 2.6.24-32-xen #1 SMP Mon Dec 3 16:12:25 UTC 2012 i686 Automatic build of ruby-excon_0.28.0-1~ubuntu14.04.1~ppa1 on wani02 by sbuild/i386 1.170.5 Build started at 20131119-1056 ****************************************************************************** ruby-excon_0.28.0-1~ubuntu14.04.1~ppa1.dsc exists in cwd ** Using build dependencies supplied by package: Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), rake, ruby-rspec, ruby-chronic, ruby-shindo, ruby-sinatra, ruby-open4, ruby-activesupport-3.2, ruby-delorean, ruby-eventmachine Checking for already installed source dependencies... debhelper: missing gem2deb: missing rake: missing ruby-rspec: missing ruby-chronic: missing ruby-shindo: missing ruby-sinatra: missing ruby-open4: missing ruby-activesupport-3.2: missing ruby-delorean: missing ruby-eventmachine: missing Checking for source dependency conflicts... /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install debhelper gem2deb rake ruby-rspec ruby-chronic ruby-shindo ruby-sinatra ruby-open4 ruby-activesupport-3.2 ruby-delorean ruby-eventmachine Reading package lists... Building dependency tree... Reading state information... The following package was automatically installed and is no longer required: libprocps0 Use 'apt-get autoremove' to remove it. The following extra packages will be installed: apparmor-easyprof bsdmainutils ca-certificates devscripts dh-apparmor dh-python file gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libexpat1 libglib2.0-0 libjs-jquery libmagic1 libpipeline1 libpython3-stdlib libpython3.3-minimal libpython3.3-stdlib libruby1.9.1 libruby2.0 libunistring0 libxml2 libyaml-0-2 man-db mime-support openssl po-debconf python3 python3-minimal python3.3 python3.3-minimal ruby ruby-diff-lcs ruby-formatador ruby-i18n ruby-multi-json ruby-rack ruby-rack-protection ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks ruby-tilt ruby1.9.1 ruby1.9.1-dev ruby2.0 ruby2.0-dev rubygems-integration Suggested packages: wamerican wordlist whois vacation dh-make bsd-mailx mailx cvs-buildpackage devscripts-el gnuplot libauthen-sasl-perl libfile-desktopentry-perl libnet-smtp-ssl-perl libterm-size-perl libyaml-syck-perl mutt ssh-client svn-buildpackage w3m debian-keyring equivs libcrypt-ssleay-perl libsoap-lite-perl gettext-doc groff javascript-common less www-browser libmail-box-perl python3-doc python3-tk python3.3-doc binfmt-support ri ruby-dev ruby1.9.1-examples ri1.9.1 graphviz ruby-switch rubygems bundler Recommended packages: at dctrl-tools dput dupload libdistro-info-perl libencode-locale-perl libjson-perl libparse-debcontrol-perl liburi-perl libwww-perl lintian patchutils python3-debian python3-magic strace unzip wdiff wget curl libasprintf-dev libgettextpo-dev libglib2.0-data shared-mime-info xml-core libmail-sendmail-perl ruby-yajl ruby-json ruby-oj The following NEW packages will be installed: apparmor-easyprof bsdmainutils ca-certificates debhelper devscripts dh-apparmor dh-python file gem2deb gettext gettext-base groff-base intltool-debian libasprintf0c2 libcroco3 libexpat1 libglib2.0-0 libjs-jquery libmagic1 libpipeline1 libpython3-stdlib libpython3.3-minimal libpython3.3-stdlib libruby1.9.1 libruby2.0 libunistring0 libxml2 libyaml-0-2 man-db mime-support openssl po-debconf python3 python3-minimal python3.3 python3.3-minimal rake ruby ruby-activesupport-3.2 ruby-chronic ruby-delorean ruby-diff-lcs ruby-eventmachine ruby-formatador ruby-i18n ruby-multi-json ruby-open4 ruby-rack ruby-rack-protection ruby-rspec ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks ruby-shindo ruby-sinatra ruby-tilt ruby1.9.1 ruby1.9.1-dev ruby2.0 ruby2.0-dev rubygems-integration 0 upgraded, 61 newly installed, 0 to remove and 0 not upgraded. Need to get 25.6 MB of archives. After this operation, 82.7 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libexpat1 libmagic1 libpython3.3-minimal mime-support libpython3.3-stdlib python3.3-minimal libasprintf0c2 libglib2.0-0 libpipeline1 libxml2 groff-base bsdmainutils man-db libcroco3 libunistring0 libyaml-0-2 python3.3 python3-minimal libpython3-stdlib python3 dh-python file openssl ca-certificates gettext-base gettext intltool-debian po-debconf apparmor-easyprof dh-apparmor debhelper devscripts libruby1.9.1 ruby1.9.1 ruby libjs-jquery libruby2.0 rubygems-integration ruby2.0 ruby1.9.1-dev ruby2.0-dev gem2deb rake ruby-i18n ruby-multi-json ruby-activesupport-3.2 ruby-chronic ruby-delorean ruby-diff-lcs ruby-eventmachine ruby-formatador ruby-open4 ruby-rack ruby-rack-protection ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-core ruby-rspec ruby-shindo ruby-tilt ruby-sinatra Authentication warning overridden. Get:1 http://ftpmaster.internal/ubuntu/ trusty/main libexpat1 i386 2.1.0-4 [127 kB] Get:2 http://ftpmaster.internal/ubuntu/ trusty/main libmagic1 i386 5.11-2ubuntu4 [172 kB] Get:3 http://ftpmaster.internal/ubuntu/ trusty/main libpython3.3-minimal i386 3.3.2-7ubuntu4 [615 kB] Get:4 http://ftpmaster.internal/ubuntu/ trusty/main mime-support all 3.54ubuntu1 [31.7 kB] Get:5 http://ftpmaster.internal/ubuntu/ trusty/main libpython3.3-stdlib i386 3.3.2-7ubuntu4 [2655 kB] Get:6 http://ftpmaster.internal/ubuntu/ trusty/main python3.3-minimal i386 3.3.2-7ubuntu4 [1650 kB] Get:7 http://ftpmaster.internal/ubuntu/ trusty/main libasprintf0c2 i386 0.18.3.1-1ubuntu1 [7120 B] Get:8 http://ftpmaster.internal/ubuntu/ trusty/main libglib2.0-0 i386 2.38.1-1 [988 kB] Get:9 http://ftpmaster.internal/ubuntu/ trusty/main libpipeline1 i386 1.2.4-1 [26.5 kB] Get:10 http://ftpmaster.internal/ubuntu/ trusty/main libxml2 i386 2.9.1+dfsg1-3ubuntu2 [672 kB] Get:11 http://ftpmaster.internal/ubuntu/ trusty/main groff-base i386 1.22.2-3 [705 kB] Get:12 http://ftpmaster.internal/ubuntu/ trusty/main bsdmainutils i386 9.0.5ubuntu1 [197 kB] Get:13 http://ftpmaster.internal/ubuntu/ trusty/main man-db i386 2.6.5-2 [704 kB] Get:14 http://ftpmaster.internal/ubuntu/ trusty/main libcroco3 i386 0.6.8-2 [81.2 kB] Get:15 http://ftpmaster.internal/ubuntu/ trusty/main libunistring0 i386 0.9.3-5ubuntu1 [429 kB] Get:16 http://ftpmaster.internal/ubuntu/ trusty/main libyaml-0-2 i386 0.1.4-2build1 [55.3 kB] Get:17 http://ftpmaster.internal/ubuntu/ trusty/main python3.3 i386 3.3.2-7ubuntu4 [128 kB] Get:18 http://ftpmaster.internal/ubuntu/ trusty/main python3-minimal i386 3.3.2-14ubuntu1 [26.8 kB] Get:19 http://ftpmaster.internal/ubuntu/ trusty/main libpython3-stdlib i386 3.3.2-14ubuntu1 [8144 B] Get:20 http://ftpmaster.internal/ubuntu/ trusty/main python3 i386 3.3.2-14ubuntu1 [9172 B] Get:21 http://ftpmaster.internal/ubuntu/ trusty/main dh-python all 1.20131003-1 [61.7 kB] Get:22 http://ftpmaster.internal/ubuntu/ trusty/main file i386 5.11-2ubuntu4 [18.0 kB] Get:23 http://ftpmaster.internal/ubuntu/ trusty/main openssl i386 1.0.1e-3ubuntu1 [516 kB] Get:24 http://ftpmaster.internal/ubuntu/ trusty/main ca-certificates all 20130906 [196 kB] Get:25 http://ftpmaster.internal/ubuntu/ trusty/main gettext-base i386 0.18.3.1-1ubuntu1 [55.2 kB] Get:26 http://ftpmaster.internal/ubuntu/ trusty/main gettext i386 0.18.3.1-1ubuntu1 [1007 kB] Get:27 http://ftpmaster.internal/ubuntu/ trusty/main intltool-debian all 0.35.0+20060710.1 [31.6 kB] Get:28 http://ftpmaster.internal/ubuntu/ trusty/main po-debconf all 1.0.16+nmu2ubuntu1 [210 kB] Get:29 http://ftpmaster.internal/ubuntu/ trusty/main apparmor-easyprof all 2.8.0-0ubuntu34 [23.3 kB] Get:30 http://ftpmaster.internal/ubuntu/ trusty/main dh-apparmor all 2.8.0-0ubuntu34 [7772 B] Get:31 http://ftpmaster.internal/ubuntu/ trusty/main debhelper all 9.20130921ubuntu1 [635 kB] Get:32 http://ftpmaster.internal/ubuntu/ trusty/main devscripts i386 2.13.4build1 [852 kB] Get:33 http://ftpmaster.internal/ubuntu/ trusty/main libruby1.9.1 i386 1.9.3.194-8.1ubuntu2 [4184 kB] Get:34 http://ftpmaster.internal/ubuntu/ trusty/main ruby1.9.1 i386 1.9.3.194-8.1ubuntu2 [37.6 kB] Get:35 http://ftpmaster.internal/ubuntu/ trusty/main ruby all 1:1.9.3 [4826 B] Get:36 http://ftpmaster.internal/ubuntu/ trusty/main libjs-jquery all 1.7.2+dfsg-2ubuntu1 [78.8 kB] Get:37 http://ftpmaster.internal/ubuntu/ trusty/main libruby2.0 i386 2.0.0.343-1 [4436 kB] Get:38 http://ftpmaster.internal/ubuntu/ trusty/main rubygems-integration all 1.2 [5068 B] Get:39 http://ftpmaster.internal/ubuntu/ trusty/main ruby2.0 i386 2.0.0.343-1 [68.3 kB] Get:40 http://ftpmaster.internal/ubuntu/ trusty/main ruby1.9.1-dev i386 1.9.3.194-8.1ubuntu2 [1215 kB] Get:41 http://ftpmaster.internal/ubuntu/ trusty/main ruby2.0-dev i386 2.0.0.343-1 [1276 kB] Get:42 http://ftpmaster.internal/ubuntu/ trusty/main gem2deb all 0.5.0 [44.7 kB] Get:43 http://ftpmaster.internal/ubuntu/ trusty/main rake all 10.0.4-1 [49.0 kB] Get:44 http://ftpmaster.internal/ubuntu/ trusty/universe ruby-i18n all 0.6.4-1 [39.9 kB] Get:45 http://ftpmaster.internal/ubuntu/ trusty/universe ruby-multi-json all 1.8.0-1 [17.4 kB] Get:46 http://ftpmaster.internal/ubuntu/ trusty/universe ruby-activesupport-3.2 all 3.2.13-3 [291 kB] Get:47 http://ftpmaster.internal/ubuntu/ trusty/universe ruby-chronic all 0.9.1-1 [24.1 kB] Get:48 http://ftpmaster.internal/ubuntu/ trusty/universe ruby-delorean all 2.0.0-1 [4580 B] Get:49 http://ftpmaster.internal/ubuntu/ trusty/main ruby-diff-lcs all 1.2.4-1 [26.9 kB] Get:50 http://ftpmaster.internal/ubuntu/ trusty/universe ruby-eventmachine i386 1.0.3-3 [231 kB] Get:51 http://ftpmaster.internal/ubuntu/ trusty/universe ruby-formatador all 0.2.1-1 [5758 B] Get:52 http://ftpmaster.internal/ubuntu/ trusty/universe ruby-open4 all 1.3.0-1 [15.2 kB] Get:53 http://ftpmaster.internal/ubuntu/ trusty/universe ruby-rack all 1.5.2-1 [95.8 kB] Get:54 http://ftpmaster.internal/ubuntu/ trusty/universe ruby-rack-protection all 1.5.1-1 [10.5 kB] Get:55 http://ftpmaster.internal/ubuntu/ trusty/main ruby-rspec-expectations all 2.14.2-1 [57.9 kB] Get:56 http://ftpmaster.internal/ubuntu/ trusty/main ruby-rspec-mocks all 2.14.3-1 [52.7 kB] Get:57 http://ftpmaster.internal/ubuntu/ trusty/main ruby-rspec-core all 2.14.5-1 [114 kB] Get:58 http://ftpmaster.internal/ubuntu/ trusty/main ruby-rspec all 2.14.1-1 [4996 B] Get:59 http://ftpmaster.internal/ubuntu/ trusty/universe ruby-shindo all 0.3.5-1 [13.5 kB] Get:60 http://ftpmaster.internal/ubuntu/ trusty/universe ruby-tilt all 1.4.1-1 [22.7 kB] Get:61 http://ftpmaster.internal/ubuntu/ trusty/universe ruby-sinatra all 1.4.3-1 [264 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 25.6 MB in 1s (12.9 MB/s) Selecting previously unselected package libexpat1:i386. (Reading database ... 12060 files and directories currently installed.) Unpacking libexpat1:i386 (from .../libexpat1_2.1.0-4_i386.deb) ... Selecting previously unselected package libmagic1:i386. Unpacking libmagic1:i386 (from .../libmagic1_5.11-2ubuntu4_i386.deb) ... Selecting previously unselected package libpython3.3-minimal:i386. Unpacking libpython3.3-minimal:i386 (from .../libpython3.3-minimal_3.3.2-7ubuntu4_i386.deb) ... Selecting previously unselected package mime-support. Unpacking mime-support (from .../mime-support_3.54ubuntu1_all.deb) ... Selecting previously unselected package libpython3.3-stdlib:i386. Unpacking libpython3.3-stdlib:i386 (from .../libpython3.3-stdlib_3.3.2-7ubuntu4_i386.deb) ... Selecting previously unselected package python3.3-minimal. Unpacking python3.3-minimal (from .../python3.3-minimal_3.3.2-7ubuntu4_i386.deb) ... Selecting previously unselected package libasprintf0c2:i386. Unpacking libasprintf0c2:i386 (from .../libasprintf0c2_0.18.3.1-1ubuntu1_i386.deb) ... Selecting previously unselected package libglib2.0-0:i386. Unpacking libglib2.0-0:i386 (from .../libglib2.0-0_2.38.1-1_i386.deb) ... Selecting previously unselected package libpipeline1:i386. Unpacking libpipeline1:i386 (from .../libpipeline1_1.2.4-1_i386.deb) ... Selecting previously unselected package libxml2:i386. Unpacking libxml2:i386 (from .../libxml2_2.9.1+dfsg1-3ubuntu2_i386.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.22.2-3_i386.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.5ubuntu1_i386.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.5-2_i386.deb) ... Selecting previously unselected package libcroco3:i386. Unpacking libcroco3:i386 (from .../libcroco3_0.6.8-2_i386.deb) ... Selecting previously unselected package libunistring0:i386. Unpacking libunistring0:i386 (from .../libunistring0_0.9.3-5ubuntu1_i386.deb) ... Selecting previously unselected package libyaml-0-2:i386. Unpacking libyaml-0-2:i386 (from .../libyaml-0-2_0.1.4-2build1_i386.deb) ... Selecting previously unselected package python3.3. Unpacking python3.3 (from .../python3.3_3.3.2-7ubuntu4_i386.deb) ... Selecting previously unselected package python3-minimal. Unpacking python3-minimal (from .../python3-minimal_3.3.2-14ubuntu1_i386.deb) ... Selecting previously unselected package libpython3-stdlib:i386. Unpacking libpython3-stdlib:i386 (from .../libpython3-stdlib_3.3.2-14ubuntu1_i386.deb) ... Selecting previously unselected package python3. Unpacking python3 (from .../python3_3.3.2-14ubuntu1_i386.deb) ... Selecting previously unselected package dh-python. Unpacking dh-python (from .../dh-python_1.20131003-1_all.deb) ... Selecting previously unselected package file. Unpacking file (from .../file_5.11-2ubuntu4_i386.deb) ... Selecting previously unselected package openssl. Unpacking openssl (from .../openssl_1.0.1e-3ubuntu1_i386.deb) ... Selecting previously unselected package ca-certificates. Unpacking ca-certificates (from .../ca-certificates_20130906_all.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.3.1-1ubuntu1_i386.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.3.1-1ubuntu1_i386.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2ubuntu1_all.deb) ... Selecting previously unselected package apparmor-easyprof. Unpacking apparmor-easyprof (from .../apparmor-easyprof_2.8.0-0ubuntu34_all.deb) ... Selecting previously unselected package dh-apparmor. Unpacking dh-apparmor (from .../dh-apparmor_2.8.0-0ubuntu34_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_9.20130921ubuntu1_all.deb) ... Selecting previously unselected package devscripts. Unpacking devscripts (from .../devscripts_2.13.4build1_i386.deb) ... Selecting previously unselected package libruby1.9.1. Unpacking libruby1.9.1 (from .../libruby1.9.1_1.9.3.194-8.1ubuntu2_i386.deb) ... Selecting previously unselected package ruby1.9.1. Unpacking ruby1.9.1 (from .../ruby1.9.1_1.9.3.194-8.1ubuntu2_i386.deb) ... Selecting previously unselected package ruby. Unpacking ruby (from .../ruby_1%3a1.9.3_all.deb) ... Selecting previously unselected package libjs-jquery. Unpacking libjs-jquery (from .../libjs-jquery_1.7.2+dfsg-2ubuntu1_all.deb) ... Selecting previously unselected package libruby2.0:i386. Unpacking libruby2.0:i386 (from .../libruby2.0_2.0.0.343-1_i386.deb) ... Selecting previously unselected package rubygems-integration. Unpacking rubygems-integration (from .../rubygems-integration_1.2_all.deb) ... Selecting previously unselected package ruby2.0. Unpacking ruby2.0 (from .../ruby2.0_2.0.0.343-1_i386.deb) ... Selecting previously unselected package ruby1.9.1-dev. Unpacking ruby1.9.1-dev (from .../ruby1.9.1-dev_1.9.3.194-8.1ubuntu2_i386.deb) ... Selecting previously unselected package ruby2.0-dev:i386. Unpacking ruby2.0-dev:i386 (from .../ruby2.0-dev_2.0.0.343-1_i386.deb) ... Selecting previously unselected package gem2deb. Unpacking gem2deb (from .../archives/gem2deb_0.5.0_all.deb) ... Selecting previously unselected package rake. Unpacking rake (from .../archives/rake_10.0.4-1_all.deb) ... Selecting previously unselected package ruby-i18n. Unpacking ruby-i18n (from .../ruby-i18n_0.6.4-1_all.deb) ... Selecting previously unselected package ruby-multi-json. Unpacking ruby-multi-json (from .../ruby-multi-json_1.8.0-1_all.deb) ... Selecting previously unselected package ruby-activesupport-3.2. Unpacking ruby-activesupport-3.2 (from .../ruby-activesupport-3.2_3.2.13-3_all.deb) ... Selecting previously unselected package ruby-chronic. Unpacking ruby-chronic (from .../ruby-chronic_0.9.1-1_all.deb) ... Selecting previously unselected package ruby-delorean. Unpacking ruby-delorean (from .../ruby-delorean_2.0.0-1_all.deb) ... Selecting previously unselected package ruby-diff-lcs. Unpacking ruby-diff-lcs (from .../ruby-diff-lcs_1.2.4-1_all.deb) ... Selecting previously unselected package ruby-eventmachine. Unpacking ruby-eventmachine (from .../ruby-eventmachine_1.0.3-3_i386.deb) ... Selecting previously unselected package ruby-formatador. Unpacking ruby-formatador (from .../ruby-formatador_0.2.1-1_all.deb) ... Selecting previously unselected package ruby-open4. Unpacking ruby-open4 (from .../ruby-open4_1.3.0-1_all.deb) ... Selecting previously unselected package ruby-rack. Unpacking ruby-rack (from .../ruby-rack_1.5.2-1_all.deb) ... Selecting previously unselected package ruby-rack-protection. Unpacking ruby-rack-protection (from .../ruby-rack-protection_1.5.1-1_all.deb) ... Selecting previously unselected package ruby-rspec-expectations. Unpacking ruby-rspec-expectations (from .../ruby-rspec-expectations_2.14.2-1_all.deb) ... Selecting previously unselected package ruby-rspec-mocks. Unpacking ruby-rspec-mocks (from .../ruby-rspec-mocks_2.14.3-1_all.deb) ... Selecting previously unselected package ruby-rspec-core. Unpacking ruby-rspec-core (from .../ruby-rspec-core_2.14.5-1_all.deb) ... Selecting previously unselected package ruby-rspec. Unpacking ruby-rspec (from .../ruby-rspec_2.14.1-1_all.deb) ... Selecting previously unselected package ruby-shindo. Unpacking ruby-shindo (from .../ruby-shindo_0.3.5-1_all.deb) ... Selecting previously unselected package ruby-tilt. Unpacking ruby-tilt (from .../ruby-tilt_1.4.1-1_all.deb) ... Selecting previously unselected package ruby-sinatra. Unpacking ruby-sinatra (from .../ruby-sinatra_1.4.3-1_all.deb) ... Setting up libexpat1:i386 (2.1.0-4) ... Setting up libmagic1:i386 (5.11-2ubuntu4) ... Setting up libpython3.3-minimal:i386 (3.3.2-7ubuntu4) ... Setting up mime-support (3.54ubuntu1) ... update-alternatives: using /usr/bin/see to provide /usr/bin/view (view) in auto mode Setting up libpython3.3-stdlib:i386 (3.3.2-7ubuntu4) ... Setting up python3.3-minimal (3.3.2-7ubuntu4) ... Setting up libasprintf0c2:i386 (0.18.3.1-1ubuntu1) ... Setting up libglib2.0-0:i386 (2.38.1-1) ... No schema files found: doing nothing. Setting up libpipeline1:i386 (1.2.4-1) ... Setting up libxml2:i386 (2.9.1+dfsg1-3ubuntu2) ... Setting up groff-base (1.22.2-3) ... Setting up bsdmainutils (9.0.5ubuntu1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up man-db (2.6.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libcroco3:i386 (0.6.8-2) ... Setting up libunistring0:i386 (0.9.3-5ubuntu1) ... Setting up libyaml-0-2:i386 (0.1.4-2build1) ... Setting up python3.3 (3.3.2-7ubuntu4) ... Setting up python3-minimal (3.3.2-14ubuntu1) ... Setting up libpython3-stdlib:i386 (3.3.2-14ubuntu1) ... Setting up file (5.11-2ubuntu4) ... Setting up openssl (1.0.1e-3ubuntu1) ... Setting up ca-certificates (20130906) ... Setting up gettext-base (0.18.3.1-1ubuntu1) ... Setting up gettext (0.18.3.1-1ubuntu1) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2ubuntu1) ... Setting up libruby1.9.1 (1.9.3.194-8.1ubuntu2) ... Setting up ruby1.9.1 (1.9.3.194-8.1ubuntu2) ... update-alternatives: using /usr/bin/gem1.9.1 to provide /usr/bin/gem (gem) in auto mode update-alternatives: using /usr/bin/ruby1.9.1 to provide /usr/bin/ruby (ruby) in auto mode Setting up ruby (1:1.9.3) ... Setting up libjs-jquery (1.7.2+dfsg-2ubuntu1) ... Setting up libruby2.0:i386 (2.0.0.343-1) ... Setting up rubygems-integration (1.2) ... Setting up ruby2.0 (2.0.0.343-1) ... Setting up ruby1.9.1-dev (1.9.3.194-8.1ubuntu2) ... Setting up ruby2.0-dev:i386 (2.0.0.343-1) ... Setting up rake (10.0.4-1) ... Setting up ruby-i18n (0.6.4-1) ... Setting up ruby-multi-json (1.8.0-1) ... Setting up ruby-activesupport-3.2 (3.2.13-3) ... Setting up ruby-chronic (0.9.1-1) ... Setting up ruby-delorean (2.0.0-1) ... Setting up ruby-diff-lcs (1.2.4-1) ... Setting up ruby-eventmachine (1.0.3-3) ... Setting up ruby-formatador (0.2.1-1) ... Setting up ruby-open4 (1.3.0-1) ... Setting up ruby-rack (1.5.2-1) ... Setting up ruby-rack-protection (1.5.1-1) ... Setting up ruby-rspec-expectations (2.14.2-1) ... Setting up ruby-rspec-mocks (2.14.3-1) ... Setting up ruby-rspec-core (2.14.5-1) ... Setting up ruby-rspec (2.14.1-1) ... Setting up ruby-shindo (0.3.5-1) ... Setting up ruby-tilt (1.4.1-1) ... Setting up ruby-sinatra (1.4.3-1) ... Setting up python3 (3.3.2-14ubuntu1) ... running python rtupdate hooks for python3.3... running python post-rtupdate hooks for python3.3... Setting up dh-python (1.20131003-1) ... Setting up apparmor-easyprof (2.8.0-0ubuntu34) ... Setting up dh-apparmor (2.8.0-0ubuntu34) ... Setting up debhelper (9.20130921ubuntu1) ... Setting up devscripts (2.13.4build1) ... Setting up gem2deb (0.5.0) ... Processing triggers for libc-bin ... Processing triggers for ca-certificates ... Updating certificates in /etc/ssl/certs... 164 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d....done. Checking correctness of source dependencies... Toolchain package versions: libc6-dev_2.17-93ubuntu4 make_3.81-8.2ubuntu3 dpkg-dev_1.17.1ubuntu1 gcc-4.8_4.8.2-1ubuntu2 g++-4.8_4.8.2-1ubuntu2 binutils_2.23.90.20131116-1ubuntu1 libstdc++-4.8-dev_4.8.2-1ubuntu2 libstdc++6_4.8.2-1ubuntu2 ------------------------------------------------------------------------------ dpkg-source: warning: -sn is not a valid option for Dpkg::Source::Package::V3::Quilt gpgv: Signature made Tue Nov 19 10:29:53 2013 UTC using DSA key ID D2A7232D gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./ruby-excon_0.28.0-1~ubuntu14.04.1~ppa1.dsc dpkg-source: info: extracting ruby-excon in ruby-excon-0.28.0 dpkg-source: info: unpacking ruby-excon_0.28.0.orig.tar.gz dpkg-source: info: unpacking ruby-excon_0.28.0-1~ubuntu14.04.1~ppa1.debian.tar.gz dpkg-source: info: applying 01_use_ca-certificates.patch dpkg-source: info: applying 03_remove_rubygems_bundler_add_requires_from_gemspec.patch dpkg-buildpackage: source package ruby-excon dpkg-buildpackage: source version 0.28.0-1~ubuntu14.04.1~ppa1 dpkg-buildpackage: source distribution trusty dpkg-source --before-build ruby-excon-0.28.0 dpkg-buildpackage: host architecture i386 /usr/bin/fakeroot debian/rules clean dh clean --buildsystem=ruby --with ruby dh_testdir -O--buildsystem=ruby dh_auto_clean -O--buildsystem=ruby /usr/lib/ruby/vendor_ruby/gem2deb.rb:17: warning: setting Encoding.default_external /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:31: warning: method redefined; discarding old visit_String /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:4: warning: previous definition of visit_String was here /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:39: warning: method redefined; discarding old register /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:12: warning: previous definition of register was here /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:43: warning: method redefined; discarding old format_time /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:16: warning: previous definition of format_time was here /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb:115: warning: method redefined; discarding old to_s /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb:44: warning: previous definition of to_s was here Entering dh_ruby --clean Leaving dh_ruby --clean dh_clean -O--buildsystem=ruby debian/rules build dh build --buildsystem=ruby --with ruby dh_testdir -O--buildsystem=ruby dh_auto_configure -O--buildsystem=ruby /usr/lib/ruby/vendor_ruby/gem2deb.rb:17: warning: setting Encoding.default_external dh_auto_build -O--buildsystem=ruby /usr/lib/ruby/vendor_ruby/gem2deb.rb:17: warning: setting Encoding.default_external dh_auto_test -O--buildsystem=ruby /usr/lib/ruby/vendor_ruby/gem2deb.rb:17: warning: setting Encoding.default_external /usr/bin/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 /usr/lib/ruby/vendor_ruby/gem2deb.rb:17: warning: setting Encoding.default_external /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:31: warning: method redefined; discarding old visit_String /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:4: warning: previous definition of visit_String was here /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:39: warning: method redefined; discarding old register /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:12: warning: previous definition of register was here /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:43: warning: method redefined; discarding old format_time /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:16: warning: previous definition of format_time was here /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb:115: warning: method redefined; discarding old to_s /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb:44: warning: previous definition of to_s was here Entering dh_ruby --install install -d /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/constants.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/constants.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/mock.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/middlewares/mock.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/decompress.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/middlewares/decompress.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/instrumentor.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/middlewares/instrumentor.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/redirect_follower.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/middlewares/redirect_follower.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/idempotent.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/middlewares/idempotent.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/expects.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/middlewares/expects.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/response_parser.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/middlewares/response_parser.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/base.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/middlewares/base.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/errors.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/errors.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/socket.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/socket.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/response.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/response.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/ssl_socket.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/ssl_socket.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/unix_socket.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/unix_socket.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/utils.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/utils.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/standard_instrumentor.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/standard_instrumentor.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon/connection.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon/connection.rb install -D -m644 /build/buildd/ruby-excon-0.28.0/lib/excon.rb /build/buildd/ruby-excon-0.28.0/debian/ruby-excon/usr/lib/ruby/vendor_ruby/excon.rb /usr/bin/ruby1.9.1 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb Excon request methods empty headers sent + Excon.post Excon bad server interaction bad server: causes EOFError with no content length and no chunking without a block response.body + returns "hello" with a block body from chunks + returns "hello" eof server: causes EOFError request + raises Excon::Errors::SocketError requests should succeed HEAD /content-length/100, GET /content-length/100 head body is empty + returns "" head content length is 100 + returns "100" get body is non-empty + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" get content length is 100 + returns "100" requests should succeed with tcp_nodelay GET /content-length/100 get content length is 100 + returns "100" Excon request methods one-offs Excon.get + returns "GET" Excon.post + returns "POST" Excon.delete + returns "DELETE" with a connection object connection.get + returns "GET" connection.post + returns "POST" connection.delete + returns "DELETE" not modifies path argument + returns "path" Excon response header support Response#get_header with variable header capitalization response.get_header("mixedcase-header") + returns "MixedCase" response.get_header("uppercase-header") + returns "UPPERCASE" response.get_header("lowercase-header") + returns "lowercase" when provided key capitalization varies response.get_header("MIXEDCASE-HEADER") + returns "MixedCase" response.get_header("MiXeDcAsE-hEaDeR") + returns "MixedCase" when header is unavailable response.get_header("missing") + returns nil Excon basics nonblock => false GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body nonblock => true GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body explicit uri passed to connection GET /content-length/100 + returns 200 Excon basics (Basic Auth Pass) nonblock => false GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body nonblock => true GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body Excon basics (Basic Auth Fail) response.status for correct user, no password + returns 401 response.status for correct user, wrong password + returns 401 response.status for wrong user, correct password + returns 401 Excon basics (ssl) nonblock => false GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body nonblock => true GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body Excon basics (ssl file) (focus) GET /content-length/100 + raises Excon::Errors::SocketError nonblock => false GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body - returns "5000000" Broken pipe (Errno::EPIPE) (Excon::Errors::SocketError) /usr/lib/ruby/1.9.1/openssl/buffering.rb:318:in `syswrite' /usr/lib/ruby/1.9.1/openssl/buffering.rb:318:in `do_write' /usr/lib/ruby/1.9.1/openssl/buffering.rb:336:in `write' /build/buildd/ruby-excon-0.28.0/lib/excon/socket.rb:116:in `block in write' /usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout' /build/buildd/ruby-excon-0.28.0/lib/excon/socket.rb:115:in `write' /build/buildd/ruby-excon-0.28.0/lib/excon/ssl_socket.rb:98:in `write' /build/buildd/ruby-excon-0.28.0/lib/excon/connection.rb:182:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/mock.rb:42:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/instrumentor.rb:22:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/base.rb:15:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/base.rb:15:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/base.rb:15:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/connection.rb:251:in `request' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:99:in `block (4 levels) in basic_tests' /usr/lib/ruby/vendor_ruby/shindo.rb:138:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:138:in `assert' /usr/lib/ruby/vendor_ruby/shindo.rb:110:in `returns' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:95:in `block (3 levels) in basic_tests' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `tests' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:93:in `block (2 levels) in basic_tests' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `tests' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:23:in `block in basic_tests' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:19:in `each' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:19:in `basic_tests' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:62:in `block (2 levels) in ' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:234:in `with_rackup' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:49:in `block in ' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `tests' /usr/lib/ruby/vendor_ruby/shindo.rb:37:in `initialize' /usr/lib/ruby/vendor_ruby/shindo.rb:13:in `new' /usr/lib/ruby/vendor_ruby/shindo.rb:13:in `tests' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:48:in `' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:61:in `load' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:61:in `block (2 levels) in run_in_thread' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:58:in `each' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:58:in `block in run_in_thread' empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body nonblock => true GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body Excon basics (ssl file paths) (focus) GET /content-length/100 + raises Excon::Errors::SocketError nonblock => false GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body - returns "5000000" Broken pipe (Errno::EPIPE) (Excon::Errors::SocketError) /usr/lib/ruby/1.9.1/openssl/buffering.rb:318:in `syswrite' /usr/lib/ruby/1.9.1/openssl/buffering.rb:318:in `do_write' /usr/lib/ruby/1.9.1/openssl/buffering.rb:336:in `write' /build/buildd/ruby-excon-0.28.0/lib/excon/socket.rb:116:in `block in write' /usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout' /build/buildd/ruby-excon-0.28.0/lib/excon/socket.rb:115:in `write' /build/buildd/ruby-excon-0.28.0/lib/excon/ssl_socket.rb:98:in `write' /build/buildd/ruby-excon-0.28.0/lib/excon/connection.rb:182:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/mock.rb:42:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/instrumentor.rb:22:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/base.rb:15:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/base.rb:15:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/base.rb:15:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/connection.rb:251:in `request' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:99:in `block (4 levels) in basic_tests' /usr/lib/ruby/vendor_ruby/shindo.rb:138:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:138:in `assert' /usr/lib/ruby/vendor_ruby/shindo.rb:110:in `returns' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:95:in `block (3 levels) in basic_tests' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `tests' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:93:in `block (2 levels) in basic_tests' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `tests' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:23:in `block in basic_tests' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:19:in `each' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:19:in `basic_tests' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:85:in `block (2 levels) in ' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:234:in `with_rackup' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:72:in `block in ' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `tests' /usr/lib/ruby/vendor_ruby/shindo.rb:37:in `initialize' /usr/lib/ruby/vendor_ruby/shindo.rb:13:in `new' /usr/lib/ruby/vendor_ruby/shindo.rb:13:in `tests' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:71:in `' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:61:in `load' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:61:in `block (2 levels) in run_in_thread' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:58:in `each' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:58:in `block in run_in_thread' empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body nonblock => true GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body Excon basics (ssl string) (focus) nonblock => false GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body nonblock => true GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body Excon basics (Unix socket) no implicit conversion from nil to integer (TypeError) /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:254:in `kill' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:254:in `ensure in with_unicorn' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:259:in `with_unicorn' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:106:in `block in ' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `tests' /usr/lib/ruby/vendor_ruby/shindo.rb:37:in `initialize' /usr/lib/ruby/vendor_ruby/shindo.rb:13:in `new' /usr/lib/ruby/vendor_ruby/shindo.rb:13:in `tests' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:102:in `' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:61:in `load' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:61:in `block (2 levels) in run_in_thread' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:58:in `each' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:58:in `block in run_in_thread' HTTPStatusError request/response debugging new raises errors for bad URIs + returns true message does not include response or response info + returns true message includes only response info + returns true message includes only request info + returns true message include request and response info + returns true Excon decompression support deflate + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" gzip + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" Excon redirector support request(:method => :get, :path => '/old').body + returns "new" Excon instrumentation basic notification + returns ["excon.request", "excon.response"] captures scheme, host, port, and path + returns [:host, :path, :port, :scheme] params in request overwrite those in constructor + returns "/cheezburger" notify on retry + returns 3 notify on error + raises Excon::Errors::SocketError + returns true filtering + raises Excon::Errors::SocketError + returns ["excon.request", "excon.error"] more filtering + raises Excon::Errors::SocketError + returns ["excon.retry", "excon.retry", "excon.retry"] indicates duration + returns true standard instrumentor success + raises Excon::Errors::SocketError + returns ["excon.request", "excon.retry", "excon.retry", "excon.retry", "excon.error"] authorization header REDACT + raises Excon::Errors::SocketError + does not appear in response + does not mutate Authorization value password REDACT + raises Excon::Errors::SocketError + does not appear in response + does not mutate password value use our own instrumentor + raises Excon::Errors::SocketError + returns ["excon.request", "excon.retry", "excon.retry", "excon.retry", "excon.error"] does not generate events when not provided + returns 0 allows setting the prefix + raises Excon::Errors::SocketError + returns ["gug.request", "gug.retry", "gug.retry", "gug.retry", "gug.error"] allows setting the prefix when not idempotent (foo) + raises Excon::Errors::SocketError + returns ["gug.request", "gug.error"] works unmocked + returns ["excon.request", "excon.response"] Excon stubs missing stub + raises Excon::Errors::StubNotFound stub({}) + raises ArgumentError stub({}, {}) {} + raises ArgumentError stub({:method => :get}, {:body => 'body', :status => 200}) response.body + returns "body" response.headers + returns {} response.status + returns 200 request body with response_block given + returns "body" stub({:path => %r{/tests/(S+)}}, {:body => $1, :status => 200}) response.body + returns "test" response.headers + returns {} response.status + returns 200 stub({:body => 'body', :method => :get}) {|params| {:body => params[:body], :headers => params[:headers], :status => 200}} response.body + returns "body" response.headers + returns {"Host"=>"127.0.0.1:9292", "User-Agent"=>"excon/0.28.0"} response.status + returns 200 request body with response block given + returns "body" stub({:body => File.open(...), :method => :get}, { :status => 200 }) response.status mismatched stub + raises Excon::Errors::StubNotFound stub({}, {:body => 'x' * (Excon::DEFAULT_CHUNK_SIZE + 1)}) + with response_block stub({:url => 'https://user:pass@foo.bar.com:9999/baz?quux=true'}, {:status => 200}) get(:expects => 200) stub({}, {:status => 404, :body => 'Not Found'} request(:expects => 200, :method => :get, :path => '/') + raises Excon::Errors::NotFound Expects exception should contain response object + returns Excon::Response + request(:expects => 200, :method => :get, :path => '/') with block does not invoke the block since it raises an error stub_for({}) stub_for({}) + returns [{}, {}] unstub({}) unstub({}) + returns [{}, {}] request(:method => :get) + raises Excon::Errors::StubNotFound mock = false nonblock => false GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body nonblock => true GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body Excon request idempotencey Non-idempotent call with an erroring socket + raises Excon::Errors::SocketError Idempotent request with socket erroring first 3 times + returns 200 Idempotent request with socket erroring first 5 times + raises Excon::Errors::SocketError Lowered retry limit with socket erroring first time + returns 200 Lowered retry limit with socket erroring first 3 times + raises Excon::Errors::SocketError Raised retry limit with socket erroring first 5 times + returns 200 Raised retry limit with socket erroring first 9 times + raises Excon::Errors::SocketError Retry limit in constructor with socket erroring first 5 times + returns 200 Excon thread safety + long_thread + short_thread Excon query string variants :query => {:foo => 'bar'} query string sent + returns "foo=bar" :query => {:foo => nil} query string sent + returns "foo" :query => {:foo => 'bar', :me => nil} + query string sent includes 'foo=bar' + query string sent includes 'me' :query => {:foo => 'bar', :me => 'too'} + query string sent includes 'foo=bar' + query string sent includes 'me=too' Excon proxy support proxy configuration no proxy connection.data[:proxy] + returns nil with fully-specified proxy: https://myproxy.net:8080 connection.data[:proxy][:host] + returns "myproxy.net" connection.data[:proxy][:port] + returns 8080 connection.data[:proxy][:scheme] + returns "https" with complete proxy config from the environment lowercase an http connection connection.data[:proxy][:host] + returns "myproxy" connection.data[:proxy][:port] + returns 8080 connection.data[:proxy][:scheme] + returns "http" an https connection connection.data[:proxy][:host] + returns "mysecureproxy" connection.data[:proxy][:port] + returns 8081 connection.data[:proxy][:scheme] + returns "http" http proxy from the environment overrides config connection.data[:proxy][:host] + returns "myproxy" connection.data[:proxy][:port] + returns 8080 an http connection in no_proxy connection.data[:proxy] + returns nil an http connection not completely matching no_proxy connection.data[:proxy][:host] + returns "myproxy" an http connection with subdomain in no_proxy connection.data[:proxy] + returns nil uppercase an http connection connection.data[:proxy][:host] + returns "myproxy" connection.data[:proxy][:port] + returns 8080 connection.data[:proxy][:scheme] + returns "http" an https connection connection.data[:proxy][:host] + returns "mysecureproxy" connection.data[:proxy][:port] + returns 8081 connection.data[:proxy][:scheme] + returns "http" http proxy from the environment overrides config connection.data[:proxy][:host] + returns "myproxy" connection.data[:proxy][:port] + returns 8080 an http connection in no_proxy connection.data[:proxy] + returns nil an http connection not completely matching no_proxy connection.data[:proxy][:host] + returns "myproxy" an http connection with subdomain in no_proxy connection.data[:proxy] + returns nil with only http_proxy config from the environment an https connection connection.data[:proxy][:host] + returns "myproxy" connection.data[:proxy][:port] + returns 8080 connection.data[:proxy][:scheme] + returns "http" http proxying: http://foo.com:8080 response.status + returns 200 sent Request URI + returns "http://foo.com:8080/bar?alpha=kappa" sent Sent-Host header + returns "foo.com:8080" sent Proxy-Connection header + returns "Keep-Alive" response.body (proxied content) + returns "proxied content" http proxying: http://user:pass@foo.com:8080 response.status + returns 200 sent Request URI + returns "http://foo.com:8080/bar?alpha=kappa" sent Host header + returns "foo.com:8080" sent Proxy-Connection header + returns "Keep-Alive" response.body (proxied content) + returns "proxied content" read should timeout nonblock => false hits read_timeout + raises Excon::Errors::Timeout nonblock => true hits read_timeout + raises Excon::Errors::Timeout Excon basics (Authorization data redacted) + authorization header concealed for user & pass + authorization header remains correct for user & pass + password param concealed for user & pass + password param remains correct for user & pass + authorization header concealed for email & pass + authorization header remains correct for email & pass + password param concealed for email & pass + password param remains correct for email & pass + authorization header concealed for user no pass + authorization header remains correct for user no pass + password param remains correct for user no pass + authorization header concealed for pass no user + authorization header remains correct for pass no user + password param concealed for pass no user + password param remains correct for pass no user Excon::Utils #connection_uri using UNIX scheme + returns "unix:///tmp/some.sock" using HTTP scheme with default port + returns "http://foo.com:80" without default port + returns "http://foo.com" #request_uri using UNIX scheme without query + returns "unix:///tmp/some.sock/some/path" with query + returns "unix:///tmp/some.sock/some/path?bar=that&foo=this" using HTTP scheme without query + returns "http://foo.com:80/some/path" with query + returns "http://foo.com:80/some/path?bar=that&foo=this" 2 failed, 470 succeeded in 24.604239902 seconds /usr/bin/ruby2.0 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb Excon request methods empty headers sent + Excon.post Excon bad server interaction bad server: causes EOFError with no content length and no chunking without a block response.body + returns "hello" with a block body from chunks + returns "hello" eof server: causes EOFError request + raises Excon::Errors::SocketError requests should succeed HEAD /content-length/100, GET /content-length/100 head body is empty + returns "" head content length is 100 + returns "100" get body is non-empty + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" get content length is 100 + returns "100" requests should succeed with tcp_nodelay GET /content-length/100 get content length is 100 + returns "100" Excon request methods one-offs Excon.get + returns "GET" Excon.post + returns "POST" Excon.delete + returns "DELETE" with a connection object connection.get + returns "GET" connection.post + returns "POST" connection.delete + returns "DELETE" not modifies path argument + returns "path" Excon response header support Response#get_header with variable header capitalization response.get_header("mixedcase-header") + returns "MixedCase" response.get_header("uppercase-header") + returns "UPPERCASE" response.get_header("lowercase-header") + returns "lowercase" when provided key capitalization varies response.get_header("MIXEDCASE-HEADER") + returns "MixedCase" response.get_header("MiXeDcAsE-hEaDeR") + returns "MixedCase" when header is unavailable response.get_header("missing") + returns nil Excon basics nonblock => false GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body nonblock => true GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body explicit uri passed to connection GET /content-length/100 + returns 200 Excon basics (Basic Auth Pass) nonblock => false GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body nonblock => true GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body Excon basics (Basic Auth Fail) response.status for correct user, no password + returns 401 response.status for correct user, wrong password + returns 401 response.status for wrong user, correct password + returns 401 Excon basics (ssl) nonblock => false GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body nonblock => true GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body Excon basics (ssl file) (focus) GET /content-length/100 + raises Excon::Errors::SocketError nonblock => false GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body - returns "5000000" Broken pipe (Errno::EPIPE) (Excon::Errors::SocketError) /usr/lib/ruby/1.9.1/openssl/buffering.rb:318:in `syswrite' /usr/lib/ruby/1.9.1/openssl/buffering.rb:318:in `do_write' /usr/lib/ruby/1.9.1/openssl/buffering.rb:336:in `write' /build/buildd/ruby-excon-0.28.0/lib/excon/socket.rb:116:in `block in write' /usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout' /build/buildd/ruby-excon-0.28.0/lib/excon/socket.rb:115:in `write' /build/buildd/ruby-excon-0.28.0/lib/excon/ssl_socket.rb:98:in `write' /build/buildd/ruby-excon-0.28.0/lib/excon/connection.rb:182:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/mock.rb:42:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/instrumentor.rb:22:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/base.rb:15:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/base.rb:15:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/base.rb:15:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/connection.rb:251:in `request' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:99:in `block (4 levels) in basic_tests' /usr/lib/ruby/vendor_ruby/shindo.rb:138:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:138:in `assert' /usr/lib/ruby/vendor_ruby/shindo.rb:110:in `returns' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:95:in `block (3 levels) in basic_tests' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `tests' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:93:in `block (2 levels) in basic_tests' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `tests' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:23:in `block in basic_tests' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:19:in `each' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:19:in `basic_tests' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:62:in `block (2 levels) in ' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:234:in `with_rackup' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:49:in `block in ' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `tests' /usr/lib/ruby/vendor_ruby/shindo.rb:37:in `initialize' /usr/lib/ruby/vendor_ruby/shindo.rb:13:in `new' /usr/lib/ruby/vendor_ruby/shindo.rb:13:in `tests' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:48:in `' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:61:in `load' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:61:in `block (2 levels) in run_in_thread' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:58:in `each' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:58:in `block in run_in_thread' empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body nonblock => true GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body Excon basics (ssl file paths) (focus) GET /content-length/100 + raises Excon::Errors::SocketError nonblock => false GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body - returns "5000000" Broken pipe (Errno::EPIPE) (Excon::Errors::SocketError) /usr/lib/ruby/1.9.1/openssl/buffering.rb:318:in `syswrite' /usr/lib/ruby/1.9.1/openssl/buffering.rb:318:in `do_write' /usr/lib/ruby/1.9.1/openssl/buffering.rb:336:in `write' /build/buildd/ruby-excon-0.28.0/lib/excon/socket.rb:116:in `block in write' /usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout' /build/buildd/ruby-excon-0.28.0/lib/excon/socket.rb:115:in `write' /build/buildd/ruby-excon-0.28.0/lib/excon/ssl_socket.rb:98:in `write' /build/buildd/ruby-excon-0.28.0/lib/excon/connection.rb:182:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/mock.rb:42:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/instrumentor.rb:22:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/base.rb:15:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/base.rb:15:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/middlewares/base.rb:15:in `request_call' /build/buildd/ruby-excon-0.28.0/lib/excon/connection.rb:251:in `request' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:99:in `block (4 levels) in basic_tests' /usr/lib/ruby/vendor_ruby/shindo.rb:138:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:138:in `assert' /usr/lib/ruby/vendor_ruby/shindo.rb:110:in `returns' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:95:in `block (3 levels) in basic_tests' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `tests' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:93:in `block (2 levels) in basic_tests' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `tests' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:23:in `block in basic_tests' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:19:in `each' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:19:in `basic_tests' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:85:in `block (2 levels) in ' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:234:in `with_rackup' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:72:in `block in ' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `tests' /usr/lib/ruby/vendor_ruby/shindo.rb:37:in `initialize' /usr/lib/ruby/vendor_ruby/shindo.rb:13:in `new' /usr/lib/ruby/vendor_ruby/shindo.rb:13:in `tests' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:71:in `' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:61:in `load' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:61:in `block (2 levels) in run_in_thread' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:58:in `each' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:58:in `block in run_in_thread' empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body nonblock => true GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body Excon basics (ssl string) (focus) nonblock => false GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body nonblock => true GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body Excon basics (Unix socket) no implicit conversion from nil to integer (TypeError) /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:254:in `kill' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:254:in `ensure in with_unicorn' /build/buildd/ruby-excon-0.28.0/tests/test_helper.rb:259:in `with_unicorn' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:106:in `block in ' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `instance_eval' /usr/lib/ruby/vendor_ruby/shindo.rb:78:in `tests' /usr/lib/ruby/vendor_ruby/shindo.rb:37:in `initialize' /usr/lib/ruby/vendor_ruby/shindo.rb:13:in `new' /usr/lib/ruby/vendor_ruby/shindo.rb:13:in `tests' /build/buildd/ruby-excon-0.28.0/tests/basic_tests.rb:102:in `' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:61:in `load' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:61:in `block (2 levels) in run_in_thread' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:58:in `each' /usr/lib/ruby/vendor_ruby/shindo/bin.rb:58:in `block in run_in_thread' HTTPStatusError request/response debugging new raises errors for bad URIs + returns true message does not include response or response info + returns true message includes only response info + returns true message includes only request info + returns true message include request and response info + returns true Excon decompression support deflate + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" gzip + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" Excon redirector support request(:method => :get, :path => '/old').body + returns "new" Excon instrumentation basic notification + returns ["excon.request", "excon.response"] captures scheme, host, port, and path + returns [:host, :path, :port, :scheme] params in request overwrite those in constructor + returns "/cheezburger" notify on retry + returns 3 notify on error + raises Excon::Errors::SocketError + returns true filtering + raises Excon::Errors::SocketError + returns ["excon.request", "excon.error"] more filtering + raises Excon::Errors::SocketError + returns ["excon.retry", "excon.retry", "excon.retry"] indicates duration + returns true standard instrumentor success + raises Excon::Errors::SocketError + returns ["excon.request", "excon.retry", "excon.retry", "excon.retry", "excon.error"] authorization header REDACT + raises Excon::Errors::SocketError + does not appear in response + does not mutate Authorization value password REDACT + raises Excon::Errors::SocketError + does not appear in response + does not mutate password value use our own instrumentor + raises Excon::Errors::SocketError + returns ["excon.request", "excon.retry", "excon.retry", "excon.retry", "excon.error"] does not generate events when not provided + returns 0 allows setting the prefix + raises Excon::Errors::SocketError + returns ["gug.request", "gug.retry", "gug.retry", "gug.retry", "gug.error"] allows setting the prefix when not idempotent (foo) + raises Excon::Errors::SocketError + returns ["gug.request", "gug.error"] works unmocked + returns ["excon.request", "excon.response"] Excon stubs missing stub + raises Excon::Errors::StubNotFound stub({}) + raises ArgumentError stub({}, {}) {} + raises ArgumentError stub({:method => :get}, {:body => 'body', :status => 200}) response.body + returns "body" response.headers + returns {} response.status + returns 200 request body with response_block given + returns "body" stub({:path => %r{/tests/(S+)}}, {:body => $1, :status => 200}) response.body + returns "test" response.headers + returns {} response.status + returns 200 stub({:body => 'body', :method => :get}) {|params| {:body => params[:body], :headers => params[:headers], :status => 200}} response.body + returns "body" response.headers + returns {"Host"=>"127.0.0.1:9292", "User-Agent"=>"excon/0.28.0"} response.status + returns 200 request body with response block given + returns "body" stub({:body => File.open(...), :method => :get}, { :status => 200 }) response.status mismatched stub + raises Excon::Errors::StubNotFound stub({}, {:body => 'x' * (Excon::DEFAULT_CHUNK_SIZE + 1)}) + with response_block stub({:url => 'https://user:pass@foo.bar.com:9999/baz?quux=true'}, {:status => 200}) get(:expects => 200) stub({}, {:status => 404, :body => 'Not Found'} request(:expects => 200, :method => :get, :path => '/') + raises Excon::Errors::NotFound Expects exception should contain response object + returns Excon::Response + request(:expects => 200, :method => :get, :path => '/') with block does not invoke the block since it raises an error stub_for({}) stub_for({}) + returns [{}, {}] unstub({}) unstub({}) + returns [{}, {}] request(:method => :get) + raises Excon::Errors::StubNotFound mock = false nonblock => false GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body nonblock => true GET /content-length/100 response.status + returns 200 response[:status] + returns 200 response.headers['Connection'] + returns "Keep-Alive" response.headers['Content-Length'] + returns "100" response.headers['Content-Type'] + returns "text/html;charset=utf-8" + Time.parse(response.headers['Date']).is_a?(Time) + !!(response.headers['Server'] =~ /^WEBrick/) response.headers['Custom'] + returns "Foo: bar" response.remote_ip + returns "127.0.0.1" response.body + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" deprecated block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] response_block usage + returns ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 0, 100] POST /body-sink response.body + returns "5000000" empty body + returns "0" POST /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body PUT /echo with file + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" without request_block + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" request_block usage + returns "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" with multi-byte strings + properly concatenates request+headers and body Excon request idempotencey Non-idempotent call with an erroring socket + raises Excon::Errors::SocketError Idempotent request with socket erroring first 3 times + returns 200 Idempotent request with socket erroring first 5 times + raises Excon::Errors::SocketError Lowered retry limit with socket erroring first time + returns 200 Lowered retry limit with socket erroring first 3 times + raises Excon::Errors::SocketError Raised retry limit with socket erroring first 5 times + returns 200 Raised retry limit with socket erroring first 9 times + raises Excon::Errors::SocketError Retry limit in constructor with socket erroring first 5 times + returns 200 Excon thread safety + long_thread + short_thread Excon query string variants :query => {:foo => 'bar'} query string sent + returns "foo=bar" :query => {:foo => nil} query string sent + returns "foo" :query => {:foo => 'bar', :me => nil} + query string sent includes 'foo=bar' + query string sent includes 'me' :query => {:foo => 'bar', :me => 'too'} + query string sent includes 'foo=bar' + query string sent includes 'me=too' Excon proxy support proxy configuration no proxy connection.data[:proxy] + returns nil with fully-specified proxy: https://myproxy.net:8080 connection.data[:proxy][:host] + returns "myproxy.net" connection.data[:proxy][:port] + returns 8080 connection.data[:proxy][:scheme] + returns "https" with complete proxy config from the environment lowercase an http connection connection.data[:proxy][:host] + returns "myproxy" connection.data[:proxy][:port] + returns 8080 connection.data[:proxy][:scheme] + returns "http" an https connection connection.data[:proxy][:host] + returns "mysecureproxy" connection.data[:proxy][:port] + returns 8081 connection.data[:proxy][:scheme] + returns "http" http proxy from the environment overrides config connection.data[:proxy][:host] + returns "myproxy" connection.data[:proxy][:port] + returns 8080 an http connection in no_proxy connection.data[:proxy] + returns nil an http connection not completely matching no_proxy connection.data[:proxy][:host] + returns "myproxy" an http connection with subdomain in no_proxy connection.data[:proxy] + returns nil uppercase an http connection connection.data[:proxy][:host] + returns "myproxy" connection.data[:proxy][:port] + returns 8080 connection.data[:proxy][:scheme] + returns "http" an https connection connection.data[:proxy][:host] + returns "mysecureproxy" connection.data[:proxy][:port] + returns 8081 connection.data[:proxy][:scheme] + returns "http" http proxy from the environment overrides config connection.data[:proxy][:host] + returns "myproxy" connection.data[:proxy][:port] + returns 8080 an http connection in no_proxy connection.data[:proxy] + returns nil an http connection not completely matching no_proxy connection.data[:proxy][:host] + returns "myproxy" an http connection with subdomain in no_proxy connection.data[:proxy] + returns nil with only http_proxy config from the environment an https connection connection.data[:proxy][:host] + returns "myproxy" connection.data[:proxy][:port] + returns 8080 connection.data[:proxy][:scheme] + returns "http" http proxying: http://foo.com:8080 response.status + returns 200 sent Request URI + returns "http://foo.com:8080/bar?alpha=kappa" sent Sent-Host header + returns "foo.com:8080" sent Proxy-Connection header + returns "Keep-Alive" response.body (proxied content) + returns "proxied content" http proxying: http://user:pass@foo.com:8080 response.status + returns 200 sent Request URI + returns "http://foo.com:8080/bar?alpha=kappa" sent Host header + returns "foo.com:8080" sent Proxy-Connection header + returns "Keep-Alive" response.body (proxied content) + returns "proxied content" read should timeout nonblock => false hits read_timeout + raises Excon::Errors::Timeout nonblock => true hits read_timeout + raises Excon::Errors::Timeout Excon basics (Authorization data redacted) + authorization header concealed for user & pass + authorization header remains correct for user & pass + password param concealed for user & pass + password param remains correct for user & pass + authorization header concealed for email & pass + authorization header remains correct for email & pass + password param concealed for email & pass + password param remains correct for email & pass + authorization header concealed for user no pass + authorization header remains correct for user no pass + password param remains correct for user no pass + authorization header concealed for pass no user + authorization header remains correct for pass no user + password param concealed for pass no user + password param remains correct for pass no user Excon::Utils #connection_uri using UNIX scheme + returns "unix:///tmp/some.sock" using HTTP scheme with default port + returns "http://foo.com:80" without default port + returns "http://foo.com" #request_uri using UNIX scheme without query + returns "unix:///tmp/some.sock/some/path" with query + returns "unix:///tmp/some.sock/some/path?bar=that&foo=this" using HTTP scheme without query + returns "http://foo.com:80/some/path" with query + returns "http://foo.com:80/some/path?bar=that&foo=this" 2 failed, 470 succeeded in 24.548718079 seconds Leaving dh_ruby --install dh_installdocs -O--buildsystem=ruby dh_installchangelogs -O--buildsystem=ruby dh_perl -O--buildsystem=ruby dh_link -O--buildsystem=ruby dh_compress -X.rb -O--buildsystem=ruby dh_fixperms -O--buildsystem=ruby dh_installdeb -O--buildsystem=ruby dh_gencontrol -O--buildsystem=ruby dpkg-gencontrol: warning: Depends field of package ruby-excon: unknown substitution variable ${shlibs:Depends} dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dh_md5sums -O--buildsystem=ruby dh_builddeb -O--buildsystem=ruby INFO: pkgstriptranslations version 118 INFO: Disabling pkgstriptranslations for PPA build INFO: Disabling pkgmaintainermangler for PPA build INFO: Disabling pkgstripfiles for PPA build dpkg-deb: warning: 'debian/ruby-excon/DEBIAN/control' contains user-defined field 'Ruby-Versions' dpkg-deb: warning: ignoring 1 warning about the control file(s) dpkg-deb: building package `ruby-excon' in `../ruby-excon_0.28.0-1~ubuntu14.04.1~ppa1_all.deb'. dpkg-genchanges -b -mUbuntu Build Daemon >../ruby-excon_0.28.0-1~ubuntu14.04.1~ppa1_i386.changes dpkg-genchanges: warning: the current version (0.28.0-1~ubuntu14.04.1~ppa1) is earlier than the previous one (0.28.0-1) dpkg-genchanges: binary-only upload - not including any source code dpkg-source --after-build ruby-excon-0.28.0 dpkg-buildpackage: binary only upload (no source included) ****************************************************************************** Build finished at 20131119-1057 chroot-autobuild/build/buildd/ruby-excon_0.28.0-1~ubuntu14.04.1~ppa1_all.deb: new debian package, version 2.0. size 22210 bytes: control archive= 1333 bytes. 682 bytes, 17 lines control 1934 bytes, 23 lines md5sums Package: ruby-excon Version: 0.28.0-1~ubuntu14.04.1~ppa1 Architecture: all Maintainer: Debian Ruby Extras Maintainers Installed-Size: 135 Depends: ruby | ruby-interpreter Recommends: ca-certificates Section: ruby Priority: optional Homepage: https://github.com/geemus/excon Description: Ruby library for creating fast, persistent, HTTP(S) connections Ruby library for creating fast HTTP(S) connections, it supports: * GET/POST/PUT/DELETE/HEAD/TRACE/OPTIONS/CONNECT methods via HTTP/1.1 * HTTPS (SSL) connections * Proxy and keep-alive connections * Multitreading and streaming download Ruby-Versions: ruby1.9.1 ruby2.0 chroot-autobuild/build/buildd/ruby-excon_0.28.0-1~ubuntu14.04.1~ppa1_all.deb: dpkg-deb: file `chroot-autobuild/build/buildd/ruby-excon_0.28.0-1~ubuntu14.04.1~ppa1_all.deb' contains ununderstood data member data.tar.xz , giving up ruby-excon_0.28.0-1~ubuntu14.04.1~ppa1_i386.changes: Format: 1.8 Date: Tue, 19 Nov 2013 10:28:18 +0000 Source: ruby-excon Binary: ruby-excon Architecture: all Version: 0.28.0-1~ubuntu14.04.1~ppa1 Distribution: trusty Urgency: low Maintainer: Ubuntu Build Daemon Changed-By: Neil Wilson Description: ruby-excon - Ruby library for creating fast, persistent, HTTP(S) connections Changes: ruby-excon (0.28.0-1~ubuntu14.04.1~ppa1) trusty; urgency=low . * No-change backport to trusty Checksums-Sha1: 1771161bc0fe4f87876533c96be9a24aadd2161e 22210 ruby-excon_0.28.0-1~ubuntu14.04.1~ppa1_all.deb Checksums-Sha256: 830ca7a8502dc67afd27fd965e3a0e03a5709854e0fa7c78c9fa37b06d891842 22210 ruby-excon_0.28.0-1~ubuntu14.04.1~ppa1_all.deb Files: 44d5eaacb392584314c4df7957dcc49c 22210 ruby optional ruby-excon_0.28.0-1~ubuntu14.04.1~ppa1_all.deb ****************************************************************************** Built successfully ****************************************************************************** Finished at 20131119-1057 Build needed 00:00:54, 1060k disk space RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['scan-for-processes', 'PACKAGEBUILD-5244489'] Scanning for processes to kill in build /home/buildd/build-PACKAGEBUILD-5244489/chroot-autobuild... RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', 'PACKAGEBUILD-5244489'] Unmounting chroot for build PACKAGEBUILD-5244489... RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', 'PACKAGEBUILD-5244489'] Removing build PACKAGEBUILD-5244489