1s autopkgtest [18:27:44]: starting date and time: 2025-03-15 18:27:44+0000 1s autopkgtest [18:27:44]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 1s autopkgtest [18:27:44]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.2w09_8xh/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:glibc --apt-upgrade r-cran-sparsesvd --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=glibc/2.41-1ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-s390x-11.secgroup --name adt-plucky-s390x-r-cran-sparsesvd-20250315-182743-juju-7f2275-prod-proposed-migration-environment-2-51f04d3d-9bb1-46e7-8f92-12e17ea7e703 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-s390x -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,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 133s autopkgtest [18:29:56]: testbed dpkg architecture: s390x 133s autopkgtest [18:29:56]: testbed apt version: 2.9.33 134s autopkgtest [18:29:57]: @@@@@@@@@@@@@@@@@@@@ test bed setup 134s autopkgtest [18:29:57]: testbed release detected to be: None 135s autopkgtest [18:29:58]: updating testbed package index (apt update) 135s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 135s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 135s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 135s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 136s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [379 kB] 136s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.8 kB] 136s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [99.7 kB] 136s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [113 kB] 136s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x c-n-f Metadata [1824 B] 136s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x c-n-f Metadata [116 B] 136s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [320 kB] 137s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x c-n-f Metadata [13.4 kB] 137s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [3776 B] 137s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x c-n-f Metadata [240 B] 137s Fetched 1073 kB in 2s (591 kB/s) 137s Reading package lists... 138s Reading package lists... 138s Building dependency tree... 138s Reading state information... 138s Calculating upgrade... 138s Calculating upgrade... 138s The following packages were automatically installed and are no longer required: 138s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 138s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 138s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 138s linux-tools-6.11.0-8-generic 138s Use 'sudo apt autoremove' to remove them. 138s The following packages will be upgraded: 138s pinentry-curses python3-jinja2 strace 139s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 139s Need to get 652 kB of archives. 139s After this operation, 27.6 kB of additional disk space will be used. 139s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x strace s390x 6.13+ds-1ubuntu1 [500 kB] 139s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x pinentry-curses s390x 1.3.1-2ubuntu3 [42.9 kB] 139s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x python3-jinja2 all 3.1.5-2ubuntu1 [109 kB] 140s Fetched 652 kB in 1s (568 kB/s) 140s (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 ... 81428 files and directories currently installed.) 140s Preparing to unpack .../strace_6.13+ds-1ubuntu1_s390x.deb ... 140s Unpacking strace (6.13+ds-1ubuntu1) over (6.11-0ubuntu1) ... 140s Preparing to unpack .../pinentry-curses_1.3.1-2ubuntu3_s390x.deb ... 140s Unpacking pinentry-curses (1.3.1-2ubuntu3) over (1.3.1-2ubuntu2) ... 140s Preparing to unpack .../python3-jinja2_3.1.5-2ubuntu1_all.deb ... 140s Unpacking python3-jinja2 (3.1.5-2ubuntu1) over (3.1.5-2) ... 140s Setting up pinentry-curses (1.3.1-2ubuntu3) ... 140s Setting up python3-jinja2 (3.1.5-2ubuntu1) ... 140s Setting up strace (6.13+ds-1ubuntu1) ... 140s Processing triggers for man-db (2.13.0-1) ... 141s Reading package lists... 141s Building dependency tree... 141s Reading state information... 141s Solving dependencies... 141s The following packages will be REMOVED: 141s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 141s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 141s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 141s linux-tools-6.11.0-8-generic* 141s 0 upgraded, 0 newly installed, 9 to remove and 5 not upgraded. 141s After this operation, 167 MB disk space will be freed. 141s (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 ... 81428 files and directories currently installed.) 141s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 141s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 141s Removing libpython3.12t64:s390x (3.12.9-1) ... 141s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 141s Removing libnsl2:s390x (1.3.0-3build3) ... 141s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 141s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 141s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 142s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 142s Processing triggers for libc-bin (2.41-1ubuntu1) ... 142s (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 ... 56328 files and directories currently installed.) 142s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 142s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 142s autopkgtest [18:30:05]: upgrading testbed (apt dist-upgrade and autopurge) 143s Reading package lists... 143s Building dependency tree... 143s Reading state information... 143s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 143s Starting 2 pkgProblemResolver with broken count: 0 143s Done 143s Entering ResolveByKeep 143s 143s Calculating upgrade... 143s The following packages will be upgraded: 143s libc-bin libc-dev-bin libc6 libc6-dev locales 144s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 144s Need to get 9512 kB of archives. 144s After this operation, 8192 B of additional disk space will be used. 144s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libc6-dev s390x 2.41-1ubuntu2 [1678 kB] 146s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libc-dev-bin s390x 2.41-1ubuntu2 [24.3 kB] 146s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libc6 s390x 2.41-1ubuntu2 [2892 kB] 150s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libc-bin s390x 2.41-1ubuntu2 [671 kB] 151s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x locales all 2.41-1ubuntu2 [4246 kB] 156s Preconfiguring packages ... 156s Fetched 9512 kB in 12s (775 kB/s) 156s (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 ... 56326 files and directories currently installed.) 156s Preparing to unpack .../libc6-dev_2.41-1ubuntu2_s390x.deb ... 156s Unpacking libc6-dev:s390x (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 156s Preparing to unpack .../libc-dev-bin_2.41-1ubuntu2_s390x.deb ... 156s Unpacking libc-dev-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 156s Preparing to unpack .../libc6_2.41-1ubuntu2_s390x.deb ... 156s Unpacking libc6:s390x (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 156s Setting up libc6:s390x (2.41-1ubuntu2) ... 156s (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 ... 56326 files and directories currently installed.) 156s Preparing to unpack .../libc-bin_2.41-1ubuntu2_s390x.deb ... 156s Unpacking libc-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 156s Setting up libc-bin (2.41-1ubuntu2) ... 156s (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 ... 56326 files and directories currently installed.) 156s Preparing to unpack .../locales_2.41-1ubuntu2_all.deb ... 156s Unpacking locales (2.41-1ubuntu2) over (2.41-1ubuntu1) ... 156s Setting up locales (2.41-1ubuntu2) ... 157s Generating locales (this might take a while)... 158s en_US.UTF-8... done 158s Generation complete. 158s Setting up libc-dev-bin (2.41-1ubuntu2) ... 158s Setting up libc6-dev:s390x (2.41-1ubuntu2) ... 158s Processing triggers for man-db (2.13.0-1) ... 158s Processing triggers for systemd (257.3-1ubuntu3) ... 159s Reading package lists... 159s Building dependency tree... 159s Reading state information... 160s Starting pkgProblemResolver with broken count: 0 160s Starting 2 pkgProblemResolver with broken count: 0 160s Done 160s Solving dependencies... 160s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 160s autopkgtest [18:30:23]: rebooting testbed after setup commands that affected boot 177s autopkgtest [18:30:40]: testbed running kernel: Linux 6.14.0-10-generic #10-Ubuntu SMP Wed Mar 12 14:53:49 UTC 2025 180s autopkgtest [18:30:43]: @@@@@@@@@@@@@@@@@@@@ apt-source r-cran-sparsesvd 182s Get:1 http://ftpmaster.internal/ubuntu plucky/universe r-cran-sparsesvd 0.2-2-1 (dsc) [2111 B] 182s Get:2 http://ftpmaster.internal/ubuntu plucky/universe r-cran-sparsesvd 0.2-2-1 (tar) [37.9 kB] 182s Get:3 http://ftpmaster.internal/ubuntu plucky/universe r-cran-sparsesvd 0.2-2-1 (diff) [2868 B] 182s gpgv: Signature made Sat Jan 21 16:19:49 2023 UTC 182s gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1 182s gpgv: issuer "tille@debian.org" 182s gpgv: Can't check signature: No public key 182s dpkg-source: warning: cannot verify inline signature for ./r-cran-sparsesvd_0.2-2-1.dsc: no acceptable signature found 182s autopkgtest [18:30:45]: testing package r-cran-sparsesvd version 0.2-2-1 182s autopkgtest [18:30:45]: build not needed 184s autopkgtest [18:30:47]: test run-unit-test: preparing testbed 184s Reading package lists... 184s Building dependency tree... 184s Reading state information... 184s Starting pkgProblemResolver with broken count: 0 184s Starting 2 pkgProblemResolver with broken count: 0 184s Done 184s The following NEW packages will be installed: 184s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono libblas3 184s libcairo2 libdatrie1 libdeflate0 libfontconfig1 libfreetype6 libgfortran5 184s libgomp1 libgraphite2-3 libharfbuzz0b libice6 libjbig0 libjpeg-turbo8 184s libjpeg8 liblapack3 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 184s libpaper-utils libpaper2 libpixman-1-0 libsharpyuv0 libsm6 libtcl8.6 184s libthai-data libthai0 libtiff6 libtk8.6 libwebp7 libxcb-render0 libxcb-shm0 184s libxft2 libxrender1 libxss1 libxt6t64 r-base-core r-cran-lattice 184s r-cran-matrix r-cran-sparsesvd unzip x11-common xdg-utils zip 185s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded. 185s Need to get 45.9 MB of archives. 185s After this operation, 91.2 MB of additional disk space will be used. 185s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libfreetype6 s390x 2.13.3+dfsg-1 [431 kB] 185s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-dejavu-mono all 2.37-8 [502 kB] 186s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-dejavu-core all 2.37-8 [835 kB] 187s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x fontconfig-config s390x 2.15.0-2ubuntu1 [37.5 kB] 187s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x libfontconfig1 s390x 2.15.0-2ubuntu1 [150 kB] 187s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x fontconfig s390x 2.15.0-2ubuntu1 [191 kB] 187s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libblas3 s390x 3.12.1-2 [252 kB] 187s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libpixman-1-0 s390x 0.44.0-3 [201 kB] 188s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-render0 s390x 1.17.0-2 [17.0 kB] 188s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libxcb-shm0 s390x 1.17.0-2 [5862 B] 188s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libxrender1 s390x 1:0.9.10-1.1build1 [20.4 kB] 188s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libcairo2 s390x 1.18.2-2 [580 kB] 188s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x libdatrie1 s390x 0.2.13-3build1 [20.6 kB] 188s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x libdeflate0 s390x 1.23-1 [46.1 kB] 188s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libgfortran5 s390x 15-20250222-0ubuntu1 [620 kB] 189s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 15-20250222-0ubuntu1 [152 kB] 189s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libgraphite2-3 s390x 1.3.14-2ubuntu1 [79.8 kB] 189s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libharfbuzz0b s390x 10.2.0-1 [538 kB] 190s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x x11-common all 1:7.7+23ubuntu3 [21.7 kB] 190s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x libice6 s390x 2:1.1.1-1 [45.4 kB] 190s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libjpeg-turbo8 s390x 2.1.5-3ubuntu2 [147 kB] 190s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x libjpeg8 s390x 8c-2ubuntu11 [2146 B] 190s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x liblapack3 s390x 3.12.1-2 [2971 kB] 194s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x libthai-data all 0.1.29-2build1 [158 kB] 194s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libthai0 s390x 0.1.29-2build1 [20.7 kB] 194s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x libpango-1.0-0 s390x 1.56.2-1 [253 kB] 194s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x libpangoft2-1.0-0 s390x 1.56.2-1 [50.2 kB] 194s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x libpangocairo-1.0-0 s390x 1.56.2-1 [28.2 kB] 194s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libpaper2 s390x 2.2.5-0.3 [17.2 kB] 194s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libpaper-utils s390x 2.2.5-0.3 [15.3 kB] 194s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libsharpyuv0 s390x 1.5.0-0.1 [16.7 kB] 194s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libsm6 s390x 2:1.2.4-1 [18.4 kB] 194s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libtcl8.6 s390x 8.6.16+dfsg-1 [1034 kB] 195s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libjbig0 s390x 2.1-6.1ubuntu2 [33.1 kB] 195s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libwebp7 s390x 1.5.0-0.1 [210 kB] 196s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x libtiff6 s390x 4.5.1+git230720-4ubuntu4 [217 kB] 196s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x libxft2 s390x 2.3.6-1build1 [49.6 kB] 196s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libxss1 s390x 1:1.2.3-1build3 [7396 B] 196s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x libtk8.6 s390x 8.6.16-1 [830 kB] 197s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x libxt6t64 s390x 1:1.2.1-1.2build1 [184 kB] 197s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x zip s390x 3.0-14ubuntu2 [187 kB] 198s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x unzip s390x 6.0-28ubuntu6 [186 kB] 198s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x xdg-utils all 1.2.1-2ubuntu1 [66.0 kB] 198s Get:44 http://ftpmaster.internal/ubuntu plucky/universe s390x r-base-core s390x 4.4.3-1 [28.6 MB] 229s Get:45 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-lattice s390x 0.22-6-1 [1340 kB] 230s Get:46 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-matrix s390x 1.7-3-1 [4449 kB] 235s Get:47 http://ftpmaster.internal/ubuntu plucky/universe s390x r-cran-sparsesvd s390x 0.2-2-1 [39.1 kB] 235s Preconfiguring packages ... 235s Fetched 45.9 MB in 51s (907 kB/s) 235s Selecting previously unselected package libfreetype6:s390x. 235s (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 ... 56326 files and directories currently installed.) 235s Preparing to unpack .../00-libfreetype6_2.13.3+dfsg-1_s390x.deb ... 235s Unpacking libfreetype6:s390x (2.13.3+dfsg-1) ... 235s Selecting previously unselected package fonts-dejavu-mono. 235s Preparing to unpack .../01-fonts-dejavu-mono_2.37-8_all.deb ... 235s Unpacking fonts-dejavu-mono (2.37-8) ... 235s Selecting previously unselected package fonts-dejavu-core. 235s Preparing to unpack .../02-fonts-dejavu-core_2.37-8_all.deb ... 235s Unpacking fonts-dejavu-core (2.37-8) ... 235s Selecting previously unselected package fontconfig-config. 235s Preparing to unpack .../03-fontconfig-config_2.15.0-2ubuntu1_s390x.deb ... 236s Unpacking fontconfig-config (2.15.0-2ubuntu1) ... 236s Selecting previously unselected package libfontconfig1:s390x. 236s Preparing to unpack .../04-libfontconfig1_2.15.0-2ubuntu1_s390x.deb ... 236s Unpacking libfontconfig1:s390x (2.15.0-2ubuntu1) ... 236s Selecting previously unselected package fontconfig. 236s Preparing to unpack .../05-fontconfig_2.15.0-2ubuntu1_s390x.deb ... 236s Unpacking fontconfig (2.15.0-2ubuntu1) ... 236s Selecting previously unselected package libblas3:s390x. 236s Preparing to unpack .../06-libblas3_3.12.1-2_s390x.deb ... 236s Unpacking libblas3:s390x (3.12.1-2) ... 236s Selecting previously unselected package libpixman-1-0:s390x. 236s Preparing to unpack .../07-libpixman-1-0_0.44.0-3_s390x.deb ... 236s Unpacking libpixman-1-0:s390x (0.44.0-3) ... 236s Selecting previously unselected package libxcb-render0:s390x. 236s Preparing to unpack .../08-libxcb-render0_1.17.0-2_s390x.deb ... 236s Unpacking libxcb-render0:s390x (1.17.0-2) ... 236s Selecting previously unselected package libxcb-shm0:s390x. 236s Preparing to unpack .../09-libxcb-shm0_1.17.0-2_s390x.deb ... 236s Unpacking libxcb-shm0:s390x (1.17.0-2) ... 236s Selecting previously unselected package libxrender1:s390x. 236s Preparing to unpack .../10-libxrender1_1%3a0.9.10-1.1build1_s390x.deb ... 236s Unpacking libxrender1:s390x (1:0.9.10-1.1build1) ... 236s Selecting previously unselected package libcairo2:s390x. 236s Preparing to unpack .../11-libcairo2_1.18.2-2_s390x.deb ... 236s Unpacking libcairo2:s390x (1.18.2-2) ... 236s Selecting previously unselected package libdatrie1:s390x. 236s Preparing to unpack .../12-libdatrie1_0.2.13-3build1_s390x.deb ... 236s Unpacking libdatrie1:s390x (0.2.13-3build1) ... 236s Selecting previously unselected package libdeflate0:s390x. 236s Preparing to unpack .../13-libdeflate0_1.23-1_s390x.deb ... 236s Unpacking libdeflate0:s390x (1.23-1) ... 236s Selecting previously unselected package libgfortran5:s390x. 236s Preparing to unpack .../14-libgfortran5_15-20250222-0ubuntu1_s390x.deb ... 236s Unpacking libgfortran5:s390x (15-20250222-0ubuntu1) ... 236s Selecting previously unselected package libgomp1:s390x. 236s Preparing to unpack .../15-libgomp1_15-20250222-0ubuntu1_s390x.deb ... 236s Unpacking libgomp1:s390x (15-20250222-0ubuntu1) ... 236s Selecting previously unselected package libgraphite2-3:s390x. 236s Preparing to unpack .../16-libgraphite2-3_1.3.14-2ubuntu1_s390x.deb ... 236s Unpacking libgraphite2-3:s390x (1.3.14-2ubuntu1) ... 236s Selecting previously unselected package libharfbuzz0b:s390x. 236s Preparing to unpack .../17-libharfbuzz0b_10.2.0-1_s390x.deb ... 236s Unpacking libharfbuzz0b:s390x (10.2.0-1) ... 236s Selecting previously unselected package x11-common. 236s Preparing to unpack .../18-x11-common_1%3a7.7+23ubuntu3_all.deb ... 236s Unpacking x11-common (1:7.7+23ubuntu3) ... 236s Selecting previously unselected package libice6:s390x. 236s Preparing to unpack .../19-libice6_2%3a1.1.1-1_s390x.deb ... 236s Unpacking libice6:s390x (2:1.1.1-1) ... 236s Selecting previously unselected package libjpeg-turbo8:s390x. 236s Preparing to unpack .../20-libjpeg-turbo8_2.1.5-3ubuntu2_s390x.deb ... 236s Unpacking libjpeg-turbo8:s390x (2.1.5-3ubuntu2) ... 236s Selecting previously unselected package libjpeg8:s390x. 236s Preparing to unpack .../21-libjpeg8_8c-2ubuntu11_s390x.deb ... 236s Unpacking libjpeg8:s390x (8c-2ubuntu11) ... 236s Selecting previously unselected package liblapack3:s390x. 236s Preparing to unpack .../22-liblapack3_3.12.1-2_s390x.deb ... 236s Unpacking liblapack3:s390x (3.12.1-2) ... 236s Selecting previously unselected package libthai-data. 236s Preparing to unpack .../23-libthai-data_0.1.29-2build1_all.deb ... 236s Unpacking libthai-data (0.1.29-2build1) ... 236s Selecting previously unselected package libthai0:s390x. 236s Preparing to unpack .../24-libthai0_0.1.29-2build1_s390x.deb ... 236s Unpacking libthai0:s390x (0.1.29-2build1) ... 236s Selecting previously unselected package libpango-1.0-0:s390x. 236s Preparing to unpack .../25-libpango-1.0-0_1.56.2-1_s390x.deb ... 236s Unpacking libpango-1.0-0:s390x (1.56.2-1) ... 236s Selecting previously unselected package libpangoft2-1.0-0:s390x. 236s Preparing to unpack .../26-libpangoft2-1.0-0_1.56.2-1_s390x.deb ... 236s Unpacking libpangoft2-1.0-0:s390x (1.56.2-1) ... 236s Selecting previously unselected package libpangocairo-1.0-0:s390x. 236s Preparing to unpack .../27-libpangocairo-1.0-0_1.56.2-1_s390x.deb ... 236s Unpacking libpangocairo-1.0-0:s390x (1.56.2-1) ... 236s Selecting previously unselected package libpaper2:s390x. 236s Preparing to unpack .../28-libpaper2_2.2.5-0.3_s390x.deb ... 236s Unpacking libpaper2:s390x (2.2.5-0.3) ... 236s Selecting previously unselected package libpaper-utils. 236s Preparing to unpack .../29-libpaper-utils_2.2.5-0.3_s390x.deb ... 236s Unpacking libpaper-utils (2.2.5-0.3) ... 236s Selecting previously unselected package libsharpyuv0:s390x. 236s Preparing to unpack .../30-libsharpyuv0_1.5.0-0.1_s390x.deb ... 236s Unpacking libsharpyuv0:s390x (1.5.0-0.1) ... 236s Selecting previously unselected package libsm6:s390x. 236s Preparing to unpack .../31-libsm6_2%3a1.2.4-1_s390x.deb ... 236s Unpacking libsm6:s390x (2:1.2.4-1) ... 236s Selecting previously unselected package libtcl8.6:s390x. 236s Preparing to unpack .../32-libtcl8.6_8.6.16+dfsg-1_s390x.deb ... 236s Unpacking libtcl8.6:s390x (8.6.16+dfsg-1) ... 236s Selecting previously unselected package libjbig0:s390x. 236s Preparing to unpack .../33-libjbig0_2.1-6.1ubuntu2_s390x.deb ... 236s Unpacking libjbig0:s390x (2.1-6.1ubuntu2) ... 236s Selecting previously unselected package libwebp7:s390x. 236s Preparing to unpack .../34-libwebp7_1.5.0-0.1_s390x.deb ... 236s Unpacking libwebp7:s390x (1.5.0-0.1) ... 236s Selecting previously unselected package libtiff6:s390x. 236s Preparing to unpack .../35-libtiff6_4.5.1+git230720-4ubuntu4_s390x.deb ... 236s Unpacking libtiff6:s390x (4.5.1+git230720-4ubuntu4) ... 236s Selecting previously unselected package libxft2:s390x. 236s Preparing to unpack .../36-libxft2_2.3.6-1build1_s390x.deb ... 236s Unpacking libxft2:s390x (2.3.6-1build1) ... 236s Selecting previously unselected package libxss1:s390x. 236s Preparing to unpack .../37-libxss1_1%3a1.2.3-1build3_s390x.deb ... 236s Unpacking libxss1:s390x (1:1.2.3-1build3) ... 236s Selecting previously unselected package libtk8.6:s390x. 236s Preparing to unpack .../38-libtk8.6_8.6.16-1_s390x.deb ... 236s Unpacking libtk8.6:s390x (8.6.16-1) ... 236s Selecting previously unselected package libxt6t64:s390x. 236s Preparing to unpack .../39-libxt6t64_1%3a1.2.1-1.2build1_s390x.deb ... 236s Unpacking libxt6t64:s390x (1:1.2.1-1.2build1) ... 236s Selecting previously unselected package zip. 236s Preparing to unpack .../40-zip_3.0-14ubuntu2_s390x.deb ... 236s Unpacking zip (3.0-14ubuntu2) ... 236s Selecting previously unselected package unzip. 236s Preparing to unpack .../41-unzip_6.0-28ubuntu6_s390x.deb ... 236s Unpacking unzip (6.0-28ubuntu6) ... 236s Selecting previously unselected package xdg-utils. 236s Preparing to unpack .../42-xdg-utils_1.2.1-2ubuntu1_all.deb ... 236s Unpacking xdg-utils (1.2.1-2ubuntu1) ... 236s Selecting previously unselected package r-base-core. 236s Preparing to unpack .../43-r-base-core_4.4.3-1_s390x.deb ... 236s Unpacking r-base-core (4.4.3-1) ... 236s Selecting previously unselected package r-cran-lattice. 236s Preparing to unpack .../44-r-cran-lattice_0.22-6-1_s390x.deb ... 236s Unpacking r-cran-lattice (0.22-6-1) ... 236s Selecting previously unselected package r-cran-matrix. 236s Preparing to unpack .../45-r-cran-matrix_1.7-3-1_s390x.deb ... 236s Unpacking r-cran-matrix (1.7-3-1) ... 236s Selecting previously unselected package r-cran-sparsesvd. 236s Preparing to unpack .../46-r-cran-sparsesvd_0.2-2-1_s390x.deb ... 236s Unpacking r-cran-sparsesvd (0.2-2-1) ... 236s Setting up libgraphite2-3:s390x (1.3.14-2ubuntu1) ... 236s Setting up libpixman-1-0:s390x (0.44.0-3) ... 236s Setting up libsharpyuv0:s390x (1.5.0-0.1) ... 236s Setting up libxrender1:s390x (1:0.9.10-1.1build1) ... 236s Setting up libdatrie1:s390x (0.2.13-3build1) ... 236s Setting up libxcb-render0:s390x (1.17.0-2) ... 236s Setting up unzip (6.0-28ubuntu6) ... 236s Setting up x11-common (1:7.7+23ubuntu3) ... 237s Setting up libdeflate0:s390x (1.23-1) ... 237s Setting up libxcb-shm0:s390x (1.17.0-2) ... 237s Setting up libgomp1:s390x (15-20250222-0ubuntu1) ... 237s Setting up libjbig0:s390x (2.1-6.1ubuntu2) ... 237s Setting up zip (3.0-14ubuntu2) ... 237s Setting up libblas3:s390x (3.12.1-2) ... 237s update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so.3 to provide /usr/lib/s390x-linux-gnu/libblas.so.3 (libblas.so.3-s390x-linux-gnu) in auto mode 237s Setting up libfreetype6:s390x (2.13.3+dfsg-1) ... 237s Setting up fonts-dejavu-mono (2.37-8) ... 237s Setting up libtcl8.6:s390x (8.6.16+dfsg-1) ... 237s Setting up fonts-dejavu-core (2.37-8) ... 237s Setting up libjpeg-turbo8:s390x (2.1.5-3ubuntu2) ... 237s Setting up libgfortran5:s390x (15-20250222-0ubuntu1) ... 237s Setting up libwebp7:s390x (1.5.0-0.1) ... 237s Setting up libharfbuzz0b:s390x (10.2.0-1) ... 237s Setting up libthai-data (0.1.29-2build1) ... 237s Setting up libxss1:s390x (1:1.2.3-1build3) ... 237s Setting up libpaper2:s390x (2.2.5-0.3) ... 237s Setting up xdg-utils (1.2.1-2ubuntu1) ... 237s update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode 237s Setting up libjpeg8:s390x (8c-2ubuntu11) ... 237s Setting up libice6:s390x (2:1.1.1-1) ... 237s Setting up liblapack3:s390x (3.12.1-2) ... 237s update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/s390x-linux-gnu/liblapack.so.3 (liblapack.so.3-s390x-linux-gnu) in auto mode 237s Setting up fontconfig-config (2.15.0-2ubuntu1) ... 237s Setting up libpaper-utils (2.2.5-0.3) ... 237s Setting up libthai0:s390x (0.1.29-2build1) ... 237s Setting up libtiff6:s390x (4.5.1+git230720-4ubuntu4) ... 237s Setting up libfontconfig1:s390x (2.15.0-2ubuntu1) ... 237s Setting up libsm6:s390x (2:1.2.4-1) ... 237s Setting up fontconfig (2.15.0-2ubuntu1) ... 239s Regenerating fonts cache... done. 239s Setting up libxft2:s390x (2.3.6-1build1) ... 239s Setting up libtk8.6:s390x (8.6.16-1) ... 239s Setting up libpango-1.0-0:s390x (1.56.2-1) ... 239s Setting up libcairo2:s390x (1.18.2-2) ... 239s Setting up libxt6t64:s390x (1:1.2.1-1.2build1) ... 239s Setting up libpangoft2-1.0-0:s390x (1.56.2-1) ... 239s Setting up libpangocairo-1.0-0:s390x (1.56.2-1) ... 239s Setting up r-base-core (4.4.3-1) ... 239s Creating config file /etc/R/Renviron with new version 239s Setting up r-cran-lattice (0.22-6-1) ... 239s Setting up r-cran-matrix (1.7-3-1) ... 239s Setting up r-cran-sparsesvd (0.2-2-1) ... 239s Processing triggers for install-info (7.1.1-1) ... 239s Processing triggers for libc-bin (2.41-1ubuntu2) ... 239s Processing triggers for man-db (2.13.0-1) ... 241s autopkgtest [18:31:44]: test run-unit-test: [----------------------- 241s BEGIN TEST formats.R 241s 241s R version 4.4.3 (2025-02-28) -- "Trophy Case" 241s Copyright (C) 2025 The R Foundation for Statistical Computing 241s Platform: s390x-ibm-linux-gnu 241s 241s R is free software and comes with ABSOLUTELY NO WARRANTY. 241s You are welcome to redistribute it under certain conditions. 241s Type 'license()' or 'licence()' for distribution details. 241s 241s R is a collaborative project with many contributors. 241s Type 'contributors()' for more information and 241s 'citation()' on how to cite R or R packages in publications. 241s 241s Type 'demo()' for some demos, 'help()' for on-line help, or 241s 'help.start()' for an HTML browser interface to help. 241s Type 'q()' to quit R. 241s 241s > ## any sparse matrix format that inherits from dMatrix should work 241s > library(sparsesvd) 242s > library(Matrix) 242s > 242s > M <- rbind( 242s + c(20, 10, 15, 0, 2), 242s + c(10, 5, 8, 1, 0), 242s + c( 0, 1, 2, 6, 3), 242s + c( 1, 0, 0, 10, 5)) 242s > 242s > M1 <- Matrix(M, sparse=TRUE) # standard format (column-compressed) 242s > M1 <- as(M1, "CsparseMatrix") 242s > stopifnot(is(M1, "dgCMatrix")) 242s > res1 <- sparsesvd(M1) 242s > 242s > M2 <- Matrix(M, sparse=FALSE) # dense matrix 242s > stopifnot(is(M2, "dgeMatrix")) 242s > res2 <- sparsesvd(M2) 242s > 242s > M3 <- Matrix(M, sparse=TRUE) # triplet format 242s > M3 <- as(M3, "TsparseMatrix") 242s > stopifnot(is(M3, "dgTMatrix")) 242s > res3 <- sparsesvd(M3) 242s > 242s > M4 <- Matrix(M, sparse=TRUE) # row-compressed 242s > M4 <- as(M4, "RsparseMatrix") 242s > stopifnot(is(M4, "dgRMatrix")) 242s > res4 <- sparsesvd(M4) 242s > ## TODO -- row-compressed form cannot be converted to dgCMatrix 242s > 242s > ## check that eigenvalues are the same 242s > stopifnot(all.equal(res1$d, res2$d, tolerance=1e-12)) 242s > stopifnot(all.equal(res1$d, res3$d, tolerance=1e-12)) 242s > stopifnot(all.equal(res1$d, res4$d, tolerance=1e-12)) 242s > 242s > ## special classes for symmetric matrices 242s > A1 <- crossprod(M1) 242s > A1 <- as(A1, "CsparseMatrix") 242s > stopifnot(is(A1, "dsCMatrix")) 242s > res1a <- sparsesvd(A1) 242s > 242s > A2 <- crossprod(M2) 242s > stopifnot(is(A2, "dpoMatrix")) # dense positive-semidefinite symmetric matrix 242s > res2a <- sparsesvd(A2) 242s > ## -- fails 242s > 242s > A3 <- as(A1, "TsparseMatrix") 242s > stopifnot(is(A3, "dsTMatrix")) 242s > res3a <- sparsesvd(A3) 242s > ## -- symmetric matrix can only be converted if already in row-compressed form 242s > 242s > A4 <- as(A1, "RsparseMatrix") 242s > stopifnot(is(A4, "dsRMatrix")) 242s > res4a <- sparsesvd(A4) 242s > ## -- fails 242s > 242s > ## check that eigenvalues are the same and consistent with M 242s > stopifnot(all.equal(res1a$d, (res1$d)^2, tolerance=1e-12)) 242s > stopifnot(all.equal(res1a$d, res2a$d, tolerance=1e-12)) 242s > stopifnot(all.equal(res1a$d, res3a$d, tolerance=1e-12)) 242s > stopifnot(all.equal(res1a$d, res4a$d, tolerance=1e-12)) 242s > 242s BEGIN TEST iris.R 242s 242s R version 4.4.3 (2025-02-28) -- "Trophy Case" 242s Copyright (C) 2025 The R Foundation for Statistical Computing 242s Platform: s390x-ibm-linux-gnu 242s 242s R is free software and comes with ABSOLUTELY NO WARRANTY. 242s You are welcome to redistribute it under certain conditions. 242s Type 'license()' or 'licence()' for distribution details. 242s 242s R is a collaborative project with many contributors. 242s Type 'contributors()' for more information and 242s 'citation()' on how to cite R or R packages in publications. 242s 242s Type 'demo()' for some demos, 'help()' for on-line help, or 242s 'help.start()' for an HTML browser interface to help. 242s Type 'q()' to quit R. 242s 242s > ## compute PCA of iris data set with svd() and sparsesvd() 242s > library(sparsesvd) 243s > library(Matrix) 243s > 243s > data(iris) 243s > M <- scale(as.matrix(iris[, 1:4]), scale=FALSE) 243s > Ms <- Matrix(M) # not sparse, but a dMatrix 243s > 243s > res1 <- svd(M) 243s > res2 <- sparsesvd(Ms) 243s > 243s > ## check that eigenvalues are the same 243s > print(res2$d, digits=3) 243s [1] 25.10 6.01 3.41 1.88 243s > stopifnot(all.equal(res1$d, res2$d, tolerance=1e-12)) 243s > 243s > ## these should be diagonal unit matrices 243s > UtU <- abs(crossprod(res2$u, res1$u)) # diagonal entries may be 1 or -1 243s > VtV <- abs(crossprod(res2$v, res1$v)) # (because sign of eigenvectors is arbitrary) 243s > I1 <- diag(1, length(res1$d)) 243s > 243s > print(round(UtU, 12)) 243s [,1] [,2] [,3] [,4] 243s [1,] 1 0 0 0 243s [2,] 0 1 0 0 243s [3,] 0 0 1 0 243s [4,] 0 0 0 1 243s > stopifnot(all.equal(UtU, I1, tolerance=1e-12)) 243s > 243s > print(round(VtV, 12)) 243s [,1] [,2] [,3] [,4] 243s [1,] 1 0 0 0 243s [2,] 0 1 0 0 243s [3,] 0 0 1 0 243s [4,] 0 0 0 1 243s > stopifnot(all.equal(VtV, I1, tolerance=1e-12)) 243s > 243s > ## check that SVD is reproducible 243s > ## (this is guaranteed by a deterministic RNG built into the SVDLIBC code) 243s > for (i in 1:20) { 243s + res <- sparsesvd(Ms) 243s + if (!isTRUE(all.equal(res, res2))) stop("SVD not reproducible on iteration #", i) 243s + } 243s > 243s BEGIN TEST loss_of_orthogonality.R 243s 243s R version 4.4.3 (2025-02-28) -- "Trophy Case" 243s Copyright (C) 2025 The R Foundation for Statistical Computing 243s Platform: s390x-ibm-linux-gnu 243s 243s R is free software and comes with ABSOLUTELY NO WARRANTY. 243s You are welcome to redistribute it under certain conditions. 243s Type 'license()' or 'licence()' for distribution details. 243s 243s R is a collaborative project with many contributors. 243s Type 'contributors()' for more information and 243s 'citation()' on how to cite R or R packages in publications. 243s 243s Type 'demo()' for some demos, 'help()' for on-line help, or 243s 'help.start()' for an HTML browser interface to help. 243s Type 'q()' to quit R. 243s 243s > ## SVDLIBC seems to have a bug that leads to incorrect results and infinite loops with 243s > ## highly sparse matrices with invariant subspaces, requiring frequent restarts of the Lanczos iteration. 243s > ## Here we test these issues with several sample matrices (should be fixed in sparsesvd v0.2) 243s > 243s > library(Matrix) 244s > library(sparsesvd) 244s > 244s > check.svd <- function (M, tol=1e-2) { 244s + cat(sprintf("Checking %d x %d matrix %s ...\n", nrow(M), ncol(M), deparse(substitute(M)))) 244s + M.ref <- as.matrix(M) 244s + res <- sparsesvd(M) 244s + M.new <- res$u %*% diag(res$d, length(res$d)) %*% t(res$v) 244s + if (!all(dim(M.new) == dim(M.ref))) stop(sprintf("SVD approximation has wrong dimensions %d x %d", nrow(M.new), ncol(M.new))) 244s + d <- sqrt(sum((M.new - M.ref)^2)) 244s + cat(sprintf(" --> approximation error ||M.new - M.ref||_2 = %g\n", d)) 244s + if (d > tol) { 244s + print(round(M.new, 2)) 244s + print(round(M.ref, 2)) 244s + stop("approximation error exceeds tolerance limit") 244s + } 244s + } 244s > 244s > ## regression tests with repro cases serialised via dput() 244s > Zero <- new("dgCMatrix", i = integer(0), p = c(0L, 0L, 0L, 0L, 0L, 0L), 244s + Dim = c(3L, 5L), Dimnames = list(NULL, NULL), x = numeric(0), factors = list()) 244s > check.svd(Zero) # all-zero matrix 244s Checking 3 x 5 matrix Zero ... 244s --> approximation error ||M.new - M.ref||_2 = 0 244s > 244s > D1 <- 244s + new("dgCMatrix", i = 0:1, p = c(0L, 2L), Dim = 2:1, Dimnames = list( 244s + NULL, NULL), x = c(1, 1), factors = list()) 244s > check.svd(D1) 244s Checking 2 x 1 matrix D1 ... 244s --> approximation error ||M.new - M.ref||_2 = 0 244s > 244s > D2 <- 244s + new("dgCMatrix", i = 0:3, p = c(0L, 2L, 4L), Dim = c(4L, 2L), 244s + Dimnames = list(NULL, NULL), x = c(1, 1, 1, 1), factors = list()) 244s > check.svd(D2) 244s Checking 4 x 2 matrix D2 ... 244s --> approximation error ||M.new - M.ref||_2 = 2.22054e-16 244s > 244s > D5 <- 244s + new("dgCMatrix", i = 0:4, p = 0:5, Dim = c(5L, 5L), Dimnames = list( 244s + NULL, NULL), x = c(1, 1, 1, 1, 1), factors = list()) 244s > check.svd(D5) 244s Checking 5 x 5 matrix D5 ... 244s --> approximation error ||M.new - M.ref||_2 = 3.55402e-15 244s > 244s > D21 <- 244s + new("dgCMatrix", i = 0:21, p = c(0L, 1L, 2L, 3L, 4L, 5L, 6L, 244s + 7L, 8L, 9L, 10L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 20L, 244s + 21L, 22L), Dim = 22:21, Dimnames = list(NULL, NULL), x = c(1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 244s + ), factors = list()) 244s > check.svd(D21) 244s Checking 22 x 21 matrix D21 ... 244s --> approximation error ||M.new - M.ref||_2 = 3.03567e-14 244s > 244s > TermDoc <- 244s + new("dgCMatrix", i = c(0L, 14L, 15L, 13L, 17L, 16L, 4L, 1L, 13L, 244s + 9L, 16L, 6L, 7L, 10L, 9L, 11L, 8L, 14L, 1L, 5L, 16L, 3L, 8L, 244s + 12L, 0L, 14L, 15L, 4L, 3L, 2L, 5L, 2L, 17L, 9L, 3L, 14L, 12L, 244s + 11L, 6L, 7L, 10L, 9L, 3L, 12L), p = c(0L, 3L, 4L, 5L, 6L, 7L, 244s + 9L, 11L, 14L, 16L, 18L, 19L, 21L, 24L, 27L, 28L, 29L, 30L, 31L, 244s + 33L, 34L, 36L, 37L, 38L, 41L, 42L, 44L), Dim = c(18L, 26L), Dimnames = list( 244s + NULL, NULL), x = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1), factors = list()) 244s > check.svd(TermDoc) 244s Checking 18 x 26 matrix TermDoc ... 244s --> approximation error ||M.new - M.ref||_2 = 8.25476e-15 244s > 244s > M <- 244s + new("dgTMatrix", i = c(13L, 46L, 377L, 243L, 298L, 345L, 155L, 244s + 422L, 441L, 77L, 167L, 282L, 375L, 389L, 395L, 28L, 30L, 202L, 244s + 250L, 297L, 69L, 84L, 214L, 234L, 317L, 68L, 135L, 196L, 380L, 244s + 414L, 459L, 114L, 229L, 343L, 406L, 70L, 188L, 223L, 322L, 334L, 244s + 429L, 1L, 53L, 96L, 176L, 239L, 296L, 320L, 346L, 371L, 432L, 244s + 27L, 58L, 74L, 198L, 237L, 253L, 256L, 287L, 440L, 97L, 157L, 244s + 185L, 257L, 93L, 116L, 458L, 99L, 110L, 180L, 186L, 333L, 403L, 244s + 219L, 311L, 382L, 49L, 64L, 123L, 171L, 200L, 264L, 335L, 339L, 244s + 357L, 364L, 366L, 448L, 79L, 281L, 417L, 87L, 105L, 128L, 319L, 244s + 398L, 194L, 249L, 276L, 8L, 59L, 72L, 81L, 242L, 267L, 386L, 244s + 454L, 182L, 207L, 226L, 230L, 431L, 24L, 181L, 294L, 305L, 383L, 244s + 410L, 442L, 22L, 103L, 238L, 306L, 336L, 370L, 2L, 23L, 35L, 244s + 119L, 175L, 266L, 350L, 0L, 50L, 149L, 228L, 293L, 397L, 451L, 244s + 17L, 48L, 83L, 215L, 340L, 420L, 456L, 15L, 142L, 277L, 57L, 244s + 150L, 435L, 11L, 62L, 82L, 85L, 164L, 189L, 279L, 246L, 436L, 244s + 75L, 100L, 163L, 165L, 166L, 170L, 247L, 290L, 407L, 433L, 33L, 244s + 131L, 225L, 3L, 19L, 179L, 418L, 4L, 160L, 338L, 355L, 445L, 244s + 452L, 71L, 158L, 183L, 184L, 203L, 331L, 437L, 156L, 199L, 323L, 244s + 94L, 146L, 208L, 424L, 292L, 394L, 425L, 65L, 125L, 205L, 365L, 244s + 396L, 443L, 52L, 136L, 310L, 76L, 204L, 206L, 212L, 299L, 342L, 244s + 356L, 446L, 73L, 95L, 111L, 187L, 341L, 20L, 309L, 325L, 10L, 244s + 31L, 91L, 178L, 252L, 447L, 121L, 197L, 314L, 25L, 169L, 218L, 244s + 221L, 255L, 295L, 378L, 411L, 444L, 44L, 118L, 271L, 173L, 232L, 244s + 374L, 18L, 159L, 210L, 133L, 244L, 369L, 385L, 162L, 312L, 327L, 244s + 363L, 439L, 36L, 313L, 404L, 423L, 153L, 245L, 251L, 303L, 29L, 244s + 248L, 285L, 145L, 261L, 450L, 7L, 45L, 405L, 430L, 14L, 126L, 244s + 286L, 328L, 388L, 434L, 90L, 332L, 354L, 6L, 61L, 152L, 115L, 244s + 134L, 137L, 154L, 174L, 213L, 258L, 324L, 348L, 391L, 415L, 117L, 244s + 138L, 141L, 231L, 259L, 291L, 315L, 438L, 39L, 112L, 321L, 122L, 244s + 260L, 427L, 26L, 40L, 88L, 192L, 268L, 300L, 280L, 283L, 393L, 244s + 413L, 108L, 120L, 151L, 419L, 21L, 211L, 351L, 161L, 209L, 216L, 244s + 161L, 209L, 216L, 98L, 352L, 401L, 104L, 372L, 412L, 358L, 408L, 244s + 409L, 263L, 362L, 449L, 233L, 361L, 402L, 107L, 140L, 222L, 367L, 244s + 9L, 51L, 113L, 132L, 190L, 191L, 195L, 301L, 307L, 330L, 359L, 244s + 376L, 421L, 426L, 86L, 106L, 127L, 42L, 47L, 60L, 262L, 273L, 244s + 304L, 326L, 344L, 32L, 43L, 329L, 272L, 390L, 392L, 240L, 428L, 244s + 460L, 38L, 102L, 109L, 217L, 274L, 349L, 56L, 241L, 453L, 12L, 244s + 37L, 130L, 254L, 80L, 269L, 288L, 384L, 455L, 92L, 172L, 353L, 244s + 101L, 224L, 302L, 318L, 5L, 78L, 89L, 54L, 139L, 177L, 16L, 34L, 244s + 373L, 124L, 284L, 360L, 63L, 227L, 235L, 270L, 308L, 66L, 129L, 244s + 144L, 147L, 337L, 387L, 143L, 220L, 368L, 201L, 316L, 381L, 55L, 244s + 193L, 399L, 67L, 265L, 379L, 400L, 416L, 236L, 275L, 278L, 148L, 244s + 168L, 289L, 41L, 347L, 457L), j = c(0L, 0L, 0L, 1L, 1L, 1L, 2L, 244s + 2L, 2L, 3L, 3L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 4L, 5L, 5L, 5L, 244s + 5L, 5L, 6L, 6L, 6L, 6L, 6L, 6L, 7L, 7L, 7L, 7L, 8L, 8L, 8L, 8L, 244s + 8L, 8L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 10L, 10L, 10L, 244s + 10L, 10L, 10L, 10L, 10L, 10L, 11L, 11L, 11L, 11L, 12L, 12L, 12L, 244s + 13L, 13L, 13L, 13L, 13L, 13L, 14L, 14L, 14L, 15L, 15L, 15L, 15L, 244s + 15L, 15L, 15L, 15L, 15L, 15L, 15L, 15L, 16L, 16L, 16L, 17L, 17L, 244s + 17L, 17L, 17L, 18L, 18L, 18L, 19L, 19L, 19L, 19L, 19L, 19L, 19L, 244s + 19L, 20L, 20L, 20L, 20L, 20L, 21L, 21L, 21L, 21L, 21L, 21L, 21L, 244s + 22L, 22L, 22L, 22L, 22L, 22L, 23L, 23L, 23L, 23L, 23L, 23L, 23L, 244s + 24L, 24L, 24L, 24L, 24L, 24L, 24L, 25L, 25L, 25L, 25L, 25L, 25L, 244s + 25L, 26L, 26L, 26L, 27L, 27L, 27L, 28L, 28L, 28L, 28L, 28L, 28L, 244s + 28L, 29L, 29L, 30L, 30L, 30L, 30L, 30L, 30L, 30L, 30L, 30L, 30L, 244s + 31L, 31L, 31L, 32L, 32L, 32L, 32L, 33L, 33L, 33L, 33L, 33L, 33L, 244s + 34L, 34L, 34L, 34L, 34L, 34L, 34L, 35L, 35L, 35L, 36L, 36L, 36L, 244s + 36L, 37L, 37L, 37L, 38L, 38L, 38L, 39L, 39L, 39L, 40L, 40L, 40L, 244s + 41L, 41L, 41L, 41L, 41L, 41L, 41L, 41L, 42L, 42L, 42L, 42L, 42L, 244s + 43L, 43L, 43L, 44L, 44L, 44L, 44L, 44L, 44L, 45L, 45L, 45L, 46L, 244s + 46L, 46L, 46L, 46L, 46L, 46L, 46L, 46L, 47L, 47L, 47L, 48L, 48L, 244s + 48L, 49L, 49L, 49L, 50L, 50L, 50L, 50L, 51L, 51L, 51L, 51L, 51L, 244s + 52L, 52L, 52L, 52L, 53L, 53L, 53L, 53L, 54L, 54L, 54L, 55L, 55L, 244s + 55L, 56L, 56L, 56L, 56L, 57L, 57L, 57L, 57L, 57L, 57L, 58L, 58L, 244s + 58L, 59L, 59L, 59L, 60L, 60L, 60L, 60L, 60L, 60L, 60L, 60L, 60L, 244s + 60L, 60L, 61L, 61L, 61L, 61L, 61L, 61L, 61L, 61L, 62L, 62L, 62L, 244s + 63L, 63L, 63L, 64L, 64L, 64L, 64L, 64L, 64L, 65L, 65L, 65L, 65L, 244s + 66L, 66L, 66L, 66L, 67L, 67L, 67L, 68L, 68L, 68L, 69L, 69L, 69L, 244s + 70L, 70L, 70L, 71L, 71L, 71L, 72L, 72L, 72L, 73L, 73L, 73L, 74L, 244s + 74L, 74L, 75L, 75L, 75L, 75L, 76L, 76L, 76L, 76L, 76L, 76L, 76L, 244s + 76L, 76L, 76L, 76L, 76L, 76L, 76L, 77L, 77L, 77L, 78L, 78L, 78L, 244s + 78L, 78L, 78L, 78L, 78L, 79L, 79L, 79L, 80L, 80L, 80L, 81L, 81L, 244s + 81L, 82L, 82L, 82L, 82L, 82L, 82L, 83L, 83L, 83L, 84L, 84L, 84L, 244s + 84L, 85L, 85L, 85L, 85L, 85L, 86L, 86L, 86L, 87L, 87L, 87L, 87L, 244s + 88L, 88L, 88L, 89L, 89L, 89L, 90L, 90L, 90L, 91L, 91L, 91L, 92L, 244s + 92L, 92L, 92L, 92L, 93L, 93L, 93L, 93L, 93L, 93L, 94L, 94L, 94L, 244s + 95L, 95L, 95L, 96L, 96L, 96L, 97L, 97L, 97L, 97L, 97L, 98L, 98L, 244s + 98L, 99L, 99L, 99L, 100L, 100L, 100L), Dim = c(461L, 101L), Dimnames = list( 244s + NULL, NULL), x = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), factors = list()) 244s > check.svd(M) 244s Checking 461 x 101 matrix M ... 244s --> approximation error ||M.new - M.ref||_2 = 1.93378e-11 244s > 244s > A <- 244s + new("dgTMatrix", i = c(0L, 586L, 1958L, 18724L, 10404L, 13340L, 244s + 16234L, 6536L, 21785L, 23539L, 3256L, 7242L, 12660L, 18483L, 244s + 19388L, 19824L, 1238L, 1264L, 8787L, 10708L, 13334L, 2867L, 3512L, 244s + 9360L, 10146L, 14287L, 2854L, 5693L, 8646L, 18887L, 21277L, 27422L, 244s + 4632L, 9888L, 16123L, 20780L, 2960L, 8291L, 9771L, 14585L, 15294L, 244s + 22360L, 26L, 2274L, 3930L, 7690L, 10278L, 13269L, 14444L, 16327L, 244s + 17875L, 22552L, 1207L, 2362L, 3174L, 8653L, 10220L, 10754L, 10857L, 244s + 12861L, 23415L, 3957L, 6679L, 8183L, 10870L, 3773L, 4719L, 26559L, 244s + 4030L, 4486L, 7926L, 8245L, 15243L, 20489L, 9551L, 13960L, 18997L, 244s + 2088L, 2785L, 4965L, 7428L, 8762L, 11435L, 15325L, 15451L, 16967L, 244s + 17323L, 17463L, 25040L, 3368L, 12604L, 21330L, 3615L, 4307L, 244s + 5179L, 14429L, 19969L, 8536L, 10618L, 12325L, 366L, 2394L, 3097L, 244s + 3390L, 10377L, 11606L, 19305L, 25620L, 8051L, 9066L, 9831L, 9923L, 244s + 22547L, 1051L, 8000L, 13148L, 13652L, 19134L, 21014L, 23716L, 244s + 974L, 4140L, 10244L, 13758L, 15363L, 17744L, 110L, 1042L, 1435L, 244s + 4802L, 7663L, 11599L, 16531L, 12L, 2158L, 6172L, 9866L, 13125L, 244s + 19941L, 25208L, 833L, 2072L, 3476L, 9408L, 15581L, 21608L, 25886L, 244s + 749L, 5960L, 12348L, 2342L, 6249L, 23087L, 571L, 2737L, 3420L, 244s + 3576L, 7017L, 8423L, 12401L, 10484L, 23110L, 3212L, 4053L, 7013L, 244s + 7037L, 7194L, 7317L, 10532L, 12917L, 20800L, 22803L, 1374L, 5427L, 244s + 9798L, 178L, 870L, 7869L, 21366L, 181L, 6742L, 15435L, 16834L, 244s + 24213L, 25261L, 3080L, 6701L, 8100L, 8146L, 8845L, 15076L, 23227L, 244s + 6650L, 8667L, 14607L, 3860L, 6059L, 9131L, 21934L, 13039L, 19810L, 244s + 21992L, 2797L, 4977L, 8988L, 17456L, 19865L, 23892L, 2225L, 5696L, 244s + 13948L, 3231L, 8849L, 9013L, 9270L, 13351L, 16093L, 16881L, 24362L, 244s + 3151L, 3911L, 4534L, 8259L, 15656L, 872L, 13889L, 14709L, 512L, 244s + 1303L, 3741L, 7837L, 10750L, 24978L, 4937L, 8651L, 14102L, 1116L, 244s + 7309L, 9485L, 9640L, 10828L, 13251L, 18787L, 21060L, 23901L, 244s + 1879L, 4794L, 11817L, 7440L, 10074L, 18425L, 843L, 6710L, 9218L, 244s + 5651L, 10410L, 17733L, 19290L, 7005L, 13985L, 14964L, 17289L, 244s + 23410L, 1548L, 14100L, 20576L, 21875L, 6356L, 10475L, 10712L, 244s + 13594L, 1261L, 10574L, 12727L, 6047L, 11238L, 25105L, 297L, 1903L, 244s + 20711L, 22391L, 605L, 5002L, 12782L, 14991L, 19368L, 23012L, 244s + 3699L, 15108L, 16802L, 268L, 2562L, 6333L, 4668L, 5682L, 5713L, 244s + 6416L, 7499L, 9318L, 10948L, 14649L, 16450L, 19481L, 21282L, 244s + 4788L, 5758L, 5939L, 9983L, 10954L, 13000L, 14198L, 23381L, 1678L, 244s + 4591L, 14577L, 4958L, 11141L, 22168L, 1128L, 1722L, 3619L, 8484L, 244s + 11661L, 13422L, 12412L, 12688L, 19778L, 21264L, 4379L, 4891L, 244s + 6302L, 21571L, 931L, 9252L, 16600L, 6782L, 9204L, 9435L, 6782L, 244s + 9204L, 9435L, 3959L, 16655L, 20200L, 4153L, 18020L, 21108L, 17079L, 244s + 20885L, 20922L, 11384L, 17273L, 25071L, 10100L, 17218L, 20241L, 244s + 4331L, 5925L, 9736L, 17639L, 446L, 2200L, 4603L, 5442L, 8431L, 244s + 8464L, 8566L, 13425L, 13761L, 15026L, 17106L, 18624L, 21649L, 244s + 22001L, 3603L, 4316L, 5073L, 1775L, 1984L, 2414L, 11242L, 12045L, 244s + 13619L, 14769L, 16229L, 1337L, 1844L, 14997L, 11948L, 19464L, 244s + 19777L, 10280L, 22259L, 27458L, 1666L, 4138L, 4406L, 9461L, 12200L, 244s + 16461L, 2339L, 10325L, 25264L, 580L, 1646L, 5412L, 10793L, 3385L, 244s + 11791L, 12875L, 19187L, 25846L, 3749L, 7436L, 16780L, 4107L, 244s + 9793L, 13445L, 14305L, 255L, 3257L, 3674L, 2279L, 5912L, 7777L, 244s + 761L, 1404L, 18184L, 4970L, 12711L, 17107L, 2760L, 9858L, 10187L, 244s + 11794L, 13807L, 2813L, 5403L, 5986L, 6112L, 15382L, 19313L, 5979L, 244s + 9579L, 17654L, 8784L, 14210L, 18958L, 2315L, 8532L, 19996L, 2826L, 244s + 11510L, 18848L, 20043L, 21313L, 10212L, 12304L, 12367L, 6160L, 244s + 7248L, 12897L, 1764L, 16440L, 26230L), j = c(0L, 0L, 0L, 0L, 244s + 1L, 1L, 1L, 2L, 2L, 2L, 3L, 3L, 3L, 3L, 3L, 3L, 4L, 4L, 4L, 4L, 244s + 4L, 5L, 5L, 5L, 5L, 5L, 6L, 6L, 6L, 6L, 6L, 6L, 7L, 7L, 7L, 7L, 244s + 8L, 8L, 8L, 8L, 8L, 8L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 9L, 244s + 10L, 10L, 10L, 10L, 10L, 10L, 10L, 10L, 10L, 11L, 11L, 11L, 11L, 244s + 12L, 12L, 12L, 13L, 13L, 13L, 13L, 13L, 13L, 14L, 14L, 14L, 15L, 244s + 15L, 15L, 15L, 15L, 15L, 15L, 15L, 15L, 15L, 15L, 15L, 16L, 16L, 244s + 16L, 17L, 17L, 17L, 17L, 17L, 18L, 18L, 18L, 19L, 19L, 19L, 19L, 244s + 19L, 19L, 19L, 19L, 20L, 20L, 20L, 20L, 20L, 21L, 21L, 21L, 21L, 244s + 21L, 21L, 21L, 22L, 22L, 22L, 22L, 22L, 22L, 23L, 23L, 23L, 23L, 244s + 23L, 23L, 23L, 24L, 24L, 24L, 24L, 24L, 24L, 24L, 25L, 25L, 25L, 244s + 25L, 25L, 25L, 25L, 26L, 26L, 26L, 27L, 27L, 27L, 28L, 28L, 28L, 244s + 28L, 28L, 28L, 28L, 29L, 29L, 30L, 30L, 30L, 30L, 30L, 30L, 30L, 244s + 30L, 30L, 30L, 31L, 31L, 31L, 32L, 32L, 32L, 32L, 33L, 33L, 33L, 244s + 33L, 33L, 33L, 34L, 34L, 34L, 34L, 34L, 34L, 34L, 35L, 35L, 35L, 244s + 36L, 36L, 36L, 36L, 37L, 37L, 37L, 38L, 38L, 38L, 39L, 39L, 39L, 244s + 40L, 40L, 40L, 41L, 41L, 41L, 41L, 41L, 41L, 41L, 41L, 42L, 42L, 244s + 42L, 42L, 42L, 43L, 43L, 43L, 44L, 44L, 44L, 44L, 44L, 44L, 45L, 244s + 45L, 45L, 46L, 46L, 46L, 46L, 46L, 46L, 46L, 46L, 46L, 47L, 47L, 244s + 47L, 48L, 48L, 48L, 49L, 49L, 49L, 50L, 50L, 50L, 50L, 51L, 51L, 244s + 51L, 51L, 51L, 52L, 52L, 52L, 52L, 53L, 53L, 53L, 53L, 54L, 54L, 244s + 54L, 55L, 55L, 55L, 56L, 56L, 56L, 56L, 57L, 57L, 57L, 57L, 57L, 244s + 57L, 58L, 58L, 58L, 59L, 59L, 59L, 60L, 60L, 60L, 60L, 60L, 60L, 244s + 60L, 60L, 60L, 60L, 60L, 61L, 61L, 61L, 61L, 61L, 61L, 61L, 61L, 244s + 62L, 62L, 62L, 63L, 63L, 63L, 64L, 64L, 64L, 64L, 64L, 64L, 65L, 244s + 65L, 65L, 65L, 66L, 66L, 66L, 66L, 67L, 67L, 67L, 68L, 68L, 68L, 244s + 69L, 69L, 69L, 70L, 70L, 70L, 71L, 71L, 71L, 72L, 72L, 72L, 73L, 244s + 73L, 73L, 74L, 74L, 74L, 75L, 75L, 75L, 75L, 76L, 76L, 76L, 76L, 244s + 76L, 76L, 76L, 76L, 76L, 76L, 76L, 76L, 76L, 76L, 77L, 77L, 77L, 244s + 78L, 78L, 78L, 78L, 78L, 78L, 78L, 78L, 79L, 79L, 79L, 80L, 80L, 244s + 80L, 81L, 81L, 81L, 82L, 82L, 82L, 82L, 82L, 82L, 83L, 83L, 83L, 244s + 84L, 84L, 84L, 84L, 85L, 85L, 85L, 85L, 85L, 86L, 86L, 86L, 87L, 244s + 87L, 87L, 87L, 88L, 88L, 88L, 89L, 89L, 89L, 90L, 90L, 90L, 91L, 244s + 91L, 91L, 92L, 92L, 92L, 92L, 92L, 93L, 93L, 93L, 93L, 93L, 93L, 244s + 94L, 94L, 94L, 95L, 95L, 95L, 96L, 96L, 96L, 97L, 97L, 97L, 97L, 244s + 97L, 98L, 98L, 98L, 99L, 99L, 99L, 100L, 100L, 100L), Dim = c(95474L, 244s + 101L), Dimnames = list(NULL, NULL), x = c(0, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 244s + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), factors = list()) 244s > check.svd(A) 244s Checking 95474 x 101 matrix A ... 245s --> approximation error ||M.new - M.ref||_2 = 1.93378e-11 245s > 245s BEGIN TEST stress_test.R 246s 246s R version 4.4.3 (2025-02-28) -- "Trophy Case" 246s Copyright (C) 2025 The R Foundation for Statistical Computing 246s Platform: s390x-ibm-linux-gnu 246s 246s R is free software and comes with ABSOLUTELY NO WARRANTY. 246s You are welcome to redistribute it under certain conditions. 246s Type 'license()' or 'licence()' for distribution details. 246s 246s R is a collaborative project with many contributors. 246s Type 'contributors()' for more information and 246s 'citation()' on how to cite R or R packages in publications. 246s 246s Type 'demo()' for some demos, 'help()' for on-line help, or 246s 'help.start()' for an HTML browser interface to help. 246s Type 'q()' to quit R. 246s 246s > library(Matrix, quietly=TRUE) 246s > library(sparsesvd) 246s > 246s > ## Stress test: 246s > ## - apply sparsesvd() to a large number of random sparse nonnegative matrices 246s > ## - check that original matrix M can be reconstructed with reasonable accuracy 246s > ## - compare truncated SVD against first components of full SVD 246s > 246s > ## Run interactively with: 246s > ## R --slave -f stress_test.R --args 246s > ## (all arguments are optional with default values set below) 246s > argv <- commandArgs(trailingOnly=TRUE) 246s > argc <- length(argv) 246s > 246s > ## arguments and their default values 246s > n.run <- if (argc >= 1) as.integer(argv[1]) else 100 # number of runs 246s > k <- if (argc >= 2) as.integer(argv[2]) else 500 # k = number of rows of M 246s > n <- if (argc >= 3) as.integer(argv[3]) else 100 # n = number of columns of M 246s > r <- if (argc >= 4) as.integer(argv[4]) else 10 # r = rank of truncated SVD 246s > torture <- if (argc >= 5) as.logical(argv[5]) else FALSE # run with gctorture()? 246s > fillrate <- if (argc >= 6) as.numeric(argv[6]) else .10 # fill rate of sparse matrix (10%) 246s > tol <- if (argc >= 7) as.numeric(argv[7]) else 1e-6 # acceptable approx. error per cell 246s > 246s > cat("sparsesvd() Stress Test:\n") 246s sparsesvd() Stress Test: 246s > cat(sprintf(" - %d runs testing full and rank-%d sparse SVD\n", n.run, r)) 246s - 100 runs testing full and rank-10 sparse SVD 246s > cat(sprintf(" - based on %d x %d nonnegative matrix with %.1f%% nonzero cells\n", k, n, 100 * fillrate)) 246s - based on 500 x 100 nonnegative matrix with 10.0% nonzero cells 246s > cat(sprintf(" - reconstruction accuracy < %g, gctorture() is %s\n", tol, if (torture) "ON" else "OFF")) 246s - reconstruction accuracy < 1e-06, gctorture() is OFF 246s > 246s > ## approximate matrix comparison 246s > assert.mat.equal <- function (x, y, tol=1e-6, msg="") { 246s + if (!all(dim(x) == dim(y))) stop(sprintf("error: matrix dimensions differ %s", msg)) 246s + err <- max(abs(x - y)) 246s + if (err > tol) stop(sprintf("approximation error %g > tolerance %g %s", err, tol, msg)) 246s + } 246s > 246s > ## now perform n.run iterations of the test procedure 246s > gctorture(torture) 246s > 246s > pb <- txtProgressBar(min=0, max=n.run, style=3) 246s | | | 0%> for (i in 1:n.run) { 246s + setTxtProgressBar(pb, i) 246s + x <- ifelse(runif(k * n) < fillrate, runif(k * n), 0) 246s + M <- matrix(x, k, n) # random non-negative matrix with specified fill rate 246s + Ms <- Matrix(M, sparse=TRUE) 246s + 246s + ## complete sparse SVD 246s + svdM <- sparsesvd(Ms) 246s + R <- with(svdM, u %*% diag(d) %*% t(v)) # reconstructed matrix 246s + assert.mat.equal(R, M, tol=tol, msg=sprintf("(full SVD at iteration #%d)", i)) 246s + 246s + ## complete sparse SVD of transposed matrix 246s + svdMt <- sparsesvd(t(Ms)) 246s + R <- with(svdMt, v %*% diag(d) %*% t(u)) # reconstructed matrix 246s + assert.mat.equal(R, M, tol=tol, msg=sprintf("(full transposed SVD at iteration #%d)", i)) 246s + 246s + Mr <- with(svdM, u[, 1:r] %*% diag(d[1:r]) %*% t(v[, 1:r])) # r-dimensional approximation 246s + 246s + ## truncated sparse SVD 246s + svdMr <- sparsesvd(Ms, rank=r) 246s + Rr <- with(svdMr, u %*% diag(d) %*% t(v)) # reconstructed r-dim approximation 246s + assert.mat.equal(Rr, Mr, tol=tol, msg=sprintf("(%d-rank truncated SVD at iteration #%d)", r, i)) 246s + 246s + ## truncated sparse SVD of transposed matrix 246s + svdMrt <- sparsesvd(t(Ms), rank=r) 246s + Rr <- with(svdMrt, v %*% diag(d) %*% t(u)) # reconstructed r-dim approximation 246s + assert.mat.equal(Rr, Mr, tol=tol, msg=sprintf("(%d-rank truncated transposed SVD at iteration #%d)", r, i)) 246s + } 251s | |= | 1% | |= | 2% | |== | 3% | |=== | 4% | |==== | 5% | |==== | 6% | |===== | 7% | |====== | 8% | |====== | 9% | |======= | 10% | |======== | 11% | |======== | 12% | |========= | 13% | |========== | 14% | |========== | 15% | |=========== | 16% | |============ | 17% | |============= | 18% | |============= | 19% | |============== | 20% | |=============== | 21% | |=============== | 22% | |================ | 23% | |================= | 24% | |================== | 25% | |================== | 26% | |=================== | 27% | |==================== | 28% | |==================== | 29% | |===================== | 30% | |====================== | 31% | |====================== | 32% | |======================= | 33% | |======================== | 34% | |======================== | 35% | |========================= | 36% | |========================== | 37% | |=========================== | 38% | |=========================== | 39% | |============================ | 40% | |============================= | 41% | |============================= | 42% | |============================== | 43% | |=============================== | 44% | |================================ | 45% | |================================ | 46% | |================================= | 47% | |================================== | 48% | |================================== | 49% | |=================================== | 50% | |==================================== | 51% | |==================================== | 52% | |===================================== | 53% | |====================================== | 54% | |====================================== | 55% | |======================================= | 56% | |======================================== | 57% | |========================================= | 58% | |========================================= | 59% | |========================================== | 60% | |=========================================== | 61% | |=========================================== | 62% | |============================================ | 63% | |============================================= | 64% | |============================================== | 65% | |============================================== | 66% | |=============================================== | 67% | |================================================ | 68% | |================================================ | 69% | |================================================= | 70% | |================================================== | 71% | |================================================== | 72% | |=================================================== | 73% | |==================================================== | 74% | |==================================================== | 75% | |===================================================== | 76% | |====================================================== | 77% | |======================================================= | 78% | |======================================================= | 79% | |======================================================== | 80% | |========================================================= | 81% | |========================================================= | 82% | |========================================================== | 83% | |=========================================================== | 84% | |============================================================ | 85% | |============================================================ | 86% | |============================================================= | 87% | |============================================================== | 88% | |============================================================== | 89% | |=============================================================== | 90% | |================================================================ | 91% | |================================================================ | 92% | |================================================================= | 93% | |================================================================== | 94% | |================================================================== | 95% | |=================================================================== | 96% | |==================================================================== | 97% | |===================================================================== | 98% | |===================================================================== | 99% | |======================================================================| 100%> close(pb) 251s 251s > 252s autopkgtest [18:31:55]: test run-unit-test: -----------------------] 252s autopkgtest [18:31:55]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 252s run-unit-test PASS 252s autopkgtest [18:31:55]: test pkg-r-autopkgtest: preparing testbed 253s Reading package lists... 253s Building dependency tree... 253s Reading state information... 253s Starting pkgProblemResolver with broken count: 0 253s Starting 2 pkgProblemResolver with broken count: 0 253s Done 253s The following NEW packages will be installed: 253s build-essential cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu 253s dctrl-tools g++ g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 253s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu gfortran gfortran-14 253s gfortran-14-s390x-linux-gnu gfortran-s390x-linux-gnu icu-devtools libasan8 253s libblas-dev libbz2-dev libcc1-0 libdeflate-dev libgcc-14-dev 253s libgfortran-14-dev libicu-dev libisl23 libitm1 libjpeg-dev 253s libjpeg-turbo8-dev libjpeg8-dev liblapack-dev liblzma-dev libmpc3 253s libncurses-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 253s libpkgconf3 libpng-dev libreadline-dev libstdc++-14-dev libtirpc-dev 253s libubsan1 pkg-r-autopkgtest pkgconf pkgconf-bin r-base-dev zlib1g-dev 253s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 253s Need to get 82.3 MB of archives. 253s After this operation, 279 MB of additional disk space will be used. 253s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 254s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 254s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-17ubuntu3 [9572 kB] 266s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-17ubuntu3 [1028 B] 266s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [5556 B] 266s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.2.0-1ubuntu1 [22.4 kB] 266s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 15-20250222-0ubuntu1 [49.2 kB] 266s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 15-20250222-0ubuntu1 [31.2 kB] 266s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 15-20250222-0ubuntu1 [2970 kB] 270s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 15-20250222-0ubuntu1 [1212 kB] 271s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-17ubuntu3 [1037 kB] 273s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-17ubuntu3 [18.7 MB] 294s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-17ubuntu3 [526 kB] 295s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [1204 B] 295s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.2.0-1ubuntu1 [5004 B] 295s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-17ubuntu3 [2611 kB] 298s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-17ubuntu3 [11.0 MB] 310s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-17ubuntu3 [21.8 kB] 310s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [956 B] 310s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.2.0-1ubuntu1 [1080 B] 310s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 310s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x dctrl-tools s390x 2.24-3build3 [106 kB] 310s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libgfortran-14-dev s390x 14.2.0-17ubuntu3 [654 kB] 311s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x gfortran-14-s390x-linux-gnu s390x 14.2.0-17ubuntu3 [10.3 MB] 321s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x gfortran-14 s390x 14.2.0-17ubuntu3 [13.6 kB] 321s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x gfortran-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [1012 B] 321s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x gfortran s390x 4:14.2.0-1ubuntu1 [1160 B] 321s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x icu-devtools s390x 76.1-1ubuntu2 [225 kB] 322s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x libblas-dev s390x 3.12.1-2 [254 kB] 322s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libbz2-dev s390x 1.0.8-6 [39.1 kB] 322s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libdeflate-dev s390x 1.23-1 [52.2 kB] 322s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libicu-dev s390x 76.1-1ubuntu2 [12.2 MB] 336s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libjpeg-turbo8-dev s390x 2.1.5-3ubuntu2 [281 kB] 337s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libjpeg8-dev s390x 8c-2ubuntu11 [1484 B] 337s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libjpeg-dev s390x 8c-2ubuntu11 [1484 B] 337s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x liblapack-dev s390x 3.12.1-2 [5967 kB] 343s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x libncurses-dev s390x 6.5+20250216-2 [407 kB] 344s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-16-0 s390x 10.45-1 [259 kB] 344s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-32-0 s390x 10.45-1 [245 kB] 344s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-posix3 s390x 10.45-1 [7080 B] 344s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x libpcre2-dev s390x 10.45-1 [899 kB] 345s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x libpkgconf3 s390x 1.8.1-4 [31.2 kB] 345s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu1 [898 kB] 346s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x libpng-dev s390x 1.6.47-1 [278 kB] 347s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x libreadline-dev s390x 8.2-6 [187 kB] 347s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x liblzma-dev s390x 5.6.4-1 [183 kB] 347s Get:47 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf-bin s390x 1.8.1-4 [21.5 kB] 347s Get:48 http://ftpmaster.internal/ubuntu plucky/main s390x pkgconf s390x 1.8.1-4 [16.7 kB] 347s Get:49 http://ftpmaster.internal/ubuntu plucky/main s390x libtirpc-dev s390x 1.3.4+ds-1.3 [196 kB] 347s Get:50 http://ftpmaster.internal/ubuntu plucky/universe s390x r-base-dev all 4.4.3-1 [4176 B] 347s Get:51 http://ftpmaster.internal/ubuntu plucky/universe s390x pkg-r-autopkgtest all 20231212ubuntu1 [6448 B] 348s Fetched 82.3 MB in 1min 34s (875 kB/s) 348s Selecting previously unselected package libisl23:s390x. 348s (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 ... 58760 files and directories currently installed.) 348s Preparing to unpack .../00-libisl23_0.27-1_s390x.deb ... 348s Unpacking libisl23:s390x (0.27-1) ... 348s Selecting previously unselected package libmpc3:s390x. 348s Preparing to unpack .../01-libmpc3_1.3.1-1build2_s390x.deb ... 348s Unpacking libmpc3:s390x (1.3.1-1build2) ... 348s Selecting previously unselected package cpp-14-s390x-linux-gnu. 348s Preparing to unpack .../02-cpp-14-s390x-linux-gnu_14.2.0-17ubuntu3_s390x.deb ... 348s Unpacking cpp-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 348s Selecting previously unselected package cpp-14. 348s Preparing to unpack .../03-cpp-14_14.2.0-17ubuntu3_s390x.deb ... 348s Unpacking cpp-14 (14.2.0-17ubuntu3) ... 348s Selecting previously unselected package cpp-s390x-linux-gnu. 348s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ... 348s Unpacking cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 348s Selecting previously unselected package cpp. 348s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_s390x.deb ... 348s Unpacking cpp (4:14.2.0-1ubuntu1) ... 348s Selecting previously unselected package libcc1-0:s390x. 348s Preparing to unpack .../06-libcc1-0_15-20250222-0ubuntu1_s390x.deb ... 348s Unpacking libcc1-0:s390x (15-20250222-0ubuntu1) ... 348s Selecting previously unselected package libitm1:s390x. 348s Preparing to unpack .../07-libitm1_15-20250222-0ubuntu1_s390x.deb ... 348s Unpacking libitm1:s390x (15-20250222-0ubuntu1) ... 348s Selecting previously unselected package libasan8:s390x. 348s Preparing to unpack .../08-libasan8_15-20250222-0ubuntu1_s390x.deb ... 348s Unpacking libasan8:s390x (15-20250222-0ubuntu1) ... 348s Selecting previously unselected package libubsan1:s390x. 348s Preparing to unpack .../09-libubsan1_15-20250222-0ubuntu1_s390x.deb ... 348s Unpacking libubsan1:s390x (15-20250222-0ubuntu1) ... 348s Selecting previously unselected package libgcc-14-dev:s390x. 348s Preparing to unpack .../10-libgcc-14-dev_14.2.0-17ubuntu3_s390x.deb ... 348s Unpacking libgcc-14-dev:s390x (14.2.0-17ubuntu3) ... 348s Selecting previously unselected package gcc-14-s390x-linux-gnu. 348s Preparing to unpack .../11-gcc-14-s390x-linux-gnu_14.2.0-17ubuntu3_s390x.deb ... 348s Unpacking gcc-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 348s Selecting previously unselected package gcc-14. 348s Preparing to unpack .../12-gcc-14_14.2.0-17ubuntu3_s390x.deb ... 348s Unpacking gcc-14 (14.2.0-17ubuntu3) ... 348s Selecting previously unselected package gcc-s390x-linux-gnu. 348s Preparing to unpack .../13-gcc-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ... 348s Unpacking gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 348s Selecting previously unselected package gcc. 348s Preparing to unpack .../14-gcc_4%3a14.2.0-1ubuntu1_s390x.deb ... 348s Unpacking gcc (4:14.2.0-1ubuntu1) ... 348s Selecting previously unselected package libstdc++-14-dev:s390x. 348s Preparing to unpack .../15-libstdc++-14-dev_14.2.0-17ubuntu3_s390x.deb ... 348s Unpacking libstdc++-14-dev:s390x (14.2.0-17ubuntu3) ... 348s Selecting previously unselected package g++-14-s390x-linux-gnu. 348s Preparing to unpack .../16-g++-14-s390x-linux-gnu_14.2.0-17ubuntu3_s390x.deb ... 348s Unpacking g++-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 348s Selecting previously unselected package g++-14. 348s Preparing to unpack .../17-g++-14_14.2.0-17ubuntu3_s390x.deb ... 348s Unpacking g++-14 (14.2.0-17ubuntu3) ... 348s Selecting previously unselected package g++-s390x-linux-gnu. 348s Preparing to unpack .../18-g++-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ... 348s Unpacking g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 348s Selecting previously unselected package g++. 348s Preparing to unpack .../19-g++_4%3a14.2.0-1ubuntu1_s390x.deb ... 348s Unpacking g++ (4:14.2.0-1ubuntu1) ... 348s Selecting previously unselected package build-essential. 349s Preparing to unpack .../20-build-essential_12.10ubuntu1_s390x.deb ... 349s Unpacking build-essential (12.10ubuntu1) ... 349s Selecting previously unselected package dctrl-tools. 349s Preparing to unpack .../21-dctrl-tools_2.24-3build3_s390x.deb ... 349s Unpacking dctrl-tools (2.24-3build3) ... 349s Selecting previously unselected package libgfortran-14-dev:s390x. 349s Preparing to unpack .../22-libgfortran-14-dev_14.2.0-17ubuntu3_s390x.deb ... 349s Unpacking libgfortran-14-dev:s390x (14.2.0-17ubuntu3) ... 349s Selecting previously unselected package gfortran-14-s390x-linux-gnu. 349s Preparing to unpack .../23-gfortran-14-s390x-linux-gnu_14.2.0-17ubuntu3_s390x.deb ... 349s Unpacking gfortran-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 349s Selecting previously unselected package gfortran-14. 349s Preparing to unpack .../24-gfortran-14_14.2.0-17ubuntu3_s390x.deb ... 349s Unpacking gfortran-14 (14.2.0-17ubuntu3) ... 349s Selecting previously unselected package gfortran-s390x-linux-gnu. 349s Preparing to unpack .../25-gfortran-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ... 349s Unpacking gfortran-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 349s Selecting previously unselected package gfortran. 349s Preparing to unpack .../26-gfortran_4%3a14.2.0-1ubuntu1_s390x.deb ... 349s Unpacking gfortran (4:14.2.0-1ubuntu1) ... 349s Selecting previously unselected package icu-devtools. 349s Preparing to unpack .../27-icu-devtools_76.1-1ubuntu2_s390x.deb ... 349s Unpacking icu-devtools (76.1-1ubuntu2) ... 349s Selecting previously unselected package libblas-dev:s390x. 349s Preparing to unpack .../28-libblas-dev_3.12.1-2_s390x.deb ... 349s Unpacking libblas-dev:s390x (3.12.1-2) ... 349s Selecting previously unselected package libbz2-dev:s390x. 349s Preparing to unpack .../29-libbz2-dev_1.0.8-6_s390x.deb ... 349s Unpacking libbz2-dev:s390x (1.0.8-6) ... 349s Selecting previously unselected package libdeflate-dev:s390x. 349s Preparing to unpack .../30-libdeflate-dev_1.23-1_s390x.deb ... 349s Unpacking libdeflate-dev:s390x (1.23-1) ... 349s Selecting previously unselected package libicu-dev:s390x. 349s Preparing to unpack .../31-libicu-dev_76.1-1ubuntu2_s390x.deb ... 349s Unpacking libicu-dev:s390x (76.1-1ubuntu2) ... 349s Selecting previously unselected package libjpeg-turbo8-dev:s390x. 349s Preparing to unpack .../32-libjpeg-turbo8-dev_2.1.5-3ubuntu2_s390x.deb ... 349s Unpacking libjpeg-turbo8-dev:s390x (2.1.5-3ubuntu2) ... 349s Selecting previously unselected package libjpeg8-dev:s390x. 349s Preparing to unpack .../33-libjpeg8-dev_8c-2ubuntu11_s390x.deb ... 349s Unpacking libjpeg8-dev:s390x (8c-2ubuntu11) ... 349s Selecting previously unselected package libjpeg-dev:s390x. 349s Preparing to unpack .../34-libjpeg-dev_8c-2ubuntu11_s390x.deb ... 349s Unpacking libjpeg-dev:s390x (8c-2ubuntu11) ... 349s Selecting previously unselected package liblapack-dev:s390x. 349s Preparing to unpack .../35-liblapack-dev_3.12.1-2_s390x.deb ... 349s Unpacking liblapack-dev:s390x (3.12.1-2) ... 349s Selecting previously unselected package libncurses-dev:s390x. 349s Preparing to unpack .../36-libncurses-dev_6.5+20250216-2_s390x.deb ... 349s Unpacking libncurses-dev:s390x (6.5+20250216-2) ... 349s Selecting previously unselected package libpcre2-16-0:s390x. 349s Preparing to unpack .../37-libpcre2-16-0_10.45-1_s390x.deb ... 349s Unpacking libpcre2-16-0:s390x (10.45-1) ... 349s Selecting previously unselected package libpcre2-32-0:s390x. 349s Preparing to unpack .../38-libpcre2-32-0_10.45-1_s390x.deb ... 349s Unpacking libpcre2-32-0:s390x (10.45-1) ... 349s Selecting previously unselected package libpcre2-posix3:s390x. 349s Preparing to unpack .../39-libpcre2-posix3_10.45-1_s390x.deb ... 349s Unpacking libpcre2-posix3:s390x (10.45-1) ... 349s Selecting previously unselected package libpcre2-dev:s390x. 349s Preparing to unpack .../40-libpcre2-dev_10.45-1_s390x.deb ... 349s Unpacking libpcre2-dev:s390x (10.45-1) ... 349s Selecting previously unselected package libpkgconf3:s390x. 349s Preparing to unpack .../41-libpkgconf3_1.8.1-4_s390x.deb ... 349s Unpacking libpkgconf3:s390x (1.8.1-4) ... 349s Selecting previously unselected package zlib1g-dev:s390x. 349s Preparing to unpack .../42-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_s390x.deb ... 349s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 349s Selecting previously unselected package libpng-dev:s390x. 349s Preparing to unpack .../43-libpng-dev_1.6.47-1_s390x.deb ... 349s Unpacking libpng-dev:s390x (1.6.47-1) ... 349s Selecting previously unselected package libreadline-dev:s390x. 349s Preparing to unpack .../44-libreadline-dev_8.2-6_s390x.deb ... 349s Unpacking libreadline-dev:s390x (8.2-6) ... 349s Selecting previously unselected package liblzma-dev:s390x. 349s Preparing to unpack .../45-liblzma-dev_5.6.4-1_s390x.deb ... 349s Unpacking liblzma-dev:s390x (5.6.4-1) ... 349s Selecting previously unselected package pkgconf-bin. 349s Preparing to unpack .../46-pkgconf-bin_1.8.1-4_s390x.deb ... 349s Unpacking pkgconf-bin (1.8.1-4) ... 349s Selecting previously unselected package pkgconf:s390x. 349s Preparing to unpack .../47-pkgconf_1.8.1-4_s390x.deb ... 349s Unpacking pkgconf:s390x (1.8.1-4) ... 349s Selecting previously unselected package libtirpc-dev:s390x. 349s Preparing to unpack .../48-libtirpc-dev_1.3.4+ds-1.3_s390x.deb ... 349s Unpacking libtirpc-dev:s390x (1.3.4+ds-1.3) ... 349s Selecting previously unselected package r-base-dev. 349s Preparing to unpack .../49-r-base-dev_4.4.3-1_all.deb ... 349s Unpacking r-base-dev (4.4.3-1) ... 349s Selecting previously unselected package pkg-r-autopkgtest. 349s Preparing to unpack .../50-pkg-r-autopkgtest_20231212ubuntu1_all.deb ... 349s Unpacking pkg-r-autopkgtest (20231212ubuntu1) ... 349s Setting up libjpeg-turbo8-dev:s390x (2.1.5-3ubuntu2) ... 349s Setting up libncurses-dev:s390x (6.5+20250216-2) ... 349s Setting up libreadline-dev:s390x (8.2-6) ... 349s Setting up libpcre2-16-0:s390x (10.45-1) ... 349s Setting up libpcre2-32-0:s390x (10.45-1) ... 349s Setting up libtirpc-dev:s390x (1.3.4+ds-1.3) ... 349s Setting up libpkgconf3:s390x (1.8.1-4) ... 349s Setting up libmpc3:s390x (1.3.1-1build2) ... 349s Setting up icu-devtools (76.1-1ubuntu2) ... 349s Setting up pkgconf-bin (1.8.1-4) ... 349s Setting up liblzma-dev:s390x (5.6.4-1) ... 349s Setting up libubsan1:s390x (15-20250222-0ubuntu1) ... 349s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 349s Setting up libpcre2-posix3:s390x (10.45-1) ... 349s Setting up libasan8:s390x (15-20250222-0ubuntu1) ... 349s Setting up libjpeg8-dev:s390x (8c-2ubuntu11) ... 349s Setting up libisl23:s390x (0.27-1) ... 349s Setting up libdeflate-dev:s390x (1.23-1) ... 349s Setting up libicu-dev:s390x (76.1-1ubuntu2) ... 349s Setting up libcc1-0:s390x (15-20250222-0ubuntu1) ... 349s Setting up libblas-dev:s390x (3.12.1-2) ... 349s update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so to provide /usr/lib/s390x-linux-gnu/libblas.so (libblas.so-s390x-linux-gnu) in auto mode 349s Setting up dctrl-tools (2.24-3build3) ... 349s Setting up libitm1:s390x (15-20250222-0ubuntu1) ... 349s Setting up libbz2-dev:s390x (1.0.8-6) ... 349s Setting up libpcre2-dev:s390x (10.45-1) ... 349s Setting up libpng-dev:s390x (1.6.47-1) ... 349s Setting up libjpeg-dev:s390x (8c-2ubuntu11) ... 349s Setting up pkgconf:s390x (1.8.1-4) ... 349s Setting up liblapack-dev:s390x (3.12.1-2) ... 349s update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so to provide /usr/lib/s390x-linux-gnu/liblapack.so (liblapack.so-s390x-linux-gnu) in auto mode 349s Setting up cpp-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 349s Setting up cpp-14 (14.2.0-17ubuntu3) ... 349s Setting up libgcc-14-dev:s390x (14.2.0-17ubuntu3) ... 349s Setting up libstdc++-14-dev:s390x (14.2.0-17ubuntu3) ... 349s Setting up libgfortran-14-dev:s390x (14.2.0-17ubuntu3) ... 349s Setting up cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 349s Setting up gcc-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 349s Setting up gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 349s Setting up g++-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 349s Setting up cpp (4:14.2.0-1ubuntu1) ... 349s Setting up gfortran-14-s390x-linux-gnu (14.2.0-17ubuntu3) ... 349s Setting up g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 349s Setting up gcc-14 (14.2.0-17ubuntu3) ... 349s Setting up g++-14 (14.2.0-17ubuntu3) ... 349s Setting up gfortran-14 (14.2.0-17ubuntu3) ... 349s Setting up gfortran-s390x-linux-gnu (4:14.2.0-1ubuntu1) ... 349s Setting up gcc (4:14.2.0-1ubuntu1) ... 349s Setting up g++ (4:14.2.0-1ubuntu1) ... 349s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 349s Setting up build-essential (12.10ubuntu1) ... 349s Setting up gfortran (4:14.2.0-1ubuntu1) ... 349s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 349s update-alternatives: warning: skip creation of /usr/share/man/man1/f95.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f95) doesn't exist 349s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 349s update-alternatives: warning: skip creation of /usr/share/man/man1/f77.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f77) doesn't exist 349s Setting up r-base-dev (4.4.3-1) ... 349s Setting up pkg-r-autopkgtest (20231212ubuntu1) ... 349s Processing triggers for libc-bin (2.41-1ubuntu2) ... 349s Processing triggers for man-db (2.13.0-1) ... 350s Processing triggers for install-info (7.1.1-1) ... 351s autopkgtest [18:33:34]: test pkg-r-autopkgtest: /usr/share/dh-r/pkg-r-autopkgtest 351s autopkgtest [18:33:34]: test pkg-r-autopkgtest: [----------------------- 351s Test: Try to load the R library sparsesvd 351s 351s R version 4.4.3 (2025-02-28) -- "Trophy Case" 351s Copyright (C) 2025 The R Foundation for Statistical Computing 351s Platform: s390x-ibm-linux-gnu 351s 351s R is free software and comes with ABSOLUTELY NO WARRANTY. 351s You are welcome to redistribute it under certain conditions. 351s Type 'license()' or 'licence()' for distribution details. 351s 351s R is a collaborative project with many contributors. 351s Type 'contributors()' for more information and 351s 'citation()' on how to cite R or R packages in publications. 351s 351s Type 'demo()' for some demos, 'help()' for on-line help, or 351s 'help.start()' for an HTML browser interface to help. 351s Type 'q()' to quit R. 351s 351s > library('sparsesvd') 352s > 352s > 352s Other tests are currently unsupported! 352s They will be progressively added. 353s autopkgtest [18:33:36]: test pkg-r-autopkgtest: -----------------------] 353s autopkgtest [18:33:36]: test pkg-r-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 353s pkg-r-autopkgtest PASS 353s autopkgtest [18:33:36]: @@@@@@@@@@@@@@@@@@@@ summary 353s run-unit-test PASS 353s pkg-r-autopkgtest PASS 358s nova [W] Using flock in prodstack6-s390x 358s Creating nova instance adt-plucky-s390x-r-cran-sparsesvd-20250315-182743-juju-7f2275-prod-proposed-migration-environment-2-51f04d3d-9bb1-46e7-8f92-12e17ea7e703 from image adt/ubuntu-plucky-s390x-server-20250315.img (UUID 3d3557fa-fd0f-4bba-9b89-8d5964e09f61)... 358s nova [W] Timed out waiting for 3fcb82b2-46ad-430e-9f1e-1ab3a9816a04 to get deleted.