Repository navigation
FreeBSD openssl version string doesn't match regex test #43078
Description
Activity
- addedflaky-testIssues and PRs involving tests that fail intermittently in CI.Issues and PRs involving tests that fail intermittently in CI.
on May 12, 2022 Did you compile Node.js yourself? If so, what flags did you pass to
./configure?This would have been from FreeBSD poudriere using the ports tree updated for 14.9.2 WIP. This would have used the base system openssl due to
... --shared-openssl ...args:
--prefix=/usr/local --shared-brotli --shared-cares --shared-libuv --shared-nghttp2 --shared-zlib --without-npm --openssl-use-def-ca-store --shared-openssl --with-dtrace --with-intl=system-icuENV:
MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.8" XDG_DATA_HOME=/wrkdirs/usr/ports/www/node14/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/node14/work XDG_CACHE_HOME=/wrkdirs/usr/ports/www/node14/work/.cache HOME=/wrkdirs/usr/ports/www/node14/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/node14/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"@nodejs/testing @nodejs/crypto I don't think adding the string "freebsd" is the way to go, but maybe changing the allowance for "fips" to be a general allowance of alpha or alphanumeric strings? We might also add some logic to detect built-in vs. system OpenSSL? Maybe skip the check entirely if OpenSSL is the system one, or at least make it much more lax?
I think when built with a shared openssl allowing pretty much anything for
process.versions.opensslis reasonable. Maybe just require that it is defined?- added a commit that references this issue
on Nov 1, 2023 - added a commit that references this issue
on Nov 8, 2023 - added 2 commits that reference this issue
on Apr 25, 2024
Test
test-process-versions
Platform
FreeBSD
Console output
Build links
No response
Additional information
node output of
process.versions.opensslIt seems the regex could change to:
/^\d+\.\d+\.\d+[a-z]?(-freebsd|-fips)?$Adding the
-freebsd