Bug 16434

Summary: AB-INT: Unable to establish SSL connection to registry.npmjs.org
Product: [QA/Testing] Functional (self) Testing Reporter: Antonin Godard <antonin.godard>
Component: oe-selftestAssignee: Unassigned <unassigned>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Medium CC: randy.macleod
Version: unspecified   
Target Milestone: 6.2   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Antonin Godard 2026-09-21 09:34:46 UTC
I've been getting this error on multiple occasions now, I'm filing a bug here to track it.

Error message:

======================================================================
ERROR: test_npmsw_dev (bb.tests.fetch.NPMTest.test_npmsw_dev)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/bitbake/lib/bb/tests/fetch.py", line 3383, in test_npmsw_dev
    fetcher.download()
  File "/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/bitbake/lib/bb/fetch/__init__.py", line 1961, in download
    raise FetchError("Unable to fetch URL from any source.", u)
bb.fetch.FetchError: Fetcher failure for URL: 'npmsw:///tmp/bitbake-fetch-cwog0kf4/data/npm-shrinkwrap.json'. Unable to fetch URL from any source.

Stdout:
--2026-09-18 15:43:05--  https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz
Resolving registry.npmjs.org (registry.npmjs.org)... 2606:4700::6810:322, 2606:4700::6810:722, 2606:4700::6810:522, ...
Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:322|:443... connected.
GnuTLS: The TLS connection was non-properly terminated.
Unable to establish SSL connection.
Failed to fetch URL https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz;downloadfilename=npm2/array-flatten-1.1.1.tgz;sha1sum=9a5f699051b1e7073328f2a008968b64ea2955d2, attempting MIRRORS if available
Fetcher failure: Fetch command ['wget', '--tries=2', '--timeout=100', '--output-document=/tmp/bitbake-fetch-cwog0kf4/download/npm2/array-flatten-1.1.1.tgz.tmp', '--continue', '--directory-prefix=/tmp/bitbake-fetch-cwog0kf4/download', 'https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz', '--progress=dot', '--verbose'] failed with exit code 4, see logfile for output
Failed to fetch URL npmsw:///tmp/bitbake-fetch-cwog0kf4/data/npm-shrinkwrap.json, attempting MIRRORS if available
Fetcher failure for URL: 'https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz;downloadfilename=npm2/array-flatten-1.1.1.tgz;sha1sum=9a5f699051b1e7073328f2a008968b64ea2955d2'. Unable to fetch URL from any source.
Comment 1 Antonin Godard 2026-09-21 13:07:25 UTC
oe-selftest-armhost alma10-vk-arm1 agodard/master-next completed at 2026-09-18 20:48:00+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/4922/steps/14/logs/stdio