0s autopkgtest [20:31:50]: starting date and time: 2025-12-02 20:31:50+0000 0s autopkgtest [20:31:50]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [20:31:50]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.c51996s0/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:procps --apt-upgrade orthanc-python --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=procps/2:4.0.4-9ubuntu1 -- lxd -r lxd-armhf-10.145.243.230 lxd-armhf-10.145.243.230:autopkgtest/ubuntu/resolute/armhf 26s autopkgtest [20:32:16]: testbed dpkg architecture: armhf 28s autopkgtest [20:32:18]: testbed apt version: 3.1.12 34s autopkgtest [20:32:24]: @@@@@@@@@@@@@@@@@@@@ test bed setup 38s autopkgtest [20:32:28]: testbed release detected to be: None 47s autopkgtest [20:32:37]: updating testbed package index (apt update) 49s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 49s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 49s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 49s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 49s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [841 kB] 49s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [135 kB] 49s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [20.5 kB] 49s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [113 kB] 49s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [525 kB] 50s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [4920 B] 50s Get:11 http://ftpmaster.internal/ubuntu resolute/main Sources [1401 kB] 50s Get:12 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.4 MB] 51s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1366 kB] 51s Get:14 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.0 MB] 55s Fetched 41.2 MB in 6s (6474 kB/s) 56s Reading package lists... 63s autopkgtest [20:32:53]: upgrading testbed (apt dist-upgrade and autopurge) 66s Reading package lists... 66s Building dependency tree... 66s Reading state information... 67s Calculating upgrade... 68s The following packages will be upgraded: 68s bcache-tools libproc2-0 procps python3-jmespath 69s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 69s Need to get 795 kB of archives. 69s After this operation, 228 kB of additional disk space will be used. 69s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libproc2-0 armhf 2:4.0.4-9ubuntu1 [51.2 kB] 69s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf procps armhf 2:4.0.4-9ubuntu1 [703 kB] 70s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf bcache-tools armhf 1.0.8-5build2 [20.0 kB] 70s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf python3-jmespath all 1.0.1-1build1 [21.2 kB] 70s Fetched 795 kB in 1s (648 kB/s) 70s (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.) 70s Preparing to unpack .../libproc2-0_2%3a4.0.4-9ubuntu1_armhf.deb ... 70s Unpacking libproc2-0:armhf (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 70s Preparing to unpack .../procps_2%3a4.0.4-9ubuntu1_armhf.deb ... 71s Unpacking procps (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 71s Preparing to unpack .../bcache-tools_1.0.8-5build2_armhf.deb ... 71s Unpacking bcache-tools (1.0.8-5build2) over (1.0.8-5build1) ... 71s Preparing to unpack .../python3-jmespath_1.0.1-1build1_all.deb ... 71s Unpacking python3-jmespath (1.0.1-1build1) over (1.0.1-1) ... 71s Setting up bcache-tools (1.0.8-5build2) ... 71s Setting up python3-jmespath (1.0.1-1build1) ... 71s Setting up libproc2-0:armhf (2:4.0.4-9ubuntu1) ... 71s Setting up procps (2:4.0.4-9ubuntu1) ... 71s Processing triggers for libc-bin (2.42-2ubuntu2) ... 72s Processing triggers for systemd (257.9-0ubuntu2) ... 72s Processing triggers for man-db (2.13.1-1) ... 73s Processing triggers for initramfs-tools (0.150ubuntu5) ... 76s Reading package lists... 77s Building dependency tree... 77s Reading state information... 77s Solving dependencies... 77s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 80s autopkgtest [20:33:10]: rebooting testbed after setup commands that affected boot 129s autopkgtest [20:33:59]: 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 158s autopkgtest [20:34:28]: @@@@@@@@@@@@@@@@@@@@ apt-source orthanc-python 172s Get:1 http://ftpmaster.internal/ubuntu resolute/universe orthanc-python 6.0+ds-2 (dsc) [2267 B] 172s Get:2 http://ftpmaster.internal/ubuntu resolute/universe orthanc-python 6.0+ds-2 (tar) [104 kB] 172s Get:3 http://ftpmaster.internal/ubuntu resolute/universe orthanc-python 6.0+ds-2 (diff) [6192 B] 172s gpgv: Signature made Mon Sep 1 12:45:02 2025 UTC 172s gpgv: using RSA key 93BE9F197ED5D0C30E593D8BA776582B312AC35D 172s gpgv: issuer "s.jodogne@gmail.com" 172s gpgv: Can't check signature: No public key 172s dpkg-source: warning: cannot verify inline signature for ./orthanc-python_6.0+ds-2.dsc: no acceptable signature found 172s autopkgtest [20:34:42]: testing package orthanc-python version 6.0+ds-2 174s autopkgtest [20:34:44]: build not needed 177s autopkgtest [20:34:47]: test run-unit-test: preparing testbed 181s Reading package lists... 181s Building dependency tree... 181s Reading state information... 181s Solving dependencies... 182s The following NEW packages will be installed: 182s dcmtk-data libboost-filesystem1.88.0 libboost-iostreams1.88.0 182s libboost-locale1.88.0 libboost-thread1.88.0 libcivetweb1 libdcmtk19 182s libdeflate0 libjbig0 libjpeg-turbo8 libjpeg8 libjsoncpp26 liblerc4 182s liblua5.3-0 libprotobuf32t64 libpugixml1v5 libpython3.13 libsharpyuv0 182s libssl-dev libtiff6 libwebp7 orthanc orthanc-python 182s 0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded. 182s Need to get 16.7 MB of archives. 182s After this operation, 65.8 MB of additional disk space will be used. 182s Get:1 http://ftpmaster.internal/ubuntu resolute/universe armhf libcivetweb1 armhf 1.16+dfsg-3 [87.2 kB] 183s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf libssl-dev armhf 3.5.3-1ubuntu2 [2550 kB] 183s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libboost-filesystem1.88.0 armhf 1.88.0-1.4ubuntu2 [286 kB] 183s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf libboost-iostreams1.88.0 armhf 1.88.0-1.4ubuntu2 [260 kB] 183s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf libboost-thread1.88.0 armhf 1.88.0-1.4ubuntu2 [268 kB] 183s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libboost-locale1.88.0 armhf 1.88.0-1.4ubuntu2 [464 kB] 183s Get:7 http://ftpmaster.internal/ubuntu resolute/universe armhf dcmtk-data all 3.6.9-5build1 [375 kB] 183s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf libdeflate0 armhf 1.23-2 [38.7 kB] 183s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf libjbig0 armhf 2.1-6.1ubuntu2 [24.9 kB] 183s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf libjpeg-turbo8 armhf 2.1.5-4ubuntu2 [127 kB] 184s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf libjpeg8 armhf 8c-2ubuntu11 [2148 B] 184s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf liblerc4 armhf 4.0.0+ds-5ubuntu1 [160 kB] 184s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf libsharpyuv0 armhf 1.5.0-0.1 [16.4 kB] 184s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf libwebp7 armhf 1.5.0-0.1 [188 kB] 184s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf libtiff6 armhf 4.7.0-3ubuntu3 [188 kB] 184s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf libdcmtk19 armhf 3.6.9-5build1 [5503 kB] 184s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf libjsoncpp26 armhf 1.9.6-5 [74.0 kB] 184s Get:18 http://ftpmaster.internal/ubuntu resolute/universe armhf liblua5.3-0 armhf 5.3.6-2build2 [116 kB] 184s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf libprotobuf32t64 armhf 3.21.12-14build1 [905 kB] 185s Get:20 http://ftpmaster.internal/ubuntu resolute/universe armhf libpugixml1v5 armhf 1.14-2 [82.7 kB] 185s Get:21 http://ftpmaster.internal/ubuntu resolute/universe armhf orthanc armhf 1.12.10+dfsg-1 [2634 kB] 185s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.13 armhf 3.13.9-1 [2123 kB] 186s Get:23 http://ftpmaster.internal/ubuntu resolute/universe armhf orthanc-python armhf 6.0+ds-2 [204 kB] 186s Fetched 16.7 MB in 4s (4722 kB/s) 186s Selecting previously unselected package libcivetweb1:armhf. 186s (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.) 186s Preparing to unpack .../00-libcivetweb1_1.16+dfsg-3_armhf.deb ... 186s Unpacking libcivetweb1:armhf (1.16+dfsg-3) ... 186s Selecting previously unselected package libssl-dev:armhf. 186s Preparing to unpack .../01-libssl-dev_3.5.3-1ubuntu2_armhf.deb ... 186s Unpacking libssl-dev:armhf (3.5.3-1ubuntu2) ... 186s Selecting previously unselected package libboost-filesystem1.88.0:armhf. 186s Preparing to unpack .../02-libboost-filesystem1.88.0_1.88.0-1.4ubuntu2_armhf.deb ... 186s Unpacking libboost-filesystem1.88.0:armhf (1.88.0-1.4ubuntu2) ... 186s Selecting previously unselected package libboost-iostreams1.88.0:armhf. 186s Preparing to unpack .../03-libboost-iostreams1.88.0_1.88.0-1.4ubuntu2_armhf.deb ... 186s Unpacking libboost-iostreams1.88.0:armhf (1.88.0-1.4ubuntu2) ... 186s Selecting previously unselected package libboost-thread1.88.0:armhf. 186s Preparing to unpack .../04-libboost-thread1.88.0_1.88.0-1.4ubuntu2_armhf.deb ... 186s Unpacking libboost-thread1.88.0:armhf (1.88.0-1.4ubuntu2) ... 186s Selecting previously unselected package libboost-locale1.88.0:armhf. 186s Preparing to unpack .../05-libboost-locale1.88.0_1.88.0-1.4ubuntu2_armhf.deb ... 186s Unpacking libboost-locale1.88.0:armhf (1.88.0-1.4ubuntu2) ... 186s Selecting previously unselected package dcmtk-data. 186s Preparing to unpack .../06-dcmtk-data_3.6.9-5build1_all.deb ... 186s Unpacking dcmtk-data (3.6.9-5build1) ... 186s Selecting previously unselected package libdeflate0:armhf. 186s Preparing to unpack .../07-libdeflate0_1.23-2_armhf.deb ... 186s Unpacking libdeflate0:armhf (1.23-2) ... 186s Selecting previously unselected package libjbig0:armhf. 186s Preparing to unpack .../08-libjbig0_2.1-6.1ubuntu2_armhf.deb ... 186s Unpacking libjbig0:armhf (2.1-6.1ubuntu2) ... 186s Selecting previously unselected package libjpeg-turbo8:armhf. 186s Preparing to unpack .../09-libjpeg-turbo8_2.1.5-4ubuntu2_armhf.deb ... 186s Unpacking libjpeg-turbo8:armhf (2.1.5-4ubuntu2) ... 186s Selecting previously unselected package libjpeg8:armhf. 186s Preparing to unpack .../10-libjpeg8_8c-2ubuntu11_armhf.deb ... 186s Unpacking libjpeg8:armhf (8c-2ubuntu11) ... 186s Selecting previously unselected package liblerc4:armhf. 186s Preparing to unpack .../11-liblerc4_4.0.0+ds-5ubuntu1_armhf.deb ... 186s Unpacking liblerc4:armhf (4.0.0+ds-5ubuntu1) ... 186s Selecting previously unselected package libsharpyuv0:armhf. 186s Preparing to unpack .../12-libsharpyuv0_1.5.0-0.1_armhf.deb ... 186s Unpacking libsharpyuv0:armhf (1.5.0-0.1) ... 186s Selecting previously unselected package libwebp7:armhf. 186s Preparing to unpack .../13-libwebp7_1.5.0-0.1_armhf.deb ... 186s Unpacking libwebp7:armhf (1.5.0-0.1) ... 186s Selecting previously unselected package libtiff6:armhf. 186s Preparing to unpack .../14-libtiff6_4.7.0-3ubuntu3_armhf.deb ... 186s Unpacking libtiff6:armhf (4.7.0-3ubuntu3) ... 187s Selecting previously unselected package libdcmtk19:armhf. 187s Preparing to unpack .../15-libdcmtk19_3.6.9-5build1_armhf.deb ... 187s Unpacking libdcmtk19:armhf (3.6.9-5build1) ... 187s Selecting previously unselected package libjsoncpp26:armhf. 187s Preparing to unpack .../16-libjsoncpp26_1.9.6-5_armhf.deb ... 187s Unpacking libjsoncpp26:armhf (1.9.6-5) ... 187s Selecting previously unselected package liblua5.3-0:armhf. 187s Preparing to unpack .../17-liblua5.3-0_5.3.6-2build2_armhf.deb ... 187s Unpacking liblua5.3-0:armhf (5.3.6-2build2) ... 187s Selecting previously unselected package libprotobuf32t64:armhf. 187s Preparing to unpack .../18-libprotobuf32t64_3.21.12-14build1_armhf.deb ... 187s Unpacking libprotobuf32t64:armhf (3.21.12-14build1) ... 187s Selecting previously unselected package libpugixml1v5:armhf. 187s Preparing to unpack .../19-libpugixml1v5_1.14-2_armhf.deb ... 187s Unpacking libpugixml1v5:armhf (1.14-2) ... 187s Selecting previously unselected package orthanc. 187s Preparing to unpack .../20-orthanc_1.12.10+dfsg-1_armhf.deb ... 187s Unpacking orthanc (1.12.10+dfsg-1) ... 187s Selecting previously unselected package libpython3.13:armhf. 187s Preparing to unpack .../21-libpython3.13_3.13.9-1_armhf.deb ... 187s Unpacking libpython3.13:armhf (3.13.9-1) ... 187s Selecting previously unselected package orthanc-python. 187s Preparing to unpack .../22-orthanc-python_6.0+ds-2_armhf.deb ... 187s Unpacking orthanc-python (6.0+ds-2) ... 187s Setting up libpython3.13:armhf (3.13.9-1) ... 187s Setting up libsharpyuv0:armhf (1.5.0-0.1) ... 187s Setting up libcivetweb1:armhf (1.16+dfsg-3) ... 187s Setting up libprotobuf32t64:armhf (3.21.12-14build1) ... 187s Setting up liblerc4:armhf (4.0.0+ds-5ubuntu1) ... 187s Setting up libdeflate0:armhf (1.23-2) ... 187s Setting up libboost-filesystem1.88.0:armhf (1.88.0-1.4ubuntu2) ... 187s Setting up libboost-iostreams1.88.0:armhf (1.88.0-1.4ubuntu2) ... 187s Setting up libjbig0:armhf (2.1-6.1ubuntu2) ... 187s Setting up libpugixml1v5:armhf (1.14-2) ... 187s Setting up libboost-thread1.88.0:armhf (1.88.0-1.4ubuntu2) ... 187s Setting up libjsoncpp26:armhf (1.9.6-5) ... 187s Setting up libssl-dev:armhf (3.5.3-1ubuntu2) ... 187s Setting up libjpeg-turbo8:armhf (2.1.5-4ubuntu2) ... 187s Setting up libwebp7:armhf (1.5.0-0.1) ... 187s Setting up liblua5.3-0:armhf (5.3.6-2build2) ... 187s Setting up dcmtk-data (3.6.9-5build1) ... 187s Setting up libjpeg8:armhf (8c-2ubuntu11) ... 187s Setting up libboost-locale1.88.0:armhf (1.88.0-1.4ubuntu2) ... 187s Setting up libtiff6:armhf (4.7.0-3ubuntu3) ... 187s Setting up libdcmtk19:armhf (3.6.9-5build1) ... 187s Setting up orthanc (1.12.10+dfsg-1) ... 187s Generating locales (this might take a while)... 190s en_US.UTF-8... done 190s Generation complete. 190s Created symlink '/etc/systemd/system/multi-user.target.wants/orthanc.service' → '/usr/lib/systemd/system/orthanc.service'. 190s Setting up orthanc-python (6.0+ds-2) ... 190s Processing triggers for man-db (2.13.1-1) ... 190s Processing triggers for libc-bin (2.42-2ubuntu2) ... 190s Processing triggers for orthanc (1.12.10+dfsg-1) ... 190s orthanc-restart-trigger: restarting the Orthanc service 211s autopkgtest [20:35:21]: test run-unit-test: [----------------------- 213s + pkg=orthanc-python 213s + service_name=orthanc 213s + pwd 213s + CUR_DIR=/tmp/autopkgtest.V2Sdkr/build.qOt/src 213s + export LC_ALL=C.UTF-8 213s + [ /tmp/autopkgtest.V2Sdkr/autopkgtest_tmp = ] 213s + cp -a /tmp/autopkgtest.V2Sdkr/build.qOt/src/debian/tests/rest.py /tmp/autopkgtest.V2Sdkr/autopkgtest_tmp 213s + cp -a /tmp/autopkgtest.V2Sdkr/build.qOt/src/debian/tests/configuration.json /tmp/autopkgtest.V2Sdkr/autopkgtest_tmp 213s + cp -a /usr/share/doc/orthanc-python/ /tmp/autopkgtest.V2Sdkr/autopkgtest_tmp 213s + cd /tmp/autopkgtest.V2Sdkr/autopkgtest_tmp 213s + ln -s /usr/share/orthanc/plugins/libOrthancPython.so /tmp/autopkgtest.V2Sdkr/autopkgtest_tmp/libOrthancPython.so 213s + echo Running Tests 213s + getent passwd orthanc 213s Running Tests 213s User 'orthanc' exists. 213s + echo User 'orthanc' exists. 213s + sudo systemctl stop orthanc 216s + sudo pkill Orthanc 216s + true 216s + URL=http://localhost:8042/system 216s + tries=15 216s + set +e 216s + true 216s + sudo /usr/sbin/Orthanc ./configuration.json --verbose 216s + curl --silent --output /dev/stderr --write-out %{http_code} http://localhost:8042/system 216s + STATUSCODE=000 216s + test 000 -eq 200 216s + expr 15 - 1 216s + tries=14 216s + test 14 -le 0 216s + sleep 1 216s W1202 20:35:25.802586 MAIN main.cpp:2174] Orthanc version: 1.12.10 216s I1202 20:35:25.802694 MAIN main.cpp:2206] Architecture: 32-bit, little endian 216s W1202 20:35:25.802776 MAIN OrthancConfiguration.cpp:59] Reading the configuration from: ./configuration.json 216s I1202 20:35:25.802963 MAIN Toolbox.cpp:1760] Using locale: "en_US.UTF-8" for case-insensitive comparison of strings 216s I1202 20:35:25.803129 MAIN Toolbox.cpp:2069] OpenSSL version: OpenSSL 3.5.3 16 Sep 2025 216s I1202 20:35:25.804061 MAIN FromDcmtkBridge.cpp:364] (dicom) Using DCMTK version: 369 216s I1202 20:35:25.821383 MAIN FromDcmtkBridge.cpp:447] (dicom) Clearing the DICOM dictionary 216s W1202 20:35:25.822548 MAIN FromDcmtkBridge.cpp:452] Loading external DICOM dictionary: "/usr/share/dcmtk/dicom.dic" 216s W1202 20:35:25.834125 MAIN FromDcmtkBridge.cpp:452] Loading external DICOM dictionary: "/usr/share/dcmtk/private.dic" 216s I1202 20:35:25.840244 MAIN FromDcmtkBridge.cpp:2624] (dicom) Registering JPEG Lossless codecs in DCMTK 216s I1202 20:35:25.840282 MAIN FromDcmtkBridge.cpp:2632] (dicom) Registering JPEG codecs in DCMTK 216s I1202 20:35:25.840307 MAIN FromDcmtkBridge.cpp:2639] (dicom) Registering RLE codecs in DCMTK 216s I1202 20:35:25.840331 MAIN Enumerations.cpp:2424] Default encoding for DICOM was changed to: Latin1 216s I1202 20:35:25.850145 MAIN OrthancInitialization.cpp:405] Calling mallopt(M_ARENA_MAX, 5) 216s W1202 20:35:25.850449 MAIN main.cpp:966] Loading plugin(s) from: "/tmp/autopkgtest.V2Sdkr/autopkgtest_tmp/." 216s I1202 20:35:25.850507 MAIN PluginsManager.cpp:306] (plugins) Scanning folder /tmp/autopkgtest.V2Sdkr/autopkgtest_tmp/. for plugins 216s I1202 20:35:25.850608 MAIN PluginsManager.cpp:329] (plugins) Found a shared library: "/tmp/autopkgtest.V2Sdkr/autopkgtest_tmp/./libOrthancPython.so" 216s W1202 20:35:25.853029 MAIN PluginsManager.cpp:287] Registering plugin 'python' (version 6.0) 216s W1202 20:35:25.853080 MAIN python:/Plugin.cpp:563] Python plugin is initializing 216s W1202 20:35:25.853105 MAIN python:/Plugin.cpp:581] Version of the Orthanc SDK in use by the Python plugin: 1.12.9 216s W1202 20:35:25.853210 MAIN python:/Plugin.cpp:636] Using Python script "rest.py" from directory: /tmp/autopkgtest.V2Sdkr/autopkgtest_tmp 216s W1202 20:35:25.853246 MAIN python:/Plugin.cpp:527] Force global loading of Python shared library: /usr/lib/arm-linux-gnueabihf/libpython3.13.so.1.0 216s W1202 20:35:25.853316 MAIN python:/PythonLock.cpp:358] Program name: /usr/sbin/Orthanc 216s I1202 20:35:25.893854 MAIN python:/RestCallbacks.cpp:232] Registering a Python REST callback on URI: /(to)(t)o 216s I1202 20:35:25.893912 MAIN OrthancPlugins.cpp:3025] (plugins) Plugin has registered a REST callback without mutual exclusion on: /(to)(t)o 216s I1202 20:35:25.893950 MAIN python:/RestCallbacks.cpp:232] Registering a Python REST callback on URI: /tata 216s I1202 20:35:25.893957 MAIN OrthancPlugins.cpp:3025] (plugins) Plugin has registered a REST callback without mutual exclusion on: /tata 216s W1202 20:35:25.894023 MAIN OrthancInitialization.cpp:445] SQLite index directory: /tmp/autopkgtest.V2Sdkr/autopkgtest_tmp/OrthancStorage 216s W1202 20:35:25.894307 MAIN OrthancInitialization.cpp:531] Storage directory: /tmp/autopkgtest.V2Sdkr/autopkgtest_tmp/OrthancStorage 216s I1202 20:35:25.898895 MAIN SQLiteDatabaseWrapper.cpp:2794] Creating the database 216s I1202 20:35:25.904591 MAIN SQLiteDatabaseWrapper.cpp:2818] Version of the Orthanc database: 6 216s W1202 20:35:25.904701 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. 216s I1202 20:35:25.904716 MAIN HttpClient.cpp:516] (http) Setting the default timeout for HTTP client connections: 0 seconds 216s I1202 20:35:25.904750 MAIN HttpClient.cpp:500] (http) Setting the default proxy for HTTP client connections: 216s I1202 20:35:25.904766 MAIN DicomAssociationParameters.cpp:397] (dicom) Default timeout for DICOM connections if Orthanc acts as SCU (client): 10 seconds (0 = no timeout) 216s I1202 20:35:25.905776 DB-FLUSH ServerIndex.cpp:289] Starting the database flushing thread (sleep = 10 seconds) 216s I1202 20:35:25.905834 UNSTABLE-MON ServerIndex.cpp:475] Starting the monitor for stable resources (stable age = 60) 216s I1202 20:35:25.905904 MAIN LuaJobManager.cpp:69] (lua) Lua: DICOM associations will be closed after 5 seconds of inactivity 216s I1202 20:35:25.905931 MAIN LuaScripting.cpp:820] Initializing Lua for the event handler 216s W1202 20:35:25.906043 MAIN LuaContext.cpp:95] Lua says: Lua toolbox installed 216s I1202 20:35:25.906118 MAIN LuaJobManager.cpp:69] (lua) Lua: DICOM associations will be closed after 5 seconds of inactivity 216s I1202 20:35:25.906129 MAIN LuaScripting.cpp:820] Initializing Lua for the event handler 216s W1202 20:35:25.906246 MAIN LuaContext.cpp:95] Lua says: Lua toolbox installed 216s I1202 20:35:25.906279 MAIN ServerContext.cpp:458] Automated transcoding of incoming DICOM instances is disabled 216s I1202 20:35:25.906286 MAIN ServerContext.cpp:465] (dicom) Deidentification of log contents (notably for DIMSE queries) is enabled 216s I1202 20:35:25.906292 MAIN ServerContext.cpp:469] (dicom) Version of DICOM standard used for deidentification is 2023b 216s I1202 20:35:25.906442 MAIN ServerContext.cpp:488] (dicom) Preferred transfer syntax for Orthanc C-STORE SCU: 1.2.840.10008.1.2.1 216s I1202 20:35:25.906647 MAIN DcmtkTranscoder.cpp:80] Default quality for lossy transcoding using DCMTK is set to: 90 216s I1202 20:35:25.906812 MAIN ServerContext.cpp:534] Starting memory trimming thread at 30 seconds interval 216s W1202 20:35:25.906931 MAIN ServerContext.cpp:610] Disk compression is disabled 216s I1202 20:35:25.906943 MAIN ServerContext.cpp:1578] Storing MD5 for attachments: yes 216s W1202 20:35:25.906949 MAIN ServerIndex.cpp:402] No limit on the number of stored patients 216s W1202 20:35:25.906954 MAIN ServerIndex.cpp:422] No limit on the size of the storage area 216s I1202 20:35:25.907268 MAIN ServerContext.cpp:307] The last execution of Orthanc has archived no job 216s I1202 20:35:25.907455 JOBS-WORKER-0 JobsEngine.cpp:127] (jobs) Worker thread 0 has started 216s W1202 20:35:25.907443 MAIN JobsEngine.cpp:276] The jobs engine has started with 2 threads 216s I1202 20:35:25.907463 JOBS-WORKER-1 JobsEngine.cpp:127] (jobs) Worker thread 1 has started 216s I1202 20:35:25.907544 MAIN DicomServer.cpp:138] (dicom) Setting timeout for DICOM connections if Orthanc acts as SCP (server): 30 seconds (0 = no timeout) 216s I1202 20:35:25.907674 MAIN DicomServer.cpp:426] (dicom) Orthanc SCP will *not* use DICOM TLS 216s I1202 20:35:25.907686 MAIN DicomServer.cpp:434] (dicom) The embedded DICOM server will use 4 threads 216s W1202 20:35:25.907921 MAIN main.cpp:1389] DICOM server listening with AET ORTHANC on port: 4242 216s I1202 20:35:25.907941 MAIN HttpServer.cpp:1695] (http) This Orthanc server uses CivetWeb as its embedded HTTP server 216s I1202 20:35:25.907946 DICOM-SERVER DicomServer.cpp:66] (dicom) DICOM server started 216s I1202 20:35:25.907951 MAIN HttpServer.cpp:2272] (http) The embedded HTTP server will use 50 threads 216s I1202 20:35:25.907979 MAIN HttpServer.cpp:2108] (http) HTTP keep alive is enabled 216s I1202 20:35:25.907984 MAIN HttpServer.cpp:2122] (http) HTTP keep alive Timeout is now 1 seconds 216s W1202 20:35:25.907989 MAIN HttpServer.cpp:2191] HTTP compression is disabled 216s I1202 20:35:25.907994 MAIN HttpServer.cpp:2285] (http) TCP_NODELAY for the HTTP sockets is set to true 216s I1202 20:35:25.907998 MAIN HttpServer.cpp:2305] (http) Request timeout in the HTTP server is set to 30 seconds 216s I1202 20:35:25.908004 MAIN main.cpp:1226] Version of Lua: Lua 5.3 216s W1202 20:35:25.908009 MAIN main.cpp:1237] Remote LUA script execution is disabled 216s W1202 20:35:25.908013 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. 216s I1202 20:35:25.908024 MAIN HttpServer.cpp:2352] (http) Branching WebDAV bucket at: /webdav 216s I1202 20:35:25.908034 MAIN HttpServer.cpp:1748] (http) Starting embedded Web server using Civetweb 216s I1202 20:35:25.910117 MAIN OrthancWebDav.cpp:1691] Starting the WebDAV upload thread 216s W1202 20:35:25.910263 MAIN HttpServer.cpp:1936] HTTP server listening on port: 8042 (HTTPS encryption is disabled, remote access is not allowed) 216s W1202 20:35:25.910284 MAIN main.cpp:978] Orthanc has started 216s I1202 20:35:25.910291 MAIN LuaScripting.cpp:927] Starting the Lua engine 216s + true 216s + curl --silent --output /dev/stderr --write-out %{http_code} http://localhost:8042/system 216s I1202 20:35:26.809358 HTTP-0 Toolbox.cpp:2782] (http) GET /system 216s I1202 20:35:26.809847 HTTP-0 Toolbox.cpp:2787] (http) GET /system (elapsed: 508 us) 216s Orthanc initialized! 216s {'get': {}, 216s 'groups': ('to', 't'), 216s 'headers': {'accept': '*/*', 216s 'host': 'localhost:8042', 216s 'user-agent': 'curl/8.14.1'}, 216s 'method': 'GET'} 216s Accessing uri: /toto 216s { 216s "ApiVersion" : 29, 216s "Capabilities" : 216s { 216s "HasExtendedChanges" : true, 216s "HasExtendedFind" : true, 216s "HasKeyValueStores" : true, 216s "HasQueues" : true, 216s "HasReserveQueueValue" : true 216s }, 216s "CheckRevisions" : false, 216s "DatabaseBackendPlugin" : null, 216s "DatabaseServerIdentifier" : "04d28442-62eff495-37aa4dad-1d19ec06-1d4fc788", 216s "DatabaseVersion" : 6, 216s "DefaultRetrieveMethod" : "C-MOVE", 216s "DicomAet" : "ORTHANC", 216s "DicomPort" : 4242, 216s "HasLabels" : true, 216s "HttpPort" : 8042, 216s "IngestTranscoding" : "", 216s "IsHttpServerSecure" : true, 216s "MainDicomTags" : 216s { 216s "Instance" : "0008,0012;0008,0013;0008,0018;0020,0012;0020,0013;0020,0032;0020,0037;0020,0100;0020,4000;0028,0008;0054,1330", 216s "Patient" : "0010,0010;0010,0020;0010,0030;0010,0040;0010,1000", 216s "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", 216s "Study" : "0008,0020;0008,0030;0008,0050;0008,0080;0008,0090;0008,0201;0008,1030;0020,000d;0020,0010;0032,1032;0032,1060" 216s }, 216s "MaximumPatientCount" : 0, 216s "MaximumStorageMode" : "Recycle", 216s "MaximumStorageSize" : 0, 216s "Name" : "", 216s "OverwriteInstances" : false, 216s "PluginsEnabled" : true, 216s "ReadOnly" : false, 216s "StorageAreaPlugin" : null, 216s "StorageCompression" : false, 216s "UserMetadata" : {}, 216s "Version" : "1.12.10" 216s }+ STATUSCODE=200 216s + test 200 -eq 200 216s + echo Orthanc initialized! 216s + break 216s + set -e 216s + curl -s http://localhost:8042/toto 216s I1202 20:35:26.821210 HTTP-1 Toolbox.cpp:2782] (http) GET /toto 216s I1202 20:35:26.821264 HTTP-1 OrthancPlugins.cpp:2843] (plugins) Delegating HTTP request to plugin for URI: /toto 216s I1202 20:35:26.821800 HTTP-1 Toolbox.cpp:2787] (http) GET /toto (elapsed: 617 us) 216s + result=ok 216s + sudo systemctl stop orthanc 216s + sudo pkill Orthanc 216s I1202 20:35:26.860278 MAIN LuaJobManager.cpp:99] (lua) Awaking trailing sleep 216s I1202 20:35:26.860317 MAIN LuaScripting.cpp:959] Stopping the Lua engine 216s Test passed 216s + [ ok = ok ] 216s + echo Test passed 216s + exit 0 217s I1202 20:35:26.960513 MAIN LuaScripting.cpp:965] The Lua engine has stopped 217s W1202 20:35:26.960561 MAIN main.cpp:1040] Orthanc is stopping 218s I1202 20:35:28.828812 MAIN OrthancWebDav.cpp:1702] Stopping the WebDAV upload thread 218s W1202 20:35:28.913263 MAIN main.cpp:1288] HTTP server has stopped 219s I1202 20:35:29.910088 DICOM-SERVER DicomServer.cpp:88] (dicom) DICOM server stopping 219s W1202 20:35:29.914388 MAIN main.cpp:1405] DICOM server has stopped 220s I1202 20:35:30.012453 MAIN JobsEngine.cpp:293] (jobs) Stopping the jobs engine 220s W1202 20:35:30.111116 MAIN JobsEngine.cpp:317] The jobs engine has stopped 220s I1202 20:35:30.407027 DB-FLUSH ServerIndex.cpp:308] Stopping the database flushing thread 220s I1202 20:35:30.407211 UNSTABLE-MON ServerIndex.cpp:513] Closing the monitor thread for stable resources 220s W1202 20:35:30.418498 MAIN PluginsManager.cpp:225] Unregistering plugin 'python' (version 6.0) 220s W1202 20:35:30.418555 MAIN python:/Plugin.cpp:694] Python plugin is finalizing 220s W1202 20:35:30.428333 MAIN main.cpp:2262] Orthanc has stopped 220s autopkgtest [20:35:30]: test run-unit-test: -----------------------] 225s autopkgtest [20:35:35]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 225s run-unit-test PASS 229s autopkgtest [20:35:39]: @@@@@@@@@@@@@@@@@@@@ summary 229s run-unit-test PASS