0s autopkgtest [11:25:51]: starting date and time: 2025-12-03 11:25:51+0000 0s autopkgtest [11:25:51]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [11:25:51]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.sj37ozpv/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python3-defaults --apt-upgrade orthanc-python --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.13.9-2 -- lxd -r lxd-armhf-10.145.243.171 lxd-armhf-10.145.243.171:autopkgtest/ubuntu/resolute/armhf 5s cannot confirm that parent process is alive: Operation not permitted 5s unexpected eof from helper process 26s autopkgtest [11:26:17]: testbed dpkg architecture: armhf 27s autopkgtest [11:26:18]: testbed apt version: 3.1.12 32s autopkgtest [11:26:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup 34s autopkgtest [11:26:25]: testbed release detected to be: None 42s autopkgtest [11:26:33]: updating testbed package index (apt update) 45s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 45s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 45s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 45s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 45s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [981 kB] 46s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [147 kB] 46s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [25.2 kB] 46s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [187 kB] 46s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [678 kB] 46s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [8468 B] 46s Get:11 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [305 kB] 46s Get:12 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.4 MB] 48s Get:13 http://ftpmaster.internal/ubuntu resolute/main Sources [1414 kB] 48s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1366 kB] 49s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.5 MB] 49s Get:16 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [175 kB] 52s Fetched 42.6 MB in 8s (5315 kB/s) 54s Reading package lists... 60s autopkgtest [11:26:51]: upgrading testbed (apt dist-upgrade and autopurge) 61s Reading package lists... 62s Building dependency tree... 62s Reading state information... 62s Calculating upgrade... 63s The following packages will be upgraded: 63s libpython3-stdlib python3 python3-gdbm python3-minimal 63s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 63s Need to get 72.9 kB of archives. 63s After this operation, 2048 B of additional disk space will be used. 63s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.13.9-2 [28.1 kB] 63s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.13.9-2 [23.0 kB] 63s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.13.9-2 [10.8 kB] 63s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-gdbm armhf 3.13.9-2 [11.0 kB] 64s Fetched 72.9 kB in 0s (209 kB/s) 64s (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 ... 65928 files and directories currently installed.) 64s Preparing to unpack .../python3-minimal_3.13.9-2_armhf.deb ... 64s Unpacking python3-minimal (3.13.9-2) over (3.13.7-1) ... 64s Setting up python3-minimal (3.13.9-2) ... 64s (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 ... 65928 files and directories currently installed.) 64s Preparing to unpack .../python3_3.13.9-2_armhf.deb ... 64s Unpacking python3 (3.13.9-2) over (3.13.7-1) ... 64s Preparing to unpack .../libpython3-stdlib_3.13.9-2_armhf.deb ... 64s Unpacking libpython3-stdlib:armhf (3.13.9-2) over (3.13.7-1) ... 64s Preparing to unpack .../python3-gdbm_3.13.9-2_armhf.deb ... 64s Unpacking python3-gdbm (3.13.9-2) over (3.13.9-1) ... 64s Setting up python3-gdbm (3.13.9-2) ... 64s Setting up libpython3-stdlib:armhf (3.13.9-2) ... 64s Setting up python3 (3.13.9-2) ... 64s Processing triggers for man-db (2.13.1-1) ... 67s Reading package lists... 67s Building dependency tree... 67s Reading state information... 67s Solving dependencies... 68s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 70s autopkgtest [11:27:01]: rebooting testbed after setup commands that affected boot 114s autopkgtest [11:27:45]: testbed running kernel: Linux 6.8.0-87-generic #88~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 14:00:09 UTC 2 142s autopkgtest [11:28:13]: @@@@@@@@@@@@@@@@@@@@ apt-source orthanc-python 154s Get:1 http://ftpmaster.internal/ubuntu resolute/universe orthanc-python 6.0+ds-2 (dsc) [2267 B] 154s Get:2 http://ftpmaster.internal/ubuntu resolute/universe orthanc-python 6.0+ds-2 (tar) [104 kB] 154s Get:3 http://ftpmaster.internal/ubuntu resolute/universe orthanc-python 6.0+ds-2 (diff) [6192 B] 154s gpgv: Signature made Mon Sep 1 12:45:02 2025 UTC 154s gpgv: using RSA key 93BE9F197ED5D0C30E593D8BA776582B312AC35D 154s gpgv: issuer "s.jodogne@gmail.com" 154s gpgv: Can't check signature: No public key 154s dpkg-source: warning: cannot verify inline signature for ./orthanc-python_6.0+ds-2.dsc: no acceptable signature found 155s autopkgtest [11:28:26]: testing package orthanc-python version 6.0+ds-2 156s autopkgtest [11:28:27]: build not needed 159s autopkgtest [11:28:30]: test run-unit-test: preparing testbed 161s Reading package lists... 161s Building dependency tree... 161s Reading state information... 161s Solving dependencies... 162s The following NEW packages will be installed: 162s dcmtk-data libboost-filesystem1.88.0 libboost-iostreams1.88.0 162s libboost-locale1.88.0 libboost-thread1.88.0 libcivetweb1 libdcmtk19 162s libdeflate0 libjbig0 libjpeg-turbo8 libjpeg8 libjsoncpp26 liblerc4 162s liblua5.3-0 libprotobuf32t64 libpugixml1v5 libpython3.13 libsharpyuv0 162s libssl-dev libtiff6 libwebp7 orthanc orthanc-python 162s 0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded. 162s Need to get 16.7 MB of archives. 162s After this operation, 65.8 MB of additional disk space will be used. 162s Get:1 http://ftpmaster.internal/ubuntu resolute/universe armhf libcivetweb1 armhf 1.16+dfsg-3 [87.2 kB] 162s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf libssl-dev armhf 3.5.3-1ubuntu2 [2550 kB] 166s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libboost-filesystem1.88.0 armhf 1.88.0-1.4ubuntu2 [286 kB] 166s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf libboost-iostreams1.88.0 armhf 1.88.0-1.4ubuntu2 [260 kB] 166s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libboost-thread1.88.0 armhf 1.88.0-1.4ubuntu2 [268 kB] 166s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libboost-locale1.88.0 armhf 1.88.0-1.4ubuntu2 [464 kB] 167s Get:7 http://ftpmaster.internal/ubuntu resolute/universe armhf dcmtk-data all 3.6.9-5build1 [375 kB] 167s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf libdeflate0 armhf 1.23-2 [38.7 kB] 167s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf libjbig0 armhf 2.1-6.1ubuntu2 [24.9 kB] 167s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf libjpeg-turbo8 armhf 2.1.5-4ubuntu2 [127 kB] 167s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf libjpeg8 armhf 8c-2ubuntu11 [2148 B] 167s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf liblerc4 armhf 4.0.0+ds-5ubuntu1 [160 kB] 168s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf libsharpyuv0 armhf 1.5.0-0.1 [16.4 kB] 168s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libwebp7 armhf 1.5.0-0.1 [188 kB] 168s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf libtiff6 armhf 4.7.0-3ubuntu3 [188 kB] 168s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf libdcmtk19 armhf 3.6.9-5build1 [5503 kB] 172s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf libjsoncpp26 armhf 1.9.6-5 [74.0 kB] 172s Get:18 http://ftpmaster.internal/ubuntu resolute/universe armhf liblua5.3-0 armhf 5.3.6-2build2 [116 kB] 172s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf libprotobuf32t64 armhf 3.21.12-14build1 [905 kB] 174s Get:20 http://ftpmaster.internal/ubuntu resolute/universe armhf libpugixml1v5 armhf 1.14-2 [82.7 kB] 174s Get:21 http://ftpmaster.internal/ubuntu resolute/universe armhf orthanc armhf 1.12.10+dfsg-1 [2634 kB] 178s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.13 armhf 3.13.9-1 [2123 kB] 179s Get:23 http://ftpmaster.internal/ubuntu resolute/universe armhf orthanc-python armhf 6.0+ds-2 [204 kB] 180s Fetched 16.7 MB in 18s (938 kB/s) 180s Selecting previously unselected package libcivetweb1:armhf. 180s (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 ... 65928 files and directories currently installed.) 180s Preparing to unpack .../00-libcivetweb1_1.16+dfsg-3_armhf.deb ... 180s Unpacking libcivetweb1:armhf (1.16+dfsg-3) ... 180s Selecting previously unselected package libssl-dev:armhf. 180s Preparing to unpack .../01-libssl-dev_3.5.3-1ubuntu2_armhf.deb ... 180s Unpacking libssl-dev:armhf (3.5.3-1ubuntu2) ... 180s Selecting previously unselected package libboost-filesystem1.88.0:armhf. 180s Preparing to unpack .../02-libboost-filesystem1.88.0_1.88.0-1.4ubuntu2_armhf.deb ... 180s Unpacking libboost-filesystem1.88.0:armhf (1.88.0-1.4ubuntu2) ... 180s Selecting previously unselected package libboost-iostreams1.88.0:armhf. 181s Preparing to unpack .../03-libboost-iostreams1.88.0_1.88.0-1.4ubuntu2_armhf.deb ... 181s Unpacking libboost-iostreams1.88.0:armhf (1.88.0-1.4ubuntu2) ... 181s Selecting previously unselected package libboost-thread1.88.0:armhf. 181s Preparing to unpack .../04-libboost-thread1.88.0_1.88.0-1.4ubuntu2_armhf.deb ... 181s Unpacking libboost-thread1.88.0:armhf (1.88.0-1.4ubuntu2) ... 181s Selecting previously unselected package libboost-locale1.88.0:armhf. 181s Preparing to unpack .../05-libboost-locale1.88.0_1.88.0-1.4ubuntu2_armhf.deb ... 181s Unpacking libboost-locale1.88.0:armhf (1.88.0-1.4ubuntu2) ... 181s Selecting previously unselected package dcmtk-data. 181s Preparing to unpack .../06-dcmtk-data_3.6.9-5build1_all.deb ... 181s Unpacking dcmtk-data (3.6.9-5build1) ... 181s Selecting previously unselected package libdeflate0:armhf. 181s Preparing to unpack .../07-libdeflate0_1.23-2_armhf.deb ... 181s Unpacking libdeflate0:armhf (1.23-2) ... 181s Selecting previously unselected package libjbig0:armhf. 181s Preparing to unpack .../08-libjbig0_2.1-6.1ubuntu2_armhf.deb ... 181s Unpacking libjbig0:armhf (2.1-6.1ubuntu2) ... 181s Selecting previously unselected package libjpeg-turbo8:armhf. 181s Preparing to unpack .../09-libjpeg-turbo8_2.1.5-4ubuntu2_armhf.deb ... 181s Unpacking libjpeg-turbo8:armhf (2.1.5-4ubuntu2) ... 181s Selecting previously unselected package libjpeg8:armhf. 181s Preparing to unpack .../10-libjpeg8_8c-2ubuntu11_armhf.deb ... 181s Unpacking libjpeg8:armhf (8c-2ubuntu11) ... 181s Selecting previously unselected package liblerc4:armhf. 181s Preparing to unpack .../11-liblerc4_4.0.0+ds-5ubuntu1_armhf.deb ... 181s Unpacking liblerc4:armhf (4.0.0+ds-5ubuntu1) ... 181s Selecting previously unselected package libsharpyuv0:armhf. 181s Preparing to unpack .../12-libsharpyuv0_1.5.0-0.1_armhf.deb ... 181s Unpacking libsharpyuv0:armhf (1.5.0-0.1) ... 181s Selecting previously unselected package libwebp7:armhf. 181s Preparing to unpack .../13-libwebp7_1.5.0-0.1_armhf.deb ... 181s Unpacking libwebp7:armhf (1.5.0-0.1) ... 181s Selecting previously unselected package libtiff6:armhf. 181s Preparing to unpack .../14-libtiff6_4.7.0-3ubuntu3_armhf.deb ... 181s Unpacking libtiff6:armhf (4.7.0-3ubuntu3) ... 181s Selecting previously unselected package libdcmtk19:armhf. 181s Preparing to unpack .../15-libdcmtk19_3.6.9-5build1_armhf.deb ... 181s Unpacking libdcmtk19:armhf (3.6.9-5build1) ... 181s Selecting previously unselected package libjsoncpp26:armhf. 181s Preparing to unpack .../16-libjsoncpp26_1.9.6-5_armhf.deb ... 181s Unpacking libjsoncpp26:armhf (1.9.6-5) ... 181s Selecting previously unselected package liblua5.3-0:armhf. 181s Preparing to unpack .../17-liblua5.3-0_5.3.6-2build2_armhf.deb ... 181s Unpacking liblua5.3-0:armhf (5.3.6-2build2) ... 181s Selecting previously unselected package libprotobuf32t64:armhf. 181s Preparing to unpack .../18-libprotobuf32t64_3.21.12-14build1_armhf.deb ... 181s Unpacking libprotobuf32t64:armhf (3.21.12-14build1) ... 182s Selecting previously unselected package libpugixml1v5:armhf. 182s Preparing to unpack .../19-libpugixml1v5_1.14-2_armhf.deb ... 182s Unpacking libpugixml1v5:armhf (1.14-2) ... 182s Selecting previously unselected package orthanc. 182s Preparing to unpack .../20-orthanc_1.12.10+dfsg-1_armhf.deb ... 182s Unpacking orthanc (1.12.10+dfsg-1) ... 182s Selecting previously unselected package libpython3.13:armhf. 182s Preparing to unpack .../21-libpython3.13_3.13.9-1_armhf.deb ... 182s Unpacking libpython3.13:armhf (3.13.9-1) ... 182s Selecting previously unselected package orthanc-python. 182s Preparing to unpack .../22-orthanc-python_6.0+ds-2_armhf.deb ... 182s Unpacking orthanc-python (6.0+ds-2) ... 182s Setting up libpython3.13:armhf (3.13.9-1) ... 182s Setting up libsharpyuv0:armhf (1.5.0-0.1) ... 182s Setting up libcivetweb1:armhf (1.16+dfsg-3) ... 182s Setting up libprotobuf32t64:armhf (3.21.12-14build1) ... 182s Setting up liblerc4:armhf (4.0.0+ds-5ubuntu1) ... 182s Setting up libdeflate0:armhf (1.23-2) ... 182s Setting up libboost-filesystem1.88.0:armhf (1.88.0-1.4ubuntu2) ... 182s Setting up libboost-iostreams1.88.0:armhf (1.88.0-1.4ubuntu2) ... 182s Setting up libjbig0:armhf (2.1-6.1ubuntu2) ... 182s Setting up libpugixml1v5:armhf (1.14-2) ... 182s Setting up libboost-thread1.88.0:armhf (1.88.0-1.4ubuntu2) ... 182s Setting up libjsoncpp26:armhf (1.9.6-5) ... 182s Setting up libssl-dev:armhf (3.5.3-1ubuntu2) ... 182s Setting up libjpeg-turbo8:armhf (2.1.5-4ubuntu2) ... 182s Setting up libwebp7:armhf (1.5.0-0.1) ... 182s Setting up liblua5.3-0:armhf (5.3.6-2build2) ... 182s Setting up dcmtk-data (3.6.9-5build1) ... 182s Setting up libjpeg8:armhf (8c-2ubuntu11) ... 182s Setting up libboost-locale1.88.0:armhf (1.88.0-1.4ubuntu2) ... 182s Setting up libtiff6:armhf (4.7.0-3ubuntu3) ... 182s Setting up libdcmtk19:armhf (3.6.9-5build1) ... 182s Setting up orthanc (1.12.10+dfsg-1) ... 182s Generating locales (this might take a while)... 184s en_US.UTF-8... done 184s Generation complete. 185s Created symlink '/etc/systemd/system/multi-user.target.wants/orthanc.service' → '/usr/lib/systemd/system/orthanc.service'. 185s Setting up orthanc-python (6.0+ds-2) ... 185s Processing triggers for man-db (2.13.1-1) ... 186s Processing triggers for libc-bin (2.42-2ubuntu2) ... 186s Processing triggers for orthanc (1.12.10+dfsg-1) ... 186s orthanc-restart-trigger: restarting the Orthanc service 204s autopkgtest [11:29:15]: test run-unit-test: [----------------------- 206s + pkg=orthanc-python 206s + service_name=orthanc 206s + pwd 206s + CUR_DIR=/tmp/autopkgtest.mLoiOL/build.PDD/src 206s + export LC_ALL=C.UTF-8 206s + [ /tmp/autopkgtest.mLoiOL/autopkgtest_tmp = ] 206s + cp -a /tmp/autopkgtest.mLoiOL/build.PDD/src/debian/tests/rest.py /tmp/autopkgtest.mLoiOL/autopkgtest_tmp 206s + cp -a /tmp/autopkgtest.mLoiOL/build.PDD/src/debian/tests/configuration.json /tmp/autopkgtest.mLoiOL/autopkgtest_tmp 206s + cp -a /usr/share/doc/orthanc-python/ /tmp/autopkgtest.mLoiOL/autopkgtest_tmp 206s + cd /tmp/autopkgtest.mLoiOL/autopkgtest_tmp 206s + ln -s /usr/share/orthanc/plugins/libOrthancPython.so /tmp/autopkgtest.mLoiOL/autopkgtest_tmp/libOrthancPython.so 206s Running Tests 206s User 'orthanc' exists. 206s + echo Running Tests 206s + getent passwd orthanc 206s + echo User 'orthanc' exists. 206s + sudo systemctl stop orthanc 209s + sudo pkill Orthanc 209s + true 209s + URL=http://localhost:8042/system 209s + tries=15 209s + set +e 209s + true 209s + sudo /usr/sbin/Orthanc ./configuration.json --verbose 209s + curl --silent --output /dev/stderr --write-out %{http_code} http://localhost:8042/system 209s + STATUSCODE=000 209s + test 000 -eq 200 209s + expr 15 - 1 209s + tries=14 209s + test 14 -le 0 209s + sleep 1 209s W1203 11:29:20.122533 MAIN main.cpp:2174] Orthanc version: 1.12.10 209s I1203 11:29:20.122890 MAIN main.cpp:2206] Architecture: 32-bit, little endian 209s W1203 11:29:20.123006 MAIN OrthancConfiguration.cpp:59] Reading the configuration from: ./configuration.json 209s I1203 11:29:20.123730 MAIN Toolbox.cpp:1760] Using locale: "en_US.UTF-8" for case-insensitive comparison of strings 209s I1203 11:29:20.124182 MAIN Toolbox.cpp:2069] OpenSSL version: OpenSSL 3.5.3 16 Sep 2025 209s I1203 11:29:20.125770 MAIN FromDcmtkBridge.cpp:364] (dicom) Using DCMTK version: 369 209s I1203 11:29:20.145358 MAIN FromDcmtkBridge.cpp:447] (dicom) Clearing the DICOM dictionary 209s W1203 11:29:20.147715 MAIN FromDcmtkBridge.cpp:452] Loading external DICOM dictionary: "/usr/share/dcmtk/dicom.dic" 209s W1203 11:29:20.162727 MAIN FromDcmtkBridge.cpp:452] Loading external DICOM dictionary: "/usr/share/dcmtk/private.dic" 209s I1203 11:29:20.170186 MAIN FromDcmtkBridge.cpp:2624] (dicom) Registering JPEG Lossless codecs in DCMTK 209s I1203 11:29:20.170311 MAIN FromDcmtkBridge.cpp:2632] (dicom) Registering JPEG codecs in DCMTK 209s I1203 11:29:20.170373 MAIN FromDcmtkBridge.cpp:2639] (dicom) Registering RLE codecs in DCMTK 209s I1203 11:29:20.170428 MAIN Enumerations.cpp:2424] Default encoding for DICOM was changed to: Latin1 209s I1203 11:29:20.180994 MAIN OrthancInitialization.cpp:405] Calling mallopt(M_ARENA_MAX, 5) 209s W1203 11:29:20.181657 MAIN main.cpp:966] Loading plugin(s) from: "/tmp/autopkgtest.mLoiOL/autopkgtest_tmp/." 209s I1203 11:29:20.181794 MAIN PluginsManager.cpp:306] (plugins) Scanning folder /tmp/autopkgtest.mLoiOL/autopkgtest_tmp/. for plugins 209s I1203 11:29:20.182069 MAIN PluginsManager.cpp:329] (plugins) Found a shared library: "/tmp/autopkgtest.mLoiOL/autopkgtest_tmp/./libOrthancPython.so" 209s W1203 11:29:20.186782 MAIN PluginsManager.cpp:287] Registering plugin 'python' (version 6.0) 209s W1203 11:29:20.186896 MAIN python:/Plugin.cpp:563] Python plugin is initializing 209s W1203 11:29:20.186952 MAIN python:/Plugin.cpp:581] Version of the Orthanc SDK in use by the Python plugin: 1.12.9 209s W1203 11:29:20.187347 MAIN python:/Plugin.cpp:636] Using Python script "rest.py" from directory: /tmp/autopkgtest.mLoiOL/autopkgtest_tmp 209s W1203 11:29:20.187434 MAIN python:/Plugin.cpp:527] Force global loading of Python shared library: /usr/lib/arm-linux-gnueabihf/libpython3.13.so.1.0 209s W1203 11:29:20.187635 MAIN python:/PythonLock.cpp:358] Program name: /usr/sbin/Orthanc 209s I1203 11:29:20.267042 MAIN python:/RestCallbacks.cpp:232] Registering a Python REST callback on URI: /(to)(t)o 209s I1203 11:29:20.267180 MAIN OrthancPlugins.cpp:3025] (plugins) Plugin has registered a REST callback without mutual exclusion on: /(to)(t)o 209s I1203 11:29:20.267384 MAIN python:/RestCallbacks.cpp:232] Registering a Python REST callback on URI: /tata 209s I1203 11:29:20.267412 MAIN OrthancPlugins.cpp:3025] (plugins) Plugin has registered a REST callback without mutual exclusion on: /tata 209s W1203 11:29:20.267735 MAIN OrthancInitialization.cpp:445] SQLite index directory: /tmp/autopkgtest.mLoiOL/autopkgtest_tmp/OrthancStorage 209s W1203 11:29:20.268408 MAIN OrthancInitialization.cpp:531] Storage directory: /tmp/autopkgtest.mLoiOL/autopkgtest_tmp/OrthancStorage 209s I1203 11:29:20.277180 MAIN SQLiteDatabaseWrapper.cpp:2794] Creating the database 209s I1203 11:29:20.287428 MAIN SQLiteDatabaseWrapper.cpp:2818] Version of the Orthanc database: 6 209s W1203 11:29:20.287677 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. 209s I1203 11:29:20.287705 MAIN HttpClient.cpp:516] (http) Setting the default timeout for HTTP client connections: 0 seconds 209s I1203 11:29:20.287720 MAIN HttpClient.cpp:500] (http) Setting the default proxy for HTTP client connections: 209s I1203 11:29:20.287758 MAIN DicomAssociationParameters.cpp:397] (dicom) Default timeout for DICOM connections if Orthanc acts as SCU (client): 10 seconds (0 = no timeout) 209s I1203 11:29:20.289030 DB-FLUSH ServerIndex.cpp:289] Starting the database flushing thread (sleep = 10 seconds) 209s I1203 11:29:20.289125 UNSTABLE-MON ServerIndex.cpp:475] Starting the monitor for stable resources (stable age = 60) 209s I1203 11:29:20.289408 MAIN LuaJobManager.cpp:69] (lua) Lua: DICOM associations will be closed after 5 seconds of inactivity 209s I1203 11:29:20.289492 MAIN LuaScripting.cpp:820] Initializing Lua for the event handler 209s W1203 11:29:20.289687 MAIN LuaContext.cpp:95] Lua says: Lua toolbox installed 209s I1203 11:29:20.289805 MAIN LuaJobManager.cpp:69] (lua) Lua: DICOM associations will be closed after 5 seconds of inactivity 209s I1203 11:29:20.289824 MAIN LuaScripting.cpp:820] Initializing Lua for the event handler 209s W1203 11:29:20.289956 MAIN LuaContext.cpp:95] Lua says: Lua toolbox installed 209s I1203 11:29:20.290005 MAIN ServerContext.cpp:458] Automated transcoding of incoming DICOM instances is disabled 209s I1203 11:29:20.290017 MAIN ServerContext.cpp:465] (dicom) Deidentification of log contents (notably for DIMSE queries) is enabled 209s I1203 11:29:20.290027 MAIN ServerContext.cpp:469] (dicom) Version of DICOM standard used for deidentification is 2023b 209s I1203 11:29:20.290314 MAIN ServerContext.cpp:488] (dicom) Preferred transfer syntax for Orthanc C-STORE SCU: 1.2.840.10008.1.2.1 209s I1203 11:29:20.290617 MAIN DcmtkTranscoder.cpp:80] Default quality for lossy transcoding using DCMTK is set to: 90 209s I1203 11:29:20.291009 MAIN ServerContext.cpp:534] Starting memory trimming thread at 30 seconds interval 209s W1203 11:29:20.291158 MAIN ServerContext.cpp:610] Disk compression is disabled 209s I1203 11:29:20.291357 MAIN ServerContext.cpp:1578] Storing MD5 for attachments: yes 209s W1203 11:29:20.291379 MAIN ServerIndex.cpp:402] No limit on the number of stored patients 209s W1203 11:29:20.291386 MAIN ServerIndex.cpp:422] No limit on the size of the storage area 209s I1203 11:29:20.291993 MAIN ServerContext.cpp:307] The last execution of Orthanc has archived no job 209s I1203 11:29:20.292463 JOBS-WORKER-0 JobsEngine.cpp:127] (jobs) Worker thread 0 has started 209s W1203 11:29:20.292493 MAIN JobsEngine.cpp:276] The jobs engine has started with 2 threads 209s I1203 11:29:20.292560 JOBS-WORKER-1 JobsEngine.cpp:127] (jobs) Worker thread 1 has started 209s I1203 11:29:20.292705 MAIN DicomServer.cpp:138] (dicom) Setting timeout for DICOM connections if Orthanc acts as SCP (server): 30 seconds (0 = no timeout) 209s I1203 11:29:20.292978 MAIN DicomServer.cpp:426] (dicom) Orthanc SCP will *not* use DICOM TLS 209s I1203 11:29:20.292993 MAIN DicomServer.cpp:434] (dicom) The embedded DICOM server will use 4 threads 209s W1203 11:29:20.293621 MAIN main.cpp:1389] DICOM server listening with AET ORTHANC on port: 4242 209s I1203 11:29:20.293707 MAIN HttpServer.cpp:1695] (http) This Orthanc server uses CivetWeb as its embedded HTTP server 209s I1203 11:29:20.293728 MAIN HttpServer.cpp:2272] (http) The embedded HTTP server will use 50 threads 209s I1203 11:29:20.293736 MAIN HttpServer.cpp:2108] (http) HTTP keep alive is enabled 209s I1203 11:29:20.293742 MAIN HttpServer.cpp:2122] (http) HTTP keep alive Timeout is now 1 seconds 209s W1203 11:29:20.293747 MAIN HttpServer.cpp:2191] HTTP compression is disabled 209s I1203 11:29:20.293754 MAIN HttpServer.cpp:2285] (http) TCP_NODELAY for the HTTP sockets is set to true 209s I1203 11:29:20.293760 MAIN HttpServer.cpp:2305] (http) Request timeout in the HTTP server is set to 30 seconds 209s I1203 11:29:20.293770 MAIN main.cpp:1226] Version of Lua: Lua 5.3 209s W1203 11:29:20.293776 MAIN main.cpp:1237] Remote LUA script execution is disabled 209s W1203 11:29:20.293783 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. 209s I1203 11:29:20.293805 MAIN HttpServer.cpp:2352] (http) Branching WebDAV bucket at: /webdav 209s I1203 11:29:20.293821 MAIN HttpServer.cpp:1748] (http) Starting embedded Web server using Civetweb 209s I1203 11:29:20.293653 DICOM-SERVER DicomServer.cpp:66] (dicom) DICOM server started 209s I1203 11:29:20.299210 MAIN OrthancWebDav.cpp:1691] Starting the WebDAV upload thread 209s W1203 11:29:20.299440 MAIN HttpServer.cpp:1936] HTTP server listening on port: 8042 (HTTPS encryption is disabled, remote access is not allowed) 209s W1203 11:29:20.299463 MAIN main.cpp:978] Orthanc has started 209s I1203 11:29:20.299474 MAIN LuaScripting.cpp:927] Starting the Lua engine 210s Orthanc initialized! 210s {'get': {}, 210s 'groups': ('to', 't'), 210s 'headers': {'accept': '*/*', 210s 'host': 'localhost:8042', 210s 'user-agent': 'curl/8.14.1'}, 210s 'method': 'GET'} 210s Accessing uri: /toto 210s + true 210s + curl --silent --output /dev/stderr --write-out %{http_code} http://localhost:8042/system 210s I1203 11:29:21.117740 HTTP-0 Toolbox.cpp:2782] (http) GET /system 210s I1203 11:29:21.118423 HTTP-0 Toolbox.cpp:2787] (http) GET /system (elapsed: 716 us) 210s { 210s "ApiVersion" : 29, 210s "Capabilities" : 210s { 210s "HasExtendedChanges" : true, 210s "HasExtendedFind" : true, 210s "HasKeyValueStores" : true, 210s "HasQueues" : true, 210s "HasReserveQueueValue" : true 210s }, 210s "CheckRevisions" : false, 210s "DatabaseBackendPlugin" : null, 210s "DatabaseServerIdentifier" : "bca210d8-b309b143-9de2073a-c2a68e6f-ce5ab448", 210s "DatabaseVersion" : 6, 210s "DefaultRetrieveMethod" : "C-MOVE", 210s "DicomAet" : "ORTHANC", 210s "DicomPort" : 4242, 210s "HasLabels" : true, 210s "HttpPort" : 8042, 210s "IngestTranscoding" : "", 210s "IsHttpServerSecure" : true, 210s "MainDicomTags" : 210s { 210s "Instance" : "0008,0012;0008,0013;0008,0018;0020,0012;0020,0013;0020,0032;0020,0037;0020,0100;0020,4000;0028,0008;0054,1330", 210s "Patient" : "0010,0010;0010,0020;0010,0030;0010,0040;0010,1000", 210s "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", 210s "Study" : "0008,0020;0008,0030;0008,0050;0008,0080;0008,0090;0008,0201;0008,1030;0020,000d;0020,0010;0032,1032;0032,1060" 210s }, 210s "MaximumPatientCount" : 0, 210s "MaximumStorageMode" : "Recycle", 210s "MaximumStorageSize" : 0, 210s "Name" : "", 210s "OverwriteInstances" : false, 210s "PluginsEnabled" : true, 210s "ReadOnly" : false, 210s "StorageAreaPlugin" : null, 210s "StorageCompression" : false, 210s "UserMetadata" : {}, 210s "Version" : "1.12.10" 210s }+ STATUSCODE=200 210s + test 200 -eq 200 210s + echo Orthanc initialized! 210s Test passed 210s + break 210s + set -e 210s + curl -s http://localhost:8042/toto 210s I1203 11:29:21.130704 HTTP-1 Toolbox.cpp:2782] (http) GET /toto 210s I1203 11:29:21.130809 HTTP-1 OrthancPlugins.cpp:2843] (plugins) Delegating HTTP request to plugin for URI: /toto 210s I1203 11:29:21.131722 HTTP-1 Toolbox.cpp:2787] (http) GET /toto (elapsed: 1080 us) 210s + result=ok 210s + sudo systemctl stop orthanc 210s + sudo pkill Orthanc 210s I1203 11:29:21.167955 MAIN LuaJobManager.cpp:99] (lua) Awaking trailing sleep 210s I1203 11:29:21.168043 MAIN LuaScripting.cpp:959] Stopping the Lua engine 210s + [ ok = ok ] 210s + echo Test passed 210s + exit 0 210s I1203 11:29:21.268333 MAIN LuaScripting.cpp:965] The Lua engine has stopped 210s W1203 11:29:21.268445 MAIN main.cpp:1040] Orthanc is stopping 212s I1203 11:29:23.137295 MAIN OrthancWebDav.cpp:1702] Stopping the WebDAV upload thread 212s W1203 11:29:23.202564 MAIN main.cpp:1288] HTTP server has stopped 212s I1203 11:29:23.297176 DICOM-SERVER DicomServer.cpp:88] (dicom) DICOM server stopping 212s W1203 11:29:23.397916 MAIN main.cpp:1405] DICOM server has stopped 212s I1203 11:29:23.496494 MAIN JobsEngine.cpp:293] (jobs) Stopping the jobs engine 212s W1203 11:29:23.695539 MAIN JobsEngine.cpp:317] The jobs engine has stopped 212s I1203 11:29:23.790180 DB-FLUSH ServerIndex.cpp:308] Stopping the database flushing thread 212s I1203 11:29:23.790218 UNSTABLE-MON ServerIndex.cpp:513] Closing the monitor thread for stable resources 212s W1203 11:29:23.817009 MAIN PluginsManager.cpp:225] Unregistering plugin 'python' (version 6.0) 212s W1203 11:29:23.817127 MAIN python:/Plugin.cpp:694] Python plugin is finalizing 212s W1203 11:29:23.841685 MAIN main.cpp:2262] Orthanc has stopped 213s autopkgtest [11:29:24]: test run-unit-test: -----------------------] 217s run-unit-test PASS 217s autopkgtest [11:29:28]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 221s autopkgtest [11:29:32]: @@@@@@@@@@@@@@@@@@@@ summary 221s run-unit-test PASS