a89a256 Assert %check fails when there is an exception in the output

Authored and Committed by churchyard 2 years ago
1 file changed. 3 lines added. 1 lines removed.
    Assert %check fails when there is an exception in the output
    
    There is one on rawhide right now, but the %check still passed:
    
        Executing(%check): /bin/sh -e /var/tmp/...
        + ...
        + sleep 5
        + grep assertme
        + jupyter-console --simple-prompt --kernel=lua
        + echo 'print("assert" .. "me")'
        Task exception was never retrieved
        future: <Task finished name='Task-8' coro=<ZMQTerminalInteractiveShell.interact() done, defined at /usr/lib/python3.10/site-packages/jupyter_console/ptshell.py:644> exception=TypeError("ZMQSocketChannel.get_msg() got an unexpected keyword argument 'block'")>
        Traceback (most recent call last):
          File "/usr/lib64/python3.10/asyncio/tasks.py", line 232, in __step
            result = coro.send(None)
          File "/usr/lib/python3.10/site-packages/jupyter_console/ptshell.py", line 657, in interact
            self.run_cell(code, store_history=True)
          File "/usr/lib/python3.10/site-packages/jupyter_console/ptshell.py", line 739, in run_cell
            self.handle_execute_reply(msg_id, timeout=0.05)
          File "/usr/lib/python3.10/site-packages/jupyter_console/ptshell.py", line 751, in handle_execute_reply
            msg = run_sync(self.client.shell_channel.get_msg)(block=False, timeout=timeout)
          File "/usr/lib/python3.10/site-packages/jupyter_client/utils.py", line 21, in wrapped
            future = asyncio.ensure_future(coro(*args, **kwargs))
        TypeError: ZMQSocketChannel.get_msg() got an unexpected keyword argument 'block'
        In [1]: assertme
        + RPM_EC=0
        ++ jobs -p
        + exit 0
    
        
file modified
+3 -1