Running '. ./init-build-env; bitbake-selftest' with output to /srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build/command-1-cmds.log in /srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build
Poky - The Yocto Project testing distribution
.........................................................................................................................................................................................................................................................s............................................................ssss.s..sssss..........................................................................sssssssssssssssssss.E.E..s.s.sss...............................................................ssssssss..........................................................................ssssssssssssssssssssssssssssssssssssssssssssss............................................................................................................................................ssssssssssssssssssssssssssssssssssssssssssssss........Sending SIGTERM to pr-server.
...................
======================================================================
ERROR: test_npmsw_bad_checksum (bb.tests.fetch.NPMTest.test_npmsw_bad_checksum)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/bitbake/lib/bb/tests/fetch.py", line 3494, in test_npmsw_bad_checksum
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-j6b4kgje/data/npm-shrinkwrap.json'. Unable to fetch URL from any source.
Stdout:
--2026-09-24 14:37:04-- https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz
Resolving registry.npmjs.org (registry.npmjs.org)... 2606:4700::6810:522, 2606:4700::6810:622, 2606:4700::6810:122, ...
Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:522|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1992 (1.9K) [application/octet-stream]
Saving to: ‘/tmp/bitbake-fetch-j6b4kgje/download/npm2/array-flatten-1.1.1.tgz.tmp’
2026-09-24 14:37:04 (16.8 MB/s) - ‘/tmp/bitbake-fetch-j6b4kgje/download/npm2/array-flatten-1.1.1.tgz.tmp’ saved [1992/1992]
Checksum failure encountered with download of https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz;downloadfilename=npm2/array-flatten-1.1.1.tgz;sha1sum=81f344a7686a80b4c5293e8fdc0b0160c82c06a8 - will attempt other sources 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=81f344a7686a80b4c5293e8fdc0b0160c82c06a8'. Checksum mismatch!
File: '/tmp/bitbake-fetch-j6b4kgje/download/npm2/array-flatten-1.1.1.tgz.tmp' has sha1 checksum '9a5f699051b1e7073328f2a008968b64ea2955d2' when '81f344a7686a80b4c5293e8fdc0b0160c82c06a8' was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[sha256sum] = "1aca1277ec265d578b3ff517a8a7a07dbab5e6edd349775830ef38c38d6426ed"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.
Failed to fetch URL npmsw:///tmp/bitbake-fetch-j6b4kgje/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=81f344a7686a80b4c5293e8fdc0b0160c82c06a8'. Unable to fetch URL from any source.
--2026-09-24 14:37:04-- https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz
Resolving registry.npmjs.org (registry.npmjs.org)... 2606:4700::6810:722, 2606:4700::6810:422, 2606:4700::6810:822, ...
Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:722|: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-j6b4kgje/download/npm2/array-flatten-1.1.1.tgz.tmp', '--continue', '--directory-prefix=/tmp/bitbake-fetch-j6b4kgje/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-j6b4kgje/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.
======================================================================
ERROR: test_npmsw_destsuffix (bb.tests.fetch.NPMTest.test_npmsw_destsuffix)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/bitbake/lib/bb/tests/fetch.py", line 3404, in test_npmsw_destsuffix
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-3u9uiz6s/data/npm-shrinkwrap.json;destsuffix=foo/bar'. Unable to fetch URL from any source.
Stdout:
--2026-09-24 14:37:20-- https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz
Resolving registry.npmjs.org (registry.npmjs.org)... 2606:4700::6810:22, 2606:4700::6810:222, 2606:4700::6810:422, ...
Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:22|: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-3u9uiz6s/download/npm2/array-flatten-1.1.1.tgz.tmp', '--continue', '--directory-prefix=/tmp/bitbake-fetch-3u9uiz6s/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-3u9uiz6s/data/npm-shrinkwrap.json;destsuffix=foo/bar, 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.
----------------------------------------------------------------------
Ran 833 tests in 837.579s
FAILED (errors=2, skipped=135)
Stdout:
--2026-09-24 14:37:04-- https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz
Resolving registry.npmjs.org (registry.npmjs.org)... 2606:4700::6810:522, 2606:4700::6810:622, 2606:4700::6810:122, ...
Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:522|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1992 (1.9K) [application/octet-stream]
Saving to: ‘/tmp/bitbake-fetch-j6b4kgje/download/npm2/array-flatten-1.1.1.tgz.tmp’
2026-09-24 14:37:04 (16.8 MB/s) - ‘/tmp/bitbake-fetch-j6b4kgje/download/npm2/array-flatten-1.1.1.tgz.tmp’ saved [1992/1992]
Checksum failure encountered with download of https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz;downloadfilename=npm2/array-flatten-1.1.1.tgz;sha1sum=81f344a7686a80b4c5293e8fdc0b0160c82c06a8 - will attempt other sources 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=81f344a7686a80b4c5293e8fdc0b0160c82c06a8'. Checksum mismatch!
File: '/tmp/bitbake-fetch-j6b4kgje/download/npm2/array-flatten-1.1.1.tgz.tmp' has sha1 checksum '9a5f699051b1e7073328f2a008968b64ea2955d2' when '81f344a7686a80b4c5293e8fdc0b0160c82c06a8' was expected
If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[sha256sum] = "1aca1277ec265d578b3ff517a8a7a07dbab5e6edd349775830ef38c38d6426ed"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.
Failed to fetch URL npmsw:///tmp/bitbake-fetch-j6b4kgje/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=81f344a7686a80b4c5293e8fdc0b0160c82c06a8'. Unable to fetch URL from any source.
--2026-09-24 14:37:04-- https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz
Resolving registry.npmjs.org (registry.npmjs.org)... 2606:4700::6810:722, 2606:4700::6810:422, 2606:4700::6810:822, ...
Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:722|: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-j6b4kgje/download/npm2/array-flatten-1.1.1.tgz.tmp', '--continue', '--directory-prefix=/tmp/bitbake-fetch-j6b4kgje/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-j6b4kgje/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.
Stdout:
--2026-09-24 14:37:20-- https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz
Resolving registry.npmjs.org (registry.npmjs.org)... 2606:4700::6810:22, 2606:4700::6810:222, 2606:4700::6810:422, ...
Connecting to registry.npmjs.org (registry.npmjs.org)|2606:4700::6810:22|: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-3u9uiz6s/download/npm2/array-flatten-1.1.1.tgz.tmp', '--continue', '--directory-prefix=/tmp/bitbake-fetch-3u9uiz6s/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-3u9uiz6s/data/npm-shrinkwrap.json;destsuffix=foo/bar, 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.