nds2-client-swig 0.16.12: python3_mockup test fails for Bookworm
While Buster (which has full Python 2.7) and Bullseye (with some rudimentary Python 2 support still) let me build this package, Debian 12 Bookworm no longer works.
First I had to add -DENABLE_SWIG_PYTHON2=no
to the cmake
line in debian/rules
.
nds2-client-swig
seems to be the only package now that needs this kind of special handling (and has the default ENABLE_SWIG_PYTHON2=yes
if the variable isn't set, independent of the actual Python version found).
This doesn't make the build succeed yet though, it's one of the tests that now fails:
86% tests passed, 1 tests failed out of 7
Total Test time (real) = 2.47 sec
The following tests FAILED:
4 - _python3_mockup_ (Failed)
Errors while running CTest
Is there a place where I can find more info beyond this:
test 4
Start 4: _python3_mockup_
4: Test command: /usr/bin/python3 "/usr/libexec/nds2-client/nds_tester.py" "--builddir=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu/python/python3" "--abs-top-srcdir=/build/nds2-client-swig-0.16.12" "--abs-srcdir=/build/nds2-client-swig-0.16.12/python/python3" "--abs-top-builddir=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu" "--abs-testerdir=/usr/libexec/nds2-client" "--nds1-mock-server" "/build/nds2-client-swig-0.16.12/python/python3/../test/test_mockup.py"
4: Working Directory: /build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu/python/python3
4: Environment variables:
4: PYTHONPATH=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu/python/python3:/usr/sbin:/usr/bin:/sbin:/bin
4: PYTHON=/usr/bin/python3
4: Test timeout computed to be: 1500
4: Testing with read-writable database...
4: MOCK SERVE CMD: 'version'
4: MOCK SERVE CMD: 'revision'
4: MOCK SERVE CMD: 'quit'
4: -- INFO: Started nds_tester: ['--abs-top-builddir=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu', '--abs-top-srcdir=/build/nds2-client-swig-0.16.12', '--abs-srcdir=/build/nds2-client-swig-0.16.12/python/python3', '--abs-testerdir=/usr/libexec/nds2-client', '--builddir=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu/python/python3', '/build/nds2-client-swig-0.16.12/python/python3/../test/test_mockup.py']
4: -- FAIL: Mock Client retval: 1
4: -- INFO: Starting the nds1 mockup server
4: -- INFO: Starting the nds1 mockup server
4: INFO: command: /usr/bin/python3
4: -- INFO: mockup serverver invoking subprocess: ['/usr/bin/python3', '/usr/libexec/nds2-client/nds_tester.py', '--abs-top-builddir=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu', '--abs-top-srcdir=/build/nds2-client-swig-0.16.12', '--abs-srcdir=/build/nds2-client-swig-0.16.12/python/python3', '--abs-testerdir=/usr/libexec/nds2-client', '--builddir=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu/python/python3', '/build/nds2-client-swig-0.16.12/python/python3/../test/test_mockup.py']
4: -- INFO: Started nds_tester: ['--builddir=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu/python/python3', '--abs-top-srcdir=/build/nds2-client-swig-0.16.12', '--abs-srcdir=/build/nds2-client-swig-0.16.12/python/python3', '--abs-top-builddir=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu', '--abs-testerdir=/usr/libexec/nds2-client', '--nds1-mock-server', '/build/nds2-client-swig-0.16.12/python/python3/../test/test_mockup.py']
4: -- FAIL: Mock Server retval: 1
4/7 Test #4: _python3_mockup_ .................***Failed 0.40 sec
Testing with read-writable database...
MOCK SERVE CMD: 'version'
MOCK SERVE CMD: 'revision'
MOCK SERVE CMD: 'quit'
-- INFO: Started nds_tester: ['--abs-top-builddir=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu', '--abs-top-srcdir=/build/nds2-client-swig-0.16.12', '--abs-srcdir=/build/nds2-client-swig-0.16.12/python/python3', '--abs-testerdir=/usr/libexec/nds2-client', '--builddir=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu/python/python3', '/build/nds2-client-swig-0.16.12/python/python3/../test/test_mockup.py']
-- FAIL: Mock Client retval: 1
-- INFO: Starting the nds1 mockup server
-- INFO: Starting the nds1 mockup server
INFO: command: /usr/bin/python3
-- INFO: mockup serverver invoking subprocess: ['/usr/bin/python3', '/usr/libexec/nds2-client/nds_tester.py', '--abs-top-builddir=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu', '--abs-top-srcdir=/build/nds2-client-swig-0.16.12', '--abs-srcdir=/build/nds2-client-swig-0.16.12/python/python3', '--abs-testerdir=/usr/libexec/nds2-client', '--builddir=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu/python/python3', '/build/nds2-client-swig-0.16.12/python/python3/../test/test_mockup.py']
-- INFO: Started nds_tester: ['--builddir=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu/python/python3', '--abs-top-srcdir=/build/nds2-client-swig-0.16.12', '--abs-srcdir=/build/nds2-client-swig-0.16.12/python/python3', '--abs-top-builddir=/build/nds2-client-swig-0.16.12/obj-x86_64-linux-gnu', '--abs-testerdir=/usr/libexec/nds2-client', '--nds1-mock-server', '/build/nds2-client-swig-0.16.12/python/python3/../test/test_mockup.py']
-- FAIL: Mock Server retval: 1
Apologies for line formatting - the full build (attempt) log can be found at https://hypatia.aei.mpg.de/lsc-amd64-bookworm/nds2-client-swig_0.16.12-1+deb12u1_amd64.--pbuilderlog
Is this actually an indication of the nds2-client
0.16.8 package having a problem?