Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
When running the test suite of the express NPM module, it fails while it worked fine with nodejs:16:
Version-Release number of selected component (if applicable):
nodejs-18.8.0-1.module_el8.7.0+1206+cd2bf569.x86_64
How reproducible:
constantly
Steps to Reproduce:
1. git clone https://github.com/expressjs/express.git
2. cd express
3. git checkout 4.18.1
4. npm install
5. npm test
Actual results:
<long output scratched>
.sendfile(path, fn)
✔ should invoke the callback when complete
✔ should utilize the same options as express.static()
✔ should invoke the callback when client aborts
✔ should invoke the callback when client already aborted
✔ should invoke the callback without error when HEAD
✔ should invoke the callback without error when 304
✔ should invoke the callback on 404
✔ should not override manual content-types
✔ should invoke the callback on 403
1) should invoke the callback on socket error
1086 passing (3s)
1 failing
1) res
.sendfile(path, fn)
should invoke the callback on socket error:
Uncaught Error: broken!
at /opt/app-root/src/express/test/res.sendFile.js:1058:34
at Layer.handle [as handle_request] (lib/router/layer.js:95:5)
at trim_prefix (lib/router/index.js:328:13)
at /opt/app-root/src/express/lib/router/index.js:286:9
at Function.process_params (lib/router/index.js:346:12)
at next (lib/router/index.js:280:10)
at expressInit (lib/middleware/init.js:40:5)
at Layer.handle [as handle_request] (lib/router/layer.js:95:5)
at trim_prefix (lib/router/index.js:328:13)
at /opt/app-root/src/express/lib/router/index.js:286:9
at Function.process_params (lib/router/index.js:346:12)
at next (lib/router/index.js:280:10)
at query (lib/middleware/query.js:45:5)
at Layer.handle [as handle_request] (lib/router/layer.js:95:5)
at trim_prefix (lib/router/index.js:328:13)
at /opt/app-root/src/express/lib/router/index.js:286:9
at Function.process_params (lib/router/index.js:346:12)
at next (lib/router/index.js:280:10)
at Function.handle (lib/router/index.js:175:3)
at Function.handle (lib/application.js:181:10)
at Server.app (lib/express.js:39:9)
at Server.emit (node:events:513:28)
at parserOnIncoming (node:_http_server:1034:12)
at HTTPParser.parserOnHeadersComplete (node:_http_common:117:17)
Expected results:
No error
Additional info: