[Pkg-rust-maintainers] Bug#1123556: rust-ognibuild unit test breaks in autopkgtest environment

Max Gilmour max.gilmour at canonical.com
Wed Dec 17 21:14:08 GMT 2025


Source: rust-ognibuild
Version: 0.2.6-1
Severity: normal
Tags: patch

Dear Maintainer,

rust-ognibuild 0.2.6-1 isn't able to migrate on Ubuntu due to failing
autopkgtests (LP: #2136182). The autopkgtests are failing because a unit
test tries to create a socket, which isn't available in the restricted
autopkgtest environment:

508s ----
debian::build_deps::tests::test_build_dependency_tie_breaker_from_session
stdout ----
508s
508s thread
'debian::build_deps::tests::test_build_dependency_tie_breaker_from_session'
panicked at src/debian/build_deps.rs:34:59:
508s called `Result::unwrap()` on an `Err` value: Socket(Os { code: 13,
kind: PermissionDenied, message: "Permission denied" })


To fix the problem, I've updated your disable-broken-tests patch to
disable this test, just like the other two tests which try to create
sockets. I've included the updated patch here.

Best wishes,

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20251217/2c6b55aa/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable-broken-tests
Type: application/octet-stream
Size: 988 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20251217/2c6b55aa/attachment.obj>


More information about the Pkg-rust-maintainers mailing list