Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1261032

Bug#1114940: lxd: FTBFS in bookworm: Cluster database initialization failed: Failed to begin transaction: failed to create dqlite connection: no available dqlite leader server found

From Santiago Vila <sanvila@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1114940: lxd: FTBFS in bookworm: Cluster database initialization failed: Failed to begin transaction: failed to create dqlite connection: no available dqlite leader server found
Date 2025-09-11 23:00 +0200
Message-ID <LtWyB-eBfp-21@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: src:lxd
Version: 5.0.2-5
Severity: serious
Control: fixed -1 5.0.2+git20231211.1364ae4-9
Tags: ftbfs bookworm

Dear maintainer:

During a rebuild of all packages in bookworm, your package failed to build.

[ Note: The bug is marked as fixed with the version in trixie, but
  packages in bookworm must still build in bookworm ].

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/bookworm/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:lxd, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --builddirectory=_build --buildsystem=golang --with=golang
   dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_clean -O--builddirectory=_build -O--buildsystem=golang
 debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang --with=golang
   dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
   dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang

[... snipped ...]

=== RUN   ExampleInstanceParts
--- PASS: ExampleInstanceParts (0.00s)
=== RUN   ExampleStorageVolume
--- PASS: ExampleStorageVolume (0.00s)
PASS
ok  	github.com/lxc/lxd/lxd/project	0.872s
?   	github.com/lxc/lxd/lxd/rbac	[no test files]
=== RUN   ExampleIncrement
--- PASS: ExampleIncrement (0.00s)
=== RUN   ExampleDecrement
--- PASS: ExampleDecrement (0.00s)
PASS
ok  	github.com/lxc/lxd/lxd/refcount	0.006s
?   	github.com/lxc/lxd/lxd/request	[no test files]
?   	github.com/lxc/lxd/lxd/resources	[no test files]
?   	github.com/lxc/lxd/lxd/response	[no test files]
=== RUN   ExampleReverter_success
--- PASS: ExampleReverter_success (0.00s)
PASS
ok  	github.com/lxc/lxd/lxd/revert	0.002s
?   	github.com/lxc/lxd/lxd/rsync	[no test files]
=== RUN   TestMountFlagsToOpts
--- PASS: TestMountFlagsToOpts (0.00s)
PASS
ok  	github.com/lxc/lxd/lxd/seccomp	0.030s
?   	github.com/lxc/lxd/lxd/state	[no test files]
?   	github.com/lxc/lxd/lxd/storage	[no test files]
=== RUN   Test_ceph_getRBDVolumeName
=== RUN   Test_ceph_getRBDVolumeName/Volume_without_pool_name
=== RUN   Test_ceph_getRBDVolumeName/Volume_with_unknown_type_and_without_pool_name
=== RUN   Test_ceph_getRBDVolumeName/Volume_without_pool_name_in_zombie_mode
=== RUN   Test_ceph_getRBDVolumeName/Volume_with_pool_name_in_zombie_mode
=== RUN   Test_ceph_getRBDVolumeName/Volume_snapshot_with_dedicated_snapshot_name_and_without_pool_name
=== RUN   Test_ceph_getRBDVolumeName/Volume_snapshot_with_dedicated_snapshot_name_and_pool_name
=== RUN   Test_ceph_getRBDVolumeName/Volume_snapshot_with_pool_name
=== RUN   Test_ceph_getRBDVolumeName/Volume_snapshot_with_additional_dedicated_snapshot_name_and_pool_name
--- PASS: Test_ceph_getRBDVolumeName (0.00s)
    --- PASS: Test_ceph_getRBDVolumeName/Volume_without_pool_name (0.00s)
    --- PASS: Test_ceph_getRBDVolumeName/Volume_with_unknown_type_and_without_pool_name (0.00s)
    --- PASS: Test_ceph_getRBDVolumeName/Volume_without_pool_name_in_zombie_mode (0.00s)
    --- PASS: Test_ceph_getRBDVolumeName/Volume_with_pool_name_in_zombie_mode (0.00s)
    --- PASS: Test_ceph_getRBDVolumeName/Volume_snapshot_with_dedicated_snapshot_name_and_without_pool_name (0.00s)
    --- PASS: Test_ceph_getRBDVolumeName/Volume_snapshot_with_dedicated_snapshot_name_and_pool_name (0.00s)
    --- PASS: Test_ceph_getRBDVolumeName/Volume_snapshot_with_pool_name (0.00s)
    --- PASS: Test_ceph_getRBDVolumeName/Volume_snapshot_with_additional_dedicated_snapshot_name_and_pool_name (0.00s)
=== RUN   TestGetVolumeMountPath
--- PASS: TestGetVolumeMountPath (0.00s)
=== RUN   Test_Volume_ConfigSizeFromSource
--- PASS: Test_Volume_ConfigSizeFromSource (0.00s)
=== RUN   Example_ceph_parseParent
--- PASS: Example_ceph_parseParent (0.00s)
=== RUN   Example_lvm_parseLogicalVolumeName
--- PASS: Example_lvm_parseLogicalVolumeName (0.00s)
PASS
ok  	github.com/lxc/lxd/lxd/storage/drivers	0.018s
?   	github.com/lxc/lxd/lxd/storage/filesystem	[no test files]
=== RUN   TestMemoryPipe
--- PASS: TestMemoryPipe (0.00s)
PASS
ok  	github.com/lxc/lxd/lxd/storage/memorypipe	0.002s
?   	github.com/lxc/lxd/lxd/storage/quota	[no test files]
?   	github.com/lxc/lxd/lxd/sys	[no test files]
=== RUN   TestGroup_Add
--- PASS: TestGroup_Add (0.00s)
=== RUN   TestGroup_StopUngracefully
--- PASS: TestGroup_StopUngracefully (0.00s)
=== RUN   TestTask_ExecuteImmediately
--- PASS: TestTask_ExecuteImmediately (0.00s)
=== RUN   TestTask_ExecutePeriodically
--- PASS: TestTask_ExecutePeriodically (0.25s)
=== RUN   TestTask_Reset
--- PASS: TestTask_Reset (0.25s)
=== RUN   TestTask_ZeroInterval
--- PASS: TestTask_ZeroInterval (0.10s)
=== RUN   TestTask_ScheduleError
--- PASS: TestTask_ScheduleError (0.10s)
=== RUN   TestTask_ScheduleTemporaryError
--- PASS: TestTask_ScheduleTemporaryError (0.00s)
=== RUN   TestTask_SkipFirst
--- PASS: TestTask_SkipFirst (0.40s)
PASS
ok  	github.com/lxc/lxd/lxd/task	1.111s
?   	github.com/lxc/lxd/lxd/template	[no test files]
?   	github.com/lxc/lxd/lxd/ucred	[no test files]
=== RUN   Test_CompareConfigsMismatch
=== RUN   Test_CompareConfigsMismatch/different_values_for_keys:_foo
=== RUN   Test_CompareConfigsMismatch/different_values_for_keys:_egg,_foo
--- PASS: Test_CompareConfigsMismatch (0.00s)
    --- PASS: Test_CompareConfigsMismatch/different_values_for_keys:_foo (0.00s)
    --- PASS: Test_CompareConfigsMismatch/different_values_for_keys:_egg,_foo (0.00s)
=== RUN   Test_CompareConfigs
--- PASS: Test_CompareConfigs (0.00s)
=== RUN   TestInMemoryNetwork
--- PASS: TestInMemoryNetwork (0.00s)
=== RUN   TestCanonicalNetworkAddress
=== RUN   TestCanonicalNetworkAddress/foo.bar:8444
=== RUN   TestCanonicalNetworkAddress/[f921:7358:4510:3fce:ac2e:844:2a35:54e]:
=== RUN   TestCanonicalNetworkAddress/127.0.0.1
=== RUN   TestCanonicalNetworkAddress/127.0.0.1:
=== RUN   TestCanonicalNetworkAddress/foo.bar
=== RUN   TestCanonicalNetworkAddress/foo.bar:
=== RUN   TestCanonicalNetworkAddress/192.168.1.1:443
=== RUN   TestCanonicalNetworkAddress/f921:7358:4510:3fce:ac2e:844:2a35:54e
=== RUN   TestCanonicalNetworkAddress/[f921:7358:4510:3fce:ac2e:844:2a35:54e]
=== RUN   TestCanonicalNetworkAddress/[f921:7358:4510:3fce:ac2e:844:2a35:54e]:8444
--- PASS: TestCanonicalNetworkAddress (0.00s)
    --- PASS: TestCanonicalNetworkAddress/foo.bar:8444 (0.00s)
    --- PASS: TestCanonicalNetworkAddress/[f921:7358:4510:3fce:ac2e:844:2a35:54e]: (0.00s)
    --- PASS: TestCanonicalNetworkAddress/127.0.0.1 (0.00s)
    --- PASS: TestCanonicalNetworkAddress/127.0.0.1: (0.00s)
    --- PASS: TestCanonicalNetworkAddress/foo.bar (0.00s)
    --- PASS: TestCanonicalNetworkAddress/foo.bar: (0.00s)
    --- PASS: TestCanonicalNetworkAddress/192.168.1.1:443 (0.00s)
    --- PASS: TestCanonicalNetworkAddress/f921:7358:4510:3fce:ac2e:844:2a35:54e (0.00s)
    --- PASS: TestCanonicalNetworkAddress/[f921:7358:4510:3fce:ac2e:844:2a35:54e] (0.00s)
    --- PASS: TestCanonicalNetworkAddress/[f921:7358:4510:3fce:ac2e:844:2a35:54e]:8444 (0.00s)
=== RUN   TestIsAddressCovered
=== RUN   TestIsAddressCovered/127.0.0.1:8443-127.0.0.1:8443
=== RUN   TestIsAddressCovered/garbage-127.0.0.1:8443
=== RUN   TestIsAddressCovered/127.0.0.1:8444-garbage
=== RUN   TestIsAddressCovered/127.0.0.1:8444-127.0.0.1:8443
=== RUN   TestIsAddressCovered/127.0.0.1:8443-0.0.0.0:8443
=== RUN   TestIsAddressCovered/[::1]:8443-0.0.0.0:8443
=== RUN   TestIsAddressCovered/:8443-0.0.0.0:8443
=== RUN   TestIsAddressCovered/127.0.0.1:8443-[::]:8443
=== RUN   TestIsAddressCovered/[::1]:8443-[::]:8443
=== RUN   TestIsAddressCovered/[::1]:8443-:8443
=== RUN   TestIsAddressCovered/:8443-[::]:8443
=== RUN   TestIsAddressCovered/0.0.0.0:8443-[::]:8443
=== RUN   TestIsAddressCovered/10.30.0.8:8443-[::]
=== RUN   TestIsAddressCovered/localhost:8443-127.0.0.1:8443
=== RUN   TestIsAddressCovered/127.0.0.1:8443-localhost:8443
=== RUN   TestIsAddressCovered/[::1]:8443-ip6-localhost:8443
--- PASS: TestIsAddressCovered (0.00s)
    --- PASS: TestIsAddressCovered/127.0.0.1:8443-127.0.0.1:8443 (0.00s)
    --- PASS: TestIsAddressCovered/garbage-127.0.0.1:8443 (0.00s)
    --- PASS: TestIsAddressCovered/127.0.0.1:8444-garbage (0.00s)
    --- PASS: TestIsAddressCovered/127.0.0.1:8444-127.0.0.1:8443 (0.00s)
    --- PASS: TestIsAddressCovered/127.0.0.1:8443-0.0.0.0:8443 (0.00s)
    --- PASS: TestIsAddressCovered/[::1]:8443-0.0.0.0:8443 (0.00s)
    --- PASS: TestIsAddressCovered/:8443-0.0.0.0:8443 (0.00s)
    --- PASS: TestIsAddressCovered/127.0.0.1:8443-[::]:8443 (0.00s)
    --- PASS: TestIsAddressCovered/[::1]:8443-[::]:8443 (0.00s)
    --- PASS: TestIsAddressCovered/[::1]:8443-:8443 (0.00s)
    --- PASS: TestIsAddressCovered/:8443-[::]:8443 (0.00s)
    --- PASS: TestIsAddressCovered/0.0.0.0:8443-[::]:8443 (0.00s)
    --- PASS: TestIsAddressCovered/10.30.0.8:8443-[::] (0.00s)
    --- PASS: TestIsAddressCovered/localhost:8443-127.0.0.1:8443 (0.00s)
    --- PASS: TestIsAddressCovered/127.0.0.1:8443-localhost:8443 (0.00s)
    --- PASS: TestIsAddressCovered/[::1]:8443-ip6-localhost:8443 (0.00s)
=== RUN   TestListenImplicitIPv6Wildcard
--- PASS: TestListenImplicitIPv6Wildcard (0.00s)
=== RUN   ExampleListenAddresses
--- PASS: ExampleListenAddresses (0.00s)
PASS
ok  	github.com/lxc/lxd/lxd/util	0.006s
?   	github.com/lxc/lxd/lxd/vsock	[no test files]
?   	github.com/lxc/lxd/lxd/warnings	[no test files]
?   	github.com/lxc/lxd/lxd-benchmark	[no test files]
?   	github.com/lxc/lxd/lxd-benchmark/benchmark	[no test files]
?   	github.com/lxc/lxd/lxd-migrate	[no test files]
?   	github.com/lxc/lxd/lxd-user	[no test files]
=== RUN   TestGetAllXattr
--- PASS: TestGetAllXattr (0.00s)
=== RUN   TestURLEncode
--- PASS: TestURLEncode (0.00s)
=== RUN   TestUrlsJoin
--- PASS: TestUrlsJoin (0.00s)
=== RUN   TestFileCopy
--- PASS: TestFileCopy (0.00s)
=== RUN   TestDirCopy
--- PASS: TestDirCopy (0.00s)
=== RUN   TestReaderToChannel
--- PASS: TestReaderToChannel (0.00s)
=== RUN   TestGetExpiry
--- PASS: TestGetExpiry (0.00s)
=== RUN   TestHasKey
--- PASS: TestHasKey (0.00s)
=== RUN   TestRemoveElementsFromStringSlice
--- PASS: TestRemoveElementsFromStringSlice (0.00s)
=== RUN   TestKeyPairAndCA
--- PASS: TestKeyPairAndCA (0.01s)
=== RUN   TestGenerateMemCert
--- PASS: TestGenerateMemCert (0.00s)
PASS
ok  	github.com/lxc/lxd/shared	0.019s
=== RUN   ExampleURL
--- PASS: ExampleURL (0.00s)
PASS
ok  	github.com/lxc/lxd/shared/api	0.002s
?   	github.com/lxc/lxd/shared/cancel	[no test files]
?   	github.com/lxc/lxd/shared/cmd	[no test files]
?   	github.com/lxc/lxd/shared/dnsutil	[no test files]
?   	github.com/lxc/lxd/shared/eagain	[no test files]
?   	github.com/lxc/lxd/shared/i18n	[no test files]
=== RUN   TestIdmapSetAddSafe_split
--- PASS: TestIdmapSetAddSafe_split (0.00s)
=== RUN   TestIdmapSetAddSafe_lower
--- PASS: TestIdmapSetAddSafe_lower (0.00s)
=== RUN   TestIdmapSetAddSafe_upper
--- PASS: TestIdmapSetAddSafe_upper (0.00s)
=== RUN   TestIdmapSetIntersects
--- PASS: TestIdmapSetIntersects (0.00s)
=== RUN   TestIdmapHostIDMapRange
--- PASS: TestIdmapHostIDMapRange (0.00s)
PASS
ok  	github.com/lxc/lxd/shared/idmap	0.003s
?   	github.com/lxc/lxd/shared/instancewriter	[no test files]
?   	github.com/lxc/lxd/shared/ioprogress	[no test files]
?   	github.com/lxc/lxd/shared/logger	[no test files]
?   	github.com/lxc/lxd/shared/netutils	[no test files]
=== RUN   TestReleaseTestSuite
=== RUN   TestReleaseTestSuite/TestGetLSBRelease
=== RUN   TestReleaseTestSuite/TestGetLSBReleaseInvalidLine
=== RUN   TestReleaseTestSuite/TestGetLSBReleaseNoQuotes
=== RUN   TestReleaseTestSuite/TestGetLSBReleaseSingleQuotes
=== RUN   TestReleaseTestSuite/TestGetLSBReleaseSkipCommentsEmpty
--- PASS: TestReleaseTestSuite (0.00s)
    --- PASS: TestReleaseTestSuite/TestGetLSBRelease (0.00s)
    --- PASS: TestReleaseTestSuite/TestGetLSBReleaseInvalidLine (0.00s)
    --- PASS: TestReleaseTestSuite/TestGetLSBReleaseNoQuotes (0.00s)
    --- PASS: TestReleaseTestSuite/TestGetLSBReleaseSingleQuotes (0.00s)
    --- PASS: TestReleaseTestSuite/TestGetLSBReleaseSkipCommentsEmpty (0.00s)
PASS
ok  	github.com/lxc/lxd/shared/osarch	0.005s
?   	github.com/lxc/lxd/shared/simplestreams	[no test files]
=== RUN   TestSignalHandling
--- PASS: TestSignalHandling (9.01s)
=== RUN   TestStopRestart
--- PASS: TestStopRestart (5.00s)
=== RUN   TestProcessStartWaitExit
--- PASS: TestProcessStartWaitExit (4.00s)
PASS
ok  	github.com/lxc/lxd/shared/subprocess	18.015s
?   	github.com/lxc/lxd/shared/tcp	[no test files]
?   	github.com/lxc/lxd/shared/termios	[no test files]
?   	github.com/lxc/lxd/shared/units	[no test files]
?   	github.com/lxc/lxd/shared/usbid	[no test files]
=== RUN   ExampleIsNetworkMAC
--- PASS: ExampleIsNetworkMAC (0.00s)
=== RUN   ExampleIsPCIAddress
--- PASS: ExampleIsPCIAddress (0.00s)
=== RUN   ExampleOptional
--- PASS: ExampleOptional (0.00s)
=== RUN   ExampleRequired
--- PASS: ExampleRequired (0.00s)
=== RUN   ExampleIsValidCPUSet
--- PASS: ExampleIsValidCPUSet (0.00s)
PASS
ok  	github.com/lxc/lxd/shared/validate	0.003s
=== RUN   TestVersionTestSuite
=== RUN   TestVersionTestSuite/TestCompareEqual
=== RUN   TestVersionTestSuite/TestCompareNewer
=== RUN   TestVersionTestSuite/TestCompareOlder
=== RUN   TestVersionTestSuite/TestNewVersion
=== RUN   TestVersionTestSuite/TestNewVersionInvalid
=== RUN   TestVersionTestSuite/TestNewVersionNoPatch
=== RUN   TestVersionTestSuite/TestParseDashes
=== RUN   TestVersionTestSuite/TestParseFail
=== RUN   TestVersionTestSuite/TestParseParentheses
=== RUN   TestVersionTestSuite/TestString
--- PASS: TestVersionTestSuite (0.00s)
    --- PASS: TestVersionTestSuite/TestCompareEqual (0.00s)
    --- PASS: TestVersionTestSuite/TestCompareNewer (0.00s)
    --- PASS: TestVersionTestSuite/TestCompareOlder (0.00s)
    --- PASS: TestVersionTestSuite/TestNewVersion (0.00s)
    --- PASS: TestVersionTestSuite/TestNewVersionInvalid (0.00s)
    --- PASS: TestVersionTestSuite/TestNewVersionNoPatch (0.00s)
    --- PASS: TestVersionTestSuite/TestParseDashes (0.00s)
    --- PASS: TestVersionTestSuite/TestParseFail (0.00s)
    --- PASS: TestVersionTestSuite/TestParseParentheses (0.00s)
    --- PASS: TestVersionTestSuite/TestString (0.00s)
PASS
ok  	github.com/lxc/lxd/shared/version	0.004s
FAIL
dh_auto_test: error: cd _build && go test -vet=off -v -p 2 g [too-long-redacted] ed/version returned exit code 1
make[1]: *** [debian/rules:36: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1114940: lxd: FTBFS in bookworm: Cluster database initialization failed: Failed to begin transaction: failed to create dqlite connection: no available dqlite leader server found Santiago Vila <sanvila@debian.org> - 2025-09-11 23:00 +0200
  Bug#1114940: lxd: FTBFS in bookworm: Cluster database initialization failed: Failed to begin transaction: failed to create dqlite connection: no available dqlite leader server found Mathias Gibbens <gibmat@debian.org> - 2025-09-12 01:00 +0200

csiph-web