[Pkg-javascript-devel] Bug#781710: nodejs FTBFS in jessie. test-crypto-stream.js fails (again)

peter green plugwash at p10link.net
Wed Apr 1 22:47:04 UTC 2015


Package: nodejs
Severity: serious
Version: 0.10.29~dfsg-1.1

nodejs is failing to build with failure of the test "test-crypto-stream.js"

http://buildd.raspbian.org/status/fetch.php?pkg=nodejs&arch=armhf&ver=0.10.29~dfsg-1.1&stamp=1427831511

[02:22|%  13|+  82|-   0]: release test-crypto-stream

=== release test-crypto-stream ===
Path: simple/test-crypto-stream
assert.js:92
   throw new assert.AssertionError({
         ^
AssertionError: false == true
     at Decipheriv.end (/«PKGBUILDDIR»/test/simple/test-crypto-stream.js:73:5)
     at Decipheriv.<anonymous>  (/«PKGBUILDDIR»/test/common.js:198:15)
     at Decipheriv.emit (events.js:117:20)
     at done (_stream_transform.js:190:19)
     at _stream_transform.js:131:9
     at Decipheriv.Cipher._flush (crypto.js:269:5)
     at Decipheriv.<anonymous>  (_stream_transform.js:130:12)
     at Decipheriv.g (events.js:180:16)
     at Decipheriv.emit (events.js:117:20)
     at finishMaybe (_stream_writable.js:360:12)
Command: out/Release/node /«PKGBUILDDIR»/test/simple/test-crypto-stream.js



This failure was initially seen on a raspbian jessie autobuilder but I 
was able to reproduce it locally on Debian jessie armhf and Debian 
jessie i386 so it's not a raspbian specific issue.

I have not tested whether this also happens in sid. I have not tested on 
architectures other than armhf and i386.

I suspect this is caused by recent updates to openssl.

Given that this is the second time this has happened recently I wonder 
if the test in question is too specific in what it expects.

I tried looking at the code of the test but didn't get anywhere (it 
doesn't help that my javascript knowlage is very very low).



More information about the Pkg-javascript-devel mailing list