Source: ipykernel
Version: 6.13.0-1
Severity: serious
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of ipykernel the autopkgtest of ipykernel fails in testing when that autopkgtest is run with the binary packages of ipykernel from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
ipykernel              from testing    6.13.0-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=ipykernel

https://ci.debian.net/data/autopkgtest/testing/amd64/i/ipykernel/22160991/log.gz

[31m___________________ ERROR at setup of test_asyncio_interrupt ___________________

cls = <class '_pytest.runner.CallInfo'>
func = <function call_runtest_hook.<locals>.<lambda> at 0x7fdd6d273b50>
when = 'setup'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
        cls,
func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']",
        reraise: Optional[
Union[Type[BaseException], Tuple[Type[BaseException], ...]]
        ] = None,
) -> "CallInfo[TResult]":
        excinfo = None
        start = timing.time()
        precise_start = timing.perf_counter()
        try:
          result: Optional[TResult] = func()

/usr/lib/python3/dist-packages/_pytest/runner.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/runner.py:255: in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/dist-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:83: in pytest_runtest_setup
    yield from unraisable_exception_runtest_hook()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def unraisable_exception_runtest_hook() -> Generator[None, None, None]: with catch_unraisable_exception() as cm:
            yield
            if cm.unraisable:
if cm.unraisable.err_msg is not None:
                    err_msg = cm.unraisable.err_msg
                else:
err_msg = "Exception ignored in" msg = f"{err_msg}: {cm.unraisable.object!r}\n\n"
                msg += "".join(
                    traceback.format_exception(
                        cm.unraisable.exc_type,
                        cm.unraisable.exc_value,
                        cm.unraisable.exc_traceback,
                    )
                )
              warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function Context.__del__ at 0x7fdda0bb2290>
E               
E               Traceback (most recent call last):
E File "/usr/lib/python3/dist-packages/zmq/sugar/context.py", line 65, in __del__
E                   warnings.warn(
E ResourceWarning: unclosed context <zmq.asyncio.Context() at 0x7fdd6d226250>

/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning ---------------------------- Captured stdout setup ----------------------------- [IPKernelApp] WARNING | debugpy_stream undefined, debugging will not be enabled =================================== FAILURES =================================== ________________________ test_async_interrupt[asyncio] _________________________

cls = <class '_pytest.runner.CallInfo'>
func = <function call_runtest_hook.<locals>.<lambda> at 0x7fdd8813ac20>
when = 'call'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
        cls,
func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']",
        reraise: Optional[
Union[Type[BaseException], Tuple[Type[BaseException], ...]]
        ] = None,
) -> "CallInfo[TResult]":
        excinfo = None
        start = timing.time()
        precise_start = timing.perf_counter()
        try:
          result: Optional[TResult] = func()

/usr/lib/python3/dist-packages/_pytest/runner.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/runner.py:255: in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/dist-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: in pytest_runtest_call
    yield from unraisable_exception_runtest_hook()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def unraisable_exception_runtest_hook() -> Generator[None, None, None]: with catch_unraisable_exception() as cm:
            yield
            if cm.unraisable:
if cm.unraisable.err_msg is not None:
                    err_msg = cm.unraisable.err_msg
                else:
err_msg = "Exception ignored in" msg = f"{err_msg}: {cm.unraisable.object!r}\n\n"
                msg += "".join(
                    traceback.format_exception(
                        cm.unraisable.exc_type,
                        cm.unraisable.exc_value,
                        cm.unraisable.exc_traceback,
                    )
                )
              warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function Context.__del__ at 0x7fdda0bb2290>
E               
E               Traceback (most recent call last):
E File "/usr/lib/python3/dist-packages/zmq/sugar/context.py", line 65, in __del__
E                   warnings.warn(
E ResourceWarning: unclosed context <zmq.asyncio.Context() at 0x7fdd6d2a7510>

/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning ---------------------------- Captured stdout setup ----------------------------- [IPKernelApp] WARNING | debugpy_stream undefined, debugging will not be enabled _________________________ test_embed_kernel_namespace __________________________

cls = <class '_pytest.runner.CallInfo'>
func = <function call_runtest_hook.<locals>.<lambda> at 0x7fdd6d273ac0>
when = 'call'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
        cls,
func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']",
        reraise: Optional[
Union[Type[BaseException], Tuple[Type[BaseException], ...]]
        ] = None,
) -> "CallInfo[TResult]":
        excinfo = None
        start = timing.time()
        precise_start = timing.perf_counter()
        try:
          result: Optional[TResult] = func()

/usr/lib/python3/dist-packages/_pytest/runner.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/runner.py:255: in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/dist-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: in pytest_runtest_call
    yield from unraisable_exception_runtest_hook()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def unraisable_exception_runtest_hook() -> Generator[None, None, None]: with catch_unraisable_exception() as cm:
            yield
            if cm.unraisable:
if cm.unraisable.err_msg is not None:
                    err_msg = cm.unraisable.err_msg
                else:
err_msg = "Exception ignored in" msg = f"{err_msg}: {cm.unraisable.object!r}\n\n"
                msg += "".join(
                    traceback.format_exception(
                        cm.unraisable.exc_type,
                        cm.unraisable.exc_value,
                        cm.unraisable.exc_traceback,
                    )
                )
              warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function Context.__del__ at 0x7fdda0bb2290>
E               
E               Traceback (most recent call last):
E File "/usr/lib/python3/dist-packages/zmq/sugar/context.py", line 65, in __del__
E                   warnings.warn(
E ResourceWarning: unclosed context <zmq.asyncio.Context() at 0x7fdd6d291620>

/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning _________________________ test_embed_kernel_reentrant __________________________

cls = <class '_pytest.runner.CallInfo'>
func = <function call_runtest_hook.<locals>.<lambda> at 0x7fdd6d2731c0>
when = 'call'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
        cls,
func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']",
        reraise: Optional[
Union[Type[BaseException], Tuple[Type[BaseException], ...]]
        ] = None,
) -> "CallInfo[TResult]":
        excinfo = None
        start = timing.time()
        precise_start = timing.perf_counter()
        try:
          result: Optional[TResult] = func()

/usr/lib/python3/dist-packages/_pytest/runner.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/runner.py:255: in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/dist-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: in pytest_runtest_call
    yield from unraisable_exception_runtest_hook()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def unraisable_exception_runtest_hook() -> Generator[None, None, None]: with catch_unraisable_exception() as cm:
            yield
            if cm.unraisable:
if cm.unraisable.err_msg is not None:
                    err_msg = cm.unraisable.err_msg
                else:
err_msg = "Exception ignored in" msg = f"{err_msg}: {cm.unraisable.object!r}\n\n"
                msg += "".join(
                    traceback.format_exception(
                        cm.unraisable.exc_type,
                        cm.unraisable.exc_value,
                        cm.unraisable.exc_traceback,
                    )
                )
              warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function Context.__del__ at 0x7fdda0bb2290>
E               
E               Traceback (most recent call last):
E File "/usr/lib/python3/dist-packages/zmq/sugar/context.py", line 65, in __del__
E                   warnings.warn(
E ResourceWarning: unclosed context <zmq.asyncio.Context() at 0x7fdd6d3cb790>

/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning ___________________________ test_smoke_faulthandler ____________________________

cls = <class '_pytest.runner.CallInfo'>
func = <function call_runtest_hook.<locals>.<lambda> at 0x7fdd6d218e50>
when = 'call'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
        cls,
func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']",
        reraise: Optional[
Union[Type[BaseException], Tuple[Type[BaseException], ...]]
        ] = None,
) -> "CallInfo[TResult]":
        excinfo = None
        start = timing.time()
        precise_start = timing.perf_counter()
        try:
          result: Optional[TResult] = func()

/usr/lib/python3/dist-packages/_pytest/runner.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/runner.py:255: in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/dist-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: in pytest_runtest_call
    yield from unraisable_exception_runtest_hook()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def unraisable_exception_runtest_hook() -> Generator[None, None, None]: with catch_unraisable_exception() as cm:
            yield
            if cm.unraisable:
if cm.unraisable.err_msg is not None:
                    err_msg = cm.unraisable.err_msg
                else:
err_msg = "Exception ignored in" msg = f"{err_msg}: {cm.unraisable.object!r}\n\n"
                msg += "".join(
                    traceback.format_exception(
                        cm.unraisable.exc_type,
                        cm.unraisable.exc_value,
                        cm.unraisable.exc_traceback,
                    )
                )
              warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function Context.__del__ at 0x7fdda0bb2290>
E               
E               Traceback (most recent call last):
E File "/usr/lib/python3/dist-packages/zmq/sugar/context.py", line 65, in __del__
E                   warnings.warn(
E ResourceWarning: unclosed context <zmq.asyncio.Context() at 0x7fdd6d3c8360>

/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning _____________________ test_interrupt_during_pdb_set_trace ______________________

cls = <class '_pytest.runner.CallInfo'>
func = <function call_runtest_hook.<locals>.<lambda> at 0x7fdd6d21b760>
when = 'call'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
        cls,
func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']",
        reraise: Optional[
Union[Type[BaseException], Tuple[Type[BaseException], ...]]
        ] = None,
) -> "CallInfo[TResult]":
        excinfo = None
        start = timing.time()
        precise_start = timing.perf_counter()
        try:
          result: Optional[TResult] = func()

/usr/lib/python3/dist-packages/_pytest/runner.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/runner.py:255: in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/dist-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: in pytest_runtest_call
    yield from unraisable_exception_runtest_hook()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def unraisable_exception_runtest_hook() -> Generator[None, None, None]: with catch_unraisable_exception() as cm:
            yield
            if cm.unraisable:
if cm.unraisable.err_msg is not None:
                    err_msg = cm.unraisable.err_msg
                else:
err_msg = "Exception ignored in" msg = f"{err_msg}: {cm.unraisable.object!r}\n\n"
                msg += "".join(
                    traceback.format_exception(
                        cm.unraisable.exc_type,
                        cm.unraisable.exc_value,
                        cm.unraisable.exc_traceback,
                    )
                )
              warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function Context.__del__ at 0x7fdda0bb2290>
E               
E               Traceback (most recent call last):
E File "/usr/lib/python3/dist-packages/zmq/sugar/context.py", line 65, in __del__
E                   warnings.warn(
E ResourceWarning: unclosed context <zmq.asyncio.Context() at 0x7fdd6d349cb0>

/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning ----------------------------- Captured stdout call ----------------------------- [IPKernelApp] WARNING | debugpy_stream undefined, debugging will not be enabled _________________________________ test_install _________________________________

cls = <class '_pytest.runner.CallInfo'>
func = <function call_runtest_hook.<locals>.<lambda> at 0x7fdd6d394a60>
when = 'call'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @classmethod
    def from_call(
        cls,
func: "Callable[[], TResult]", when: "Literal['collect', 'setup', 'call', 'teardown']",
        reraise: Optional[
Union[Type[BaseException], Tuple[Type[BaseException], ...]]
        ] = None,
) -> "CallInfo[TResult]":
        excinfo = None
        start = timing.time()
        precise_start = timing.perf_counter()
        try:
          result: Optional[TResult] = func()

/usr/lib/python3/dist-packages/_pytest/runner.py:311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/runner.py:255: in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/dist-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/unraisableexception.py:88: in pytest_runtest_call
    yield from unraisable_exception_runtest_hook()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def unraisable_exception_runtest_hook() -> Generator[None, None, None]: with catch_unraisable_exception() as cm:
            yield
            if cm.unraisable:
if cm.unraisable.err_msg is not None:
                    err_msg = cm.unraisable.err_msg
                else:
err_msg = "Exception ignored in" msg = f"{err_msg}: {cm.unraisable.object!r}\n\n"
                msg += "".join(
                    traceback.format_exception(
                        cm.unraisable.exc_type,
                        cm.unraisable.exc_value,
                        cm.unraisable.exc_traceback,
                    )
                )
              warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function Context.__del__ at 0x7fdda0bb2290>
E               
E               Traceback (most recent call last):
E File "/usr/lib/python3/dist-packages/zmq/sugar/context.py", line 65, in __del__
E                   warnings.warn(
E ResourceWarning: unclosed context <zmq.asyncio.Context() at 0x7fdd6d3805e0>

/usr/lib/python3/dist-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning ------------------------------ Captured log call ------------------------------- WARNING  traitlets:kernelspec.py:396 Installing to /tmp/tmpciaaqiiw/kernels, which is not in ['/tmp/autopkgtest-lxc.nxe7urb5/downtmp/autopkgtest_tmp/.local/share/jupyter/kernels', '/usr/local/share/jupyter/kernels', '/usr/share/jupyter/kernels', '/tmp/autopkgtest-lxc.nxe7urb5/downtmp/autopkgtest_tmp/.ipython/kernels']. The kernelspec may not be found.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to