With a recent upload of nodejs (CVE related, but including more changes
than just that) the autopkgtest of node-websocket-driver fails in
testing when that autopkgtest is run with the binary packages of nodejs
from unstable. It passes when run with only packages from testing. In
tabular form:
pass fail
nodejs from testing 12.22.4~dfsg-1
node-websocket-driver from testing 0.3.5-1.1
all others from testing from testing
I copied some of the output at the bottom of this report. It seems that
the CVE fix deliberately made a parser deprecated, which results in a
*warning* to stderr. The default behavior of autopkgtest is to fail on
output to stderr.
"""
We have nodejs 12.22.4~dfsg-1ubuntu1 in -proposed right now, so with this clue I'm going to try retriggering with all-proposed to see if it just needs to go in with the newer nodejs. If that doesn't work, there is also a newer node-websocket-driver 0.7.4+~cs0.6.7-1 in experimental, however I wonder if that might only work with nodejs 14. Perhaps a better alternative would be to modify the 'require' test to allow stderr, or maybe filter the specific warning?
https:/ /autopkgtest. ubuntu. com/results/ autopkgtest- impish/ impish/ amd64/n/ node-websocket- driver/ 20210803_ 073423_ 2d5a6@/ log.gz
autopkgtest [07:34:07]: test require: [------ ------- ------- --- ------- ------- --]
(node:1132) [DEP0131] DeprecationWarning: The legacy HTTP parser is deprecated.
autopkgtest [07:34:08]: test require: -------
autopkgtest [07:34:08]: test require: - - - - - - - - - - results - - - - - - - - - -
require FAIL stderr: (node:1132) [DEP0131] DeprecationWarning: The legacy HTTP parser is deprecated.
autopkgtest [07:34:08]: test require: - - - - - - - - - - stderr - - - - - - - - - -
(node:1132) [DEP0131] DeprecationWarning: The legacy HTTP parser is deprecated.
Same issue affects Debian, reported at https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 991820
"""
With a recent upload of nodejs (CVE related, but including more changes driver fails in
than just that) the autopkgtest of node-websocket-
testing when that autopkgtest is run with the binary packages of nodejs
from unstable. It passes when run with only packages from testing. In
tabular form:
nodejs from testing 12.22.4~dfsg-1
node-websocket-
all others from testing from testing
I copied some of the output at the bottom of this report. It seems that
the CVE fix deliberately made a parser deprecated, which results in a
*warning* to stderr. The default behavior of autopkgtest is to fail on
output to stderr.
"""
We have nodejs 12.22.4~ dfsg-1ubuntu1 in -proposed right now, so with this clue I'm going to try retriggering with all-proposed to see if it just needs to go in with the newer nodejs. If that doesn't work, there is also a newer node-websocket- driver 0.7.4+~cs0.6.7-1 in experimental, however I wonder if that might only work with nodejs 14. Perhaps a better alternative would be to modify the 'require' test to allow stderr, or maybe filter the specific warning?