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