feature_init intermittent issue: UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 1215-1217: unexpected end of data #24575

issue MarcoFalke opened this issue on March 15, 2022
  1. MarcoFalke commented at 7:16 PM on March 15, 2022: member

    Presumably because a Unicode character was only written partially.

     test  2022-03-15T19:13:39.817000Z TestFramework (ERROR): Unexpected exception caught during testing 
                                       Traceback (most recent call last):
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-i686-pc-linux-gnu/test/functional/test_framework/test_framework.py", line 132, in main
                                           self.run_test()
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-i686-pc-linux-gnu/test/functional/feature_init.py", line 79, in run_test
                                           node.start(extra_args=['-txindex=1', '-blockfilterindex=1', '-coinstatsindex=1'])
                                         File "/usr/lib/python3.8/contextlib.py", line 120, in __exit__
                                           next(self.gen)
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-i686-pc-linux-gnu/test/functional/test_framework/test_node.py", line 442, in wait_for_debug_log
                                           log = dl.read()
                                         File "/usr/lib/python3.8/codecs.py", line 322, in decode
                                           (result, consumed) = self._buffer_decode(data, self.errors, final)
                                       UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 1215-1217: unexpected end of data
    

    https://cirrus-ci.com/task/5773197005029376?logs=ci#L5215

  2. MarcoFalke added the label Bug on Mar 15, 2022
  3. jonatack commented at 7:45 PM on April 28, 2022: contributor

    Ran across this issue just now https://cirrus-ci.com/task/6682305988132864

  4. jonatack commented at 11:40 AM on May 5, 2022: contributor
  5. david-bakin commented at 9:04 PM on May 24, 2022: contributor

    Is this this issue or something I just did?

    https://cirrus-ci.com/task/4666995277824000?logs=ci#L3403

  6. david-bakin cross-referenced this on May 24, 2022 from issue consensus: Add BIP-341 specified constraints in `ComputeTaprootMerkleRoot` by david-bakin
  7. darosior commented at 4:27 PM on June 6, 2022: member
  8. MarcoFalke cross-referenced this on Jun 7, 2022 from issue test: Fix wait_for_debug_log UnicodeDecodeError by MarcoFalke
  9. MarcoFalke closed this on Jun 8, 2022

  10. sidhujag referenced this in commit 50bcbc4a00 on Jun 13, 2022
  11. bitcoin locked this on Jun 8, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:53 UTC