Skip to content

Nodejs ptest failure #711

@ArchanaWind

Description

@ArchanaWind

HI I am working on adding Nodejs ptest support, almost everything is done but some of the tests related to OpenSSL are failing.

failed tests:
parallel/test-tls-cli-max-version-1.2,
parallel/test-tls-cli-min-version-1.3,
parallel/test-tls-cli-min-version-1.1,
parallel/test-tls-cli-min-version-1.2,
parallel/test-tls-cli-max-version-1.3,
parallel/test-tls-getprotocol,
parallel/test-tls-min-max-version,
parallel/test-tls-session-cache

for all failed tests failure reason is similar, one failure log is

=== release test-tls-getprotocol ===
Path: parallel/test-tls-getprotocol
node:events:491
throw er; // Unhandled 'error' event
^

Error: C077EF315B7F0000:error:0A0000BF:SSL routines:tls_setup_handshake:no protocols available:/usr/src/debug/openssl/3.1.0-r0/ssl/statem/statem_lib.c:104:

at TLSSocket._start (node:_tls_wrap:980:16)
at Object.onceWrapper (node:events:627:28)
at TLSSocket.emit (node:events:525:35)
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1479:10)

Emitted 'error' event on TLSSocket instance at:

at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {

library: 'SSL routines',
reason: 'no protocols available',
code: 'ERR_SSL_NO_PROTOCOLS_AVAILABLE'
}

Node.js v18.14.2
Command: /usr/bin/node /usr/lib64/nodejs/ptest/test/parallel/test-tls-getprotocol.js

test-tls-getprotocol is failing with NO PROTOCOLS AVAILABLE but I am able to list all available protocols on qemu target with
$ openssl ciphers -v | awk '{print $2}' | sort | uniq
SSLv3
TLSv1
TLSv1.2
TLSv1.3

Could any one help on resolving this failures
Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions