Running '. ./init-build-env; bitbake-selftest' with output to /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build/command-1-cmds.log in /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build
Poky - The Yocto Project testing distribution
.........................................................................................................................................................................................................................................................s............................................................ssss.s..sssss..........................................................................sssssssssssssssssss......s.s.sss.............F...................................................ssssssss..........................................................................ssssssssssssssssssssssssssssssssssssssssssssss............................................................................................................................................ssssssssssssssssssssssssssssssssssssssssssssss........Sending SIGTERM to pr-server.
...................
======================================================================
FAIL: test_wget_corrupt_partial_download (bb.tests.fetch.WgetChecksumTest.test_wget_corrupt_partial_download)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/bitbake/lib/bb/tests/fetch.py", line 1751, in test_wget_corrupt_partial_download
self.assertDownloaded()
~~~~~~~~~~~~~~~~~~~~~^^
File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/bitbake/lib/bb/tests/fetch.py", line 1738, in assertDownloaded
self.assertTrue(os.path.exists(os.path.join(self.dldir,
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"test.bin_bad-checksum_%s" % hashlib.sha256(self.corrupt).hexdigest())))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: False is not true
Stdout:
/tmp/bitbake-fetch-fwjc46do/server
[0] Downloading 'http://127.0.0.1:41505/upstream/test.bin' ...
Saving '/tmp/bitbake-fetch-fwjc46do/download/test.bin.tmp'
HTTP response 200 OK [http://127.0.0.1:41505/upstream/test.bin]
Renaming /tmp/bitbake-fetch-fwjc46do/download/test.bin.tmp to /tmp/bitbake-fetch-fwjc46do/download/test.bin_bad-checksum_4d10580369033e7582482ddb05c76f38df07ad7daac927cd515909e564e26269
Checksum failure encountered with download of http://127.0.0.1:41505/upstream/test.bin;sha256sum=8c5f6dcb44f8e60d8a14619b87d1a5d1b1641d96305014daa683a8b9c00c89c7 - will attempt other sources if available
Fetcher failure for URL: 'http://127.0.0.1:41505/upstream/test.bin;sha256sum=8c5f6dcb44f8e60d8a14619b87d1a5d1b1641d96305014daa683a8b9c00c89c7'. Checksum mismatch!
File: '/tmp/bitbake-fetch-fwjc46do/download/test.bin.tmp' has sha256 checksum '4d10580369033e7582482ddb05c76f38df07ad7daac927cd515909e564e26269' when '8c5f6dcb44f8e60d8a14619b87d1a5d1b1641d96305014daa683a8b9c00c89c7' 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] = "4d10580369033e7582482ddb05c76f38df07ad7daac927cd515909e564e26269"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.
[0] Downloading 'http://127.0.0.1:41505/upstream/test.bin' ...
Saving '/tmp/bitbake-fetch-fwjc46do/download/test.bin.tmp'
HTTP response 200 OK [http://127.0.0.1:41505/upstream/test.bin]
----------------------------------------------------------------------
Ran 835 tests in 697.422s
FAILED (failures=1, skipped=135)
Stdout:
/tmp/bitbake-fetch-fwjc46do/server
[0] Downloading 'http://127.0.0.1:41505/upstream/test.bin' ...
Saving '/tmp/bitbake-fetch-fwjc46do/download/test.bin.tmp'
HTTP response 200 OK [http://127.0.0.1:41505/upstream/test.bin]
Renaming /tmp/bitbake-fetch-fwjc46do/download/test.bin.tmp to /tmp/bitbake-fetch-fwjc46do/download/test.bin_bad-checksum_4d10580369033e7582482ddb05c76f38df07ad7daac927cd515909e564e26269
Checksum failure encountered with download of http://127.0.0.1:41505/upstream/test.bin;sha256sum=8c5f6dcb44f8e60d8a14619b87d1a5d1b1641d96305014daa683a8b9c00c89c7 - will attempt other sources if available
Fetcher failure for URL: 'http://127.0.0.1:41505/upstream/test.bin;sha256sum=8c5f6dcb44f8e60d8a14619b87d1a5d1b1641d96305014daa683a8b9c00c89c7'. Checksum mismatch!
File: '/tmp/bitbake-fetch-fwjc46do/download/test.bin.tmp' has sha256 checksum '4d10580369033e7582482ddb05c76f38df07ad7daac927cd515909e564e26269' when '8c5f6dcb44f8e60d8a14619b87d1a5d1b1641d96305014daa683a8b9c00c89c7' 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] = "4d10580369033e7582482ddb05c76f38df07ad7daac927cd515909e564e26269"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.
[0] Downloading 'http://127.0.0.1:41505/upstream/test.bin' ...
Saving '/tmp/bitbake-fetch-fwjc46do/download/test.bin.tmp'
HTTP response 200 OK [http://127.0.0.1:41505/upstream/test.bin]