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