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

timeout when run test in an env without browser #577

Closed
lidaobing opened this issue May 13, 2024 · 0 comments · Fixed by #578
Closed

timeout when run test in an env without browser #577

lidaobing opened this issue May 13, 2024 · 0 comments · Fixed by #578
Milestone

Comments

@lidaobing
Copy link
Member

$ xvfb-run meson test
ninja: Entering directory `/home/lidaobing/workspace/lidaobing/iptux/build'
ninja: no work to do.
1/4 iptux utils unit test         OK              0.03s
2/4 iptux core unit test          OK              1.31s
3/4 iptux ui unit test            TIMEOUT        30.02s
>>> UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=168 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 LD_LIBRARY_PATH=/home/lidaobing/workspace/lidaobing/iptux/build/src/iptux-core /home/lidaobing/workspace/lidaobing/iptux/build/src/iptux/libiptux_test

4/4 validate metainfo file        OK              0.04s

Ok:                 3   
Expected Fail:      0   
Fail:               0   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            1   

Full log written to /home/lidaobing/workspace/lidaobing/iptux/build/meson-logs/testlog.txt
Exception ignored in: <function BaseSubprocessTransport.__del__ at 0x7ffbbfa2ba60>
Traceback (most recent call last):
  File "/usr/lib/python3.11/asyncio/base_subprocess.py", line 126, in __del__
    self.close()
  File "/usr/lib/python3.11/asyncio/base_subprocess.py", line 104, in close
    proto.pipe.close()
  File "/usr/lib/python3.11/asyncio/unix_events.py", line 566, in close
    self._close(None)
  File "/usr/lib/python3.11/asyncio/unix_events.py", line 590, in _close
    self._loop.call_soon(self._call_connection_lost, exc)
  File "/usr/lib/python3.11/asyncio/base_events.py", line 762, in call_soon
    self._check_closed()
  File "/usr/lib/python3.11/asyncio/base_events.py", line 520, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

reason: iptux_open_url should exit if no browser detected.

@lidaobing lidaobing added this to the 0.9.1 milestone May 13, 2024
@lidaobing lidaobing linked a pull request May 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant