[Pkg-javascript-devel] Need help in test failures in node-glob-stream
Sruthi Chandran
srud at disroot.org
Sun Dec 11 06:46:40 UTC 2016
Hi,
I have packaged node-glob-stream and a few tests are failing.
Request help in debugging the issue. It is already pushed to alioth.
1) glob-stream create() should return a file name stream that does not
duplicate when piped twice:
Uncaught Error: write after end
at writeAfterEnd (_stream_writable.js:166:12)
at DestroyableTransform.Writable.write (_stream_writable.js:211:5)
at DestroyableTransform.ondata (_stream_readable.js:542:20)
at emitOne (events.js:77:13)
at DestroyableTransform.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at DestroyableTransform.Readable.push (_stream_readable.js:111:10)
at DestroyableTransform.Transform.push (_stream_transform.js:128:32)
at afterTransform (_stream_transform.js:77:12)
at TransformState.afterTransform (_stream_transform.js:54:12)
at DestroyableTransform.noop [as _transform]
(/usr/lib/nodejs/through2/through2.js:26:3)
at DestroyableTransform.Transform._read (_stream_transform.js:167:10)
at DestroyableTransform.Transform._write (_stream_transform.js:155:12)
at doWrite (_stream_writable.js:300:12)
at writeOrBuffer (_stream_writable.js:286:5)
at DestroyableTransform.Writable.write (_stream_writable.js:214:11)
at Glob.<anonymous>
(/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/index.js:49:14)
at emitOne (events.js:77:13)
at Glob.emit (events.js:169:7)
at Glob._emitMatch (/usr/lib/nodejs/glob/glob.js:491:8)
at Glob._processSimple2 (/usr/lib/nodejs/glob/glob.js:707:8)
at /usr/lib/nodejs/glob/glob.js:678:10
at Glob._stat2 (/usr/lib/nodejs/glob/glob.js:791:10)
at lstatcb_ (/usr/lib/nodejs/glob/glob.js:766:12)
at RES (/usr/lib/nodejs/inflight/inflight.js:31:16)
at f (/usr/lib/nodejs/once.js:25:25)
at FSReqWrap.oncomplete (fs.js:82:15)
2) glob-stream create() should return a file name stream with dotfiles
negated:
Uncaught Error: It matched!
at DestroyableTransform.<anonymous>
(/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/test/main.js:267:15)
at DestroyableTransform.g (events.js:260:16)
at emitOne (events.js:77:13)
at DestroyableTransform.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at DestroyableTransform.Readable.push (_stream_readable.js:111:10)
at DestroyableTransform.Transform.push (_stream_transform.js:128:32)
at afterTransform (_stream_transform.js:77:12)
at TransformState.afterTransform (_stream_transform.js:54:12)
at DestroyableTransform.filterNegatives [as _transform]
(/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/index.js:61:9)
at DestroyableTransform.Transform._read (_stream_transform.js:167:10)
at DestroyableTransform.Transform._write (_stream_transform.js:155:12)
at doWrite (_stream_writable.js:300:12)
at writeOrBuffer (_stream_writable.js:286:5)
at DestroyableTransform.Writable.write (_stream_writable.js:214:11)
at Glob.<anonymous>
(/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/index.js:49:14)
at emitOne (events.js:77:13)
at Glob.emit (events.js:169:7)
at Glob._emitMatch (/usr/lib/nodejs/glob/glob.js:491:8)
at Glob._processReaddir2 (/usr/lib/nodejs/glob/glob.js:433:12)
at /usr/lib/nodejs/glob/glob.js:373:17
at RES (/usr/lib/nodejs/inflight/inflight.js:31:16)
at f (/usr/lib/nodejs/once.js:25:25)
at Glob._readdirEntries (/usr/lib/nodejs/glob/glob.js:580:10)
at /usr/lib/nodejs/glob/glob.js:557:12
at FSReqWrap.oncomplete (fs.js:82:15)
3) glob-stream create() should return a input stream that can be piped
to other input streams and remove duplicates:
Error: done() called multiple times
at multiple (/usr/lib/nodejs/mocha/lib/runnable.js:175:31)
at done (/usr/lib/nodejs/mocha/lib/runnable.js:181:26)
at /usr/lib/nodejs/mocha/lib/runnable.js:199:9
at DestroyableTransform.<anonymous>
(/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/test/main.js:443:9)
at emitNone (events.js:72:20)
at DestroyableTransform.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:921:12)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)
4) glob-stream create() should return a input stream that can be piped
to other input streams and remove duplicates:
Error: done() called multiple times
at multiple (/usr/lib/nodejs/mocha/lib/runnable.js:175:31)
at done (/usr/lib/nodejs/mocha/lib/runnable.js:181:26)
at /usr/lib/nodejs/mocha/lib/runnable.js:199:9
at DestroyableTransform.<anonymous>
(/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/test/main.js:443:9)
at emitNone (events.js:72:20)
at DestroyableTransform.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:921:12)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)
5) glob-stream create() should return a file name stream with negation
from a glob:
Uncaught Error: file
/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/test/fixtures/whatsgoingon/test.js
should have been negated
at DestroyableTransform.<anonymous>
(/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/test/main.js:454:15)
at emitOne (events.js:77:13)
at DestroyableTransform.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at DestroyableTransform.Readable.push (_stream_readable.js:111:10)
at DestroyableTransform.Transform.push (_stream_transform.js:128:32)
at afterTransform (_stream_transform.js:77:12)
at TransformState.afterTransform (_stream_transform.js:54:12)
at DestroyableTransform.filterNegatives [as _transform]
(/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/index.js:61:9)
at DestroyableTransform.Transform._read (_stream_transform.js:167:10)
at DestroyableTransform.Transform._write (_stream_transform.js:155:12)
at doWrite (_stream_writable.js:300:12)
at writeOrBuffer (_stream_writable.js:286:5)
at DestroyableTransform.Writable.write (_stream_writable.js:214:11)
at Glob.<anonymous>
(/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/index.js:49:14)
at emitOne (events.js:77:13)
at Glob.emit (events.js:169:7)
at Glob._emitMatch (/usr/lib/nodejs/glob/glob.js:491:8)
at Glob._processReaddir2 (/usr/lib/nodejs/glob/glob.js:433:12)
at /usr/lib/nodejs/glob/glob.js:373:17
at RES (/usr/lib/nodejs/inflight/inflight.js:31:16)
at f (/usr/lib/nodejs/once.js:25:25)
at RES (/usr/lib/nodejs/inflight/inflight.js:31:16)
at f (/usr/lib/nodejs/once.js:25:25)
at Glob._readdirEntries (/usr/lib/nodejs/glob/glob.js:580:10)
at /usr/lib/nodejs/glob/glob.js:557:12
at FSReqWrap.oncomplete (fs.js:82:15)
6) glob-stream create() should respect the globs array order:
Uncaught AssertionError: expected
'/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/test/fixtures/stuff/test.dmc'
to be
'/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/test/fixtures/stuff/run.dmc'
+ expected - actual
-"/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/test/fixtures/stuff/test.dmc"
+"/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/test/fixtures/stuff/run.dmc"
at Assertion.fail (/usr/lib/nodejs/should/lib/assertion.js:92:17)
at Assertion.Object.defineProperty.value
(/usr/lib/nodejs/should/lib/assertion.js:164:19)
at Through2.<anonymous>
(/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/test/main.js:492:43)
at emitOne (events.js:77:13)
at Through2.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at Through2.Readable.push (_stream_readable.js:111:10)
at Through2.Transform.push (_stream_transform.js:128:32)
at Through2._transform (/usr/lib/nodejs/through2-filter/index.js:19:51)
at Through2.Transform._read (_stream_transform.js:167:10)
at Through2.Transform._write (_stream_transform.js:155:12)
at doWrite (_stream_writable.js:300:12)
at writeOrBuffer (_stream_writable.js:286:5)
at Through2.Writable.write (_stream_writable.js:214:11)
at OrderedStreams.ondata (_stream_readable.js:542:20)
at emitOne (events.js:77:13)
at OrderedStreams.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at OrderedStreams.Readable.push (_stream_readable.js:111:10)
at DestroyableTransform.<anonymous>
(/usr/lib/nodejs/ordered-read-streams/index.js:21:12)
at emitNone (events.js:67:13)
at DestroyableTransform.emit (events.js:166:7)
at emitReadable_ (_stream_readable.js:419:10)
at emitReadable (_stream_readable.js:413:7)
at readableAddChunk (_stream_readable.js:164:13)
at DestroyableTransform.Readable.push (_stream_readable.js:111:10)
at DestroyableTransform.Transform.push (_stream_transform.js:128:32)
at afterTransform (_stream_transform.js:77:12)
at TransformState.afterTransform (_stream_transform.js:54:12)
at DestroyableTransform.filterNegatives [as _transform]
(/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/index.js:61:9)
at DestroyableTransform.Transform._read (_stream_transform.js:167:10)
at DestroyableTransform.Transform._write (_stream_transform.js:155:12)
at doWrite (_stream_writable.js:300:12)
at writeOrBuffer (_stream_writable.js:286:5)
at DestroyableTransform.Writable.write (_stream_writable.js:214:11)
at Glob.<anonymous>
(/home/srud/build/javascript/gulp/glob-stream/node-glob-stream/index.js:49:14)
at emitOne (events.js:77:13)
at Glob.emit (events.js:169:7)
at Glob._emitMatch (/usr/lib/nodejs/glob/glob.js:491:8)
at Glob._processReaddir2 (/usr/lib/nodejs/glob/glob.js:433:12)
at /usr/lib/nodejs/glob/glob.js:373:17
at RES (/usr/lib/nodejs/inflight/inflight.js:31:16)
at f (/usr/lib/nodejs/once.js:25:25)
at Glob._readdirEntries (/usr/lib/nodejs/glob/glob.js:580:10)
at /usr/lib/nodejs/glob/glob.js:557:12
at FSReqWrap.oncomplete (fs.js:82:15)
More information about the Pkg-javascript-devel
mailing list