Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodejs ptest failure #711

Open
ArchanaWind opened this issue Jun 13, 2023 · 0 comments
Open

Nodejs ptest failure #711

ArchanaWind opened this issue Jun 13, 2023 · 0 comments

Comments

@ArchanaWind
Copy link
Contributor

ArchanaWind commented Jun 13, 2023

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

kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Jul 21, 2023
Changelog:
===========
Added:
-----------
 add ${BATS_TEST_TAGS[@]} for querying the tags during a test (openembedded#705)
 print tags on failing tests (openembedded#705)
 test for negative arguments to --jobs (openembedded#693)
 add tests for --formatter cat (openembedded#710)
 test coverage in CI (openembedded#718)
 Support for rush as alternative to GNU parallel (openembedded#729)
 add bats_pipe helper function for run that executes \| as pipes (openembedded#663)
 publish docker images to ghcr.io (additionally to Dockerhub) (openembedded#740)

Fixed:
---------
 fix run with options overwriting the value of i (openembedded#726, openembedded#727)
 fix ${BATS_TEST_NAMES[@]} containing only --tags instead of test name since Bats v1.8.0 (openembedded#705)
 fix run --keep-empty-lines counting trailing \n as (empty) new line (openembedded#711)
 fix short flag unpacker creating bogus command lines with valued flags (openembedded#732)
 fix formatter becoming confused with retries (openembedded#734)
 fix --gather-test-outputs-in fails on tests with / (openembedded#735)
 fix overriding date breaks --timing (openembedded#736)

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant