0s autopkgtest [13:47:07]: starting date and time: 2024-03-25 13:47:07+0000 0s autopkgtest [13:47:07]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [13:47:07]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.lqc34a93/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 --apt-upgrade android-platform-tools-apksig --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=alsa-lib/1.2.11-1build1 at-spi2-core/2.51.90-3 cups/2.4.7-1.2ubuntu1 glib2.0/2.79.3-3ubuntu5 gnutls28/3.8.3-1.1ubuntu2 gtk+3.0/3.24.41-1.1ubuntu3 libpng1.6/1.6.43-3 nettle/3.9.1-2.2 openjdk-23/23~15ea-1 wp2latex/4.4~ds-1build1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos01-arm64-9.secgroup --name adt-noble-arm64-android-platform-tools-apksig-20240325-134706-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://us.ports.ubuntu.com/ubuntu-ports/ 419s autopkgtest [13:54:06]: testbed dpkg architecture: arm64 420s autopkgtest [13:54:07]: testbed apt version: 2.7.12 420s autopkgtest [13:54:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 421s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 422s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [56.8 kB] 422s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3987 kB] 422s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [498 kB] 422s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [7608 B] 422s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [713 kB] 422s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 422s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [39.7 kB] 422s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 422s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [4352 kB] 423s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 423s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [71.0 kB] 423s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 431s Fetched 9853 kB in 4s (2608 kB/s) 432s Reading package lists... 436s Reading package lists... 437s Building dependency tree... 437s Reading state information... 438s Calculating upgrade... 439s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 439s Reading package lists... 440s Building dependency tree... 440s Reading state information... 442s 0 upgraded, 0 newly installed, 0 to remove and 247 not upgraded. 444s sh: Attempting to set up Debian/Ubuntu apt sources automatically 444s sh: Distribution appears to be Ubuntu 449s Reading package lists... 450s Building dependency tree... 450s Reading state information... 452s eatmydata is already the newest version (131-1). 452s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 452s Reading package lists... 452s Building dependency tree... 452s Reading state information... 454s dbus is already the newest version (1.14.10-4ubuntu1). 454s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 454s Reading package lists... 454s Building dependency tree... 454s Reading state information... 456s rng-tools-debian is already the newest version (2.4). 456s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 456s Reading package lists... 456s Building dependency tree... 456s Reading state information... 459s The following packages will be REMOVED: 459s cloud-init* python3-configobj* python3-debconf* 460s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 460s After this operation, 3256 kB disk space will be freed. 461s (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 ... 75911 files and directories currently installed.) 461s Removing cloud-init (24.1.2-0ubuntu1) ... 462s Removing python3-configobj (5.0.8-3) ... 462s Removing python3-debconf (1.5.86) ... 463s Processing triggers for man-db (2.12.0-3) ... 464s (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 ... 75522 files and directories currently installed.) 465s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ... 467s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 467s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 467s invoke-rc.d: policy-rc.d denied execution of try-restart. 467s Reading package lists... 468s Building dependency tree... 468s Reading state information... 469s linux-generic is already the newest version (6.8.0-11.11+1). 469s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 470s Get:1 http://ftpmaster.internal/ubuntu noble InRelease [255 kB] 470s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 470s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 471s Get:4 http://ftpmaster.internal/ubuntu noble/universe Sources [19.8 MB] 472s Get:5 http://ftpmaster.internal/ubuntu noble/multiverse Sources [294 kB] 472s Get:6 http://ftpmaster.internal/ubuntu noble/main Sources [1383 kB] 472s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 Packages [1415 kB] 472s Get:8 http://ftpmaster.internal/ubuntu noble/universe arm64 Packages [15.0 MB] 473s Get:9 http://ftpmaster.internal/ubuntu noble/multiverse arm64 Packages [196 kB] 483s Fetched 38.3 MB in 8s (4664 kB/s) 486s Reading package lists... 486s Reading package lists... 486s Building dependency tree... 486s Reading state information... 487s Calculating upgrade... 488s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 488s Reading package lists... 488s Building dependency tree... 488s Reading state information... 490s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 490s autopkgtest [13:55:17]: rebooting testbed after setup commands that affected boot 663s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 671s autopkgtest [13:58:18]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 675s autopkgtest [13:58:22]: @@@@@@@@@@@@@@@@@@@@ apt-source android-platform-tools-apksig 678s Get:1 http://ftpmaster.internal/ubuntu noble/universe android-platform-tools-apksig 31.0.2-1ubuntu1 (dsc) [2332 B] 678s Get:2 http://ftpmaster.internal/ubuntu noble/universe android-platform-tools-apksig 31.0.2-1ubuntu1 (tar) [3001 kB] 678s Get:3 http://ftpmaster.internal/ubuntu noble/universe android-platform-tools-apksig 31.0.2-1ubuntu1 (diff) [12.5 kB] 679s gpgv: Signature made Thu Mar 7 20:07:46 2024 UTC 679s gpgv: using RSA key 2D1EBEDD7CBF5B7CB43AD1861EBA9FDA32EAAF63 679s gpgv: Can't check signature: No public key 679s dpkg-source: warning: cannot verify inline signature for ./android-platform-tools-apksig_31.0.2-1ubuntu1.dsc: no acceptable signature found 679s autopkgtest [13:58:26]: testing package android-platform-tools-apksig version 31.0.2-1ubuntu1 680s autopkgtest [13:58:27]: build not needed 681s autopkgtest [13:58:28]: test ApkVerifierTest.sh: preparing testbed 683s Reading package lists... 683s Building dependency tree... 683s Reading state information... 684s Starting pkgProblemResolver with broken count: 0 684s Starting 2 pkgProblemResolver with broken count: 0 684s Done 686s The following additional packages will be installed: 686s adwaita-icon-theme apksigner at-spi2-common ca-certificates-java default-jre 686s default-jre-headless fontconfig fontconfig-config fonts-dejavu-core 686s fonts-dejavu-mono gtk-update-icon-cache hicolor-icon-theme 686s humanity-icon-theme java-common libapksig-java libasound2 libasound2-data 686s libatk1.0-0 libavahi-client3 libavahi-common-data libavahi-common3 libcairo2 686s libcups2 libdatrie1 libdeflate0 libdrm-amdgpu1 libdrm-nouveau2 686s libdrm-radeon1 libfontconfig1 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common 686s libgif7 libgl1 libgl1-mesa-dri libglapi-mesa libglvnd0 libglx-mesa0 libglx0 686s libgraphite2-3 libgtk2.0-0 libgtk2.0-common libharfbuzz0b libjbig0 686s libjpeg-turbo8 libjpeg8 liblcms2-2 liblerc4 libllvm17 libpango-1.0-0 686s libpangocairo-1.0-0 libpangoft2-1.0-0 libpcsclite1 libpixman-1-0 686s libsharpyuv0 libthai-data libthai0 libtiff6 libvulkan1 libwebp7 libx11-xcb1 686s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 686s libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcomposite1 686s libxcursor1 libxdamage1 libxfixes3 libxi6 libxinerama1 libxrandr2 686s libxrender1 libxshmfence1 libxtst6 libxxf86vm1 openjdk-21-jre 686s openjdk-21-jre-headless ubuntu-mono x11-common 686s Suggested packages: 686s libasound2-plugins alsa-utils cups-common gvfs liblcms2-utils pcscd 686s libnss-mdns fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho 686s fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic 686s Recommended packages: 686s librsvg2-common alsa-ucm-conf alsa-topology-conf libgdk-pixbuf2.0-bin 686s libgl1-amber-dri libgail-common libgtk2.0-bin mesa-vulkan-drivers 686s | vulkan-icd libatk-wrapper-java-jni fonts-dejavu-extra 686s The following NEW packages will be installed: 686s adwaita-icon-theme apksigner at-spi2-common autopkgtest-satdep 686s ca-certificates-java default-jre default-jre-headless fontconfig 686s fontconfig-config fonts-dejavu-core fonts-dejavu-mono gtk-update-icon-cache 686s hicolor-icon-theme humanity-icon-theme java-common libapksig-java libasound2 686s libasound2-data libatk1.0-0 libavahi-client3 libavahi-common-data 686s libavahi-common3 libcairo2 libcups2 libdatrie1 libdeflate0 libdrm-amdgpu1 686s libdrm-nouveau2 libdrm-radeon1 libfontconfig1 libgdk-pixbuf-2.0-0 686s libgdk-pixbuf2.0-common libgif7 libgl1 libgl1-mesa-dri libglapi-mesa 686s libglvnd0 libglx-mesa0 libglx0 libgraphite2-3 libgtk2.0-0 libgtk2.0-common 686s libharfbuzz0b libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 liblerc4 libllvm17 686s libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpcsclite1 686s libpixman-1-0 libsharpyuv0 libthai-data libthai0 libtiff6 libvulkan1 686s libwebp7 libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 686s libxcb-randr0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 686s libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxi6 libxinerama1 686s libxrandr2 libxrender1 libxshmfence1 libxtst6 libxxf86vm1 openjdk-21-jre 686s openjdk-21-jre-headless ubuntu-mono x11-common 686s 0 upgraded, 85 newly installed, 0 to remove and 0 not upgraded. 686s Need to get 90.9 MB/90.9 MB of archives. 686s After this operation, 424 MB of additional disk space will be used. 686s Get:1 /tmp/autopkgtest.OtznKu/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [716 B] 686s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 libgdk-pixbuf2.0-common all 2.42.10+dfsg-3 [7624 B] 686s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg-turbo8 arm64 2.1.5-2ubuntu1 [160 kB] 686s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 libjpeg8 arm64 8c-2ubuntu11 [2148 B] 686s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 libdeflate0 arm64 1.19-1 [43.4 kB] 686s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libjbig0 arm64 2.1-6.1ubuntu1 [28.9 kB] 686s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 liblerc4 arm64 4.0.0+ds-4ubuntu1 [153 kB] 687s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libsharpyuv0 arm64 1.3.2-0.4 [14.4 kB] 687s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libwebp7 arm64 1.3.2-0.4 [191 kB] 687s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libtiff6 arm64 4.5.1+git230720-3ubuntu1 [226 kB] 687s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 libgdk-pixbuf-2.0-0 arm64 2.42.10+dfsg-3 [144 kB] 687s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 gtk-update-icon-cache arm64 3.24.40-2ubuntu1 [50.5 kB] 687s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 hicolor-icon-theme all 0.17-2 [9976 B] 687s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 humanity-icon-theme all 0.6.16 [1282 kB] 687s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 ubuntu-mono all 24.04-0ubuntu1 [151 kB] 687s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 adwaita-icon-theme all 46~rc-1 [723 kB] 687s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 ca-certificates-java all 20240118 [11.6 kB] 687s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 java-common all 0.75+exp1 [6798 B] 687s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libavahi-common-data arm64 0.8-13ubuntu2 [29.5 kB] 687s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libavahi-common3 arm64 0.8-13ubuntu2 [23.2 kB] 687s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libavahi-client3 arm64 0.8-13ubuntu2 [27.3 kB] 687s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libcups2 arm64 2.4.6-0ubuntu3 [270 kB] 687s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 liblcms2-2 arm64 2.14-2 [159 kB] 687s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 fonts-dejavu-mono all 2.37-8 [502 kB] 687s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 fonts-dejavu-core all 2.37-8 [835 kB] 687s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 fontconfig-config arm64 2.15.0-1ubuntu1 [37.0 kB] 687s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 libfontconfig1 arm64 2.15.0-1ubuntu1 [142 kB] 687s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libasound2-data all 1.2.10-3build1 [20.7 kB] 687s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libasound2 arm64 1.2.10-3build1 [386 kB] 687s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 libgraphite2-3 arm64 1.3.14-2 [81.5 kB] 687s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 libharfbuzz0b arm64 8.3.0-2 [463 kB] 687s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 libpcsclite1 arm64 2.0.0-1 [21.2 kB] 687s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 openjdk-21-jre-headless arm64 21.0.2+13-2 [45.8 MB] 688s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 default-jre-headless arm64 2:1.21-75+exp1 [3096 B] 688s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libgtk2.0-common all 2.24.33-2ubuntu2 [125 kB] 688s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 at-spi2-common all 2.50.0-1 [7864 B] 688s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libatk1.0-0 arm64 2.50.0-1 [53.8 kB] 688s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libpixman-1-0 arm64 0.42.2-1 [193 kB] 688s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-render0 arm64 1.15-1 [16.1 kB] 688s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-shm0 arm64 1.15-1 [5780 B] 688s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libxrender1 arm64 1:0.9.10-1.1 [19.1 kB] 688s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libcairo2 arm64 1.18.0-1 [550 kB] 688s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 fontconfig arm64 2.15.0-1ubuntu1 [190 kB] 688s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libthai-data all 0.1.29-2 [158 kB] 688s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libdatrie1 arm64 0.2.13-3 [21.7 kB] 688s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libthai0 arm64 0.1.29-2 [18.1 kB] 688s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 libpango-1.0-0 arm64 1.51.0+ds-4 [226 kB] 688s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libpangoft2-1.0-0 arm64 1.51.0+ds-4 [41.2 kB] 688s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libpangocairo-1.0-0 arm64 1.51.0+ds-4 [27.6 kB] 688s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 libxcomposite1 arm64 1:0.4.5-1build2 [7080 B] 688s Get:51 http://ftpmaster.internal/ubuntu noble/main arm64 libxfixes3 arm64 1:6.0.0-2 [11.0 kB] 688s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 libxcursor1 arm64 1:1.2.1-1 [21.3 kB] 688s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 libxdamage1 arm64 1:1.1.6-1 [6032 B] 688s Get:54 http://ftpmaster.internal/ubuntu noble/main arm64 libxi6 arm64 2:1.8.1-1 [31.9 kB] 688s Get:55 http://ftpmaster.internal/ubuntu noble/main arm64 libxinerama1 arm64 2:1.1.4-3 [7056 B] 688s Get:56 http://ftpmaster.internal/ubuntu noble/main arm64 libxrandr2 arm64 2:1.5.2-2 [19.6 kB] 688s Get:57 http://ftpmaster.internal/ubuntu noble/main arm64 libgtk2.0-0 arm64 2.24.33-2ubuntu2 [1981 kB] 688s Get:58 http://ftpmaster.internal/ubuntu noble/main arm64 libglvnd0 arm64 1.7.0-1 [60.0 kB] 688s Get:59 http://ftpmaster.internal/ubuntu noble/main arm64 libglapi-mesa arm64 24.0.1-1ubuntu1 [57.8 kB] 688s Get:60 http://ftpmaster.internal/ubuntu noble/main arm64 libx11-xcb1 arm64 2:1.8.7-1 [7836 B] 688s Get:61 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri2-0 arm64 1.15-1 [7244 B] 688s Get:62 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri3-0 arm64 1.15-1 [7108 B] 688s Get:63 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-glx0 arm64 1.15-1 [25.2 kB] 688s Get:64 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-present0 arm64 1.15-1 [5732 B] 688s Get:65 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-randr0 arm64 1.15-1 [18.2 kB] 688s Get:66 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-sync1 arm64 1.15-1 [9412 B] 688s Get:67 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-xfixes0 arm64 1.15-1 [10.3 kB] 688s Get:68 http://ftpmaster.internal/ubuntu noble/main arm64 libxshmfence1 arm64 1.3-1build4 [5444 B] 688s Get:69 http://ftpmaster.internal/ubuntu noble/main arm64 libxxf86vm1 arm64 1:1.1.4-1build3 [10.3 kB] 688s Get:70 http://ftpmaster.internal/ubuntu noble/main arm64 libvulkan1 arm64 1.3.275.0-1 [150 kB] 688s Get:71 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-amdgpu1 arm64 2.4.120-2 [20.4 kB] 688s Get:72 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-nouveau2 arm64 2.4.120-2 [17.8 kB] 688s Get:73 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-radeon1 arm64 2.4.120-2 [20.9 kB] 688s Get:74 http://ftpmaster.internal/ubuntu noble/main arm64 libllvm17 arm64 1:17.0.6-5build1 [25.0 MB] 689s Get:75 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1-mesa-dri arm64 24.0.1-1ubuntu1 [8226 kB] 689s Get:76 http://ftpmaster.internal/ubuntu noble/main arm64 libglx-mesa0 arm64 24.0.1-1ubuntu1 [166 kB] 689s Get:77 http://ftpmaster.internal/ubuntu noble/main arm64 libglx0 arm64 1.7.0-1 [32.4 kB] 689s Get:78 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1 arm64 1.7.0-1 [107 kB] 689s Get:79 http://ftpmaster.internal/ubuntu noble/main arm64 libgif7 arm64 5.2.1-2.5 [34.2 kB] 689s Get:80 http://ftpmaster.internal/ubuntu noble/main arm64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] 689s Get:81 http://ftpmaster.internal/ubuntu noble/main arm64 libxtst6 arm64 2:1.2.3-1.1 [13.7 kB] 689s Get:82 http://ftpmaster.internal/ubuntu noble/main arm64 openjdk-21-jre arm64 21.0.2+13-2 [226 kB] 689s Get:83 http://ftpmaster.internal/ubuntu noble/main arm64 default-jre arm64 2:1.21-75+exp1 [922 B] 689s Get:84 http://ftpmaster.internal/ubuntu noble/universe arm64 libapksig-java all 31.0.2-1ubuntu1 [406 kB] 689s Get:85 http://ftpmaster.internal/ubuntu noble/universe arm64 apksigner all 31.0.2-1ubuntu1 [444 kB] 691s Fetched 90.9 MB in 3s (28.1 MB/s) 691s Selecting previously unselected package libgdk-pixbuf2.0-common. 691s (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 ... 75467 files and directories currently installed.) 691s Preparing to unpack .../00-libgdk-pixbuf2.0-common_2.42.10+dfsg-3_all.deb ... 691s Unpacking libgdk-pixbuf2.0-common (2.42.10+dfsg-3) ... 691s Selecting previously unselected package libjpeg-turbo8:arm64. 691s Preparing to unpack .../01-libjpeg-turbo8_2.1.5-2ubuntu1_arm64.deb ... 691s Unpacking libjpeg-turbo8:arm64 (2.1.5-2ubuntu1) ... 691s Selecting previously unselected package libjpeg8:arm64. 691s Preparing to unpack .../02-libjpeg8_8c-2ubuntu11_arm64.deb ... 691s Unpacking libjpeg8:arm64 (8c-2ubuntu11) ... 691s Selecting previously unselected package libdeflate0:arm64. 691s Preparing to unpack .../03-libdeflate0_1.19-1_arm64.deb ... 691s Unpacking libdeflate0:arm64 (1.19-1) ... 691s Selecting previously unselected package libjbig0:arm64. 691s Preparing to unpack .../04-libjbig0_2.1-6.1ubuntu1_arm64.deb ... 691s Unpacking libjbig0:arm64 (2.1-6.1ubuntu1) ... 692s Selecting previously unselected package liblerc4:arm64. 692s Preparing to unpack .../05-liblerc4_4.0.0+ds-4ubuntu1_arm64.deb ... 692s Unpacking liblerc4:arm64 (4.0.0+ds-4ubuntu1) ... 692s Selecting previously unselected package libsharpyuv0:arm64. 692s Preparing to unpack .../06-libsharpyuv0_1.3.2-0.4_arm64.deb ... 692s Unpacking libsharpyuv0:arm64 (1.3.2-0.4) ... 692s Selecting previously unselected package libwebp7:arm64. 692s Preparing to unpack .../07-libwebp7_1.3.2-0.4_arm64.deb ... 692s Unpacking libwebp7:arm64 (1.3.2-0.4) ... 692s Selecting previously unselected package libtiff6:arm64. 692s Preparing to unpack .../08-libtiff6_4.5.1+git230720-3ubuntu1_arm64.deb ... 692s Unpacking libtiff6:arm64 (4.5.1+git230720-3ubuntu1) ... 692s Selecting previously unselected package libgdk-pixbuf-2.0-0:arm64. 692s Preparing to unpack .../09-libgdk-pixbuf-2.0-0_2.42.10+dfsg-3_arm64.deb ... 692s Unpacking libgdk-pixbuf-2.0-0:arm64 (2.42.10+dfsg-3) ... 692s Selecting previously unselected package gtk-update-icon-cache. 692s Preparing to unpack .../10-gtk-update-icon-cache_3.24.40-2ubuntu1_arm64.deb ... 692s Unpacking gtk-update-icon-cache (3.24.40-2ubuntu1) ... 692s Selecting previously unselected package hicolor-icon-theme. 692s Preparing to unpack .../11-hicolor-icon-theme_0.17-2_all.deb ... 692s Unpacking hicolor-icon-theme (0.17-2) ... 692s Selecting previously unselected package humanity-icon-theme. 692s Preparing to unpack .../12-humanity-icon-theme_0.6.16_all.deb ... 692s Unpacking humanity-icon-theme (0.6.16) ... 694s Selecting previously unselected package ubuntu-mono. 694s Preparing to unpack .../13-ubuntu-mono_24.04-0ubuntu1_all.deb ... 694s Unpacking ubuntu-mono (24.04-0ubuntu1) ... 695s Selecting previously unselected package adwaita-icon-theme. 695s Preparing to unpack .../14-adwaita-icon-theme_46~rc-1_all.deb ... 695s Unpacking adwaita-icon-theme (46~rc-1) ... 696s Selecting previously unselected package ca-certificates-java. 696s Preparing to unpack .../15-ca-certificates-java_20240118_all.deb ... 696s Unpacking ca-certificates-java (20240118) ... 696s Selecting previously unselected package java-common. 696s Preparing to unpack .../16-java-common_0.75+exp1_all.deb ... 696s Unpacking java-common (0.75+exp1) ... 696s Selecting previously unselected package libavahi-common-data:arm64. 696s Preparing to unpack .../17-libavahi-common-data_0.8-13ubuntu2_arm64.deb ... 696s Unpacking libavahi-common-data:arm64 (0.8-13ubuntu2) ... 696s Selecting previously unselected package libavahi-common3:arm64. 696s Preparing to unpack .../18-libavahi-common3_0.8-13ubuntu2_arm64.deb ... 696s Unpacking libavahi-common3:arm64 (0.8-13ubuntu2) ... 696s Selecting previously unselected package libavahi-client3:arm64. 696s Preparing to unpack .../19-libavahi-client3_0.8-13ubuntu2_arm64.deb ... 696s Unpacking libavahi-client3:arm64 (0.8-13ubuntu2) ... 696s Selecting previously unselected package libcups2:arm64. 696s Preparing to unpack .../20-libcups2_2.4.6-0ubuntu3_arm64.deb ... 696s Unpacking libcups2:arm64 (2.4.6-0ubuntu3) ... 696s Selecting previously unselected package liblcms2-2:arm64. 696s Preparing to unpack .../21-liblcms2-2_2.14-2_arm64.deb ... 696s Unpacking liblcms2-2:arm64 (2.14-2) ... 697s Selecting previously unselected package fonts-dejavu-mono. 697s Preparing to unpack .../22-fonts-dejavu-mono_2.37-8_all.deb ... 697s Unpacking fonts-dejavu-mono (2.37-8) ... 697s Selecting previously unselected package fonts-dejavu-core. 697s Preparing to unpack .../23-fonts-dejavu-core_2.37-8_all.deb ... 697s Unpacking fonts-dejavu-core (2.37-8) ... 697s Selecting previously unselected package fontconfig-config. 697s Preparing to unpack .../24-fontconfig-config_2.15.0-1ubuntu1_arm64.deb ... 697s Unpacking fontconfig-config (2.15.0-1ubuntu1) ... 697s Selecting previously unselected package libfontconfig1:arm64. 697s Preparing to unpack .../25-libfontconfig1_2.15.0-1ubuntu1_arm64.deb ... 697s Unpacking libfontconfig1:arm64 (2.15.0-1ubuntu1) ... 697s Selecting previously unselected package libasound2-data. 697s Preparing to unpack .../26-libasound2-data_1.2.10-3build1_all.deb ... 697s Unpacking libasound2-data (1.2.10-3build1) ... 697s Selecting previously unselected package libasound2:arm64. 697s Preparing to unpack .../27-libasound2_1.2.10-3build1_arm64.deb ... 697s Unpacking libasound2:arm64 (1.2.10-3build1) ... 697s Selecting previously unselected package libgraphite2-3:arm64. 697s Preparing to unpack .../28-libgraphite2-3_1.3.14-2_arm64.deb ... 697s Unpacking libgraphite2-3:arm64 (1.3.14-2) ... 697s Selecting previously unselected package libharfbuzz0b:arm64. 697s Preparing to unpack .../29-libharfbuzz0b_8.3.0-2_arm64.deb ... 697s Unpacking libharfbuzz0b:arm64 (8.3.0-2) ... 697s Selecting previously unselected package libpcsclite1:arm64. 697s Preparing to unpack .../30-libpcsclite1_2.0.0-1_arm64.deb ... 697s Unpacking libpcsclite1:arm64 (2.0.0-1) ... 697s Selecting previously unselected package openjdk-21-jre-headless:arm64. 697s Preparing to unpack .../31-openjdk-21-jre-headless_21.0.2+13-2_arm64.deb ... 697s Unpacking openjdk-21-jre-headless:arm64 (21.0.2+13-2) ... 700s Selecting previously unselected package default-jre-headless. 700s Preparing to unpack .../32-default-jre-headless_2%3a1.21-75+exp1_arm64.deb ... 700s Unpacking default-jre-headless (2:1.21-75+exp1) ... 700s Selecting previously unselected package libgtk2.0-common. 700s Preparing to unpack .../33-libgtk2.0-common_2.24.33-2ubuntu2_all.deb ... 700s Unpacking libgtk2.0-common (2.24.33-2ubuntu2) ... 700s Selecting previously unselected package at-spi2-common. 700s Preparing to unpack .../34-at-spi2-common_2.50.0-1_all.deb ... 700s Unpacking at-spi2-common (2.50.0-1) ... 700s Selecting previously unselected package libatk1.0-0:arm64. 700s Preparing to unpack .../35-libatk1.0-0_2.50.0-1_arm64.deb ... 700s Unpacking libatk1.0-0:arm64 (2.50.0-1) ... 700s Selecting previously unselected package libpixman-1-0:arm64. 700s Preparing to unpack .../36-libpixman-1-0_0.42.2-1_arm64.deb ... 700s Unpacking libpixman-1-0:arm64 (0.42.2-1) ... 701s Selecting previously unselected package libxcb-render0:arm64. 701s Preparing to unpack .../37-libxcb-render0_1.15-1_arm64.deb ... 701s Unpacking libxcb-render0:arm64 (1.15-1) ... 701s Selecting previously unselected package libxcb-shm0:arm64. 701s Preparing to unpack .../38-libxcb-shm0_1.15-1_arm64.deb ... 701s Unpacking libxcb-shm0:arm64 (1.15-1) ... 701s Selecting previously unselected package libxrender1:arm64. 701s Preparing to unpack .../39-libxrender1_1%3a0.9.10-1.1_arm64.deb ... 701s Unpacking libxrender1:arm64 (1:0.9.10-1.1) ... 701s Selecting previously unselected package libcairo2:arm64. 701s Preparing to unpack .../40-libcairo2_1.18.0-1_arm64.deb ... 701s Unpacking libcairo2:arm64 (1.18.0-1) ... 701s Selecting previously unselected package fontconfig. 701s Preparing to unpack .../41-fontconfig_2.15.0-1ubuntu1_arm64.deb ... 701s Unpacking fontconfig (2.15.0-1ubuntu1) ... 701s Selecting previously unselected package libthai-data. 701s Preparing to unpack .../42-libthai-data_0.1.29-2_all.deb ... 701s Unpacking libthai-data (0.1.29-2) ... 701s Selecting previously unselected package libdatrie1:arm64. 701s Preparing to unpack .../43-libdatrie1_0.2.13-3_arm64.deb ... 701s Unpacking libdatrie1:arm64 (0.2.13-3) ... 701s Selecting previously unselected package libthai0:arm64. 701s Preparing to unpack .../44-libthai0_0.1.29-2_arm64.deb ... 701s Unpacking libthai0:arm64 (0.1.29-2) ... 701s Selecting previously unselected package libpango-1.0-0:arm64. 701s Preparing to unpack .../45-libpango-1.0-0_1.51.0+ds-4_arm64.deb ... 701s Unpacking libpango-1.0-0:arm64 (1.51.0+ds-4) ... 701s Selecting previously unselected package libpangoft2-1.0-0:arm64. 701s Preparing to unpack .../46-libpangoft2-1.0-0_1.51.0+ds-4_arm64.deb ... 701s Unpacking libpangoft2-1.0-0:arm64 (1.51.0+ds-4) ... 701s Selecting previously unselected package libpangocairo-1.0-0:arm64. 701s Preparing to unpack .../47-libpangocairo-1.0-0_1.51.0+ds-4_arm64.deb ... 701s Unpacking libpangocairo-1.0-0:arm64 (1.51.0+ds-4) ... 701s Selecting previously unselected package libxcomposite1:arm64. 701s Preparing to unpack .../48-libxcomposite1_1%3a0.4.5-1build2_arm64.deb ... 701s Unpacking libxcomposite1:arm64 (1:0.4.5-1build2) ... 701s Selecting previously unselected package libxfixes3:arm64. 701s Preparing to unpack .../49-libxfixes3_1%3a6.0.0-2_arm64.deb ... 701s Unpacking libxfixes3:arm64 (1:6.0.0-2) ... 701s Selecting previously unselected package libxcursor1:arm64. 701s Preparing to unpack .../50-libxcursor1_1%3a1.2.1-1_arm64.deb ... 701s Unpacking libxcursor1:arm64 (1:1.2.1-1) ... 702s Selecting previously unselected package libxdamage1:arm64. 702s Preparing to unpack .../51-libxdamage1_1%3a1.1.6-1_arm64.deb ... 702s Unpacking libxdamage1:arm64 (1:1.1.6-1) ... 702s Selecting previously unselected package libxi6:arm64. 702s Preparing to unpack .../52-libxi6_2%3a1.8.1-1_arm64.deb ... 702s Unpacking libxi6:arm64 (2:1.8.1-1) ... 702s Selecting previously unselected package libxinerama1:arm64. 702s Preparing to unpack .../53-libxinerama1_2%3a1.1.4-3_arm64.deb ... 702s Unpacking libxinerama1:arm64 (2:1.1.4-3) ... 702s Selecting previously unselected package libxrandr2:arm64. 702s Preparing to unpack .../54-libxrandr2_2%3a1.5.2-2_arm64.deb ... 702s Unpacking libxrandr2:arm64 (2:1.5.2-2) ... 702s Selecting previously unselected package libgtk2.0-0:arm64. 702s Preparing to unpack .../55-libgtk2.0-0_2.24.33-2ubuntu2_arm64.deb ... 702s Unpacking libgtk2.0-0:arm64 (2.24.33-2ubuntu2) ... 702s Selecting previously unselected package libglvnd0:arm64. 702s Preparing to unpack .../56-libglvnd0_1.7.0-1_arm64.deb ... 702s Unpacking libglvnd0:arm64 (1.7.0-1) ... 702s Selecting previously unselected package libglapi-mesa:arm64. 702s Preparing to unpack .../57-libglapi-mesa_24.0.1-1ubuntu1_arm64.deb ... 702s Unpacking libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 702s Selecting previously unselected package libx11-xcb1:arm64. 702s Preparing to unpack .../58-libx11-xcb1_2%3a1.8.7-1_arm64.deb ... 702s Unpacking libx11-xcb1:arm64 (2:1.8.7-1) ... 702s Selecting previously unselected package libxcb-dri2-0:arm64. 702s Preparing to unpack .../59-libxcb-dri2-0_1.15-1_arm64.deb ... 702s Unpacking libxcb-dri2-0:arm64 (1.15-1) ... 702s Selecting previously unselected package libxcb-dri3-0:arm64. 702s Preparing to unpack .../60-libxcb-dri3-0_1.15-1_arm64.deb ... 702s Unpacking libxcb-dri3-0:arm64 (1.15-1) ... 702s Selecting previously unselected package libxcb-glx0:arm64. 702s Preparing to unpack .../61-libxcb-glx0_1.15-1_arm64.deb ... 702s Unpacking libxcb-glx0:arm64 (1.15-1) ... 702s Selecting previously unselected package libxcb-present0:arm64. 702s Preparing to unpack .../62-libxcb-present0_1.15-1_arm64.deb ... 702s Unpacking libxcb-present0:arm64 (1.15-1) ... 703s Selecting previously unselected package libxcb-randr0:arm64. 703s Preparing to unpack .../63-libxcb-randr0_1.15-1_arm64.deb ... 703s Unpacking libxcb-randr0:arm64 (1.15-1) ... 703s Selecting previously unselected package libxcb-sync1:arm64. 703s Preparing to unpack .../64-libxcb-sync1_1.15-1_arm64.deb ... 703s Unpacking libxcb-sync1:arm64 (1.15-1) ... 703s Selecting previously unselected package libxcb-xfixes0:arm64. 703s Preparing to unpack .../65-libxcb-xfixes0_1.15-1_arm64.deb ... 703s Unpacking libxcb-xfixes0:arm64 (1.15-1) ... 703s Selecting previously unselected package libxshmfence1:arm64. 703s Preparing to unpack .../66-libxshmfence1_1.3-1build4_arm64.deb ... 703s Unpacking libxshmfence1:arm64 (1.3-1build4) ... 703s Selecting previously unselected package libxxf86vm1:arm64. 703s Preparing to unpack .../67-libxxf86vm1_1%3a1.1.4-1build3_arm64.deb ... 703s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build3) ... 703s Selecting previously unselected package libvulkan1:arm64. 703s Preparing to unpack .../68-libvulkan1_1.3.275.0-1_arm64.deb ... 703s Unpacking libvulkan1:arm64 (1.3.275.0-1) ... 703s Selecting previously unselected package libdrm-amdgpu1:arm64. 703s Preparing to unpack .../69-libdrm-amdgpu1_2.4.120-2_arm64.deb ... 703s Unpacking libdrm-amdgpu1:arm64 (2.4.120-2) ... 703s Selecting previously unselected package libdrm-nouveau2:arm64. 703s Preparing to unpack .../70-libdrm-nouveau2_2.4.120-2_arm64.deb ... 703s Unpacking libdrm-nouveau2:arm64 (2.4.120-2) ... 703s Selecting previously unselected package libdrm-radeon1:arm64. 703s Preparing to unpack .../71-libdrm-radeon1_2.4.120-2_arm64.deb ... 703s Unpacking libdrm-radeon1:arm64 (2.4.120-2) ... 703s Selecting previously unselected package libllvm17:arm64. 703s Preparing to unpack .../72-libllvm17_1%3a17.0.6-5build1_arm64.deb ... 703s Unpacking libllvm17:arm64 (1:17.0.6-5build1) ... 705s Selecting previously unselected package libgl1-mesa-dri:arm64. 705s Preparing to unpack .../73-libgl1-mesa-dri_24.0.1-1ubuntu1_arm64.deb ... 705s Unpacking libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 706s Selecting previously unselected package libglx-mesa0:arm64. 706s Preparing to unpack .../74-libglx-mesa0_24.0.1-1ubuntu1_arm64.deb ... 706s Unpacking libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 706s Selecting previously unselected package libglx0:arm64. 706s Preparing to unpack .../75-libglx0_1.7.0-1_arm64.deb ... 706s Unpacking libglx0:arm64 (1.7.0-1) ... 706s Selecting previously unselected package libgl1:arm64. 706s Preparing to unpack .../76-libgl1_1.7.0-1_arm64.deb ... 706s Unpacking libgl1:arm64 (1.7.0-1) ... 706s Selecting previously unselected package libgif7:arm64. 706s Preparing to unpack .../77-libgif7_5.2.1-2.5_arm64.deb ... 706s Unpacking libgif7:arm64 (5.2.1-2.5) ... 706s Selecting previously unselected package x11-common. 706s Preparing to unpack .../78-x11-common_1%3a7.7+23ubuntu2_all.deb ... 706s Unpacking x11-common (1:7.7+23ubuntu2) ... 706s Selecting previously unselected package libxtst6:arm64. 706s Preparing to unpack .../79-libxtst6_2%3a1.2.3-1.1_arm64.deb ... 706s Unpacking libxtst6:arm64 (2:1.2.3-1.1) ... 706s Selecting previously unselected package openjdk-21-jre:arm64. 706s Preparing to unpack .../80-openjdk-21-jre_21.0.2+13-2_arm64.deb ... 706s Unpacking openjdk-21-jre:arm64 (21.0.2+13-2) ... 706s Selecting previously unselected package default-jre. 706s Preparing to unpack .../81-default-jre_2%3a1.21-75+exp1_arm64.deb ... 706s Unpacking default-jre (2:1.21-75+exp1) ... 706s Selecting previously unselected package libapksig-java. 706s Preparing to unpack .../82-libapksig-java_31.0.2-1ubuntu1_all.deb ... 706s Unpacking libapksig-java (31.0.2-1ubuntu1) ... 706s Selecting previously unselected package apksigner. 706s Preparing to unpack .../83-apksigner_31.0.2-1ubuntu1_all.deb ... 706s Unpacking apksigner (31.0.2-1ubuntu1) ... 706s Selecting previously unselected package autopkgtest-satdep. 707s Preparing to unpack .../84-1-autopkgtest-satdep.deb ... 707s Unpacking autopkgtest-satdep (0) ... 707s Setting up libgraphite2-3:arm64 (1.3.14-2) ... 707s Setting up libxcb-dri3-0:arm64 (1.15-1) ... 707s Setting up liblcms2-2:arm64 (2.14-2) ... 707s Setting up libpixman-1-0:arm64 (0.42.2-1) ... 707s Setting up libsharpyuv0:arm64 (1.3.2-0.4) ... 707s Setting up libx11-xcb1:arm64 (2:1.8.7-1) ... 707s Setting up libdrm-nouveau2:arm64 (2.4.120-2) ... 707s Setting up libxdamage1:arm64 (1:1.1.6-1) ... 707s Setting up libxcb-xfixes0:arm64 (1.15-1) ... 707s Setting up liblerc4:arm64 (4.0.0+ds-4ubuntu1) ... 707s Setting up hicolor-icon-theme (0.17-2) ... 707s Setting up libxi6:arm64 (2:1.8.1-1) ... 707s Setting up java-common (0.75+exp1) ... 707s Setting up libxrender1:arm64 (1:0.9.10-1.1) ... 707s Setting up libdatrie1:arm64 (0.2.13-3) ... 707s Setting up libxcb-render0:arm64 (1.15-1) ... 707s Setting up libdrm-radeon1:arm64 (2.4.120-2) ... 707s Setting up libglvnd0:arm64 (1.7.0-1) ... 707s Setting up libxcb-glx0:arm64 (1.15-1) ... 707s Setting up libgdk-pixbuf2.0-common (2.42.10+dfsg-3) ... 707s Setting up x11-common (1:7.7+23ubuntu2) ... 708s Setting up libdeflate0:arm64 (1.19-1) ... 708s Setting up libxcb-shm0:arm64 (1.15-1) ... 708s Setting up libjbig0:arm64 (2.1-6.1ubuntu1) ... 708s Setting up libxxf86vm1:arm64 (1:1.1.4-1build3) ... 708s Setting up libxcb-present0:arm64 (1.15-1) ... 708s Setting up libasound2-data (1.2.10-3build1) ... 708s Setting up libxfixes3:arm64 (1:6.0.0-2) ... 708s Setting up libxcb-sync1:arm64 (1.15-1) ... 708s Setting up libavahi-common-data:arm64 (0.8-13ubuntu2) ... 708s Setting up libxinerama1:arm64 (2:1.1.4-3) ... 708s Setting up fonts-dejavu-mono (2.37-8) ... 708s Setting up libxrandr2:arm64 (2:1.5.2-2) ... 708s Setting up fonts-dejavu-core (2.37-8) ... 708s Setting up libpcsclite1:arm64 (2.0.0-1) ... 708s Setting up libjpeg-turbo8:arm64 (2.1.5-2ubuntu1) ... 708s Setting up libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 708s Setting up libvulkan1:arm64 (1.3.275.0-1) ... 708s Setting up libwebp7:arm64 (1.3.2-0.4) ... 708s Setting up libxcb-dri2-0:arm64 (1.15-1) ... 708s Setting up libgif7:arm64 (5.2.1-2.5) ... 708s Setting up libxshmfence1:arm64 (1.3-1build4) ... 708s Setting up at-spi2-common (2.50.0-1) ... 708s Setting up libxcb-randr0:arm64 (1.15-1) ... 708s Setting up libasound2:arm64 (1.2.10-3build1) ... 708s Setting up libharfbuzz0b:arm64 (8.3.0-2) ... 708s Setting up libthai-data (0.1.29-2) ... 708s Setting up libgtk2.0-common (2.24.33-2ubuntu2) ... 708s Setting up libatk1.0-0:arm64 (2.50.0-1) ... 708s Setting up ca-certificates-java (20240118) ... 708s No JRE found. Skipping Java certificates setup. 708s Setting up libllvm17:arm64 (1:17.0.6-5build1) ... 708s Setting up libxcomposite1:arm64 (1:0.4.5-1build2) ... 708s Setting up libapksig-java (31.0.2-1ubuntu1) ... 708s Setting up libdrm-amdgpu1:arm64 (2.4.120-2) ... 708s Setting up libjpeg8:arm64 (8c-2ubuntu11) ... 708s Setting up fontconfig-config (2.15.0-1ubuntu1) ... 708s Setting up libxtst6:arm64 (2:1.2.3-1.1) ... 708s Setting up libxcursor1:arm64 (1:1.2.1-1) ... 708s Setting up libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 708s Setting up libavahi-common3:arm64 (0.8-13ubuntu2) ... 708s Setting up libthai0:arm64 (0.1.29-2) ... 708s Setting up libtiff6:arm64 (4.5.1+git230720-3ubuntu1) ... 708s Setting up libgdk-pixbuf-2.0-0:arm64 (2.42.10+dfsg-3) ... 709s Setting up libfontconfig1:arm64 (2.15.0-1ubuntu1) ... 709s Setting up libavahi-client3:arm64 (0.8-13ubuntu2) ... 709s Setting up gtk-update-icon-cache (3.24.40-2ubuntu1) ... 709s Setting up fontconfig (2.15.0-1ubuntu1) ... 711s Regenerating fonts cache... done. 711s Setting up libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 711s Setting up libglx0:arm64 (1.7.0-1) ... 711s Setting up libpango-1.0-0:arm64 (1.51.0+ds-4) ... 711s Setting up libcairo2:arm64 (1.18.0-1) ... 711s Setting up libgl1:arm64 (1.7.0-1) ... 711s Setting up libcups2:arm64 (2.4.6-0ubuntu3) ... 711s Setting up libpangoft2-1.0-0:arm64 (1.51.0+ds-4) ... 711s Setting up libpangocairo-1.0-0:arm64 (1.51.0+ds-4) ... 711s Setting up openjdk-21-jre-headless:arm64 (21.0.2+13-2) ... 711s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/bin/java to provide /usr/bin/java (java) in auto mode 711s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/bin/jpackage to provide /usr/bin/jpackage (jpackage) in auto mode 711s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode 711s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode 711s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode 711s Setting up adwaita-icon-theme (46~rc-1) ... 711s update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode 711s Setting up libgtk2.0-0:arm64 (2.24.33-2ubuntu2) ... 711s Setting up humanity-icon-theme (0.6.16) ... 711s Setting up ubuntu-mono (24.04-0ubuntu1) ... 711s Processing triggers for man-db (2.12.0-3) ... 713s Processing triggers for libc-bin (2.39-0ubuntu6) ... 713s Processing triggers for ca-certificates-java (20240118) ... 727s Adding debian:ACCVRAIZ1.pem 727s Adding debian:AC_RAIZ_FNMT-RCM.pem 727s Adding debian:AC_RAIZ_FNMT-RCM_SERVIDORES_SEGUROS.pem 728s Adding debian:ANF_Secure_Server_Root_CA.pem 728s Adding debian:Actalis_Authentication_Root_CA.pem 728s Adding debian:AffirmTrust_Commercial.pem 728s Adding debian:AffirmTrust_Networking.pem 728s Adding debian:AffirmTrust_Premium.pem 728s Adding debian:AffirmTrust_Premium_ECC.pem 728s Adding debian:Amazon_Root_CA_1.pem 728s Adding debian:Amazon_Root_CA_2.pem 728s Adding debian:Amazon_Root_CA_3.pem 728s Adding debian:Amazon_Root_CA_4.pem 728s Adding debian:Atos_TrustedRoot_2011.pem 728s Adding debian:Atos_TrustedRoot_Root_CA_ECC_TLS_2021.pem 728s Adding debian:Atos_TrustedRoot_Root_CA_RSA_TLS_2021.pem 728s Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem 728s Adding debian:BJCA_Global_Root_CA1.pem 728s Adding debian:BJCA_Global_Root_CA2.pem 728s Adding debian:Baltimore_CyberTrust_Root.pem 728s Adding debian:Buypass_Class_2_Root_CA.pem 728s Adding debian:Buypass_Class_3_Root_CA.pem 728s Adding debian:CA_Disig_Root_R2.pem 728s Adding debian:CFCA_EV_ROOT.pem 728s Adding debian:COMODO_Certification_Authority.pem 728s Adding debian:COMODO_ECC_Certification_Authority.pem 728s Adding debian:COMODO_RSA_Certification_Authority.pem 728s Adding debian:Certainly_Root_E1.pem 728s Adding debian:Certainly_Root_R1.pem 728s Adding debian:Certigna.pem 728s Adding debian:Certigna_Root_CA.pem 728s Adding debian:Certum_EC-384_CA.pem 728s Adding debian:Certum_Trusted_Network_CA.pem 728s Adding debian:Certum_Trusted_Network_CA_2.pem 728s Adding debian:Certum_Trusted_Root_CA.pem 728s Adding debian:CommScope_Public_Trust_ECC_Root-01.pem 728s Adding debian:CommScope_Public_Trust_ECC_Root-02.pem 728s Adding debian:CommScope_Public_Trust_RSA_Root-01.pem 728s Adding debian:CommScope_Public_Trust_RSA_Root-02.pem 728s Adding debian:Comodo_AAA_Services_root.pem 728s Adding debian:D-TRUST_BR_Root_CA_1_2020.pem 728s Adding debian:D-TRUST_EV_Root_CA_1_2020.pem 728s Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem 728s Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem 728s Adding debian:DigiCert_Assured_ID_Root_CA.pem 728s Adding debian:DigiCert_Assured_ID_Root_G2.pem 728s Adding debian:DigiCert_Assured_ID_Root_G3.pem 728s Adding debian:DigiCert_Global_Root_CA.pem 728s Adding debian:DigiCert_Global_Root_G2.pem 728s Adding debian:DigiCert_Global_Root_G3.pem 728s Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem 728s Adding debian:DigiCert_TLS_ECC_P384_Root_G5.pem 728s Adding debian:DigiCert_TLS_RSA4096_Root_G5.pem 728s Adding debian:DigiCert_Trusted_Root_G4.pem 728s Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem 728s Adding debian:Entrust_Root_Certification_Authority.pem 728s Adding debian:Entrust_Root_Certification_Authority_-_EC1.pem 728s Adding debian:Entrust_Root_Certification_Authority_-_G2.pem 728s Adding debian:Entrust_Root_Certification_Authority_-_G4.pem 728s Adding debian:GDCA_TrustAUTH_R5_ROOT.pem 728s Adding debian:GLOBALTRUST_2020.pem 728s Adding debian:GTS_Root_R1.pem 728s Adding debian:GTS_Root_R2.pem 728s Adding debian:GTS_Root_R3.pem 728s Adding debian:GTS_Root_R4.pem 728s Adding debian:GlobalSign_ECC_Root_CA_-_R4.pem 728s Adding debian:GlobalSign_ECC_Root_CA_-_R5.pem 728s Adding debian:GlobalSign_Root_CA.pem 728s Adding debian:GlobalSign_Root_CA_-_R3.pem 728s Adding debian:GlobalSign_Root_CA_-_R6.pem 728s Adding debian:GlobalSign_Root_E46.pem 728s Adding debian:GlobalSign_Root_R46.pem 728s Adding debian:Go_Daddy_Class_2_CA.pem 728s Adding debian:Go_Daddy_Root_Certificate_Authority_-_G2.pem 728s Adding debian:HARICA_TLS_ECC_Root_CA_2021.pem 728s Adding debian:HARICA_TLS_RSA_Root_CA_2021.pem 728s Adding debian:Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem 728s Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem 728s Adding debian:HiPKI_Root_CA_-_G1.pem 728s Adding debian:Hongkong_Post_Root_CA_3.pem 728s Adding debian:ISRG_Root_X1.pem 728s Adding debian:ISRG_Root_X2.pem 728s Adding debian:IdenTrust_Commercial_Root_CA_1.pem 728s Adding debian:IdenTrust_Public_Sector_Root_CA_1.pem 728s Adding debian:Izenpe.com.pem 728s Adding debian:Microsec_e-Szigno_Root_CA_2009.pem 728s Adding debian:Microsoft_ECC_Root_Certificate_Authority_2017.pem 728s Adding debian:Microsoft_RSA_Root_Certificate_Authority_2017.pem 728s Adding debian:NAVER_Global_Root_Certification_Authority.pem 728s Adding debian:NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem 728s Adding debian:OISTE_WISeKey_Global_Root_GB_CA.pem 728s Adding debian:OISTE_WISeKey_Global_Root_GC_CA.pem 728s Adding debian:QuoVadis_Root_CA_1_G3.pem 728s Adding debian:QuoVadis_Root_CA_2.pem 728s Adding debian:QuoVadis_Root_CA_2_G3.pem 728s Adding debian:QuoVadis_Root_CA_3.pem 728s Adding debian:QuoVadis_Root_CA_3_G3.pem 728s Adding debian:SSL.com_EV_Root_Certification_Authority_ECC.pem 728s Adding debian:SSL.com_EV_Root_Certification_Authority_RSA_R2.pem 728s Adding debian:SSL.com_Root_Certification_Authority_ECC.pem 728s Adding debian:SSL.com_Root_Certification_Authority_RSA.pem 728s Adding debian:SSL.com_TLS_ECC_Root_CA_2022.pem 728s Adding debian:SSL.com_TLS_RSA_Root_CA_2022.pem 728s Adding debian:SZAFIR_ROOT_CA2.pem 728s Adding debian:Sectigo_Public_Server_Authentication_Root_E46.pem 728s Adding debian:Sectigo_Public_Server_Authentication_Root_R46.pem 728s Adding debian:SecureSign_RootCA11.pem 728s Adding debian:SecureTrust_CA.pem 728s Adding debian:Secure_Global_CA.pem 728s Adding debian:Security_Communication_ECC_RootCA1.pem 728s Adding debian:Security_Communication_RootCA2.pem 729s Adding debian:Security_Communication_RootCA3.pem 729s Adding debian:Security_Communication_Root_CA.pem 729s Adding debian:Starfield_Class_2_CA.pem 729s Adding debian:Starfield_Root_Certificate_Authority_-_G2.pem 729s Adding debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem 729s Adding debian:SwissSign_Gold_CA_-_G2.pem 729s Adding debian:SwissSign_Silver_CA_-_G2.pem 729s Adding debian:T-TeleSec_GlobalRoot_Class_2.pem 729s Adding debian:T-TeleSec_GlobalRoot_Class_3.pem 729s Adding debian:TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem 729s Adding debian:TWCA_Global_Root_CA.pem 729s Adding debian:TWCA_Root_Certification_Authority.pem 729s Adding debian:TeliaSonera_Root_CA_v1.pem 729s Adding debian:Telia_Root_CA_v2.pem 729s Adding debian:TrustAsia_Global_Root_CA_G3.pem 729s Adding debian:TrustAsia_Global_Root_CA_G4.pem 729s Adding debian:Trustwave_Global_Certification_Authority.pem 729s Adding debian:Trustwave_Global_ECC_P256_Certification_Authority.pem 729s Adding debian:Trustwave_Global_ECC_P384_Certification_Authority.pem 729s Adding debian:TunTrust_Root_CA.pem 729s Adding debian:UCA_Extended_Validation_Root.pem 729s Adding debian:UCA_Global_G2_Root.pem 729s Adding debian:USERTrust_ECC_Certification_Authority.pem 729s Adding debian:USERTrust_RSA_Certification_Authority.pem 729s Adding debian:XRamp_Global_CA_Root.pem 729s Adding debian:certSIGN_ROOT_CA.pem 729s Adding debian:certSIGN_Root_CA_G2.pem 729s Adding debian:e-Szigno_Root_CA_2017.pem 729s Adding debian:ePKI_Root_Certification_Authority.pem 729s Adding debian:emSign_ECC_Root_CA_-_C3.pem 729s Adding debian:emSign_ECC_Root_CA_-_G3.pem 729s Adding debian:emSign_Root_CA_-_C1.pem 729s Adding debian:emSign_Root_CA_-_G1.pem 729s Adding debian:vTrus_ECC_Root_CA.pem 729s Adding debian:vTrus_Root_CA.pem 729s done. 729s Setting up openjdk-21-jre:arm64 (21.0.2+13-2) ... 729s Setting up default-jre-headless (2:1.21-75+exp1) ... 729s Setting up apksigner (31.0.2-1ubuntu1) ... 729s Setting up autopkgtest-satdep (0) ... 729s Setting up default-jre (2:1.21-75+exp1) ... 739s (Reading database ... 89211 files and directories currently installed.) 739s Removing autopkgtest-satdep (0) ... 740s autopkgtest [13:59:27]: test ApkVerifierTest.sh: [----------------------- 740s + apksigner -JXmx256M verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-1024.apk 741s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.1-1024.apk 742s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.1-1024.apk 744s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.1-2048.apk 745s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.1-2048.apk 746s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.1-3072.apk 747s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.1-3072.apk 748s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.3-1024.apk 749s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.3-1024.apk 750s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.3-2048.apk 751s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.3-2048.apk 752s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.3-3072.apk 754s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha1-1.2.840.10040.4.3-3072.apk 755s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-1.2.840.10040.4.1-1024.apk 756s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-1.2.840.10040.4.1-1024.apk 757s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-1.2.840.10040.4.1-2048.apk 758s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-1.2.840.10040.4.1-2048.apk 760s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-1.2.840.10040.4.1-3072.apk 761s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-1.2.840.10040.4.1-3072.apk 761s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-2.16.840.1.101.3.4.3.1-1024.apk 762s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-2.16.840.1.101.3.4.3.1-1024.apk 763s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-2.16.840.1.101.3.4.3.1-2048.apk 764s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-2.16.840.1.101.3.4.3.1-2048.apk 765s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-2.16.840.1.101.3.4.3.1-3072.apk 768s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha224-2.16.840.1.101.3.4.3.1-3072.apk 768s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha256-1.2.840.10040.4.1-1024.apk 768s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha256-1.2.840.10040.4.1-2048.apk 769s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha256-1.2.840.10040.4.1-3072.apk 770s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha256-2.16.840.1.101.3.4.3.2-1024.apk 771s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha256-2.16.840.1.101.3.4.3.2-2048.apk 772s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-dsa-sha256-2.16.840.1.101.3.4.3.2-3072.apk 773s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha1-1.2.840.10045.2.1-p256.apk 775s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha1-1.2.840.10045.2.1-p384.apk 776s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha1-1.2.840.10045.2.1-p521.apk 777s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha1-1.2.840.10045.4.1-p256.apk 778s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha1-1.2.840.10045.4.1-p384.apk 779s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha1-1.2.840.10045.4.1-p521.apk 781s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha224-1.2.840.10045.2.1-p256.apk 782s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha224-1.2.840.10045.2.1-p384.apk 783s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha224-1.2.840.10045.2.1-p521.apk 784s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha224-1.2.840.10045.4.3.1-p256.apk 785s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha224-1.2.840.10045.4.3.1-p384.apk 787s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha224-1.2.840.10045.4.3.1-p521.apk 788s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha256-1.2.840.10045.2.1-p256.apk 789s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha256-1.2.840.10045.2.1-p384.apk 790s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha256-1.2.840.10045.2.1-p521.apk 792s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha256-1.2.840.10045.4.3.2-p256.apk 793s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha256-1.2.840.10045.4.3.2-p384.apk 795s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha256-1.2.840.10045.4.3.2-p521.apk 797s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha384-1.2.840.10045.2.1-p256.apk 797s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha384-1.2.840.10045.2.1-p384.apk 798s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha384-1.2.840.10045.2.1-p521.apk 800s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha384-1.2.840.10045.4.3.3-p256.apk 801s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha384-1.2.840.10045.4.3.3-p384.apk 802s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha384-1.2.840.10045.4.3.3-p521.apk 803s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha512-1.2.840.10045.2.1-p256.apk 805s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha512-1.2.840.10045.2.1-p384.apk 806s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha512-1.2.840.10045.2.1-p521.apk 807s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha512-1.2.840.10045.4.3.4-p256.apk 808s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha512-1.2.840.10045.4.3.4-p384.apk 809s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-ecdsa-sha512-1.2.840.10045.4.3.4-p521.apk 810s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.1-1024.apk 811s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.1-16384.apk 812s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.1-2048.apk 813s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.1-3072.apk 814s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.1-4096.apk 815s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.1-8192.apk 816s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.4-1024.apk 817s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.4-16384.apk 818s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.4-2048.apk 819s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.4-3072.apk 819s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.4-4096.apk 820s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-md5-1.2.840.113549.1.1.4-8192.apk 821s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.1-1024.apk 822s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.1-16384.apk 823s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.1-2048.apk 824s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.1-3072.apk 825s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.1-4096.apk 826s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.1-8192.apk 826s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.5-1024.apk 827s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.5-16384.apk 828s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.5-2048.apk 829s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.5-3072.apk 830s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.5-4096.apk 831s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha1-1.2.840.113549.1.1.5-8192.apk 832s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.1-1024.apk 833s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.1-16384.apk 833s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.1-2048.apk 834s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.1-3072.apk 835s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.1-4096.apk 836s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.14-1024.apk 837s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.14-16384.apk 838s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.14-2048.apk 839s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.14-3072.apk 840s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.14-4096.apk 841s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.14-8192.apk 841s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha224-1.2.840.113549.1.1.1-8192.apk 842s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.1-1024.apk 843s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.11-1024.apk 844s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.11-16384.apk 845s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.11-2048.apk 846s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.11-3072.apk 847s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.11-4096.apk 848s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.1-16384.apk 849s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.11-8192.apk 850s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.1-2048.apk 851s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.1-3072.apk 851s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.1-4096.apk 852s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha256-1.2.840.113549.1.1.1-8192.apk 853s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-1024.apk 854s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-16384.apk 855s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-2048.apk 856s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.12-1024.apk 857s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.12-16384.apk 858s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.12-2048.apk 859s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.12-3072.apk 860s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.12-4096.apk 861s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.12-8192.apk 862s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-3072.apk 863s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-4096.apk 864s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha384-1.2.840.113549.1.1.1-8192.apk 864s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.1-1024.apk 865s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.1-16384.apk 866s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.1-2048.apk 867s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.1-3072.apk 868s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.13-1024.apk 869s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.13-16384.apk 870s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.13-2048.apk 871s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.13-3072.apk 872s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.13-4096.apk 873s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.13-8192.apk 874s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.1-4096.apk 875s + apksigner verify src/test/resources/com/android/apksig/v1-only-with-rsa-pkcs1-sha512-1.2.840.113549.1.1.1-8192.apk 875s + apksigner verify src/test/resources/com/android/apksig/v2-stripped.apk 876s DOES NOT VERIFY 876s 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? 876s + apksigner verify src/test/resources/com/android/apksig/v2-stripped-with-ignorable-signing-schemes.apk 877s DOES NOT VERIFY 877s 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? 877s WARNING: JAR signer CERT.RSA: JAR signature META-INF/CERT.SF references unknown APK signature scheme ID: 15 877s WARNING: JAR signer CERT.RSA: JAR signature META-INF/CERT.SF references unknown APK signature scheme ID: 34 877s + apksigner verify src/test/resources/com/android/apksig/v2-only-with-dsa-sha256-1024-sig-does-not-verify.apk 878s DOES NOT VERIFY 878s ERROR: APK Signature Scheme v2 signer #1: DSA_WITH_SHA256 signature over signed-data did not verify 878s + apksigner verify src/test/resources/com/android/apksig/v2-only-with-rsa-pkcs1-sha256-2048-sig-does-not-verify.apk 878s DOES NOT VERIFY 878s ERROR: APK Signature Scheme v2 signer #1: RSA_PKCS1_V1_5_WITH_SHA256 signature over signed-data did not verify 878s + apksigner verify src/test/resources/com/android/apksig/v2-only-with-ecdsa-sha256-p256-sig-does-not-verify.apk 879s DOES NOT VERIFY 879s ERROR: APK Signature Scheme v2 signer #1: ECDSA_WITH_SHA256 signature over signed-data did not verify 879s + apksigner verify src/test/resources/com/android/apksig/v2-only-with-rsa-pss-sha256-2048-sig-does-not-verify.apk 880s Exception in thread "main" java.security.NoSuchAlgorithmException: SHA256withRSA/PSS Signature not available 880s at java.base/java.security.Signature.getInstance(Signature.java:268) 880s at com.android.apksig.internal.apk.v2.V2SchemeVerifier.parseSigner(V2SchemeVerifier.java:313) 880s at com.android.apksig.internal.apk.v2.V2SchemeVerifier.parseSigners(V2SchemeVerifier.java:211) 880s at com.android.apksig.internal.apk.v2.V2SchemeVerifier.verify(V2SchemeVerifier.java:145) 880s at com.android.apksig.internal.apk.v2.V2SchemeVerifier.verify(V2SchemeVerifier.java:110) 880s at com.android.apksig.ApkVerifier.verify(ApkVerifier.java:234) 880s at com.android.apksig.ApkVerifier.verify(ApkVerifier.java:149) 880s at com.android.apksigner.ApkSignerTool.verify(ApkSignerTool.java:516) 880s at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:88) 880s + apksigner verify src/test/resources/com/android/apksig/v2-only-with-rsa-pkcs1-sha512-4096-digest-mismatch.apk 881s DOES NOT VERIFY 881s ERROR: APK Signature Scheme v2 signer #1: APK integrity check failed. CHUNKED_SHA512 digest mismatch. Expected: <5ec97f56387436550cda87701dd26167e6a093bdf564ff95e2415c9e5edbb0cc31980b541520a551b6eacde1358e9057788f8072e2bbb6a19092cf1af379f840>, actual: 881s + apksigner verify src/test/resources/com/android/apksig/v2-only-with-ecdsa-sha256-p256-digest-mismatch.apk 882s DOES NOT VERIFY 882s ERROR: APK Signature Scheme v2 signer #1: APK integrity check failed. CHUNKED_SHA256 digest mismatch. Expected: , actual: <7aee6495d3c8fd4047afd9d2a68a07be597dfcde2435487bc4b2def96dc95c04> 882s + apksigner verify src/test/resources/com/android/apksig/v2-only-wrong-apk-sig-block-magic.apk 882s DOES NOT VERIFY 882s ERROR: Missing META-INF/MANIFEST.MF 882s + apksigner verify src/test/resources/com/android/apksig/v2-only-garbage-between-cd-and-eocd.apk 883s DOES NOT VERIFY 883s ERROR: Missing META-INF/MANIFEST.MF 883s + apksigner verify src/test/resources/com/android/apksig/v2-only-apk-sig-block-size-mismatch.apk 883s DOES NOT VERIFY 883s ERROR: Missing META-INF/MANIFEST.MF 883s + apksigner verify src/test/resources/com/android/apksig/v2-only-signatures-and-digests-block-mismatch.apk 884s DOES NOT VERIFY 884s ERROR: APK Signature Scheme v2 signer #1: Signature algorithms mismatch between signatures and digests records: [259] vs [259, 305419896] 884s + apksigner verify src/test/resources/com/android/apksig/v2-only-cert-and-public-key-mismatch.apk 885s DOES NOT VERIFY 885s ERROR: APK Signature Scheme v2 signer #1: Public key mismatch between certificate and signature record: <30820122300d06092a864886f70d01010105000382010f003082010a0282010100d0e19235109db7f55e30b2cd23a5595932e761dbf90044255da0182c450baf73644d9cedb7132ca796df5437e0dc3517502216c2a554e374497f6de3c408796a83d344ddfac08f919e6e251d58be80fe274ab190359c02b2220c718dc9eefb7f0e72b94ee973a6dfa7aec467ddfd42eb8216465f331516ae2e2e222fdc3a85914708944d01bd4894a0dc29a2957830a8f519082868439b246e7190c04a3babe0dfa55f277b37577af8f2e271606861059101d04a685cb7788b4a62001f1230b6f4124eb003f1d9f00dab7674ad935c25ffcdce3358ced2e0778727c9a6a2228e5bcd1a7ae5a18cb2388a92d0b1879f14890fb8280121f611fd21e32c5bb0ebc70203010001> vs <30820122300d06092a864886f70d01010105000382010f003082010a0282010100d0e09235109db7f55e30b2cd23a5595932e761dbf90044255da0182c450baf73644d9cedb7132ca796df5437e0dc3517502216c2a554e374497f6de3c408796a83d344ddfac08f919e6e251d58be80fe274ab190359c02b2220c718dc9eefb7f0e72b94ee973a6dfa7aec467ddfd42eb8216465f331516ae2e2e222fdc3a85914708944d01bd4894a0dc29a2957830a8f519082868439b246e7190c04a3babe0dfa55f277b37577af8f2e271606861059101d04a685cb7788b4a62001f1230b6f4124eb003f1d9f00dab7674ad935c25ffcdce3358ced2e0778727c9a6a2228e5bcd1a7ae5a18cb2388a92d0b1879f14890fb8280121f611fd21e32c5bb0ebc70203010001> 885s + apksigner verify src/test/resources/com/android/apksig/v2-only-no-certs-in-sig.apk 885s DOES NOT VERIFY 885s ERROR: APK Signature Scheme v2 signer #1: No certificates 885s + apksigner verify src/test/resources/com/android/apksig/v2-only-two-signers-second-signer-no-sig.apk 886s DOES NOT VERIFY 886s ERROR: APK Signature Scheme v2 signer #2: No signatures 886s + apksigner verify src/test/resources/com/android/apksig/v2-only-two-signers-second-signer-no-supported-sig.apk 888s DOES NOT VERIFY 888s WARNING: APK Signature Scheme v2 signer #2: Unknown signature algorithm: 0x8888 888s ERROR: APK Signature Scheme v2 signer #2: No supported signatures: com.android.apksig.internal.apk.ApkSigningBlockUtils$NoSupportedSignaturesException: Minimum provided signature version 2147483647 > minSdkVersion 24 888s + echo SUCCESS 888s autopkgtest [14:01:55]: test ApkVerifierTest.sh: -----------------------] 888s SUCCESS 889s autopkgtest [14:01:56]: test ApkVerifierTest.sh: - - - - - - - - - - results - - - - - - - - - - 889s ApkVerifierTest.sh PASS 889s autopkgtest [14:01:56]: test command1: preparing testbed 893s Reading package lists... 894s Building dependency tree... 894s Reading state information... 894s Starting pkgProblemResolver with broken count: 0 895s Starting 2 pkgProblemResolver with broken count: 0 895s Done 896s The following NEW packages will be installed: 896s autopkgtest-satdep 896s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 896s Need to get 0 B/712 B of archives. 896s After this operation, 0 B of additional disk space will be used. 896s Get:1 /tmp/autopkgtest.OtznKu/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [712 B] 897s Selecting previously unselected package autopkgtest-satdep. 897s (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 ... 89211 files and directories currently installed.) 897s Preparing to unpack .../2-autopkgtest-satdep.deb ... 897s Unpacking autopkgtest-satdep (0) ... 897s Setting up autopkgtest-satdep (0) ... 902s (Reading database ... 89211 files and directories currently installed.) 902s Removing autopkgtest-satdep (0) ... 903s autopkgtest [14:02:10]: test command1: apksigner -h 903s autopkgtest [14:02:10]: test command1: [----------------------- 904s USAGE: apksigner [options] 904s apksigner --version 904s apksigner --help 904s 904s EXAMPLE: 904s apksigner sign --ks release.jks app.apk 904s apksigner verify --verbose app.apk 904s 904s apksigner is a tool for signing Android APK files and for checking whether 904s signatures of APK files will verify on Android devices. 904s 904s 904s COMMANDS 904s rotate Add a new signing certificate to the SigningCertificateLineage 904s 904s sign Sign the provided APK 904s 904s verify Check whether the provided APK is expected to verify on 904s Android 904s 904s lineage Modify the capabilities of one or more signers in an existing 904s SigningCertificateLineage 904s 904s version Show this tool's version number and exit 904s 904s help Show this usage page and exit 904s 904s autopkgtest [14:02:11]: test command1: -----------------------] 905s autopkgtest [14:02:12]: test command1: - - - - - - - - - - results - - - - - - - - - - 905s command1 PASS 905s autopkgtest [14:02:12]: test command2: preparing testbed 913s Reading package lists... 913s Building dependency tree... 913s Reading state information... 914s Starting pkgProblemResolver with broken count: 0 916s Starting 2 pkgProblemResolver with broken count: 0 916s Done 916s The following NEW packages will be installed: 916s autopkgtest-satdep 916s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 916s Need to get 0 B/712 B of archives. 916s After this operation, 0 B of additional disk space will be used. 916s Get:1 /tmp/autopkgtest.OtznKu/3-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [712 B] 917s Selecting previously unselected package autopkgtest-satdep. 917s (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 ... 89211 files and directories currently installed.) 917s Preparing to unpack .../3-autopkgtest-satdep.deb ... 917s Unpacking autopkgtest-satdep (0) ... 917s Setting up autopkgtest-satdep (0) ... 922s (Reading database ... 89211 files and directories currently installed.) 922s Removing autopkgtest-satdep (0) ... 923s autopkgtest [14:02:30]: test command2: apksigner lineage -h 923s autopkgtest [14:02:30]: test command2: [----------------------- 923s USAGE: apksigner lineage [options] 923s 923s This modifies the capabilities of one or more signers in the provided SigningCertificateLineage. 923s This can be used to revoke capabilities of a previous signing certificate once the install base 923s has been migrated to the new signing certificate. 923s 923s 923s GENERAL OPTIONS 923s 923s --in Input SigningCertificateLineage. This file contains a binary representation of 923s a SigningCertificateLineage object which contains the proof-of-rotation for 923s different signing certificates. 923s An APK previously signed with a SigningCertificateLineage can also be 923s specified; the lineage will then be read from the signed data in the APK. 923s 923s --out File into which to put the binary representation of a 923s SigningCertificateLineage object. 923s 923s --print-certs Show information about the signing certificates and their capabilities 923s in the SigningCertificateLineage. 923s 923s -v, --verbose Verbose output mode. 923s 923s -h, --help Show help about this command and exit. 923s 923s 923s PER-SIGNER OPTIONS 923s This option is required for each signer to be modified in the provided SigningCertificateLineage. 923s 923s --signer Indicates the start of a new signing certificate to be modified. 923s 923s 923s PER-SIGNER SIGNING KEY, CERTIFICATE, & CAPABILITY OPTIONS 923s To modify the capabilities of a previous signer in the lineage the signer's 923s private key and certificate must be specified. There are two ways to provide 923s the signer's private key and certificate: (1) Java KeyStore (see --ks), or 923s (2) private key file in PKCS #8 format and certificate file in X.509 format 924s (see --key and --cert). 924s 924s The --set-xx capability options allow an older signing certificate to still be 924s used in some situations on the platform even though the APK is now being signed 924s by a newer signing certificate. By default, the new signer will have all 924s capabilities, but the capability options can be specified for the new signer 924s to act as a default level of trust when moving to a newer signing certificate. 924s The capability options accept an optional boolean value of true or false; if 924s this value is not specified then the option will default to true. 924s 924s --ks Load private key and certificate chain from the Java 924s KeyStore initialized from the specified file. NONE means 924s no file is needed by KeyStore, which is the case for some 924s PKCS #11 KeyStores. 924s 924s --ks-key-alias Alias under which the private key and certificate are 924s stored in the KeyStore. This must be specified if the 924s KeyStore contains multiple keys. 924s 924s --ks-pass KeyStore password (see --ks). The following formats are 924s supported: 924s pass: password provided inline 924s env: password provided in the named 924s environment variable 924s file: password provided in the named 924s file, as a single line 924s stdin password provided on standard input, 924s as a single line 924s A password is required to open a KeyStore. 924s By default, the tool will prompt for password via console 924s or standard input. 924s When the same file (including standard input) is used for 924s providing multiple passwords, the passwords are read from 924s the file one line at a time. Passwords are read in the 924s order of old-signer then new-signer and, within each 924s signer, KeyStore password is read before the key password 924s is read. 924s 924s --key-pass Password with which the private key is protected. 924s The following formats are supported: 924s pass: password provided inline 924s env: password provided in the named 924s environment variable 924s file: password provided in the named 924s file, as a single line 924s stdin password provided on standard input, 924s as a single line 924s If --key-pass is not specified for a KeyStore key, this 924s tool will attempt to load the key using the KeyStore 924s password and, if that fails, will prompt for key password 924s and attempt to load the key using that password. 924s If --key-pass is not specified for a private key file key, 924s this tool will prompt for key password only if a password 924s is required. 924s When the same file (including standard input) is used for 924s providing multiple passwords, the passwords are read from 924s the file one line at a time. Passwords are read in the 924s order of old-signer then new-signer and, within each 924s signer, KeyStore password is read before the key password 924s is read. 924s 924s --pass-encoding Additional character encoding (e.g., ibm437 or utf-8) to 924s try for passwords containing non-ASCII characters. 924s KeyStores created by keytool are often encrypted not using 924s the Unicode form of the password but rather using the form 924s produced by encoding the password using the console's 924s character encoding. apksigner by default tries to decrypt 924s using several forms of the password: the Unicode form, the 924s form encoded using the JVM default charset, and, on Java 8 924s and older, the form encoded using the console's charset. 924s On Java 9, apksigner cannot detect the console's charset 924s and may need to be provided with --pass-encoding when a 924s non-ASCII password is used. --pass-encoding may also need 924s to be provided for a KeyStore created by keytool on a 924s different OS or in a different locale. 924s 924s --ks-type Type/algorithm of KeyStore to use. By default, the default 924s type is used. 924s 924s --ks-provider-name Name of the JCA Provider from which to request the 924s KeyStore implementation. By default, the highest priority 924s provider is used. See --ks-provider-class for the 924s alternative way to specify a provider. 924s 924s --ks-provider-class Fully-qualified class name of the JCA Provider from which 924s to request the KeyStore implementation. By default, the 924s provider is chosen based on --ks-provider-name. 924s 924s --ks-provider-arg Value to pass into the constructor of the JCA Provider 924s class specified by --ks-provider-class. The value is 924s passed into the constructor as java.lang.String. By 924s default, the no-arg provider's constructor is used. 924s 924s --key Load private key from the specified file. If the key is 924s password-protected, the password will be prompted via 924s standard input unless specified otherwise using 924s --key-pass. The file must be in PKCS #8 DER format. 924s 924s --cert Load certificate chain from the specified file. The file 924s must be in X.509 PEM or DER format. 924s 924s --set-installed-data Sets whether installed data associated with this previous 924s signing certificate should be trusted. This capability is 924s required to perform signing certificate rotation during an 924s upgrade on-device. Without it, the platform will not 924s permit the app data from the old signing certificate to 924s propogate to the new version. Typically this flag should 924s be set to enable signing certificate rotation and may be 924s unset later when the install base is as migrated as it 924s will be. 924s 924s --set-shared-uid Sets whether apps signed with this previous signing 924s certificate can share a UID with an app signed with the 924s new signing certificate. This is useful in situations 924s where shareUserId apps would like to change their signing 924s certificate but can not guarantee the order of updates to 924s those apps. 924s 924s --set-permission Sets whether apps signed with this previous signing 924s certificate can be granted SIGNATURE permissions defined 924s by an app signed with the new signing certificate. 924s 924s --set-rollback Sets whether the platform should allow an app to be 924s upgraded to a newer version signed with this previous 924s signing certificate. 924s WARNING: This effectively removes any benefit of signing 924s certificate rotation since a compromised key could retake 924s control of an app even after the signing certificate 924s rotation. This option should only be used if a problem is 924s encountered when attempting to rotate an older signing 924s certificate. 924s 924s --set-auth Sets whether apps signed with this previous signing 924s certificate should be granted privileged access by the 924s authenticator module using the new signing certificate. 924s 924s 924s EXAMPLES 924s 924s 1. Remove all capabilities from a previous signer in the linage: 924s $ apksigner lineage --in /path/to/existing/lineage --out /path/to/new/file \ 924s --signer --ks release.jks --set-installed-data false \ 924s --set-shared-uid false --set-permission false --set-rollback false \ 924s --set-auth false 924s 924s 2. Display details about the signing certificates and their capabilities in the lineage: 924s $ apksigner lineage --in /path/to/existing/lineage --print-certs -v 924s 924s autopkgtest [14:02:31]: test command2: -----------------------] 925s command2 PASS 925s autopkgtest [14:02:32]: test command2: - - - - - - - - - - results - - - - - - - - - - 925s autopkgtest [14:02:32]: test command3: preparing testbed 931s Reading package lists... 932s Building dependency tree... 932s Reading state information... 933s Starting pkgProblemResolver with broken count: 0 933s Starting 2 pkgProblemResolver with broken count: 0 933s Done 934s The following NEW packages will be installed: 934s autopkgtest-satdep 934s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 934s Need to get 0 B/712 B of archives. 934s After this operation, 0 B of additional disk space will be used. 934s Get:1 /tmp/autopkgtest.OtznKu/4-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [712 B] 935s Selecting previously unselected package autopkgtest-satdep. 935s (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 ... 89211 files and directories currently installed.) 935s Preparing to unpack .../4-autopkgtest-satdep.deb ... 935s Unpacking autopkgtest-satdep (0) ... 935s Setting up autopkgtest-satdep (0) ... 940s (Reading database ... 89211 files and directories currently installed.) 940s Removing autopkgtest-satdep (0) ... 941s autopkgtest [14:02:48]: test command3: apksigner rotate -h 941s autopkgtest [14:02:48]: test command3: [----------------------- 942s USAGE: apksigner rotate [options] 942s 942s This takes the provided keys and creates a SigningCertificateLineage entry linking the old to the 942s new, for use in a key rotation scenario using APK Signature Scheme v3. 942s 942s 942s GENERAL OPTIONS 942s 942s --in Input SigningCertificateLineage. This file contains a binary representation of 942s a SigningCertificateLineage object, which contains the proof-of-rotation for 942s different signing certificates. This can be used with APK Signature Scheme v3 942s to rotate the signing certificate for an APK. 942s An APK previously signed with a SigningCertificateLineage can also be 942s specified; the lineage will then be read from the signed data in the APK. 942s 942s --out File into which to put the binary representation of a 942s SigningCertificateLineage object. 942s 942s -v, --verbose Verbose output mode 942s 942s -h, --help Show help about this command and exit 942s 942s PER-SIGNER OPTIONS 942s These options specify the configuration of a particular signer. To rotate keys, two signers must be 942s specified, an old and a new. 942s 942s --old-signer The signing information for the signer from which to be rotated. This will 942s be used to sign a new entry in the SigningCertificateLineage allowing the 942s addition of the new-signer. If an input SigningCertificateLineage object was 942s provided, this signer must match the leaf descendant so that the existing 942s signing certificate history may be extended. 942s 942s --new-signer The signing information for the signer to which you want to rotate. This will 942s be the last key in the SigningCertificate object, signed by the old-signer. 942s 942s PER-SIGNER SIGNING KEY, CERTIFICATE, & CAPABILITY OPTIONS 942s There are two ways to provide the signer's private key and certificate: (1) Java 942s KeyStore (see --ks), or (2) private key file in PKCS #8 format and certificate 942s file in X.509 format (see --key and --cert). 942s 942s The --set-xx capability options allow an older signing certificate to still be 942s used in some situations on the platform even though the APK is now being signed 942s by a newer signing certificate. By default, the new signer will have all 942s capabilities, but the capability options can be specified for the new signer 942s during rotation to act as a default level of trust when moving to a newer 942s signing certificate.The capability options accept an optional boolean value of 942s true or false; if this value is not specified then the option will default to 942s true. 942s 942s 942s --ks Load private key and certificate chain from the Java 942s KeyStore initialized from the specified file. NONE means 942s no file is needed by KeyStore, which is the case for some 942s PKCS #11 KeyStores. 942s 942s --ks-key-alias Alias under which the private key and certificate are 942s stored in the KeyStore. This must be specified if the 942s KeyStore contains multiple keys. 942s 942s --ks-pass KeyStore password (see --ks). The following formats are 942s supported: 942s pass: password provided inline 942s env: password provided in the named 942s environment variable 942s file: password provided in the named 942s file, as a single line 942s stdin password provided on standard input, 942s as a single line 942s A password is required to open a KeyStore. 942s By default, the tool will prompt for password via console 942s or standard input. 942s When the same file (including standard input) is used for 942s providing multiple passwords, the passwords are read from 942s the file one line at a time. Passwords are read in the 942s order of old-signer then new-signer and, within each 942s signer, KeyStore password is read before the key password 942s is read. 942s 942s --key-pass Password with which the private key is protected. 942s The following formats are supported: 942s pass: password provided inline 942s env: password provided in the named 942s environment variable 942s file: password provided in the named 942s file, as a single line 942s stdin password provided on standard input, 942s as a single line 942s If --key-pass is not specified for a KeyStore key, this 942s tool will attempt to load the key using the KeyStore 942s password and, if that fails, will prompt for key password 942s and attempt to load the key using that password. 942s If --key-pass is not specified for a private key file key, 942s this tool will prompt for key password only if a password 942s is required. 942s When the same file (including standard input) is used for 942s providing multiple passwords, the passwords are read from 942s the file one line at a time. Passwords are read in the 942s order of old-signer then new-signer and, within each 942s signer, KeyStore password is read before the key password 942s is read. 942s 942s --pass-encoding Additional character encoding (e.g., ibm437 or utf-8) to 942s try for passwords containing non-ASCII characters. 942s KeyStores created by keytool are often encrypted not using 942s the Unicode form of the password but rather using the form 942s produced by encoding the password using the console's 942s character encoding. apksigner by default tries to decrypt 942s using several forms of the password: the Unicode form, the 942s form encoded using the JVM default charset, and, on Java 8 942s and older, the form encoded using the console's charset. 942s On Java 9, apksigner cannot detect the console's charset 942s and may need to be provided with --pass-encoding when a 942s non-ASCII password is used. --pass-encoding may also need 942s to be provided for a KeyStore created by keytool on a 942s different OS or in a different locale. 942s 942s --ks-type Type/algorithm of KeyStore to use. By default, the default 942s type is used. 942s 942s --ks-provider-name Name of the JCA Provider from which to request the 942s KeyStore implementation. By default, the highest priority 942s provider is used. See --ks-provider-class for the 942s alternative way to specify a provider. 942s 942s --ks-provider-class Fully-qualified class name of the JCA Provider from which 942s to request the KeyStore implementation. By default, the 942s provider is chosen based on --ks-provider-name. 942s 942s --ks-provider-arg Value to pass into the constructor of the JCA Provider 942s class specified by --ks-provider-class. The value is 942s passed into the constructor as java.lang.String. By 942s default, the no-arg provider's constructor is used. 942s 942s --key Load private key from the specified file. If the key is 942s password-protected, the password will be prompted via 942s standard input unless specified otherwise using 942s --key-pass. The file must be in PKCS #8 DER format. 942s 942s --cert Load certificate chain from the specified file. The file 942s must be in X.509 PEM or DER format. 942s 942s --set-installed-data Sets whether installed data associated with this previous 942s signing certificate should be trusted. This capability is 942s required to perform signing certificate rotation during an 942s upgrade on-device. Without it, the platform will not 942s permit the app data from the old signing certificate to 942s propogate to the new version. Typically this flag should 942s be set to enable signing certificate rotation and may be 942s unset later when the install base is as migrated as it 942s will be. 942s 942s --set-shared-uid Sets whether apps signed with this previous signing 942s certificate can share a UID with an app signed with the 942s new signing certificate. This is useful in situations 942s where shareUserId apps would like to change their signing 942s certificate but can not guarantee the order of updates to 942s those apps. 942s 942s --set-permission Sets whether apps signed with this previous signing 942s certificate can be granted SIGNATURE permissions defined 942s by an app signed with the new signing certificate. 942s 942s --set-rollback Sets whether the platform should allow an app to be 942s upgraded to a newer version signed with this previous 942s signing certificate. 942s WARNING: This effectively removes any benefit of signing 942s certificate rotation since a compromised key could retake 942s control of an app even after the signing certificate 942s rotation. This option should only be used if a problem is 942s encountered when attempting to rotate an older signing 942s certificate. 942s 942s --set-auth Sets whether apps signed with this previous signing 942s certificate should be granted privileged access by the 942s authenticator module using the new signing certificate. 942s 942s 942s JCA PROVIDER INSTALLATION OPTIONS 942s These options enable you to install additional Java Crypto Architecture (JCA) 942s Providers, such as PKCS #11 providers. Use --next-provider to delimit options of 942s different providers. Providers are installed in the order in which they appear 942s on the command-line. 942s 942s --provider-class Fully-qualified class name of the JCA Provider. 942s 942s --provider-arg Value to pass into the constructor of the JCA Provider 942s class specified by --provider-class. The value is passed 942s into the constructor as java.lang.String. By default, the 942s no-arg provider's constructor is used. 942s 942s --provider-pos Position / priority at which to install this provider in 942s the JCA provider list. By default, the provider is 942s installed as the lowest priority provider. 942s See java.security.Security.insertProviderAt. 942s 942s EXAMPLES 942s 942s 1. Create a new SigningCertificateLineage to enable rotation: 942s $ apksigner rotate --out /path/to/new/file --old-signer --ks release.jks \ 942s --new-signer --ks release2.jks 942s 942s 2. Extend an existing SigningCertificateLineage to rotate again after previous rotation: 942s $ apksigner rotate --in /path/to/existing/lineage --out /path/to/new/file \ 942s --old-signer --ks release2.jks --new-signer --ks release3.jks 942s 942s 3. Create a new SigningCertificateLineage with explicit capabilities for the previous signer: 942s $ apksigner rotate --out /path/to/new/file --old-signer --ks release.jks \ 942s --set-installed-data true --set-shared-uid true --set-permission true --set-rollback false \ 942s --set-auth true --new-signer --ks release2.jks 942s autopkgtest [14:02:49]: test command3: -----------------------] 943s command3 PASS 943s autopkgtest [14:02:50]: test command3: - - - - - - - - - - results - - - - - - - - - - 946s autopkgtest [14:02:53]: test command4: preparing testbed 952s Reading package lists... 952s Building dependency tree... 952s Reading state information... 953s Starting pkgProblemResolver with broken count: 0 953s Starting 2 pkgProblemResolver with broken count: 0 953s Done 955s The following NEW packages will be installed: 955s autopkgtest-satdep 955s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 955s Need to get 0 B/712 B of archives. 955s After this operation, 0 B of additional disk space will be used. 955s Get:1 /tmp/autopkgtest.OtznKu/5-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [712 B] 956s Selecting previously unselected package autopkgtest-satdep. 956s (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 ... 89211 files and directories currently installed.) 956s Preparing to unpack .../5-autopkgtest-satdep.deb ... 956s Unpacking autopkgtest-satdep (0) ... 956s Setting up autopkgtest-satdep (0) ... 961s (Reading database ... 89211 files and directories currently installed.) 961s Removing autopkgtest-satdep (0) ... 962s autopkgtest [14:03:09]: test command4: apksigner sign -h 962s autopkgtest [14:03:09]: test command4: [----------------------- 963s USAGE: apksigner sign [options] apk 963s 963s This signs the provided APK, stripping out any pre-existing signatures. Signing 963s is performed using one or more signers, each represented by an asymmetric key 963s pair and a corresponding certificate. Typically, an APK is signed by just one 963s signer. For each signer, you need to provide the signer's private key and 963s certificate. 963s 963s 963s GENERAL OPTIONS 963s 963s --in Input APK file to sign. This is an alternative to 963s specifying the APK as the very last parameter, after all 963s options. Unless --out is specified, this file will be 963s overwritten with the resulting signed APK. 963s 963s --out File into which to output the signed APK. By default, the 963s APK is signed in-place, overwriting the input file. 963s 963s -v, --verbose Verbose output mode 963s 963s --v1-signing-enabled Whether to enable signing using JAR signing scheme (aka v1 963s signing scheme) used in Android since day one. By default, 963s signing using this scheme is enabled based on min and max 963s SDK version (see --min-sdk-version and --max-sdk-version). 963s 963s --v2-signing-enabled Whether to enable signing using APK Signature Scheme v2 963s (aka v2 signing scheme) introduced in Android Nougat, 963s API Level 24. By default, signing using this scheme is 963s enabled based on min and max SDK version (see 963s --min-sdk-version and --max-sdk-version). 963s 963s --v3-signing-enabled Whether to enable signing using APK Signature Scheme v3 963s (aka v3 signing scheme) introduced in Android P, 963s API Level 28. By default, signing using this scheme is 963s enabled based on min and max SDK version (see 963s --min-sdk-version and --max-sdk-version). Multiple 963s signers are not supported when using v3 signing, but 963s multiple signers may be provided in conjunction with the 963s "lineage" option to make sure that the app is signed by 963s an appropriate signer on all supported platform versions. 963s 963s --v4-signing-enabled Whether to enable signing using APK Signature Scheme v4 963s (aka v4 signing scheme) introduced in Android 11, 963s API Level 30. By default, signing using this scheme is 963s enabled based on min and max SDK version (see 963s --min-sdk-version and --max-sdk-version). 963s 963s --force-stamp-overwrite Whether to overwrite existing source stamp in the 963s APK, if found. By default, it is set to false. It has no 963s effect if no source stamp signer config is provided. 963s 963s --verity-enabled Whether to enable the verity signature algorithm for the 963s v2 and v3 signature schemes. 963s 963s --min-sdk-version Lowest API Level on which this APK's signatures will be 963s verified. By default, the value from AndroidManifest.xml 963s is used. The higher the value, the stronger security 963s parameters are used when signing. 963s 963s --max-sdk-version Highest API Level on which this APK's signatures will be 963s verified. By default, the highest possible value is used. 963s 963s --debuggable-apk-permitted Whether to permit signing android:debuggable="true" 963s APKs. Android disables some of its security protections 963s for such apps. For example, anybody with ADB shell access 963s can execute arbitrary code in the context of a debuggable 963s app and can read/write persistently stored data of the 963s app. It is a good security practice to not sign 963s debuggable APKs with production signing keys, because 963s such APKs puts users at risk once leaked. 963s By default, signing debuggable APKs is permitted, for 963s backward compatibility with older apksigner versions. 963s 963s --lineage Signing certificate history to use in the event that 963s signing certificates changed for an APK using APK 963s Signature Scheme v3 supported signing certificate 963s rotation. This object may be created by the apksigner 963s "rotate" command. If used, all signers used to sign the 963s APK must be present in the signing lineage, 963s and if v1 or v2 signing is enabled, the first (oldest) 963s entry in the lineage must have a signer provided, so that 963s it can be used for those v1 and/or v2 signing. Multiple 963s signers are not supported when using APK Signature Scheme 963s v3, so multiple signers input will correspond to different 963s points in the lineage and will be used on older platform 963s versions when the newest signer in the lineage is 963s unsupported. 963s An APK previously signed with a SigningCertificateLineage 963s can also be specified; the lineage will then be read from 963s the signed data in the APK. 963s 963s -h, --help Show help about this command and exit 963s 963s 963s PER-SIGNER OPTIONS 963s These options specify the configuration of a particular signer. To delimit 963s options of different signers, use --next-signer. 963s 963s --next-signer Delimits options of two different signers. There is no 963s need to use this option when only one signer is used. 963s 963s --v1-signer-name Basename for files comprising the JAR signature scheme 963s (aka v1 scheme) signature of this signer. By default, 963s KeyStore key alias or basename of key file is used. 963s 963s --stamp-signer The signing information for the signer of the source stamp 963s to be included in the APK. 963s 963s PER-SIGNER SIGNING KEY & CERTIFICATE OPTIONS 963s There are two ways to provide the signer's private key and certificate: (1) Java 963s KeyStore (see --ks), or (2) private key file in PKCS #8 format and certificate 963s file in X.509 format (see --key and --cert). 963s 963s --ks Load private key and certificate chain from the Java 963s KeyStore initialized from the specified file. NONE means 963s no file is needed by KeyStore, which is the case for some 963s PKCS #11 KeyStores. 963s 963s --ks-key-alias Alias under which the private key and certificate are 963s stored in the KeyStore. This must be specified if the 963s KeyStore contains multiple keys. 963s 963s --ks-pass KeyStore password (see --ks). The following formats are 963s supported: 963s pass: password provided inline 963s env: password provided in the named 963s environment variable 963s file: password provided in the named 963s file, as a single line 963s stdin password provided on standard input, 963s as a single line 963s A password is required to open a KeyStore. 963s By default, the tool will prompt for password via console 963s or standard input. 963s When the same file (including standard input) is used for 963s providing multiple passwords, the passwords are read from 963s the file one line at a time. Passwords are read in the 963s order in which signers are specified and, within each 963s signer, KeyStore password is read before the key password 963s is read. 963s 963s --key-pass Password with which the private key is protected. 963s The following formats are supported: 963s pass: password provided inline 963s env: password provided in the named 963s environment variable 963s file: password provided in the named 963s file, as a single line 963s stdin password provided on standard input, 963s as a single line 963s If --key-pass is not specified for a KeyStore key, this 963s tool will attempt to load the key using the KeyStore 963s password and, if that fails, will prompt for key password 963s and attempt to load the key using that password. 963s If --key-pass is not specified for a private key file key, 963s this tool will prompt for key password only if a password 963s is required. 963s When the same file (including standard input) is used for 963s providing multiple passwords, the passwords are read from 963s the file one line at a time. Passwords are read in the 963s order in which signers are specified and, within each 963s signer, KeyStore password is read before the key password 963s is read. 963s 963s --pass-encoding Additional character encoding (e.g., ibm437 or utf-8) to 963s try for passwords containing non-ASCII characters. 963s KeyStores created by keytool are often encrypted not using 963s the Unicode form of the password but rather using the form 963s produced by encoding the password using the console's 963s character encoding. apksigner by default tries to decrypt 963s using several forms of the password: the Unicode form, the 963s form encoded using the JVM default charset, and, on Java 8 963s and older, the form encoded using the console's charset. 963s On Java 9, apksigner cannot detect the console's charset 963s and may need to be provided with --pass-encoding when a 963s non-ASCII password is used. --pass-encoding may also need 963s to be provided for a KeyStore created by keytool on a 963s different OS or in a different locale. 963s 963s --ks-type Type/algorithm of KeyStore to use. By default, the default 963s type is used. 963s 963s --ks-provider-name Name of the JCA Provider from which to request the 963s KeyStore implementation. By default, the highest priority 963s provider is used. See --ks-provider-class for the 963s alternative way to specify a provider. 963s 963s --ks-provider-class Fully-qualified class name of the JCA Provider from which 963s to request the KeyStore implementation. By default, the 963s provider is chosen based on --ks-provider-name. 963s 963s --ks-provider-arg Value to pass into the constructor of the JCA Provider 963s class specified by --ks-provider-class. The value is 963s passed into the constructor as java.lang.String. By 963s default, the no-arg provider's constructor is used. 963s 963s --key Load private key from the specified file. If the key is 963s password-protected, the password will be prompted via 963s standard input unless specified otherwise using 963s --key-pass. The file must be in PKCS #8 DER format. 963s 963s --cert Load certificate chain from the specified file. The file 963s must be in X.509 PEM or DER format. 963s 963s 963s JCA PROVIDER INSTALLATION OPTIONS 963s These options enable you to install additional Java Crypto Architecture (JCA) 963s Providers, such as PKCS #11 providers. Use --next-provider to delimit options of 963s different providers. Providers are installed in the order in which they appear 963s on the command-line. 963s 963s --provider-class Fully-qualified class name of the JCA Provider. 963s 963s --provider-arg Value to pass into the constructor of the JCA Provider 963s class specified by --provider-class. The value is passed 963s into the constructor as java.lang.String. By default, the 963s no-arg provider's constructor is used. 963s 963s --provider-pos Position / priority at which to install this provider in 963s the JCA provider list. By default, the provider is 963s installed as the lowest priority provider. 963s See java.security.Security.insertProviderAt. 963s 963s 963s EXAMPLES 963s 963s 1. Sign an APK, in-place, using the one and only key in keystore release.jks: 963s $ apksigner sign --ks release.jks app.apk 963s 963s 1. Sign an APK, without overwriting, using the one and only key in keystore 963s release.jks: 963s $ apksigner sign --ks release.jks --in app.apk --out app-signed.apk 963s 963s 3. Sign an APK using a private key and certificate stored as individual files: 963s $ apksigner sign --key release.pk8 --cert release.x509.pem app.apk 963s 963s 4. Sign an APK using two keys: 963s $ apksigner sign --ks release.jks --next-signer --ks magic.jks app.apk 963s 963s 5. Sign an APK using PKCS #11 JCA Provider: 963s $ apksigner sign --provider-class sun.security.pkcs11.SunPKCS11 \ 963s --provider-arg token.cfg --ks NONE --ks-type PKCS11 app.apk 963s 963s 6. Sign an APK using a non-ASCII password KeyStore created on English Windows. 963s The --pass-encoding parameter is not needed if apksigner is being run on 963s English Windows with Java 8 or older. 963s $ apksigner sign --ks release.jks --pass-encoding ibm437 app.apk 963s 963s 7. Sign an APK on Windows using a non-ASCII password KeyStore created on a 963s modern OSX or Linux machine: 963s $ apksigner sign --ks release.jks --pass-encoding utf-8 app.apk 963s 963s 8. Sign an APK with rotated signing certificate: 963s $ apksigner sign --ks release.jks --next-signer --ks release2.jks \ 963s --lineage /path/to/signing/history/lineage app.apk 963s autopkgtest [14:03:10]: test command4: -----------------------] 964s autopkgtest [14:03:11]: test command4: - - - - - - - - - - results - - - - - - - - - - 964s command4 PASS 964s autopkgtest [14:03:11]: test command5: preparing testbed 970s Reading package lists... 971s Building dependency tree... 971s Reading state information... 972s Starting pkgProblemResolver with broken count: 0 972s Starting 2 pkgProblemResolver with broken count: 0 972s Done 973s The following NEW packages will be installed: 973s autopkgtest-satdep 973s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 973s Need to get 0 B/716 B of archives. 973s After this operation, 0 B of additional disk space will be used. 973s Get:1 /tmp/autopkgtest.OtznKu/6-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [716 B] 974s Selecting previously unselected package autopkgtest-satdep. 974s (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 ... 89211 files and directories currently installed.) 974s Preparing to unpack .../6-autopkgtest-satdep.deb ... 974s Unpacking autopkgtest-satdep (0) ... 974s Setting up autopkgtest-satdep (0) ... 983s (Reading database ... 89211 files and directories currently installed.) 983s Removing autopkgtest-satdep (0) ... 986s autopkgtest [14:03:33]: test command5: apksigner verify -h 986s autopkgtest [14:03:33]: test command5: [----------------------- 987s USAGE: apksigner verify [options] apk 987s 987s This checks whether the provided APK will verify on Android. By default, this 987s checks whether the APK will verify on all Android platform versions supported 987s by the APK (as declared using minSdkVersion in AndroidManifest.xml). Use 987s --min-sdk-version and/or --max-sdk-version to verify the APK against a custom 987s range of API Levels. 987s 987s 987s OPTIONS 987s 987s --print-certs Show information about the APK's signing certificates 987s 987s -v, --verbose Verbose output mode 987s 987s --min-sdk-version Lowest API Level on which this APK's signatures will be 987s verified. By default, the value from AndroidManifest.xml 987s is used. 987s 987s --max-sdk-version Highest API Level on which this APK's signatures will be 987s verified. By default, the highest possible value is used. 987s 987s -Werr Treat warnings as errors 987s 987s --in APK file to verify. This is an alternative to specifying 987s the APK as the very last parameter, after all options. 987s 987s -h, --help Show help about this command and exit 987s 987s 987s EXAMPLES 987s 987s 1. Check whether the APK's signatures are expected to verify on all Android 987s platforms declared as supported by this APK: 987s $ apksigner verify app.apk 987s 987s 2. Check whether the APK's signatures are expected to verify on Android 987s platforms with API Level 15 and higher: 987s $ apksigner verify --min-sdk-version 15 app.apk 987s autopkgtest [14:03:34]: test command5: -----------------------] 988s autopkgtest [14:03:35]: test command5: - - - - - - - - - - results - - - - - - - - - - 988s command5 PASS 988s autopkgtest [14:03:35]: @@@@@@@@@@@@@@@@@@@@ summary 988s ApkVerifierTest.sh PASS 988s command1 PASS 988s command2 PASS 988s command3 PASS 988s command4 PASS 988s command5 PASS 1150s Creating nova instance adt-noble-arm64-android-platform-tools-apksig-20240325-134706-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240324.img (UUID 2df78aec-1bf7-4c70-8bf1-31fba04b7d21)...