Closed chenrui333 closed 1 year ago
it might be just error handling issue? (it does not happen on macos builds though)
Hi @chenrui333 - not sure what's happening here. I updated some dependencies so maybe it could be that?
let me check, it only happens for linux build, which is a bit weird.
looks like the issue still persists (will have to take a look later)
I cannot reproduce on linux runner, maybe it is a linux CI issue, closing the issue for now. Thanks!
š trying to build the latest release, but run into some regression test failure on linux build. The error log is as below:
error build log
``` Minitest::Assertion: Expected /Failed\ to\ connect\ to\ database\ host/ to match "\e[?1049h\e[?1000h\e[?1003h\e[?1015h\e[?1006h\e[?25l\e[?1003h \e[?2026$p\e[?2004h\e[?2004l\e[?1000l\e[?1003l\e[?1015l\e[?1006l\e[?1000l\e[?1003l\e[?1015l\e[?1006lāāāāāāāāāāāāāāāāāāāāāā Traceback (most recent call last) āāāāāāāāāāāāāāāāāāāāāāā® ā /home/linuxbrew/.linuxbrew/Cellar/dolphie/3.1.4/libexec/lib/python3.12/site- ā ā packages/textual/drivers/linux_driver.py:243 in _run_input_thread ā ā ā ā 240 ā ā an exception ā ā 241 ā ā \"\"\" ā ā 242 ā ā try: ā ā ā± 243 ā ā ā self.run_input_thread() ā ā 244 ā ā except BaseException as error: ā ā 245 ā ā ā self._app.call_later( ā ā 246 ā ā ā ā self._app.panic, ā ā ā ā /home/linuxbrew/.linuxbrew/Cellar/dolphie/3.1.4/libexec/lib/python3.12/site- ā ā packages/textual/drivers/linux_driver.py:279 in run_input_thread ā ā ā ā 276 ā ā ā ā for _selector_key, mask in selector_events: ā ā 277 ā ā ā ā ā if mask & EVENT_READ: ā ā 278 ā ā ā ā ā ā unicode_data = decode(read(fileno, 1024)) ā ā ā± 279 ā ā ā ā ā ā for event in feed(unicode_data): ā ā 280 ā ā ā ā ā ā ā self.process_event(event) ā ā 281 ā ā finally: ā ā 282 ā ā ā selector.close() ā ā ā ā /home/linuxbrew/.linuxbrew/Cellar/dolphie/3.1.4/libexec/lib/python3.12/site- ā ā packages/textual/_parser.py:81 in feed ā ā ā ā 78 ā ā ā try: ā ā 79 ā ā ā ā self._gen.send(self._buffer.getvalue()) ā ā 80 ā ā ā except StopIteration: ā ā ā± 81 ā ā ā ā raise ParseError(\"end of file reached\") from None ā ā 82 ā ā ā while self._tokens: ā ā 83 ā ā ā ā yield self._tokens.popleft() ā ā 84 ā ā°āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāÆ ParseError: end of file reached ". ```full build log, https://github.com/Homebrew/homebrew-core/actions/runs/6705950469/job/18226452402?pr=152912 relates to Homebrew/homebrew-core#152912