[Pkg-rust-maintainers] Bug#1144836: rust-swaysome: autopkgtest fails under incus-lxc: failed to execute 'kill': Os { code: 2, kind: NotFound, message: "No such file or directory" }

Antonio Terceiro terceiro at debian.org
Wed Aug 19 11:15:11 BST 2026


Source: rust-swaysome
Version: 2.3.2-1
Severity: important
Justification: fails autopkgtest on Debian CI infrastructure
Tags: forky sid
User: debian-ci at lists.debian.org
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).

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

> 
> running 0 tests
> 
> test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
> 
> Running `CARGO=/usr/bin/cargo CARGO_BIN_EXE_swaysome=/tmp/tmp.6EK0ZOiIU8/target/x86_64-unknown-linux-gnu/debug/swaysome CARGO_MANIFEST_DIR=/usr/share/cargo/registry/swaysome-2.3.2 CARGO_MANIFEST_PATH=/usr/share/cargo/registry/swaysome-2.3.2/Cargo.toml CARGO_PKG_AUTHORS='Skia <skia at hya.sk>:Nabos <nabos at glargh.fr>' CARGO_PKG_DESCRIPTION='swaysome provides an awesome way to manage your multiple outputs with the sway windows manager' CARGO_PKG_HOMEPAGE='https://gitlab.com/hyask/swaysome' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=swaysome CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://gitlab.com/hyask/swaysome' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=2.3.2 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.6EK0ZOiIU8/target/x86_64-unknown-linux-gnu/debug:/tmp/tmp.6EK0ZOiIU8/target/x86_64-unknown-linux-gnu/debug/deps:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' /tmp/tmp.6EK0ZOiIU8/target/x86_64-unknown-linux-gnu/debug/deps/integration-f3b2b57b6d3b88fa`
> 
> running 8 tests
> test test_init_three_outputs ... FAILED
> test test_three_outputs_moving_around_across_outputs_without_init ... FAILED
> test test_three_outputs_moving_around_same_workspace_group ... FAILED
> test test_three_outputs_moving_around_across_outputs ... FAILED
> test test_three_outputs_moving_groups_across_outputs ... FAILED
> test test_three_outputs_moving_around_across_workspace_groups ... FAILED
> test test_three_outputs_moving_around_absolute ... FAILED
> test test_three_outputs_plugging_unplugging_outputs ... FAILED
> 
> failures:
> 
> ---- test_init_three_outputs stdout ----
> successful connection to socket '/tmp/swaysome_tests/test_init_three_outputs/swaysock'
> Init 1
> Sending command: 'focus output HEADLESS-3' - Command successful
> Sending command: 'workspace number 31' - Command successful
> Sending command: 'focus output HEADLESS-2' - Command successful
> Sending command: 'workspace number 21' - Command successful
> Sending command: 'focus output HEADLESS-1' - Command successful
> Sending command: 'workspace number 11' - Command successful
> 
> thread 'test_init_three_outputs' (8931) panicked at tests/utils/mod.rs:14:10:
> failed to execute 'kill': Os { code: 2, kind: NotFound, message: "No such file or directory" }
> stack backtrace:
> 0: __rustc::rust_begin_unwind
> at /usr/src/rustc-1.95.0/library/std/src/panicking.rs:689:5
> 1: core::panicking::panic_fmt
> at /usr/src/rustc-1.95.0/library/core/src/panicking.rs:80:14
> 2: core::result::unwrap_failed
> at /usr/src/rustc-1.95.0/library/core/src/result.rs:1867:5
> 3: core::result::Result<T,E>::expect
> at /usr/src/rustc-1.95.0/library/core/src/result.rs:1185:23
> 4: integration::utils::signal
> at ./tests/utils/mod.rs:14:10
> 5: integration::utils::Sway::stop
> at ./tests/utils/mod.rs:117:9
> 6: <integration::utils::Sway as core::ops::drop::Drop>::drop
> at ./tests/utils/mod.rs:130:14
> 7: core::ptr::drop_in_place<integration::utils::Sway>
> at /usr/src/rustc-1.95.0/library/core/src/ptr/mod.rs:805:1
> 8: integration::test_init_three_outputs
> at ./tests/integration.rs:43:1
> 9: integration::test_init_three_outputs::{{closure}}
> at ./tests/integration.rs:11:29
> 10: core::ops::function::FnOnce::call_once
> at /usr/src/rustc-1.95.0/library/core/src/ops/function.rs:250:5
> 11: <fn() -> core::result::Result<(), alloc::string::String> as core::ops::function::FnOnce<()>>::call_once
> at /usr/src/rustc-1.95.0/library/core/src/ops/function.rs:250:5
> note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
> 
> ---- test_three_outputs_moving_around_across_outputs_without_init stdout ----
> successful connection to socket '/tmp/swaysome_tests/test_three_outputs_moving_around_across_outputs_without_init/swaysock'
> Move TERM3 to group 3


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, rust-swaysome 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20260819/d43ed4aa/attachment.sig>


More information about the Pkg-rust-maintainers mailing list