Public bug reported:

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
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?

** Affects: node-websocket-driver (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: node-websocket-driver (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: update-excuse

** Bug watch added: Debian Bug tracker #991820
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991820

** Also affects: node-websocket-driver (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991820
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1938949

Title:
  autopkgtest failure "DeprecationWarning: The legacy HTTP parser is
  deprecated."

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/node-websocket-driver/+bug/1938949/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to