On 18/4/2024 4:13 am, Joel Sherrill wrote: > Hi > > 6.1rc3 appears to be in pretty good shape on CentOS 7 (w/GCC 8 and Python 3 > SCL). Results should be on the build@ list. One odd issue appears to be in the > rtems-tester. > > Testing a riscv-bsp with spike, I get this output. It is repeated with other > spike/risc-v bsp tests. Any ideas? > > Exception in thread _stdout[spike]: > Traceback (most recent call last): > File "/opt/rh/rh-python36/root/usr/lib64/python3.6/threading.py", line 916, > in > _bootstrap_inner > self.run() > File "/opt/rh/rh-python36/root/usr/lib64/python3.6/threading.py", line 864, > in run > self._target(*self._args, **self._kwargs) > File "/home/joel/rtems-6.1rc3/tools/6/share/rtems/rtemstoolkit/execute.py", > line 226, in _readthread > data = data.decode(sys.stdout.encoding) > UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: > invalid > start byte
The rtems-tools's execute.py needs to be updated to use an incremental decoder codec. This also happened in the RSB and was fixed with: https://git.rtems.org/rtems-source-builder/commit/source-builder/sb/execute.py?id=e04c84191b790b7bddd179bc67337e4205b61f8e Chris _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel