[Debian-med-packaging] Bug#798718: opensurgsim: FTBFS on mips(el) and s390x: TimerTest fails

Paul Novotny paul at paulnovo.us
Tue Sep 15 01:17:48 UTC 2015


On Fri, 11 Sep 2015 17:26:12 -0400 "Aaron M. Ucko" <ucko at debian.org>
wrote:
> Source: opensurgsim
> Version: 0.6.0-2
> Severity: important
> Justification: fails to build from source
> 
> Builds of opensurgsim on mips, mipsel, and s390x all failed with
> errors in SurgSimFrameworkTest's TimerTest, along the following lines:
> 
>   [ RUN      ] TimerTest.SettingFrames
>   /«PKGBUILDDIR»/SurgSim/Framework/UnitTests/TimerTest.cpp:44: Failure
>   Value of: timer->getLastFrameRate()
>     Actual: 34156.5
>   Expected: timer->getAverageFrameRate()
>   Which is: nan
>   /«PKGBUILDDIR»/SurgSim/Framework/UnitTests/TimerTest.cpp:45: Failure
>   Value of: timer->getLastFramePeriod()
>     Actual: 2.9277e-05
>   Expected: timer->getAverageFramePeriod()
>   Which is: nan
>   /«PKGBUILDDIR»/SurgSim/Framework/UnitTests/TimerTest.cpp:46: Failure
>   Value of: timer->getCumulativeTime()
>     Actual: nan
>   Expected: timer->getLastFramePeriod()
>   Which is: 2.9277e-05
>   [  FAILED  ] TimerTest.SettingFrames (1 ms)
>   [ RUN      ] TimerTest.Comparison
>   /«PKGBUILDDIR»/SurgSim/Framework/UnitTests/TimerTest.cpp:74: Failure
>   Expected: (timer1->getAverageFramePeriod()) >= (timer2->getAverageFramePeriod()), actual: nan vs nan
>   /«PKGBUILDDIR»/SurgSim/Framework/UnitTests/TimerTest.cpp:75: Failure
>   Expected: (timer1->getCumulativeTime()) > (timer1->getLastFramePeriod()), actual: nan vs 2.4686e-05
>   [  FAILED  ] TimerTest.Comparison (7 ms)
> 
> Both tests failed on mips and mipsel, but only TimerTest.SettingFrames
> failed on s390x.  Could you please take a look?

I think I fixed this, and pushed changes to the packaging repository
[2]. I would like to test these changes before uploading a new version.
I just applied for access to the porter machines, and I will test the
patch when/if I get access.

Thanks again,
-Paul

[1]
https://anonscm.debian.org/cgit/debian-med/opensurgsim.git/commit/?id=3ba6f4e10f048f261c4badf3c884ff31261e7a6a



More information about the Debian-med-packaging mailing list