[Pkg-javascript-devel] Bug#997587: node-request: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1

Lucas Nussbaum lucas at debian.org
Sat Oct 23 22:06:24 BST 2021


Source: node-request
Version: 2.88.1-5
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package node-request
> dpkg-buildpackage: info: source version 2.88.1-5
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Pirate Praveen <praveen at debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean --with nodejs
>    dh_auto_clean --buildsystem=nodejs
> 	rm -rf ./node_modules/.cache
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building node-request using existing ./node-request_2.88.1.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building node-request in node-request_2.88.1-5.debian.tar.xz
> dpkg-source: info: building node-request in node-request_2.88.1-5.dsc
>  debian/rules binary
> dh binary --with nodejs
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=nodejs
>    dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
>    dh_auto_test --buildsystem=nodejs
> 	mkdir -p node_modules
> 	ln -s ../debian/tests/test_modules/server-destroy node_modules/server-destroy
> 	ln -s ../. node_modules/request
> 	/bin/sh -ex debian/tests/pkg-js/test
> + + grep -v -f debian/tests/excluded
> ls tests/test-agent.js tests/test-agentOptions.js tests/test-api.js tests/test-aws.js tests/test-baseUrl.js tests/test-basic-auth.js tests/test-bearer-auth.js tests/test-body.js tests/test-cookies.js tests/test-defaults.js tests/test-digest-auth.js tests/test-emptyBody.js tests/test-errors.js tests/test-event-forwarding.js tests/test-follow-all-303.js tests/test-follow-all.js tests/test-form-data-error.js tests/test-form-data.js tests/test-form-urlencoded.js tests/test-form.js tests/test-gzip.js tests/test-har.js tests/test-hawk.js tests/test-headers.js tests/test-http-signature.js tests/test-httpModule.js tests/test-https.js tests/test-isUrl.js tests/test-json-request.js tests/test-localAddress.js tests/test-multipart-encoding.js tests/test-multipart.js tests/test-node-debug.js tests/test-oauth.js tests/test-onelineproxy.js tests/test-option-reuse.js tests/test-options-convenience-method.js tests/test-params.js tests/test-piped-redirect.js tests/test-pipes.js tests/test-pool.js tests/test-promise.js tests/test-proxy-connect.js tests/test-proxy.js tests/test-qs.js tests/test-redirect-auth.js tests/test-redirect-complex.js tests/test-redirect.js tests/test-rfc3986.js tests/test-stream.js tests/test-timeout.js tests/test-timing.js tests/test-toJSON.js tests/test-tunnel.js tests/test-unix.js
> + NODE_PATH=debian/tests/test_modules tape tests/test-agent.js tests/test-api.js tests/test-aws.js tests/test-baseUrl.js tests/test-basic-auth.js tests/test-bearer-auth.js tests/test-body.js tests/test-cookies.js tests/test-defaults.js tests/test-digest-auth.js tests/test-emptyBody.js tests/test-errors.js tests/test-event-forwarding.js tests/test-follow-all-303.js tests/test-follow-all.js tests/test-form-data-error.js tests/test-form-data.js tests/test-form-urlencoded.js tests/test-form.js tests/test-gzip.js tests/test-har.js tests/test-hawk.js tests/test-headers.js tests/test-http-signature.js tests/test-isUrl.js tests/test-json-request.js tests/test-multipart-encoding.js tests/test-multipart.js tests/test-node-debug.js tests/test-oauth.js tests/test-onelineproxy.js tests/test-option-reuse.js tests/test-options-convenience-method.js tests/test-params.js tests/test-piped-redirect.js tests/test-pipes.js tests/test-pool.js tests/test-promise.js tests/test-proxy-connect.js tests/test-proxy.js tests/test-qs.js tests/test-rfc3986.js tests/test-stream.js tests/test-timeout.js tests/test-timing.js tests/test-toJSON.js tests/test-unix.js
> TAP version 13
> # setup
> # options.agent
> ok 1 is http.Agent
> ok 2 is keepAlive
> ok 3 1 socket name
> ok 4 1 open socket
> ok 5 0 open sockets
> # options.agentClass + options.agentOptions
> ok 6 is http.Agent
> ok 7 is keepAlive
> ok 8 1 socket name
> ok 9 1 open socket
> ok 10 0 open sockets
> # options.forever = true
> ok 11 is http.Agent
> ok 12 is keepAlive
> ok 13 1 socket name
> ok 14 1 open socket
> ok 15 0 open sockets
> # forever() method
> ok 16 is http.Agent
> ok 17 is keepAlive
> ok 18 1 socket name
> ok 19 1 open socket
> ok 20 0 open sockets
> # cleanup
> # setup
> # callback option
> ok 21 null
> ok 22 should be strictly equal
> # cleanup
> # setup
> # default behaviour: aws-sign2 without sign_version key
> ok 23 null
> ok 24 should be truthy
> ok 25 should be falsy
> # aws-sign4 options
> ok 26 null
> ok 27 should be truthy
> ok 28 should be truthy
> ok 29 should be falsy
> # aws-sign4 options with session token
> ok 30 null
> ok 31 should be truthy
> ok 32 should be truthy
> ok 33 should be truthy
> # aws-sign4 options with service
> ok 34 null
> ok 35 should be truthy
> # aws-sign4 with additional headers
> ok 36 null
> ok 37 should be truthy
> # cleanup
> # setup
> # baseUrl
> ok 38 should be strictly equal
> ok 39 should be strictly equal
> # baseUrl defaults
> ok 40 should be strictly equal
> ok 41 should be strictly equal
> # baseUrl and redirects
> ok 42 should be strictly equal
> ok 43 should be strictly equal
> ok 44 should be strictly equal
> # error when baseUrl is not a String
> ok 45 should not be strictly equal
> ok 46 should be strictly equal
> # error when uri is not a String
> ok 47 should not be strictly equal
> ok 48 should be strictly equal
> # error on baseUrl and uri with scheme
> ok 49 should not be strictly equal
> ok 50 should be strictly equal
> # error on baseUrl and uri with scheme-relative url
> ok 51 should not be strictly equal
> ok 52 should be strictly equal
> # setup
> # sendImmediately - false
> ok 53 null
> ok 54 should be strictly equal
> ok 55 should be strictly equal
> ok 56 should be strictly equal
> # sendImmediately - true
> ok 57 null
> ok 58 should be strictly equal
> ok 59 should be strictly equal
> ok 60 should be strictly equal
> # credentials in url
> ok 61 null
> ok 62 should be strictly equal
> ok 63 should be strictly equal
> ok 64 should be strictly equal
> # POST request
> ok 65 null
> ok 66 should be strictly equal
> ok 67 should be strictly equal
> ok 68 should be strictly equal
> # user - empty string
> ok 69 should not throw
> ok 70 null
> ok 71 should be strictly equal
> ok 72 should be strictly equal
> ok 73 should be strictly equal
> # pass - undefined
> ok 74 should not throw
> ok 75 null
> ok 76 should be strictly equal
> ok 77 should be strictly equal
> ok 78 should be strictly equal
> # pass - utf8
> ok 79 should not throw
> ok 80 null
> ok 81 should be strictly equal
> ok 82 should be strictly equal
> ok 83 should be strictly equal
> ok 84 should be strictly equal
> # auth method
> ok 85 should be strictly equal
> ok 86 should be strictly equal
> ok 87 should be strictly equal
> # get method
> ok 88 should be strictly equal
> ok 89 should be strictly equal
> ok 90 should be strictly equal
> ok 91 should be strictly equal
> # cleanup
> # setup
> # bearer auth
> ok 92 null
> ok 93 should be strictly equal
> ok 94 should be strictly equal
> # bearer auth with default sendImmediately
> ok 95 null
> ok 96 should be strictly equal
> ok 97 should be strictly equal
> # (anonymous)
> ok 98 null
> ok 99 should be strictly equal
> ok 100 should be strictly equal
> # using .auth, sendImmediately = false
> ok 101 should be strictly equal
> ok 102 should be strictly equal
> # using .auth, sendImmediately = true
> ok 103 should be strictly equal
> ok 104 should be strictly equal
> # bearer is a function
> ok 105 null
> ok 106 should be strictly equal
> ok 107 should be strictly equal
> # bearer is a function, path = test2
> ok 108 null
> ok 109 should be strictly equal
> ok 110 should be strictly equal
> # no auth method
> ok 111 should be strictly equal
> # null bearer
> ok 112 null
> ok 113 should be strictly equal
> ok 114 should be strictly equal
> # cleanup
> # setup
> # test testGet
> ok 115 should be strictly equal
> ok 116 should be deeply equivalent
> # test testGetChunkBreak
> ok 117 should be strictly equal
> ok 118 should be deeply equivalent
> # test testGetBuffer
> ok 119 should be strictly equal
> ok 120 should be deeply equivalent
> # test testGetEncoding
> ok 121 should be strictly equal
> ok 122 should be deeply equivalent
> # test testGetUTF
> ok 123 should be strictly equal
> ok 124 should be deeply equivalent
> # test testGetJSON
> ok 125 should be strictly equal
> ok 126 should be deeply equivalent
> # test testPutString
> ok 127 should be strictly equal
> # test testPutBuffer
> ok 128 should be strictly equal
> # test testPutJSON
> ok 129 should be strictly equal
> # test testPutMultipart
> ok 130 should be strictly equal
> # test testPutMultipartPreambleCRLF
> ok 131 should be strictly equal
> # test testPutMultipartPostambleCRLF
> ok 132 should be strictly equal
> # typed array
> ok 133 null
> ok 134 should be deeply equivalent
> # cleanup
> # setup
> # simple cookie creation
> ok 135 should be strictly equal
> ok 136 should be strictly equal
> # simple malformed cookie creation
> ok 137 should be strictly equal
> ok 138 should be strictly equal
> # after server sends a cookie
> ok 139 should be strictly equal
> ok 140 should be strictly equal
> ok 141 should be strictly equal
> ok 142 should be strictly equal
> ok 143 should be strictly equal
> ok 144 should be strictly equal
> # after server sends a malformed cookie
> ok 145 should be strictly equal
> ok 146 should be strictly equal
> ok 147 should be strictly equal
> ok 148 should be strictly equal
> ok 149 should be strictly equal
> ok 150 should be strictly equal
> # after server sends a cookie for a different domain
> ok 151 should be strictly equal
> ok 152 should be strictly equal
> ok 153 should be deeply equivalent
> ok 154 should be strictly equal
> # make sure setCookie works
> ok 155 should be strictly equal
> ok 156 should be strictly equal
> ok 157 should be strictly equal
> ok 158 should be strictly equal
> # custom store
> ok 159 should be strictly equal
> # cleanup
> # setup
> # get(string, function)
> ok 160 should be strictly equal
> ok 161 should be strictly equal
> # merge headers
> ok 162 should be strictly equal
> ok 163 should be strictly equal
> # deep extend
> ok 164 should be deeply equivalent
> ok 165 should be deeply equivalent
> # default undefined header
> ok 166 should be strictly equal
> ok 167 should be strictly equal
> ok 168 should be strictly equal
> # post(string, object, function)
> ok 169 should be strictly equal
> ok 170 should be strictly equal
> ok 171 should be strictly equal
> # patch(string, object, function)
> ok 172 should be strictly equal
> ok 173 should be strictly equal
> ok 174 should be strictly equal
> # post(string, object, function) with body
> ok 175 should be strictly equal
> ok 176 should be strictly equal
> ok 177 should be strictly equal
> # del(string, function)
> ok 178 should be strictly equal
> ok 179 should be strictly equal
> # delete(string, function)
> ok 180 should be strictly equal
> ok 181 should be strictly equal
> # head(object, function)
> ok 182 should be strictly equal
> ok 183 should be strictly equal
> # recursive defaults
> ok 184 should be strictly equal
> ok 185 should be strictly equal
> ok 186 should be strictly equal
> ok 187 should be strictly equal
> ok 188 should be strictly equal
> ok 189 should be strictly equal
> ok 190 should be strictly equal
> ok 191 should be strictly equal
> ok 192 should be strictly equal
> ok 193 should be strictly equal
> ok 194 should be strictly equal
> # recursive defaults requester
> ok 195 should be strictly equal
> ok 196 should be strictly equal
> ok 197 should be strictly equal
> ok 198 should be strictly equal
> ok 199 should be strictly equal
> # test custom request handler function
> ok 200 should throw
> ok 201 should be strictly equal
> ok 202 should be strictly equal
> # test custom request handler function without options
> ok 203 should be strictly equal
> ok 204 should be strictly equal
> # test only setting undefined properties
> ok 205 should be strictly equal
> ok 206 should be strictly equal
> ok 207 should be strictly equal
> ok 208 should be deeply equivalent
> # test only function
> ok 209 should not throw
> ok 210 should be strictly equal
> # invoke defaults
> ok 211 should be strictly equal
> ok 212 should be strictly equal
> # invoke convenience method from defaults
> ok 213 should be strictly equal
> ok 214 should be strictly equal
> # defaults without options
> ok 215 should be strictly equal
> # cleanup
> # setup
> # with sendImmediately = false
> ok 216 should be strictly equal
> ok 217 should be strictly equal
> ok 218 should be strictly equal
> ok 219 should be strictly equal
> # with MD5-sess algorithm
> ok 220 should be strictly equal
> ok 221 should be strictly equal
> ok 222 should be strictly equal
> ok 223 should be strictly equal
> # without sendImmediately = false
> ok 224 should be strictly equal
> ok 225 should be strictly equal
> ok 226 should be strictly equal
> # with different credentials
> ok 227 should be strictly equal
> ok 228 should be strictly equal
> ok 229 should be strictly equal
> ok 230 should be strictly equal
> # cleanup
> # setup
> # empty body with encoding
> ok 231 should be strictly equal
> ok 232 should be strictly equal
> ok 233 should be strictly equal
> # empty body without encoding
> ok 234 should be strictly equal
> ok 235 should be strictly equal
> ok 236 should be deeply equivalent
> # empty JSON body
> ok 237 should be strictly equal
> ok 238 should be strictly equal
> ok 239 should be strictly equal
> # cleanup
> # without uri
> ok 240 should throw
> # invalid uri 1
> ok 241 should throw
> # invalid uri 2
> ok 242 should throw
> # invalid uri + NO_PROXY
> ok 243 should throw
> # deprecated unix URL
> ok 244 should throw
> # invalid body
> ok 245 should throw
> # invalid multipart
> ok 246 should throw
> # multipart without body 1
> ok 247 should throw
> # multipart without body 2
> ok 248 should throw
> # head method with a body
> ok 249 should throw
> # head method with a body 2
> ok 250 should throw
> # setup
> # should emit socket event
> ok 251 should be strictly equal
> ok 252 should be strictly equal
> ok 253 should be strictly equal
> ok 254 should be strictly equal
> # cleanup
> # setup
> # followAllRedirects with 303
> ok 255 should be strictly equal
> ok 256 should be strictly equal
> ok 257 should be strictly equal
> # cleanup
> # setup
> # followAllRedirects
> ok 258 should be strictly equal
> ok 259 should be strictly equal
> ok 260 should be strictly equal
> # cleanup
> # setup
> # re-emit formData errors
> ok 261 should be strictly equal
> # omit content-length header if the value is set to NaN
> ok 262 request failed
> # form-data should throw on null value
> ok 263 should throw
> # cleanup
> # multipart formData
> ok 264 should be truthy
> ok 265 should be truthy
> ok 266 should be truthy
> ok 267 should be truthy
> ok 268 should be truthy
> ok 269 should be truthy
> ok 270 should be truthy
> ok 271 should be truthy
> ok 272 should be truthy
> ok 273 should be truthy
> ok 274 should be truthy
> ok 275 should be truthy
> ok 276 should be truthy
> ok 277 should be truthy
> ok 278 should be truthy
> ok 279 should be truthy
> ok 280 should be truthy
> ok 281 should be truthy
> ok 282 should be strictly equal
> ok 283 should be strictly equal
> ok 284 should be deeply equivalent
> # multipart formData + JSON
> ok 285 should be truthy
> ok 286 should be truthy
> ok 287 should be truthy
> ok 288 should be truthy
> ok 289 should be truthy
> ok 290 should be truthy
> ok 291 should be truthy
> ok 292 should be truthy
> ok 293 should be truthy
> ok 294 should be truthy
> ok 295 should be truthy
> ok 296 should be truthy
> ok 297 should be truthy
> ok 298 should be truthy
> ok 299 should be truthy
> ok 300 should be truthy
> ok 301 should be truthy
> ok 302 should be truthy
> ok 303 should be strictly equal
> ok 304 should be strictly equal
> ok 305 should be deeply equivalent
> # multipart formData + basic auth
> ok 306 should be truthy
> ok 307 should be truthy
> ok 308 should be truthy
> ok 309 should be truthy
> ok 310 should be truthy
> ok 311 should be truthy
> ok 312 should be truthy
> ok 313 should be truthy
> ok 314 should be truthy
> ok 315 should be truthy
> ok 316 should be truthy
> ok 317 should be truthy
> ok 318 should be truthy
> ok 319 should be truthy
> ok 320 should be truthy
> ok 321 should be truthy
> ok 322 should be truthy
> ok 323 should be truthy
> ok 324 should be truthy
> ok 325 should be strictly equal
> ok 326 should be strictly equal
> ok 327 should be deeply equivalent
> # application/x-www-form-urlencoded 0
> ok 328 should be strictly equal
> ok 329 should be strictly equal
> ok 330 should be strictly equal
> ok 331 should be strictly equal
> ok 332 should be strictly equal
> ok 333 should be strictly equal
> ok 334 should be strictly equal
> # application/x-www-form-urlencoded 1
> ok 335 should be strictly equal
> ok 336 should be strictly equal
> ok 337 should be strictly equal
> ok 338 should be strictly equal
> ok 339 should be strictly equal
> ok 340 should be strictly equal
> ok 341 should be strictly equal
> # application/x-www-form-urlencoded 2
> ok 342 should be strictly equal
> ok 343 should be strictly equal
> ok 344 should be strictly equal
> ok 345 should be strictly equal
> ok 346 should be strictly equal
> ok 347 should be strictly equal
> ok 348 should be strictly equal
> # application/x-www-form-urlencoded 3
> ok 349 should be strictly equal
> ok 350 should be strictly equal
> ok 351 should be strictly equal
> ok 352 should be strictly equal
> ok 353 should be strictly equal
> ok 354 should be strictly equal
> ok 355 should be strictly equal
> # multipart form append
> ok 356 should be strictly equal
> ok 357 should be truthy
> ok 358 should be truthy
> ok 359 should be truthy
> ok 360 should be truthy
> ok 361 should be truthy
> ok 362 should be truthy
> ok 363 should be truthy
> ok 364 should be truthy
> ok 365 should be truthy
> ok 366 should be truthy
> ok 367 should be truthy
> ok 368 should be truthy
> ok 369 should be truthy
> ok 370 should be truthy
> ok 371 should be strictly equal
> ok 372 should be strictly equal
> ok 373 should be strictly equal
> ok 374 should be strictly equal
> # setup
> ok 375 should be strictly equal
> ok 376 should be strictly equal
> # transparently supports gzip decoding to callbacks
> ok 377 should be strictly equal
> ok 378 should be strictly equal
> ok 379 should be strictly equal
> # supports slightly invalid gzip content
> ok 380 should be strictly equal
> ok 381 should be strictly equal
> ok 382 should be strictly equal
> # transparently supports gzip decoding to pipes
> ok 383 should be strictly equal
> # does not request gzip if user specifies Accepted-Encodings
> ok 384 should be strictly equal
> ok 385 should be strictly equal
> ok 386 should be strictly equal
> # does not decode user-requested encoding by default
> ok 387 should be strictly equal
> ok 388 should be strictly equal
> ok 389 should be strictly equal
> # supports character encoding with gzip encoding
> ok 390 should be strictly equal
> ok 391 should be strictly equal
> # transparently supports gzip error to callbacks
> ok 392 should be strictly equal
> ok 393 should be strictly equal
> ok 394 should be strictly equal
> # transparently supports gzip error to pipes
> ok 395 should be strictly equal
> # pause when streaming from a gzip request object
> ok 396 Only receive data when not paused
> ok 397 Only receive data when not paused
> ok 398 Received multiple chunks
> ok 399 Expected content
> # pause before streaming from a gzip request object
> ok 400 Only receive data when not paused
> ok 401 should be strictly equal
> # transparently supports deflate decoding to callbacks
> ok 402 should be strictly equal
> ok 403 should be strictly equal
> ok 404 should be strictly equal
> # do not try to pipe HEAD request responses
> ok 405 should be strictly equal
> ok 406 should be strictly equal
> # do not try to pipe responses with no body
> ok 407 should be strictly equal
> ok 408 should be strictly equal
> ok 409 should be strictly equal
> ok 410 should be strictly equal
> ok 411 should be strictly equal
> ok 412 should be strictly equal
> # cleanup
> # setup
> # application-form-encoded
> ok 413 should be strictly equal
> ok 414 should be strictly equal
> # application-json
> ok 415 should be strictly equal
> ok 416 should be strictly equal
> # cookies
> ok 417 should be strictly equal
> ok 418 should be strictly equal
> # custom-method
> ok 419 should be strictly equal
> ok 420 should be strictly equal
> # headers
> ok 421 should be strictly equal
> ok 422 should be strictly equal
> # multipart-data
> ok 423 should be strictly equal
> ok 424 should be truthy
> ok 425 should be truthy
> # multipart-file
> ok 426 should be strictly equal
> ok 427 should be truthy
> ok 428 should be truthy
> # multipart-form-data
> ok 429 should be strictly equal
> ok 430 should be truthy
> ok 431 should be truthy
> # query
> ok 432 should be strictly equal
> ok 433 should be strictly equal
> # text/plain
> ok 434 should be strictly equal
> ok 435 should be strictly equal
> ok 436 should be strictly equal
> # cleanup
> # setup
> # hawk-get
> ok 437 should be strictly equal
> ok 438 should be strictly equal
> ok 439 should be strictly equal
> # hawk-post
> ok 440 should be strictly equal
> ok 441 should be strictly equal
> ok 442 should be strictly equal
> # hawk-ext
> ok 443 should be strictly equal
> ok 444 should be strictly equal
> ok 445 should be strictly equal
> # hawk-app
> ok 446 should be strictly equal
> ok 447 should be strictly equal
> ok 448 should be strictly equal
> # hawk-app+dlg
> ok 449 should be strictly equal
> ok 450 should be strictly equal
> ok 451 should be strictly equal
> # hawk-missing-creds
> ok 452 should be strictly equal
> ok 453 should be strictly equal
> ok 454 should be strictly equal
> # hawk-missing-creds-id
> ok 455 should be strictly equal
> ok 456 should be strictly equal
> ok 457 should be strictly equal
> # hawk-missing-creds-key
> ok 458 should be strictly equal
> ok 459 should be strictly equal
> ok 460 should be strictly equal
> # hawk-missing-creds-algo
> ok 461 should be strictly equal
> ok 462 should be strictly equal
> ok 463 should be strictly equal
> # hawk-invalid-creds-algo
> ok 464 should be strictly equal
> ok 465 should be strictly equal
> ok 466 should be strictly equal
> # cleanup
> # setup
> # upper-case Host header and redirect
> ok 467 should be strictly equal
> ok 468 Expected "Host: 127.0.0.1" in data "GET /redirect/from HTTP/1.1\nHost: 127.0.0.1\nConnection: close"
> ok 469 should be strictly equal
> ok 470 should be strictly equal
> ok 471 should be strictly equal
> ok 472 should be strictly equal
> ok 473 Expected "Host: localhost:46203" in data "GET /redirect/to HTTP/1.1\nreferer: http://localhost:46203/redirect/from\nHost: localhost:46203\nConnection: close"
> # undefined headers
> ok 474 should be strictly equal
> ok 475 should be strictly equal
> ok 476 should be strictly equal
> # preserve port in host header if non-standard port
> ok 477 should be strictly equal
> ok 478 should be strictly equal
> # strip port in host header if explicit standard port (:80) & protocol (HTTP)
> ok 479 should be strictly equal
> # strip port in host header if explicit standard port (:443) & protocol (HTTPS)
> ok 480 should be strictly equal
> # strip port in host header if implicit standard port & protocol (HTTP)
> ok 481 should be strictly equal
> # strip port in host header if implicit standard port & protocol (HTTPS)
> ok 482 should be strictly equal
> # catch invalid characters error - GET
> ok 483 should be truthy
> ok 484 should be truthy
> # catch invalid characters error - POST
> ok 485 should be truthy
> ok 486 should be truthy
> # IPv6 Host header
> ok 487 should be strictly equal
> ok 488 should be strictly equal
> ok 489 Expected "Host: \[::1\]:46203" in data "GET /headers.json HTTP/1.1\nhost: [::1]:46203\nConnection: close"
> # setup
> # correct key
> (node:1206) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
> ok 490 should be strictly equal
> ok 491 should be strictly equal
> # incorrect key
> ok 492 should be strictly equal
> ok 493 should be strictly equal
> # cleanup
> # setup
> # lowercase
> ok 494 should be strictly equal
> ok 495 should be strictly equal
> # uppercase
> ok 496 should be strictly equal
> ok 497 should be strictly equal
> # mixedcase
> ok 498 should be strictly equal
> ok 499 should be strictly equal
> # hostname and port
> ok 500 should be strictly equal
> ok 501 should be strictly equal
> # hostname and port 1
> ok 502 should be strictly equal
> ok 503 should be strictly equal
> # hostname and port 2
> ok 504 should be strictly equal
> ok 505 should be strictly equal
> # hostname and port 3
> ok 506 should not be strictly equal
> ok 507 should be strictly equal
> ok 508 should be strictly equal
> # hostname and query string
> ok 509 should be strictly equal
> ok 510 should be strictly equal
> # cleanup
> # setup
> # test jsonNull
> ok 511 should be strictly equal
> ok 512 should be strictly equal
> ok 513 should be deeply equivalent
> # test jsonTrue
> ok 514 should be strictly equal
> ok 515 should be strictly equal
> ok 516 should be deeply equivalent
> # test jsonFalse
> ok 517 should be strictly equal
> ok 518 should be strictly equal
> ok 519 should be deeply equivalent
> # test jsonNumber
> ok 520 should be strictly equal
> ok 521 should be strictly equal
> ok 522 should be deeply equivalent
> # test jsonString
> ok 523 should be strictly equal
> ok 524 should be strictly equal
> ok 525 should be deeply equivalent
> # test jsonArray
> ok 526 should be strictly equal
> ok 527 should be strictly equal
> ok 528 should be deeply equivalent
> # test jsonObject
> ok 529 should be strictly equal
> ok 530 should be strictly equal
> ok 531 should be deeply equivalent
> # test jsonReviver
> ok 532 should be strictly equal
> ok 533 should be strictly equal
> ok 534 should be deeply equivalent
> # test jsonReviverInvalid
> ok 535 should be strictly equal
> ok 536 should be strictly equal
> ok 537 should be deeply equivalent
> # test jsonReplacer
> ok 538 should be strictly equal
> ok 539 should be strictly equal
> ok 540 should be deeply equivalent
> # test jsonReplacerInvalid
> ok 541 should be strictly equal
> ok 542 should be strictly equal
> ok 543 should be deeply equivalent
> # test jsonReplacerObject
> ok 544 should be strictly equal
> ok 545 should be strictly equal
> ok 546 should be deeply equivalent
> # missing body
> ok 547 should be strictly equal
> # cleanup
> # multipart-encoding +array -stream
> ok 548 should be truthy
> ok 549 should be truthy
> ok 550 should be falsy
> ok 551 should be truthy
> ok 552 should be truthy
> ok 553 should be strictly equal
> ok 554 should be strictly equal
> # multipart-encoding +array +stream
> ok 555 should be truthy
> ok 556 should be truthy
> ok 557 should be falsy
> ok 558 should be truthy
> ok 559 should be truthy
> ok 560 should be strictly equal
> ok 561 should be strictly equal
> # multipart-encoding +array +encoding
> ok 562 should be truthy
> ok 563 should be truthy
> ok 564 should be falsy
> ok 565 should be truthy
> ok 566 should be truthy
> ok 567 should be strictly equal
> ok 568 should be strictly equal
> # multipart-encoding +object -stream
> ok 569 should be truthy
> ok 570 should be truthy
> ok 571 should be falsy
> ok 572 should be truthy
> ok 573 should be truthy
> ok 574 should be strictly equal
> ok 575 should be strictly equal
> # multipart-encoding +object +stream
> ok 576 should be truthy
> ok 577 should be truthy
> ok 578 should be falsy
> ok 579 should be truthy
> ok 580 should be truthy
> ok 581 should be strictly equal
> ok 582 should be strictly equal
> # multipart-encoding +object +encoding
> ok 583 should be truthy
> ok 584 should be truthy
> ok 585 should be falsy
> ok 586 should be truthy
> ok 587 should be truthy
> ok 588 should be strictly equal
> ok 589 should be strictly equal
> # multipart-encoding +object -chunked -stream
> ok 590 should be truthy
> ok 591 should be truthy
> ok 592 should be falsy
> ok 593 should be truthy
> ok 594 should be truthy
> ok 595 should be strictly equal
> ok 596 should be strictly equal
> # multipart-encoding +object -chunked +stream
> ok 597 should be truthy
> ok 598 should be truthy
> ok 599 should be falsy
> ok 600 should be truthy
> ok 601 should be truthy
> ok 602 should be strictly equal
> ok 603 should be strictly equal
> # multipart-encoding +object +chunked -stream
> ok 604 should be truthy
> ok 605 should be truthy
> ok 606 should be falsy
> ok 607 should be truthy
> ok 608 should be truthy
> ok 609 should be strictly equal
> ok 610 should be strictly equal
> # multipart-encoding +object +encoding -chunked
> ok 611 should be truthy
> ok 612 should be truthy
> ok 613 should be falsy
> ok 614 should be truthy
> ok 615 should be truthy
> ok 616 should be strictly equal
> ok 617 should be strictly equal
> # multipart-related POST default +json
> ok 618 should be truthy
> ok 619 should be truthy
> ok 620 should be truthy
> ok 621 should be truthy
> ok 622 should be truthy
> ok 623 should be truthy
> ok 624 should be truthy
> ok 625 should be truthy
> ok 626 should be truthy
> ok 627 should be truthy
> ok 628 should be truthy
> ok 629 should be strictly equal
> ok 630 should be strictly equal
> ok 631 should be deeply equivalent
> # multipart-related POST default -json
> ok 632 should be truthy
> ok 633 should be truthy
> ok 634 should be truthy
> ok 635 should be truthy
> ok 636 should be truthy
> ok 637 should be truthy
> ok 638 should be truthy
> ok 639 should be truthy
> ok 640 should be truthy
> ok 641 should be truthy
> ok 642 should be truthy
> ok 643 should be strictly equal
> ok 644 should be strictly equal
> ok 645 should be deeply equivalent
> # multipart-related POST multipart/mixed +json
> ok 646 should be truthy
> ok 647 should be truthy
> ok 648 should be truthy
> ok 649 should be truthy
> ok 650 should be truthy
> ok 651 should be truthy
> ok 652 should be truthy
> ok 653 should be truthy
> ok 654 should be truthy
> ok 655 should be truthy
> ok 656 should be truthy
> ok 657 should be strictly equal
> ok 658 should be strictly equal
> ok 659 should be deeply equivalent
> # multipart-related POST multipart/mixed -json
> ok 660 should be truthy
> ok 661 should be truthy
> ok 662 should be truthy
> ok 663 should be truthy
> ok 664 should be truthy
> ok 665 should be truthy
> ok 666 should be truthy
> ok 667 should be truthy
> ok 668 should be truthy
> ok 669 should be truthy
> ok 670 should be truthy
> ok 671 should be strictly equal
> ok 672 should be strictly equal
> ok 673 should be deeply equivalent
> # multipart-related POST multipart/related; boundary=XXX; type=text/xml; start="<root>" +json
> ok 674 should be truthy
> ok 675 should be truthy
> ok 676 should be truthy
> ok 677 should be truthy
> ok 678 should be truthy
> ok 679 should be truthy
> ok 680 should be truthy
> ok 681 should be truthy
> ok 682 should be truthy
> ok 683 should be truthy
> ok 684 should be truthy
> ok 685 should be truthy
> ok 686 should be strictly equal
> ok 687 should be strictly equal
> ok 688 should be deeply equivalent
> # multipart-related POST multipart/related; boundary=XXX; type=text/xml; start="<root>" -json
> ok 689 should be truthy
> ok 690 should be truthy
> ok 691 should be truthy
> ok 692 should be truthy
> ok 693 should be truthy
> ok 694 should be truthy
> ok 695 should be truthy
> ok 696 should be truthy
> ok 697 should be truthy
> ok 698 should be truthy
> ok 699 should be truthy
> ok 700 should be truthy
> ok 701 should be strictly equal
> ok 702 should be strictly equal
> ok 703 should be deeply equivalent
> # multipart-related GET default +json
> ok 704 should be truthy
> ok 705 should be truthy
> ok 706 should be truthy
> ok 707 should be truthy
> ok 708 should be truthy
> ok 709 should be truthy
> ok 710 should be truthy
> ok 711 should be truthy
> ok 712 should be truthy
> ok 713 should be truthy
> ok 714 should be truthy
> ok 715 should be strictly equal
> ok 716 should be strictly equal
> ok 717 should be deeply equivalent
> # multipart-related GET default -json
> ok 718 should be truthy
> ok 719 should be truthy
> ok 720 should be truthy
> ok 721 should be truthy
> ok 722 should be truthy
> ok 723 should be truthy
> ok 724 should be truthy
> ok 725 should be truthy
> ok 726 should be truthy
> ok 727 should be truthy
> ok 728 should be truthy
> ok 729 should be strictly equal
> ok 730 should be strictly equal
> ok 731 should be deeply equivalent
> # multipart-related GET multipart/mixed +json
> ok 732 should be truthy
> ok 733 should be truthy
> ok 734 should be truthy
> ok 735 should be truthy
> ok 736 should be truthy
> ok 737 should be truthy
> ok 738 should be truthy
> ok 739 should be truthy
> ok 740 should be truthy
> ok 741 should be truthy
> ok 742 should be truthy
> ok 743 should be strictly equal
> ok 744 should be strictly equal
> ok 745 should be deeply equivalent
> # multipart-related GET multipart/mixed -json
> ok 746 should be truthy
> ok 747 should be truthy
> ok 748 should be truthy
> ok 749 should be truthy
> ok 750 should be truthy
> ok 751 should be truthy
> ok 752 should be truthy
> ok 753 should be truthy
> ok 754 should be truthy
> ok 755 should be truthy
> ok 756 should be truthy
> ok 757 should be strictly equal
> ok 758 should be strictly equal
> ok 759 should be deeply equivalent
> # multipart-related GET multipart/related; boundary=XXX; type=text/xml; start="<root>" +json
> ok 760 should be truthy
> ok 761 should be truthy
> ok 762 should be truthy
> ok 763 should be truthy
> ok 764 should be truthy
> ok 765 should be truthy
> ok 766 should be truthy
> ok 767 should be truthy
> ok 768 should be truthy
> ok 769 should be truthy
> ok 770 should be truthy
> ok 771 should be truthy
> ok 772 should be strictly equal
> ok 773 should be strictly equal
> ok 774 should be deeply equivalent
> # multipart-related GET multipart/related; boundary=XXX; type=text/xml; start="<root>" -json
> ok 775 should be truthy
> ok 776 should be truthy
> ok 777 should be truthy
> ok 778 should be truthy
> ok 779 should be truthy
> ok 780 should be truthy
> ok 781 should be truthy
> ok 782 should be truthy
> ok 783 should be truthy
> ok 784 should be truthy
> ok 785 should be truthy
> ok 786 should be truthy
> ok 787 should be strictly equal
> ok 788 should be strictly equal
> ok 789 should be deeply equivalent
> # setup
> # a simple request should not fail with debugging enabled
> ok 790 request.debug sets request.Request.debug
> ok 791 request.debug gets request.Request.debug
> ok 792 the request did not fail
> ok 793 the request did not fail
> ok 794 stderr has some messages
> ok 795 a log message matches /^REQUEST { uri: /
> ok 796 a log message matches /^REQUEST make request http:\/\/localhost:42283\/\n$/
> ok 797 a log message matches /^REQUEST onRequestResponse /
> ok 798 a log message matches /^REQUEST finish init /
> ok 799 a log message matches /^REQUEST response end /
> ok 800 a log message matches /^REQUEST end event /
> ok 801 a log message matches /^REQUEST emitting complete /
> # there should be no further lookups on process.env
> ok 802 the request did not fail
> ok 803 the request did not fail
> ok 804 env.NODE_DEBUG is not retested
> # it should be possible to disable debugging at runtime
> ok 805 request.debug sets request.Request.debug
> ok 806 request.debug gets request.Request.debug
> ok 807 the request did not fail
> ok 808 the request did not fail
> ok 809 debugging can be disabled
> # cleanup
> # reqsign
> ok 810 should be strictly equal
> # reqsign256
> ok 811 should be strictly equal
> # reqsignRSA
> ok 812 should be strictly equal
> # accsign
> ok 813 should be strictly equal
> # accsign256
> ok 814 should be strictly equal
> # accsignRSA
> ok 815 should be strictly equal
> # upsign
> ok 816 should be strictly equal
> # upsign256
> ok 817 should be strictly equal
> # upsignRSA
> ok 818 should be strictly equal
> # rsign
> ok 819 should be strictly equal
> # rsign_rsa
> ok 820 should be strictly equal
> # raccsign
> ok 821 should be strictly equal
> # raccsignRSA
> ok 822 should be strictly equal
> # rupsign
> ok 823 should be strictly equal
> # rupsignRSA
> ok 824 should be strictly equal
> # rfc5849 example
> ok 825 should be strictly equal
> # rfc5849 RSA example
> ok 826 should be strictly equal
> # plaintext signature method
> ok 827 should be strictly equal
> # invalid transport_method
> ok 828 should throw
> # invalid method while using transport_method 'body'
> ok 829 should throw
> # invalid content-type while using transport_method 'body'
> ok 830 should throw
> # query transport_method
> ok 831 oauth Authorization header should not be present with transport_method 'query'
> ok 832 r.uri.path should equal r.path
> ok 833 path should contain path + query
> not ok 834 should be deeply equivalent
>   ---
>     operator: deepEqual
>     expected: |-
>       { oauth_consumer_key: 'GDdmIQH6jhtmLUypg82g', oauth_nonce: '9zWH6qe0qG7Lc1telCn7FhUbLyVdjEaL3MO5uHxn8', oauth_signature_method: 'HMAC-SHA1', oauth_timestamp: '1272323047', oauth_token: '8ldIZyxQeVrFZXFOZH5tAwj6vzJYuLQpl0WUEYtWc', oauth_verifier: 'pDNg57prOHapMbhv25RNf75lVRd6JDsni1AJJIDYoTY', oauth_version: '1.0', oauth_signature: 'PUw/dHA4fnlJYM6RhXk5IU/0fCc=' }
>     actual: |-
>       [Object: null prototype] { oauth_consumer_key: 'GDdmIQH6jhtmLUypg82g', oauth_nonce: '9zWH6qe0qG7Lc1telCn7FhUbLyVdjEaL3MO5uHxn8', oauth_signature_method: 'HMAC-SHA1', oauth_timestamp: '1272323047', oauth_token: '8ldIZyxQeVrFZXFOZH5tAwj6vzJYuLQpl0WUEYtWc', oauth_verifier: 'pDNg57prOHapMbhv25RNf75lVRd6JDsni1AJJIDYoTY', oauth_version: '1.0', oauth_signature: 'PUw/dHA4fnlJYM6RhXk5IU/0fCc=' }
>     at: <anonymous> (/<<PKGBUILDDIR>>/tests/test-oauth.js:420:7)
>     stack: |-
>       Error: should be deeply equivalent
>           at Test.assert [as _assert] (/usr/share/nodejs/tape/lib/test.js:311:54)
>           at Test.bound [as _assert] (/usr/share/nodejs/tape/lib/test.js:96:32)
>           at Test.tapeDeepEqual (/usr/share/nodejs/tape/lib/test.js:552:10)
>           at Test.bound [as deepEqual] (/usr/share/nodejs/tape/lib/test.js:96:32)
>           at /<<PKGBUILDDIR>>/tests/test-oauth.js:420:7
>           at processTicksAndRejections (internal/process/task_queues.js:79:11)
>   ...
> # query transport_method + form option + url params
> ok 835 oauth Authorization header should not be present with transport_method 'query'
> ok 836 r.uri.path should equal r.path
> ok 837 path should contain path + query
> not ok 838 should be deeply equivalent
>   ---
>     operator: deepEqual
>     expected: |-
>       { b5: '=%3D', a3: 'a', 'c@': '', a2: 'r b', realm: 'Example', oauth_consumer_key: '9djdj82h48djs9d2', oauth_nonce: '7d8f3e4a', oauth_signature_method: 'HMAC-SHA1', oauth_timestamp: '137131201', oauth_token: 'kkk9d7dh3k39sjv7', oauth_version: '1.0', oauth_signature: 'OB33pYjWAnf+xtOHN4Gmbdil168=' }
>     actual: |-
>       [Object: null prototype] { b5: '=%3D', a3: 'a', 'c@': '', a2: 'r b', realm: 'Example', oauth_consumer_key: '9djdj82h48djs9d2', oauth_nonce: '7d8f3e4a', oauth_signature_method: 'HMAC-SHA1', oauth_timestamp: '137131201', oauth_token: 'kkk9d7dh3k39sjv7', oauth_version: '1.0', oauth_signature: 'OB33pYjWAnf+xtOHN4Gmbdil168=' }
>     at: <anonymous> (/<<PKGBUILDDIR>>/tests/test-oauth.js:457:7)
>     stack: |-
>       Error: should be deeply equivalent
>           at Test.assert [as _assert] (/usr/share/nodejs/tape/lib/test.js:311:54)
>           at Test.bound [as _assert] (/usr/share/nodejs/tape/lib/test.js:96:32)
>           at Test.tapeDeepEqual (/usr/share/nodejs/tape/lib/test.js:552:10)
>           at Test.bound [as deepEqual] (/usr/share/nodejs/tape/lib/test.js:96:32)
>           at /<<PKGBUILDDIR>>/tests/test-oauth.js:457:7
>           at processTicksAndRejections (internal/process/task_queues.js:79:11)
>   ...
> # query transport_method + qs option + url params
> ok 839 oauth Authorization header should not be present with transport_method 'query'
> ok 840 r.uri.path should equal r.path
> ok 841 path should contain path + query
> not ok 842 should be deeply equivalent
>   ---
>     operator: deepEqual
>     expected: |-
>       { a2: 'r b', b5: '=%3D', 'a3[0]': 'a', 'a3[1]': '2 q', 'c@': '', c2: '', realm: 'Example', oauth_consumer_key: '9djdj82h48djs9d2', oauth_nonce: '7d8f3e4a', oauth_signature_method: 'HMAC-SHA1', oauth_timestamp: '137131201', oauth_token: 'kkk9d7dh3k39sjv7', oauth_version: '1.0', oauth_signature: 'OB33pYjWAnf+xtOHN4Gmbdil168=' }
>     actual: |-
>       [Object: null prototype] { a2: 'r b', b5: '=%3D', 'a3[0]': 'a', 'a3[1]': '2 q', 'c@': '', c2: '', realm: 'Example', oauth_consumer_key: '9djdj82h48djs9d2', oauth_nonce: '7d8f3e4a', oauth_signature_method: 'HMAC-SHA1', oauth_timestamp: '137131201', oauth_token: 'kkk9d7dh3k39sjv7', oauth_version: '1.0', oauth_signature: 'OB33pYjWAnf+xtOHN4Gmbdil168=' }
>     at: <anonymous> (/<<PKGBUILDDIR>>/tests/test-oauth.js:500:7)
>     stack: |-
>       Error: should be deeply equivalent
>           at Test.assert [as _assert] (/usr/share/nodejs/tape/lib/test.js:311:54)
>           at Test.bound [as _assert] (/usr/share/nodejs/tape/lib/test.js:96:32)
>           at Test.tapeDeepEqual (/usr/share/nodejs/tape/lib/test.js:552:10)
>           at Test.bound [as deepEqual] (/usr/share/nodejs/tape/lib/test.js:96:32)
>           at /<<PKGBUILDDIR>>/tests/test-oauth.js:500:7
>           at processTicksAndRejections (internal/process/task_queues.js:79:11)
>   ...
> # body transport_method
> ok 843 oauth Authorization header should not be present with transport_method 'body'
> not ok 844 should be deeply equivalent
>   ---
>     operator: deepEqual
>     expected: |-
>       { oauth_consumer_key: 'GDdmIQH6jhtmLUypg82g', oauth_nonce: '9zWH6qe0qG7Lc1telCn7FhUbLyVdjEaL3MO5uHxn8', oauth_signature_method: 'HMAC-SHA1', oauth_timestamp: '1272323047', oauth_token: '8ldIZyxQeVrFZXFOZH5tAwj6vzJYuLQpl0WUEYtWc', oauth_verifier: 'pDNg57prOHapMbhv25RNf75lVRd6JDsni1AJJIDYoTY', oauth_version: '1.0', oauth_signature: 'PUw/dHA4fnlJYM6RhXk5IU/0fCc=' }
>     actual: |-
>       [Object: null prototype] { oauth_consumer_key: 'GDdmIQH6jhtmLUypg82g', oauth_nonce: '9zWH6qe0qG7Lc1telCn7FhUbLyVdjEaL3MO5uHxn8', oauth_signature_method: 'HMAC-SHA1', oauth_timestamp: '1272323047', oauth_token: '8ldIZyxQeVrFZXFOZH5tAwj6vzJYuLQpl0WUEYtWc', oauth_verifier: 'pDNg57prOHapMbhv25RNf75lVRd6JDsni1AJJIDYoTY', oauth_version: '1.0', oauth_signature: 'PUw/dHA4fnlJYM6RhXk5IU/0fCc=' }
>     at: <anonymous> (/<<PKGBUILDDIR>>/tests/test-oauth.js:539:7)
>     stack: |-
>       Error: should be deeply equivalent
>           at Test.assert [as _assert] (/usr/share/nodejs/tape/lib/test.js:311:54)
>           at Test.bound [as _assert] (/usr/share/nodejs/tape/lib/test.js:96:32)
>           at Test.tapeDeepEqual (/usr/share/nodejs/tape/lib/test.js:552:10)
>           at Test.bound [as deepEqual] (/usr/share/nodejs/tape/lib/test.js:96:32)
>           at /<<PKGBUILDDIR>>/tests/test-oauth.js:539:7
>           at processTicksAndRejections (internal/process/task_queues.js:79:11)
>   ...
> # body transport_method + form option + url params
> ok 845 oauth Authorization header should not be present with transport_method 'body'
> not ok 846 should be deeply equivalent
>   ---
>     operator: deepEqual
>     expected: |-
>       { c2: '', a3: '2 q', realm: 'Example', oauth_consumer_key: '9djdj82h48djs9d2', oauth_nonce: '7d8f3e4a', oauth_signature_method: 'HMAC-SHA1', oauth_timestamp: '137131201', oauth_token: 'kkk9d7dh3k39sjv7', oauth_version: '1.0', oauth_signature: 'OB33pYjWAnf+xtOHN4Gmbdil168=' }
>     actual: |-
>       [Object: null prototype] { c2: '', a3: '2 q', realm: 'Example', oauth_consumer_key: '9djdj82h48djs9d2', oauth_nonce: '7d8f3e4a', oauth_signature_method: 'HMAC-SHA1', oauth_timestamp: '137131201', oauth_token: 'kkk9d7dh3k39sjv7', oauth_version: '1.0', oauth_signature: 'OB33pYjWAnf+xtOHN4Gmbdil168=' }
>     at: <anonymous> (/<<PKGBUILDDIR>>/tests/test-oauth.js:574:7)
>     stack: |-
>       Error: should be deeply equivalent
>           at Test.assert [as _assert] (/usr/share/nodejs/tape/lib/test.js:311:54)
>           at Test.bound [as _assert] (/usr/share/nodejs/tape/lib/test.js:96:32)
>           at Test.tapeDeepEqual (/usr/share/nodejs/tape/lib/test.js:552:10)
>           at Test.bound [as deepEqual] (/usr/share/nodejs/tape/lib/test.js:96:32)
>           at /<<PKGBUILDDIR>>/tests/test-oauth.js:574:7
>           at processTicksAndRejections (internal/process/task_queues.js:79:11)
>   ...
> # body_hash manually set
> ok 847 should be strictly equal
> # body_hash automatically built for string
> ok 848 should be strictly equal
> # body_hash automatically built for JSON
> ok 849 should be strictly equal
> # body_hash PLAINTEXT signature_method
> ok 850 should throw
> # refresh oauth_nonce on redirect
> ok 851 should be strictly equal
> ok 852 should not be strictly equal
> # no credentials on external redirect
> ok 853 should be strictly equal
> ok 854 should be strictly equal
> # setup
> # chained one-line proxying
> ok 855 should be strictly equal
> ok 856 should be strictly equal
> ok 857 should be strictly equal
> # cleanup
> # setup
> # options object is not mutated
> ok 858 should be strictly equal
> ok 859 should be strictly equal
> ok 860 should be strictly equal
> ok 861 should be strictly equal
> ok 862 should be strictly equal
> ok 863 should be strictly equal
> ok 864 should be strictly equal
> ok 865 should be strictly equal
> ok 866 should be strictly equal
> ok 867 should be strictly equal
> # cleanup
> # setup
> # options(string, function)
> ok 868 should be strictly equal
> ok 869 should be strictly equal
> ok 870 should be strictly equal
> # options(object, function)
> ok 871 should be strictly equal
> ok 872 should be strictly equal
> ok 873 should be strictly equal
> # cleanup
> # setup
> # testGet
> ok 874 should be strictly equal
> ok 875 should be deeply equivalent
> # testGetChunkBreak
> ok 876 should be strictly equal
> ok 877 should be deeply equivalent
> # testGetBuffer
> ok 878 should be strictly equal
> ok 879 should be strictly equal
> # testGetJSON
> ok 880 should be strictly equal
> ok 881 should be deeply equivalent
> # testPutString
> ok 882 should be strictly equal
> # testPutBuffer
> ok 883 should be strictly equal
> # testPutJSON
> ok 884 should be strictly equal
> # testPutMultipart
> ok 885 should be strictly equal
> # cleanup
> # setup
> # piped redirect
> ok 886 should be strictly equal
> ok 887 should be strictly equal
> # cleanup
> # setup
> # piping to a request object
> ok 888 should be strictly equal
> ok 889 should be strictly equal
> ok 890 should be strictly equal
> # piping to a request object with invalid uri
> ok 891 should be truthy
> ok 892 should be strictly equal
> # piping to a request object with a json body
> ok 893 should be strictly equal
> ok 894 should be strictly equal
> ok 895 should be deeply equivalent
> # piping from a request object
> ok 896 should be strictly equal
> # pause when piping from a request object
> ok 897 Only receive data when not paused
> ok 898 should be strictly equal
> ok 899 Only receive data when not paused
> ok 900 should be strictly equal
> # pause before piping from a request object
> ok 901 Only receive data when not paused
> ok 902 should be strictly equal
> # piping from a file
> ok 903 should be strictly equal
> ok 904 should be strictly equal
> ok 905 should be strictly equal
> # piping from a file with content-length
> ok 906 should be strictly equal
> ok 907 should be strictly equal
> ok 908 should be strictly equal
> # piping to and from same URL
> ok 909 should be strictly equal
> ok 910 should be strictly equal
> ok 911 should be strictly equal
> # piping between urls
> ok 912 should be strictly equal
> ok 913 should be strictly equal
> ok 914 should be strictly equal
> # writing to file
> ok 915 should be deeply equivalent
> # one-line proxy
> ok 916 should be strictly equal
> ok 917 should be strictly equal
> # piping after response
> ok 918 should be strictly equal
> # piping through a redirect
> ok 919 should be strictly equal
> # pipe options
> # request.pipefilter is called correctly
> ok 920 should be strictly equal
> ok 921 should be strictly equal
> not ok 922 .end() already called: should be strictly equal
>   ---
>     operator: fail
>     at: ValidationStream.<anonymous> (/<<PKGBUILDDIR>>/tests/test-pipes.js:47:7)
>     stack: |-
>       Error: .end() already called: should be strictly equal
>           at Test.assert [as _assert] (/usr/share/nodejs/tape/lib/test.js:311:54)
>           at Test.bound [as _assert] (/usr/share/nodejs/tape/lib/test.js:96:32)
>           at Test.fail (/usr/share/nodejs/tape/lib/test.js:405:10)
>           at Test.bound [as fail] (/usr/share/nodejs/tape/lib/test.js:96:32)
>           at Test.assert [as _assert] (/usr/share/nodejs/tape/lib/test.js:289:14)
>           at Test.bound [as _assert] (/usr/share/nodejs/tape/lib/test.js:96:32)
>           at Test.strictEqual (/usr/share/nodejs/tape/lib/test.js:475:10)
>           at Test.bound [as equal] (/usr/share/nodejs/tape/lib/test.js:96:32)
>           at ValidationStream.<anonymous> (/<<PKGBUILDDIR>>/tests/test-pipes.js:47:7)
>           at ValidationStream.emit (events.js:314:20)
>           at ValidationStream.end (/<<PKGBUILDDIR>>/tests/test-pipes.js:62:8)
>           at Request.onend (internal/streams/legacy.js:46:10)
>           at Request.emit (events.js:326:22)
>           at IncomingMessage.<anonymous> (/<<PKGBUILDDIR>>/request.js:1083:12)
>           at Object.onceWrapper (events.js:420:28)
>           at IncomingMessage.emit (events.js:326:22)
>   ...
> # cleanup
> # setup
> # pool
> ok 923 should be strictly equal
> ok 924 should be strictly equal
> ok 925 should be strictly equal
> ok 926 should be strictly equal
> # forever
> ok 927 should be strictly equal
> ok 928 should be strictly equal
> ok 929 should be strictly equal
> ok 930 should be strictly equal
> # forever, should use same agent in sequential requests
> ok 931 should be strictly equal
> # forever, should use same agent in sequential requests(with pool.maxSockets)
> ok 932 should be strictly equal
> ok 933 should be strictly equal
> # forever, should use same agent in request() and request.verb
> ok 934 should be strictly equal
> ok 935 should be strictly equal
> # should use different agent if pool option specified
> ok 936 should be strictly equal
> ok 937 should be strictly equal
> ok 938 should not be strictly equal
> # cleanup
> # setup
> # promisify convenience method
> ok 939 should be strictly equal
> # promisify request function
> ok 940 should be strictly equal
> # promisify all methods
> ok 941 should be strictly equal
> # cleanup
> # setup
> # proxy
> ok 942 should be strictly equal
> ok 943 should be strictly equal
> ok 944 should be strictly equal
> ok 945 should be strictly equal
> ok 946 the request must be made to the proxy server
> # cleanup
> # setup
> # adding a querystring - using qs
> ok 947 should be strictly equal
> # adding a querystring - using querystring
> ok 948 should be strictly equal
> # replacing a querystring value - using qs
> ok 949 should be strictly equal
> # replacing a querystring value - using querystring
> ok 950 should be strictly equal
> # appending a querystring value to the ones present in the uri - using qs
> ok 951 should be strictly equal
> # appending a querystring value to the ones present in the uri - using querystring
> ok 952 should be strictly equal
> # leaving a querystring alone - using qs
> ok 953 should be strictly equal
> # leaving a querystring alone - using querystring
> ok 954 should be strictly equal
> # giving empty qs property - using qs
> ok 955 should be strictly equal
> # giving empty qs property - using querystring
> ok 956 should be strictly equal
> # modifying the qs after creating the request - using qs
> ok 957 should be strictly equal
> # modifying the qs after creating the request - using querystring
> ok 958 should be strictly equal
> # a query with an object for a value - using qs
> ok 959 should be strictly equal
> # a query with an object for a value - using querystring
> ok 960 should be strictly equal
> # a query with an array for a value - using qs
> ok 961 should be strictly equal
> # a query with an array for a value - using querystring
> ok 962 should be strictly equal
> # pass options to the qs module via the qsParseOptions key - using qs
> ok 963 should be strictly equal
> # pass options to the qs module via the qsParseOptions key - using querystring
> ok 964 should be strictly equal
> # pass options to the qs module via the qsStringifyOptions key - using qs
> ok 965 should be strictly equal
> # pass options to the qs module via the qsStringifyOptions key - using querystring
> ok 966 should be strictly equal
> # pass options to the querystring module via the qsParseOptions key - using qs
> ok 967 should be strictly equal
> # pass options to the querystring module via the qsParseOptions key - using querystring
> ok 968 should be strictly equal
> # pass options to the querystring module via the qsStringifyOptions key - using qs
> ok 969 should be strictly equal
> # pass options to the querystring module via the qsStringifyOptions key - using querystring
> ok 970 should be strictly equal
> # qs rfc3986 qs
> ok 971 should be strictly equal
> ok 972 should be strictly equal
> ok 973 should be strictly equal
> # qs rfc3986 qs + json
> ok 974 should be strictly equal
> ok 975 should be strictly equal
> ok 976 should be strictly equal
> # qs rfc3986 form
> ok 977 should be strictly equal
> ok 978 should be strictly equal
> # qs rfc3986 form + json
> ok 979 should be strictly equal
> ok 980 should be strictly equal
> # qs rfc3986 qs + form
> ok 981 should be strictly equal
> ok 982 should be strictly equal
> ok 983 should be strictly equal
> # qs rfc3986 qs + form + json
> ok 984 should be strictly equal
> ok 985 should be strictly equal
> ok 986 should be strictly equal
> # qs rfc3986 body + header + json
> ok 987 should be strictly equal
> ok 988 should be strictly equal
> # qs rfc3986 body + json
> ok 989 should be strictly equal
> ok 990 should be strictly equal
> # qs rfc3986 json object
> ok 991 should be strictly equal
> ok 992 should be strictly equal
> # querystring rfc3986 qs
> ok 993 should be strictly equal
> ok 994 should be strictly equal
> ok 995 should be strictly equal
> # querystring rfc3986 qs + json
> ok 996 should be strictly equal
> ok 997 should be strictly equal
> ok 998 should be strictly equal
> # querystring rfc3986 form
> ok 999 should be strictly equal
> ok 1000 should be strictly equal
> # querystring rfc3986 form + json
> ok 1001 should be strictly equal
> ok 1002 should be strictly equal
> # querystring rfc3986 qs + form
> ok 1003 should be strictly equal
> ok 1004 should be strictly equal
> ok 1005 should be strictly equal
> # querystring rfc3986 qs + form + json
> ok 1006 should be strictly equal
> ok 1007 should be strictly equal
> ok 1008 should be strictly equal
> # querystring rfc3986 body + header + json
> ok 1009 should be strictly equal
> ok 1010 should be strictly equal
> # querystring rfc3986 body + json
> ok 1011 should be strictly equal
> ok 1012 should be strictly equal
> # querystring rfc3986 json object
> ok 1013 should be strictly equal
> ok 1014 should be strictly equal
> # before
> # request body stream
> ok 1015 null
> ok 1016 should be strictly equal
> # after
> # setup
> # should timeout
> ok 1017 should not be strictly equal
> ok 1018 Error ETIMEDOUT or ESOCKETTIMEDOUT
> # should set connect to false
> ok 1019 should not be strictly equal
> ok 1020 Error ETIMEDOUT or ESOCKETTIMEDOUT
> ok 1021 Read Timeout Error should set 'connect' property to false
> # should timeout with events
> ok 1022 should be strictly equal
> ok 1023 should not be strictly equal
> ok 1024 Error ETIMEDOUT or ESOCKETTIMEDOUT
> # should not timeout
> ok 1025 should be strictly equal
> ok 1026 should be strictly equal
> ok 1027 Connect listener should not exist
> # no timeout
> ok 1028 should be strictly equal
> ok 1029 should be strictly equal
> # negative timeout
> # float timeout
> ok 1030 should not be strictly equal
> ok 1031 Error ETIMEDOUT or ESOCKETTIMEDOUT
> # connect timeout with non-timeout error
> ok 1032 should not be strictly equal
> ok 1033 Connect listener should not exist
> # request timeout with keep-alive connection
> ok 1034 Socket should be new
> ok 1035 should be strictly equal
> ok 1036 Socket should already be connected
> ok 1037 should not be strictly equal
> ok 1038 Error ETIMEDOUT or ESOCKETTIMEDOUT
> ok 1039 Error should have been a request timeout error
> # cleanup
> # setup
> # non-redirected request is timed
> ok 1040 should be strictly equal
> ok 1041 should be strictly equal
> ok 1042 should be strictly equal
> ok 1043 should be strictly equal
> ok 1044 should be strictly equal
> ok 1045 should be strictly equal
> ok 1046 should be strictly equal
> ok 1047 should be strictly equal
> ok 1048 should be strictly equal
> ok 1049 should be strictly equal
> ok 1050 should be strictly equal
> ok 1051 should be strictly equal
> ok 1052 should be strictly equal
> ok 1053 should be strictly equal
> ok 1054 should be strictly equal
> ok 1055 should be strictly equal
> ok 1056 should be strictly equal
> ok 1057 should be strictly equal
> ok 1058 should be strictly equal
> ok 1059 should be strictly equal
> ok 1060 should be strictly equal
> ok 1061 should be strictly equal
> ok 1062 should be deeply equivalent
> ok 1063 should be deeply equivalent
> # redirected request is timed with rollup
> ok 1064 should be strictly equal
> ok 1065 should be strictly equal
> ok 1066 should be strictly equal
> ok 1067 should be strictly equal
> ok 1068 should be strictly equal
> ok 1069 should be strictly equal
> ok 1070 should be strictly equal
> # keepAlive is timed
> ok 1071 should be strictly equal
> ok 1072 should be strictly equal
> ok 1073 should be strictly equal
> ok 1074 should be strictly equal
> ok 1075 should be strictly equal
> ok 1076 should be strictly equal
> ok 1077 should be strictly equal
> ok 1078 should be strictly equal
> ok 1079 should be strictly equal
> ok 1080 should be strictly equal
> ok 1081 should be strictly equal
> ok 1082 should be strictly equal
> # cleanup
> # setup
> # request().toJSON()
> ok 1083 should be strictly equal
> ok 1084 should be strictly equal
> ok 1085 should be strictly equal
> ok 1086 should be strictly equal
> ok 1087 should be strictly equal
> ok 1088 should be strictly equal
> ok 1089 should be strictly equal
> # cleanup
> # setup
> # unix socket connection
> ok 1090 no error in connection
> ok 1091 got HTTP 200 OK response
> ok 1092 expected response body is received
> # unix socket connection with qs
> ok 1093 no error in connection
> ok 1094 got HTTP 200 OK response
> ok 1095 expected response body is received
> # cleanup
> # test baseurl="http://localhost:44925" uri=""
> ok 1096 should be strictly equal
> ok 1097 should be strictly equal
> ok 1098 should be strictly equal
> # test baseurl="http://localhost:44925/" uri=""
> ok 1099 should be strictly equal
> ok 1100 should be strictly equal
> ok 1101 should be strictly equal
> # test baseurl="http://localhost:44925" uri="/"
> ok 1102 should be strictly equal
> ok 1103 should be strictly equal
> ok 1104 should be strictly equal
> # test baseurl="http://localhost:44925/" uri="/"
> ok 1105 should be strictly equal
> ok 1106 should be strictly equal
> ok 1107 should be strictly equal
> # test baseurl="http://localhost:44925/api" uri=""
> ok 1108 should be strictly equal
> ok 1109 should be strictly equal
> ok 1110 should be strictly equal
> # test baseurl="http://localhost:44925/api/" uri=""
> ok 1111 should be strictly equal
> ok 1112 should be strictly equal
> ok 1113 should be strictly equal
> # test baseurl="http://localhost:44925/api" uri="/"
> ok 1114 should be strictly equal
> ok 1115 should be strictly equal
> ok 1116 should be strictly equal
> # test baseurl="http://localhost:44925/api/" uri="/"
> ok 1117 should be strictly equal
> ok 1118 should be strictly equal
> ok 1119 should be strictly equal
> # test baseurl="http://localhost:44925/api" uri="resource"
> ok 1120 should be strictly equal
> ok 1121 should be strictly equal
> ok 1122 should be strictly equal
> # test baseurl="http://localhost:44925/api/" uri="resource"
> ok 1123 should be strictly equal
> ok 1124 should be strictly equal
> ok 1125 should be strictly equal
> # test baseurl="http://localhost:44925/api" uri="/resource"
> ok 1126 should be strictly equal
> ok 1127 should be strictly equal
> ok 1128 should be strictly equal
> # test baseurl="http://localhost:44925/api/" uri="/resource"
> ok 1129 should be strictly equal
> ok 1130 should be strictly equal
> ok 1131 should be strictly equal
> # test baseurl="http://localhost:44925/api" uri="resource/"
> ok 1132 should be strictly equal
> ok 1133 should be strictly equal
> ok 1134 should be strictly equal
> # test baseurl="http://localhost:44925/api/" uri="resource/"
> ok 1135 should be strictly equal
> ok 1136 should be strictly equal
> ok 1137 should be strictly equal
> # test baseurl="http://localhost:44925/api" uri="/resource/"
> ok 1138 should be strictly equal
> ok 1139 should be strictly equal
> ok 1140 should be strictly equal
> # test baseurl="http://localhost:44925/api/" uri="/resource/"
> ok 1141 should be strictly equal
> ok 1142 should be strictly equal
> ok 1143 should be strictly equal
> # cleanup
> # #125: headers.cookie with no cookie jar
> ok 1144 should be strictly equal
> ok 1145 should be strictly equal
> ok 1146 should be strictly equal
> # #125: headers.cookie + cookie jar
> ok 1147 should be strictly equal
> ok 1148 should be strictly equal
> ok 1149 should be strictly equal
> # #794: ignore cookie parsing and domain errors
> ok 1150 should be strictly equal
> ok 1151 should be strictly equal
> ok 1152 should be strictly equal
> # #784: override content-type when json is used
> ok 1153 should be strictly equal
> ok 1154 should be strictly equal
> ok 1155 should be strictly equal
> # neither headers.cookie nor a cookie jar is specified
> ok 1156 should be strictly equal
> ok 1157 should be strictly equal
> ok 1158 should be strictly equal
> # cleanup
> # basic proxy
> ok 1159 should be strictly equal
> ok 1160 should be strictly equal
> ok 1161 should be strictly equal
> ok 1162 should be strictly equal
> ok 1163 should be strictly equal
> # proxy auth without uri auth
> ok 1164 should be strictly equal
> ok 1165 should be strictly equal
> ok 1166 should be strictly equal
> ok 1167 should be strictly equal
> ok 1168 should be strictly equal
> # HTTP_PROXY environment variable and http: url
> ok 1169 should be strictly equal
> ok 1170 should be strictly equal
> ok 1171 should be strictly equal
> ok 1172 should be strictly equal
> # http_proxy environment variable and http: url
> ok 1173 should be strictly equal
> ok 1174 should be strictly equal
> ok 1175 should be strictly equal
> ok 1176 should be strictly equal
> # HTTP_PROXY environment variable and https: url
> ok 1177 should be strictly equal
> ok 1178 should be strictly equal
> ok 1179 should be strictly equal
> ok 1180 should be strictly equal
> # http_proxy environment variable and https: url
> ok 1181 should be strictly equal
> ok 1182 should be strictly equal
> ok 1183 should be strictly equal
> ok 1184 should be strictly equal
> # HTTPS_PROXY environment variable and https: url
> ok 1185 should be strictly equal
> ok 1186 should be strictly equal
> ok 1187 should be strictly equal
> ok 1188 should be strictly equal
> # https_proxy environment variable and https: url
> ok 1189 should be strictly equal
> ok 1190 should be strictly equal
> ok 1191 should be strictly equal
> ok 1192 should be strictly equal
> # multiple environment variables and https: url
> ok 1193 should be strictly equal
> ok 1194 should be strictly equal
> ok 1195 should be strictly equal
> ok 1196 should be strictly equal
> # NO_PROXY ignored with explicit proxy passed
> ok 1197 should be strictly equal
> ok 1198 should be strictly equal
> ok 1199 should be strictly equal
> ok 1200 should be strictly equal
> # NO_PROXY does not override HTTP_PROXY if no hostnames match
> ok 1201 should be strictly equal
> ok 1202 should be strictly equal
> ok 1203 should be strictly equal
> ok 1204 should be strictly equal
> # NO_PROXY only overrides HTTP_PROXY if the port matches
> ok 1205 should be strictly equal
> ok 1206 should be strictly equal
> ok 1207 should be strictly equal
> ok 1208 should be strictly equal
> # http_proxy with length of one more than the URL
> ok 1209 should be strictly equal
> ok 1210 should be strictly equal
> ok 1211 should be strictly equal
> ok 1212 should be strictly equal
> # uri auth without proxy auth
> ok 1213 should be strictly equal
> ok 1214 should be strictly equal
> ok 1215 should be strictly equal
> ok 1216 should be strictly equal
> ok 1217 should be strictly equal
> ok 1218 should be strictly equal
> # cleanup
> 
> 1..1218
> # tests 1218
> # pass  1212
> # fail  6
> 
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/node-request_2.88.1-5_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list