Reading package lists... Building dependency tree... Reading state information... NOTICE: 'node-oauth' packaging is maintained in the 'Git' version control system at: git://git.debian.org/pkg-javascript/node-oauth.git Need to get 29.8 kB of source archives. Get:1 http://urika:3142/ftp.debian.org/debian/ sid/main node-oauth 0.9.11-1 (dsc) [2,000 B] Get:2 http://urika:3142/ftp.debian.org/debian/ sid/main node-oauth 0.9.11-1 (tar) [24.9 kB] Get:3 http://urika:3142/ftp.debian.org/debian/ sid/main node-oauth 0.9.11-1 (diff) [2,876 B] gpgv: keyblock resource `/tmp/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Fri 24 Oct 2014 09:11:38 AM UTC using RSA key ID 864CC8BF gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./node-oauth_0.9.11-1.dsc dpkg-source: info: extracting node-oauth in node-oauth-0.9.11 dpkg-source: info: unpacking node-oauth_0.9.11.orig.tar.gz dpkg-source: info: unpacking node-oauth_0.9.11-1.debian.tar.xz Fetched 29.8 kB in 0s (0 B/s) Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: bsdmainutils debhelper file gettext gettext-base groff-base intltool-debian libasprintf0v5 libc-ares2 libcroco3 libffi6 libglib2.0-0 libicu55 libjs-inherits libmagic1 libpipeline1 libunistring0 libv8-3.14.5 libxml2 man-db node-diff node-eyes node-glob node-inherits node-lru-cache node-minimatch node-once node-sigmund node-vows nodejs po-debconf 0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded. Need to get 19.0 MB of archives. After this operation, 66.7 MB of additional disk space will be used. Get:1 http://urika:3142/ftp.debian.org/debian/ sid/main libasprintf0v5 amd64 0.19.5.1-1 [32.2 kB] Get:2 http://urika:3142/ftp.debian.org/debian/ sid/main libmagic1 amd64 1:5.22+15-2 [249 kB] Get:3 http://urika:3142/ftp.debian.org/debian/ sid/main groff-base amd64 1.22.3-1 [1,205 kB] Get:4 http://urika:3142/ftp.debian.org/debian/ sid/main bsdmainutils amd64 9.0.6 [183 kB] Get:5 http://urika:3142/ftp.debian.org/debian/ sid/main libpipeline1 amd64 1.4.1-1 [27.8 kB] Get:6 http://urika:3142/ftp.debian.org/debian/ sid/main man-db amd64 2.7.2-1 [1,000 kB] Get:7 http://urika:3142/ftp.debian.org/debian/ sid/main libffi6 amd64 3.2.1-3 [20.1 kB] Get:8 http://urika:3142/ftp.debian.org/debian/ sid/main libglib2.0-0 amd64 2.44.1-1.1 [2,461 kB] Get:9 http://urika:3142/ftp.debian.org/debian/ sid/main libicu55 amd64 55.1-4 [7,655 kB] Get:10 http://urika:3142/ftp.debian.org/debian/ sid/main libxml2 amd64 2.9.2+really2.9.1+dfsg1-0.1 [905 kB] Get:11 http://urika:3142/ftp.debian.org/debian/ sid/main libcroco3 amd64 0.6.8-3+b1 [135 kB] Get:12 http://urika:3142/ftp.debian.org/debian/ sid/main libunistring0 amd64 0.9.3-5.2+b1 [288 kB] Get:13 http://urika:3142/ftp.debian.org/debian/ sid/main libc-ares2 amd64 1.10.0-2 [76.7 kB] Get:14 http://urika:3142/ftp.debian.org/debian/ sid/main file amd64 1:5.22+15-2 [60.1 kB] Get:15 http://urika:3142/ftp.debian.org/debian/ sid/main gettext-base amd64 0.19.5.1-1 [122 kB] Get:16 http://urika:3142/ftp.debian.org/debian/ sid/main gettext amd64 0.19.5.1-1 [1,459 kB] Get:17 http://urika:3142/ftp.debian.org/debian/ sid/main intltool-debian all 0.35.0+20060710.2 [25.9 kB] Get:18 http://urika:3142/ftp.debian.org/debian/ sid/main po-debconf all 1.0.18 [248 kB] Get:19 http://urika:3142/ftp.debian.org/debian/ sid/main debhelper all 9.20150811 [817 kB] Get:20 http://urika:3142/ftp.debian.org/debian/ sid/main libv8-3.14.5 amd64 3.14.5.8-10 [1,254 kB] Get:21 http://urika:3142/ftp.debian.org/debian/ sid/main nodejs amd64 0.10.38~dfsg-1 [660 kB] Get:22 http://urika:3142/ftp.debian.org/debian/ sid/main node-diff all 1.4.0~dfsg-1 [14.8 kB] Get:23 http://urika:3142/ftp.debian.org/debian/ sid/main node-eyes all 0.1.8-1 [9,602 B] Get:24 http://urika:3142/ftp.debian.org/debian/ sid/main node-lru-cache all 2.3.1-1 [5,344 B] Get:25 http://urika:3142/ftp.debian.org/debian/ sid/main node-sigmund all 1.0.0-1 [3,750 B] Get:26 http://urika:3142/ftp.debian.org/debian/ sid/main node-minimatch all 1.0.0-1 [13.9 kB] Get:27 http://urika:3142/ftp.debian.org/debian/ sid/main libjs-inherits all 2.0.1-3 [2,682 B] Get:28 http://urika:3142/ftp.debian.org/debian/ sid/main node-inherits all 2.0.1-3 [3,568 B] Get:29 http://urika:3142/ftp.debian.org/debian/ sid/main node-once all 1.1.1-1 [2,552 B] Get:30 http://urika:3142/ftp.debian.org/debian/ sid/main node-glob all 4.0.5-1 [13.1 kB] Get:31 http://urika:3142/ftp.debian.org/debian/ sid/main node-vows all 0.8.1-2 [52.5 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 19.0 MB in 0s (52.9 MB/s) Selecting previously unselected package libasprintf0v5:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 15325 files and directories currently installed.) Preparing to unpack .../libasprintf0v5_0.19.5.1-1_amd64.deb ... Unpacking libasprintf0v5:amd64 (0.19.5.1-1) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../libmagic1_1%3a5.22+15-2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.22+15-2) ... Selecting previously unselected package groff-base. Preparing to unpack .../groff-base_1.22.3-1_amd64.deb ... Unpacking groff-base (1.22.3-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../bsdmainutils_9.0.6_amd64.deb ... Unpacking bsdmainutils (9.0.6) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../libpipeline1_1.4.1-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.4.1-1) ... Selecting previously unselected package man-db. Preparing to unpack .../man-db_2.7.2-1_amd64.deb ... Unpacking man-db (2.7.2-1) ... Selecting previously unselected package libffi6:amd64. Preparing to unpack .../libffi6_3.2.1-3_amd64.deb ... Unpacking libffi6:amd64 (3.2.1-3) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../libglib2.0-0_2.44.1-1.1_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.44.1-1.1) ... Selecting previously unselected package libicu55:amd64. Preparing to unpack .../libicu55_55.1-4_amd64.deb ... Unpacking libicu55:amd64 (55.1-4) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../libxml2_2.9.2+really2.9.1+dfsg1-0.1_amd64.deb ... Unpacking libxml2:amd64 (2.9.2+really2.9.1+dfsg1-0.1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../libcroco3_0.6.8-3+b1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.8-3+b1) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../libunistring0_0.9.3-5.2+b1_amd64.deb ... Unpacking libunistring0:amd64 (0.9.3-5.2+b1) ... Selecting previously unselected package libc-ares2:amd64. Preparing to unpack .../libc-ares2_1.10.0-2_amd64.deb ... Unpacking libc-ares2:amd64 (1.10.0-2) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.22+15-2_amd64.deb ... Unpacking file (1:5.22+15-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../gettext-base_0.19.5.1-1_amd64.deb ... Unpacking gettext-base (0.19.5.1-1) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.19.5.1-1_amd64.deb ... Unpacking gettext (0.19.5.1-1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../intltool-debian_0.35.0+20060710.2_all.deb ... Unpacking intltool-debian (0.35.0+20060710.2) ... Selecting previously unselected package po-debconf. Preparing to unpack .../po-debconf_1.0.18_all.deb ... Unpacking po-debconf (1.0.18) ... Selecting previously unselected package debhelper. Preparing to unpack .../debhelper_9.20150811_all.deb ... Unpacking debhelper (9.20150811) ... Selecting previously unselected package libv8-3.14.5. Preparing to unpack .../libv8-3.14.5_3.14.5.8-10_amd64.deb ... Unpacking libv8-3.14.5 (3.14.5.8-10) ... Selecting previously unselected package nodejs. Preparing to unpack .../nodejs_0.10.38~dfsg-1_amd64.deb ... Unpacking nodejs (0.10.38~dfsg-1) ... Selecting previously unselected package node-diff. Preparing to unpack .../node-diff_1.4.0~dfsg-1_all.deb ... Unpacking node-diff (1.4.0~dfsg-1) ... Selecting previously unselected package node-eyes. Preparing to unpack .../node-eyes_0.1.8-1_all.deb ... Unpacking node-eyes (0.1.8-1) ... Selecting previously unselected package node-lru-cache. Preparing to unpack .../node-lru-cache_2.3.1-1_all.deb ... Unpacking node-lru-cache (2.3.1-1) ... Selecting previously unselected package node-sigmund. Preparing to unpack .../node-sigmund_1.0.0-1_all.deb ... Unpacking node-sigmund (1.0.0-1) ... Selecting previously unselected package node-minimatch. Preparing to unpack .../node-minimatch_1.0.0-1_all.deb ... Unpacking node-minimatch (1.0.0-1) ... Selecting previously unselected package libjs-inherits. Preparing to unpack .../libjs-inherits_2.0.1-3_all.deb ... Unpacking libjs-inherits (2.0.1-3) ... Selecting previously unselected package node-inherits. Preparing to unpack .../node-inherits_2.0.1-3_all.deb ... Unpacking node-inherits (2.0.1-3) ... Selecting previously unselected package node-once. Preparing to unpack .../node-once_1.1.1-1_all.deb ... Unpacking node-once (1.1.1-1) ... Selecting previously unselected package node-glob. Preparing to unpack .../node-glob_4.0.5-1_all.deb ... Unpacking node-glob (4.0.5-1) ... Selecting previously unselected package node-vows. Preparing to unpack .../node-vows_0.8.1-2_all.deb ... Unpacking node-vows (0.8.1-2) ... Setting up libasprintf0v5:amd64 (0.19.5.1-1) ... Setting up libmagic1:amd64 (1:5.22+15-2) ... Setting up groff-base (1.22.3-1) ... Setting up bsdmainutils (9.0.6) ... 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 libpipeline1:amd64 (1.4.1-1) ... Setting up man-db (2.7.2-1) ... Building database of manual pages ... Setting up libffi6:amd64 (3.2.1-3) ... Setting up libglib2.0-0:amd64 (2.44.1-1.1) ... No schema files found: doing nothing. Setting up libicu55:amd64 (55.1-4) ... Setting up libxml2:amd64 (2.9.2+really2.9.1+dfsg1-0.1) ... Setting up libcroco3:amd64 (0.6.8-3+b1) ... Setting up libunistring0:amd64 (0.9.3-5.2+b1) ... Setting up libc-ares2:amd64 (1.10.0-2) ... Setting up file (1:5.22+15-2) ... Setting up gettext-base (0.19.5.1-1) ... Setting up gettext (0.19.5.1-1) ... Setting up intltool-debian (0.35.0+20060710.2) ... Setting up po-debconf (1.0.18) ... Setting up debhelper (9.20150811) ... Setting up libv8-3.14.5 (3.14.5.8-10) ... Setting up nodejs (0.10.38~dfsg-1) ... update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode Setting up node-diff (1.4.0~dfsg-1) ... Setting up node-eyes (0.1.8-1) ... Setting up node-lru-cache (2.3.1-1) ... Setting up node-sigmund (1.0.0-1) ... Setting up node-minimatch (1.0.0-1) ... Setting up libjs-inherits (2.0.1-3) ... Setting up node-inherits (2.0.1-3) ... Setting up node-once (1.1.1-1) ... Setting up node-glob (4.0.5-1) ... Setting up node-vows (0.8.1-2) ... Processing triggers for libc-bin (2.19-19) ... Killed old client process Internet Systems Consortium DHCP Client 4.3.2 Copyright 2004-2015 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/76:ac:21:ec:e6:9f Sending on LPF/eth0/76:ac:21:ec:e6:9f Sending on Socket/fallback DHCPRELEASE on eth0 to 10.0.3.1 port 67 dpkg-buildpackage: source package node-oauth dpkg-buildpackage: source version 0.9.11-1 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Laszlo Boszormenyi (GCS) dpkg-source --before-build node-oauth-0.9.11 dpkg-buildpackage: host architecture amd64 debian/rules clean dh clean dh_testdir dh_auto_clean dh_clean dpkg-source -b node-oauth-0.9.11 dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building node-oauth using existing ./node-oauth_0.9.11.orig.tar.gz dpkg-source: info: building node-oauth in node-oauth_0.9.11-1.debian.tar.xz dpkg-source: info: building node-oauth in node-oauth_0.9.11-1.dsc debian/rules build dh build dh_testdir dh_auto_configure debian/rules override_dh_auto_test make[1]: Entering directory '/node-oauth-0.9.11' vows tests/* --spec ♢ OAuth When newing OAuth ✓ followRedirects is enabled by default When generating the signature base string described in http://oauth.net/core/1.0/#sig_base_example ✓ we get the expected result string When generating the signature with RSA-SHA1 ✓ we get a valid oauth signature When generating the signature base string with PLAINTEXT ✓ we get the expected result string When normalising a url ✓ default ports should be stripped ✓ should leave in non-default ports from urls for use in signature generation ✓ should add a trailing slash when no path at all is present When making an array out of the arguments hash ✓ flatten out arguments that are arrays When ordering the request parameters ✓ Order them by name ✓ If two parameter names are the same then order by the value When normalising the request parameters ✓ the resulting parameters should be encoded and ordered as per http://tools.ietf.org/html/rfc5849#section-3.1 (3.4.1.3.2) When preparing the parameters for use in signing ✓ We need to be wary of node's auto object creation from foo[bar] style url parameters When signing a url ✓ Provide a valid signature when no token present ✓ Provide a valid signature when a token is present ✓ Provide a valid signature when a token and a token secret is present When getting a request token ✓ Use the HTTP method in the client options ✓ Use a POST by default When getting an access token ✓ Use the HTTP method in the client options ✓ Use a POST by default When get authorization header ✓ Provide a valid signature when a token and a token secret is present ✓ Support variable whitespace separating the arguments When get the OAuth Echo authorization header ✓ Provide a valid signature when a token and token secret is present When non standard ports are used ✓ getProtectedResource should correctly define the host headers When building the OAuth Authorization header ✓ All provided oauth arguments should be concatentated correctly ✓ Only Oauth arguments should be concatentated, others should be disregarded ✓ _buildAuthorizationHeaders should not depends on Array.prototype.toString When performing the Secure Request using the POST method ✓ Any passed extra_params should form part of the POST body When performing a secure POST if no callback is passed ✓ it should return a request object When performing a secure POST if a callback is passed ✓ it should call the internal request's end method and return nothing When performing a secure POST if the post_body is not a string ✓ It should be url encoded and the content type set to be x-www-form-urlencoded When performing a secure GET if no callback is passed ✓ it should return a request object When performing a secure GET if a callback is passed ✓ it should call the internal request's end method and return nothing When performing a secure PUT if no callback is passed ✓ it should return a request object When performing a secure PUT if a callback is passed ✓ it should call the internal request's end method and return nothing When performing a secure PUT if the post_body is not a string ✓ It should be url encoded and the content type set to be x-www-form-urlencoded When performing a secure DELETE if no callback is passed ✓ it should return a request object When performing a secure DELETE if a callback is passed ✓ it should call the internal request's end method and return nothing When performing a secure Request With a Callback and a 200 response code is received ✓ it should callback successfully When performing a secure Request With a Callback and a 210 response code is received ✓ it should callback successfully When performing a secure POST if the post_body is a string and it contains non ascii (7/8bit) characters ✓ the content length should be the byte count, and not the string length When performing a secure POST if the post_body is a string and no post_content_type is specified ✓ It should be written as is, with a content length specified, and the encoding should be set to be x-www-form-urlencoded When performing a secure POST if the post_body is a string and a post_content_type is specified ✓ It should be written as is, with a content length specified, and the encoding should be set to be as specified When performing a secure PUT if the post_body is a string and no post_content_type is specified ✓ It should be written as is, with a content length specified, and the encoding should be set to be x-www-form-urlencoded When performing a secure PUT if the post_body is a string and a post_content_type is specified ✓ It should be written as is, with a content length specified, and the encoding should be set to be as specified When performing a secure Request With a Callback And A 301 redirect is received and there is a location header ✓ it should (re)perform the secure request but with the new location When performing a secure Request With a Callback And A 301 redirect is received but there is no location header ✓ it should execute the callback, passing the HTTP Response code When performing a secure Request With a Callback And A 301 redirect is received and followRedirect is true ✓ it should (re)perform the secure request but with the new location When performing a secure Request With a Callback And A 301 redirect is received and followRedirect is false ✓ it should not perform the secure request with the new location When performing a secure Request With a Callback And A 302 redirect is received and there is a location header ✓ it should (re)perform the secure request but with the new location When performing a secure Request With a Callback And A 302 redirect is received but there is no location header ✓ it should execute the callback, passing the HTTP Response code When performing a secure Request With a Callback And A 302 redirect is received and followRedirect is true ✓ it should (re)perform the secure request but with the new location When performing a secure Request With a Callback And A 302 redirect is received and followRedirect is false ✓ it should not perform the secure request with the new location ♢ OAuth2 Given an OAuth2 instance with clientId and clientSecret, When handling the access token response ✓ we should correctly extract the token if received as form-data ✓ we should not include access token in both querystring and headers (favours headers if specified) ✓ we should include access token in the querystring if no Authorization header present to override it ✓ we should correctly extract the token if received as a JSON literal ✓ we should return the received data to the calling method Given an OAuth2 instance with clientId and clientSecret, When no grant_type parameter is specified ✓ we should pass the value of the code argument as the code parameter Given an OAuth2 instance with clientId and clientSecret, When an invalid grant_type parameter is specified ✓ we should pass the value of the code argument as the code parameter Given an OAuth2 instance with clientId and clientSecret, When a grant_type parameter of value "refresh_token" is specified ✓ we should pass the value of the code argument as the refresh_token parameter, should pass a grant_type parameter, but shouldn't pass a code parameter Given an OAuth2 instance with clientId, clientSecret and customHeaders When calling get ✓ we should see the custom headers mixed into headers property in options passed to http-library When the user passes in the User-Agent in customHeaders When calling get ✓ we should see the User-Agent mixed into headers property in options passed to http-library When the user does not pass in a User-Agent in customHeaders When calling get ✓ we should see the default User-Agent mixed into headers property in options passed to http-library Given an OAuth2 instance with clientId and clientSecret, When we use the authorization header and call get with the default authorization method ✓ we should pass the authorization header with Bearer method and value of the access_token, _request should be passed a null access_token Given an OAuth2 instance with clientId and clientSecret, When we use the authorization header and call get with the authorization method set to Basic ✓ we should pass the authorization header with Basic method and value of the access_token, _request should be passed a null access_token Given an OAuth2 instance with clientId and clientSecret, When we do not use the authorization header and call get ✓ we should pass NOT provide an authorization header and the access_token should be being passed to _request ♢ SHA1 Hashing When using the SHA1 Hashing function ✓ we get the specified digest as described in http://oauth.net/core/1.0/#sig_base_example (A.5.2) ✓ OK » 67 honored (0.045s) events.js:72 throw er; // Unhandled 'error' event ^ Error: getaddrinfo ENOTFOUND at errnoException (dns.js:37:11) at Object.onanswer [as oncomplete] (dns.js:124:16) debian/rules:15: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 8 make[1]: Leaving directory '/node-oauth-0.9.11' debian/rules:8: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2