0s autopkgtest [12:02:58]: starting date and time: 2024-03-19 12:02:58+0000 0s autopkgtest [12:02:58]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [12:02:58]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.u13sk8bz/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:openjdk-8,src:alsa-lib,src:libpng1.6,src:wp2latex --apt-upgrade android-platform-tools-apksig --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=openjdk-8/8u402-ga-2ubuntu6 alsa-lib/1.2.11-1build1 libpng1.6/1.6.43-3 wp2latex/4.4~ds-1build1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-18.secgroup --name adt-noble-arm64-android-platform-tools-apksig-20240319-120258-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 77s autopkgtest [12:04:15]: testbed dpkg architecture: arm64 77s autopkgtest [12:04:15]: testbed apt version: 2.7.12 77s autopkgtest [12:04:15]: @@@@@@@@@@@@@@@@@@@@ test bed setup 77s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 78s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.7 kB] 78s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 78s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [486 kB] 78s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3768 kB] 78s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [659 kB] 78s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 78s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [33.6 kB] 78s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 78s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [4142 kB] 78s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 78s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [56.7 kB] 78s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 80s Fetched 9334 kB in 2s (5404 kB/s) 81s Reading package lists... 85s Reading package lists... 85s Building dependency tree... 85s Reading state information... 86s Calculating upgrade... 86s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 87s Reading package lists... 87s Building dependency tree... 87s Reading state information... 88s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 89s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 89s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 89s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 89s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 90s Reading package lists... 91s Reading package lists... 91s Building dependency tree... 91s Reading state information... 92s Calculating upgrade... 92s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 92s Reading package lists... 93s Building dependency tree... 93s Reading state information... 94s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 97s autopkgtest [12:04:35]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 97s autopkgtest [12:04:35]: @@@@@@@@@@@@@@@@@@@@ apt-source android-platform-tools-apksig 100s Get:1 http://ftpmaster.internal/ubuntu noble/universe android-platform-tools-apksig 31.0.2-1ubuntu1 (dsc) [2332 B] 100s Get:2 http://ftpmaster.internal/ubuntu noble/universe android-platform-tools-apksig 31.0.2-1ubuntu1 (tar) [3001 kB] 100s Get:3 http://ftpmaster.internal/ubuntu noble/universe android-platform-tools-apksig 31.0.2-1ubuntu1 (diff) [12.5 kB] 101s gpgv: Signature made Thu Mar 7 20:07:46 2024 UTC 101s gpgv: using RSA key 2D1EBEDD7CBF5B7CB43AD1861EBA9FDA32EAAF63 101s gpgv: Can't check signature: No public key 101s dpkg-source: warning: cannot verify inline signature for ./android-platform-tools-apksig_31.0.2-1ubuntu1.dsc: no acceptable signature found 101s autopkgtest [12:04:39]: testing package android-platform-tools-apksig version 31.0.2-1ubuntu1 102s autopkgtest [12:04:40]: build not needed 102s autopkgtest [12:04:40]: test ApkVerifierTest.sh: preparing testbed 106s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s Starting pkgProblemResolver with broken count: 0 108s Starting 2 pkgProblemResolver with broken count: 0 108s Done 108s The following additional packages will be installed: 108s adwaita-icon-theme apksigner at-spi2-common ca-certificates-java default-jre 108s default-jre-headless fontconfig fontconfig-config fonts-dejavu-core 108s fonts-dejavu-mono gtk-update-icon-cache hicolor-icon-theme 108s humanity-icon-theme java-common libapksig-java libasound2 libasound2-data 108s libatk1.0-0 libavahi-client3 libavahi-common-data libavahi-common3 libcairo2 108s libcups2 libdatrie1 libdeflate0 libdrm-amdgpu1 libdrm-nouveau2 108s libdrm-radeon1 libfontconfig1 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common 108s libgif7 libgl1 libgl1-mesa-dri libglapi-mesa libglvnd0 libglx-mesa0 libglx0 108s libgraphite2-3 libgtk2.0-0 libgtk2.0-common libharfbuzz0b libjbig0 108s libjpeg-turbo8 libjpeg8 liblcms2-2 liblerc4 libllvm17 libpango-1.0-0 108s libpangocairo-1.0-0 libpangoft2-1.0-0 libpcsclite1 libpixman-1-0 108s libsharpyuv0 libthai-data libthai0 libtiff6 libvulkan1 libwebp7 libx11-xcb1 108s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 108s libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcomposite1 108s libxcursor1 libxdamage1 libxfixes3 libxi6 libxinerama1 libxrandr2 108s libxrender1 libxshmfence1 libxtst6 libxxf86vm1 openjdk-21-jre 108s openjdk-21-jre-headless ubuntu-mono x11-common 108s Suggested packages: 108s libasound2-plugins alsa-utils cups-common gvfs liblcms2-utils pcscd 108s libnss-mdns fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho 108s fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic 108s Recommended packages: 108s librsvg2-common alsa-ucm-conf alsa-topology-conf libgdk-pixbuf2.0-bin 108s libgl1-amber-dri libgail-common libgtk2.0-bin mesa-vulkan-drivers 108s | vulkan-icd libatk-wrapper-java-jni fonts-dejavu-extra 109s The following NEW packages will be installed: 109s adwaita-icon-theme apksigner at-spi2-common autopkgtest-satdep 109s ca-certificates-java default-jre default-jre-headless fontconfig 109s fontconfig-config fonts-dejavu-core fonts-dejavu-mono gtk-update-icon-cache 109s hicolor-icon-theme humanity-icon-theme java-common libapksig-java libasound2 109s libasound2-data libatk1.0-0 libavahi-client3 libavahi-common-data 109s libavahi-common3 libcairo2 libcups2 libdatrie1 libdeflate0 libdrm-amdgpu1 109s libdrm-nouveau2 libdrm-radeon1 libfontconfig1 libgdk-pixbuf-2.0-0 109s libgdk-pixbuf2.0-common libgif7 libgl1 libgl1-mesa-dri libglapi-mesa 109s libglvnd0 libglx-mesa0 libglx0 libgraphite2-3 libgtk2.0-0 libgtk2.0-common 109s libharfbuzz0b libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 liblerc4 libllvm17 109s libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpcsclite1 109s libpixman-1-0 libsharpyuv0 libthai-data libthai0 libtiff6 libvulkan1 109s libwebp7 libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 109s libxcb-randr0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 109s libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxi6 libxinerama1 109s libxrandr2 libxrender1 libxshmfence1 libxtst6 libxxf86vm1 openjdk-21-jre 109s openjdk-21-jre-headless ubuntu-mono x11-common 109s 0 upgraded, 85 newly installed, 0 to remove and 0 not upgraded. 109s Need to get 90.9 MB/90.9 MB of archives. 109s After this operation, 424 MB of additional disk space will be used. 109s Get:1 /tmp/autopkgtest.aARAAW/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [716 B] 109s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 libgdk-pixbuf2.0-common all 2.42.10+dfsg-3 [7624 B] 109s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg-turbo8 arm64 2.1.5-2ubuntu1 [160 kB] 109s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg8 arm64 8c-2ubuntu11 [2148 B] 109s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 libdeflate0 arm64 1.19-1 [43.4 kB] 109s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libjbig0 arm64 2.1-6.1ubuntu1 [28.9 kB] 109s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 liblerc4 arm64 4.0.0+ds-4ubuntu1 [153 kB] 109s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libsharpyuv0 arm64 1.3.2-0.4 [14.4 kB] 109s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libwebp7 arm64 1.3.2-0.4 [191 kB] 109s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libtiff6 arm64 4.5.1+git230720-3ubuntu1 [226 kB] 109s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 libgdk-pixbuf-2.0-0 arm64 2.42.10+dfsg-3 [144 kB] 109s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 gtk-update-icon-cache arm64 3.24.40-2ubuntu1 [50.5 kB] 109s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 hicolor-icon-theme all 0.17-2 [9976 B] 109s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 humanity-icon-theme all 0.6.16 [1282 kB] 110s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-mono all 24.04-0ubuntu1 [151 kB] 110s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 adwaita-icon-theme all 46~rc-1 [723 kB] 110s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 ca-certificates-java all 20240118 [11.6 kB] 110s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 java-common all 0.75+exp1 [6798 B] 110s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libavahi-common-data arm64 0.8-13ubuntu2 [29.5 kB] 110s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libavahi-common3 arm64 0.8-13ubuntu2 [23.2 kB] 110s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libavahi-client3 arm64 0.8-13ubuntu2 [27.3 kB] 110s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libcups2 arm64 2.4.6-0ubuntu3 [270 kB] 110s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 liblcms2-2 arm64 2.14-2 [159 kB] 110s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 fonts-dejavu-mono all 2.37-8 [502 kB] 110s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 fonts-dejavu-core all 2.37-8 [835 kB] 110s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 fontconfig-config arm64 2.15.0-1ubuntu1 [37.0 kB] 110s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 libfontconfig1 arm64 2.15.0-1ubuntu1 [142 kB] 110s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libasound2-data all 1.2.11-1build1 [21.0 kB] 110s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libasound2 arm64 1.2.10-3build1 [386 kB] 110s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 libgraphite2-3 arm64 1.3.14-2 [81.5 kB] 110s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 libharfbuzz0b arm64 8.3.0-2 [463 kB] 110s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 libpcsclite1 arm64 2.0.0-1 [21.2 kB] 110s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 openjdk-21-jre-headless arm64 21.0.2+13-2 [45.8 MB] 111s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 default-jre-headless arm64 2:1.21-75+exp1 [3096 B] 111s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libgtk2.0-common all 2.24.33-2ubuntu2 [125 kB] 111s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 at-spi2-common all 2.50.0-1 [7864 B] 111s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libatk1.0-0 arm64 2.50.0-1 [53.8 kB] 111s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libpixman-1-0 arm64 0.42.2-1 [193 kB] 111s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-render0 arm64 1.15-1 [16.1 kB] 111s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-shm0 arm64 1.15-1 [5780 B] 111s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libxrender1 arm64 1:0.9.10-1.1 [19.1 kB] 111s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libcairo2 arm64 1.18.0-1 [550 kB] 111s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 fontconfig arm64 2.15.0-1ubuntu1 [190 kB] 111s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libthai-data all 0.1.29-2 [158 kB] 111s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libdatrie1 arm64 0.2.13-3 [21.7 kB] 111s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libthai0 arm64 0.1.29-2 [18.1 kB] 111s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 libpango-1.0-0 arm64 1.51.0+ds-4 [226 kB] 111s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libpangoft2-1.0-0 arm64 1.51.0+ds-4 [41.2 kB] 111s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libpangocairo-1.0-0 arm64 1.51.0+ds-4 [27.6 kB] 111s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 libxcomposite1 arm64 1:0.4.5-1build2 [7080 B] 111s Get:51 http://ftpmaster.internal/ubuntu noble/main arm64 libxfixes3 arm64 1:6.0.0-2 [11.0 kB] 111s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 libxcursor1 arm64 1:1.2.1-1 [21.3 kB] 111s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 libxdamage1 arm64 1:1.1.6-1 [6032 B] 111s Get:54 http://ftpmaster.internal/ubuntu noble/main arm64 libxi6 arm64 2:1.8.1-1 [31.9 kB] 111s Get:55 http://ftpmaster.internal/ubuntu noble/main arm64 libxinerama1 arm64 2:1.1.4-3 [7056 B] 111s Get:56 http://ftpmaster.internal/ubuntu noble/main arm64 libxrandr2 arm64 2:1.5.2-2 [19.6 kB] 111s Get:57 http://ftpmaster.internal/ubuntu noble/main arm64 libgtk2.0-0 arm64 2.24.33-2ubuntu2 [1981 kB] 111s Get:58 http://ftpmaster.internal/ubuntu noble/main arm64 libglvnd0 arm64 1.7.0-1 [60.0 kB] 111s Get:59 http://ftpmaster.internal/ubuntu noble/main arm64 libglapi-mesa arm64 24.0.1-1ubuntu1 [57.8 kB] 111s Get:60 http://ftpmaster.internal/ubuntu noble/main arm64 libx11-xcb1 arm64 2:1.8.7-1 [7836 B] 111s Get:61 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri2-0 arm64 1.15-1 [7244 B] 111s Get:62 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri3-0 arm64 1.15-1 [7108 B] 111s Get:63 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-glx0 arm64 1.15-1 [25.2 kB] 111s Get:64 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-present0 arm64 1.15-1 [5732 B] 111s Get:65 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-randr0 arm64 1.15-1 [18.2 kB] 111s Get:66 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-sync1 arm64 1.15-1 [9412 B] 111s Get:67 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-xfixes0 arm64 1.15-1 [10.3 kB] 111s Get:68 http://ftpmaster.internal/ubuntu noble/main arm64 libxshmfence1 arm64 1.3-1build4 [5444 B] 111s Get:69 http://ftpmaster.internal/ubuntu noble/main arm64 libxxf86vm1 arm64 1:1.1.4-1build3 [10.3 kB] 111s Get:70 http://ftpmaster.internal/ubuntu noble/main arm64 libvulkan1 arm64 1.3.275.0-1 [150 kB] 111s Get:71 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-amdgpu1 arm64 2.4.120-2 [20.4 kB] 111s Get:72 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-nouveau2 arm64 2.4.120-2 [17.8 kB] 111s Get:73 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-radeon1 arm64 2.4.120-2 [20.9 kB] 111s Get:74 http://ftpmaster.internal/ubuntu noble/main arm64 libllvm17 arm64 1:17.0.6-5build1 [25.0 MB] 112s Get:75 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1-mesa-dri arm64 24.0.1-1ubuntu1 [8226 kB] 112s Get:76 http://ftpmaster.internal/ubuntu noble/main arm64 libglx-mesa0 arm64 24.0.1-1ubuntu1 [166 kB] 112s Get:77 http://ftpmaster.internal/ubuntu noble/main arm64 libglx0 arm64 1.7.0-1 [32.4 kB] 112s Get:78 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1 arm64 1.7.0-1 [107 kB] 112s Get:79 http://ftpmaster.internal/ubuntu noble/main arm64 libgif7 arm64 5.2.1-2.5 [34.2 kB] 112s Get:80 http://ftpmaster.internal/ubuntu noble/main arm64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] 112s Get:81 http://ftpmaster.internal/ubuntu noble/main arm64 libxtst6 arm64 2:1.2.3-1.1 [13.7 kB] 112s Get:82 http://ftpmaster.internal/ubuntu noble/main arm64 openjdk-21-jre arm64 21.0.2+13-2 [226 kB] 112s Get:83 http://ftpmaster.internal/ubuntu noble/main arm64 default-jre arm64 2:1.21-75+exp1 [922 B] 112s Get:84 http://ftpmaster.internal/ubuntu noble/universe arm64 libapksig-java all 31.0.2-1ubuntu1 [406 kB] 112s Get:85 http://ftpmaster.internal/ubuntu noble/universe arm64 apksigner all 31.0.2-1ubuntu1 [444 kB] 113s Fetched 90.9 MB in 4s (25.1 MB/s) 113s Selecting previously unselected package libgdk-pixbuf2.0-common. 114s (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 ... 74758 files and directories currently installed.) 114s Preparing to unpack .../00-libgdk-pixbuf2.0-common_2.42.10+dfsg-3_all.deb ... 114s Unpacking libgdk-pixbuf2.0-common (2.42.10+dfsg-3) ... 114s Selecting previously unselected package libjpeg-turbo8:arm64. 114s Preparing to unpack .../01-libjpeg-turbo8_2.1.5-2ubuntu1_arm64.deb ... 114s Unpacking libjpeg-turbo8:arm64 (2.1.5-2ubuntu1) ... 114s Selecting previously unselected package libjpeg8:arm64. 114s Preparing to unpack .../02-libjpeg8_8c-2ubuntu11_arm64.deb ... 114s Unpacking libjpeg8:arm64 (8c-2ubuntu11) ... 114s Selecting previously unselected package libdeflate0:arm64. 114s Preparing to unpack .../03-libdeflate0_1.19-1_arm64.deb ... 114s Unpacking libdeflate0:arm64 (1.19-1) ... 114s Selecting previously unselected package libjbig0:arm64. 115s Preparing to unpack .../04-libjbig0_2.1-6.1ubuntu1_arm64.deb ... 115s Unpacking libjbig0:arm64 (2.1-6.1ubuntu1) ... 115s Selecting previously unselected package liblerc4:arm64. 115s Preparing to unpack .../05-liblerc4_4.0.0+ds-4ubuntu1_arm64.deb ... 115s Unpacking liblerc4:arm64 (4.0.0+ds-4ubuntu1) ... 115s Selecting previously unselected package libsharpyuv0:arm64. 115s Preparing to unpack .../06-libsharpyuv0_1.3.2-0.4_arm64.deb ... 115s Unpacking libsharpyuv0:arm64 (1.3.2-0.4) ... 115s Selecting previously unselected package libwebp7:arm64. 115s Preparing to unpack .../07-libwebp7_1.3.2-0.4_arm64.deb ... 115s Unpacking libwebp7:arm64 (1.3.2-0.4) ... 115s Selecting previously unselected package libtiff6:arm64. 115s Preparing to unpack .../08-libtiff6_4.5.1+git230720-3ubuntu1_arm64.deb ... 116s Unpacking libtiff6:arm64 (4.5.1+git230720-3ubuntu1) ... 116s Selecting previously unselected package libgdk-pixbuf-2.0-0:arm64. 116s Preparing to unpack .../09-libgdk-pixbuf-2.0-0_2.42.10+dfsg-3_arm64.deb ... 116s Unpacking libgdk-pixbuf-2.0-0:arm64 (2.42.10+dfsg-3) ... 116s Selecting previously unselected package gtk-update-icon-cache. 116s Preparing to unpack .../10-gtk-update-icon-cache_3.24.40-2ubuntu1_arm64.deb ... 116s Unpacking gtk-update-icon-cache (3.24.40-2ubuntu1) ... 116s Selecting previously unselected package hicolor-icon-theme. 116s Preparing to unpack .../11-hicolor-icon-theme_0.17-2_all.deb ... 116s Unpacking hicolor-icon-theme (0.17-2) ... 116s Selecting previously unselected package humanity-icon-theme. 116s Preparing to unpack .../12-humanity-icon-theme_0.6.16_all.deb ... 116s Unpacking humanity-icon-theme (0.6.16) ... 117s Selecting previously unselected package ubuntu-mono. 117s Preparing to unpack .../13-ubuntu-mono_24.04-0ubuntu1_all.deb ... 117s Unpacking ubuntu-mono (24.04-0ubuntu1) ... 117s Selecting previously unselected package adwaita-icon-theme. 118s Preparing to unpack .../14-adwaita-icon-theme_46~rc-1_all.deb ... 118s Unpacking adwaita-icon-theme (46~rc-1) ... 118s Selecting previously unselected package ca-certificates-java. 118s Preparing to unpack .../15-ca-certificates-java_20240118_all.deb ... 118s Unpacking ca-certificates-java (20240118) ... 118s Selecting previously unselected package java-common. 118s Preparing to unpack .../16-java-common_0.75+exp1_all.deb ... 118s Unpacking java-common (0.75+exp1) ... 118s Selecting previously unselected package libavahi-common-data:arm64. 118s Preparing to unpack .../17-libavahi-common-data_0.8-13ubuntu2_arm64.deb ... 118s Unpacking libavahi-common-data:arm64 (0.8-13ubuntu2) ... 118s Selecting previously unselected package libavahi-common3:arm64. 118s Preparing to unpack .../18-libavahi-common3_0.8-13ubuntu2_arm64.deb ... 118s Unpacking libavahi-common3:arm64 (0.8-13ubuntu2) ... 118s Selecting previously unselected package libavahi-client3:arm64. 118s Preparing to unpack .../19-libavahi-client3_0.8-13ubuntu2_arm64.deb ... 118s Unpacking libavahi-client3:arm64 (0.8-13ubuntu2) ... 118s Selecting previously unselected package libcups2:arm64. 118s Preparing to unpack .../20-libcups2_2.4.6-0ubuntu3_arm64.deb ... 118s Unpacking libcups2:arm64 (2.4.6-0ubuntu3) ... 118s Selecting previously unselected package liblcms2-2:arm64. 118s Preparing to unpack .../21-liblcms2-2_2.14-2_arm64.deb ... 118s Unpacking liblcms2-2:arm64 (2.14-2) ... 118s Selecting previously unselected package fonts-dejavu-mono. 118s Preparing to unpack .../22-fonts-dejavu-mono_2.37-8_all.deb ... 118s Unpacking fonts-dejavu-mono (2.37-8) ... 118s Selecting previously unselected package fonts-dejavu-core. 119s Preparing to unpack .../23-fonts-dejavu-core_2.37-8_all.deb ... 119s Unpacking fonts-dejavu-core (2.37-8) ... 119s Selecting previously unselected package fontconfig-config. 119s Preparing to unpack .../24-fontconfig-config_2.15.0-1ubuntu1_arm64.deb ... 119s Unpacking fontconfig-config (2.15.0-1ubuntu1) ... 119s Selecting previously unselected package libfontconfig1:arm64. 119s Preparing to unpack .../25-libfontconfig1_2.15.0-1ubuntu1_arm64.deb ... 119s Unpacking libfontconfig1:arm64 (2.15.0-1ubuntu1) ... 119s Selecting previously unselected package libasound2-data. 119s Preparing to unpack .../26-libasound2-data_1.2.11-1build1_all.deb ... 119s Unpacking libasound2-data (1.2.11-1build1) ... 119s Selecting previously unselected package libasound2:arm64. 119s Preparing to unpack .../27-libasound2_1.2.10-3build1_arm64.deb ... 119s Unpacking libasound2:arm64 (1.2.10-3build1) ... 119s Selecting previously unselected package libgraphite2-3:arm64. 119s Preparing to unpack .../28-libgraphite2-3_1.3.14-2_arm64.deb ... 119s Unpacking libgraphite2-3:arm64 (1.3.14-2) ... 120s Selecting previously unselected package libharfbuzz0b:arm64. 120s Preparing to unpack .../29-libharfbuzz0b_8.3.0-2_arm64.deb ... 120s Unpacking libharfbuzz0b:arm64 (8.3.0-2) ... 120s Selecting previously unselected package libpcsclite1:arm64. 120s Preparing to unpack .../30-libpcsclite1_2.0.0-1_arm64.deb ... 120s Unpacking libpcsclite1:arm64 (2.0.0-1) ... 120s Selecting previously unselected package openjdk-21-jre-headless:arm64. 120s Preparing to unpack .../31-openjdk-21-jre-headless_21.0.2+13-2_arm64.deb ... 120s Unpacking openjdk-21-jre-headless:arm64 (21.0.2+13-2) ... 121s Selecting previously unselected package default-jre-headless. 121s Preparing to unpack .../32-default-jre-headless_2%3a1.21-75+exp1_arm64.deb ... 121s Unpacking default-jre-headless (2:1.21-75+exp1) ... 121s Selecting previously unselected package libgtk2.0-common. 121s Preparing to unpack .../33-libgtk2.0-common_2.24.33-2ubuntu2_all.deb ... 121s Unpacking libgtk2.0-common (2.24.33-2ubuntu2) ... 122s Selecting previously unselected package at-spi2-common. 122s Preparing to unpack .../34-at-spi2-common_2.50.0-1_all.deb ... 122s Unpacking at-spi2-common (2.50.0-1) ... 122s Selecting previously unselected package libatk1.0-0:arm64. 122s Preparing to unpack .../35-libatk1.0-0_2.50.0-1_arm64.deb ... 122s Unpacking libatk1.0-0:arm64 (2.50.0-1) ... 122s Selecting previously unselected package libpixman-1-0:arm64. 122s Preparing to unpack .../36-libpixman-1-0_0.42.2-1_arm64.deb ... 122s Unpacking libpixman-1-0:arm64 (0.42.2-1) ... 122s Selecting previously unselected package libxcb-render0:arm64. 122s Preparing to unpack .../37-libxcb-render0_1.15-1_arm64.deb ... 122s Unpacking libxcb-render0:arm64 (1.15-1) ... 122s Selecting previously unselected package libxcb-shm0:arm64. 122s Preparing to unpack .../38-libxcb-shm0_1.15-1_arm64.deb ... 122s Unpacking libxcb-shm0:arm64 (1.15-1) ... 122s Selecting previously unselected package libxrender1:arm64. 122s Preparing to unpack .../39-libxrender1_1%3a0.9.10-1.1_arm64.deb ... 122s Unpacking libxrender1:arm64 (1:0.9.10-1.1) ... 122s Selecting previously unselected package libcairo2:arm64. 122s Preparing to unpack .../40-libcairo2_1.18.0-1_arm64.deb ... 122s Unpacking libcairo2:arm64 (1.18.0-1) ... 122s Selecting previously unselected package fontconfig. 122s Preparing to unpack .../41-fontconfig_2.15.0-1ubuntu1_arm64.deb ... 122s Unpacking fontconfig (2.15.0-1ubuntu1) ... 122s Selecting previously unselected package libthai-data. 123s Preparing to unpack .../42-libthai-data_0.1.29-2_all.deb ... 123s Unpacking libthai-data (0.1.29-2) ... 123s Selecting previously unselected package libdatrie1:arm64. 123s Preparing to unpack .../43-libdatrie1_0.2.13-3_arm64.deb ... 123s Unpacking libdatrie1:arm64 (0.2.13-3) ... 123s Selecting previously unselected package libthai0:arm64. 123s Preparing to unpack .../44-libthai0_0.1.29-2_arm64.deb ... 123s Unpacking libthai0:arm64 (0.1.29-2) ... 123s Selecting previously unselected package libpango-1.0-0:arm64. 123s Preparing to unpack .../45-libpango-1.0-0_1.51.0+ds-4_arm64.deb ... 123s Unpacking libpango-1.0-0:arm64 (1.51.0+ds-4) ... 123s Selecting previously unselected package libpangoft2-1.0-0:arm64. 124s Preparing to unpack .../46-libpangoft2-1.0-0_1.51.0+ds-4_arm64.deb ... 124s Unpacking libpangoft2-1.0-0:arm64 (1.51.0+ds-4) ... 124s Selecting previously unselected package libpangocairo-1.0-0:arm64. 124s Preparing to unpack .../47-libpangocairo-1.0-0_1.51.0+ds-4_arm64.deb ... 124s Unpacking libpangocairo-1.0-0:arm64 (1.51.0+ds-4) ... 124s Selecting previously unselected package libxcomposite1:arm64. 124s Preparing to unpack .../48-libxcomposite1_1%3a0.4.5-1build2_arm64.deb ... 124s Unpacking libxcomposite1:arm64 (1:0.4.5-1build2) ... 124s Selecting previously unselected package libxfixes3:arm64. 124s Preparing to unpack .../49-libxfixes3_1%3a6.0.0-2_arm64.deb ... 124s Unpacking libxfixes3:arm64 (1:6.0.0-2) ... 124s Selecting previously unselected package libxcursor1:arm64. 124s Preparing to unpack .../50-libxcursor1_1%3a1.2.1-1_arm64.deb ... 124s Unpacking libxcursor1:arm64 (1:1.2.1-1) ... 124s Selecting previously unselected package libxdamage1:arm64. 124s Preparing to unpack .../51-libxdamage1_1%3a1.1.6-1_arm64.deb ... 124s Unpacking libxdamage1:arm64 (1:1.1.6-1) ... 124s Selecting previously unselected package libxi6:arm64. 124s Preparing to unpack .../52-libxi6_2%3a1.8.1-1_arm64.deb ... 124s Unpacking libxi6:arm64 (2:1.8.1-1) ... 124s Selecting previously unselected package libxinerama1:arm64. 124s Preparing to unpack .../53-libxinerama1_2%3a1.1.4-3_arm64.deb ... 124s Unpacking libxinerama1:arm64 (2:1.1.4-3) ... 124s Selecting previously unselected package libxrandr2:arm64. 124s Preparing to unpack .../54-libxrandr2_2%3a1.5.2-2_arm64.deb ... 124s Unpacking libxrandr2:arm64 (2:1.5.2-2) ... 124s Selecting previously unselected package libgtk2.0-0:arm64. 124s Preparing to unpack .../55-libgtk2.0-0_2.24.33-2ubuntu2_arm64.deb ... 124s Unpacking libgtk2.0-0:arm64 (2.24.33-2ubuntu2) ... 124s Selecting previously unselected package libglvnd0:arm64. 124s Preparing to unpack .../56-libglvnd0_1.7.0-1_arm64.deb ... 124s Unpacking libglvnd0:arm64 (1.7.0-1) ... 124s Selecting previously unselected package libglapi-mesa:arm64. 124s Preparing to unpack .../57-libglapi-mesa_24.0.1-1ubuntu1_arm64.deb ... 124s Unpacking libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 124s Selecting previously unselected package libx11-xcb1:arm64. 124s Preparing to unpack .../58-libx11-xcb1_2%3a1.8.7-1_arm64.deb ... 124s Unpacking libx11-xcb1:arm64 (2:1.8.7-1) ... 124s Selecting previously unselected package libxcb-dri2-0:arm64. 124s Preparing to unpack .../59-libxcb-dri2-0_1.15-1_arm64.deb ... 124s Unpacking libxcb-dri2-0:arm64 (1.15-1) ... 125s Selecting previously unselected package libxcb-dri3-0:arm64. 125s Preparing to unpack .../60-libxcb-dri3-0_1.15-1_arm64.deb ... 125s Unpacking libxcb-dri3-0:arm64 (1.15-1) ... 125s Selecting previously unselected package libxcb-glx0:arm64. 125s Preparing to unpack .../61-libxcb-glx0_1.15-1_arm64.deb ... 125s Unpacking libxcb-glx0:arm64 (1.15-1) ... 125s Selecting previously unselected package libxcb-present0:arm64. 125s Preparing to unpack .../62-libxcb-present0_1.15-1_arm64.deb ... 125s Unpacking libxcb-present0:arm64 (1.15-1) ... 125s Selecting previously unselected package libxcb-randr0:arm64. 125s Preparing to unpack .../63-libxcb-randr0_1.15-1_arm64.deb ... 125s Unpacking libxcb-randr0:arm64 (1.15-1) ... 125s Selecting previously unselected package libxcb-sync1:arm64. 125s Preparing to unpack .../64-libxcb-sync1_1.15-1_arm64.deb ... 125s Unpacking libxcb-sync1:arm64 (1.15-1) ... 125s Selecting previously unselected package libxcb-xfixes0:arm64. 125s Preparing to unpack .../65-libxcb-xfixes0_1.15-1_arm64.deb ... 125s Unpacking libxcb-xfixes0:arm64 (1.15-1) ... 125s Selecting previously unselected package libxshmfence1:arm64. 125s Preparing to unpack .../66-libxshmfence1_1.3-1build4_arm64.deb ... 125s Unpacking libxshmfence1:arm64 (1.3-1build4) ... 125s Selecting previously unselected package libxxf86vm1:arm64. 125s Preparing to unpack .../67-libxxf86vm1_1%3a1.1.4-1build3_arm64.deb ... 125s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build3) ... 125s Selecting previously unselected package libvulkan1:arm64. 125s Preparing to unpack .../68-libvulkan1_1.3.275.0-1_arm64.deb ... 125s Unpacking libvulkan1:arm64 (1.3.275.0-1) ... 125s Selecting previously unselected package libdrm-amdgpu1:arm64. 125s Preparing to unpack .../69-libdrm-amdgpu1_2.4.120-2_arm64.deb ... 125s Unpacking libdrm-amdgpu1:arm64 (2.4.120-2) ... 125s Selecting previously unselected package libdrm-nouveau2:arm64. 125s Preparing to unpack .../70-libdrm-nouveau2_2.4.120-2_arm64.deb ... 125s Unpacking libdrm-nouveau2:arm64 (2.4.120-2) ... 125s Selecting previously unselected package libdrm-radeon1:arm64. 125s Preparing to unpack .../71-libdrm-radeon1_2.4.120-2_arm64.deb ... 125s Unpacking libdrm-radeon1:arm64 (2.4.120-2) ... 125s Selecting previously unselected package libllvm17:arm64. 125s Preparing to unpack .../72-libllvm17_1%3a17.0.6-5build1_arm64.deb ... 125s Unpacking libllvm17:arm64 (1:17.0.6-5build1) ... 126s Selecting previously unselected package libgl1-mesa-dri:arm64. 126s Preparing to unpack .../73-libgl1-mesa-dri_24.0.1-1ubuntu1_arm64.deb ... 126s Unpacking libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 127s Selecting previously unselected package libglx-mesa0:arm64. 127s Preparing to unpack .../74-libglx-mesa0_24.0.1-1ubuntu1_arm64.deb ... 127s Unpacking libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 127s Selecting previously unselected package libglx0:arm64. 127s Preparing to unpack .../75-libglx0_1.7.0-1_arm64.deb ... 127s Unpacking libglx0:arm64 (1.7.0-1) ... 127s Selecting previously unselected package libgl1:arm64. 127s Preparing to unpack .../76-libgl1_1.7.0-1_arm64.deb ... 127s Unpacking libgl1:arm64 (1.7.0-1) ... 127s Selecting previously unselected package libgif7:arm64. 127s Preparing to unpack .../77-libgif7_5.2.1-2.5_arm64.deb ... 127s Unpacking libgif7:arm64 (5.2.1-2.5) ... 127s Selecting previously unselected package x11-common. 127s Preparing to unpack .../78-x11-common_1%3a7.7+23ubuntu2_all.deb ... 127s Unpacking x11-common (1:7.7+23ubuntu2) ... 127s Selecting previously unselected package libxtst6:arm64. 127s Preparing to unpack .../79-libxtst6_2%3a1.2.3-1.1_arm64.deb ... 127s Unpacking libxtst6:arm64 (2:1.2.3-1.1) ... 127s Selecting previously unselected package openjdk-21-jre:arm64. 127s Preparing to unpack .../80-openjdk-21-jre_21.0.2+13-2_arm64.deb ... 127s Unpacking openjdk-21-jre:arm64 (21.0.2+13-2) ... 127s Selecting previously unselected package default-jre. 128s Preparing to unpack .../81-default-jre_2%3a1.21-75+exp1_arm64.deb ... 128s Unpacking default-jre (2:1.21-75+exp1) ... 128s Selecting previously unselected package libapksig-java. 128s Preparing to unpack .../82-libapksig-java_31.0.2-1ubuntu1_all.deb ... 128s Unpacking libapksig-java (31.0.2-1ubuntu1) ... 128s Selecting previously unselected package apksigner. 128s Preparing to unpack .../83-apksigner_31.0.2-1ubuntu1_all.deb ... 128s Unpacking apksigner (31.0.2-1ubuntu1) ... 128s Selecting previously unselected package autopkgtest-satdep. 128s Preparing to unpack .../84-1-autopkgtest-satdep.deb ... 128s Unpacking autopkgtest-satdep (0) ... 128s Setting up libgraphite2-3:arm64 (1.3.14-2) ... 128s Setting up libxcb-dri3-0:arm64 (1.15-1) ... 128s Setting up liblcms2-2:arm64 (2.14-2) ... 128s Setting up libpixman-1-0:arm64 (0.42.2-1) ... 128s Setting up libsharpyuv0:arm64 (1.3.2-0.4) ... 128s Setting up libx11-xcb1:arm64 (2:1.8.7-1) ... 128s Setting up libdrm-nouveau2:arm64 (2.4.120-2) ... 128s Setting up libxdamage1:arm64 (1:1.1.6-1) ... 128s Setting up libxcb-xfixes0:arm64 (1.15-1) ... 128s Setting up liblerc4:arm64 (4.0.0+ds-4ubuntu1) ... 128s Setting up hicolor-icon-theme (0.17-2) ... 128s Setting up libxi6:arm64 (2:1.8.1-1) ... 128s Setting up java-common (0.75+exp1) ... 128s Setting up libxrender1:arm64 (1:0.9.10-1.1) ... 128s Setting up libdatrie1:arm64 (0.2.13-3) ... 128s Setting up libxcb-render0:arm64 (1.15-1) ... 128s Setting up libdrm-radeon1:arm64 (2.4.120-2) ... 128s Setting up libglvnd0:arm64 (1.7.0-1) ... 128s Setting up libxcb-glx0:arm64 (1.15-1) ... 128s Setting up libgdk-pixbuf2.0-common (2.42.10+dfsg-3) ... 128s Setting up x11-common (1:7.7+23ubuntu2) ... 129s Setting up libdeflate0:arm64 (1.19-1) ... 129s Setting up libxcb-shm0:arm64 (1.15-1) ... 129s Setting up libjbig0:arm64 (2.1-6.1ubuntu1) ... 129s Setting up libxxf86vm1:arm64 (1:1.1.4-1build3) ... 129s Setting up libxcb-present0:arm64 (1.15-1) ... 129s Setting up libasound2-data (1.2.11-1build1) ... 129s Setting up libxfixes3:arm64 (1:6.0.0-2) ... 129s Setting up libxcb-sync1:arm64 (1.15-1) ... 129s Setting up libavahi-common-data:arm64 (0.8-13ubuntu2) ... 129s Setting up libxinerama1:arm64 (2:1.1.4-3) ... 129s Setting up fonts-dejavu-mono (2.37-8) ... 129s Setting up libxrandr2:arm64 (2:1.5.2-2) ... 129s Setting up fonts-dejavu-core (2.37-8) ... 129s Setting up libpcsclite1:arm64 (2.0.0-1) ... 129s Setting up libjpeg-turbo8:arm64 (2.1.5-2ubuntu1) ... 129s Setting up libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 129s Setting up libvulkan1:arm64 (1.3.275.0-1) ... 129s Setting up libwebp7:arm64 (1.3.2-0.4) ... 129s Setting up libxcb-dri2-0:arm64 (1.15-1) ... 129s Setting up libgif7:arm64 (5.2.1-2.5) ... 129s Setting up libxshmfence1:arm64 (1.3-1build4) ... 129s Setting up at-spi2-common (2.50.0-1) ... 129s Setting up libxcb-randr0:arm64 (1.15-1) ... 129s Setting up libasound2:arm64 (1.2.10-3build1) ... 129s Setting up libharfbuzz0b:arm64 (8.3.0-2) ... 129s Setting up libthai-data (0.1.29-2) ... 129s Setting up libgtk2.0-common (2.24.33-2ubuntu2) ... 129s Setting up libatk1.0-0:arm64 (2.50.0-1) ... 129s Setting up ca-certificates-java (20240118) ... 129s No JRE found. Skipping Java certificates setup. 129s Setting up libllvm17:arm64 (1:17.0.6-5build1) ... 129s Setting up libxcomposite1:arm64 (1:0.4.5-1build2) ... 129s Setting up libapksig-java (31.0.2-1ubuntu1) ... 129s Setting up libdrm-amdgpu1:arm64 (2.4.120-2) ... 129s Setting up libjpeg8:arm64 (8c-2ubuntu11) ... 129s Setting up fontconfig-config (2.15.0-1ubuntu1) ... 130s Setting up libxtst6:arm64 (2:1.2.3-1.1) ... 130s Setting up libxcursor1:arm64 (1:1.2.1-1) ... 130s Setting up libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 130s Setting up libavahi-common3:arm64 (0.8-13ubuntu2) ... 130s Setting up libthai0:arm64 (0.1.29-2) ... 130s Setting up libtiff6:arm64 (4.5.1+git230720-3ubuntu1) ... 130s Setting up libgdk-pixbuf-2.0-0:arm64 (2.42.10+dfsg-3) ... 130s Setting up libfontconfig1:arm64 (2.15.0-1ubuntu1) ... 130s Setting up libavahi-client3:arm64 (0.8-13ubuntu2) ... 130s Setting up gtk-update-icon-cache (3.24.40-2ubuntu1) ... 130s Setting up fontconfig (2.15.0-1ubuntu1) ... 132s Regenerating fonts cache... done. 132s Setting up libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 132s Setting up libglx0:arm64 (1.7.0-1) ... 132s Setting up libpango-1.0-0:arm64 (1.51.0+ds-4) ... 132s Setting up libcairo2:arm64 (1.18.0-1) ... 132s Setting up libgl1:arm64 (1.7.0-1) ... 132s Setting up libcups2:arm64 (2.4.6-0ubuntu3) ... 132s Setting up libpangoft2-1.0-0:arm64 (1.51.0+ds-4) ... 132s Setting up libpangocairo-1.0-0:arm64 (1.51.0+ds-4) ... 132s Setting up openjdk-21-jre-headless:arm64 (21.0.2+13-2) ... 132s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/bin/java to provide /usr/bin/java (java) in auto mode 132s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/bin/jpackage to provide /usr/bin/jpackage (jpackage) in auto mode 132s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode 132s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode 132s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode 132s Setting up adwaita-icon-theme (46~rc-1) ... 132s update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode 132s Setting up libgtk2.0-0:arm64 (2.24.33-2ubuntu2) ... 132s Setting up humanity-icon-theme (0.6.16) ... 132s Setting up ubuntu-mono (24.04-0ubuntu1) ... 132s Processing triggers for man-db (2.12.0-3) ... 134s Processing triggers for libc-bin (2.39-0ubuntu2) ... 134s Processing triggers for ca-certificates-java (20240118) ... 135s Adding debian:ACCVRAIZ1.pem 135s Adding debian:AC_RAIZ_FNMT-RCM.pem 135s Adding debian:AC_RAIZ_FNMT-RCM_SERVIDORES_SEGUROS.pem 135s Adding debian:ANF_Secure_Server_Root_CA.pem 135s Adding debian:Actalis_Authentication_Root_CA.pem 135s Adding debian:AffirmTrust_Commercial.pem 135s Adding debian:AffirmTrust_Networking.pem 135s Adding debian:AffirmTrust_Premium.pem 135s Adding debian:AffirmTrust_Premium_ECC.pem 135s Adding debian:Amazon_Root_CA_1.pem 135s Adding debian:Amazon_Root_CA_2.pem 135s Adding debian:Amazon_Root_CA_3.pem 135s Adding debian:Amazon_Root_CA_4.pem 135s Adding debian:Atos_TrustedRoot_2011.pem 135s Adding debian:Atos_TrustedRoot_Root_CA_ECC_TLS_2021.pem 135s Adding debian:Atos_TrustedRoot_Root_CA_RSA_TLS_2021.pem 135s Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem 135s Adding debian:BJCA_Global_Root_CA1.pem 135s Adding debian:BJCA_Global_Root_CA2.pem 135s Adding debian:Baltimore_CyberTrust_Root.pem 135s Adding debian:Buypass_Class_2_Root_CA.pem 135s Adding debian:Buypass_Class_3_Root_CA.pem 135s Adding debian:CA_Disig_Root_R2.pem 135s Adding debian:CFCA_EV_ROOT.pem 135s Adding debian:COMODO_Certification_Authority.pem 135s Adding debian:COMODO_ECC_Certification_Authority.pem 135s Adding debian:COMODO_RSA_Certification_Authority.pem 135s Adding debian:Certainly_Root_E1.pem 135s Adding debian:Certainly_Root_R1.pem 135s Adding debian:Certigna.pem 135s Adding debian:Certigna_Root_CA.pem 135s Adding debian:Certum_EC-384_CA.pem 135s Adding debian:Certum_Trusted_Network_CA.pem 135s Adding debian:Certum_Trusted_Network_CA_2.pem 135s Adding debian:Certum_Trusted_Root_CA.pem 135s Adding debian:CommScope_Public_Trust_ECC_Root-01.pem 135s Adding debian:CommScope_Public_Trust_ECC_Root-02.pem 135s Adding debian:CommScope_Public_Trust_RSA_Root-01.pem 135s Adding debian:CommScope_Public_Trust_RSA_Root-02.pem 135s Adding debian:Comodo_AAA_Services_root.pem 135s Adding debian:D-TRUST_BR_Root_CA_1_2020.pem 135s Adding debian:D-TRUST_EV_Root_CA_1_2020.pem 135s Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem 135s Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem 135s Adding debian:DigiCert_Assured_ID_Root_CA.pem 135s Adding debian:DigiCert_Assured_ID_Root_G2.pem 135s Adding debian:DigiCert_Assured_ID_Root_G3.pem 135s Adding debian:DigiCert_Global_Root_CA.pem 135s Adding debian:DigiCert_Global_Root_G2.pem 135s Adding debian:DigiCert_Global_Root_G3.pem 135s Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem 135s Adding debian:DigiCert_TLS_ECC_P384_Root_G5.pem 135s Adding debian:DigiCert_TLS_RSA4096_Root_G5.pem 135s Adding debian:DigiCert_Trusted_Root_G4.pem 135s Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem 135s Adding debian:Entrust_Root_Certification_Authority.pem 135s Adding debian:Entrust_Root_Certification_Authority_-_EC1.pem 135s Adding debian:Entrust_Root_Certification_Authority_-_G2.pem 135s Adding debian:Entrust_Root_Certification_Authority_-_G4.pem 135s Adding debian:GDCA_TrustAUTH_R5_ROOT.pem 135s Adding debian:GLOBALTRUST_2020.pem 135s Adding debian:GTS_Root_R1.pem 135s Adding debian:GTS_Root_R2.pem 135s Adding debian:GTS_Root_R3.pem 135s Adding debian:GTS_Root_R4.pem 135s Adding debian:GlobalSign_ECC_Root_CA_-_R4.pem 135s Adding debian:GlobalSign_ECC_Root_CA_-_R5.pem 135s Adding debian:GlobalSign_Root_CA.pem 135s Adding debian:GlobalSign_Root_CA_-_R3.pem 135s Adding debian:GlobalSign_Root_CA_-_R6.pem 135s Adding debian:GlobalSign_Root_E46.pem 135s Adding debian:GlobalSign_Root_R46.pem 135s Adding debian:Go_Daddy_Class_2_CA.pem 135s Adding debian:Go_Daddy_Root_Certificate_Authority_-_G2.pem 135s Adding debian:HARICA_TLS_ECC_Root_CA_2021.pem 135s Adding debian:HARICA_TLS_RSA_Root_CA_2021.pem 135s Adding debian:Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem 135s Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem 135s Adding debian:HiPKI_Root_CA_-_G1.pem 135s Adding debian:Hongkong_Post_Root_CA_3.pem 135s Adding debian:ISRG_Root_X1.pem 135s Adding debian:ISRG_Root_X2.pem 135s Adding debian:IdenTrust_Commercial_Root_CA_1.pem 135s Adding debian:IdenTrust_Public_Sector_Root_CA_1.pem 135s Adding debian:Izenpe.com.pem 135s Adding debian:Microsec_e-Szigno_Root_CA_2009.pem 135s Adding debian:Microsoft_ECC_Root_Certificate_Authority_2017.pem 135s Adding debian:Microsoft_RSA_Root_Certificate_Authority_2017.pem 135s Adding debian:NAVER_Global_Root_Certification_Authority.pem 135s Adding debian:NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem 135s Adding debian:OISTE_WISeKey_Global_Root_GB_CA.pem 135s Adding debian:OISTE_WISeKey_Global_Root_GC_CA.pem 135s Adding debian:QuoVadis_Root_CA_1_G3.pem 135s Adding debian:QuoVadis_Root_CA_2.pem 135s Adding debian:QuoVadis_Root_CA_2_G3.pem 135s Adding debian:QuoVadis_Root_CA_3.pem 135s Adding debian:QuoVadis_Root_CA_3_G3.pem 135s Adding debian:SSL.com_EV_Root_Certification_Authority_ECC.pem 135s Adding debian:SSL.com_EV_Root_Certification_Authority_RSA_R2.pem 135s Adding debian:SSL.com_Root_Certification_Authority_ECC.pem 135s Adding debian:SSL.com_Root_Certification_Authority_RSA.pem 135s Adding debian:SSL.com_TLS_ECC_Root_CA_2022.pem 135s Adding debian:SSL.com_TLS_RSA_Root_CA_2022.pem 135s Adding debian:SZAFIR_ROOT_CA2.pem 135s Adding debian:Sectigo_Public_Server_Authentication_Root_E46.pem 135s Adding debian:Sectigo_Public_Server_Authentication_Root_R46.pem 135s Adding debian:SecureSign_RootCA11.pem 135s Adding debian:SecureTrust_CA.pem 135s Adding debian:Secure_Global_CA.pem 135s Adding debian:Security_Communication_ECC_RootCA1.pem 135s Adding debian:Security_Communication_RootCA2.pem 135s Adding debian:Security_Communication_RootCA3.pem 135s Adding debian:Security_Communication_Root_CA.pem 135s Adding debian:Starfield_Class_2_CA.pem 135s Adding debian:Starfield_Root_Certificate_Authority_-_G2.pem 135s Adding debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem 135s Adding debian:SwissSign_Gold_CA_-_G2.pem 135s Adding debian:SwissSign_Silver_CA_-_G2.pem 135s Adding debian:T-TeleSec_GlobalRoot_Class_2.pem 135s Adding debian:T-TeleSec_GlobalRoot_Class_3.pem 135s Adding debian:TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem 135s Adding debian:TWCA_Global_Root_CA.pem 135s Adding debian:TWCA_Root_Certification_Authority.pem 135s Adding debian:TeliaSonera_Root_CA_v1.pem 135s Adding debian:Telia_Root_CA_v2.pem 135s Adding debian:TrustAsia_Global_Root_CA_G3.pem 135s Adding debian:TrustAsia_Global_Root_CA_G4.pem 135s Adding debian:Trustwave_Global_Certification_Authority.pem 135s Adding debian:Trustwave_Global_ECC_P256_Certification_Authority.pem 135s Adding debian:Trustwave_Global_ECC_P384_Certification_Authority.pem 135s Adding debian:TunTrust_Root_CA.pem 135s Adding debian:UCA_Extended_Validation_Root.pem 135s Adding debian:UCA_Global_G2_Root.pem 135s Adding debian:USERTrust_ECC_Certification_Authority.pem 135s Adding debian:USERTrust_RSA_Certification_Authority.pem 135s Adding debian:XRamp_Global_CA_Root.pem 135s Adding debian:certSIGN_ROOT_CA.pem 135s Adding debian:certSIGN_Root_CA_G2.pem 135s Adding debian:e-Szigno_Root_CA_2017.pem 135s Adding debian:ePKI_Root_Certification_Authority.pem 135s Adding debian:emSign_ECC_Root_CA_-_C3.pem 135s Adding debian:emSign_ECC_Root_CA_-_G3.pem 135s Adding debian:emSign_Root_CA_-_C1.pem 135s Adding debian:emSign_Root_CA_-_G1.pem 135s Adding debian:vTrus_ECC_Root_CA.pem 135s Adding debian:vTrus_Root_CA.pem 135s done. 135s Setting up openjdk-21-jre:arm64 (21.0.2+13-2) ... 135s Setting up default-jre-headless (2:1.21-75+exp1) ... 135s Setting up apksigner (31.0.2-1ubuntu1) ... 135s Setting up autopkgtest-satdep (0) ... 135s Setting up default-jre (2:1.21-75+exp1) ... 145s (Reading database ... 88502 files and directories currently installed.) 145s Removing autopkgtest-satdep (0) ... 146s autopkgtest [12:05:24]: test ApkVerifierTest.sh: [----------------------- 146s + apksigner -JXmx256M verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-1024.apk 147s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.1-1024.apk 148s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.1-1024.apk 148s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.1-2048.apk 149s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.1-2048.apk 150s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.1-3072.apk 150s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.1-3072.apk 151s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.3-1024.apk 151s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.3-1024.apk 152s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.3-2048.apk 152s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.3-2048.apk 153s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.3-3072.apk 153s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.3-3072.apk 154s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-1.2.840.10040.4.1-1024.apk 155s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-1.2.840.10040.4.1-1024.apk 155s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-1.2.840.10040.4.1-2048.apk 155s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-1.2.840.10040.4.1-2048.apk 156s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-1.2.840.10040.4.1-3072.apk 156s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-1.2.840.10040.4.1-3072.apk 156s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-2.16.840.1.101.3.4.3.1-1024.apk 157s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-2.16.840.1.101.3.4.3.1-1024.apk 158s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-2.16.840.1.101.3.4.3.1-2048.apk 161s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-2.16.840.1.101.3.4.3.1-2048.apk 161s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-2.16.840.1.101.3.4.3.1-3072.apk 162s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-2.16.840.1.101.3.4.3.1-3072.apk 162s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha256-1.2.840.10040.4.1-1024.apk 163s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha256-1.2.840.10040.4.1-2048.apk 164s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha256-1.2.840.10040.4.1-3072.apk 165s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha256-2.16.840.1.101.3.4.3.2-1024.apk 165s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha256-2.16.840.1.101.3.4.3.2-2048.apk 166s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha256-2.16.840.1.101.3.4.3.2-3072.apk 166s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha1-1.2.840.10045.2.1-p256.apk 167s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha1-1.2.840.10045.2.1-p384.apk 168s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha1-1.2.840.10045.2.1-p521.apk 168s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha1-1.2.840.10045.4.1-p256.apk 169s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha1-1.2.840.10045.4.1-p384.apk 170s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha1-1.2.840.10045.4.1-p521.apk 170s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha224-1.2.840.10045.2.1-p256.apk 171s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha224-1.2.840.10045.2.1-p384.apk 171s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha224-1.2.840.10045.2.1-p521.apk 172s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha224-1.2.840.10045.4.3.1-p256.apk 174s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha224-1.2.840.10045.4.3.1-p384.apk 175s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha224-1.2.840.10045.4.3.1-p521.apk 175s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha256-1.2.840.10045.2.1-p256.apk 176s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha256-1.2.840.10045.2.1-p384.apk 176s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha256-1.2.840.10045.2.1-p521.apk 177s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha256-1.2.840.10045.4.3.2-p256.apk 178s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha256-1.2.840.10045.4.3.2-p384.apk 178s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha256-1.2.840.10045.4.3.2-p521.apk 179s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha384-1.2.840.10045.2.1-p256.apk 180s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha384-1.2.840.10045.2.1-p384.apk 180s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha384-1.2.840.10045.2.1-p521.apk 181s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha384-1.2.840.10045.4.3.3-p256.apk 181s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha384-1.2.840.10045.4.3.3-p384.apk 182s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha384-1.2.840.10045.4.3.3-p521.apk 183s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha512-1.2.840.10045.2.1-p256.apk 184s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha512-1.2.840.10045.2.1-p384.apk 185s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha512-1.2.840.10045.2.1-p521.apk 185s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha512-1.2.840.10045.4.3.4-p256.apk 186s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha512-1.2.840.10045.4.3.4-p384.apk 187s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha512-1.2.840.10045.4.3.4-p521.apk 187s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.1-1024.apk 188s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.1-16384.apk 188s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.1-2048.apk 189s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.1-3072.apk 190s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.1-4096.apk 191s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.1-8192.apk 191s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.4-1024.apk 192s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.4-16384.apk 192s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.4-2048.apk 193s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.4-3072.apk 193s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.4-4096.apk 194s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.4-8192.apk 194s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.1-1024.apk 195s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.1-16384.apk 196s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.1-2048.apk 196s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.1-3072.apk 197s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.1-4096.apk 197s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.1-8192.apk 198s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.5-1024.apk 198s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.5-16384.apk 199s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.5-2048.apk 199s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.5-3072.apk 201s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.5-4096.apk 201s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.5-8192.apk 201s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.1-1024.apk 201s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.1-16384.apk 201s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.1-2048.apk 202s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.1-3072.apk 202s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.1-4096.apk 202s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.14-1024.apk 203s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.14-16384.apk 204s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.14-2048.apk 204s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.14-3072.apk 205s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.14-4096.apk 205s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.14-8192.apk 206s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.1-8192.apk 207s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.1-1024.apk 207s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.11-1024.apk 208s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.11-16384.apk 209s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.11-2048.apk 210s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.11-3072.apk 210s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.11-4096.apk 211s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.1-16384.apk 211s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.11-8192.apk 212s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.1-2048.apk 212s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.1-3072.apk 213s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.1-4096.apk 213s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.1-8192.apk 214s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-1024.apk 214s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-16384.apk 215s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-2048.apk 215s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.12-1024.apk 215s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.12-16384.apk 216s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.12-2048.apk 216s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.12-3072.apk 217s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.12-4096.apk 217s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.12-8192.apk 218s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-3072.apk 219s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-4096.apk 219s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-8192.apk 220s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.1-1024.apk 220s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.1-16384.apk 221s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.1-2048.apk 222s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.1-3072.apk 222s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.13-1024.apk 224s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.13-16384.apk 224s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.13-2048.apk 225s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.13-3072.apk 225s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.13-4096.apk 226s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.13-8192.apk 226s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.1-4096.apk 227s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.1-8192.apk 227s + apksigner verify src/test/resources/com/android/apksig/v2-stripped.apk 228s DOES NOT VERIFY 228s ERROR: JAR signer CERT.RSA: JAR signature META-INF/CERT.SF indicates the APK is signed using APK Signature Scheme v2 but no such signature was found. Signature stripped? 228s + apksigner verify src/test/resources/com/android/apksig/v2-stripped-with-ignorable-signing-schemes.apk 228s DOES NOT VERIFY 228s ERROR: JAR signer CERT.RSA: JAR signature META-INF/CERT.SF indicates the APK is signed using APK Signature Scheme v2 but no such signature was found. Signature stripped? 228s WARNING: JAR signer CERT.RSA: JAR signature META-INF/CERT.SF references unknown APK signature scheme ID: 15 228s WARNING: JAR signer CERT.RSA: JAR signature META-INF/CERT.SF references unknown APK signature scheme ID: 34 228s + apksigner verify src/test/resources/com/android/apksig/v2-only-with-dsa-sha256-1024-sig-does-not-verify.apk 229s DOES NOT VERIFY 229s ERROR: APK Signature Scheme v2 signer #1: DSA_WITH_SHA256 signature over signed-data did not verify 229s + apksigner verify src/test/resources/com/android/apksig/v2-only-with-rsa-pkcs1-sha256-2048-sig-does-not-verify.apk 229s DOES NOT VERIFY 229s ERROR: APK Signature Scheme v2 signer #1: RSA_PKCS1_V1_5_WITH_SHA256 signature over signed-data did not verify 229s + apksigner verify src/test/resources/com/android/apksig/v2-only-with-ecdsa-sha256-p256-sig-does-not-verify.apk 230s DOES NOT VERIFY 230s ERROR: APK Signature Scheme v2 signer #1: ECDSA_WITH_SHA256 signature over signed-data did not verify 230s + apksigner verify src/test/resources/com/android/apksig/v2-only-with-rsa-pss-sha256-2048-sig-does-not-verify.apk 230s Exception in thread "main" java.security.NoSuchAlgorithmException: SHA256withRSA/PSS Signature not available 230s at java.base/java.security.Signature.getInstance(Signature.java:268) 230s at com.android.apksig.internal.apk.v2.V2SchemeVerifier.parseSigner(V2SchemeVerifier.java:313) 230s at com.android.apksig.internal.apk.v2.V2SchemeVerifier.parseSigners(V2SchemeVerifier.java:211) 230s at com.android.apksig.internal.apk.v2.V2SchemeVerifier.verify(V2SchemeVerifier.java:145) 230s at com.android.apksig.internal.apk.v2.V2SchemeVerifier.verify(V2SchemeVerifier.java:110) 230s at com.android.apksig.ApkVerifier.verify(ApkVerifier.java:234) 230s at com.android.apksig.ApkVerifier.verify(ApkVerifier.java:149) 230s at com.android.apksigner.ApkSignerTool.verify(ApkSignerTool.java:516) 230s at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:88) 230s + apksigner verify src/test/resources/com/android/apksig/v2-only-with-rsa-pkcs1-sha512-4096-digest-mismatch.apk 231s DOES NOT VERIFY 231s ERROR: APK Signature Scheme v2 signer #1: APK integrity check failed. CHUNKED_SHA512 digest mismatch. Expected: <5ec97f56387436550cda87701dd26167e6a093bdf564ff95e2415c9e5edbb0cc31980b541520a551b6eacde1358e9057788f8072e2bbb6a19092cf1af379f840>, actual: 231s + apksigner verify src/test/resources/com/android/apksig/v2-only-with-ecdsa-sha256-p256-digest-mismatch.apk 231s DOES NOT VERIFY 231s ERROR: APK Signature Scheme v2 signer #1: APK integrity check failed. CHUNKED_SHA256 digest mismatch. Expected: , actual: <7aee6495d3c8fd4047afd9d2a68a07be597dfcde2435487bc4b2def96dc95c04> 231s + apksigner verify src/test/resources/com/android/apksig/v2-only-wrong-apk-sig-block-magic.apk 232s DOES NOT VERIFY 232s ERROR: Missing META-INF/MANIFEST.MF 232s + apksigner verify src/test/resources/com/android/apksig/v2-only-garbage-between-cd-and-eocd.apk 232s DOES NOT VERIFY 232s ERROR: Missing META-INF/MANIFEST.MF 233s + apksigner verify src/test/resources/com/android/apksig/v2-only-apk-sig-block-size-mismatch.apk 233s DOES NOT VERIFY 233s ERROR: Missing META-INF/MANIFEST.MF 233s + apksigner verify src/test/resources/com/android/apksig/v2-only-signatures-and-digests-block-mismatch.apk 233s DOES NOT VERIFY 233s ERROR: APK Signature Scheme v2 signer #1: Signature algorithms mismatch between signatures and digests records: [259] vs [259, 305419896] 233s + apksigner verify src/test/resources/com/android/apksig/v2-only-cert-and-public-key-mismatch.apk 234s DOES NOT VERIFY 234s ERROR: APK Signature Scheme v2 signer #1: Public key mismatch between certificate and signature record: <30820122300d06092a864886f70d01010105000382010f003082010a0282010100d0e19235109db7f55e30b2cd23a5595932e761dbf90044255da0182c450baf73644d9cedb7132ca796df5437e0dc3517502216c2a554e374497f6de3c408796a83d344ddfac08f919e6e251d58be80fe274ab190359c02b2220c718dc9eefb7f0e72b94ee973a6dfa7aec467ddfd42eb8216465f331516ae2e2e222fdc3a85914708944d01bd4894a0dc29a2957830a8f519082868439b246e7190c04a3babe0dfa55f277b37577af8f2e271606861059101d04a685cb7788b4a62001f1230b6f4124eb003f1d9f00dab7674ad935c25ffcdce3358ced2e0778727c9a6a2228e5bcd1a7ae5a18cb2388a92d0b1879f14890fb8280121f611fd21e32c5bb0ebc70203010001> vs <30820122300d06092a864886f70d01010105000382010f003082010a0282010100d0e09235109db7f55e30b2cd23a5595932e761dbf90044255da0182c450baf73644d9cedb7132ca796df5437e0dc3517502216c2a554e374497f6de3c408796a83d344ddfac08f919e6e251d58be80fe274ab190359c02b2220c718dc9eefb7f0e72b94ee973a6dfa7aec467ddfd42eb8216465f331516ae2e2e222fdc3a85914708944d01bd4894a0dc29a2957830a8f519082868439b246e7190c04a3babe0dfa55f277b37577af8f2e271606861059101d04a685cb7788b4a62001f1230b6f4124eb003f1d9f00dab7674ad935c25ffcdce3358ced2e0778727c9a6a2228e5bcd1a7ae5a18cb2388a92d0b1879f14890fb8280121f611fd21e32c5bb0ebc70203010001> 234s + apksigner verify src/test/resources/com/android/apksig/v2-only-no-certs-in-sig.apk 234s DOES NOT VERIFY 234s ERROR: APK Signature Scheme v2 signer #1: No certificates 234s + apksigner verify src/test/resources/com/android/apksig/v2-only-two-signers-second-signer-no-sig.apk 235s DOES NOT VERIFY 235s ERROR: APK Signature Scheme v2 signer #2: No signatures 235s + apksigner verify src/test/resources/com/android/apksig/v2-only-two-signers-second-signer-no-supported-sig.apk 235s DOES NOT VERIFY 235s ERROR: APK Signature Scheme v2 signer #2: No supported signatures: com.android.apksig.internal.apk.ApkSigningBlockUtils$NoSupportedSignaturesException: Minimum provided signature version 2147483647 > minSdkVersion 24 235s WARNING: APK Signature Scheme v2 signer #2: Unknown signature algorithm: 0x8888 235s + echoSUCCESS 235s SUCCESS 236s autopkgtest [12:06:54]: test ApkVerifierTest.sh: -----------------------] 237s autopkgtest [12:06:55]: test ApkVerifierTest.sh: - - - - - - - - - - results - - - - - - - - - - 237s ApkVerifierTest.sh PASS 237s autopkgtest [12:06:55]: test command1: preparing testbed 240s Reading package lists... 240s Building dependency tree... 240s Reading state information... 241s Starting pkgProblemResolver with broken count: 0 241s Starting 2 pkgProblemResolver with broken count: 0 241s Done 242s The following NEW packages will be installed: 242s autopkgtest-satdep 242s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 242s Need to get 0 B/716 B of archives. 242s After this operation, 0 B of additional disk space will be used. 242s Get:1 /tmp/autopkgtest.aARAAW/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [716 B] 242s Selecting previously unselected package autopkgtest-satdep. 243s (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 ... 88502 files and directories currently installed.) 243s Preparing to unpack .../2-autopkgtest-satdep.deb ... 243s Unpacking autopkgtest-satdep (0) ... 243s Setting up autopkgtest-satdep (0) ... 247s (Reading database ... 88502 files and directories currently installed.) 247s Removing autopkgtest-satdep (0) ... 248s autopkgtest [12:07:06]: test command1: apksigner -h 248s autopkgtest [12:07:06]: test command1: [----------------------- 249s USAGE: apksigner [options] 249s apksigner --version 249s apksigner --help 249s 249s EXAMPLE: 249s apksigner sign --ks release.jks app.apk 249s apksigner verify --verbose app.apk 249s 249s apksigner is a tool for signing Android APK files and for checking whether 249s signatures of APK files will verify on Android devices. 249s 249s 249s COMMANDS 249s rotate Add a new signing certificate to the SigningCertificateLineage 249s 249s sign Sign the provided APK 249s 249s verify Check whether the provided APK is expected to verify on 249s Android 249s 249s lineage Modify the capabilities of one or more signers in an existing 249s SigningCertificateLineage 249s 249s version Show this tool's version number and exit 249s 249s help Show this usage page and exit 249s 250s autopkgtest [12:07:08]: test command1: -----------------------] 250s command1 PASS 250s autopkgtest [12:07:08]: test command1: - - - - - - - - - - results - - - - - - - - - - 251s autopkgtest [12:07:09]: test command2: preparing testbed 255s Reading package lists... 256s Building dependency tree... 256s Reading state information... 256s Starting pkgProblemResolver with broken count: 0 256s Starting 2 pkgProblemResolver with broken count: 0 256s Done 257s The following NEW packages will be installed: 257s autopkgtest-satdep 257s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 257s Need to get 0 B/716 B of archives. 257s After this operation, 0 B of additional disk space will be used. 257s Get:1 /tmp/autopkgtest.aARAAW/3-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [716 B] 257s Selecting previously unselected package autopkgtest-satdep. 257s (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 ... 88502 files and directories currently installed.) 257s Preparing to unpack .../3-autopkgtest-satdep.deb ... 257s Unpacking autopkgtest-satdep (0) ... 257s Setting up autopkgtest-satdep (0) ... 261s (Reading database ... 88502 files and directories currently installed.) 261s Removing autopkgtest-satdep (0) ... 262s autopkgtest [12:07:20]: test command2: apksigner lineage -h 262s autopkgtest [12:07:20]: test command2: [----------------------- 263s USAGE: apksigner lineage [options] 263s 263s This modifies the capabilities of one or more signers in the provided SigningCertificateLineage. 263s This can be used to revoke capabilities of a previous signing certificate once the install base 263s has been migrated to the new signing certificate. 263s 263s 263s GENERAL OPTIONS 263s 263s --in Input SigningCertificateLineage. This file contains a binary representation of 263s a SigningCertificateLineage object which contains the proof-of-rotation for 263s different signing certificates. 263s An APK previously signed with a SigningCertificateLineage can also be 263s specified; the lineage will then be read from the signed data in the APK. 263s 263s --out File into which to put the binary representation of a 263s SigningCertificateLineage object. 263s 263s --print-certs Show information about the signing certificates and their capabilities 263s in the SigningCertificateLineage. 263s 263s -v, --verbose Verbose output mode. 263s 263s -h, --help Show help about this command and exit. 263s 263s 263s PER-SIGNER OPTIONS 263s This option is required for each signer to be modified in the provided SigningCertificateLineage. 263s 263s --signer Indicates the start of a new signing certificate to be modified. 263s 263s 263s PER-SIGNER SIGNING KEY, CERTIFICATE, & CAPABILITY OPTIONS 263s To modify the capabilities of a previous signer in the lineage the signer's 263s private key and certificate must be specified. There are two ways to provide 263s the signer's private key and certificate: (1) Java KeyStore (see --ks), or 263s (2) private key file in PKCS #8 format and certificate file in X.509 format 263s (see --key and --cert). 263s 263s The --set-xx capability options allow an older signing certificate to still be 263s used in some situations on the platform even though the APK is now being signed 263s by a newer signing certificate. By default, the new signer will have all 263s capabilities, but the capability options can be specified for the new signer 263s to act as a default level of trust when moving to a newer signing certificate. 263s The capability options accept an optional boolean value of true or false; if 263s this value is not specified then the option will default to true. 263s 263s --ks Load private key and certificate chain from the Java 263s KeyStore initialized from the specified file. NONE means 263s no file is needed by KeyStore, which is the case for some 263s PKCS #11 KeyStores. 263s 263s --ks-key-alias Alias under which the private key and certificate are 263s stored in the KeyStore. This must be specified if the 263s KeyStore contains multiple keys. 263s 263s --ks-pass KeyStore password (see --ks). The following formats are 263s supported: 263s pass: password provided inline 263s env: password provided in the named 263s environment variable 263s file: password provided in the named 263s file, as a single line 263s stdin password provided on standard input, 263s as a single line 263s A password is required to open a KeyStore. 263s By default, the tool will prompt for password via console 263s or standard input. 263s When the same file (including standard input) is used for 263s providing multiple passwords, the passwords are read from 263s the file one line at a time. Passwords are read in the 263s order of old-signer then new-signer and, within each 263s signer, KeyStore password is read before the key password 263s is read. 263s 263s --key-pass Password with which the private key is protected. 263s The following formats are supported: 263s pass: password provided inline 263s env: password provided in the named 263s environment variable 263s file: password provided in the named 263s file, as a single line 263s stdin password provided on standard input, 263s as a single line 263s If --key-pass is not specified for a KeyStore key, this 263s tool will attempt to load the key using the KeyStore 263s password and, if that fails, will prompt for key password 263s and attempt to load the key using that password. 263s If --key-pass is not specified for a private key file key, 263s this tool will prompt for key password only if a password 263s is required. 263s When the same file (including standard input) is used for 263s providing multiple passwords, the passwords are read from 263s the file one line at a time. Passwords are read in the 263s order of old-signer then new-signer and, within each 263s signer, KeyStore password is read before the key password 263s is read. 263s 263s --pass-encoding Additional character encoding (e.g., ibm437 or utf-8) to 263s try for passwords containing non-ASCII characters. 263s KeyStores created by keytool are often encrypted not using 263s the Unicode form of the password but rather using the form 263s produced by encoding the password using the console's 263s character encoding. apksigner by default tries to decrypt 263s using several forms of the password: the Unicode form, the 263s form encoded using the JVM default charset, and, on Java 8 263s and older, the form encoded using the console's charset. 263s On Java 9, apksigner cannot detect the console's charset 263s and may need to be provided with --pass-encoding when a 263s non-ASCII password is used. --pass-encoding may also need 263s to be provided for a KeyStore created by keytool on a 263s different OS or in a different locale. 263s 263s --ks-type Type/algorithm of KeyStore to use. By default, the default 263s type is used. 263s 263s --ks-provider-name Name of the JCA Provider from which to request the 263s KeyStore implementation. By default, the highest priority 263s provider is used. See --ks-provider-class for the 263s alternative way to specify a provider. 263s 263s --ks-provider-class Fully-qualified class name of the JCA Provider from which 263s to request the KeyStore implementation. By default, the 263s provider is chosen based on --ks-provider-name. 263s 263s --ks-provider-arg Value to pass into the constructor of the JCA Provider 263s class specified by --ks-provider-class. The value is 263s passed into the constructor as java.lang.String. By 263s default, the no-arg provider's constructor is used. 263s 263s --key Load private key from the specified file. If the key is 263s password-protected, the password will be prompted via 263s standard input unless specified otherwise using 263s --key-pass. The file must be in PKCS #8 DER format. 263s 263s --cert Load certificate chain from the specified file. The file 263s must be in X.509 PEM or DER format. 263s 263s --set-installed-data Sets whether installed data associated with this previous 263s signing certificate should be trusted. This capability is 263s required to perform signing certificate rotation during an 263s upgrade on-device. Without it, the platform will not 263s permit the app data from the old signing certificate to 263s propogate to the new version. Typically this flag should 263s be set to enable signing certificate rotation and may be 263s unset later when the install base is as migrated as it 263s will be. 263s 263s --set-shared-uid Sets whether apps signed with this previous signing 263s certificate can share a UID with an app signed with the 263s new signing certificate. This is useful in situations 263s where shareUserId apps would like to change their signing 263s certificate but can not guarantee the order of updates to 263s those apps. 263s 263s --set-permission Sets whether apps signed with this previous signing 263s certificate can be granted SIGNATURE permissions defined 263s by an app signed with the new signing certificate. 263s 263s --set-rollback Sets whether the platform should allow an app to be 263s upgraded to a newer version signed with this previous 263s signing certificate. 263s WARNING: This effectively removes any benefit of signing 263s certificate rotation since a compromised key could retake 263s control of an app even after the signing certificate 263s rotation. This option should only be used if a problem is 263s encountered when attempting to rotate an older signing 263s certificate. 263s 263s --set-auth Sets whether apps signed with this previous signing 263s certificate should be granted privileged access by the 263s authenticator module using the new signing certificate. 263s 263s 263s EXAMPLES 263s 263s 1. Remove all capabilities from a previous signer in the linage: 263s $ apksigner lineage --in /path/to/existing/lineage --out /path/to/new/file \ 263s --signer --ks release.jks --set-installed-data false \ 263s --set-shared-uid false --set-permission false --set-rollback false \ 263s --set-auth false 263s 263s 2. Display details about the signing certificates and their capabilities in the lineage: 263s $ apksigner lineage --in /path/to/existing/lineage --print-certs -v 263s 263s autopkgtest [12:07:21]: test command2: -----------------------] 263s command2 PASS 263s autopkgtest [12:07:21]: test command2: - - - - - - - - - - results - - - - - - - - - - 264s autopkgtest [12:07:22]: test command3: preparing testbed 270s Reading package lists... 270s Building dependency tree... 270s Reading state information... 271s Starting pkgProblemResolver with broken count: 0 271s Starting 2 pkgProblemResolver with broken count: 0 271s Done 272s The following NEW packages will be installed: 272s autopkgtest-satdep 272s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 272s Need to get 0 B/712 B of archives. 272s After this operation, 0 B of additional disk space will be used. 272s Get:1 /tmp/autopkgtest.aARAAW/4-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [712 B] 273s Selecting previously unselected package autopkgtest-satdep. 273s (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 ... 88502 files and directories currently installed.) 273s Preparing to unpack .../4-autopkgtest-satdep.deb ... 273s Unpacking autopkgtest-satdep (0) ... 273s Setting up autopkgtest-satdep (0) ... 277s (Reading database ... 88502 files and directories currently installed.) 277s Removing autopkgtest-satdep (0) ... 277s autopkgtest [12:07:35]: test command3: apksigner rotate -h 277s autopkgtest [12:07:35]: test command3: [----------------------- 278s USAGE: apksigner rotate [options] 278s 278s This takes the provided keys and creates a SigningCertificateLineage entry linking the old to the 278s new, for use in a key rotation scenario using APK Signature Scheme v3. 278s 278s 278s GENERAL OPTIONS 278s 278s --in Input SigningCertificateLineage. This file contains a binary representation of 278s a SigningCertificateLineage object, which contains the proof-of-rotation for 278s different signing certificates. This can be used with APK Signature Scheme v3 278s to rotate the signing certificate for an APK. 278s An APK previously signed with a SigningCertificateLineage can also be 278s specified; the lineage will then be read from the signed data in the APK. 278s 278s --out File into which to put the binary representation of a 278s SigningCertificateLineage object. 278s 278s -v, --verbose Verbose output mode 278s 278s -h, --help Show help about this command and exit 278s 278s PER-SIGNER OPTIONS 278s These options specify the configuration of a particular signer. To rotate keys, two signers must be 278s specified, an old and a new. 278s 278s --old-signer The signing information for the signer from which to be rotated. This will 278s be used to sign a new entry in the SigningCertificateLineage allowing the 278s addition of the new-signer. If an input SigningCertificateLineage object was 278s provided, this signer must match the leaf descendant so that the existing 278s signing certificate history may be extended. 278s 278s --new-signer The signing information for the signer to which you want to rotate. This will 278s be the last key in the SigningCertificate object, signed by the old-signer. 278s 278s PER-SIGNER SIGNING KEY, CERTIFICATE, & CAPABILITY OPTIONS 278s There are two ways to provide the signer's private key and certificate: (1) Java 278s KeyStore (see --ks), or (2) private key file in PKCS #8 format and certificate 278s file in X.509 format (see --key and --cert). 278s 278s The --set-xx capability options allow an older signing certificate to still be 278s used in some situations on the platform even though the APK is now being signed 278s by a newer signing certificate. By default, the new signer will have all 278s capabilities, but the capability options can be specified for the new signer 278s during rotation to act as a default level of trust when moving to a newer 278s signing certificate.The capability options accept an optional boolean value of 278s true or false; if this value is not specified then the option will default to 278s true. 278s 278s 278s --ks Load private key and certificate chain from the Java 278s KeyStore initialized from the specified file. NONE means 278s no file is needed by KeyStore, which is the case for some 278s PKCS #11 KeyStores. 278s 278s --ks-key-alias Alias under which the private key and certificate are 278s stored in the KeyStore. This must be specified if the 278s KeyStore contains multiple keys. 278s 278s --ks-pass KeyStore password (see --ks). The following formats are 278s supported: 278s pass: password provided inline 278s env: password provided in the named 278s environment variable 278s file: password provided in the named 278s file, as a single line 278s stdin password provided on standard input, 278s as a single line 278s A password is required to open a KeyStore. 278s By default, the tool will prompt for password via console 278s or standard input. 278s When the same file (including standard input) is used for 278s providing multiple passwords, the passwords are read from 278s the file one line at a time. Passwords are read in the 278s order of old-signer then new-signer and, within each 278s signer, KeyStore password is read before the key password 278s is read. 278s 278s --key-pass Password with which the private key is protected. 278s The following formats are supported: 278s pass: password provided inline 278s env: password provided in the named 278s environment variable 278s file: password provided in the named 278s file, as a single line 278s stdin password provided on standard input, 278s as a single line 278s If --key-pass is not specified for a KeyStore key, this 278s tool will attempt to load the key using the KeyStore 278s password and, if that fails, will prompt for key password 278s and attempt to load the key using that password. 278s If --key-pass is not specified for a private key file key, 278s this tool will prompt for key password only if a password 278s is required. 278s When the same file (including standard input) is used for 278s providing multiple passwords, the passwords are read from 278s the file one line at a time. Passwords are read in the 278s order of old-signer then new-signer and, within each 278s signer, KeyStore password is read before the key password 278s is read. 278s 278s --pass-encoding Additional character encoding (e.g., ibm437 or utf-8) to 278s try for passwords containing non-ASCII characters. 278s KeyStores created by keytool are often encrypted not using 278s the Unicode form of the password but rather using the form 278s produced by encoding the password using the console's 278s character encoding. apksigner by default tries to decrypt 278s using several forms of the password: the Unicode form, the 278s form encoded using the JVM default charset, and, on Java 8 278s and older, the form encoded using the console's charset. 278s On Java 9, apksigner cannot detect the console's charset 278s and may need to be provided with --pass-encoding when a 278s non-ASCII password is used. --pass-encoding may also need 278s to be provided for a KeyStore created by keytool on a 278s different OS or in a different locale. 278s 278s --ks-type Type/algorithm of KeyStore to use. By default, the default 278s type is used. 278s 278s --ks-provider-name Name of the JCA Provider from which to request the 278s KeyStore implementation. By default, the highest priority 278s provider is used. See --ks-provider-class for the 278s alternative way to specify a provider. 278s 278s --ks-provider-class Fully-qualified class name of the JCA Provider from which 278s to request the KeyStore implementation. By default, the 278s provider is chosen based on --ks-provider-name. 278s 278s --ks-provider-arg Value to pass into the constructor of the JCA Provider 278s class specified by --ks-provider-class. The value is 278s passed into the constructor as java.lang.String. By 278s default, the no-arg provider's constructor is used. 278s 278s --key Load private key from the specified file. If the key is 278s password-protected, the password will be prompted via 278s standard input unless specified otherwise using 278s --key-pass. The file must be in PKCS #8 DER format. 278s 278s --cert Load certificate chain from the specified file. The file 278s must be in X.509 PEM or DER format. 278s 278s --set-installed-data Sets whether installed data associated with this previous 278s signing certificate should be trusted. This capability is 278s required to perform signing certificate rotation during an 278s upgrade on-device. Without it, the platform will not 278s permit the app data from the old signing certificate to 278s propogate to the new version. Typically this flag should 278s be set to enable signing certificate rotation and may be 278s unset later when the install base is as migrated as it 278s will be. 278s 278s --set-shared-uid Sets whether apps signed with this previous signing 278s certificate can share a UID with an app signed with the 278s new signing certificate. This is useful in situations 278s where shareUserId apps would like to change their signing 278s certificate but can not guarantee the order of updates to 278s those apps. 278s 278s --set-permission Sets whether apps signed with this previous signing 278s certificate can be granted SIGNATURE permissions defined 278s by an app signed with the new signing certificate. 278s 278s --set-rollback Sets whether the platform should allow an app to be 278s upgraded to a newer version signed with this previous 278s signing certificate. 278s WARNING: This effectively removes any benefit of signing 278s certificate rotation since a compromised key could retake 278s control of an app even after the signing certificate 278s rotation. This option should only be used if a problem is 278s encountered when attempting to rotate an older signing 278s certificate. 278s 278s --set-auth Sets whether apps signed with this previous signing 278s certificate should be granted privileged access by the 278s authenticator module using the new signing certificate. 278s 278s 278s JCA PROVIDER INSTALLATION OPTIONS 278s These options enable you to install additional Java Crypto Architecture (JCA) 278s Providers, such as PKCS #11 providers. Use --next-provider to delimit options of 278s different providers. Providers are installed in the order in which they appear 278s on the command-line. 278s 278s --provider-class Fully-qualified class name of the JCA Provider. 278s 278s --provider-arg Value to pass into the constructor of the JCA Provider 278s class specified by --provider-class. The value is passed 278s into the constructor as java.lang.String. By default, the 278s no-arg provider's constructor is used. 278s 278s --provider-pos Position / priority at which to install this provider in 278s the JCA provider list. By default, the provider is 278s installed as the lowest priority provider. 278s See java.security.Security.insertProviderAt. 278s 278s EXAMPLES 278s 278s 1. Create a new SigningCertificateLineage to enable rotation: 278s $ apksigner rotate --out /path/to/new/file --old-signer --ks release.jks \ 278s --new-signer --ks release2.jks 278s 278s 2. Extend an existing SigningCertificateLineage to rotate again after previous rotation: 278s $ apksigner rotate --in /path/to/existing/lineage --out /path/to/new/file \ 278s --old-signer --ks release2.jks --new-signer --ks release3.jks 278s 278s 3. Create a new SigningCertificateLineage with explicit capabilities for the previous signer: 278s $ apksigner rotate --out /path/to/new/file --old-signer --ks release.jks \ 278s --set-installed-data true --set-shared-uid true --set-permission true --set-rollback false \ 278s --set-auth true --new-signer --ks release2.jks 279s autopkgtest [12:07:37]: test command3: -----------------------] 279s command3 PASS 279s autopkgtest [12:07:37]: test command3: - - - - - - - - - - results - - - - - - - - - - 280s autopkgtest [12:07:38]: test command4: preparing testbed 284s Reading package lists... 284s Building dependency tree... 284s Reading state information... 285s Starting pkgProblemResolver with broken count: 0 285s Starting 2 pkgProblemResolver with broken count: 0 285s Done 286s The following NEW packages will be installed: 286s autopkgtest-satdep 286s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 286s Need to get 0 B/712 B of archives. 286s After this operation, 0 B of additional disk space will be used. 286s Get:1 /tmp/autopkgtest.aARAAW/5-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [712 B] 287s Selecting previously unselected package autopkgtest-satdep. 287s (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 ... 88502 files and directories currently installed.) 287s Preparing to unpack .../5-autopkgtest-satdep.deb ... 287s Unpacking autopkgtest-satdep (0) ... 287s Setting up autopkgtest-satdep (0) ... 292s (Reading database ... 88502 files and directories currently installed.) 292s Removing autopkgtest-satdep (0) ... 293s autopkgtest [12:07:51]: test command4: apksigner sign -h 293s autopkgtest [12:07:51]: test command4: [----------------------- 294s USAGE: apksigner sign [options] apk 294s 294s This signs the provided APK, stripping out any pre-existing signatures. Signing 294s is performed using one or more signers, each represented by an asymmetric key 294s pair and a corresponding certificate. Typically, an APK is signed by just one 294s signer. For each signer, you need to provide the signer's private key and 294s certificate. 294s 294s 294s GENERAL OPTIONS 294s 294s --in Input APK file to sign. This is an alternative to 294s specifying the APK as the very last parameter, after all 294s options. Unless --out is specified, this file will be 294s overwritten with the resulting signed APK. 294s 294s --out File into which to output the signed APK. By default, the 294s APK is signed in-place, overwriting the input file. 294s 294s -v, --verbose Verbose output mode 294s 294s --v1-signing-enabled Whether to enable signing using JAR signing scheme (aka v1 294s signing scheme) used in Android since day one. By default, 294s signing using this scheme is enabled based on min and max 294s SDK version (see --min-sdk-version and --max-sdk-version). 294s 294s --v2-signing-enabled Whether to enable signing using APK Signature Scheme v2 294s (aka v2 signing scheme) introduced in Android Nougat, 294s API Level 24. By default, signing using this scheme is 294s enabled based on min and max SDK version (see 294s --min-sdk-version and --max-sdk-version). 294s 294s --v3-signing-enabled Whether to enable signing using APK Signature Scheme v3 294s (aka v3 signing scheme) introduced in Android P, 294s API Level 28. By default, signing using this scheme is 294s enabled based on min and max SDK version (see 294s --min-sdk-version and --max-sdk-version). Multiple 294s signers are not supported when using v3 signing, but 294s multiple signers may be provided in conjunction with the 294s "lineage" option to make sure that the app is signed by 294s an appropriate signer on all supported platform versions. 294s 294s --v4-signing-enabled Whether to enable signing using APK Signature Scheme v4 294s (aka v4 signing scheme) introduced in Android 11, 294s API Level 30. By default, signing using this scheme is 294s enabled based on min and max SDK version (see 294s --min-sdk-version and --max-sdk-version). 294s 294s --force-stamp-overwrite Whether to overwrite existing source stamp in the 294s APK, if found. By default, it is set to false. It has no 294s effect if no source stamp signer config is provided. 294s 294s --verity-enabled Whether to enable the verity signature algorithm for the 294s v2 and v3 signature schemes. 294s 294s --min-sdk-version Lowest API Level on which this APK's signatures will be 294s verified. By default, the value from AndroidManifest.xml 294s is used. The higher the value, the stronger security 294s parameters are used when signing. 294s 294s --max-sdk-version Highest API Level on which this APK's signatures will be 294s verified. By default, the highest possible value is used. 294s 294s --debuggable-apk-permitted Whether to permit signing android:debuggable="true" 294s APKs. Android disables some of its security protections 294s for such apps. For example, anybody with ADB shell access 294s can execute arbitrary code in the context of a debuggable 294s app and can read/write persistently stored data of the 294s app. It is a good security practice to not sign 294s debuggable APKs with production signing keys, because 294s such APKs puts users at risk once leaked. 294s By default, signing debuggable APKs is permitted, for 294s backward compatibility with older apksigner versions. 294s 294s --lineage Signing certificate history to use in the event that 294s signing certificates changed for an APK using APK 294s Signature Scheme v3 supported signing certificate 294s rotation. This object may be created by the apksigner 294s "rotate" command. If used, all signers used to sign the 294s APK must be present in the signing lineage, 294s and if v1 or v2 signing is enabled, the first (oldest) 294s entry in the lineage must have a signer provided, so that 294s it can be used for those v1 and/or v2 signing. Multiple 294s signers are not supported when using APK Signature Scheme 294s v3, so multiple signers input will correspond to different 294s points in the lineage and will be used on older platform 294s versions when the newest signer in the lineage is 294s unsupported. 294s An APK previously signed with a SigningCertificateLineage 294s can also be specified; the lineage will then be read from 294s the signed data in the APK. 294s 294s -h, --help Show help about this command and exit 294s 294s 294s PER-SIGNER OPTIONS 294s These options specify the configuration of a particular signer. To delimit 294s options of different signers, use --next-signer. 294s 294s --next-signer Delimits options of two different signers. There is no 294s need to use this option when only one signer is used. 294s 294s --v1-signer-name Basename for files comprising the JAR signature scheme 294s (aka v1 scheme) signature of this signer. By default, 294s KeyStore key alias or basename of key file is used. 294s 294s --stamp-signer The signing information for the signer of the source stamp 294s to be included in the APK. 294s 294s PER-SIGNER SIGNING KEY & CERTIFICATE OPTIONS 294s There are two ways to provide the signer's private key and certificate: (1) Java 294s KeyStore (see --ks), or (2) private key file in PKCS #8 format and certificate 294s file in X.509 format (see --key and --cert). 294s 294s --ks Load private key and certificate chain from the Java 294s KeyStore initialized from the specified file. NONE means 294s no file is needed by KeyStore, which is the case for some 294s PKCS #11 KeyStores. 294s 294s --ks-key-alias Alias under which the private key and certificate are 294s stored in the KeyStore. This must be specified if the 294s KeyStore contains multiple keys. 294s 294s --ks-pass KeyStore password (see --ks). The following formats are 294s supported: 294s pass: password provided inline 294s env: password provided in the named 294s environment variable 294s file: password provided in the named 294s file, as a single line 294s stdin password provided on standard input, 294s as a single line 294s A password is required to open a KeyStore. 294s By default, the tool will prompt for password via console 294s or standard input. 294s When the same file (including standard input) is used for 294s providing multiple passwords, the passwords are read from 294s the file one line at a time. Passwords are read in the 294s order in which signers are specified and, within each 294s signer, KeyStore password is read before the key password 294s is read. 294s 294s --key-pass Password with which the private key is protected. 294s The following formats are supported: 294s pass: password provided inline 294s env: password provided in the named 294s environment variable 294s file: password provided in the named 294s file, as a single line 294s stdin password provided on standard input, 294s as a single line 294s If --key-pass is not specified for a KeyStore key, this 294s tool will attempt to load the key using the KeyStore 294s password and, if that fails, will prompt for key password 294s and attempt to load the key using that password. 294s If --key-pass is not specified for a private key file key, 294s this tool will prompt for key password only if a password 294s is required. 294s When the same file (including standard input) is used for 294s providing multiple passwords, the passwords are read from 294s the file one line at a time. Passwords are read in the 294s order in which signers are specified and, within each 294s signer, KeyStore password is read before the key password 294s is read. 294s 294s --pass-encoding Additional character encoding (e.g., ibm437 or utf-8) to 294s try for passwords containing non-ASCII characters. 294s KeyStores created by keytool are often encrypted not using 294s the Unicode form of the password but rather using the form 294s produced by encoding the password using the console's 294s character encoding. apksigner by default tries to decrypt 294s using several forms of the password: the Unicode form, the 294s form encoded using the JVM default charset, and, on Java 8 294s and older, the form encoded using the console's charset. 294s On Java 9, apksigner cannot detect the console's charset 294s and may need to be provided with --pass-encoding when a 294s non-ASCII password is used. --pass-encoding may also need 294s to be provided for a KeyStore created by keytool on a 294s different OS or in a different locale. 294s 294s --ks-type Type/algorithm of KeyStore to use. By default, the default 294s type is used. 294s 294s --ks-provider-name Name of the JCA Provider from which to request the 294s KeyStore implementation. By default, the highest priority 294s provider is used. See --ks-provider-class for the 294s alternative way to specify a provider. 294s 294s --ks-provider-class Fully-qualified class name of the JCA Provider from which 294s to request the KeyStore implementation. By default, the 294s provider is chosen based on --ks-provider-name. 294s 294s --ks-provider-arg Value to pass into the constructor of the JCA Provider 294s class specified by --ks-provider-class. The value is 294s passed into the constructor as java.lang.String. By 294s default, the no-arg provider's constructor is used. 294s 294s --key Load private key from the specified file. If the key is 294s password-protected, the password will be prompted via 294s standard input unless specified otherwise using 294s --key-pass. The file must be in PKCS #8 DER format. 294s 294s --cert Load certificate chain from the specified file. The file 294s must be in X.509 PEM or DER format. 294s 294s 294s JCA PROVIDER INSTALLATION OPTIONS 294s These options enable you to install additional Java Crypto Architecture (JCA) 294s Providers, such as PKCS #11 providers. Use --next-provider to delimit options of 294s different providers. Providers are installed in the order in which they appear 294s on the command-line. 294s 294s --provider-class Fully-qualified class name of the JCA Provider. 294s 294s --provider-arg Value to pass into the constructor of the JCA Provider 294s class specified by --provider-class. The value is passed 294s into the constructor as java.lang.String. By default, the 294s no-arg provider's constructor is used. 294s 294s --provider-pos Position / priority at which to install this provider in 294s the JCA provider list. By default, the provider is 294s installed as the lowest priority provider. 294s See java.security.Security.insertProviderAt. 294s 294s 294s EXAMPLES 294s 294s 1. Sign an APK, in-place, using the one and only key in keystore release.jks: 294s $ apksigner sign --ks release.jks app.apk 294s 294s 1. Sign an APK, without overwriting, using the one and only key in keystore 294s release.jks: 294s $ apksigner sign --ks release.jks --in app.apk --out app-signed.apk 294s 294s 3. Sign an APK using a private key and certificate stored as individual files: 294s $ apksigner sign --key release.pk8 --cert release.x509.pem app.apk 294s 294s 4. Sign an APK using two keys: 294s $ apksigner sign --ks release.jks --next-signer --ks magic.jks app.apk 294s 294s 5. Sign an APK using PKCS #11 JCA Provider: 294s $ apksigner sign --provider-class sun.security.pkcs11.SunPKCS11 \ 294s --provider-arg token.cfg --ks NONE --ks-type PKCS11 app.apk 294s 294s 6. Sign an APK using a non-ASCII password KeyStore created on English Windows. 294s The --pass-encoding parameter is not needed if apksigner is being run on 294s English Windows with Java 8 or older. 294s $ apksigner sign --ks release.jks --pass-encoding ibm437 app.apk 294s 294s 7. Sign an APK on Windows using a non-ASCII password KeyStore created on a 294s modern OSX or Linux machine: 294s $ apksigner sign --ks release.jks --pass-encoding utf-8 app.apk 294s 294s 8. Sign an APK with rotated signing certificate: 294s $ apksigner sign --ks release.jks --next-signer --ks release2.jks \ 294s --lineage /path/to/signing/history/lineage app.apk 294s autopkgtest [12:07:52]: test command4: -----------------------] 295s command4 PASS 295s autopkgtest [12:07:53]: test command4: - - - - - - - - - - results - - - - - - - - - - 295s autopkgtest [12:07:53]: test command5: preparing testbed 297s Reading package lists... 298s Building dependency tree... 298s Reading state information... 298s Starting pkgProblemResolver with broken count: 0 298s Starting 2 pkgProblemResolver with broken count: 0 298s Done 299s The following NEW packages will be installed: 299s autopkgtest-satdep 299s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 299s Need to get 0 B/712 B of archives. 299s After this operation, 0 B of additional disk space will be used. 299s Get:1 /tmp/autopkgtest.aARAAW/6-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [712 B] 300s Selecting previously unselected package autopkgtest-satdep. 300s (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 ... 88502 files and directories currently installed.) 300s Preparing to unpack .../6-autopkgtest-satdep.deb ... 300s Unpacking autopkgtest-satdep (0) ... 300s Setting up autopkgtest-satdep (0) ... 304s (Reading database ... 88502 files and directories currently installed.) 304s Removing autopkgtest-satdep (0) ... 305s autopkgtest [12:08:03]: test command5: apksigner verify -h 305s autopkgtest [12:08:03]: test command5: [----------------------- 306s USAGE: apksigner verify [options] apk 306s 306s This checks whether the provided APK will verify on Android. By default, this 306s checks whether the APK will verify on all Android platform versions supported 306s by the APK (as declared using minSdkVersion in AndroidManifest.xml). Use 306s --min-sdk-version and/or --max-sdk-version to verify the APK against a custom 306s range of API Levels. 306s 306s 306s OPTIONS 306s 306s --print-certs Show information about the APK's signing certificates 306s 306s -v, --verbose Verbose output mode 306s 306s --min-sdk-version Lowest API Level on which this APK's signatures will be 306s verified. By default, the value from AndroidManifest.xml 306s is used. 306s 306s --max-sdk-version Highest API Level on which this APK's signatures will be 306s verified. By default, the highest possible value is used. 306s 306s -Werr Treat warnings as errors 306s 306s --in APK file to verify. This is an alternative to specifying 306s the APK as the very last parameter, after all options. 306s 306s -h, --help Show help about this command and exit 306s 306s 306s EXAMPLES 306s 306s 1. Check whether the APK's signatures are expected to verify on all Android 306s platforms declared as supported by this APK: 306s $ apksigner verify app.apk 306s 306s 2. Check whether the APK's signatures are expected to verify on Android 306s platforms with API Level 15 and higher: 306s $ apksigner verify --min-sdk-version 15 app.apk 306s autopkgtest [12:08:04]: test command5: -----------------------] 306s command5 PASS 306s autopkgtest [12:08:04]: test command5: - - - - - - - - - - results - - - - - - - - - - 307s autopkgtest [12:08:05]: @@@@@@@@@@@@@@@@@@@@ summary 307s ApkVerifierTest.sh PASS 307s command1 PASS 307s command2 PASS 307s command3 PASS 307s command4 PASS 307s command5 PASS 319s Creating nova instance adt-noble-arm64-android-platform-tools-apksig-20240319-120258-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240319.img (UUID 821fd622-e452-4ae8-b5c8-959e73b1612a)...