Advertisement
Guest User

Untitled

a guest
May 15th, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 19.97 KB | None | 0 0
  1. (plugins)(git:(master))make test
  2.  
  3.  
  4.   accept parser
  5.     1) "before all" hook
  6. (node:781) DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead.
  7.     2) "after all" hook
  8.  
  9.   audit logger
  10.     3) "before each" hook for "should buffer audit logger"
  11.     4) "after each" hook for "should buffer audit logger"
  12.  
  13.   authorization parser
  14.     5) "before all" hook
  15.     6) "after all" hook
  16.  
  17.   accept parser
  18.     7) "before each" hook for "Correct Etag and headers"
  19.     8) "after each" hook for "Correct Etag and headers"
  20.  
  21.   fielded text parser
  22.     ✓ should parse CSV body (61ms)
  23.     ✓ should parse TSV body
  24.     ✓ plugins-GH-6: should expose rawBody on request
  25.  
  26.   form body parser
  27.     9) "before each" hook for "should parse req.body, req.query, req.params"
  28.  
  29.   gzip parser
  30.     10) "before each" hook for "should gzip response"
  31.     11) "after each" hook for "should gzip response"
  32.  
  33.   JSON body parser
  34.     12) "before each" hook for "should parse null JSON body"
  35.     13) "after each" hook for "should parse null JSON body"
  36.  
  37.   multipart parser
  38.     14) "before each" hook for "body multipart ok"
  39.  
  40.   all other plugins
  41.     date parser
  42.       ✓ should reject expired request
  43.     request logger
  44.       ✓ tests the requestLoggers extra header properties
  45.     full response
  46.       ✓ full response
  47.  
  48.   query parser
  49.     15) "before each" hook for "restify-GH-124 should return empty query"
  50.     16) "after each" hook for "restify-GH-124 should return empty query"
  51.  
  52.   request expiry parser
  53.     absolute header
  54.       17) "before each" hook for "should timeout due to request expiry"
  55.       18) "after each" hook for "should timeout due to request expiry"
  56.  
  57.   static resource plugin
  58.     19) "before each" hook for "static serves static files"
  59.     20) "after each" hook for "static serves static files"
  60.  
  61.   throttle plugin
  62.     ✓ ok
  63.     ✓ throttled (2107ms)
  64.     ✓ ok after tokens
  65.     ✓ override limited
  66.     ✓ override limited (not throttled)
  67.     ✓ throttled after limited override
  68.     ✓ override unlimited
  69.     ✓ override unlimited (not throttled)
  70.     ✓ throttled after unlimited override
  71.  
  72.  
  73.   15 passing (4s)
  74.   20 failing
  75.  
  76.   1) accept parser "before all" hook:
  77.      RangeError: "port" argument must be >= 0 and < 65536
  78.       at assertPort (internal/net.js:17:11)
  79.       at Server.listen (net.js:1389:5)
  80.       at Server.listen (/media/derevandal/datahouse/projects/plugins/node_modules/restify/lib/server.js:398:32)
  81.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/accept.test.js:32:16)
  82.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  83.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  84.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  85.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  86.       at tryOnImmediate (timers.js:543:15)
  87.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  88.  
  89.   2) accept parser "after all" hook:
  90.      TypeError: Cannot read property 'close' of undefined
  91.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/accept.test.js:45:15)
  92.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  93.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  94.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  95.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  96.       at tryOnImmediate (timers.js:543:15)
  97.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  98.  
  99.   3) audit logger "before each" hook for "should buffer audit logger":
  100.      RangeError: "port" argument must be >= 0 and < 65536
  101.       at assertPort (internal/net.js:17:11)
  102.       at Server.listen (net.js:1389:5)
  103.       at Server.listen (/media/derevandal/datahouse/projects/plugins/node_modules/restify/lib/server.js:398:32)
  104.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/audit.test.js:28:16)
  105.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  106.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  107.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  108.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  109.       at tryOnImmediate (timers.js:543:15)
  110.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  111.  
  112.   4) audit logger "after each" hook for "should buffer audit logger":
  113.      TypeError: Cannot read property 'close' of undefined
  114.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/audit.test.js:41:15)
  115.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  116.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  117.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  118.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  119.       at tryOnImmediate (timers.js:543:15)
  120.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  121.  
  122.   5) authorization parser "before all" hook:
  123.      RangeError: "port" argument must be >= 0 and < 65536
  124.       at assertPort (internal/net.js:17:11)
  125.       at Server.listen (net.js:1389:5)
  126.       at Server.listen (/media/derevandal/datahouse/projects/plugins/node_modules/restify/lib/server.js:398:32)
  127.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/authorization.test.js:32:16)
  128.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  129.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  130.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  131.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  132.       at tryOnImmediate (timers.js:543:15)
  133.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  134.  
  135.   6) authorization parser "after all" hook:
  136.      TypeError: Cannot read property 'close' of undefined
  137.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/authorization.test.js:45:15)
  138.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  139.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  140.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  141.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  142.       at tryOnImmediate (timers.js:543:15)
  143.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  144.  
  145.   7) accept parser "before each" hook for "Correct Etag and headers":
  146.      RangeError: "port" argument must be >= 0 and < 65536
  147.       at assertPort (internal/net.js:17:11)
  148.       at Server.listen (net.js:1389:5)
  149.       at Server.listen (/media/derevandal/datahouse/projects/plugins/node_modules/restify/lib/server.js:398:32)
  150.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/conditionalRequest.test.js:25:16)
  151.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  152.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  153.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  154.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  155.       at tryOnImmediate (timers.js:543:15)
  156.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  157.  
  158.   8) accept parser "after each" hook for "Correct Etag and headers":
  159.      TypeError: Cannot read property 'close' of undefined
  160.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/conditionalRequest.test.js:38:15)
  161.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  162.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  163.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  164.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  165.       at tryOnImmediate (timers.js:543:15)
  166.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  167.  
  168.   9) form body parser "before each" hook for "should parse req.body, req.query, req.params":
  169.      RangeError: "port" argument must be >= 0 and < 65536
  170.       at assertPort (internal/net.js:17:11)
  171.       at Server.listen (net.js:1389:5)
  172.       at Server.listen (/media/derevandal/datahouse/projects/plugins/node_modules/restify/lib/server.js:398:32)
  173.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/formBodyParser.test.js:26:16)
  174.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  175.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  176.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  177.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  178.       at tryOnImmediate (timers.js:543:15)
  179.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  180.  
  181.   10) gzip parser "before each" hook for "should gzip response":
  182.      RangeError: "port" argument must be >= 0 and < 65536
  183.       at assertPort (internal/net.js:17:11)
  184.       at Server.listen (net.js:1389:5)
  185.       at Server.listen (/media/derevandal/datahouse/projects/plugins/node_modules/restify/lib/server.js:398:32)
  186.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/gzip.test.js:25:16)
  187.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  188.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  189.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  190.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  191.       at tryOnImmediate (timers.js:543:15)
  192.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  193.  
  194.   11) gzip parser "after each" hook for "should gzip response":
  195.      TypeError: Cannot read property 'close' of undefined
  196.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/gzip.test.js:38:15)
  197.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  198.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  199.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  200.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  201.       at tryOnImmediate (timers.js:543:15)
  202.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  203.  
  204.   12) JSON body parser "before each" hook for "should parse null JSON body":
  205.      RangeError: "port" argument must be >= 0 and < 65536
  206.       at assertPort (internal/net.js:17:11)
  207.       at Server.listen (net.js:1389:5)
  208.       at Server.listen (/media/derevandal/datahouse/projects/plugins/node_modules/restify/lib/server.js:398:32)
  209.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/jsonBodyParser.test.js:31:16)
  210.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  211.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  212.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  213.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  214.       at tryOnImmediate (timers.js:543:15)
  215.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  216.  
  217.   13) JSON body parser "after each" hook for "should parse null JSON body":
  218.      TypeError: Cannot read property 'close' of undefined
  219.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/jsonBodyParser.test.js:52:15)
  220.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  221.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  222.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  223.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  224.       at tryOnImmediate (timers.js:543:15)
  225.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  226.  
  227.   14) multipart parser "before each" hook for "body multipart ok":
  228.      RangeError: "port" argument must be >= 0 and < 65536
  229.       at assertPort (internal/net.js:17:11)
  230.       at Server.listen (net.js:1389:5)
  231.       at Server.listen (/media/derevandal/datahouse/projects/plugins/node_modules/restify/lib/server.js:398:32)
  232.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/multipart.test.js:31:16)
  233.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  234.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  235.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  236.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  237.       at tryOnImmediate (timers.js:543:15)
  238.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  239.  
  240.   15) query parser "before each" hook for "restify-GH-124 should return empty query":
  241.      RangeError: "port" argument must be >= 0 and < 65536
  242.       at assertPort (internal/net.js:17:11)
  243.       at Server.listen (net.js:1389:5)
  244.       at Server.listen (/media/derevandal/datahouse/projects/plugins/node_modules/restify/lib/server.js:398:32)
  245.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/query.test.js:26:16)
  246.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  247.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  248.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  249.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  250.       at tryOnImmediate (timers.js:543:15)
  251.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  252.  
  253.   16) query parser "after each" hook for "restify-GH-124 should return empty query":
  254.      TypeError: Cannot read property 'close' of undefined
  255.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/query.test.js:39:15)
  256.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  257.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  258.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  259.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  260.       at tryOnImmediate (timers.js:543:15)
  261.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  262.  
  263.   17) request expiry parser "before each" hook for "should timeout due to request expiry":
  264.      RangeError: "port" argument must be >= 0 and < 65536
  265.       at assertPort (internal/net.js:17:11)
  266.       at Server.listen (net.js:1389:5)
  267.       at Server.listen (/media/derevandal/datahouse/projects/plugins/node_modules/restify/lib/server.js:398:32)
  268.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/requestExpiry.test.js:25:16)
  269.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  270.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  271.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  272.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  273.       at tryOnImmediate (timers.js:543:15)
  274.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  275.  
  276.   18) request expiry parser "after each" hook for "should timeout due to request expiry":
  277.      TypeError: Cannot read property 'close' of undefined
  278.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/requestExpiry.test.js:39:15)
  279.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  280.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  281.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  282.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  283.       at tryOnImmediate (timers.js:543:15)
  284.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  285.  
  286.   19) static resource plugin "before each" hook for "static serves static files":
  287.      RangeError: "port" argument must be >= 0 and < 65536
  288.       at assertPort (internal/net.js:17:11)
  289.       at Server.listen (net.js:1389:5)
  290.       at Server.listen (/media/derevandal/datahouse/projects/plugins/node_modules/restify/lib/server.js:398:32)
  291.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/static.test.js:35:16)
  292.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  293.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  294.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  295.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  296.       at tryOnImmediate (timers.js:543:15)
  297.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  298.  
  299.   20) static resource plugin "after each" hook for "static serves static files":
  300.      TypeError: Cannot read property 'close' of undefined
  301.       at Context.<anonymous> (/media/derevandal/datahouse/projects/plugins/test/static.test.js:68:15)
  302.       at callFnAsync (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:338:8)
  303.       at Hook.Runnable.run (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runnable.js:290:7)
  304.       at next (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:298:10)
  305.       at Immediate._onImmediate (/media/derevandal/datahouse/projects/plugins/node_modules/mocha/lib/runner.js:320:5)
  306.       at tryOnImmediate (timers.js:543:15)
  307.       at processImmediate [as _immediateCallback] (timers.js:523:5)
  308.  
  309.  
  310.  
  311. Makefile:84: recipe for target 'test' failed
  312. make: *** [test] Error 20
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement