Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError for RunTest.py script when running tests on Docker #30

Open
sylwpro opened this issue Jan 25, 2021 · 1 comment
Open

Comments

@sylwpro
Copy link

sylwpro commented Jan 25, 2021

"UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 1: invalid start byte"

Files with serial data used for outStr, refStr in SerialOutputComparator class in script Processor\Tools\TestDriver\RunTest.py are opened in UTF-8 on Docker. Maybe it would be better if it was binary comparison.

@shioyadan
Copy link
Member

I confirmed that some test programs can actually output data that cannot be handled as UTF-8 and it can actually cause the problem. I am currently working on cleaning up test programs and I will change the script to treat data as binary in this branch. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants