[Debian-med-packaging] Bug#847321: src:opensurgsim: FTBFS (test failures) on armhf
Ghislain Antony Vaillant
ghisvail at gmail.com
Wed Dec 7 10:13:28 UTC 2016
Package: src:opensurgsim
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Dear Maintainer,
The package used to successfully build on armhf but now fails during the
testing stage. According to the logs, it seems to be due to tolerance
errors.
You will find a copy of the relevant part of the build log below:
```
[----------] 8 tests from ReplayPoseDeviceTest
[ RUN ] ReplayPoseDeviceTest.Name
[ OK ] ReplayPoseDeviceTest.Name (0 ms)
[ RUN ] ReplayPoseDeviceTest.Filename
[ OK ] ReplayPoseDeviceTest.Filename (261 ms)
[ RUN ] ReplayPoseDeviceTest.Initialize
[ OK ] ReplayPoseDeviceTest.Initialize (13 ms)
[ RUN ] ReplayPoseDeviceTest.Factory
[ OK ] ReplayPoseDeviceTest.Factory (1 ms)
[ RUN ] ReplayPoseDeviceTest.AddInputConsumerRecord60HzReplay60Hz
/«PKGBUILDDIR»/SurgSim/Devices/ReplayPoseDevice/UnitTests/ReplayPoseDeviceTest.cpp:186:
Failure
The difference between 0 and (pose.matrix() - poseEnd.matrix()).norm()
is 2.3896084977057512, which exceeds 1e-6, where
0 evaluates to 0,
(pose.matrix() - poseEnd.matrix()).norm() evaluates to
2.3896084977057512, and
1e-6 evaluates to 9.9999999999999995e-07.
[ FAILED ] ReplayPoseDeviceTest.AddInputConsumerRecord60HzReplay60Hz
(1127 ms)
[ RUN ] ReplayPoseDeviceTest.AddInputConsumerRecord60HzReplay1000Hz
/«PKGBUILDDIR»/SurgSim/Devices/ReplayPoseDevice/UnitTests/ReplayPoseDeviceTest.cpp:186:
Failure
The difference between 0 and (pose.matrix() - poseEnd.matrix()).norm()
is 1.0212096449449393, which exceeds 1e-6, where
0 evaluates to 0,
(pose.matrix() - poseEnd.matrix()).norm() evaluates to
1.0212096449449393, and
1e-6 evaluates to 9.9999999999999995e-07.
[ FAILED ] ReplayPoseDeviceTest.AddInputConsumerRecord60HzReplay1000Hz
(1539 ms)
```
The offending test case probably needs its tolerance to be adjusted.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
More information about the Debian-med-packaging
mailing list