[Debian-med-packaging] Bug#867660: ball: FTBFS with sip 4.19.x: sip: File::CannotWrite has not been defined

Andreas Tille andreas at an3as.eu
Wed Sep 20 14:00:44 UTC 2017


On Wed, 20 Sep 2017, you wrote:
> I suspect the tests are just flaky and fail randomly.
> 
> Can you try running them not in parallel, i.e. with the attached patch?

I tried:

diff --git a/debian/rules b/debian/rules
index 9d23042..350d537 100755
--- a/debian/rules
+++ b/debian/rules
@@ -49,7 +49,7 @@ We will run the test suite, but ignore any errors to prevent FTBFS.  \
 See Debian bug #830894 for the discussion and how you can help.\
 )
 override_dh_auto_test-arch:
-       -dh_auto_test --
+       dh_auto_test --no-parallel --
 endif


and got:

...
324/333 Test #326: Socket_test ..................................***Failed    0.22 sec
Version: 1.4.79
checking [EXTRA] simple asynchronous socket transmission to/from threaded server... 
    (line 66 TEST_NOT_EQUAL(port, 0): got 0, forbidden is 0)  - 
    FAILED
checking [EXTRA] simple synchronous socket transmission to/from threaded server... passed
FAILED

325/333 Test #325: XDRPersistenceManager_test ...................   Passed    0.25 sec
        Start 327: BallAndStickModel_test
        Start 328: AddCartoonModel_test
        Start 329: LabelModel_test
326/333 Test #328: AddCartoonModel_test .........................   Passed    5.60 sec
        Start 330: LineModel_test
327/333 Test #329: LabelModel_test ..............................   Passed    5.29 sec
328/333 Test #327: BallAndStickModel_test .......................   Passed    5.72 sec
329/333 Test #330: LineModel_test ...............................   Passed    0.17 sec
        Start 331: SurfaceModel_test
        Start 332: HBondModel_test
        Start 333: ColorRGBA_test
330/333 Test #332: HBondModel_test ..............................   Passed    0.23 sec
331/333 Test #333: ColorRGBA_test ...............................   Passed    0.22 sec
332/333 Test #331: SurfaceModel_test ............................   Passed    0.39 sec
333/333 Test #286: RotamerLibrary_test ..........................   Passed   10.80 sec

99% tests passed, 1 tests failed out of 333

Total Test time (real) =  48.55 sec

The following tests FAILED:
        326 - Socket_test (Failed)
Errors while running CTest
...


Kind regards

      Andreas.


-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list