Source: python-podman Version: 5.4.0.1-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-podman passes its tests under lxc, but fails under incus. The relevant part of the failure is (hopefully): > delta = value - datetime.utcfromtimestamp(0) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > SUBFAILED[Check devices in container object] > podman/tests/integration/test_container_create.py::ContainersIntegrationTest::test_container_devices > SUBFAILED[Check devices in running container object] > podman/tests/integration/test_container_create.py::ContainersIntegrationTest::test_container_devices > SUBFAILED[Check bind mount] > podman/tests/integration/test_container_create.py::ContainersIntegrationTest::test_container_directory_volume_mount > SUBFAILED[Check content of /etc/resolv.conf] > podman/tests/integration/test_container_create.py::ContainersIntegrationTest::test_container_dns_option > SUBFAILED[Check extra hosts in running container] > podman/tests/integration/test_container_create.py::ContainersIntegrationTest::test_container_extra_hosts > SUBFAILED[Check bind mount] > podman/tests/integration/test_container_create.py::ContainersIntegrationTest::test_container_mounts > SUBFAILED[Check tmpfs mount] > podman/tests/integration/test_container_create.py::ContainersIntegrationTest::test_container_mounts > SUBFAILED[Check uppercase mount option attributes] > podman/tests/integration/test_container_create.py::ContainersIntegrationTest::test_container_mounts > SUBFAILED[Check read_write_tmpfs set to True] > podman/tests/integration/test_container_create.py::ContainersIntegrationTest::test_read_write_tmpfs > SUBFAILED[Check read_write_tmpfs set to False] > podman/tests/integration/test_container_create.py::ContainersIntegrationTest::test_read_write_tmpfs > SUBFAILED[Check read_write_tmpfs set to None] > podman/tests/integration/test_container_create.py::ContainersIntegrationTest::test_read_write_tmpfs > FAILED > podman/tests/integration/test_container_exec.py::ContainersExecIntegrationTests::test_container_exec_run > FAILED > podman/tests/integration/test_container_exec.py::ContainersExecIntegrationTests::test_container_exec_run_demux > FAILED > podman/tests/integration/test_container_exec.py::ContainersExecIntegrationTests::test_container_exec_run_errorcode > FAILED > podman/tests/integration/test_container_exec.py::ContainersExecIntegrationTests::test_container_exec_run_stream > FAILED > podman/tests/integration/test_container_exec.py::ContainersExecIntegrationTests::test_container_exec_run_stream_demux > FAILED > podman/tests/integration/test_container_exec.py::ContainersExecIntegrationTests::test_container_exec_run_stream_detach > SUBFAILED[Get container's logs] > podman/tests/integration/test_containers.py::ContainersIntegrationTest::test_container_crud > SUBFAILED[Run Container] > podman/tests/integration/test_containers.py::ContainersIntegrationTest::test_container_crud > SUBFAILED[Create-Init-Start Container] > podman/tests/integration/test_containers.py::ContainersIntegrationTest::test_container_crud > SUBFAILED[Prune Containers] > podman/tests/integration/test_containers.py::ContainersIntegrationTest::test_container_crud > SUBFAILED[Remove digest] > podman/tests/integration/test_manifests.py::ManifestsIntegrationTest::test_manifest_crud > FAILED podman/tests/integration/test_pods.py::PodsIntegrationTest::test_ps - > ... > = 23 failed, 203 passed, 5 skipped, 1 warning, 45 subtests passed in 67.51s > (0:01:07) = > autopkgtest [21:12:59]: test unittests: -----------------------] > autopkgtest [21:12:59]: test unittests: - - - - - - - - - - results - - - - > - - - - - - > unittests 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-podman 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.
signature.asc
Description: PGP signature

