0s autopkgtest [22:22:35]: starting date and time: 2025-12-02 22:22:35+0000 0s autopkgtest [22:22:35]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [22:22:35]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.wr4ux3kq/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --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 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-3.secgroup --name adt-resolute-amd64-orthanc-python-20251202-222235-juju-7f2275-prod-proposed-migration-environment-20-4ed96486-cc21-4bad-b3c9-53b9d5cbe933 --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-amd64-orthanc-python-20251202-222235-juju-7f2275-prod-proposed-migration-environment-20-4ed96486-cc21-4bad-b3c9-53b9d5cbe933 from image adt/ubuntu-resolute-amd64-server-20251202.img (UUID 6992c834-3d6d-4952-bb78-a730832349b3)... 66s autopkgtest [22:23:41]: testbed dpkg architecture: amd64 66s autopkgtest [22:23:41]: testbed apt version: 3.1.12 66s autopkgtest [22:23:41]: @@@@@@@@@@@@@@@@@@@@ test bed setup 67s autopkgtest [22:23:42]: testbed release detected to be: None 67s autopkgtest [22:23:42]: updating testbed package index (apt update) 68s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 68s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 68s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 68s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 68s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [132 kB] 68s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [20.5 kB] 68s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [829 kB] 69s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [97.0 kB] 69s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [122 kB] 69s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [5436 B] 69s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 69s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [576 kB] 69s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [272 kB] 69s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [18.3 kB] 69s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [3452 B] 69s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [8032 B] 69s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [616 B] 73s Fetched 2208 kB in 1s (1713 kB/s) 74s Reading package lists... 75s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 75s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 75s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 75s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 76s Reading package lists... 76s Reading package lists... 76s Building dependency tree... 76s Reading state information... 77s Calculating upgrade... 77s The following packages will be upgraded: 77s libproc2-0 procps python3-jmespath 77s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 77s Need to get 791 kB of archives. 77s After this operation, 32.8 kB disk space will be freed. 77s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libproc2-0 amd64 2:4.0.4-9ubuntu1 [59.4 kB] 77s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 procps amd64 2:4.0.4-9ubuntu1 [710 kB] 77s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-jmespath all 1.0.1-1build1 [21.2 kB] 78s dpkg-preconfigure: unable to re-open stdin: No such file or directory 78s Fetched 791 kB in 1s (1163 kB/s) 78s (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 ... 123179 files and directories currently installed.) 78s Preparing to unpack .../libproc2-0_2%3a4.0.4-9ubuntu1_amd64.deb ... 78s Unpacking libproc2-0:amd64 (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 78s Preparing to unpack .../procps_2%3a4.0.4-9ubuntu1_amd64.deb ... 78s Unpacking procps (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 78s Preparing to unpack .../python3-jmespath_1.0.1-1build1_all.deb ... 79s Unpacking python3-jmespath (1.0.1-1build1) over (1.0.1-1) ... 79s Setting up python3-jmespath (1.0.1-1build1) ... 79s Setting up libproc2-0:amd64 (2:4.0.4-9ubuntu1) ... 79s Setting up procps (2:4.0.4-9ubuntu1) ... 79s Processing triggers for systemd (257.9-0ubuntu2) ... 79s Processing triggers for man-db (2.13.1-1) ... 81s Processing triggers for libc-bin (2.42-2ubuntu2) ... 82s autopkgtest [22:23:57]: upgrading testbed (apt dist-upgrade and autopurge) 82s Reading package lists... 82s Building dependency tree... 82s Reading state information... 82s Calculating upgrade... 83s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 83s Reading package lists... 83s Building dependency tree... 83s Reading state information... 83s Solving dependencies... 84s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 84s autopkgtest [22:23:59]: rebooting testbed after setup commands that affected boot 106s autopkgtest [22:24:21]: testbed running kernel: Linux 6.17.0-6-generic #6-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 7 13:34:17 UTC 2025 109s autopkgtest [22:24:24]: @@@@@@@@@@@@@@@@@@@@ apt-source orthanc-python 111s Get:1 http://ftpmaster.internal/ubuntu resolute/universe orthanc-python 6.0+ds-2 (dsc) [2267 B] 111s Get:2 http://ftpmaster.internal/ubuntu resolute/universe orthanc-python 6.0+ds-2 (tar) [104 kB] 111s Get:3 http://ftpmaster.internal/ubuntu resolute/universe orthanc-python 6.0+ds-2 (diff) [6192 B] 111s gpgv: Signature made Mon Sep 1 12:45:02 2025 UTC 111s gpgv: using RSA key 93BE9F197ED5D0C30E593D8BA776582B312AC35D 111s gpgv: issuer "s.jodogne@gmail.com" 111s gpgv: Can't check signature: No public key 111s dpkg-source: warning: cannot verify inline signature for ./orthanc-python_6.0+ds-2.dsc: no acceptable signature found 111s autopkgtest [22:24:26]: testing package orthanc-python version 6.0+ds-2 112s autopkgtest [22:24:27]: build not needed 115s autopkgtest [22:24:30]: test run-unit-test: preparing testbed 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 115s Solving dependencies... 116s The following NEW packages will be installed: 116s dcmtk-data libboost-filesystem1.88.0 libboost-iostreams1.88.0 116s libboost-locale1.88.0 libboost-thread1.88.0 libcivetweb1 libdcmtk19 116s libdeflate0 libjbig0 libjpeg-turbo8 libjpeg8 libjsoncpp26 liblerc4 116s liblua5.3-0 libprotobuf32t64 libpugixml1v5 libsharpyuv0 libssl-dev libtiff6 116s libwebp7 orthanc orthanc-python 116s 0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded. 116s Need to get 15.5 MB of archives. 116s After this operation, 77.5 MB of additional disk space will be used. 116s Get:1 http://ftpmaster.internal/ubuntu resolute/universe amd64 libcivetweb1 amd64 1.16+dfsg-3 [97.3 kB] 116s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 libssl-dev amd64 3.5.3-1ubuntu2 [2936 kB] 117s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libboost-filesystem1.88.0 amd64 1.88.0-1.4ubuntu2 [292 kB] 118s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 libboost-iostreams1.88.0 amd64 1.88.0-1.4ubuntu2 [262 kB] 118s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 libboost-thread1.88.0 amd64 1.88.0-1.4ubuntu2 [273 kB] 118s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libboost-locale1.88.0 amd64 1.88.0-1.4ubuntu2 [429 kB] 118s Get:7 http://ftpmaster.internal/ubuntu resolute/universe amd64 dcmtk-data all 3.6.9-5build1 [375 kB] 118s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libdeflate0 amd64 1.23-2 [49.9 kB] 118s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libjbig0 amd64 2.1-6.1ubuntu2 [29.7 kB] 118s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 libjpeg-turbo8 amd64 2.1.5-4ubuntu2 [152 kB] 118s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libjpeg8 amd64 8c-2ubuntu11 [2148 B] 118s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 liblerc4 amd64 4.0.0+ds-5ubuntu1 [271 kB] 118s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 libsharpyuv0 amd64 1.5.0-0.1 [25.9 kB] 118s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libwebp7 amd64 1.5.0-0.1 [378 kB] 118s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 libtiff6 amd64 4.7.0-3ubuntu3 [209 kB] 118s Get:16 http://ftpmaster.internal/ubuntu resolute/universe amd64 libdcmtk19 amd64 3.6.9-5build1 [6004 kB] 119s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 libjsoncpp26 amd64 1.9.6-5 [84.0 kB] 119s Get:18 http://ftpmaster.internal/ubuntu resolute/universe amd64 liblua5.3-0 amd64 5.3.6-2build2 [143 kB] 119s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libprotobuf32t64 amd64 3.21.12-14build1 [955 kB] 119s Get:20 http://ftpmaster.internal/ubuntu resolute/universe amd64 libpugixml1v5 amd64 1.14-2 [93.6 kB] 119s Get:21 http://ftpmaster.internal/ubuntu resolute/universe amd64 orthanc amd64 1.12.10+dfsg-1 [2244 kB] 119s Get:22 http://ftpmaster.internal/ubuntu resolute/universe amd64 orthanc-python amd64 6.0+ds-2 [187 kB] 120s Fetched 15.5 MB in 3s (4445 kB/s) 120s Selecting previously unselected package libcivetweb1:amd64. 120s (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 ... 123179 files and directories currently installed.) 120s Preparing to unpack .../00-libcivetweb1_1.16+dfsg-3_amd64.deb ... 120s Unpacking libcivetweb1:amd64 (1.16+dfsg-3) ... 120s Selecting previously unselected package libssl-dev:amd64. 120s Preparing to unpack .../01-libssl-dev_3.5.3-1ubuntu2_amd64.deb ... 120s Unpacking libssl-dev:amd64 (3.5.3-1ubuntu2) ... 120s Selecting previously unselected package libboost-filesystem1.88.0:amd64. 120s Preparing to unpack .../02-libboost-filesystem1.88.0_1.88.0-1.4ubuntu2_amd64.deb ... 120s Unpacking libboost-filesystem1.88.0:amd64 (1.88.0-1.4ubuntu2) ... 120s Selecting previously unselected package libboost-iostreams1.88.0:amd64. 120s Preparing to unpack .../03-libboost-iostreams1.88.0_1.88.0-1.4ubuntu2_amd64.deb ... 120s Unpacking libboost-iostreams1.88.0:amd64 (1.88.0-1.4ubuntu2) ... 120s Selecting previously unselected package libboost-thread1.88.0:amd64. 120s Preparing to unpack .../04-libboost-thread1.88.0_1.88.0-1.4ubuntu2_amd64.deb ... 120s Unpacking libboost-thread1.88.0:amd64 (1.88.0-1.4ubuntu2) ... 120s Selecting previously unselected package libboost-locale1.88.0:amd64. 120s Preparing to unpack .../05-libboost-locale1.88.0_1.88.0-1.4ubuntu2_amd64.deb ... 120s Unpacking libboost-locale1.88.0:amd64 (1.88.0-1.4ubuntu2) ... 120s Selecting previously unselected package dcmtk-data. 120s Preparing to unpack .../06-dcmtk-data_3.6.9-5build1_all.deb ... 120s Unpacking dcmtk-data (3.6.9-5build1) ... 120s Selecting previously unselected package libdeflate0:amd64. 120s Preparing to unpack .../07-libdeflate0_1.23-2_amd64.deb ... 120s Unpacking libdeflate0:amd64 (1.23-2) ... 120s Selecting previously unselected package libjbig0:amd64. 120s Preparing to unpack .../08-libjbig0_2.1-6.1ubuntu2_amd64.deb ... 120s Unpacking libjbig0:amd64 (2.1-6.1ubuntu2) ... 120s Selecting previously unselected package libjpeg-turbo8:amd64. 120s Preparing to unpack .../09-libjpeg-turbo8_2.1.5-4ubuntu2_amd64.deb ... 120s Unpacking libjpeg-turbo8:amd64 (2.1.5-4ubuntu2) ... 120s Selecting previously unselected package libjpeg8:amd64. 120s Preparing to unpack .../10-libjpeg8_8c-2ubuntu11_amd64.deb ... 120s Unpacking libjpeg8:amd64 (8c-2ubuntu11) ... 120s Selecting previously unselected package liblerc4:amd64. 120s Preparing to unpack .../11-liblerc4_4.0.0+ds-5ubuntu1_amd64.deb ... 120s Unpacking liblerc4:amd64 (4.0.0+ds-5ubuntu1) ... 120s Selecting previously unselected package libsharpyuv0:amd64. 120s Preparing to unpack .../12-libsharpyuv0_1.5.0-0.1_amd64.deb ... 120s Unpacking libsharpyuv0:amd64 (1.5.0-0.1) ... 120s Selecting previously unselected package libwebp7:amd64. 120s Preparing to unpack .../13-libwebp7_1.5.0-0.1_amd64.deb ... 120s Unpacking libwebp7:amd64 (1.5.0-0.1) ... 120s Selecting previously unselected package libtiff6:amd64. 120s Preparing to unpack .../14-libtiff6_4.7.0-3ubuntu3_amd64.deb ... 120s Unpacking libtiff6:amd64 (4.7.0-3ubuntu3) ... 120s Selecting previously unselected package libdcmtk19:amd64. 120s Preparing to unpack .../15-libdcmtk19_3.6.9-5build1_amd64.deb ... 120s Unpacking libdcmtk19:amd64 (3.6.9-5build1) ... 121s Selecting previously unselected package libjsoncpp26:amd64. 121s Preparing to unpack .../16-libjsoncpp26_1.9.6-5_amd64.deb ... 121s Unpacking libjsoncpp26:amd64 (1.9.6-5) ... 121s Selecting previously unselected package liblua5.3-0:amd64. 121s Preparing to unpack .../17-liblua5.3-0_5.3.6-2build2_amd64.deb ... 121s Unpacking liblua5.3-0:amd64 (5.3.6-2build2) ... 121s Selecting previously unselected package libprotobuf32t64:amd64. 121s Preparing to unpack .../18-libprotobuf32t64_3.21.12-14build1_amd64.deb ... 121s Unpacking libprotobuf32t64:amd64 (3.21.12-14build1) ... 121s Selecting previously unselected package libpugixml1v5:amd64. 121s Preparing to unpack .../19-libpugixml1v5_1.14-2_amd64.deb ... 121s Unpacking libpugixml1v5:amd64 (1.14-2) ... 121s Selecting previously unselected package orthanc. 121s Preparing to unpack .../20-orthanc_1.12.10+dfsg-1_amd64.deb ... 121s Unpacking orthanc (1.12.10+dfsg-1) ... 121s Selecting previously unselected package orthanc-python. 121s Preparing to unpack .../21-orthanc-python_6.0+ds-2_amd64.deb ... 121s Unpacking orthanc-python (6.0+ds-2) ... 121s Setting up libsharpyuv0:amd64 (1.5.0-0.1) ... 121s Setting up libcivetweb1:amd64 (1.16+dfsg-3) ... 121s Setting up libprotobuf32t64:amd64 (3.21.12-14build1) ... 121s Setting up liblerc4:amd64 (4.0.0+ds-5ubuntu1) ... 121s Setting up libdeflate0:amd64 (1.23-2) ... 121s Setting up libboost-filesystem1.88.0:amd64 (1.88.0-1.4ubuntu2) ... 121s Setting up libboost-iostreams1.88.0:amd64 (1.88.0-1.4ubuntu2) ... 121s Setting up libjbig0:amd64 (2.1-6.1ubuntu2) ... 121s Setting up libpugixml1v5:amd64 (1.14-2) ... 121s Setting up libboost-thread1.88.0:amd64 (1.88.0-1.4ubuntu2) ... 121s Setting up libjsoncpp26:amd64 (1.9.6-5) ... 121s Setting up libssl-dev:amd64 (3.5.3-1ubuntu2) ... 121s Setting up libjpeg-turbo8:amd64 (2.1.5-4ubuntu2) ... 121s Setting up libwebp7:amd64 (1.5.0-0.1) ... 121s Setting up liblua5.3-0:amd64 (5.3.6-2build2) ... 121s Setting up dcmtk-data (3.6.9-5build1) ... 121s Setting up libjpeg8:amd64 (8c-2ubuntu11) ... 121s Setting up libboost-locale1.88.0:amd64 (1.88.0-1.4ubuntu2) ... 121s Setting up libtiff6:amd64 (4.7.0-3ubuntu3) ... 121s Setting up libdcmtk19:amd64 (3.6.9-5build1) ... 121s Setting up orthanc (1.12.10+dfsg-1) ... 121s Generating locales (this might take a while)... 123s en_US.UTF-8... done 123s Generation complete. 123s Created symlink '/etc/systemd/system/multi-user.target.wants/orthanc.service' → '/usr/lib/systemd/system/orthanc.service'. 123s Setting up orthanc-python (6.0+ds-2) ... 123s Processing triggers for man-db (2.13.1-1) ... 124s Processing triggers for libc-bin (2.42-2ubuntu2) ... 124s Processing triggers for orthanc (1.12.10+dfsg-1) ... 124s orthanc-restart-trigger: restarting the Orthanc service 129s autopkgtest [22:24:44]: test run-unit-test: [----------------------- 129s + pkg=orthanc-python 129s + service_name=orthanc 129s + pwd 129s + CUR_DIR=/tmp/autopkgtest.vg5loG/build.1oy/src 129s + export LC_ALL=C.UTF-8 129s + [ /tmp/autopkgtest.vg5loG/autopkgtest_tmp = ] 129s + cp -a /tmp/autopkgtest.vg5loG/build.1oy/src/debian/tests/rest.py /tmp/autopkgtest.vg5loG/autopkgtest_tmp 129s + cp -a /tmp/autopkgtest.vg5loG/build.1oy/src/debian/tests/configuration.json /tmp/autopkgtest.vg5loG/autopkgtest_tmp 129s + cp -a /usr/share/doc/orthanc-python/ /tmp/autopkgtest.vg5loG/autopkgtest_tmp 129s + cd /tmp/autopkgtest.vg5loG/autopkgtest_tmp 129s + ln -s /usr/share/orthanc/plugins/libOrthancPython.so /tmp/autopkgtest.vg5loG/autopkgtest_tmp/libOrthancPython.so 129s Running Tests 129s + echo Running Tests 129s + getent passwd orthanc 129s User 'orthanc' exists. 129s + echo User 'orthanc' exists. 129s + sudo systemctl stop orthanc 131s + sudo pkill Orthanc 131s + true 131s + URL=http://localhost:8042/system 131s + tries=15 131s + set +e 131s + true 131s + + sudo /usr/sbin/Orthanc ./configuration.json --verbose 131s curl --silent --output /dev/stderr --write-out %{http_code} http://localhost:8042/system 131s + STATUSCODE=000 131s + test 000 -eq 200 131s + expr 15 - 1 131s + tries=14 131s + test 14 -le 0 131s + sleep 1 131s W1202 22:24:46.381000 MAIN main.cpp:2174] Orthanc version: 1.12.10 131s I1202 22:24:46.381086 MAIN main.cpp:2206] Architecture: 64-bit, little endian 131s W1202 22:24:46.381150 MAIN OrthancConfiguration.cpp:59] Reading the configuration from: ./configuration.json 131s I1202 22:24:46.381307 MAIN Toolbox.cpp:1760] Using locale: "en_US.UTF-8" for case-insensitive comparison of strings 131s I1202 22:24:46.381502 MAIN Toolbox.cpp:2069] OpenSSL version: OpenSSL 3.5.3 16 Sep 2025 131s I1202 22:24:46.382417 MAIN FromDcmtkBridge.cpp:364] (dicom) Using DCMTK version: 369 131s I1202 22:24:46.405967 MAIN FromDcmtkBridge.cpp:447] (dicom) Clearing the DICOM dictionary 131s W1202 22:24:46.406800 MAIN FromDcmtkBridge.cpp:452] Loading external DICOM dictionary: "/usr/share/dcmtk/dicom.dic" 131s W1202 22:24:46.421503 MAIN FromDcmtkBridge.cpp:452] Loading external DICOM dictionary: "/usr/share/dcmtk/private.dic" 131s I1202 22:24:46.429503 MAIN FromDcmtkBridge.cpp:2624] (dicom) Registering JPEG Lossless codecs in DCMTK 131s I1202 22:24:46.429537 MAIN FromDcmtkBridge.cpp:2632] (dicom) Registering JPEG codecs in DCMTK 131s I1202 22:24:46.429559 MAIN FromDcmtkBridge.cpp:2639] (dicom) Registering RLE codecs in DCMTK 131s I1202 22:24:46.429574 MAIN Enumerations.cpp:2424] Default encoding for DICOM was changed to: Latin1 131s I1202 22:24:46.439040 MAIN OrthancInitialization.cpp:405] Calling mallopt(M_ARENA_MAX, 5) 131s W1202 22:24:46.439191 MAIN main.cpp:966] Loading plugin(s) from: "/tmp/autopkgtest.vg5loG/autopkgtest_tmp/." 131s I1202 22:24:46.439231 MAIN PluginsManager.cpp:306] (plugins) Scanning folder /tmp/autopkgtest.vg5loG/autopkgtest_tmp/. for plugins 131s I1202 22:24:46.439279 MAIN PluginsManager.cpp:329] (plugins) Found a shared library: "/tmp/autopkgtest.vg5loG/autopkgtest_tmp/./libOrthancPython.so" 131s W1202 22:24:46.441244 MAIN PluginsManager.cpp:287] Registering plugin 'python' (version 6.0) 131s W1202 22:24:46.441269 MAIN python:/Plugin.cpp:563] Python plugin is initializing 131s W1202 22:24:46.441287 MAIN python:/Plugin.cpp:581] Version of the Orthanc SDK in use by the Python plugin: 1.12.9 131s W1202 22:24:46.441381 MAIN python:/Plugin.cpp:636] Using Python script "rest.py" from directory: /tmp/autopkgtest.vg5loG/autopkgtest_tmp 131s W1202 22:24:46.441404 MAIN python:/Plugin.cpp:527] Force global loading of Python shared library: /usr/lib/x86_64-linux-gnu/libpython3.13.so.1.0 131s W1202 22:24:46.441452 MAIN python:/PythonLock.cpp:358] Program name: /usr/sbin/Orthanc 131s I1202 22:24:46.481159 MAIN python:/RestCallbacks.cpp:232] Registering a Python REST callback on URI: /(to)(t)o 131s I1202 22:24:46.481207 MAIN OrthancPlugins.cpp:3025] (plugins) Plugin has registered a REST callback without mutual exclusion on: /(to)(t)o 131s I1202 22:24:46.481250 MAIN python:/RestCallbacks.cpp:232] Registering a Python REST callback on URI: /tata 131s I1202 22:24:46.481257 MAIN OrthancPlugins.cpp:3025] (plugins) Plugin has registered a REST callback without mutual exclusion on: /tata 131s W1202 22:24:46.481319 MAIN OrthancInitialization.cpp:445] SQLite index directory: /tmp/autopkgtest.vg5loG/autopkgtest_tmp/OrthancStorage 131s W1202 22:24:46.481594 MAIN OrthancInitialization.cpp:531] Storage directory: /tmp/autopkgtest.vg5loG/autopkgtest_tmp/OrthancStorage 131s I1202 22:24:46.487504 MAIN SQLiteDatabaseWrapper.cpp:2794] Creating the database 131s I1202 22:24:46.493239 MAIN SQLiteDatabaseWrapper.cpp:2818] Version of the Orthanc database: 6 131s W1202 22:24:46.493351 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. 131s I1202 22:24:46.493371 MAIN HttpClient.cpp:516] (http) Setting the default timeout for HTTP client connections: 0 seconds 131s I1202 22:24:46.493378 MAIN HttpClient.cpp:500] (http) Setting the default proxy for HTTP client connections: 131s I1202 22:24:46.493382 MAIN DicomAssociationParameters.cpp:397] (dicom) Default timeout for DICOM connections if Orthanc acts as SCU (client): 10 seconds (0 = no timeout) 131s I1202 22:24:46.493658 DB-FLUSH ServerIndex.cpp:289] Starting the database flushing thread (sleep = 10 seconds) 131s I1202 22:24:46.493690 MAIN LuaJobManager.cpp:69] (lua) Lua: DICOM associations will be closed after 5 seconds of inactivity 131s I1202 22:24:46.493707 MAIN LuaScripting.cpp:820] Initializing Lua for the event handler 131s I1202 22:24:46.493756 UNSTABLE-MON ServerIndex.cpp:475] Starting the monitor for stable resources (stable age = 60) 131s W1202 22:24:46.493846 MAIN LuaContext.cpp:95] Lua says: Lua toolbox installed 131s I1202 22:24:46.493931 MAIN LuaJobManager.cpp:69] (lua) Lua: DICOM associations will be closed after 5 seconds of inactivity 131s I1202 22:24:46.493952 MAIN LuaScripting.cpp:820] Initializing Lua for the event handler 131s W1202 22:24:46.494059 MAIN LuaContext.cpp:95] Lua says: Lua toolbox installed 131s I1202 22:24:46.494079 MAIN ServerContext.cpp:458] Automated transcoding of incoming DICOM instances is disabled 131s I1202 22:24:46.494084 MAIN ServerContext.cpp:465] (dicom) Deidentification of log contents (notably for DIMSE queries) is enabled 131s I1202 22:24:46.494087 MAIN ServerContext.cpp:469] (dicom) Version of DICOM standard used for deidentification is 2023b 131s I1202 22:24:46.494210 MAIN ServerContext.cpp:488] (dicom) Preferred transfer syntax for Orthanc C-STORE SCU: 1.2.840.10008.1.2.1 131s I1202 22:24:46.494394 MAIN DcmtkTranscoder.cpp:80] Default quality for lossy transcoding using DCMTK is set to: 90 131s I1202 22:24:46.494482 MAIN ServerContext.cpp:534] Starting memory trimming thread at 30 seconds interval 131s W1202 22:24:46.494654 MAIN ServerContext.cpp:610] Disk compression is disabled 131s I1202 22:24:46.494668 MAIN ServerContext.cpp:1578] Storing MD5 for attachments: yes 131s W1202 22:24:46.494674 MAIN ServerIndex.cpp:402] No limit on the number of stored patients 131s W1202 22:24:46.494678 MAIN ServerIndex.cpp:422] No limit on the size of the storage area 131s I1202 22:24:46.494967 MAIN ServerContext.cpp:307] The last execution of Orthanc has archived no job 131s W1202 22:24:46.495089 MAIN JobsEngine.cpp:276] The jobs engine has started with 2 threads 131s I1202 22:24:46.495123 JOBS-WORKER-1 JobsEngine.cpp:127] (jobs) Worker thread 1 has started 131s I1202 22:24:46.495088 JOBS-WORKER-0 JobsEngine.cpp:127] (jobs) Worker thread 0 has started 131s I1202 22:24:46.495149 MAIN DicomServer.cpp:138] (dicom) Setting timeout for DICOM connections if Orthanc acts as SCP (server): 30 seconds (0 = no timeout) 131s I1202 22:24:46.495286 MAIN DicomServer.cpp:426] (dicom) Orthanc SCP will *not* use DICOM TLS 131s I1202 22:24:46.495304 MAIN DicomServer.cpp:434] (dicom) The embedded DICOM server will use 4 threads 131s W1202 22:24:46.495637 MAIN main.cpp:1389] DICOM server listening with AET ORTHANC on port: 4242 131s I1202 22:24:46.495648 DICOM-SERVER DicomServer.cpp:66] (dicom) DICOM server started 131s I1202 22:24:46.495662 MAIN HttpServer.cpp:1695] (http) This Orthanc server uses CivetWeb as its embedded HTTP server 131s I1202 22:24:46.495712 MAIN HttpServer.cpp:2272] (http) The embedded HTTP server will use 50 threads 131s I1202 22:24:46.495720 MAIN HttpServer.cpp:2108] (http) HTTP keep alive is enabled 131s I1202 22:24:46.495726 MAIN HttpServer.cpp:2122] (http) HTTP keep alive Timeout is now 1 seconds 131s W1202 22:24:46.495732 MAIN HttpServer.cpp:2191] HTTP compression is disabled 131s I1202 22:24:46.495738 MAIN HttpServer.cpp:2285] (http) TCP_NODELAY for the HTTP sockets is set to true 131s I1202 22:24:46.495753 MAIN HttpServer.cpp:2305] (http) Request timeout in the HTTP server is set to 30 seconds 131s I1202 22:24:46.495760 MAIN main.cpp:1226] Version of Lua: Lua 5.3 131s W1202 22:24:46.495765 MAIN main.cpp:1237] Remote LUA script execution is disabled 131s W1202 22:24:46.495769 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. 131s I1202 22:24:46.495785 MAIN HttpServer.cpp:2352] (http) Branching WebDAV bucket at: /webdav 131s I1202 22:24:46.495791 MAIN HttpServer.cpp:1748] (http) Starting embedded Web server using Civetweb 131s I1202 22:24:46.497846 MAIN OrthancWebDav.cpp:1691] Starting the WebDAV upload thread 131s W1202 22:24:46.497958 MAIN HttpServer.cpp:1936] HTTP server listening on port: 8042 (HTTPS encryption is disabled, remote access is not allowed) 131s W1202 22:24:46.497979 MAIN main.cpp:978] Orthanc has started 131s I1202 22:24:46.497987 MAIN LuaScripting.cpp:927] Starting the Lua engine 132s + true 132s + curl --silent --output /dev/stderr --write-out %{http_code} http://localhost:8042/system 132s I1202 22:24:47.380199 HTTP-0 Toolbox.cpp:2782] (http) GET /system 132s I1202 22:24:47.380589 HTTP-0 Toolbox.cpp:2787] (http) GET /system (elapsed: 406 us) 132s { 132s "ApiVersion" : 29, 132s "Capabilities" : 132s { 132s "HasExtendedChanges" : true, 132s "HasExtendedFind" : true, 132s "HasKeyValueStores" : true, 132s "HasQueues" : true, 132s "HasReserveQueueValue" : true 132s }, 132s "CheckRevisions" : false, 132s "DatabaseBackendPlugin" : null, 132s "DatabaseServerIdentifier" : "bc57c13a-7355cd6e-e29a2c19-7ada3cac-23f91d30", 132s "DatabaseVersion" : 6, 132s "DefaultRetrieveMethod" : "C-MOVE", 132s "DicomAet" : "ORTHANC", 132s "DicomPort" : 4242, 132s "HasLabels" : true, 132s "HttpPort" : 8042, 132s "IngestTranscoding" : "", 132s "IsHttpServerSecure" : true, 132s "MainDicomTags" : 132s { 132s "Instance" : "0008,0012;0008,0013;0008,0018;0020,0012;0020,0013;0020,0032;0020,0037;0020,0100;0020,4000;0028,0008;0054,1330", 132s "Patient" : "0010,0010;0010,0020;0010,0030;0010,0040;0010,1000", 132s "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", 132s "Study" : "0008,0020;0008,0030;0008,0050;0008,0080;0008,0090;0008,0201;0008,1030;0020,000d;0020,0010;0032,1032;0032,1060" 132s }, 132s "MaximumPatientCount" : 0, 132s "MaximumStorageMode" : "Recycle", 132s "MaximumStorageSize" : 0, 132s "Name" : "", 132s "OverwriteInstances" : false, 132s "PluginsEnabled" : true, 132s "ReadOnly" : false, 132s "StorageAreaPlugin" : null, 132s "StorageCompression" : false, 132s "UserMetadata" : {}, 132s "Version" : "1.12.10" 132s }Orthanc initialized! 132s + STATUSCODE=200 132s + test 200 -eq 200 132s + echo Orthanc initialized! 132s + break 132s + set -e 132s + curl -s http://localhost:8042/toto 132s {'get': {}, 132s 'groups': ('to', 't'), 132s 'headers': {'accept': '*/*', 132s 'host': 'localhost:8042', 132s 'user-agent': 'curl/8.14.1'}, 132s 'method': 'GET'} 132s Accessing uri: /toto 132s I1202 22:24:47.387851 HTTP-1 Toolbox.cpp:2782] (http) GET /toto 132s I1202 22:24:47.387896 HTTP-1 OrthancPlugins.cpp:2843] (plugins) Delegating HTTP request to plugin for URI: /toto 132s Test passed 132s I1202 22:24:47.388431 HTTP-1 Toolbox.cpp:2787] (http) GET /toto (elapsed: 595 us) 132s + result=ok 132s + sudo systemctl stop orthanc 132s + sudo pkill Orthanc 132s I1202 22:24:47.425892 MAIN LuaJobManager.cpp:99] (lua) Awaking trailing sleep 132s I1202 22:24:47.425940 MAIN LuaScripting.cpp:959] Stopping the Lua engine 132s + [ ok = ok ] 132s + echo Test passed 132s + exit 0 132s I1202 22:24:47.526268 MAIN LuaScripting.cpp:965] The Lua engine has stopped 132s W1202 22:24:47.526362 MAIN main.cpp:1040] Orthanc is stopping 134s I1202 22:24:49.393988 MAIN OrthancWebDav.cpp:1702] Stopping the WebDAV upload thread 134s W1202 22:24:49.401451 MAIN main.cpp:1288] HTTP server has stopped 134s I1202 22:24:49.498716 DICOM-SERVER DicomServer.cpp:88] (dicom) DICOM server stopping 134s W1202 22:24:49.599377 MAIN main.cpp:1405] DICOM server has stopped 134s I1202 22:24:49.699568 MAIN JobsEngine.cpp:293] (jobs) Stopping the jobs engine 134s W1202 22:24:49.898183 MAIN JobsEngine.cpp:317] The jobs engine has stopped 135s I1202 22:24:49.994792 DB-FLUSH ServerIndex.cpp:308] Stopping the database flushing thread 135s I1202 22:24:49.994955 UNSTABLE-MON ServerIndex.cpp:513] Closing the monitor thread for stable resources 135s W1202 22:24:50.014643 MAIN PluginsManager.cpp:225] Unregistering plugin 'python' (version 6.0) 135s W1202 22:24:50.014693 MAIN python:/Plugin.cpp:694] Python plugin is finalizing 135s W1202 22:24:50.024856 MAIN main.cpp:2262] Orthanc has stopped 135s autopkgtest [22:24:50]: test run-unit-test: -----------------------] 135s run-unit-test PASS 135s autopkgtest [22:24:50]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 136s autopkgtest [22:24:51]: @@@@@@@@@@@@@@@@@@@@ summary 136s run-unit-test PASS