autopkgtest failure "DeprecationWarning: The legacy HTTP parser is deprecated."
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
node-websocket-driver (Debian) |
Fix Released
|
Unknown
|
|||
node-websocket-driver (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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:/
"""
With a recent upload of nodejs (CVE related, but including more changes
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.
"""
There is a newer node-websocket-
Changed in node-websocket-driver (Debian): | |
status: | Unknown → Fix Released |
Here is a stab at filtering the particular error from stderr (but letting other stderr continue through). This kind of just papers over the issue, but it seems to work locally for me. It uses bash syntax so I had to change the test's interpreter.