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