Source: python-tornado
Version: 6.5.5-4
Severity: important
Justification: fails autopkgtest on Debian CI infrastructure
Tags: forky sid
User: [email protected]
Usertags: lxc

Hi,

Debian CI is switching away from lxc containers in favor of incus Containers.
This is motivated by security concerns from us; incus is based on lxc, but
orchestrates containers substantially different: containers are not privileged
(so root in the container is not uid 0 outside of it), and incus imposes a
stricter isolation from the host system).

python-tornado passes its tests under lxc, but fails under incus.
The relevant part of the failure is (hopefully):

> test_bind_source_ip 
> (tornado.test.curl_httpclient_test.CurlHTTPClientCommonTestCase.test_bind_source_ip)
>  ... [E 260814 20:54:23 ioloop:949] Exception in callback <bound method 
> CurlAsyncHTTPClient._handle_force_timeout of 
> <tornado.curl_httpclient.CurlAsyncHTTPClient object at 0x7f4a58549490>>
>     Traceback (most recent call last):
>       File "/usr/lib/python3/dist-packages/tornado/ioloop.py", line 945, in 
> _run
>         val = self.callback()
>       File "/usr/lib/python3/dist-packages/tornado/curl_httpclient.py", line 
> 198, in _handle_force_timeout
>         ret, num_handles = self._multi.socket_all()
>                            ~~~~~~~~~~~~~~~~~~~~~~^^
>     DeprecationWarning: socket_all is deprecated; use socket_action
> ok
> [...]
> ----------------------------------------------------------------------
> Ran 1230 tests in 20.988s
> 
> OK (skipped=7)
> Some tests were skipped because: Prevent internet access during build,
> failing on Salsa CI, needs fix, no testable future imports, py312 has
> its own check for test case returns, pycares module not present
> [E 260814 20:54:38 runtests:212] logged 0 infos, 0 warnings, 1 errors, and 
> 613 bytes to stderr
> autopkgtest [20:54:39]: test python3: -----------------------]
> autopkgtest [20:54:39]: test python3:  - - - - - - - - - - results - - - - - 
> - - - - -
> python3              FAIL non-zero exit status 1
> autopkgtest [20:54:39]: @@@@@@@@@@@@@@@@@@@@ summary
> python3              FAIL non-zero exit status 1

The full autokpgtest logs are available at:
https://ci.debian.net/experiments/8/regressions/
(please beware of pagination)

Common types of failure and suggested fixes are being documented at:
https://wiki.debian.org/ContinuousIntegration/LxcToIncus

Note that for the time being, python-tornado is still being tested under lxc to
avoid disturbing its testing migration test results.

If you decide to add the `isolation-machine` restriction to get this package
tested under qemu, please mention that explicitly when closing this bug (it's
fine to do that only in the package changelog entry that closes the bug) so
that we can configure your package for qemu on ci.debian.net.

Attachment: signature.asc
Description: PGP signature

Reply via email to