0s autopkgtest [03:09:40]: starting date and time: 2026-02-07 03:09:40+0000 0s autopkgtest [03:09:40]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [03:09:40]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ksxtxe9p/out --timeout-copy=6000 --needs-internet=try --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:orthanc-python --apt-upgrade orthanc-python --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=orthanc-python/7.0+ds-1build2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-s390x-26.secgroup --name adt-resolute-s390x-orthanc-python-20260207-030940-juju-7f2275-prod-proposed-migration-environment-2-0b8ddc2c-fd8c-4c25-bfc7-9cd7ff73351b --image adt/ubuntu-resolute-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-s390x-orthanc-python-20260207-030940-juju-7f2275-prod-proposed-migration-environment-2-0b8ddc2c-fd8c-4c25-bfc7-9cd7ff73351b from image adt/ubuntu-resolute-s390x-server-20260206.img (UUID 49c0a1d9-89cb-4112-bb14-7a2a39e81cac)... 126s autopkgtest [03:11:46]: testbed dpkg architecture: s390x 126s autopkgtest [03:11:46]: testbed apt version: 3.1.15 127s autopkgtest [03:11:47]: @@@@@@@@@@@@@@@@@@@@ test bed setup 127s autopkgtest [03:11:47]: testbed release detected to be: None 129s autopkgtest [03:11:49]: updating testbed package index (apt update) 130s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 131s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 131s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 131s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 131s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [36.7 kB] 131s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [206 kB] 131s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1703 kB] 132s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [10.7 kB] 132s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [244 kB] 132s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [1454 kB] 132s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [9416 B] 135s Fetched 3788 kB in 4s (912 kB/s) 141s Reading package lists... 144s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 144s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 144s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 144s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 152s Reading package lists... 153s Reading package lists... 154s Building dependency tree... 154s Reading state information... 156s Calculating upgrade... 156s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 157s autopkgtest [03:12:17]: upgrading testbed (apt dist-upgrade and autopurge) 158s Reading package lists... 158s Building dependency tree... 158s Reading state information... 159s Calculating upgrade... 160s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 160s Reading package lists... 162s Building dependency tree... 162s Reading state information... 163s Solving dependencies... 164s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 172s autopkgtest [03:12:32]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP Mon Jan 12 15:39:23 UTC 2026 172s autopkgtest [03:12:32]: @@@@@@@@@@@@@@@@@@@@ apt-source orthanc-python 177s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/universe orthanc-python 7.0+ds-1build2 (dsc) [2262 B] 177s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/universe orthanc-python 7.0+ds-1build2 (tar) [106 kB] 177s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/universe orthanc-python 7.0+ds-1build2 (diff) [5920 B] 180s gpgv: Signature made Fri Feb 6 11:27:59 2026 UTC 180s gpgv: using RSA key 568BF22A66337CBFC9A6B9B72C83DBC8E9BD0E37 180s gpgv: Can't check signature: No public key 180s dpkg-source: warning: cannot verify inline signature for ./orthanc-python_7.0+ds-1build2.dsc: no acceptable signature found 181s autopkgtest [03:12:41]: testing package orthanc-python version 7.0+ds-1build2 182s autopkgtest [03:12:42]: build not needed 182s autopkgtest [03:12:42]: test run-unit-test: preparing testbed 183s Reading package lists... 185s Building dependency tree... 185s Reading state information... 185s Solving dependencies... 186s The following NEW packages will be installed: 186s dcmtk-data libboost-filesystem1.90.0 libboost-iostreams1.90.0 186s libboost-locale1.90.0 libboost-thread1.90.0 libcivetweb1 libdcmtk19 186s libdeflate0 libjbig0 libjpeg-turbo8 libjpeg8 libjsoncpp26 liblua5.3-0 186s libprotobuf32t64 libpugixml1v5 libpython3.14 libpython3.14-minimal 186s libpython3.14-stdlib libsharpyuv0 libssl-dev libtiff6 libwebp7 orthanc 186s orthanc-python 187s 0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. 187s Need to get 20.7 MB of archives. 187s After this operation, 98.9 MB of additional disk space will be used. 187s Get:1 http://ftpmaster.internal/ubuntu resolute/universe s390x libcivetweb1 s390x 1.16+dfsg-3 [98.6 kB] 187s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libssl-dev s390x 3.5.3-1ubuntu2 [2601 kB] 187s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x libboost-filesystem1.90.0 s390x 1.90.0-1~exp1ubuntu1 [287 kB] 187s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x libboost-iostreams1.90.0 s390x 1.90.0-1~exp1ubuntu1 [254 kB] 187s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x libboost-thread1.90.0 s390x 1.90.0-1~exp1ubuntu1 [270 kB] 187s Get:6 http://ftpmaster.internal/ubuntu resolute/universe s390x libboost-locale1.90.0 s390x 1.90.0-1~exp1ubuntu1 [431 kB] 187s Get:7 http://ftpmaster.internal/ubuntu resolute/universe s390x dcmtk-data all 3.6.9-6 [375 kB] 187s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x libdeflate0 s390x 1.23-2 [46.0 kB] 187s Get:9 http://ftpmaster.internal/ubuntu resolute/main s390x libjbig0 s390x 2.1-6.1ubuntu3 [32.8 kB] 187s Get:10 http://ftpmaster.internal/ubuntu resolute/main s390x libjpeg-turbo8 s390x 2.1.5-4ubuntu2 [147 kB] 187s Get:11 http://ftpmaster.internal/ubuntu resolute/main s390x libjpeg8 s390x 8c-2ubuntu11 [2146 B] 187s Get:12 http://ftpmaster.internal/ubuntu resolute/main s390x libsharpyuv0 s390x 1.5.0-0.1build1 [16.6 kB] 188s Get:13 http://ftpmaster.internal/ubuntu resolute/main s390x libwebp7 s390x 1.5.0-0.1build1 [227 kB] 188s Get:14 http://ftpmaster.internal/ubuntu resolute/main s390x libtiff6 s390x 4.7.0-3ubuntu3 [222 kB] 188s Get:15 http://ftpmaster.internal/ubuntu resolute/universe s390x libdcmtk19 s390x 3.6.9-6 [6079 kB] 188s Get:16 http://ftpmaster.internal/ubuntu resolute/main s390x libjsoncpp26 s390x 1.9.6-5 [79.9 kB] 188s Get:17 http://ftpmaster.internal/ubuntu resolute/universe s390x liblua5.3-0 s390x 5.3.6-2build3 [151 kB] 188s Get:18 http://ftpmaster.internal/ubuntu resolute/main s390x libprotobuf32t64 s390x 3.21.12-15 [941 kB] 188s Get:19 http://ftpmaster.internal/ubuntu resolute/universe s390x libpugixml1v5 s390x 1.14-2build1 [99.8 kB] 188s Get:20 http://ftpmaster.internal/ubuntu resolute/universe s390x orthanc s390x 1.12.10+dfsg-1build1 [2204 kB] 188s Get:21 http://ftpmaster.internal/ubuntu resolute/main s390x libpython3.14-minimal s390x 3.14.2-1 [917 kB] 188s Get:22 http://ftpmaster.internal/ubuntu resolute/main s390x libpython3.14-stdlib s390x 3.14.2-1 [2373 kB] 188s Get:23 http://ftpmaster.internal/ubuntu resolute/main s390x libpython3.14 s390x 3.14.2-1 [2651 kB] 188s Get:24 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x orthanc-python s390x 7.0+ds-1build2 [194 kB] 191s Fetched 20.7 MB in 2s (10.4 MB/s) 191s Selecting previously unselected package libcivetweb1:s390x. 195s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 61954 files and directories currently installed.) 195s Preparing to unpack .../00-libcivetweb1_1.16+dfsg-3_s390x.deb ... 195s Unpacking libcivetweb1:s390x (1.16+dfsg-3) ... 195s Selecting previously unselected package libssl-dev:s390x. 195s Preparing to unpack .../01-libssl-dev_3.5.3-1ubuntu2_s390x.deb ... 195s Unpacking libssl-dev:s390x (3.5.3-1ubuntu2) ... 197s Selecting previously unselected package libboost-filesystem1.90.0:s390x. 197s Preparing to unpack .../02-libboost-filesystem1.90.0_1.90.0-1~exp1ubuntu1_s390x.deb ... 197s Unpacking libboost-filesystem1.90.0:s390x (1.90.0-1~exp1ubuntu1) ... 197s Selecting previously unselected package libboost-iostreams1.90.0:s390x. 197s Preparing to unpack .../03-libboost-iostreams1.90.0_1.90.0-1~exp1ubuntu1_s390x.deb ... 197s Unpacking libboost-iostreams1.90.0:s390x (1.90.0-1~exp1ubuntu1) ... 197s Selecting previously unselected package libboost-thread1.90.0:s390x. 198s Preparing to unpack .../04-libboost-thread1.90.0_1.90.0-1~exp1ubuntu1_s390x.deb ... 198s Unpacking libboost-thread1.90.0:s390x (1.90.0-1~exp1ubuntu1) ... 198s Selecting previously unselected package libboost-locale1.90.0:s390x. 198s Preparing to unpack .../05-libboost-locale1.90.0_1.90.0-1~exp1ubuntu1_s390x.deb ... 198s Unpacking libboost-locale1.90.0:s390x (1.90.0-1~exp1ubuntu1) ... 198s Selecting previously unselected package dcmtk-data. 198s Preparing to unpack .../06-dcmtk-data_3.6.9-6_all.deb ... 198s Unpacking dcmtk-data (3.6.9-6) ... 198s Selecting previously unselected package libdeflate0:s390x. 198s Preparing to unpack .../07-libdeflate0_1.23-2_s390x.deb ... 198s Unpacking libdeflate0:s390x (1.23-2) ... 198s Selecting previously unselected package libjbig0:s390x. 198s Preparing to unpack .../08-libjbig0_2.1-6.1ubuntu3_s390x.deb ... 198s Unpacking libjbig0:s390x (2.1-6.1ubuntu3) ... 199s Selecting previously unselected package libjpeg-turbo8:s390x. 199s Preparing to unpack .../09-libjpeg-turbo8_2.1.5-4ubuntu2_s390x.deb ... 199s Unpacking libjpeg-turbo8:s390x (2.1.5-4ubuntu2) ... 199s Selecting previously unselected package libjpeg8:s390x. 199s Preparing to unpack .../10-libjpeg8_8c-2ubuntu11_s390x.deb ... 199s Unpacking libjpeg8:s390x (8c-2ubuntu11) ... 199s Selecting previously unselected package libsharpyuv0:s390x. 199s Preparing to unpack .../11-libsharpyuv0_1.5.0-0.1build1_s390x.deb ... 199s Unpacking libsharpyuv0:s390x (1.5.0-0.1build1) ... 199s Selecting previously unselected package libwebp7:s390x. 199s Preparing to unpack .../12-libwebp7_1.5.0-0.1build1_s390x.deb ... 199s Unpacking libwebp7:s390x (1.5.0-0.1build1) ... 199s Selecting previously unselected package libtiff6:s390x. 199s Preparing to unpack .../13-libtiff6_4.7.0-3ubuntu3_s390x.deb ... 199s Unpacking libtiff6:s390x (4.7.0-3ubuntu3) ... 200s Selecting previously unselected package libdcmtk19:s390x. 200s Preparing to unpack .../14-libdcmtk19_3.6.9-6_s390x.deb ... 200s Unpacking libdcmtk19:s390x (3.6.9-6) ... 201s Selecting previously unselected package libjsoncpp26:s390x. 201s Preparing to unpack .../15-libjsoncpp26_1.9.6-5_s390x.deb ... 201s Unpacking libjsoncpp26:s390x (1.9.6-5) ... 201s Selecting previously unselected package liblua5.3-0:s390x. 201s Preparing to unpack .../16-liblua5.3-0_5.3.6-2build3_s390x.deb ... 201s Unpacking liblua5.3-0:s390x (5.3.6-2build3) ... 202s Selecting previously unselected package libprotobuf32t64:s390x. 202s Preparing to unpack .../17-libprotobuf32t64_3.21.12-15_s390x.deb ... 202s Unpacking libprotobuf32t64:s390x (3.21.12-15) ... 202s Selecting previously unselected package libpugixml1v5:s390x. 202s Preparing to unpack .../18-libpugixml1v5_1.14-2build1_s390x.deb ... 202s Unpacking libpugixml1v5:s390x (1.14-2build1) ... 202s Selecting previously unselected package orthanc. 202s Preparing to unpack .../19-orthanc_1.12.10+dfsg-1build1_s390x.deb ... 202s Unpacking orthanc (1.12.10+dfsg-1build1) ... 202s Selecting previously unselected package libpython3.14-minimal:s390x. 202s Preparing to unpack .../20-libpython3.14-minimal_3.14.2-1_s390x.deb ... 202s Unpacking libpython3.14-minimal:s390x (3.14.2-1) ... 203s Selecting previously unselected package libpython3.14-stdlib:s390x. 203s Preparing to unpack .../21-libpython3.14-stdlib_3.14.2-1_s390x.deb ... 203s Unpacking libpython3.14-stdlib:s390x (3.14.2-1) ... 204s Selecting previously unselected package libpython3.14:s390x. 204s Preparing to unpack .../22-libpython3.14_3.14.2-1_s390x.deb ... 204s Unpacking libpython3.14:s390x (3.14.2-1) ... 205s Selecting previously unselected package orthanc-python. 205s Preparing to unpack .../23-orthanc-python_7.0+ds-1build2_s390x.deb ... 205s Unpacking orthanc-python (7.0+ds-1build2) ... 205s Setting up libsharpyuv0:s390x (1.5.0-0.1build1) ... 205s Setting up libcivetweb1:s390x (1.16+dfsg-3) ... 205s Setting up libprotobuf32t64:s390x (3.21.12-15) ... 205s Setting up libpython3.14-minimal:s390x (3.14.2-1) ... 205s Setting up libdeflate0:s390x (1.23-2) ... 205s Setting up libboost-thread1.90.0:s390x (1.90.0-1~exp1ubuntu1) ... 205s Setting up libjbig0:s390x (2.1-6.1ubuntu3) ... 205s Setting up libpugixml1v5:s390x (1.14-2build1) ... 205s Setting up libjsoncpp26:s390x (1.9.6-5) ... 205s Setting up libssl-dev:s390x (3.5.3-1ubuntu2) ... 205s Setting up libjpeg-turbo8:s390x (2.1.5-4ubuntu2) ... 205s Setting up libwebp7:s390x (1.5.0-0.1build1) ... 205s Setting up liblua5.3-0:s390x (5.3.6-2build3) ... 205s Setting up libboost-filesystem1.90.0:s390x (1.90.0-1~exp1ubuntu1) ... 205s Setting up libboost-iostreams1.90.0:s390x (1.90.0-1~exp1ubuntu1) ... 205s Setting up libboost-locale1.90.0:s390x (1.90.0-1~exp1ubuntu1) ... 205s Setting up dcmtk-data (3.6.9-6) ... 205s Setting up libjpeg8:s390x (8c-2ubuntu11) ... 205s Setting up libpython3.14-stdlib:s390x (3.14.2-1) ... 205s Setting up libtiff6:s390x (4.7.0-3ubuntu3) ... 205s Setting up libpython3.14:s390x (3.14.2-1) ... 205s Setting up libdcmtk19:s390x (3.6.9-6) ... 205s Setting up orthanc (1.12.10+dfsg-1build1) ... 207s Generating locales (this might take a while)... 215s en_US.UTF-8... done 215s Generation complete. 217s Created symlink '/etc/systemd/system/multi-user.target.wants/orthanc.service' → '/usr/lib/systemd/system/orthanc.service'. 219s Setting up orthanc-python (7.0+ds-1build2) ... 219s Processing triggers for man-db (2.13.1-1) ... 233s Processing triggers for libc-bin (2.42-2ubuntu4) ... 233s Processing triggers for orthanc (1.12.10+dfsg-1build1) ... 233s orthanc-restart-trigger: restarting the Orthanc service 242s autopkgtest [03:13:42]: test run-unit-test: [----------------------- 243s + pkg=orthanc-python 243s + service_name=orthanc 243s + pwd 243s + CUR_DIR=/tmp/autopkgtest.c3ZnWW/build.RAZ/src 243s + export LC_ALL=C.UTF-8 243s + [ /tmp/autopkgtest.c3ZnWW/autopkgtest_tmp = ] 243s + cp -a /tmp/autopkgtest.c3ZnWW/build.RAZ/src/debian/tests/rest.py /tmp/autopkgtest.c3ZnWW/autopkgtest_tmp 243s + cp -a /tmp/autopkgtest.c3ZnWW/build.RAZ/src/debian/tests/configuration.json /tmp/autopkgtest.c3ZnWW/autopkgtest_tmp 243s + cp -a /usr/share/doc/orthanc-python/ /tmp/autopkgtest.c3ZnWW/autopkgtest_tmp 243s + cd /tmp/autopkgtest.c3ZnWW/autopkgtest_tmp 243s + ln -s /usr/share/orthanc/plugins/libOrthancPython.so /tmp/autopkgtest.c3ZnWW/autopkgtest_tmp/libOrthancPython.so 243s Running Tests 243s + echo Running Tests 243s + getent passwd orthanc 243s User 'orthanc' exists. 243s + echo User 'orthanc' exists. 243s + sudo systemctl stop orthanc 246s + sudo pkill Orthanc 246s + true 246s + sudo /usr/sbin/Orthanc ./configuration.json --verbose 246s + URL=http://localhost:8042/system 246s + tries=15 246s + set +e 246s + true 246s + curl --silent --output /dev/stderr --write-out %{http_code} http://localhost:8042/system 247s + STATUSCODE=000 247s + test 000 -eq 200 247s + expr 15 - 1 247s + tries=14 247s + test 14 -le 0 247s + sleep 1 247s W0207 03:15:29.936458 MAIN main.cpp:2174] Orthanc version: 1.12.10 247s I0207 03:15:29.969157 MAIN main.cpp:2206] Architecture: 64-bit, big endian 247s W0207 03:15:29.969228 MAIN OrthancConfiguration.cpp:59] Reading the configuration from: ./configuration.json 247s I0207 03:15:29.975940 MAIN Toolbox.cpp:1760] Using locale: "en_US.UTF-8" for case-insensitive comparison of strings 247s I0207 03:15:29.976068 MAIN Toolbox.cpp:2069] OpenSSL version: OpenSSL 3.5.4 30 Sep 2025 247s I0207 03:15:29.976787 MAIN FromDcmtkBridge.cpp:364] (dicom) Using DCMTK version: 369 247s I0207 03:15:30.228124 MAIN FromDcmtkBridge.cpp:447] (dicom) Clearing the DICOM dictionary 247s W0207 03:15:30.229069 MAIN FromDcmtkBridge.cpp:452] Loading external DICOM dictionary: "/usr/share/dcmtk/dicom.dic" 247s W0207 03:15:30.332514 MAIN FromDcmtkBridge.cpp:452] Loading external DICOM dictionary: "/usr/share/dcmtk/private.dic" 247s I0207 03:15:30.338120 MAIN FromDcmtkBridge.cpp:2624] (dicom) Registering JPEG Lossless codecs in DCMTK 247s I0207 03:15:30.338128 MAIN FromDcmtkBridge.cpp:2632] (dicom) Registering JPEG codecs in DCMTK 247s I0207 03:15:30.372468 MAIN FromDcmtkBridge.cpp:2639] (dicom) Registering RLE codecs in DCMTK 247s I0207 03:15:30.404678 MAIN Enumerations.cpp:2424] Default encoding for DICOM was changed to: Latin1 247s I0207 03:15:30.439361 MAIN OrthancInitialization.cpp:405] Calling mallopt(M_ARENA_MAX, 5) 247s W0207 03:15:30.475480 MAIN main.cpp:966] Loading plugin(s) from: "/tmp/autopkgtest.c3ZnWW/autopkgtest_tmp/." 247s I0207 03:15:30.475531 MAIN PluginsManager.cpp:306] (plugins) Scanning folder /tmp/autopkgtest.c3ZnWW/autopkgtest_tmp/. for plugins 247s I0207 03:15:30.475604 MAIN PluginsManager.cpp:329] (plugins) Found a shared library: "/tmp/autopkgtest.c3ZnWW/autopkgtest_tmp/./libOrthancPython.so" 247s W0207 03:15:30.477430 MAIN PluginsManager.cpp:287] Registering plugin 'python' (version 7.0) 247s W0207 03:15:30.477438 MAIN python:/Plugin.cpp:616] Python plugin is initializing 247s W0207 03:15:30.477454 MAIN python:/Plugin.cpp:634] Version of the Orthanc SDK in use by the Python plugin: 1.12.10 247s W0207 03:15:30.477527 MAIN python:/Plugin.cpp:689] Using Python script "rest.py" from directory: /tmp/autopkgtest.c3ZnWW/autopkgtest_tmp 247s W0207 03:15:30.477537 MAIN python:/Plugin.cpp:580] Force global loading of Python shared library: /usr/lib/s390x-linux-gnu/libpython3.14.so.1.0 247s W0207 03:15:30.477583 MAIN python:/PythonLock.cpp:358] Program name: /usr/sbin/Orthanc 248s I0207 03:15:30.895396 MAIN python:/RestCallbacks.cpp:232] Registering a Python REST callback on URI: /(to)(t)o 248s I0207 03:15:30.902139 MAIN OrthancPlugins.cpp:3025] (plugins) Plugin has registered a REST callback without mutual exclusion on: /(to)(t)o 248s I0207 03:15:30.902201 MAIN python:/RestCallbacks.cpp:232] Registering a Python REST callback on URI: /tata 248s I0207 03:15:30.902206 MAIN OrthancPlugins.cpp:3025] (plugins) Plugin has registered a REST callback without mutual exclusion on: /tata 248s W0207 03:15:30.902388 MAIN OrthancInitialization.cpp:445] SQLite index directory: /tmp/autopkgtest.c3ZnWW/autopkgtest_tmp/OrthancStorage 248s W0207 03:15:30.902650 MAIN OrthancInitialization.cpp:531] Storage directory: /tmp/autopkgtest.c3ZnWW/autopkgtest_tmp/OrthancStorage 248s + true 248s + curl --silent --output /dev/stderr --write-out %{http_code} http://localhost:8042/system 248s + STATUSCODE=000 248s + test 000 -eq 200 248s + expr 14 - 1 248s + tries=13 248s + test 13 -le 0 248s + sleep 1 248s I0207 03:15:31.305185 MAIN SQLiteDatabaseWrapper.cpp:2794] Creating the database 248s I0207 03:15:31.575232 MAIN SQLiteDatabaseWrapper.cpp:2818] Version of the Orthanc database: 6 248s W0207 03:15:31.578443 MAIN HttpClient.cpp:1201] No certificates are provided to validate peers. Orthanc will use the native CA store. Set "HttpsCACertificates" if you need to do HTTPS requests and use custom CAs. 248s I0207 03:15:31.578500 MAIN HttpClient.cpp:516] (http) Setting the default timeout for HTTP client connections: 0 seconds 248s I0207 03:15:31.578787 MAIN HttpClient.cpp:500] (http) Setting the default proxy for HTTP client connections: 248s I0207 03:15:31.578793 MAIN DicomAssociationParameters.cpp:397] (dicom) Default timeout for DICOM connections if Orthanc acts as SCU (client): 10 seconds (0 = no timeout) 248s I0207 03:15:31.579061 DB-FLUSH ServerIndex.cpp:289] Starting the database flushing thread (sleep = 10 seconds) 248s I0207 03:15:31.579094 UNSTABLE-MON ServerIndex.cpp:475] Starting the monitor for stable resources (stable age = 60) 248s I0207 03:15:31.579206 MAIN LuaJobManager.cpp:69] (lua) Lua: DICOM associations will be closed after 5 seconds of inactivity 248s I0207 03:15:31.579677 MAIN LuaScripting.cpp:820] Initializing Lua for the event handler 248s W0207 03:15:31.579890 MAIN LuaContext.cpp:95] Lua says: Lua toolbox installed 248s I0207 03:15:31.580005 MAIN LuaJobManager.cpp:69] (lua) Lua: DICOM associations will be closed after 5 seconds of inactivity 248s I0207 03:15:31.580188 MAIN LuaScripting.cpp:820] Initializing Lua for the event handler 248s W0207 03:15:31.580662 MAIN LuaContext.cpp:95] Lua says: Lua toolbox installed 248s I0207 03:15:31.581477 MAIN ServerContext.cpp:458] Automated transcoding of incoming DICOM instances is disabled 248s I0207 03:15:31.581865 MAIN ServerContext.cpp:465] (dicom) Deidentification of log contents (notably for DIMSE queries) is enabled 248s I0207 03:15:31.581873 MAIN ServerContext.cpp:469] (dicom) Version of DICOM standard used for deidentification is 2023b 248s I0207 03:15:31.582326 MAIN ServerContext.cpp:488] (dicom) Preferred transfer syntax for Orthanc C-STORE SCU: 1.2.840.10008.1.2.1 248s I0207 03:15:31.582518 MAIN DcmtkTranscoder.cpp:80] Default quality for lossy transcoding using DCMTK is set to: 90 248s I0207 03:15:31.583665 MAIN ServerContext.cpp:534] Starting memory trimming thread at 30 seconds interval 248s W0207 03:15:31.583800 MAIN ServerContext.cpp:610] Disk compression is disabled 248s I0207 03:15:31.583807 MAIN ServerContext.cpp:1578] Storing MD5 for attachments: yes 248s W0207 03:15:31.584268 MAIN ServerIndex.cpp:402] No limit on the number of stored patients 248s W0207 03:15:31.584380 MAIN ServerIndex.cpp:422] No limit on the size of the storage area 248s I0207 03:15:31.585303 MAIN ServerContext.cpp:307] The last execution of Orthanc has archived no job 248s I0207 03:15:31.591199 JOBS-WORKER-0 JobsEngine.cpp:127] (jobs) Worker thread 0 has started 248s W0207 03:15:31.593791 MAIN JobsEngine.cpp:276] The jobs engine has started with 2 threads 248s I0207 03:15:31.593815 JOBS-WORKER-1 JobsEngine.cpp:127] (jobs) Worker thread 1 has started 248s I0207 03:15:31.593860 MAIN DicomServer.cpp:138] (dicom) Setting timeout for DICOM connections if Orthanc acts as SCP (server): 30 seconds (0 = no timeout) 248s I0207 03:15:31.594035 MAIN DicomServer.cpp:426] (dicom) Orthanc SCP will *not* use DICOM TLS 248s I0207 03:15:31.594041 MAIN DicomServer.cpp:434] (dicom) The embedded DICOM server will use 4 threads 248s W0207 03:15:31.594183 MAIN main.cpp:1389] DICOM server listening with AET ORTHANC on port: 4242 248s I0207 03:15:31.594195 MAIN HttpServer.cpp:1695] (http) This Orthanc server uses CivetWeb as its embedded HTTP server 248s I0207 03:15:31.594197 DICOM-SERVER DicomServer.cpp:66] (dicom) DICOM server started 248s I0207 03:15:31.594204 MAIN HttpServer.cpp:2272] (http) The embedded HTTP server will use 50 threads 248s I0207 03:15:31.594215 MAIN HttpServer.cpp:2108] (http) HTTP keep alive is enabled 248s I0207 03:15:31.594219 MAIN HttpServer.cpp:2122] (http) HTTP keep alive Timeout is now 1 seconds 248s W0207 03:15:31.594223 MAIN HttpServer.cpp:2191] HTTP compression is disabled 248s I0207 03:15:31.594226 MAIN HttpServer.cpp:2285] (http) TCP_NODELAY for the HTTP sockets is set to true 248s I0207 03:15:31.594230 MAIN HttpServer.cpp:2305] (http) Request timeout in the HTTP server is set to 30 seconds 248s I0207 03:15:31.594259 MAIN main.cpp:1226] Version of Lua: Lua 5.3 248s W0207 03:15:31.594279 MAIN main.cpp:1237] Remote LUA script execution is disabled 248s W0207 03:15:31.594298 MAIN main.cpp:1249] REST API cannot write to the file system because the "RestApiWriteToFileSystemEnabled" configuration is set to false. The URI /instances/../export is disabled. This is the most secure configuration. 248s I0207 03:15:31.594343 MAIN HttpServer.cpp:2352] (http) Branching WebDAV bucket at: /webdav 248s I0207 03:15:31.594370 MAIN HttpServer.cpp:1748] (http) Starting embedded Web server using Civetweb 249s I0207 03:15:31.595315 MAIN OrthancWebDav.cpp:1691] Starting the WebDAV upload thread 249s W0207 03:15:31.595335 MAIN HttpServer.cpp:1936] HTTP server listening on port: 8042 (HTTPS encryption is disabled, remote access is not allowed) 249s W0207 03:15:31.595342 MAIN main.cpp:978] Orthanc has started 249s I0207 03:15:31.595346 MAIN LuaScripting.cpp:927] Starting the Lua engine 249s + true 249s + curl --silent --output /dev/stderr --write-out %{http_code} http://localhost:8042/system 249s I0207 03:15:32.280703 HTTP-0 Toolbox.cpp:2782] (http) GET /system 249s I0207 03:15:32.280928 HTTP-0 Toolbox.cpp:2787] (http) GET /system (elapsed: 229 us) 249s { 249s "ApiVersion" : 29, 249s "Capabilities" : 249s { 249s "HasExtendedChanges" : true, 249s "HasExtendedFind" : true, 249s "HasKeyValueStores" : true, 249s "HasQueues" : true, 249s "HasReserveQueueValue" : true 249s }, 249s "CheckRevisions" : false, 249s "DatabaseBackendPlugin" : null, 249s "DatabaseServerIdentifier" : "9c1069f9-d378b043-4c447497-b5058948-1bf088b9", 249s "DatabaseVersion" : 6, 249s "DefaultRetrieveMethod" : "C-MOVE", 249s "DicomAet" : "ORTHANC", 249s "DicomPort" : 4242, 249s "HasLabels" : true, 249s "HttpPort" : 8042, 249s "IngestTranscoding" : "", 249s "IsHttpServerSecure" : true, 249s "MainDicomTags" : 249s { 249s "Instance" : "0008,0012;0008,0013;0008,0018;0020,0012;0020,0013;0020,0032;0020,0037;0020,0100;0020,4000;0028,0008;0054,1330", 249s "Patient" : "0010,0010;0010,0020;0010,0030;0010,0040;0010,1000", 249s "Series" : "0008,0021;0008,0031;0008,0060;0008,0070;0008,0201;0008,1010;0008,103e;0008,1070;0018,0010;0018,0015;0018,0024;0018,1030;0018,1090;0018,1400;0020,000e;0020,0011;0020,0037;0020,0105;0020,1002;0040,0244;0040,0245;0040,0254;0040,0275;0054,0081;0054,0101;0054,1000", 249s "Study" : "0008,0020;0008,0030;0008,0050;0008,0080;0008,0090;0008,0201;0008,1030;0020,000d;0020,0010;0032,1032;0032,1060" 249s }, 249s "MaximumPatientCount" : 0, 249s "MaximumStorageMode" : "Recycle", 249s "MaximumStorageSize" : 0, 249s "Name" : "", 249s "OverwriteInstances" : false, 249s "PluginsEnabled" : true, 249s "ReadOnly" : false, 249s "StorageAreaPlugin" : null, 249s "StorageCompression" : false, 249s "UserMetadata" : {}, 249s "Version" : "1.12.10" 249s }Orthanc initialized! 249s + STATUSCODE=200 249s + test 200 -eq 200 249s + echo Orthanc initialized! 249s + break 249s + set -e 249s + curl -s http://localhost:8042/toto 249s I0207 03:15:32.304962 HTTP-1 Toolbox.cpp:2782] (http) GET /toto 249s I0207 03:15:32.304998 HTTP-1 OrthancPlugins.cpp:2843] (plugins) Delegating HTTP request to plugin for URI: /toto 249s E0207 03:15:32.310713 HTTP-1 python:/RestCallbacks.cpp:198] Error in the REST callback, traceback: 249s 249s Parser stack overflowed - Python source too complex to parse 249s 249s E0207 03:15:32.310802 HTTP-1 PluginsErrorDictionary.cpp:101] Exception inside the plugin engine: Error encountered within the plugin engine 249s I0207 03:15:32.310904 HTTP-1 Toolbox.cpp:2787] (http) GET /toto (elapsed: 5954 us) 249s + result={ 249s "HttpError" : "Internal Server Error", 249s "HttpStatus" : 500, 249s "Message" : "Error encountered within the plugin engine", 249s "Method" : "GET", 249s "OrthancError" : "Error encountered within the plugin engine", 249s "OrthancStatus" : 1, 249s "Uri" : "/toto" 249s } 249s + sudo systemctl stop orthanc 249s + sudo pkill Orthanc 249s I0207 03:15:32.327708 MAIN LuaJobManager.cpp:99] (lua) Awaking trailing sleep 249s I0207 03:15:32.327719 MAIN LuaScripting.cpp:959] Stopping the Lua engine 249s Test failed with { 249s "HttpError" : "Internal Server Error", 249s "HttpStatus" : 500, 249s "Message" : "Error encountered within the plugin engine", 249s "Method" : "GET", 249s "OrthancError" : "Error encountered within the plugin engine", 249s "OrthancStatus" : 1, 249s "Uri" : "/toto" 249s } 249s I0207 03:15:32.427844 MAIN LuaScripting.cpp:965] The Lua engine has stopped 249s W0207 03:15:32.427889 MAIN main.cpp:1040] Orthanc is stopping 249s + [ { 249s "HttpError" : "Internal Server Error", 249s "HttpStatus" : 500, 249s "Message" : "Error encountered within the plugin engine", 249s "Method" : "GET", 249s "OrthancError" : "Error encountered within the plugin engine", 249s "OrthancStatus" : 1, 249s "Uri" : "/toto" 249s } = ok ] 249s + echo Test failed with { 249s "HttpError" : "Internal Server Error", 249s "HttpStatus" : 500, 249s "Message" : "Error encountered within the plugin engine", 249s "Method" : "GET", 249s "OrthancError" : "Error encountered within the plugin engine", 249s "OrthancStatus" : 1, 249s "Uri" : "/toto" 249s } 249s + exit 1 251s I0207 03:15:34.408582 MAIN OrthancWebDav.cpp:1702] Stopping the WebDAV upload thread 251s W0207 03:15:34.576226 MAIN main.cpp:1288] HTTP server has stopped 252s I0207 03:15:34.757118 DICOM-SERVER DicomServer.cpp:88] (dicom) DICOM server stopping 252s W0207 03:15:34.857692 MAIN main.cpp:1405] DICOM server has stopped 252s I0207 03:15:35.190548 MAIN JobsEngine.cpp:293] (jobs) Stopping the jobs engine 252s W0207 03:15:35.447506 MAIN JobsEngine.cpp:317] The jobs engine has stopped 253s I0207 03:15:35.969786 DB-FLUSH ServerIndex.cpp:308] Stopping the database flushing thread 253s I0207 03:15:36.050558 UNSTABLE-MON ServerIndex.cpp:513] Closing the monitor thread for stable resources 253s W0207 03:15:36.133931 MAIN PluginsManager.cpp:225] Unregistering plugin 'python' (version 7.0) 253s W0207 03:15:36.134398 MAIN python:/Plugin.cpp:747] Python plugin is finalizing 253s W0207 03:15:36.139953 MAIN main.cpp:2262] Orthanc has stopped 254s autopkgtest [03:13:54]: test run-unit-test: -----------------------] 254s run-unit-test FAIL non-zero exit status 1 254s autopkgtest [03:13:54]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 255s autopkgtest [03:13:55]: @@@@@@@@@@@@@@@@@@@@ summary 255s run-unit-test FAIL non-zero exit status 1