Public bug reported:

See the build logs here:
https://launchpad.net/ubuntu/+source/scaphandre/1.0.2-2

failures:
    exporter_qemu

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0
filtered out; finished in 0.06s

error: test failed, to rerun pass `--test integration`
   Doc-tests scaphandre
     Running `CARGO=/usr/lib/rust-1.84/bin/cargo CARGO_CRATE_NAME=scaphandre 
CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> 
CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Benoit Petit 
<[email protected]>' CARGO_PKG_DESCRIPTION='Electric power/energy consumption 
monitoring agent.' CARGO_PKG_HOMEPAGE='https://scaphandre.hubblo.org' 
CARGO_PKG_LICENSE=Apache-2.0 CARGO_PKG_LICENSE_FILE='' 
CARGO_PKG_NAME=scaphandre CARGO_PKG_README=README.md 
CARGO_PKG_REPOSITORY='https://github.com/hubblo-org/scaphandre' 
CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.0.2 CARGO_PKG_VERSION_MAJOR=1 
CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' 
LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/release/deps rustdoc --edition=2021 
--crate-type lib --color auto --crate-name scaphandre --test src/lib.rs 
--test-run-directory /<<PKGBUILDDIR>> --target x86_64-unknown-linux-gnu -L 
dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps -L 
dependency=/<<PKGBUILDDIR>>/target/release/deps -L 
native=/usr/lib/x86_64-linux-gnu --test-args --skip --test-args read_core_stats 
--test-args --skip --test-args read_socket_stats --test-args --skip --test-args 
get_topology_returns_topology_type --test-args --skip --test-args 
read_topology_stats --extern 
chrono=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libchrono-57e1878158482a69.rlib
 --extern 
clap=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libclap-9ee9f419330cff07.rlib
 --extern 
colored=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libcolored-4f3c797c54b8841d.rlib
 --extern 
ctrlc=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libctrlc-708fadf9df73dd74.rlib
 --extern 
hostname=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libhostname-c88c4363f0c7e9d5.rlib
 --extern 
hyper=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libhyper-c31561edf0ef24c1.rlib
 --extern 
isahc=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libisahc-1d49210b0b9b81ce.rlib
 --extern 
log=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/liblog-adb364b57cf9df49.rlib
 --extern 
loggerv=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libloggerv-bdbc36b5abf2ca4e.rlib
 --extern 
ordered_float=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libordered_float-096c528058a7d811.rlib
 --extern 
procfs=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libprocfs-d8e5ac312d423971.rlib
 --extern 
protobuf=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libprotobuf-4a139fff8a34f1a2.rlib
 --extern 
regex=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libregex-30e06cdfc9e5a49f.rlib
 --extern 
scaphandre=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libscaphandre-796de843310a227a.rlib
 --extern 
serde=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libserde-8e0a8cb804352672.rlib
 --extern 
serde_json=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libserde_json-bb2e7cab74022c50.rlib
 --extern 
sysinfo=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libsysinfo-e2eb1b1211cbcbff.rlib
 --extern 
time=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libtime-6087ea4eb3e64b80.rlib
 --extern 
tokio=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/release/deps/libtokio-d6ae7c59413dc34d.rlib
 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="hyper"' --cfg 
'feature="isahc"' --cfg 'feature="json"' --cfg 'feature="prometheus"' --cfg 
'feature="prometheuspush"' --cfg 'feature="qemu"' --cfg 'feature="serde"' --cfg 
'feature="serde_json"' --cfg 'feature="tokio"' --check-cfg 'cfg(docsrs)' 
--check-cfg 'cfg(feature, values("default", "hyper", "isahc", "json", 
"prometheus", "prometheuspush", "qemu", "serde", "serde_json", "tokio"))' 
--error-format human`

running 3 tests
test src/sensors/mod.rs - sensors::Topology::generate_cpu_cores (line 159) ... 
ok
test src/sensors/utils.rs - sensors::utils::ProcessTracker::new (line 240) ... 
ok
test src/sensors/utils.rs - sensors::utils::ProcessTracker::add_process_record 
(line 288) ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered
out; finished in 1.21s

error: 1 target failed:
    `--test integration`
dh_auto_test: error: /usr/share/dh-rust/bin/cargo test --no-fail-fast -- --skip 
read_core_stats --skip read_socket_stats --skip 
get_topology_returns_topology_type --skip read_topology_stats returned exit 
code 101
make[1]: *** [debian/rules:46: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:43: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-02-22T18:01:34Z

This makes sense, because tests are not ran on riscv64 by default.

** Affects: scaphandre (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: scaphandre (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: ftbfs update-excuse

** Bug watch added: Debian Bug tracker #1097327
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097327

** Also affects: scaphandre (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097327
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2099765

Title:
  [p-m] FTBFS on !riscv64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/scaphandre/+bug/2099765/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to