1s autopkgtest [00:05:09]: starting date and time: 2024-03-28 00:05:09+0000 1s autopkgtest [00:05:09]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 1s autopkgtest [00:05:09]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.k0hiu8j4/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed --apt-upgrade r-cran-git2r --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=r-base/4.3.3-2build1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-s390x-3.secgroup --name adt-noble-s390x-r-cran-git2r-20240328-000508-juju-7f2275-prod-proposed-migration-environment-2-c2f0df02-a7ae-494a-857f-3614923c0e76 --image adt/ubuntu-noble-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 96s autopkgtest [00:06:44]: testbed dpkg architecture: s390x 96s autopkgtest [00:06:44]: testbed apt version: 2.7.12 96s autopkgtest [00:06:44]: @@@@@@@@@@@@@@@@@@@@ test bed setup 98s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 98s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3961 kB] 101s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [475 kB] 101s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [8504 B] 101s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [55.9 kB] 101s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [652 kB] 101s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 101s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 101s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 101s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [4015 kB] 103s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 103s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [46.2 kB] 103s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 105s Fetched 9343 kB in 7s (1407 kB/s) 105s Reading package lists... 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s Calculating upgrade... 107s The following packages will be upgraded: 107s binutils binutils-common binutils-s390x-linux-gnu dmsetup gcc-13-base 107s gcc-14-base initramfs-tools initramfs-tools-bin initramfs-tools-core jq 107s libbinutils libctf-nobfd0 libctf0 libdevmapper1.02.1 libexpat1 libftdi1-2 107s libgcc-s1 libjq1 libseccomp2 libsframe1 libstdc++6 libusb-1.0-0 108s 22 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s Need to get 4987 kB of archives. 108s After this operation, 1024 B of additional disk space will be used. 108s Get:1 http://ftpmaster.internal/ubuntu noble/main s390x gcc-14-base s390x 14-20240315-1ubuntu1 [47.0 kB] 108s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x libstdc++6 s390x 14-20240315-1ubuntu1 [908 kB] 109s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x libgcc-s1 s390x 14-20240315-1ubuntu1 [35.9 kB] 109s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x libseccomp2 s390x 2.5.5-1ubuntu2 [53.4 kB] 109s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x libdevmapper1.02.1 s390x 2:1.02.185-3ubuntu2 [142 kB] 109s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x dmsetup s390x 2:1.02.185-3ubuntu2 [80.4 kB] 109s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libexpat1 s390x 2.6.1-2 [94.8 kB] 109s Get:8 http://ftpmaster.internal/ubuntu noble/main s390x libusb-1.0-0 s390x 2:1.0.27-1 [54.8 kB] 109s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x libctf0 s390x 2.42-4ubuntu1 [98.4 kB] 109s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x libctf-nobfd0 s390x 2.42-4ubuntu1 [100 kB] 109s Get:11 http://ftpmaster.internal/ubuntu noble/main s390x binutils-s390x-linux-gnu s390x 2.42-4ubuntu1 [2270 kB] 110s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x libbinutils s390x 2.42-4ubuntu1 [477 kB] 111s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x binutils s390x 2.42-4ubuntu1 [3056 B] 111s Get:14 http://ftpmaster.internal/ubuntu noble/main s390x binutils-common s390x 2.42-4ubuntu1 [217 kB] 111s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x libsframe1 s390x 2.42-4ubuntu1 [14.2 kB] 111s Get:16 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13-base s390x 13.2.0-21ubuntu1 [48.3 kB] 111s Get:17 http://ftpmaster.internal/ubuntu noble/main s390x initramfs-tools all 0.142ubuntu23 [9058 B] 111s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x initramfs-tools-core all 0.142ubuntu23 [50.1 kB] 111s Get:19 http://ftpmaster.internal/ubuntu noble/main s390x initramfs-tools-bin s390x 0.142ubuntu23 [20.5 kB] 111s Get:20 http://ftpmaster.internal/ubuntu noble/main s390x jq s390x 1.7.1-3 [66.5 kB] 111s Get:21 http://ftpmaster.internal/ubuntu noble/main s390x libjq1 s390x 1.7.1-3 [168 kB] 111s Get:22 http://ftpmaster.internal/ubuntu noble/main s390x libftdi1-2 s390x 1.5-6build4 [29.3 kB] 111s Fetched 4987 kB in 4s (1333 kB/s) 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52167 files and directories currently installed.) 112s Preparing to unpack .../gcc-14-base_14-20240315-1ubuntu1_s390x.deb ... 112s Unpacking gcc-14-base:s390x (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 112s Setting up gcc-14-base:s390x (14-20240315-1ubuntu1) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52167 files and directories currently installed.) 112s Preparing to unpack .../libstdc++6_14-20240315-1ubuntu1_s390x.deb ... 112s Unpacking libstdc++6:s390x (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 112s Setting up libstdc++6:s390x (14-20240315-1ubuntu1) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52167 files and directories currently installed.) 112s Preparing to unpack .../libgcc-s1_14-20240315-1ubuntu1_s390x.deb ... 112s Unpacking libgcc-s1:s390x (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 112s Setting up libgcc-s1:s390x (14-20240315-1ubuntu1) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52167 files and directories currently installed.) 112s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu2_s390x.deb ... 112s Unpacking libseccomp2:s390x (2.5.5-1ubuntu2) over (2.5.5-1ubuntu1) ... 112s Setting up libseccomp2:s390x (2.5.5-1ubuntu2) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52167 files and directories currently installed.) 112s Preparing to unpack .../00-libdevmapper1.02.1_2%3a1.02.185-3ubuntu2_s390x.deb ... 112s Unpacking libdevmapper1.02.1:s390x (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 112s Preparing to unpack .../01-dmsetup_2%3a1.02.185-3ubuntu2_s390x.deb ... 112s Unpacking dmsetup (2:1.02.185-3ubuntu2) over (2:1.02.185-3ubuntu1) ... 112s Preparing to unpack .../02-libexpat1_2.6.1-2_s390x.deb ... 112s Unpacking libexpat1:s390x (2.6.1-2) over (2.6.0-1) ... 112s Preparing to unpack .../03-libusb-1.0-0_2%3a1.0.27-1_s390x.deb ... 112s Unpacking libusb-1.0-0:s390x (2:1.0.27-1) over (2:1.0.26-1) ... 112s Preparing to unpack .../04-libctf0_2.42-4ubuntu1_s390x.deb ... 112s Unpacking libctf0:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 112s Preparing to unpack .../05-libctf-nobfd0_2.42-4ubuntu1_s390x.deb ... 112s Unpacking libctf-nobfd0:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 112s Preparing to unpack .../06-binutils-s390x-linux-gnu_2.42-4ubuntu1_s390x.deb ... 112s Unpacking binutils-s390x-linux-gnu (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 112s Preparing to unpack .../07-libbinutils_2.42-4ubuntu1_s390x.deb ... 112s Unpacking libbinutils:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 112s Preparing to unpack .../08-binutils_2.42-4ubuntu1_s390x.deb ... 112s Unpacking binutils (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 112s Preparing to unpack .../09-binutils-common_2.42-4ubuntu1_s390x.deb ... 112s Unpacking binutils-common:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 112s Preparing to unpack .../10-libsframe1_2.42-4ubuntu1_s390x.deb ... 112s Unpacking libsframe1:s390x (2.42-4ubuntu1) over (2.42-3ubuntu1) ... 112s Preparing to unpack .../11-gcc-13-base_13.2.0-21ubuntu1_s390x.deb ... 112s Unpacking gcc-13-base:s390x (13.2.0-21ubuntu1) over (13.2.0-17ubuntu2) ... 112s Preparing to unpack .../12-initramfs-tools_0.142ubuntu23_all.deb ... 112s Unpacking initramfs-tools (0.142ubuntu23) over (0.142ubuntu20) ... 112s Preparing to unpack .../13-initramfs-tools-core_0.142ubuntu23_all.deb ... 112s Unpacking initramfs-tools-core (0.142ubuntu23) over (0.142ubuntu20) ... 112s Preparing to unpack .../14-initramfs-tools-bin_0.142ubuntu23_s390x.deb ... 112s Unpacking initramfs-tools-bin (0.142ubuntu23) over (0.142ubuntu20) ... 112s Preparing to unpack .../15-jq_1.7.1-3_s390x.deb ... 112s Unpacking jq (1.7.1-3) over (1.7.1-2) ... 112s Preparing to unpack .../16-libjq1_1.7.1-3_s390x.deb ... 112s Unpacking libjq1:s390x (1.7.1-3) over (1.7.1-2) ... 112s Preparing to unpack .../17-libftdi1-2_1.5-6build4_s390x.deb ... 112s Unpacking libftdi1-2:s390x (1.5-6build4) over (1.5-6build3) ... 112s Setting up libexpat1:s390x (2.6.1-2) ... 112s Setting up libjq1:s390x (1.7.1-3) ... 112s Setting up binutils-common:s390x (2.42-4ubuntu1) ... 112s Setting up libctf-nobfd0:s390x (2.42-4ubuntu1) ... 112s Setting up libsframe1:s390x (2.42-4ubuntu1) ... 112s Setting up gcc-13-base:s390x (13.2.0-21ubuntu1) ... 112s Setting up libdevmapper1.02.1:s390x (2:1.02.185-3ubuntu2) ... 112s Setting up dmsetup (2:1.02.185-3ubuntu2) ... 112s Setting up jq (1.7.1-3) ... 112s Setting up libusb-1.0-0:s390x (2:1.0.27-1) ... 112s Setting up libbinutils:s390x (2.42-4ubuntu1) ... 112s Setting up initramfs-tools-bin (0.142ubuntu23) ... 112s Setting up libctf0:s390x (2.42-4ubuntu1) ... 112s Setting up binutils-s390x-linux-gnu (2.42-4ubuntu1) ... 112s Setting up binutils (2.42-4ubuntu1) ... 112s Setting up libftdi1-2:s390x (1.5-6build4) ... 112s Setting up initramfs-tools-core (0.142ubuntu23) ... 112s Setting up initramfs-tools (0.142ubuntu23) ... 112s update-initramfs: deferring update (trigger activated) 112s Processing triggers for man-db (2.12.0-3) ... 113s Processing triggers for libc-bin (2.39-0ubuntu6) ... 113s Processing triggers for initramfs-tools (0.142ubuntu23) ... 113s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 113s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 116s Using config file '/etc/zipl.conf' 116s Building bootmap in '/boot' 116s Adding IPL section 'ubuntu' (default) 116s Preparing boot device for LD-IPL: vda (0000). 116s Done. 117s Reading package lists... 117s Building dependency tree... 117s Reading state information... 117s 0 upgraded, 0 newly installed, 0 to remove and 222 not upgraded. 117s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 117s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 118s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 118s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 120s Reading package lists... 120s Reading package lists... 120s Building dependency tree... 120s Reading state information... 120s Calculating upgrade... 120s The following packages were automatically installed and are no longer required: 120s libaio1 libnetplan0 python3-distutils python3-lib2to3 120s Use 'sudo apt autoremove' to remove them. 120s The following packages will be REMOVED: 120s libapt-pkg6.0 libarchive13 libatm1 libcurl3-gnutls libcurl4 libdb5.3 libelf1 120s libext2fs2 libgdbm-compat4 libgdbm6 libglib2.0-0 libgnutls30 libgpgme11 120s libhogweed6 libmagic1 libnettle8 libnpth0 libnvme1 libparted2 libperl5.38 120s libpng16-16 libpsl5 libreadline8 libreiserfscore0 libssl3 libtirpc3 liburcu8 120s libuv1 120s The following NEW packages will be installed: 120s bpfcc-tools bpftrace fontconfig-config fonts-dejavu-core fonts-dejavu-mono 120s hwdata ieee-data libaio1t64 libapt-pkg6.0t64 libarchive13t64 libatm1t64 120s libbpfcc libc-dev-bin libc-devtools libc6-dev libclang-cpp18 libclang1-18 120s libcrypt-dev libcurl3t64-gnutls libcurl4t64 libdb5.3t64 libdeflate0 120s libdw1t64 libelf1t64 libext2fs2t64 libfontconfig1 libfreetype6 libgd3 120s libgdbm-compat4t64 libgdbm6t64 libglib2.0-0t64 libgnutls30t64 libgpgme11t64 120s libhogweed6t64 libjbig0 libjpeg-turbo8 libjpeg8 libllvm18 libmagic1t64 120s libnetplan1 libnettle8t64 libnpth0t64 libnvme1t64 libparted2t64 120s libperl5.38t64 libpng16-16t64 libpsl5t64 libreadline8t64 libreiserfscore0t64 120s libsharpyuv0 libssl3t64 libtiff6 libtirpc3t64 liburcu8t64 libuv1t64 libwebp7 120s libxpm4 linux-headers-6.8.0-20 linux-headers-6.8.0-20-generic 120s linux-image-6.8.0-20-generic linux-libc-dev linux-modules-6.8.0-20-generic 120s linux-modules-extra-6.8.0-20-generic linux-tools-6.8.0-20 120s linux-tools-6.8.0-20-generic linux-tools-common manpages manpages-dev 120s python3-bpfcc python3-netaddr rpcsvc-proto ubuntu-kernel-accessories 120s xdg-user-dirs 120s The following packages have been kept back: 120s s390-tools 120s The following packages will be upgraded: 120s apparmor apt apt-utils base-files bash bind9-dnsutils bind9-host bind9-libs 120s bolt bsdextrautils bsdutils btrfs-progs coreutils cryptsetup-bin curl dbus 120s dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 120s dbus-user-session dhcpcd-base dirmngr dpkg dpkg-dev e2fsprogs e2fsprogs-l10n 120s eject fdisk file ftp fwupd gawk gir1.2-girepository-2.0 gir1.2-glib-2.0 120s gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 120s groff-base ibverbs-providers inetutils-telnet info install-info iproute2 120s keyboxd kmod kpartx krb5-locales libapparmor1 libaudit-common libaudit1 120s libblkid1 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 120s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 120s libblockdev-utils3 libblockdev3 libbpf1 libbrotli1 libcap-ng0 libcom-err2 120s libcryptsetup12 libdbus-1-3 libdebconfclient0 libdpkg-perl 120s libevent-core-2.1-7 libfdisk1 libfido2-1 libfwupd2 libgirepository-1.0-1 120s libglib2.0-data libgssapi-krb5-2 libgudev-1.0-0 libgusb2 libibverbs1 120s libjcat1 libjson-glib-1.0-0 libjson-glib-1.0-common libk5crypto3 libkmod2 120s libkrb5-3 libkrb5support0 libldap-common libldap2 liblocale-gettext-perl 120s liblzma5 libmagic-mgc libmbim-glib4 libmbim-proxy libmm-glib0 libmount1 120s libnghttp2-14 libnsl2 libnss-systemd libpam-modules libpam-modules-bin 120s libpam-runtime libpam-systemd libpam0g libplymouth5 libpolkit-agent-1-0 120s libpolkit-gobject-1-0 libproc2-0 libprotobuf-c1 libpython3-stdlib 120s libpython3.11-minimal libpython3.11-stdlib libpython3.12-minimal 120s libpython3.12-stdlib libqmi-glib5 libqmi-proxy libqrtr-glib0 librtmp1 120s libsasl2-2 libsasl2-modules libsasl2-modules-db libselinux1 120s libsemanage-common libsemanage2 libslang2 libsmartcols1 libsqlite3-0 libss2 120s libssh-4 libsystemd-shared libsystemd0 libtext-charwidth-perl 120s libtext-iconv-perl libtirpc-common libudev1 libudisks2-0 libuuid1 120s libvolume-key1 libxml2 libxmlb2 libxmuu1 linux-generic linux-headers-generic 120s linux-headers-virtual linux-image-generic linux-image-virtual linux-virtual 120s logsave lshw lsof man-db motd-news-config mount mtr-tiny multipath-tools 120s netplan-generator netplan.io openssh-client openssh-server 120s openssh-sftp-server openssl parted perl perl-base perl-modules-5.38 120s pinentry-curses plymouth plymouth-theme-ubuntu-text procps python-apt-common 120s python3 python3-apt python3-cryptography python3-dbus python3-distutils 120s python3-gdbm python3-gi python3-lib2to3 python3-minimal python3-netplan 120s python3-pkg-resources python3-pyrsistent python3-setuptools 120s python3-typing-extensions python3-yaml python3.11 python3.11-minimal 120s python3.12 python3.12-minimal readline-common rsync rsyslog s390-tools-data 120s shared-mime-info sudo systemd systemd-dev systemd-resolved systemd-sysv 120s systemd-timesyncd tcpdump telnet tnftp ubuntu-pro-client 120s ubuntu-pro-client-l10n udev udisks2 usb.ids util-linux uuid-runtime 120s vim-common vim-tiny wget xxd xz-utils zlib1g 120s 221 upgraded, 73 newly installed, 28 to remove and 1 not upgraded. 120s Need to get 223 MB of archives. 120s After this operation, 524 MB of additional disk space will be used. 120s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main s390x motd-news-config all 13ubuntu8 [5098 B] 120s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main s390x base-files s390x 13ubuntu8 [74.2 kB] 120s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bash s390x 5.2.21-2ubuntu3 [845 kB] 121s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bsdutils s390x 1:2.39.3-9ubuntu2 [96.1 kB] 121s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libbrotli1 s390x 1.1.0-2build1 [375 kB] 121s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgssapi-krb5-2 s390x 1.20.1-6ubuntu1 [149 kB] 121s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libkrb5-3 s390x 1.20.1-6ubuntu1 [360 kB] 121s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libkrb5support0 s390x 1.20.1-6ubuntu1 [34.6 kB] 121s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libk5crypto3 s390x 1.20.1-6ubuntu1 [90.3 kB] 121s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcom-err2 s390x 1.47.0-2.4~exp1ubuntu2 [22.9 kB] 121s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main s390x zlib1g s390x 1:1.3.dfsg-3.1ubuntu1 [75.7 kB] 122s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main s390x librtmp1 s390x 2.4+20151223.gitfa8646d.1-2build6 [58.4 kB] 122s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main s390x udisks2 s390x 2.10.1-6 [298 kB] 122s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libudisks2-0 s390x 2.10.1-6 [179 kB] 122s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblkid1 s390x 2.39.3-9ubuntu2 [128 kB] 122s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main s390x liblzma5 s390x 5.6.0-0.2 [137 kB] 122s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main s390x kmod s390x 31+20240202-2ubuntu4 [107 kB] 122s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libkmod2 s390x 31+20240202-2ubuntu4 [56.3 kB] 122s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd-dev all 255.4-1ubuntu5 [103 kB] 122s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd-timesyncd s390x 255.4-1ubuntu5 [35.3 kB] 122s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-session-bus-common all 1.14.10-4ubuntu2 [80.3 kB] 122s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libaudit-common all 1:3.1.2-2.1 [5674 B] 122s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcap-ng0 s390x 0.8.4-2build1 [15.7 kB] 122s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libaudit1 s390x 1:3.1.2-2.1 [48.9 kB] 122s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam0g s390x 1.5.3-5ubuntu3 [69.8 kB] 122s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libselinux1 s390x 3.5-2ubuntu1 [84.7 kB] 122s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcurl4t64 s390x 8.5.0-2ubuntu8 [363 kB] 122s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main s390x curl s390x 8.5.0-2ubuntu8 [227 kB] 122s Get:29 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpsl5t64 s390x 0.21.2-1.1 [57.6 kB] 122s Get:30 http://ftpmaster.internal/ubuntu noble-proposed/main s390x wget s390x 1.21.4-1ubuntu2 [351 kB] 122s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main s390x tnftp s390x 20230507-2build1 [107 kB] 122s Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main s390x tcpdump s390x 4.99.4-3ubuntu2 [490 kB] 123s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsystemd-shared s390x 255.4-1ubuntu5 [2131 kB] 123s Get:34 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd-resolved s390x 255.4-1ubuntu5 [304 kB] 123s Get:35 http://ftpmaster.internal/ubuntu noble-proposed/main s390x sudo s390x 1.9.15p5-3ubuntu3 [968 kB] 123s Get:36 http://ftpmaster.internal/ubuntu noble-proposed/main s390x rsync s390x 3.2.7-1build1 [446 kB] 123s Get:37 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-cryptography s390x 41.0.7-4build2 [918 kB] 123s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main s390x openssl s390x 3.0.13-0ubuntu2 [1010 kB] 124s Get:39 http://ftpmaster.internal/ubuntu noble-proposed/main s390x openssh-sftp-server s390x 1:9.6p1-3ubuntu11 [39.0 kB] 124s Get:40 http://ftpmaster.internal/ubuntu noble-proposed/main s390x openssh-client s390x 1:9.6p1-3ubuntu11 [935 kB] 124s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main s390x openssh-server s390x 1:9.6p1-3ubuntu11 [529 kB] 124s Get:42 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libssh-4 s390x 0.10.6-2build1 [189 kB] 124s Get:43 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsasl2-modules s390x 2.1.28+dfsg1-5ubuntu1 [76.6 kB] 124s Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3.12 s390x 3.12.2-4build3 [645 kB] 124s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3.12-minimal s390x 3.12.2-4build3 [2419 kB] 124s Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3.12-minimal s390x 3.12.2-4build3 [829 kB] 124s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libparted2t64 s390x 3.6-3.1build2 [172 kB] 124s Get:48 http://ftpmaster.internal/ubuntu noble-proposed/main s390x parted s390x 3.6-3.1build2 [44.6 kB] 124s Get:49 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3.11 s390x 3.11.8-1build4 [589 kB] 124s Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3.11-minimal s390x 3.11.8-1build4 [2280 kB] 124s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3.11-minimal s390x 3.11.8-1build4 [838 kB] 124s Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3.11-stdlib s390x 3.11.8-1build4 [1944 kB] 125s Get:53 http://ftpmaster.internal/ubuntu noble-proposed/main s390x shared-mime-info s390x 2.4-1build1 [474 kB] 125s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gir1.2-girepository-2.0 s390x 1.79.1-1ubuntu6 [24.5 kB] 125s Get:55 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gir1.2-glib-2.0 s390x 2.79.3-3ubuntu5 [180 kB] 125s Get:56 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgirepository-1.0-1 s390x 1.79.1-1ubuntu6 [84.0 kB] 125s Get:57 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-gi s390x 3.47.0-3build1 [236 kB] 125s Get:58 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-dbus s390x 1.3.2-5build2 [100 kB] 125s Get:59 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnetplan1 s390x 1.0-1 [123 kB] 125s Get:60 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-netplan s390x 1.0-1 [23.0 kB] 125s Get:61 http://ftpmaster.internal/ubuntu noble-proposed/main s390x netplan-generator s390x 1.0-1 [59.1 kB] 125s Get:62 http://ftpmaster.internal/ubuntu noble-proposed/main s390x netplan.io s390x 1.0-1 [65.4 kB] 125s Get:63 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxmlb2 s390x 0.3.15-1build1 [70.6 kB] 125s Get:64 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgpgme11t64 s390x 1.18.0-4.1ubuntu3 [150 kB] 125s Get:65 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libvolume-key1 s390x 0.3.12-7build1 [40.8 kB] 125s Get:66 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libqrtr-glib0 s390x 1.2.2-1ubuntu3 [17.5 kB] 125s Get:67 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libqmi-glib5 s390x 1.35.2-0ubuntu1 [918 kB] 125s Get:68 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libqmi-proxy s390x 1.35.2-0ubuntu1 [6122 B] 125s Get:69 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpolkit-agent-1-0 s390x 124-1ubuntu1 [17.8 kB] 125s Get:70 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpolkit-gobject-1-0 s390x 124-1ubuntu1 [48.3 kB] 125s Get:71 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmm-glib0 s390x 1.23.4-0ubuntu1 [251 kB] 125s Get:72 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmbim-glib4 s390x 1.31.2-0ubuntu2 [238 kB] 125s Get:73 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmbim-proxy s390x 1.31.2-0ubuntu2 [6154 B] 125s Get:74 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libjson-glib-1.0-common all 1.8.0-2build1 [4210 B] 125s Get:75 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libjson-glib-1.0-0 s390x 1.8.0-2build1 [68.4 kB] 125s Get:76 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgusb2 s390x 0.4.8-1build1 [39.0 kB] 125s Get:77 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgudev-1.0-0 s390x 1:238-3ubuntu2 [15.7 kB] 125s Get:78 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libarchive13t64 s390x 3.7.2-1.1ubuntu2 [419 kB] 125s Get:79 http://ftpmaster.internal/ubuntu noble-proposed/main s390x fwupd s390x 1.9.15-2 [4435 kB] 125s Get:80 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcurl3t64-gnutls s390x 8.5.0-2ubuntu8 [356 kB] 125s Get:81 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfwupd2 s390x 1.9.15-2 [136 kB] 125s Get:82 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev3 s390x 3.1.0-1build1 [52.3 kB] 125s Get:83 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-utils3 s390x 3.1.0-1build1 [19.2 kB] 125s Get:84 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-swap3 s390x 3.1.0-1build1 [7778 B] 125s Get:85 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-part3 s390x 3.1.0-1build1 [15.4 kB] 125s Get:86 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnvme1t64 s390x 1.8-3 [78.7 kB] 125s Get:87 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-nvme3 s390x 3.1.0-1build1 [18.3 kB] 125s Get:88 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-mdraid3 s390x 3.1.0-1build1 [13.2 kB] 125s Get:89 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-loop3 s390x 3.1.0-1build1 [7138 B] 125s Get:90 http://ftpmaster.internal/ubuntu noble-proposed/main s390x logsave s390x 1.47.0-2.4~exp1ubuntu2 [22.5 kB] 125s Get:91 http://ftpmaster.internal/ubuntu noble-proposed/main s390x e2fsprogs-l10n all 1.47.0-2.4~exp1ubuntu2 [5996 B] 125s Get:92 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libext2fs2t64 s390x 1.47.0-2.4~exp1ubuntu2 [235 kB] 125s Get:93 http://ftpmaster.internal/ubuntu noble-proposed/main s390x e2fsprogs s390x 1.47.0-2.4~exp1ubuntu2 [615 kB] 125s Get:94 http://ftpmaster.internal/ubuntu noble/main s390x libreiserfscore0t64 s390x 1:3.6.27-7.1 [85.5 kB] 125s Get:95 http://ftpmaster.internal/ubuntu noble-proposed/main s390x btrfs-progs s390x 6.6.3-1.1build1 [959 kB] 126s Get:96 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-fs3 s390x 3.1.0-1build1 [36.5 kB] 126s Get:97 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblockdev-crypto3 s390x 3.1.0-1build1 [21.6 kB] 126s Get:98 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bolt s390x 0.9.6-2build1 [142 kB] 126s Get:99 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-0t64 s390x 2.79.3-3ubuntu5 [1566 kB] 126s Get:100 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libjcat1 s390x 0.2.0-2build2 [34.4 kB] 126s Get:101 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libldap2 s390x 2.6.7+dfsg-1~exp1ubuntu6 [202 kB] 126s Get:102 http://ftpmaster.internal/ubuntu noble-proposed/main s390x ubuntu-pro-client-l10n s390x 31.2.2 [19.4 kB] 126s Get:103 http://ftpmaster.internal/ubuntu noble-proposed/main s390x ubuntu-pro-client s390x 31.2.2 [214 kB] 126s Get:104 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gnupg-utils s390x 2.4.4-2ubuntu15 [116 kB] 126s Get:105 http://ftpmaster.internal/ubuntu noble-proposed/main s390x keyboxd s390x 2.4.4-2ubuntu15 [83.1 kB] 127s Get:106 http://ftpmaster.internal/ubuntu noble/main s390x libnpth0t64 s390x 1.6-3.1 [8148 B] 127s Get:107 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpgv s390x 2.4.4-2ubuntu15 [165 kB] 127s Get:108 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpg-wks-client s390x 2.4.4-2ubuntu15 [76.8 kB] 127s Get:109 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpg-agent s390x 2.4.4-2ubuntu15 [240 kB] 127s Get:110 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpg s390x 2.4.4-2ubuntu15 [589 kB] 127s Get:111 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dirmngr s390x 2.4.4-2ubuntu15 [340 kB] 128s Get:112 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gnupg all 2.4.4-2ubuntu15 [359 kB] 128s Get:113 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-apt s390x 2.7.7 [171 kB] 128s Get:114 http://ftpmaster.internal/ubuntu noble-proposed/main s390x apt-utils s390x 2.7.14 [214 kB] 128s Get:115 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libapt-pkg6.0t64 s390x 2.7.14 [1014 kB] 128s Get:116 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnettle8t64 s390x 3.9.1-2.2 [210 kB] 128s Get:117 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libhogweed6t64 s390x 3.9.1-2.2 [204 kB] 128s Get:118 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgnutls30t64 s390x 3.8.3-1.1ubuntu2 [1044 kB] 129s Get:119 http://ftpmaster.internal/ubuntu noble-proposed/main s390x apt s390x 2.7.14 [1390 kB] 129s Get:120 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpgconf s390x 2.4.4-2ubuntu15 [111 kB] 129s Get:121 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gpgsm s390x 2.4.4-2ubuntu15 [244 kB] 129s Get:122 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libreadline8t64 s390x 8.2-4 [170 kB] 129s Get:123 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gawk s390x 1:5.2.1-2build2 [496 kB] 129s Get:124 http://ftpmaster.internal/ubuntu noble-proposed/main s390x fdisk s390x 2.39.3-9ubuntu2 [124 kB] 129s Get:125 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3.12-stdlib s390x 3.12.2-4build3 [2046 kB] 130s Get:126 http://ftpmaster.internal/ubuntu noble-proposed/main s390x perl-base s390x 5.38.2-3.2 [1961 kB] 130s Get:127 http://ftpmaster.internal/ubuntu noble-proposed/main s390x perl-modules-5.38 all 5.38.2-3.2 [3110 kB] 130s Get:128 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-gdbm s390x 3.12.2-3ubuntu1.1 [19.0 kB] 130s Get:129 http://ftpmaster.internal/ubuntu noble-proposed/main s390x man-db s390x 2.12.0-3build4 [1246 kB] 130s Get:130 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgdbm6t64 s390x 1.23-5.1 [36.4 kB] 130s Get:131 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgdbm-compat4t64 s390x 1.23-5.1 [6880 B] 130s Get:132 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libperl5.38t64 s390x 5.38.2-3.2 [5007 kB] 131s Get:133 http://ftpmaster.internal/ubuntu noble-proposed/main s390x perl s390x 5.38.2-3.2 [231 kB] 131s Get:134 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdb5.3t64 s390x 5.3.28+dfsg2-6 [763 kB] 131s Get:135 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsasl2-modules-db s390x 2.1.28+dfsg1-5ubuntu1 [21.1 kB] 131s Get:136 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsasl2-2 s390x 2.1.28+dfsg1-5ubuntu1 [57.8 kB] 131s Get:137 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfido2-1 s390x 1.14.0-1build1 [81.0 kB] 131s Get:138 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcryptsetup12 s390x 2:2.7.0-1ubuntu2 [264 kB] 131s Get:139 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dhcpcd-base s390x 1:10.0.6-1ubuntu2 [217 kB] 131s Get:140 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libuv1t64 s390x 1.48.0-1.1 [101 kB] 131s Get:141 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bind9-host s390x 1:9.18.24-0ubuntu3 [50.5 kB] 131s Get:142 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bind9-dnsutils s390x 1:9.18.24-0ubuntu3 [162 kB] 131s Get:143 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bind9-libs s390x 1:9.18.24-0ubuntu3 [1243 kB] 131s Get:144 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libssl3t64 s390x 3.0.13-0ubuntu2 [1675 kB] 132s Get:145 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnss-systemd s390x 255.4-1ubuntu5 [166 kB] 132s Get:146 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libudev1 s390x 255.4-1ubuntu5 [178 kB] 132s Get:147 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd s390x 255.4-1ubuntu5 [3533 kB] 132s Get:148 http://ftpmaster.internal/ubuntu noble-proposed/main s390x udev s390x 255.4-1ubuntu5 [1887 kB] 132s Get:149 http://ftpmaster.internal/ubuntu noble-proposed/main s390x systemd-sysv s390x 255.4-1ubuntu5 [11.9 kB] 132s Get:150 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-systemd s390x 255.4-1ubuntu5 [242 kB] 132s Get:151 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsystemd0 s390x 255.4-1ubuntu5 [443 kB] 132s Get:152 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-modules-bin s390x 1.5.3-5ubuntu3 [57.4 kB] 132s Get:153 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-modules s390x 1.5.3-5ubuntu3 [289 kB] 132s Get:154 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpam-runtime all 1.5.3-5ubuntu3 [40.8 kB] 132s Get:155 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-user-session s390x 1.14.10-4ubuntu2 [9960 B] 132s Get:156 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libapparmor1 s390x 4.0.0-beta3-0ubuntu2 [50.8 kB] 132s Get:157 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-system-bus-common all 1.14.10-4ubuntu2 [81.5 kB] 132s Get:158 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-bin s390x 1.14.10-4ubuntu2 [41.4 kB] 132s Get:159 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus s390x 1.14.10-4ubuntu2 [24.3 kB] 132s Get:160 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-daemon s390x 1.14.10-4ubuntu2 [118 kB] 133s Get:161 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdbus-1-3 s390x 1.14.10-4ubuntu2 [213 kB] 133s Get:162 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmount1 s390x 2.39.3-9ubuntu2 [138 kB] 133s Get:163 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libuuid1 s390x 2.39.3-9ubuntu2 [35.6 kB] 133s Get:164 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfdisk1 s390x 2.39.3-9ubuntu2 [151 kB] 133s Get:165 http://ftpmaster.internal/ubuntu noble-proposed/main s390x mount s390x 2.39.3-9ubuntu2 [119 kB] 133s Get:166 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsqlite3-0 s390x 3.45.1-1ubuntu1 [747 kB] 133s Get:167 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dpkg s390x 1.22.6ubuntu5 [1278 kB] 133s Get:168 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-minimal s390x 3.12.2-0ubuntu1 [27.1 kB] 133s Get:169 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3 s390x 3.12.2-0ubuntu1 [24.1 kB] 133s Get:170 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpython3-stdlib s390x 3.12.2-0ubuntu1 [9804 B] 133s Get:171 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsmartcols1 s390x 2.39.3-9ubuntu2 [67.9 kB] 133s Get:172 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bsdextrautils s390x 2.39.3-9ubuntu2 [76.3 kB] 133s Get:173 http://ftpmaster.internal/ubuntu noble-proposed/main s390x groff-base s390x 1.23.0-3build1 [1049 kB] 133s Get:174 http://ftpmaster.internal/ubuntu noble-proposed/main s390x pinentry-curses s390x 1.2.1-3ubuntu4 [37.6 kB] 133s Get:175 http://ftpmaster.internal/ubuntu noble-proposed/main s390x readline-common all 8.2-4 [56.4 kB] 133s Get:176 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxml2 s390x 2.9.14+dfsg-1.3ubuntu2 [818 kB] 133s Get:177 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libbpf1 s390x 1:1.3.0-2build1 [176 kB] 133s Get:178 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libelf1t64 s390x 0.190-1.1build2 [69.7 kB] 133s Get:179 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtirpc-common all 1.3.4+ds-1.1 [8018 B] 133s Get:180 http://ftpmaster.internal/ubuntu noble-proposed/main s390x lsof s390x 4.95.0-1build2 [248 kB] 133s Get:181 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnsl2 s390x 1.3.0-3build2 [44.1 kB] 133s Get:182 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtirpc3t64 s390x 1.3.4+ds-1.1 [85.8 kB] 133s Get:183 http://ftpmaster.internal/ubuntu noble-proposed/main s390x iproute2 s390x 6.1.0-1ubuntu5 [1156 kB] 133s Get:184 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-yaml s390x 6.0.1-2build1 [121 kB] 133s Get:185 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libprotobuf-c1 s390x 1.4.1-1ubuntu3 [23.4 kB] 133s Get:186 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libnghttp2-14 s390x 1.59.0-1build1 [77.8 kB] 133s Get:187 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libproc2-0 s390x 2:4.0.4-4ubuntu2 [60.1 kB] 133s Get:188 http://ftpmaster.internal/ubuntu noble-proposed/main s390x procps s390x 2:4.0.4-4ubuntu2 [724 kB] 133s Get:189 http://ftpmaster.internal/ubuntu noble-proposed/main s390x coreutils s390x 9.4-3ubuntu3 [1482 kB] 134s Get:190 http://ftpmaster.internal/ubuntu noble-proposed/main s390x util-linux s390x 2.39.3-9ubuntu2 [1143 kB] 134s Get:191 http://ftpmaster.internal/ubuntu noble-proposed/main s390x file s390x 1:5.45-3 [22.2 kB] 134s Get:192 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmagic-mgc s390x 1:5.45-3 [305 kB] 134s Get:193 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmagic1t64 s390x 1:5.45-3 [93.1 kB] 134s Get:194 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libplymouth5 s390x 24.004.60-1ubuntu6 [151 kB] 134s Get:195 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpng16-16t64 s390x 1.6.43-3 [200 kB] 134s Get:196 http://ftpmaster.internal/ubuntu noble-proposed/main s390x multipath-tools s390x 0.9.4-5ubuntu6 [318 kB] 134s Get:197 http://ftpmaster.internal/ubuntu noble/main s390x liburcu8t64 s390x 0.14.0-3.1 [67.3 kB] 134s Get:198 http://ftpmaster.internal/ubuntu noble-proposed/main s390x liblocale-gettext-perl s390x 1.07-6ubuntu4 [15.8 kB] 134s Get:199 http://ftpmaster.internal/ubuntu noble-proposed/main s390x uuid-runtime s390x 2.39.3-9ubuntu2 [33.4 kB] 134s Get:200 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdebconfclient0 s390x 0.271ubuntu2 [11.4 kB] 134s Get:201 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsemanage-common all 3.5-1build4 [10.1 kB] 134s Get:202 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsemanage2 s390x 3.5-1build4 [96.7 kB] 134s Get:203 http://ftpmaster.internal/ubuntu noble-proposed/main s390x install-info s390x 7.1-3build1 [64.5 kB] 134s Get:204 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libss2 s390x 1.47.0-2.4~exp1ubuntu2 [17.2 kB] 134s Get:205 http://ftpmaster.internal/ubuntu noble-proposed/main s390x eject s390x 2.39.3-9ubuntu2 [26.2 kB] 134s Get:206 http://ftpmaster.internal/ubuntu noble-proposed/main s390x krb5-locales all 1.20.1-6ubuntu1 [13.8 kB] 134s Get:207 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 134s Get:208 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libslang2 s390x 2.3.3-3build1 [501 kB] 134s Get:209 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtext-charwidth-perl s390x 0.04-11build2 [9484 B] 134s Get:210 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtext-iconv-perl s390x 1.7-8build2 [13.8 kB] 134s Get:211 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python-apt-common all 2.7.7 [19.8 kB] 134s Get:212 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-setuptools all 68.1.2-2ubuntu1 [396 kB] 134s Get:213 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-pkg-resources all 68.1.2-2ubuntu1 [168 kB] 134s Get:214 http://ftpmaster.internal/ubuntu noble-proposed/main s390x rsyslog s390x 8.2312.0-3ubuntu7 [536 kB] 135s Get:215 http://ftpmaster.internal/ubuntu noble-proposed/main s390x vim-tiny s390x 2:9.1.0016-1ubuntu6 [879 kB] 135s Get:216 http://ftpmaster.internal/ubuntu noble-proposed/main s390x vim-common all 2:9.1.0016-1ubuntu6 [385 kB] 135s Get:217 http://ftpmaster.internal/ubuntu noble/main s390x xdg-user-dirs s390x 0.18-1 [18.5 kB] 135s Get:218 http://ftpmaster.internal/ubuntu noble-proposed/main s390x xxd s390x 2:9.1.0016-1ubuntu6 [63.5 kB] 135s Get:219 http://ftpmaster.internal/ubuntu noble-proposed/main s390x apparmor s390x 4.0.0-beta3-0ubuntu2 [710 kB] 135s Get:220 http://ftpmaster.internal/ubuntu noble-proposed/main s390x ftp all 20230507-2build1 [4724 B] 135s Get:221 http://ftpmaster.internal/ubuntu noble-proposed/main s390x inetutils-telnet s390x 2:2.5-3ubuntu3 [105 kB] 135s Get:222 http://ftpmaster.internal/ubuntu noble-proposed/main s390x info s390x 7.1-3build1 [152 kB] 135s Get:223 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxmuu1 s390x 2:1.1.3-3build1 [8860 B] 135s Get:224 http://ftpmaster.internal/ubuntu noble-proposed/main s390x lshw s390x 02.19.git.2021.06.19.996aaad9c7-2build2 [346 kB] 135s Get:225 http://ftpmaster.internal/ubuntu noble/main s390x manpages all 6.05.01-1 [1340 kB] 135s Get:226 http://ftpmaster.internal/ubuntu noble-proposed/main s390x mtr-tiny s390x 0.95-1.1build1 [57.0 kB] 135s Get:227 http://ftpmaster.internal/ubuntu noble-proposed/main s390x plymouth-theme-ubuntu-text s390x 24.004.60-1ubuntu6 [10.2 kB] 135s Get:228 http://ftpmaster.internal/ubuntu noble-proposed/main s390x plymouth s390x 24.004.60-1ubuntu6 [147 kB] 135s Get:229 http://ftpmaster.internal/ubuntu noble-proposed/main s390x telnet all 0.17+2.5-3ubuntu3 [3682 B] 135s Get:230 http://ftpmaster.internal/ubuntu noble-proposed/main s390x usb.ids all 2024.03.18-1 [223 kB] 135s Get:231 http://ftpmaster.internal/ubuntu noble-proposed/main s390x xz-utils s390x 5.6.0-0.2 [274 kB] 135s Get:232 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libllvm18 s390x 1:18.1.2-1ubuntu2 [33.4 MB] 138s Get:233 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libclang-cpp18 s390x 1:18.1.2-1ubuntu2 [16.1 MB] 140s Get:234 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libbpfcc s390x 0.29.1+ds-1ubuntu4 [697 kB] 140s Get:235 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x python3-bpfcc all 0.29.1+ds-1ubuntu4 [40.2 kB] 140s Get:236 http://ftpmaster.internal/ubuntu noble/main s390x ieee-data all 20220827.1 [2113 kB] 140s Get:237 http://ftpmaster.internal/ubuntu noble/main s390x python3-netaddr all 0.8.0-2ubuntu1 [319 kB] 140s Get:238 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x bpfcc-tools all 0.29.1+ds-1ubuntu4 [687 kB] 141s Get:239 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libclang1-18 s390x 1:18.1.2-1ubuntu2 [9349 kB] 142s Get:240 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdw1t64 s390x 0.190-1.1build2 [286 kB] 142s Get:241 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x bpftrace s390x 0.20.2-1ubuntu1 [1139 kB] 142s Get:242 http://ftpmaster.internal/ubuntu noble-proposed/main s390x cryptsetup-bin s390x 2:2.7.0-1ubuntu2 [211 kB] 142s Get:243 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dpkg-dev all 1.22.6ubuntu5 [1074 kB] 142s Get:244 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdpkg-perl all 1.22.6ubuntu5 [269 kB] 142s Get:245 http://ftpmaster.internal/ubuntu noble/main s390x fonts-dejavu-mono all 2.37-8 [502 kB] 142s Get:246 http://ftpmaster.internal/ubuntu noble/main s390x fonts-dejavu-core all 2.37-8 [835 kB] 142s Get:247 http://ftpmaster.internal/ubuntu noble/main s390x fontconfig-config s390x 2.15.0-1.1ubuntu1 [37.4 kB] 142s Get:248 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gnupg-l10n all 2.4.4-2ubuntu15 [65.8 kB] 142s Get:249 http://ftpmaster.internal/ubuntu noble/main s390x hwdata all 0.379-1 [29.1 kB] 142s Get:250 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libibverbs1 s390x 50.0-2build1 [70.0 kB] 142s Get:251 http://ftpmaster.internal/ubuntu noble-proposed/main s390x ibverbs-providers s390x 50.0-2build1 [408 kB] 142s Get:252 http://ftpmaster.internal/ubuntu noble/main s390x libaio1t64 s390x 0.3.113-6 [7290 B] 142s Get:253 http://ftpmaster.internal/ubuntu noble/main s390x libatm1t64 s390x 1:2.5.1-5.1 [24.5 kB] 142s Get:254 http://ftpmaster.internal/ubuntu noble/main s390x libc-dev-bin s390x 2.39-0ubuntu6 [20.2 kB] 142s Get:255 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfreetype6 s390x 2.13.2+dfsg-1build2 [437 kB] 142s Get:256 http://ftpmaster.internal/ubuntu noble/main s390x libfontconfig1 s390x 2.15.0-1.1ubuntu1 [150 kB] 142s Get:257 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg-turbo8 s390x 2.1.5-2ubuntu1 [128 kB] 142s Get:258 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg8 s390x 8c-2ubuntu11 [2146 B] 142s Get:259 http://ftpmaster.internal/ubuntu noble/main s390x libdeflate0 s390x 1.19-1 [46.0 kB] 142s Get:260 http://ftpmaster.internal/ubuntu noble/main s390x libjbig0 s390x 2.1-6.1ubuntu1 [29.8 kB] 142s Get:261 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsharpyuv0 s390x 1.3.2-0.4build2 [14.9 kB] 142s Get:262 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libwebp7 s390x 1.3.2-0.4build2 [207 kB] 142s Get:263 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtiff6 s390x 4.5.1+git230720-4ubuntu1 [218 kB] 142s Get:264 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxpm4 s390x 1:3.5.17-1build1 [41.4 kB] 142s Get:265 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgd3 s390x 2.3.3-9ubuntu3 [141 kB] 142s Get:266 http://ftpmaster.internal/ubuntu noble/main s390x libc-devtools s390x 2.39-0ubuntu6 [30.6 kB] 142s Get:267 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-libc-dev s390x 6.8.0-20.20 [1592 kB] 143s Get:268 http://ftpmaster.internal/ubuntu noble/main s390x libcrypt-dev s390x 1:4.4.36-4 [135 kB] 143s Get:269 http://ftpmaster.internal/ubuntu noble/main s390x rpcsvc-proto s390x 1.4.2-0ubuntu6 [64.7 kB] 143s Get:270 http://ftpmaster.internal/ubuntu noble/main s390x libc6-dev s390x 2.39-0ubuntu6 [1629 kB] 143s Get:271 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libevent-core-2.1-7 s390x 2.1.12-stable-9build1 [94.3 kB] 143s Get:272 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libldap-common all 2.6.7+dfsg-1~exp1ubuntu6 [31.3 kB] 143s Get:273 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-modules-6.8.0-20-generic s390x 6.8.0-20.20 [21.0 MB] 145s Get:274 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-image-6.8.0-20-generic s390x 6.8.0-20.20 [9872 kB] 146s Get:275 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-modules-extra-6.8.0-20-generic s390x 6.8.0-20.20 [11.7 MB] 147s Get:276 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-generic s390x 6.8.0-20.20+1 [1734 B] 147s Get:277 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-image-generic s390x 6.8.0-20.20+1 [9688 B] 147s Get:278 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-virtual s390x 6.8.0-20.20+1 [1682 B] 147s Get:279 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-image-virtual s390x 6.8.0-20.20+1 [9700 B] 147s Get:280 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-headers-virtual s390x 6.8.0-20.20+1 [1642 B] 147s Get:281 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-headers-6.8.0-20 all 6.8.0-20.20 [13.6 MB] 149s Get:282 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-headers-6.8.0-20-generic s390x 6.8.0-20.20 [2579 kB] 150s Get:283 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-headers-generic s390x 6.8.0-20.20+1 [9608 B] 150s Get:284 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-tools-common all 6.8.0-20.20 [437 kB] 150s Get:285 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-tools-6.8.0-20 s390x 6.8.0-20.20 [2674 kB] 151s Get:286 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-tools-6.8.0-20-generic s390x 6.8.0-20.20 [1724 B] 151s Get:287 http://ftpmaster.internal/ubuntu noble/main s390x manpages-dev all 6.05.01-1 [2018 kB] 151s Get:288 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-distutils all 3.12.2-3ubuntu1.1 [133 kB] 151s Get:289 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-lib2to3 all 3.12.2-3ubuntu1.1 [79.1 kB] 151s Get:290 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-pyrsistent s390x 0.20.0-1build1 [55.8 kB] 151s Get:291 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-typing-extensions all 4.10.0-1 [60.7 kB] 151s Get:292 http://ftpmaster.internal/ubuntu noble-proposed/main s390x s390-tools-data all 2.31.0-0ubuntu3 [17.8 kB] 151s Get:293 http://ftpmaster.internal/ubuntu noble/main s390x ubuntu-kernel-accessories s390x 1.536build1 [10.5 kB] 151s Get:294 http://ftpmaster.internal/ubuntu noble-proposed/main s390x kpartx s390x 0.9.4-5ubuntu6 [32.8 kB] 152s Preconfiguring packages ... 152s Fetched 223 MB in 32s (7035 kB/s) 152s (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 ... 52168 files and directories currently installed.) 152s Preparing to unpack .../motd-news-config_13ubuntu8_all.deb ... 152s Unpacking motd-news-config (13ubuntu8) over (13ubuntu7) ... 152s Preparing to unpack .../base-files_13ubuntu8_s390x.deb ... 152s Unpacking base-files (13ubuntu8) over (13ubuntu7) ... 152s Setting up base-files (13ubuntu8) ... 153s motd-news.service is a disabled or a static unit not running, not starting it. 153s (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 ... 52168 files and directories currently installed.) 153s Preparing to unpack .../bash_5.2.21-2ubuntu3_s390x.deb ... 153s Unpacking bash (5.2.21-2ubuntu3) over (5.2.21-2ubuntu2) ... 153s Setting up bash (5.2.21-2ubuntu3) ... 153s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 153s (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 ... 52168 files and directories currently installed.) 153s Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu2_s390x.deb ... 153s Unpacking bsdutils (1:2.39.3-9ubuntu2) over (1:2.39.3-6ubuntu2) ... 153s Setting up bsdutils (1:2.39.3-9ubuntu2) ... 153s (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 ... 52168 files and directories currently installed.) 153s Preparing to unpack .../0-libbrotli1_1.1.0-2build1_s390x.deb ... 153s Unpacking libbrotli1:s390x (1.1.0-2build1) over (1.1.0-2) ... 153s Preparing to unpack .../1-libgssapi-krb5-2_1.20.1-6ubuntu1_s390x.deb ... 153s Unpacking libgssapi-krb5-2:s390x (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 153s Preparing to unpack .../2-libkrb5-3_1.20.1-6ubuntu1_s390x.deb ... 153s Unpacking libkrb5-3:s390x (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 153s Preparing to unpack .../3-libkrb5support0_1.20.1-6ubuntu1_s390x.deb ... 153s Unpacking libkrb5support0:s390x (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 153s Preparing to unpack .../4-libk5crypto3_1.20.1-6ubuntu1_s390x.deb ... 153s Unpacking libk5crypto3:s390x (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 153s Preparing to unpack .../5-libcom-err2_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 153s Unpacking libcom-err2:s390x (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 153s Preparing to unpack .../6-zlib1g_1%3a1.3.dfsg-3.1ubuntu1_s390x.deb ... 153s Unpacking zlib1g:s390x (1:1.3.dfsg-3.1ubuntu1) over (1:1.3.dfsg-3ubuntu1) ... 153s Setting up zlib1g:s390x (1:1.3.dfsg-3.1ubuntu1) ... 153s (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 ... 52168 files and directories currently installed.) 153s Preparing to unpack .../librtmp1_2.4+20151223.gitfa8646d.1-2build6_s390x.deb ... 153s Unpacking librtmp1:s390x (2.4+20151223.gitfa8646d.1-2build6) over (2.4+20151223.gitfa8646d.1-2build4) ... 153s Preparing to unpack .../udisks2_2.10.1-6_s390x.deb ... 153s Unpacking udisks2 (2.10.1-6) over (2.10.1-1ubuntu2) ... 153s Preparing to unpack .../libudisks2-0_2.10.1-6_s390x.deb ... 153s Unpacking libudisks2-0:s390x (2.10.1-6) over (2.10.1-1ubuntu2) ... 153s Preparing to unpack .../libblkid1_2.39.3-9ubuntu2_s390x.deb ... 153s Unpacking libblkid1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 153s Setting up libblkid1:s390x (2.39.3-9ubuntu2) ... 153s (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 ... 52168 files and directories currently installed.) 153s Preparing to unpack .../liblzma5_5.6.0-0.2_s390x.deb ... 153s Unpacking liblzma5:s390x (5.6.0-0.2) over (5.4.5-0.3) ... 153s Setting up liblzma5:s390x (5.6.0-0.2) ... 153s (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 ... 52168 files and directories currently installed.) 153s Preparing to unpack .../0-kmod_31+20240202-2ubuntu4_s390x.deb ... 153s Unpacking kmod (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 153s Preparing to unpack .../1-libkmod2_31+20240202-2ubuntu4_s390x.deb ... 153s Unpacking libkmod2:s390x (31+20240202-2ubuntu4) over (30+20230601-2ubuntu1) ... 153s Preparing to unpack .../2-systemd-dev_255.4-1ubuntu5_all.deb ... 153s Unpacking systemd-dev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 154s Preparing to unpack .../3-systemd-timesyncd_255.4-1ubuntu5_s390x.deb ... 154s Unpacking systemd-timesyncd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 154s Preparing to unpack .../4-dbus-session-bus-common_1.14.10-4ubuntu2_all.deb ... 154s Unpacking dbus-session-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 154s Preparing to unpack .../5-libaudit-common_1%3a3.1.2-2.1_all.deb ... 154s Unpacking libaudit-common (1:3.1.2-2.1) over (1:3.1.2-2) ... 154s Setting up libaudit-common (1:3.1.2-2.1) ... 154s (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 ... 52168 files and directories currently installed.) 154s Preparing to unpack .../libcap-ng0_0.8.4-2build1_s390x.deb ... 154s Unpacking libcap-ng0:s390x (0.8.4-2build1) over (0.8.4-2) ... 154s Setting up libcap-ng0:s390x (0.8.4-2build1) ... 154s (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 ... 52168 files and directories currently installed.) 154s Preparing to unpack .../libaudit1_1%3a3.1.2-2.1_s390x.deb ... 154s Unpacking libaudit1:s390x (1:3.1.2-2.1) over (1:3.1.2-2) ... 154s Setting up libaudit1:s390x (1:3.1.2-2.1) ... 154s (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 ... 52168 files and directories currently installed.) 154s Preparing to unpack .../libpam0g_1.5.3-5ubuntu3_s390x.deb ... 154s Unpacking libpam0g:s390x (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 154s Setting up libpam0g:s390x (1.5.3-5ubuntu3) ... 154s (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 ... 52168 files and directories currently installed.) 154s Preparing to unpack .../libselinux1_3.5-2ubuntu1_s390x.deb ... 154s Unpacking libselinux1:s390x (3.5-2ubuntu1) over (3.5-2build1) ... 154s Setting up libselinux1:s390x (3.5-2ubuntu1) ... 154s dpkg: libcurl4:s390x: dependency problems, but removing anyway as you requested: 154s s390-tools depends on libcurl4 (>= 7.16.2). 154s curl depends on libcurl4 (= 8.5.0-2ubuntu2). 154s 154s (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 ... 52168 files and directories currently installed.) 154s Removing libcurl4:s390x (8.5.0-2ubuntu2) ... 154s Selecting previously unselected package libcurl4t64:s390x. 154s (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 ... 52163 files and directories currently installed.) 154s Preparing to unpack .../libcurl4t64_8.5.0-2ubuntu8_s390x.deb ... 154s Unpacking libcurl4t64:s390x (8.5.0-2ubuntu8) ... 154s Preparing to unpack .../curl_8.5.0-2ubuntu8_s390x.deb ... 154s Unpacking curl (8.5.0-2ubuntu8) over (8.5.0-2ubuntu2) ... 154s dpkg: libpsl5:s390x: dependency problems, but removing anyway as you requested: 154s wget depends on libpsl5 (>= 0.16.0). 154s libcurl3-gnutls:s390x depends on libpsl5 (>= 0.16.0). 154s 154s (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 ... 52169 files and directories currently installed.) 154s Removing libpsl5:s390x (0.21.2-1build1) ... 154s Selecting previously unselected package libpsl5t64:s390x. 154s (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 ... 52164 files and directories currently installed.) 154s Preparing to unpack .../00-libpsl5t64_0.21.2-1.1_s390x.deb ... 154s Unpacking libpsl5t64:s390x (0.21.2-1.1) ... 154s Preparing to unpack .../01-wget_1.21.4-1ubuntu2_s390x.deb ... 154s Unpacking wget (1.21.4-1ubuntu2) over (1.21.4-1ubuntu1) ... 154s Preparing to unpack .../02-tnftp_20230507-2build1_s390x.deb ... 154s Unpacking tnftp (20230507-2build1) over (20230507-2) ... 154s Preparing to unpack .../03-tcpdump_4.99.4-3ubuntu2_s390x.deb ... 154s Unpacking tcpdump (4.99.4-3ubuntu2) over (4.99.4-3ubuntu1) ... 154s Preparing to unpack .../04-libsystemd-shared_255.4-1ubuntu5_s390x.deb ... 154s Unpacking libsystemd-shared:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 154s Preparing to unpack .../05-systemd-resolved_255.4-1ubuntu5_s390x.deb ... 154s Unpacking systemd-resolved (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 154s Preparing to unpack .../06-sudo_1.9.15p5-3ubuntu3_s390x.deb ... 154s Unpacking sudo (1.9.15p5-3ubuntu3) over (1.9.15p5-3ubuntu1) ... 154s Preparing to unpack .../07-rsync_3.2.7-1build1_s390x.deb ... 154s Unpacking rsync (3.2.7-1build1) over (3.2.7-1) ... 154s Preparing to unpack .../08-python3-cryptography_41.0.7-4build2_s390x.deb ... 154s Unpacking python3-cryptography (41.0.7-4build2) over (41.0.7-3) ... 154s Preparing to unpack .../09-openssl_3.0.13-0ubuntu2_s390x.deb ... 154s Unpacking openssl (3.0.13-0ubuntu2) over (3.0.10-1ubuntu4) ... 155s Preparing to unpack .../10-openssh-sftp-server_1%3a9.6p1-3ubuntu11_s390x.deb ... 155s Unpacking openssh-sftp-server (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 155s Preparing to unpack .../11-openssh-client_1%3a9.6p1-3ubuntu11_s390x.deb ... 155s Unpacking openssh-client (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 155s Preparing to unpack .../12-openssh-server_1%3a9.6p1-3ubuntu11_s390x.deb ... 155s Unpacking openssh-server (1:9.6p1-3ubuntu11) over (1:9.6p1-3ubuntu2) ... 155s Preparing to unpack .../13-libssh-4_0.10.6-2build1_s390x.deb ... 155s Unpacking libssh-4:s390x (0.10.6-2build1) over (0.10.6-2) ... 155s Preparing to unpack .../14-libsasl2-modules_2.1.28+dfsg1-5ubuntu1_s390x.deb ... 155s Unpacking libsasl2-modules:s390x (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 155s Preparing to unpack .../15-python3.12_3.12.2-4build3_s390x.deb ... 155s Unpacking python3.12 (3.12.2-4build3) over (3.12.2-1) ... 155s Preparing to unpack .../16-python3.12-minimal_3.12.2-4build3_s390x.deb ... 155s Unpacking python3.12-minimal (3.12.2-4build3) over (3.12.2-1) ... 155s Preparing to unpack .../17-libpython3.12-minimal_3.12.2-4build3_s390x.deb ... 155s Unpacking libpython3.12-minimal:s390x (3.12.2-4build3) over (3.12.2-1) ... 155s dpkg: libparted2:s390x: dependency problems, but removing anyway as you requested: 155s parted depends on libparted2 (= 3.6-3). 155s 155s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 52170 files and directories currently installed.) 155s Removing libparted2:s390x (3.6-3) ... 155s Selecting previously unselected package libparted2t64:s390x. 155s (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 ... 52164 files and directories currently installed.) 155s Preparing to unpack .../00-libparted2t64_3.6-3.1build2_s390x.deb ... 155s Unpacking libparted2t64:s390x (3.6-3.1build2) ... 155s Preparing to unpack .../01-parted_3.6-3.1build2_s390x.deb ... 155s Unpacking parted (3.6-3.1build2) over (3.6-3) ... 155s Preparing to unpack .../02-python3.11_3.11.8-1build4_s390x.deb ... 155s Unpacking python3.11 (3.11.8-1build4) over (3.11.8-1) ... 155s Preparing to unpack .../03-python3.11-minimal_3.11.8-1build4_s390x.deb ... 155s Unpacking python3.11-minimal (3.11.8-1build4) over (3.11.8-1) ... 155s Preparing to unpack .../04-libpython3.11-minimal_3.11.8-1build4_s390x.deb ... 155s Unpacking libpython3.11-minimal:s390x (3.11.8-1build4) over (3.11.8-1) ... 155s Preparing to unpack .../05-libpython3.11-stdlib_3.11.8-1build4_s390x.deb ... 155s Unpacking libpython3.11-stdlib:s390x (3.11.8-1build4) over (3.11.8-1) ... 156s Preparing to unpack .../06-shared-mime-info_2.4-1build1_s390x.deb ... 156s Unpacking shared-mime-info (2.4-1build1) over (2.4-1) ... 156s Preparing to unpack .../07-gir1.2-girepository-2.0_1.79.1-1ubuntu6_s390x.deb ... 156s Unpacking gir1.2-girepository-2.0:s390x (1.79.1-1ubuntu6) over (1.79.1-1) ... 156s Preparing to unpack .../08-gir1.2-glib-2.0_2.79.3-3ubuntu5_s390x.deb ... 156s Unpacking gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 156s Preparing to unpack .../09-libgirepository-1.0-1_1.79.1-1ubuntu6_s390x.deb ... 156s Unpacking libgirepository-1.0-1:s390x (1.79.1-1ubuntu6) over (1.79.1-1) ... 156s Preparing to unpack .../10-python3-gi_3.47.0-3build1_s390x.deb ... 156s Unpacking python3-gi (3.47.0-3build1) over (3.47.0-3) ... 156s Preparing to unpack .../11-python3-dbus_1.3.2-5build2_s390x.deb ... 156s Unpacking python3-dbus (1.3.2-5build2) over (1.3.2-5build1) ... 156s Selecting previously unselected package libnetplan1:s390x. 156s Preparing to unpack .../12-libnetplan1_1.0-1_s390x.deb ... 156s Unpacking libnetplan1:s390x (1.0-1) ... 156s Preparing to unpack .../13-python3-netplan_1.0-1_s390x.deb ... 156s Unpacking python3-netplan (1.0-1) over (0.107.1-3) ... 156s Preparing to unpack .../14-netplan-generator_1.0-1_s390x.deb ... 156s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 156s Unpacking netplan-generator (1.0-1) over (0.107.1-3) ... 156s Preparing to unpack .../15-netplan.io_1.0-1_s390x.deb ... 156s Unpacking netplan.io (1.0-1) over (0.107.1-3) ... 156s Preparing to unpack .../16-libxmlb2_0.3.15-1build1_s390x.deb ... 156s Unpacking libxmlb2:s390x (0.3.15-1build1) over (0.3.15-1) ... 156s dpkg: libgpgme11:s390x: dependency problems, but removing anyway as you requested: 156s libvolume-key1:s390x depends on libgpgme11 (>= 1.4.1). 156s libjcat1:s390x depends on libgpgme11 (>= 1.2.0). 156s 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 ... 52172 files and directories currently installed.) 156s Removing libgpgme11:s390x (1.18.0-4ubuntu1) ... 156s Selecting previously unselected package libgpgme11t64:s390x. 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 ... 52166 files and directories currently installed.) 156s Preparing to unpack .../00-libgpgme11t64_1.18.0-4.1ubuntu3_s390x.deb ... 156s Unpacking libgpgme11t64:s390x (1.18.0-4.1ubuntu3) ... 156s Preparing to unpack .../01-libvolume-key1_0.3.12-7build1_s390x.deb ... 156s Unpacking libvolume-key1:s390x (0.3.12-7build1) over (0.3.12-5build2) ... 156s Preparing to unpack .../02-libqrtr-glib0_1.2.2-1ubuntu3_s390x.deb ... 156s Unpacking libqrtr-glib0:s390x (1.2.2-1ubuntu3) over (1.2.2-1ubuntu2) ... 156s Preparing to unpack .../03-libqmi-glib5_1.35.2-0ubuntu1_s390x.deb ... 156s Unpacking libqmi-glib5:s390x (1.35.2-0ubuntu1) over (1.34.0-2) ... 156s Preparing to unpack .../04-libqmi-proxy_1.35.2-0ubuntu1_s390x.deb ... 156s Unpacking libqmi-proxy (1.35.2-0ubuntu1) over (1.34.0-2) ... 156s Preparing to unpack .../05-libpolkit-agent-1-0_124-1ubuntu1_s390x.deb ... 156s Unpacking libpolkit-agent-1-0:s390x (124-1ubuntu1) over (124-1) ... 156s Preparing to unpack .../06-libpolkit-gobject-1-0_124-1ubuntu1_s390x.deb ... 156s Unpacking libpolkit-gobject-1-0:s390x (124-1ubuntu1) over (124-1) ... 156s Preparing to unpack .../07-libmm-glib0_1.23.4-0ubuntu1_s390x.deb ... 156s Unpacking libmm-glib0:s390x (1.23.4-0ubuntu1) over (1.22.0-3) ... 156s Preparing to unpack .../08-libmbim-glib4_1.31.2-0ubuntu2_s390x.deb ... 156s Unpacking libmbim-glib4:s390x (1.31.2-0ubuntu2) over (1.30.0-1) ... 156s Preparing to unpack .../09-libmbim-proxy_1.31.2-0ubuntu2_s390x.deb ... 156s Unpacking libmbim-proxy (1.31.2-0ubuntu2) over (1.30.0-1) ... 156s Preparing to unpack .../10-libjson-glib-1.0-common_1.8.0-2build1_all.deb ... 156s Unpacking libjson-glib-1.0-common (1.8.0-2build1) over (1.8.0-2) ... 156s Preparing to unpack .../11-libjson-glib-1.0-0_1.8.0-2build1_s390x.deb ... 156s Unpacking libjson-glib-1.0-0:s390x (1.8.0-2build1) over (1.8.0-2) ... 156s Preparing to unpack .../12-libgusb2_0.4.8-1build1_s390x.deb ... 156s Unpacking libgusb2:s390x (0.4.8-1build1) over (0.4.8-1) ... 156s Preparing to unpack .../13-libgudev-1.0-0_1%3a238-3ubuntu2_s390x.deb ... 156s Unpacking libgudev-1.0-0:s390x (1:238-3ubuntu2) over (1:238-3) ... 156s dpkg: libarchive13:s390x: dependency problems, but removing anyway as you requested: 156s fwupd depends on libarchive13 (>= 3.2.1). 156s 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 ... 52173 files and directories currently installed.) 156s Removing libarchive13:s390x (3.7.2-1ubuntu2) ... 157s Selecting previously unselected package libarchive13t64:s390x. 157s (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 ... 52167 files and directories currently installed.) 157s Preparing to unpack .../libarchive13t64_3.7.2-1.1ubuntu2_s390x.deb ... 157s Unpacking libarchive13t64:s390x (3.7.2-1.1ubuntu2) ... 157s Preparing to unpack .../fwupd_1.9.15-2_s390x.deb ... 157s Unpacking fwupd (1.9.15-2) over (1.9.14-1) ... 157s dpkg: libcurl3-gnutls:s390x: dependency problems, but removing anyway as you requested: 157s libfwupd2:s390x depends on libcurl3-gnutls (>= 7.63.0). 157s 157s (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 ... 52174 files and directories currently installed.) 157s Removing libcurl3-gnutls:s390x (8.5.0-2ubuntu2) ... 157s Selecting previously unselected package libcurl3t64-gnutls:s390x. 157s (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 ... 52167 files and directories currently installed.) 157s Preparing to unpack .../0-libcurl3t64-gnutls_8.5.0-2ubuntu8_s390x.deb ... 157s Unpacking libcurl3t64-gnutls:s390x (8.5.0-2ubuntu8) ... 157s Preparing to unpack .../1-libfwupd2_1.9.15-2_s390x.deb ... 157s Unpacking libfwupd2:s390x (1.9.15-2) over (1.9.14-1) ... 157s Preparing to unpack .../2-libblockdev3_3.1.0-1build1_s390x.deb ... 157s Unpacking libblockdev3:s390x (3.1.0-1build1) over (3.1.0-1) ... 157s Preparing to unpack .../3-libblockdev-utils3_3.1.0-1build1_s390x.deb ... 157s Unpacking libblockdev-utils3:s390x (3.1.0-1build1) over (3.1.0-1) ... 157s Preparing to unpack .../4-libblockdev-swap3_3.1.0-1build1_s390x.deb ... 157s Unpacking libblockdev-swap3:s390x (3.1.0-1build1) over (3.1.0-1) ... 157s Preparing to unpack .../5-libblockdev-part3_3.1.0-1build1_s390x.deb ... 157s Unpacking libblockdev-part3:s390x (3.1.0-1build1) over (3.1.0-1) ... 157s dpkg: libnvme1: dependency problems, but removing anyway as you requested: 157s libblockdev-nvme3:s390x depends on libnvme1 (>= 1.7.1). 157s 157s (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 ... 52174 files and directories currently installed.) 157s Removing libnvme1 (1.8-2) ... 157s Selecting previously unselected package libnvme1t64. 157s (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 ... 52167 files and directories currently installed.) 157s Preparing to unpack .../0-libnvme1t64_1.8-3_s390x.deb ... 157s Unpacking libnvme1t64 (1.8-3) ... 157s Preparing to unpack .../1-libblockdev-nvme3_3.1.0-1build1_s390x.deb ... 157s Unpacking libblockdev-nvme3:s390x (3.1.0-1build1) over (3.1.0-1) ... 157s Preparing to unpack .../2-libblockdev-mdraid3_3.1.0-1build1_s390x.deb ... 157s Unpacking libblockdev-mdraid3:s390x (3.1.0-1build1) over (3.1.0-1) ... 157s Preparing to unpack .../3-libblockdev-loop3_3.1.0-1build1_s390x.deb ... 157s Unpacking libblockdev-loop3:s390x (3.1.0-1build1) over (3.1.0-1) ... 157s Preparing to unpack .../4-logsave_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 157s Unpacking logsave (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 157s Preparing to unpack .../5-e2fsprogs-l10n_1.47.0-2.4~exp1ubuntu2_all.deb ... 157s Unpacking e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 157s dpkg: libext2fs2:s390x: dependency problems, but removing anyway as you requested: 157s libblockdev-fs3:s390x depends on libext2fs2 (>= 1.42.11). 157s e2fsprogs depends on libext2fs2 (= 1.47.0-2ubuntu1). 157s btrfs-progs depends on libext2fs2 (>= 1.42). 157s 157s (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 ... 52175 files and directories currently installed.) 157s Removing libext2fs2:s390x (1.47.0-2ubuntu1) ... 157s Selecting previously unselected package libext2fs2t64:s390x. 157s (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 ... 52168 files and directories currently installed.) 157s Preparing to unpack .../libext2fs2t64_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 157s Adding 'diversion of /lib/s390x-linux-gnu/libe2p.so.2 to /lib/s390x-linux-gnu/libe2p.so.2.usr-is-merged by libext2fs2t64' 157s Adding 'diversion of /lib/s390x-linux-gnu/libe2p.so.2.3 to /lib/s390x-linux-gnu/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 157s Adding 'diversion of /lib/s390x-linux-gnu/libext2fs.so.2 to /lib/s390x-linux-gnu/libext2fs.so.2.usr-is-merged by libext2fs2t64' 157s Adding 'diversion of /lib/s390x-linux-gnu/libext2fs.so.2.4 to /lib/s390x-linux-gnu/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 157s Unpacking libext2fs2t64:s390x (1.47.0-2.4~exp1ubuntu2) ... 157s Setting up libcom-err2:s390x (1.47.0-2.4~exp1ubuntu2) ... 157s Setting up libext2fs2t64:s390x (1.47.0-2.4~exp1ubuntu2) ... 157s (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 ... 52184 files and directories currently installed.) 157s Preparing to unpack .../e2fsprogs_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 157s Unpacking e2fsprogs (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 157s dpkg: libreiserfscore0: dependency problems, but removing anyway as you requested: 157s btrfs-progs depends on libreiserfscore0 (>= 1:3.6.27). 157s 157s (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 ... 52184 files and directories currently installed.) 157s Removing libreiserfscore0 (1:3.6.27-7) ... 157s Selecting previously unselected package libreiserfscore0t64. 157s (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 ... 52179 files and directories currently installed.) 157s Preparing to unpack .../libreiserfscore0t64_1%3a3.6.27-7.1_s390x.deb ... 157s Unpacking libreiserfscore0t64 (1:3.6.27-7.1) ... 157s Preparing to unpack .../btrfs-progs_6.6.3-1.1build1_s390x.deb ... 157s Unpacking btrfs-progs (6.6.3-1.1build1) over (6.6.3-1.1) ... 157s Preparing to unpack .../libblockdev-fs3_3.1.0-1build1_s390x.deb ... 157s Unpacking libblockdev-fs3:s390x (3.1.0-1build1) over (3.1.0-1) ... 157s Preparing to unpack .../libblockdev-crypto3_3.1.0-1build1_s390x.deb ... 157s Unpacking libblockdev-crypto3:s390x (3.1.0-1build1) over (3.1.0-1) ... 157s Preparing to unpack .../bolt_0.9.6-2build1_s390x.deb ... 157s Unpacking bolt (0.9.6-2build1) over (0.9.6-2) ... 157s dpkg: libglib2.0-0:s390x: dependency problems, but removing anyway as you requested: 157s s390-tools depends on libglib2.0-0 (>= 2.77.0). 157s libnetplan0:s390x depends on libglib2.0-0 (>= 2.75.3). 157s libjcat1:s390x depends on libglib2.0-0 (>= 2.75.3). 157s 158s (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 ... 52185 files and directories currently installed.) 158s Removing libglib2.0-0:s390x (2.79.2-1~ubuntu1) ... 158s Selecting previously unselected package libglib2.0-0t64:s390x. 158s (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 ... 52160 files and directories currently installed.) 158s Preparing to unpack .../0-libglib2.0-0t64_2.79.3-3ubuntu5_s390x.deb ... 158s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:s390x.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 158s removed '/var/lib/dpkg/info/libglib2.0-0:s390x.postrm' 158s Unpacking libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 158s Preparing to unpack .../1-libjcat1_0.2.0-2build2_s390x.deb ... 158s Unpacking libjcat1:s390x (0.2.0-2build2) over (0.2.0-2) ... 158s Preparing to unpack .../2-libldap2_2.6.7+dfsg-1~exp1ubuntu6_s390x.deb ... 158s Unpacking libldap2:s390x (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 158s Preparing to unpack .../3-ubuntu-pro-client-l10n_31.2.2_s390x.deb ... 158s Unpacking ubuntu-pro-client-l10n (31.2.2) over (31.1) ... 158s Preparing to unpack .../4-ubuntu-pro-client_31.2.2_s390x.deb ... 158s Unpacking ubuntu-pro-client (31.2.2) over (31.1) ... 158s Preparing to unpack .../5-gnupg-utils_2.4.4-2ubuntu15_s390x.deb ... 158s Unpacking gnupg-utils (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 158s Preparing to unpack .../6-keyboxd_2.4.4-2ubuntu15_s390x.deb ... 158s Unpacking keyboxd (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 158s dpkg: libnpth0:s390x: dependency problems, but removing anyway as you requested: 158s gpgv depends on libnpth0 (>= 0.90). 158s gpgsm depends on libnpth0 (>= 0.90). 158s gpg-agent depends on libnpth0 (>= 0.90). 158s gpg depends on libnpth0 (>= 0.90). 158s dirmngr depends on libnpth0 (>= 0.90). 158s 158s (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 ... 52185 files and directories currently installed.) 158s Removing libnpth0:s390x (1.6-3build2) ... 158s Selecting previously unselected package libnpth0t64:s390x. 158s (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 ... 52180 files and directories currently installed.) 158s Preparing to unpack .../libnpth0t64_1.6-3.1_s390x.deb ... 158s Unpacking libnpth0t64:s390x (1.6-3.1) ... 158s Setting up libnpth0t64:s390x (1.6-3.1) ... 158s (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 ... 52186 files and directories currently installed.) 158s Preparing to unpack .../gpgv_2.4.4-2ubuntu15_s390x.deb ... 158s Unpacking gpgv (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 158s Setting up gpgv (2.4.4-2ubuntu15) ... 158s (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 ... 52186 files and directories currently installed.) 158s Preparing to unpack .../0-gpg-wks-client_2.4.4-2ubuntu15_s390x.deb ... 158s Unpacking gpg-wks-client (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 158s Preparing to unpack .../1-gpg-agent_2.4.4-2ubuntu15_s390x.deb ... 158s Unpacking gpg-agent (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 158s Preparing to unpack .../2-gpg_2.4.4-2ubuntu15_s390x.deb ... 158s Unpacking gpg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 158s Preparing to unpack .../3-dirmngr_2.4.4-2ubuntu15_s390x.deb ... 158s Unpacking dirmngr (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 158s Preparing to unpack .../4-gnupg_2.4.4-2ubuntu15_all.deb ... 158s Unpacking gnupg (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 158s Preparing to unpack .../5-python3-apt_2.7.7_s390x.deb ... 158s Unpacking python3-apt (2.7.7) over (2.7.6) ... 158s Preparing to unpack .../6-apt-utils_2.7.14_s390x.deb ... 158s Unpacking apt-utils (2.7.14) over (2.7.12) ... 158s dpkg: libapt-pkg6.0:s390x: dependency problems, but removing anyway as you requested: 158s apt depends on libapt-pkg6.0 (>= 2.7.12). 158s 158s (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 ... 52184 files and directories currently installed.) 158s Removing libapt-pkg6.0:s390x (2.7.12) ... 158s dpkg: libnettle8:s390x: dependency problems, but removing anyway as you requested: 158s libhogweed6:s390x depends on libnettle8. 158s libgnutls30:s390x depends on libnettle8 (>= 3.9~). 158s 158s Removing libnettle8:s390x (3.9.1-2) ... 158s Selecting previously unselected package libapt-pkg6.0t64:s390x. 158s (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 ... 52128 files and directories currently installed.) 158s Preparing to unpack .../libapt-pkg6.0t64_2.7.14_s390x.deb ... 158s Unpacking libapt-pkg6.0t64:s390x (2.7.14) ... 158s Setting up libapt-pkg6.0t64:s390x (2.7.14) ... 158s Selecting previously unselected package libnettle8t64:s390x. 158s (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 ... 52178 files and directories currently installed.) 158s Preparing to unpack .../libnettle8t64_3.9.1-2.2_s390x.deb ... 158s Unpacking libnettle8t64:s390x (3.9.1-2.2) ... 158s Setting up libnettle8t64:s390x (3.9.1-2.2) ... 158s dpkg: libhogweed6:s390x: dependency problems, but removing anyway as you requested: 158s libgnutls30:s390x depends on libhogweed6 (>= 3.6). 158s 158s (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 ... 52186 files and directories currently installed.) 158s Removing libhogweed6:s390x (3.9.1-2) ... 158s Selecting previously unselected package libhogweed6t64:s390x. 159s (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 ... 52181 files and directories currently installed.) 159s Preparing to unpack .../libhogweed6t64_3.9.1-2.2_s390x.deb ... 159s Unpacking libhogweed6t64:s390x (3.9.1-2.2) ... 159s Setting up libhogweed6t64:s390x (3.9.1-2.2) ... 159s dpkg: libgnutls30:s390x: dependency problems, but removing anyway as you requested: 159s apt depends on libgnutls30 (>= 3.8.1). 159s 159s (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 ... 52187 files and directories currently installed.) 159s Removing libgnutls30:s390x (3.8.3-1ubuntu1) ... 159s Selecting previously unselected package libgnutls30t64:s390x. 159s (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 ... 52178 files and directories currently installed.) 159s Preparing to unpack .../libgnutls30t64_3.8.3-1.1ubuntu2_s390x.deb ... 159s Unpacking libgnutls30t64:s390x (3.8.3-1.1ubuntu2) ... 159s Setting up libgnutls30t64:s390x (3.8.3-1.1ubuntu2) ... 159s (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 ... 52206 files and directories currently installed.) 159s Preparing to unpack .../archives/apt_2.7.14_s390x.deb ... 159s Unpacking apt (2.7.14) over (2.7.12) ... 159s Setting up apt (2.7.14) ... 159s (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 ... 52206 files and directories currently installed.) 159s Preparing to unpack .../gpgconf_2.4.4-2ubuntu15_s390x.deb ... 159s Unpacking gpgconf (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 159s Preparing to unpack .../gpgsm_2.4.4-2ubuntu15_s390x.deb ... 159s Unpacking gpgsm (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 159s dpkg: libreadline8:s390x: dependency problems, but removing anyway as you requested: 159s libpython3.12-stdlib:s390x depends on libreadline8 (>= 7.0~beta). 159s gawk depends on libreadline8 (>= 6.0). 159s fdisk depends on libreadline8 (>= 6.0). 159s 159s (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 ... 52206 files and directories currently installed.) 159s Removing libreadline8:s390x (8.2-3) ... 159s Selecting previously unselected package libreadline8t64:s390x. 159s (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 ... 52194 files and directories currently installed.) 159s Preparing to unpack .../libreadline8t64_8.2-4_s390x.deb ... 159s Adding 'diversion of /lib/s390x-linux-gnu/libhistory.so.8 to /lib/s390x-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' 159s Adding 'diversion of /lib/s390x-linux-gnu/libhistory.so.8.2 to /lib/s390x-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' 159s Adding 'diversion of /lib/s390x-linux-gnu/libreadline.so.8 to /lib/s390x-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' 159s Adding 'diversion of /lib/s390x-linux-gnu/libreadline.so.8.2 to /lib/s390x-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' 159s Unpacking libreadline8t64:s390x (8.2-4) ... 160s Setting up libreadline8t64:s390x (8.2-4) ... 160s (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 ... 52214 files and directories currently installed.) 160s Preparing to unpack .../gawk_1%3a5.2.1-2build2_s390x.deb ... 160s Unpacking gawk (1:5.2.1-2build2) over (1:5.2.1-2) ... 160s Preparing to unpack .../fdisk_2.39.3-9ubuntu2_s390x.deb ... 160s Unpacking fdisk (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 160s Preparing to unpack .../libpython3.12-stdlib_3.12.2-4build3_s390x.deb ... 160s Unpacking libpython3.12-stdlib:s390x (3.12.2-4build3) over (3.12.2-1) ... 160s Preparing to unpack .../perl-base_5.38.2-3.2_s390x.deb ... 160s Unpacking perl-base (5.38.2-3.2) over (5.38.2-3) ... 160s Setting up perl-base (5.38.2-3.2) ... 160s (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 ... 52212 files and directories currently installed.) 160s Preparing to unpack .../perl-modules-5.38_5.38.2-3.2_all.deb ... 160s Unpacking perl-modules-5.38 (5.38.2-3.2) over (5.38.2-3) ... 160s Preparing to unpack .../python3-gdbm_3.12.2-3ubuntu1.1_s390x.deb ... 160s Unpacking python3-gdbm:s390x (3.12.2-3ubuntu1.1) over (3.11.5-1) ... 160s Preparing to unpack .../man-db_2.12.0-3build4_s390x.deb ... 160s Unpacking man-db (2.12.0-3build4) over (2.12.0-3) ... 160s dpkg: libgdbm-compat4:s390x: dependency problems, but removing anyway as you requested: 160s libperl5.38:s390x depends on libgdbm-compat4 (>= 1.18-3). 160s 160s (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 ... 52212 files and directories currently installed.) 160s Removing libgdbm-compat4:s390x (1.23-5) ... 160s dpkg: libgdbm6:s390x: dependency problems, but removing anyway as you requested: 160s libperl5.38:s390x depends on libgdbm6 (>= 1.21). 160s 160s Removing libgdbm6:s390x (1.23-5) ... 160s Selecting previously unselected package libgdbm6t64:s390x. 160s (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 ... 52202 files and directories currently installed.) 160s Preparing to unpack .../libgdbm6t64_1.23-5.1_s390x.deb ... 160s Unpacking libgdbm6t64:s390x (1.23-5.1) ... 160s Selecting previously unselected package libgdbm-compat4t64:s390x. 160s Preparing to unpack .../libgdbm-compat4t64_1.23-5.1_s390x.deb ... 160s Unpacking libgdbm-compat4t64:s390x (1.23-5.1) ... 161s dpkg: libperl5.38:s390x: dependency problems, but removing anyway as you requested: 161s perl depends on libperl5.38 (= 5.38.2-3). 161s 161s (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 ... 52214 files and directories currently installed.) 161s Removing libperl5.38:s390x (5.38.2-3) ... 161s Selecting previously unselected package libperl5.38t64:s390x. 161s (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 ... 51692 files and directories currently installed.) 161s Preparing to unpack .../libperl5.38t64_5.38.2-3.2_s390x.deb ... 161s Unpacking libperl5.38t64:s390x (5.38.2-3.2) ... 161s Preparing to unpack .../perl_5.38.2-3.2_s390x.deb ... 161s Unpacking perl (5.38.2-3.2) over (5.38.2-3) ... 161s dpkg: libdb5.3:s390x: dependency problems, but removing anyway as you requested: 161s libsasl2-modules-db:s390x depends on libdb5.3. 161s libpam-modules:s390x depends on libdb5.3. 161s iproute2 depends on libdb5.3. 161s 161s (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 ... 52214 files and directories currently installed.) 161s Removing libdb5.3:s390x (5.3.28+dfsg2-4) ... 161s Selecting previously unselected package libdb5.3t64:s390x. 161s (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 ... 52208 files and directories currently installed.) 161s Preparing to unpack .../0-libdb5.3t64_5.3.28+dfsg2-6_s390x.deb ... 161s Unpacking libdb5.3t64:s390x (5.3.28+dfsg2-6) ... 161s Preparing to unpack .../1-libsasl2-modules-db_2.1.28+dfsg1-5ubuntu1_s390x.deb ... 161s Unpacking libsasl2-modules-db:s390x (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 161s Preparing to unpack .../2-libsasl2-2_2.1.28+dfsg1-5ubuntu1_s390x.deb ... 161s Unpacking libsasl2-2:s390x (2.1.28+dfsg1-5ubuntu1) over (2.1.28+dfsg1-4) ... 161s Preparing to unpack .../3-libfido2-1_1.14.0-1build1_s390x.deb ... 161s Unpacking libfido2-1:s390x (1.14.0-1build1) over (1.14.0-1) ... 161s Preparing to unpack .../4-libcryptsetup12_2%3a2.7.0-1ubuntu2_s390x.deb ... 161s Unpacking libcryptsetup12:s390x (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 161s Preparing to unpack .../5-dhcpcd-base_1%3a10.0.6-1ubuntu2_s390x.deb ... 161s Unpacking dhcpcd-base (1:10.0.6-1ubuntu2) over (1:10.0.6-1ubuntu1) ... 161s dpkg: libuv1:s390x: dependency problems, but removing anyway as you requested: 161s bind9-libs:s390x depends on libuv1 (>= 1.40.0). 161s 161s (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 ... 52214 files and directories currently installed.) 161s Removing libuv1:s390x (1.48.0-1) ... 161s Selecting previously unselected package libuv1t64:s390x. 161s (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 ... 52209 files and directories currently installed.) 161s Preparing to unpack .../libuv1t64_1.48.0-1.1_s390x.deb ... 161s Unpacking libuv1t64:s390x (1.48.0-1.1) ... 161s Preparing to unpack .../bind9-host_1%3a9.18.24-0ubuntu3_s390x.deb ... 161s Unpacking bind9-host (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 161s Preparing to unpack .../bind9-dnsutils_1%3a9.18.24-0ubuntu3_s390x.deb ... 161s Unpacking bind9-dnsutils (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 161s Preparing to unpack .../bind9-libs_1%3a9.18.24-0ubuntu3_s390x.deb ... 161s Unpacking bind9-libs:s390x (1:9.18.24-0ubuntu3) over (1:9.18.21-0ubuntu1) ... 161s dpkg: libssl3:s390x: dependency problems, but removing anyway as you requested: 161s systemd depends on libssl3 (>= 3.0.0). 161s s390-tools depends on libssl3 (>= 3.0.0). 161s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 161s 161s (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 ... 52215 files and directories currently installed.) 161s Removing libssl3:s390x (3.0.10-1ubuntu4) ... 161s Selecting previously unselected package libssl3t64:s390x. 161s (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 ... 52204 files and directories currently installed.) 161s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_s390x.deb ... 161s Unpacking libssl3t64:s390x (3.0.13-0ubuntu2) ... 161s Setting up libssl3t64:s390x (3.0.13-0ubuntu2) ... 161s (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 ... 52217 files and directories currently installed.) 161s Preparing to unpack .../libnss-systemd_255.4-1ubuntu5_s390x.deb ... 161s Unpacking libnss-systemd:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 161s Preparing to unpack .../libudev1_255.4-1ubuntu5_s390x.deb ... 161s Unpacking libudev1:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 161s Setting up libudev1:s390x (255.4-1ubuntu5) ... 161s (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 ... 52217 files and directories currently installed.) 161s Preparing to unpack .../systemd_255.4-1ubuntu5_s390x.deb ... 162s Unpacking systemd (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 162s Preparing to unpack .../udev_255.4-1ubuntu5_s390x.deb ... 162s Unpacking udev (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 162s Preparing to unpack .../libsystemd0_255.4-1ubuntu5_s390x.deb ... 162s Unpacking libsystemd0:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 162s Setting up libsystemd0:s390x (255.4-1ubuntu5) ... 162s Setting up libcryptsetup12:s390x (2:2.7.0-1ubuntu2) ... 162s Setting up libkmod2:s390x (31+20240202-2ubuntu4) ... 162s Setting up libsystemd-shared:s390x (255.4-1ubuntu5) ... 162s Setting up systemd-dev (255.4-1ubuntu5) ... 162s Setting up systemd (255.4-1ubuntu5) ... 163s (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 ... 52217 files and directories currently installed.) 163s Preparing to unpack .../systemd-sysv_255.4-1ubuntu5_s390x.deb ... 163s Unpacking systemd-sysv (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 163s Preparing to unpack .../libpam-systemd_255.4-1ubuntu5_s390x.deb ... 163s Unpacking libpam-systemd:s390x (255.4-1ubuntu5) over (255.2-3ubuntu2) ... 163s Preparing to unpack .../libpam-modules-bin_1.5.3-5ubuntu3_s390x.deb ... 163s Unpacking libpam-modules-bin (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 163s Setting up libpam-modules-bin (1.5.3-5ubuntu3) ... 163s pam_namespace.service is a disabled or a static unit not running, not starting it. 163s (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 ... 52217 files and directories currently installed.) 163s Preparing to unpack .../libpam-modules_1.5.3-5ubuntu3_s390x.deb ... 163s Unpacking libpam-modules:s390x (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 163s Setting up libpam-modules:s390x (1.5.3-5ubuntu3) ... 163s Installing new version of config file /etc/security/namespace.init ... 163s (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 ... 52215 files and directories currently installed.) 163s Preparing to unpack .../libpam-runtime_1.5.3-5ubuntu3_all.deb ... 163s Unpacking libpam-runtime (1.5.3-5ubuntu3) over (1.5.2-9.1ubuntu3) ... 163s Setting up libpam-runtime (1.5.3-5ubuntu3) ... 163s (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 ... 52215 files and directories currently installed.) 163s Preparing to unpack .../0-dbus-user-session_1.14.10-4ubuntu2_s390x.deb ... 163s Unpacking dbus-user-session (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 163s Preparing to unpack .../1-libapparmor1_4.0.0-beta3-0ubuntu2_s390x.deb ... 163s Unpacking libapparmor1:s390x (4.0.0-beta3-0ubuntu2) over (4.0.0~alpha4-0ubuntu1) ... 163s Preparing to unpack .../2-dbus-system-bus-common_1.14.10-4ubuntu2_all.deb ... 163s Unpacking dbus-system-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 163s Preparing to unpack .../3-dbus-bin_1.14.10-4ubuntu2_s390x.deb ... 163s Unpacking dbus-bin (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 163s Preparing to unpack .../4-dbus_1.14.10-4ubuntu2_s390x.deb ... 163s Unpacking dbus (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 163s Preparing to unpack .../5-dbus-daemon_1.14.10-4ubuntu2_s390x.deb ... 163s Unpacking dbus-daemon (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 163s Preparing to unpack .../6-libdbus-1-3_1.14.10-4ubuntu2_s390x.deb ... 163s Unpacking libdbus-1-3:s390x (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 163s Preparing to unpack .../7-libmount1_2.39.3-9ubuntu2_s390x.deb ... 163s Unpacking libmount1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 163s Setting up libmount1:s390x (2.39.3-9ubuntu2) ... 163s (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 ... 52215 files and directories currently installed.) 163s Preparing to unpack .../libuuid1_2.39.3-9ubuntu2_s390x.deb ... 163s Unpacking libuuid1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 164s Setting up libuuid1:s390x (2.39.3-9ubuntu2) ... 164s (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 ... 52215 files and directories currently installed.) 164s Preparing to unpack .../libfdisk1_2.39.3-9ubuntu2_s390x.deb ... 164s Unpacking libfdisk1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 164s Preparing to unpack .../mount_2.39.3-9ubuntu2_s390x.deb ... 164s Unpacking mount (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 164s Preparing to unpack .../libsqlite3-0_3.45.1-1ubuntu1_s390x.deb ... 164s Unpacking libsqlite3-0:s390x (3.45.1-1ubuntu1) over (3.45.1-1) ... 164s Preparing to unpack .../dpkg_1.22.6ubuntu5_s390x.deb ... 164s Unpacking dpkg (1.22.6ubuntu5) over (1.22.4ubuntu5) ... 164s Setting up dpkg (1.22.6ubuntu5) ... 164s Setting up libpython3.12-minimal:s390x (3.12.2-4build3) ... 164s Setting up python3.12-minimal (3.12.2-4build3) ... 165s (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 ... 52215 files and directories currently installed.) 165s Preparing to unpack .../python3-minimal_3.12.2-0ubuntu1_s390x.deb ... 165s Unpacking python3-minimal (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 165s Setting up python3-minimal (3.12.2-0ubuntu1) ... 165s (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 ... 52215 files and directories currently installed.) 165s Preparing to unpack .../python3_3.12.2-0ubuntu1_s390x.deb ... 165s Unpacking python3 (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 165s Preparing to unpack .../libpython3-stdlib_3.12.2-0ubuntu1_s390x.deb ... 165s Unpacking libpython3-stdlib:s390x (3.12.2-0ubuntu1) over (3.12.1-0ubuntu2) ... 165s Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu2_s390x.deb ... 165s Unpacking libsmartcols1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 166s Setting up libsmartcols1:s390x (2.39.3-9ubuntu2) ... 166s (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 ... 52215 files and directories currently installed.) 166s Preparing to unpack .../0-bsdextrautils_2.39.3-9ubuntu2_s390x.deb ... 166s Unpacking bsdextrautils (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 166s Preparing to unpack .../1-groff-base_1.23.0-3build1_s390x.deb ... 166s Unpacking groff-base (1.23.0-3build1) over (1.23.0-3) ... 166s Preparing to unpack .../2-pinentry-curses_1.2.1-3ubuntu4_s390x.deb ... 166s Unpacking pinentry-curses (1.2.1-3ubuntu4) over (1.2.1-3ubuntu1) ... 166s Preparing to unpack .../3-readline-common_8.2-4_all.deb ... 166s Unpacking readline-common (8.2-4) over (8.2-3) ... 166s Preparing to unpack .../4-libxml2_2.9.14+dfsg-1.3ubuntu2_s390x.deb ... 166s Unpacking libxml2:s390x (2.9.14+dfsg-1.3ubuntu2) over (2.9.14+dfsg-1.3ubuntu1) ... 166s Preparing to unpack .../5-libbpf1_1%3a1.3.0-2build1_s390x.deb ... 166s Unpacking libbpf1:s390x (1:1.3.0-2build1) over (1:1.3.0-2) ... 166s dpkg: libelf1:s390x: dependency problems, but removing anyway as you requested: 166s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 166s iproute2 depends on libelf1 (>= 0.131). 166s 166s (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 ... 52215 files and directories currently installed.) 166s Removing libelf1:s390x (0.190-1) ... 166s Selecting previously unselected package libelf1t64:s390x. 166s (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 ... 52210 files and directories currently installed.) 166s Preparing to unpack .../libelf1t64_0.190-1.1build2_s390x.deb ... 166s Unpacking libelf1t64:s390x (0.190-1.1build2) ... 166s Preparing to unpack .../libtirpc-common_1.3.4+ds-1.1_all.deb ... 166s Unpacking libtirpc-common (1.3.4+ds-1.1) over (1.3.4+ds-1build1) ... 166s Preparing to unpack .../lsof_4.95.0-1build2_s390x.deb ... 166s Unpacking lsof (4.95.0-1build2) over (4.95.0-1build1) ... 166s Preparing to unpack .../libnsl2_1.3.0-3build2_s390x.deb ... 166s Unpacking libnsl2:s390x (1.3.0-3build2) over (1.3.0-3) ... 166s dpkg: libtirpc3:s390x: dependency problems, but removing anyway as you requested: 166s iproute2 depends on libtirpc3 (>= 1.0.2). 166s 166s (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 ... 52215 files and directories currently installed.) 166s Removing libtirpc3:s390x (1.3.4+ds-1build1) ... 166s Selecting previously unselected package libtirpc3t64:s390x. 166s (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 ... 52209 files and directories currently installed.) 166s Preparing to unpack .../0-libtirpc3t64_1.3.4+ds-1.1_s390x.deb ... 166s Adding 'diversion of /lib/s390x-linux-gnu/libtirpc.so.3 to /lib/s390x-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64' 166s Adding 'diversion of /lib/s390x-linux-gnu/libtirpc.so.3.0.0 to /lib/s390x-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' 166s Unpacking libtirpc3t64:s390x (1.3.4+ds-1.1) ... 166s Preparing to unpack .../1-iproute2_6.1.0-1ubuntu5_s390x.deb ... 166s Unpacking iproute2 (6.1.0-1ubuntu5) over (6.1.0-1ubuntu2) ... 166s Preparing to unpack .../2-python3-yaml_6.0.1-2build1_s390x.deb ... 166s Unpacking python3-yaml (6.0.1-2build1) over (6.0.1-2) ... 166s Preparing to unpack .../3-libprotobuf-c1_1.4.1-1ubuntu3_s390x.deb ... 166s Unpacking libprotobuf-c1:s390x (1.4.1-1ubuntu3) over (1.4.1-1ubuntu2) ... 166s Preparing to unpack .../4-libnghttp2-14_1.59.0-1build1_s390x.deb ... 166s Unpacking libnghttp2-14:s390x (1.59.0-1build1) over (1.59.0-1) ... 166s Preparing to unpack .../5-libproc2-0_2%3a4.0.4-4ubuntu2_s390x.deb ... 166s Unpacking libproc2-0:s390x (2:4.0.4-4ubuntu2) over (2:4.0.4-4ubuntu1) ... 166s Preparing to unpack .../6-procps_2%3a4.0.4-4ubuntu2_s390x.deb ... 166s Unpacking procps (2:4.0.4-4ubuntu2) over (2:4.0.4-4ubuntu1) ... 166s Preparing to unpack .../7-coreutils_9.4-3ubuntu3_s390x.deb ... 166s Unpacking coreutils (9.4-3ubuntu3) over (9.4-2ubuntu4) ... 166s Setting up coreutils (9.4-3ubuntu3) ... 166s (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 ... 52220 files and directories currently installed.) 166s Preparing to unpack .../util-linux_2.39.3-9ubuntu2_s390x.deb ... 166s Unpacking util-linux (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 166s Setting up util-linux (2.39.3-9ubuntu2) ... 167s fstrim.service is a disabled or a static unit not running, not starting it. 167s (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 ... 52220 files and directories currently installed.) 167s Removing libatm1:s390x (1:2.5.1-5) ... 167s (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 ... 52215 files and directories currently installed.) 167s Preparing to unpack .../file_1%3a5.45-3_s390x.deb ... 167s Unpacking file (1:5.45-3) over (1:5.45-2) ... 167s (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 ... 52215 files and directories currently installed.) 167s Removing libmagic1:s390x (1:5.45-2) ... 167s (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 ... 52205 files and directories currently installed.) 167s Preparing to unpack .../libmagic-mgc_1%3a5.45-3_s390x.deb ... 167s Unpacking libmagic-mgc (1:5.45-3) over (1:5.45-2) ... 167s Selecting previously unselected package libmagic1t64:s390x. 167s Preparing to unpack .../libmagic1t64_1%3a5.45-3_s390x.deb ... 167s Unpacking libmagic1t64:s390x (1:5.45-3) ... 167s Preparing to unpack .../libplymouth5_24.004.60-1ubuntu6_s390x.deb ... 167s Unpacking libplymouth5:s390x (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 167s (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 ... 52216 files and directories currently installed.) 167s Removing libpng16-16:s390x (1.6.43-1) ... 167s Selecting previously unselected package libpng16-16t64:s390x. 168s (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 ... 52206 files and directories currently installed.) 168s Preparing to unpack .../libpng16-16t64_1.6.43-3_s390x.deb ... 168s Unpacking libpng16-16t64:s390x (1.6.43-3) ... 168s Preparing to unpack .../multipath-tools_0.9.4-5ubuntu6_s390x.deb ... 168s Unpacking multipath-tools (0.9.4-5ubuntu6) over (0.9.4-5ubuntu3) ... 168s dpkg: liburcu8:s390x: dependency problems, but removing anyway as you requested: 168s xfsprogs depends on liburcu8 (>= 0.13.0). 168s 168s (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 ... 52216 files and directories currently installed.) 168s Removing liburcu8:s390x (0.14.0-3) ... 168s Selecting previously unselected package liburcu8t64:s390x. 168s (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 ... 52197 files and directories currently installed.) 168s Preparing to unpack .../liburcu8t64_0.14.0-3.1_s390x.deb ... 168s Unpacking liburcu8t64:s390x (0.14.0-3.1) ... 168s Preparing to unpack .../liblocale-gettext-perl_1.07-6ubuntu4_s390x.deb ... 168s Unpacking liblocale-gettext-perl (1.07-6ubuntu4) over (1.07-6build1) ... 168s Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu2_s390x.deb ... 168s Unpacking uuid-runtime (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 168s Preparing to unpack .../libdebconfclient0_0.271ubuntu2_s390x.deb ... 168s Unpacking libdebconfclient0:s390x (0.271ubuntu2) over (0.271ubuntu1) ... 168s Setting up libdebconfclient0:s390x (0.271ubuntu2) ... 168s (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 ... 52217 files and directories currently installed.) 168s Preparing to unpack .../libsemanage-common_3.5-1build4_all.deb ... 168s Unpacking libsemanage-common (3.5-1build4) over (3.5-1build2) ... 168s Setting up libsemanage-common (3.5-1build4) ... 168s (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 ... 52217 files and directories currently installed.) 168s Preparing to unpack .../libsemanage2_3.5-1build4_s390x.deb ... 168s Unpacking libsemanage2:s390x (3.5-1build4) over (3.5-1build2) ... 168s Setting up libsemanage2:s390x (3.5-1build4) ... 168s (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 ... 52217 files and directories currently installed.) 168s Preparing to unpack .../install-info_7.1-3build1_s390x.deb ... 168s Unpacking install-info (7.1-3build1) over (7.1-3) ... 168s Setting up install-info (7.1-3build1) ... 168s (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 ... 52217 files and directories currently installed.) 168s Preparing to unpack .../00-libss2_1.47.0-2.4~exp1ubuntu2_s390x.deb ... 168s Unpacking libss2:s390x (1.47.0-2.4~exp1ubuntu2) over (1.47.0-2ubuntu1) ... 168s Preparing to unpack .../01-eject_2.39.3-9ubuntu2_s390x.deb ... 168s Unpacking eject (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 168s Preparing to unpack .../02-krb5-locales_1.20.1-6ubuntu1_all.deb ... 168s Unpacking krb5-locales (1.20.1-6ubuntu1) over (1.20.1-5build1) ... 168s Preparing to unpack .../03-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 168s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 168s Preparing to unpack .../04-libslang2_2.3.3-3build1_s390x.deb ... 168s Unpacking libslang2:s390x (2.3.3-3build1) over (2.3.3-3) ... 168s Preparing to unpack .../05-libtext-charwidth-perl_0.04-11build2_s390x.deb ... 168s Unpacking libtext-charwidth-perl:s390x (0.04-11build2) over (0.04-11build1) ... 168s Preparing to unpack .../06-libtext-iconv-perl_1.7-8build2_s390x.deb ... 168s Unpacking libtext-iconv-perl:s390x (1.7-8build2) over (1.7-8build1) ... 168s Preparing to unpack .../07-python-apt-common_2.7.7_all.deb ... 168s Unpacking python-apt-common (2.7.7) over (2.7.6) ... 168s Preparing to unpack .../08-python3-setuptools_68.1.2-2ubuntu1_all.deb ... 168s Unpacking python3-setuptools (68.1.2-2ubuntu1) over (68.1.2-2) ... 168s Preparing to unpack .../09-python3-pkg-resources_68.1.2-2ubuntu1_all.deb ... 168s Unpacking python3-pkg-resources (68.1.2-2ubuntu1) over (68.1.2-2) ... 168s Preparing to unpack .../10-rsyslog_8.2312.0-3ubuntu7_s390x.deb ... 168s Unpacking rsyslog (8.2312.0-3ubuntu7) over (8.2312.0-3ubuntu3) ... 168s Preparing to unpack .../11-vim-tiny_2%3a9.1.0016-1ubuntu6_s390x.deb ... 168s Unpacking vim-tiny (2:9.1.0016-1ubuntu6) over (2:9.1.0016-1ubuntu2) ... 168s Preparing to unpack .../12-vim-common_2%3a9.1.0016-1ubuntu6_all.deb ... 168s Unpacking vim-common (2:9.1.0016-1ubuntu6) over (2:9.1.0016-1ubuntu2) ... 168s Selecting previously unselected package xdg-user-dirs. 168s Preparing to unpack .../13-xdg-user-dirs_0.18-1_s390x.deb ... 168s Unpacking xdg-user-dirs (0.18-1) ... 168s Preparing to unpack .../14-xxd_2%3a9.1.0016-1ubuntu6_s390x.deb ... 168s Unpacking xxd (2:9.1.0016-1ubuntu6) over (2:9.1.0016-1ubuntu2) ... 168s Preparing to unpack .../15-apparmor_4.0.0-beta3-0ubuntu2_s390x.deb ... 169s Unpacking apparmor (4.0.0-beta3-0ubuntu2) over (4.0.0~alpha4-0ubuntu1) ... 169s Preparing to unpack .../16-ftp_20230507-2build1_all.deb ... 169s Unpacking ftp (20230507-2build1) over (20230507-2) ... 169s Preparing to unpack .../17-inetutils-telnet_2%3a2.5-3ubuntu3_s390x.deb ... 169s Unpacking inetutils-telnet (2:2.5-3ubuntu3) over (2:2.5-3ubuntu1) ... 169s Preparing to unpack .../18-info_7.1-3build1_s390x.deb ... 169s Unpacking info (7.1-3build1) over (7.1-3) ... 169s Preparing to unpack .../19-libxmuu1_2%3a1.1.3-3build1_s390x.deb ... 169s Unpacking libxmuu1:s390x (2:1.1.3-3build1) over (2:1.1.3-3) ... 169s Preparing to unpack .../20-lshw_02.19.git.2021.06.19.996aaad9c7-2build2_s390x.deb ... 169s Unpacking lshw (02.19.git.2021.06.19.996aaad9c7-2build2) over (02.19.git.2021.06.19.996aaad9c7-2build1) ... 169s Selecting previously unselected package manpages. 169s Preparing to unpack .../21-manpages_6.05.01-1_all.deb ... 169s Unpacking manpages (6.05.01-1) ... 169s Preparing to unpack .../22-mtr-tiny_0.95-1.1build1_s390x.deb ... 169s Unpacking mtr-tiny (0.95-1.1build1) over (0.95-1.1) ... 169s Preparing to unpack .../23-plymouth-theme-ubuntu-text_24.004.60-1ubuntu6_s390x.deb ... 169s Unpacking plymouth-theme-ubuntu-text (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 169s Preparing to unpack .../24-plymouth_24.004.60-1ubuntu6_s390x.deb ... 169s Unpacking plymouth (24.004.60-1ubuntu6) over (24.004.60-1ubuntu3) ... 169s Preparing to unpack .../25-telnet_0.17+2.5-3ubuntu3_all.deb ... 169s Unpacking telnet (0.17+2.5-3ubuntu3) over (0.17+2.5-3ubuntu1) ... 169s Preparing to unpack .../26-usb.ids_2024.03.18-1_all.deb ... 169s Unpacking usb.ids (2024.03.18-1) over (2024.01.30-1) ... 169s Preparing to unpack .../27-xz-utils_5.6.0-0.2_s390x.deb ... 169s Unpacking xz-utils (5.6.0-0.2) over (5.4.5-0.3) ... 169s Selecting previously unselected package libllvm18:s390x. 169s Preparing to unpack .../28-libllvm18_1%3a18.1.2-1ubuntu2_s390x.deb ... 169s Unpacking libllvm18:s390x (1:18.1.2-1ubuntu2) ... 171s Selecting previously unselected package libclang-cpp18. 171s Preparing to unpack .../29-libclang-cpp18_1%3a18.1.2-1ubuntu2_s390x.deb ... 171s Unpacking libclang-cpp18 (1:18.1.2-1ubuntu2) ... 171s Selecting previously unselected package libbpfcc:s390x. 171s Preparing to unpack .../30-libbpfcc_0.29.1+ds-1ubuntu4_s390x.deb ... 171s Unpacking libbpfcc:s390x (0.29.1+ds-1ubuntu4) ... 171s Selecting previously unselected package python3-bpfcc. 171s Preparing to unpack .../31-python3-bpfcc_0.29.1+ds-1ubuntu4_all.deb ... 171s Unpacking python3-bpfcc (0.29.1+ds-1ubuntu4) ... 171s Selecting previously unselected package ieee-data. 171s Preparing to unpack .../32-ieee-data_20220827.1_all.deb ... 171s Unpacking ieee-data (20220827.1) ... 171s Selecting previously unselected package python3-netaddr. 171s Preparing to unpack .../33-python3-netaddr_0.8.0-2ubuntu1_all.deb ... 171s Unpacking python3-netaddr (0.8.0-2ubuntu1) ... 171s Selecting previously unselected package bpfcc-tools. 171s Preparing to unpack .../34-bpfcc-tools_0.29.1+ds-1ubuntu4_all.deb ... 171s Unpacking bpfcc-tools (0.29.1+ds-1ubuntu4) ... 171s Selecting previously unselected package libclang1-18. 171s Preparing to unpack .../35-libclang1-18_1%3a18.1.2-1ubuntu2_s390x.deb ... 171s Unpacking libclang1-18 (1:18.1.2-1ubuntu2) ... 172s Selecting previously unselected package libdw1t64:s390x. 172s Preparing to unpack .../36-libdw1t64_0.190-1.1build2_s390x.deb ... 172s Unpacking libdw1t64:s390x (0.190-1.1build2) ... 172s Selecting previously unselected package bpftrace. 172s Preparing to unpack .../37-bpftrace_0.20.2-1ubuntu1_s390x.deb ... 172s Unpacking bpftrace (0.20.2-1ubuntu1) ... 172s Preparing to unpack .../38-cryptsetup-bin_2%3a2.7.0-1ubuntu2_s390x.deb ... 172s Unpacking cryptsetup-bin (2:2.7.0-1ubuntu2) over (2:2.7.0-1ubuntu1) ... 172s Preparing to unpack .../39-dpkg-dev_1.22.6ubuntu5_all.deb ... 172s Unpacking dpkg-dev (1.22.6ubuntu5) over (1.22.4ubuntu5) ... 172s Preparing to unpack .../40-libdpkg-perl_1.22.6ubuntu5_all.deb ... 172s Unpacking libdpkg-perl (1.22.6ubuntu5) over (1.22.4ubuntu5) ... 172s Selecting previously unselected package fonts-dejavu-mono. 172s Preparing to unpack .../41-fonts-dejavu-mono_2.37-8_all.deb ... 172s Unpacking fonts-dejavu-mono (2.37-8) ... 172s Selecting previously unselected package fonts-dejavu-core. 172s Preparing to unpack .../42-fonts-dejavu-core_2.37-8_all.deb ... 172s Unpacking fonts-dejavu-core (2.37-8) ... 172s Selecting previously unselected package fontconfig-config. 172s Preparing to unpack .../43-fontconfig-config_2.15.0-1.1ubuntu1_s390x.deb ... 172s Unpacking fontconfig-config (2.15.0-1.1ubuntu1) ... 172s Preparing to unpack .../44-gnupg-l10n_2.4.4-2ubuntu15_all.deb ... 172s Unpacking gnupg-l10n (2.4.4-2ubuntu15) over (2.4.4-2ubuntu7) ... 172s Selecting previously unselected package hwdata. 172s Preparing to unpack .../45-hwdata_0.379-1_all.deb ... 172s Unpacking hwdata (0.379-1) ... 172s Preparing to unpack .../46-libibverbs1_50.0-2build1_s390x.deb ... 172s Unpacking libibverbs1:s390x (50.0-2build1) over (50.0-2) ... 172s Preparing to unpack .../47-ibverbs-providers_50.0-2build1_s390x.deb ... 172s Unpacking ibverbs-providers:s390x (50.0-2build1) over (50.0-2) ... 172s Selecting previously unselected package libaio1t64:s390x. 172s Preparing to unpack .../48-libaio1t64_0.3.113-6_s390x.deb ... 172s Unpacking libaio1t64:s390x (0.3.113-6) ... 172s Selecting previously unselected package libatm1t64:s390x. 172s Preparing to unpack .../49-libatm1t64_1%3a2.5.1-5.1_s390x.deb ... 172s Unpacking libatm1t64:s390x (1:2.5.1-5.1) ... 172s Selecting previously unselected package libc-dev-bin. 172s Preparing to unpack .../50-libc-dev-bin_2.39-0ubuntu6_s390x.deb ... 172s Unpacking libc-dev-bin (2.39-0ubuntu6) ... 172s Selecting previously unselected package libfreetype6:s390x. 172s Preparing to unpack .../51-libfreetype6_2.13.2+dfsg-1build2_s390x.deb ... 172s Unpacking libfreetype6:s390x (2.13.2+dfsg-1build2) ... 172s Selecting previously unselected package libfontconfig1:s390x. 172s Preparing to unpack .../52-libfontconfig1_2.15.0-1.1ubuntu1_s390x.deb ... 172s Unpacking libfontconfig1:s390x (2.15.0-1.1ubuntu1) ... 172s Selecting previously unselected package libjpeg-turbo8:s390x. 172s Preparing to unpack .../53-libjpeg-turbo8_2.1.5-2ubuntu1_s390x.deb ... 172s Unpacking libjpeg-turbo8:s390x (2.1.5-2ubuntu1) ... 172s Selecting previously unselected package libjpeg8:s390x. 172s Preparing to unpack .../54-libjpeg8_8c-2ubuntu11_s390x.deb ... 172s Unpacking libjpeg8:s390x (8c-2ubuntu11) ... 172s Selecting previously unselected package libdeflate0:s390x. 172s Preparing to unpack .../55-libdeflate0_1.19-1_s390x.deb ... 172s Unpacking libdeflate0:s390x (1.19-1) ... 172s Selecting previously unselected package libjbig0:s390x. 172s Preparing to unpack .../56-libjbig0_2.1-6.1ubuntu1_s390x.deb ... 172s Unpacking libjbig0:s390x (2.1-6.1ubuntu1) ... 172s Selecting previously unselected package libsharpyuv0:s390x. 172s Preparing to unpack .../57-libsharpyuv0_1.3.2-0.4build2_s390x.deb ... 172s Unpacking libsharpyuv0:s390x (1.3.2-0.4build2) ... 172s Selecting previously unselected package libwebp7:s390x. 172s Preparing to unpack .../58-libwebp7_1.3.2-0.4build2_s390x.deb ... 172s Unpacking libwebp7:s390x (1.3.2-0.4build2) ... 172s Selecting previously unselected package libtiff6:s390x. 172s Preparing to unpack .../59-libtiff6_4.5.1+git230720-4ubuntu1_s390x.deb ... 172s Unpacking libtiff6:s390x (4.5.1+git230720-4ubuntu1) ... 172s Selecting previously unselected package libxpm4:s390x. 172s Preparing to unpack .../60-libxpm4_1%3a3.5.17-1build1_s390x.deb ... 172s Unpacking libxpm4:s390x (1:3.5.17-1build1) ... 172s Selecting previously unselected package libgd3:s390x. 172s Preparing to unpack .../61-libgd3_2.3.3-9ubuntu3_s390x.deb ... 172s Unpacking libgd3:s390x (2.3.3-9ubuntu3) ... 172s Selecting previously unselected package libc-devtools. 172s Preparing to unpack .../62-libc-devtools_2.39-0ubuntu6_s390x.deb ... 172s Unpacking libc-devtools (2.39-0ubuntu6) ... 172s Selecting previously unselected package linux-libc-dev:s390x. 172s Preparing to unpack .../63-linux-libc-dev_6.8.0-20.20_s390x.deb ... 172s Unpacking linux-libc-dev:s390x (6.8.0-20.20) ... 173s Selecting previously unselected package libcrypt-dev:s390x. 173s Preparing to unpack .../64-libcrypt-dev_1%3a4.4.36-4_s390x.deb ... 173s Unpacking libcrypt-dev:s390x (1:4.4.36-4) ... 173s Selecting previously unselected package rpcsvc-proto. 173s Preparing to unpack .../65-rpcsvc-proto_1.4.2-0ubuntu6_s390x.deb ... 173s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 173s Selecting previously unselected package libc6-dev:s390x. 173s Preparing to unpack .../66-libc6-dev_2.39-0ubuntu6_s390x.deb ... 173s Unpacking libc6-dev:s390x (2.39-0ubuntu6) ... 173s Preparing to unpack .../67-libevent-core-2.1-7_2.1.12-stable-9build1_s390x.deb ... 173s Unpacking libevent-core-2.1-7:s390x (2.1.12-stable-9build1) over (2.1.12-stable-9) ... 173s Preparing to unpack .../68-libldap-common_2.6.7+dfsg-1~exp1ubuntu6_all.deb ... 173s Unpacking libldap-common (2.6.7+dfsg-1~exp1ubuntu6) over (2.6.7+dfsg-1~exp1ubuntu1) ... 173s Selecting previously unselected package linux-modules-6.8.0-20-generic. 173s Preparing to unpack .../69-linux-modules-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 173s Unpacking linux-modules-6.8.0-20-generic (6.8.0-20.20) ... 173s Selecting previously unselected package linux-image-6.8.0-20-generic. 173s Preparing to unpack .../70-linux-image-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 173s Unpacking linux-image-6.8.0-20-generic (6.8.0-20.20) ... 173s Selecting previously unselected package linux-modules-extra-6.8.0-20-generic. 173s Preparing to unpack .../71-linux-modules-extra-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 173s Unpacking linux-modules-extra-6.8.0-20-generic (6.8.0-20.20) ... 173s Preparing to unpack .../72-linux-generic_6.8.0-20.20+1_s390x.deb ... 173s Unpacking linux-generic (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 173s Preparing to unpack .../73-linux-image-generic_6.8.0-20.20+1_s390x.deb ... 173s Unpacking linux-image-generic (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 173s Preparing to unpack .../74-linux-virtual_6.8.0-20.20+1_s390x.deb ... 173s Unpacking linux-virtual (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 173s Preparing to unpack .../75-linux-image-virtual_6.8.0-20.20+1_s390x.deb ... 173s Unpacking linux-image-virtual (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 173s Preparing to unpack .../76-linux-headers-virtual_6.8.0-20.20+1_s390x.deb ... 173s Unpacking linux-headers-virtual (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 173s Selecting previously unselected package linux-headers-6.8.0-20. 173s Preparing to unpack .../77-linux-headers-6.8.0-20_6.8.0-20.20_all.deb ... 173s Unpacking linux-headers-6.8.0-20 (6.8.0-20.20) ... 175s Selecting previously unselected package linux-headers-6.8.0-20-generic. 175s Preparing to unpack .../78-linux-headers-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 175s Unpacking linux-headers-6.8.0-20-generic (6.8.0-20.20) ... 176s Preparing to unpack .../79-linux-headers-generic_6.8.0-20.20+1_s390x.deb ... 176s Unpacking linux-headers-generic (6.8.0-20.20+1) over (6.8.0-11.11+1) ... 176s Selecting previously unselected package linux-tools-common. 176s Preparing to unpack .../80-linux-tools-common_6.8.0-20.20_all.deb ... 176s Unpacking linux-tools-common (6.8.0-20.20) ... 176s Selecting previously unselected package linux-tools-6.8.0-20. 176s Preparing to unpack .../81-linux-tools-6.8.0-20_6.8.0-20.20_s390x.deb ... 176s Unpacking linux-tools-6.8.0-20 (6.8.0-20.20) ... 176s Selecting previously unselected package linux-tools-6.8.0-20-generic. 176s Preparing to unpack .../82-linux-tools-6.8.0-20-generic_6.8.0-20.20_s390x.deb ... 176s Unpacking linux-tools-6.8.0-20-generic (6.8.0-20.20) ... 176s Selecting previously unselected package manpages-dev. 176s Preparing to unpack .../83-manpages-dev_6.05.01-1_all.deb ... 176s Unpacking manpages-dev (6.05.01-1) ... 176s Preparing to unpack .../84-python3-distutils_3.12.2-3ubuntu1.1_all.deb ... 176s Unpacking python3-distutils (3.12.2-3ubuntu1.1) over (3.11.5-1) ... 176s Preparing to unpack .../85-python3-lib2to3_3.12.2-3ubuntu1.1_all.deb ... 176s Unpacking python3-lib2to3 (3.12.2-3ubuntu1.1) over (3.11.5-1) ... 176s Preparing to unpack .../86-python3-pyrsistent_0.20.0-1build1_s390x.deb ... 176s Unpacking python3-pyrsistent:s390x (0.20.0-1build1) over (0.20.0-1) ... 176s Preparing to unpack .../87-python3-typing-extensions_4.10.0-1_all.deb ... 176s Unpacking python3-typing-extensions (4.10.0-1) over (4.9.0-1) ... 177s Preparing to unpack .../88-s390-tools-data_2.31.0-0ubuntu3_all.deb ... 177s Unpacking s390-tools-data (2.31.0-0ubuntu3) over (2.31.0-0ubuntu1) ... 177s Selecting previously unselected package ubuntu-kernel-accessories. 177s Preparing to unpack .../89-ubuntu-kernel-accessories_1.536build1_s390x.deb ... 177s Unpacking ubuntu-kernel-accessories (1.536build1) ... 177s Preparing to unpack .../90-kpartx_0.9.4-5ubuntu6_s390x.deb ... 177s Unpacking kpartx (0.9.4-5ubuntu6) over (0.9.4-5ubuntu3) ... 177s Setting up cryptsetup-bin (2:2.7.0-1ubuntu2) ... 177s Setting up pinentry-curses (1.2.1-3ubuntu4) ... 177s Setting up motd-news-config (13ubuntu8) ... 177s Setting up libtext-iconv-perl:s390x (1.7-8build2) ... 177s Setting up libtext-charwidth-perl:s390x (0.04-11build2) ... 177s Setting up libsharpyuv0:s390x (1.3.2-0.4build2) ... 177s Setting up liburcu8t64:s390x (0.14.0-3.1) ... 177s Setting up tcpdump (4.99.4-3ubuntu2) ... 177s Setting up libibverbs1:s390x (50.0-2build1) ... 177s Setting up systemd-sysv (255.4-1ubuntu5) ... 177s Setting up ubuntu-kernel-accessories (1.536build1) ... 177s Setting up libapparmor1:s390x (4.0.0-beta3-0ubuntu2) ... 177s Setting up libatm1t64:s390x (1:2.5.1-5.1) ... 177s Setting up libgdbm6t64:s390x (1.23-5.1) ... 177s Setting up bsdextrautils (2.39.3-9ubuntu2) ... 177s Setting up libxpm4:s390x (1:3.5.17-1build1) ... 177s Setting up libgdbm-compat4t64:s390x (1.23-5.1) ... 177s Setting up xdg-user-dirs (0.18-1) ... 177s Setting up ibverbs-providers:s390x (50.0-2build1) ... 177s Setting up linux-headers-6.8.0-20 (6.8.0-20.20) ... 177s Setting up libmagic-mgc (1:5.45-3) ... 177s Setting up gawk (1:5.2.1-2build2) ... 177s Setting up manpages (6.05.01-1) ... 177s Setting up libtirpc-common (1.3.4+ds-1.1) ... 177s Setting up libbrotli1:s390x (1.1.0-2build1) ... 177s Setting up libsqlite3-0:s390x (3.45.1-1ubuntu1) ... 177s Setting up libsasl2-modules:s390x (2.1.28+dfsg1-5ubuntu1) ... 177s Setting up libuv1t64:s390x (1.48.0-1.1) ... 177s Setting up libmagic1t64:s390x (1:5.45-3) ... 177s Setting up rsyslog (8.2312.0-3ubuntu7) ... 177s info: The user `syslog' is already a member of `adm'. 178s Setting up libpsl5t64:s390x (0.21.2-1.1) ... 178s Setting up libnghttp2-14:s390x (1.59.0-1build1) ... 178s Setting up libdeflate0:s390x (1.19-1) ... 178s Setting up linux-libc-dev:s390x (6.8.0-20.20) ... 178s Setting up libreiserfscore0t64 (1:3.6.27-7.1) ... 178s Setting up libnss-systemd:s390x (255.4-1ubuntu5) ... 178s Setting up libparted2t64:s390x (3.6-3.1build2) ... 178s Setting up krb5-locales (1.20.1-6ubuntu1) ... 178s Setting up file (1:5.45-3) ... 178s Setting up kmod (31+20240202-2ubuntu4) ... 178s Setting up lshw (02.19.git.2021.06.19.996aaad9c7-2build2) ... 178s Setting up libldap-common (2.6.7+dfsg-1~exp1ubuntu6) ... 178s Setting up libprotobuf-c1:s390x (1.4.1-1ubuntu3) ... 178s Setting up libjbig0:s390x (2.1-6.1ubuntu1) ... 178s Setting up xxd (2:9.1.0016-1ubuntu6) ... 178s Setting up libelf1t64:s390x (0.190-1.1build2) ... 178s Setting up libkrb5support0:s390x (1.20.1-6ubuntu1) ... 178s Setting up libdw1t64:s390x (0.190-1.1build2) ... 178s Setting up linux-headers-6.8.0-20-generic (6.8.0-20.20) ... 178s Setting up eject (2.39.3-9ubuntu2) ... 178s Setting up apparmor (4.0.0-beta3-0ubuntu2) ... 178s Installing new version of config file /etc/apparmor.d/abstractions/authentication ... 178s Installing new version of config file /etc/apparmor.d/abstractions/crypto ... 178s Installing new version of config file /etc/apparmor.d/abstractions/kde-open5 ... 178s Installing new version of config file /etc/apparmor.d/abstractions/openssl ... 178s Installing new version of config file /etc/apparmor.d/code ... 178s Installing new version of config file /etc/apparmor.d/firefox ... 179s Reloading AppArmor profiles 180s Setting up libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 180s No schema files found: doing nothing. 180s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 180s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 180s Setting up vim-common (2:9.1.0016-1ubuntu6) ... 180s Setting up libqrtr-glib0:s390x (1.2.2-1ubuntu3) ... 180s Setting up libslang2:s390x (2.3.3-3build1) ... 180s Setting up libnvme1t64 (1.8-3) ... 180s Setting up mtr-tiny (0.95-1.1build1) ... 180s Setting up gnupg-l10n (2.4.4-2ubuntu15) ... 180s Setting up librtmp1:s390x (2.4+20151223.gitfa8646d.1-2build6) ... 180s Setting up libdbus-1-3:s390x (1.14.10-4ubuntu2) ... 180s Setting up xz-utils (5.6.0-0.2) ... 180s Setting up perl-modules-5.38 (5.38.2-3.2) ... 180s Setting up libproc2-0:s390x (2:4.0.4-4ubuntu2) ... 180s Setting up libblockdev-utils3:s390x (3.1.0-1build1) ... 180s Setting up fonts-dejavu-mono (2.37-8) ... 180s Setting up libpng16-16t64:s390x (1.6.43-3) ... 180s Setting up systemd-timesyncd (255.4-1ubuntu5) ... 180s Setting up libevent-core-2.1-7:s390x (2.1.12-stable-9build1) ... 180s Setting up udev (255.4-1ubuntu5) ... 181s Setting up libss2:s390x (1.47.0-2.4~exp1ubuntu2) ... 181s Setting up usb.ids (2024.03.18-1) ... 181s Setting up sudo (1.9.15p5-3ubuntu3) ... 181s Setting up fonts-dejavu-core (2.37-8) ... 181s Setting up dhcpcd-base (1:10.0.6-1ubuntu2) ... 181s Setting up gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) ... 181s Setting up libk5crypto3:s390x (1.20.1-6ubuntu1) ... 181s Setting up libjpeg-turbo8:s390x (2.1.5-2ubuntu1) ... 181s Setting up logsave (1.47.0-2.4~exp1ubuntu2) ... 181s Setting up libwebp7:s390x (1.3.2-0.4build2) ... 181s Setting up libfdisk1:s390x (2.39.3-9ubuntu2) ... 181s Setting up libdb5.3t64:s390x (5.3.28+dfsg2-6) ... 181s Setting up libblockdev-nvme3:s390x (3.1.0-1build1) ... 181s Setting up libblockdev-fs3:s390x (3.1.0-1build1) ... 181s Setting up libaio1t64:s390x (0.3.113-6) ... 181s Setting up python-apt-common (2.7.7) ... 181s Setting up mount (2.39.3-9ubuntu2) ... 181s Setting up uuid-runtime (2.39.3-9ubuntu2) ... 182s uuidd.service is a disabled or a static unit not running, not starting it. 182s Setting up libmm-glib0:s390x (1.23.4-0ubuntu1) ... 182s Setting up groff-base (1.23.0-3build1) ... 182s Setting up libcrypt-dev:s390x (1:4.4.36-4) ... 182s Setting up libplymouth5:s390x (24.004.60-1ubuntu6) ... 182s Setting up dbus-session-bus-common (1.14.10-4ubuntu2) ... 182s Setting up kpartx (0.9.4-5ubuntu6) ... 182s Setting up procps (2:4.0.4-4ubuntu2) ... 182s Setting up gpgconf (2.4.4-2ubuntu15) ... 182s Setting up libgirepository-1.0-1:s390x (1.79.1-1ubuntu6) ... 182s Setting up libjson-glib-1.0-common (1.8.0-2build1) ... 182s Setting up libkrb5-3:s390x (1.20.1-6ubuntu1) ... 182s Setting up libpython3.11-minimal:s390x (3.11.8-1build4) ... 182s Setting up libperl5.38t64:s390x (5.38.2-3.2) ... 182s Setting up tnftp (20230507-2build1) ... 182s Setting up dbus-system-bus-common (1.14.10-4ubuntu2) ... 182s Setting up libfido2-1:s390x (1.14.0-1build1) ... 182s Setting up libc-dev-bin (2.39-0ubuntu6) ... 182s Setting up openssl (3.0.13-0ubuntu2) ... 182s Setting up linux-modules-6.8.0-20-generic (6.8.0-20.20) ... 183s Setting up readline-common (8.2-4) ... 183s Setting up libxml2:s390x (2.9.14+dfsg-1.3ubuntu2) ... 183s Setting up libxmuu1:s390x (2:1.1.3-3build1) ... 183s Setting up dbus-bin (1.14.10-4ubuntu2) ... 183s Setting up info (7.1-3build1) ... 183s Setting up liblocale-gettext-perl (1.07-6ubuntu4) ... 183s Setting up gpg (2.4.4-2ubuntu15) ... 183s Setting up libgudev-1.0-0:s390x (1:238-3ubuntu2) ... 183s Setting up libpolkit-gobject-1-0:s390x (124-1ubuntu1) ... 183s Setting up libbpf1:s390x (1:1.3.0-2build1) ... 183s Setting up libmbim-glib4:s390x (1.31.2-0ubuntu2) ... 183s Setting up rsync (3.2.7-1build1) ... 184s rsync.service is a disabled or a static unit not running, not starting it. 184s Setting up libudisks2-0:s390x (2.10.1-6) ... 184s Setting up bolt (0.9.6-2build1) ... 184s bolt.service is a disabled or a static unit not running, not starting it. 184s Setting up s390-tools-data (2.31.0-0ubuntu3) ... 184s Setting up libllvm18:s390x (1:18.1.2-1ubuntu2) ... 184s Setting up gnupg-utils (2.4.4-2ubuntu15) ... 184s Setting up libjpeg8:s390x (8c-2ubuntu11) ... 184s Setting up python3.11-minimal (3.11.8-1build4) ... 185s Setting up libclang1-18 (1:18.1.2-1ubuntu2) ... 185s Setting up manpages-dev (6.05.01-1) ... 185s Setting up linux-modules-extra-6.8.0-20-generic (6.8.0-20.20) ... 186s Setting up apt-utils (2.7.14) ... 186s Setting up gpg-agent (2.4.4-2ubuntu15) ... 186s Setting up libpython3.12-stdlib:s390x (3.12.2-4build3) ... 186s Setting up libblockdev-mdraid3:s390x (3.1.0-1build1) ... 186s Setting up wget (1.21.4-1ubuntu2) ... 186s Setting up linux-image-6.8.0-20-generic (6.8.0-20.20) ... 186s I: /boot/vmlinuz is now a symlink to vmlinuz-6.8.0-20-generic 186s I: /boot/initrd.img is now a symlink to initrd.img-6.8.0-20-generic 186s Setting up libblockdev-swap3:s390x (3.1.0-1build1) ... 186s Setting up plymouth (24.004.60-1ubuntu6) ... 186s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 186s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 190s Not invoking zipl: initrd doesn't exist yet 190s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 190s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 191s Setting up fontconfig-config (2.15.0-1.1ubuntu1) ... 191s Setting up libxmlb2:s390x (0.3.15-1build1) ... 191s Setting up btrfs-progs (6.6.3-1.1build1) ... 191s Setting up libpython3.11-stdlib:s390x (3.11.8-1build4) ... 191s Setting up python3.12 (3.12.2-4build3) ... 192s Setting up libblockdev-loop3:s390x (3.1.0-1build1) ... 192s Setting up gpgsm (2.4.4-2ubuntu15) ... 192s Setting up inetutils-telnet (2:2.5-3ubuntu3) ... 192s Setting up parted (3.6-3.1build2) ... 192s Setting up e2fsprogs (1.47.0-2.4~exp1ubuntu2) ... 192s update-initramfs: deferring update (trigger activated) 193s e2scrub_all.service is a disabled or a static unit not running, not starting it. 193s Setting up linux-headers-generic (6.8.0-20.20+1) ... 193s Setting up dbus-daemon (1.14.10-4ubuntu2) ... 193s Setting up libmbim-proxy (1.31.2-0ubuntu2) ... 193s Setting up vim-tiny (2:9.1.0016-1ubuntu6) ... 193s Setting up libnetplan1:s390x (1.0-1) ... 193s Setting up man-db (2.12.0-3build4) ... 193s Updating database of manual pages ... 194s man-db.service is a disabled or a static unit not running, not starting it. 194s Setting up libblockdev3:s390x (3.1.0-1build1) ... 194s Setting up fdisk (2.39.3-9ubuntu2) ... 194s Setting up multipath-tools (0.9.4-5ubuntu6) ... 195s Setting up libjson-glib-1.0-0:s390x (1.8.0-2build1) ... 195s Setting up libblockdev-part3:s390x (3.1.0-1build1) ... 195s Setting up libsasl2-modules-db:s390x (2.1.28+dfsg1-5ubuntu1) ... 195s Setting up hwdata (0.379-1) ... 195s Setting up perl (5.38.2-3.2) ... 195s Setting up plymouth-theme-ubuntu-text (24.004.60-1ubuntu6) ... 195s update-initramfs: deferring update (trigger activated) 195s Setting up libfreetype6:s390x (2.13.2+dfsg-1build2) ... 195s Setting up gir1.2-girepository-2.0:s390x (1.79.1-1ubuntu6) ... 195s Setting up dbus (1.14.10-4ubuntu2) ... 195s A reboot is required to replace the running dbus-daemon. 195s Please reboot the system when convenient. 196s Setting up shared-mime-info (2.4-1build1) ... 196s Setting up libgssapi-krb5-2:s390x (1.20.1-6ubuntu1) ... 196s Setting up ftp (20230507-2build1) ... 196s Setting up keyboxd (2.4.4-2ubuntu15) ... 196s Setting up libdpkg-perl (1.22.6ubuntu5) ... 196s Setting up libsasl2-2:s390x (2.1.28+dfsg1-5ubuntu1) ... 196s Setting up libssh-4:s390x (0.10.6-2build1) ... 196s Setting up ieee-data (20220827.1) ... 196s Setting up libtiff6:s390x (4.5.1+git230720-4ubuntu1) ... 196s Setting up libpam-systemd:s390x (255.4-1ubuntu5) ... 196s Setting up libpolkit-agent-1-0:s390x (124-1ubuntu1) ... 196s Setting up libc6-dev:s390x (2.39-0ubuntu6) ... 196s Setting up libgpgme11t64:s390x (1.18.0-4.1ubuntu3) ... 196s Setting up libfontconfig1:s390x (2.15.0-1.1ubuntu1) ... 196s Setting up linux-image-virtual (6.8.0-20.20+1) ... 196s Setting up netplan-generator (1.0-1) ... 196s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 196s Setting up libclang-cpp18 (1:18.1.2-1ubuntu2) ... 196s Setting up libbpfcc:s390x (0.29.1+ds-1ubuntu4) ... 196s Setting up linux-tools-common (6.8.0-20.20) ... 196s Setting up libarchive13t64:s390x (3.7.2-1.1ubuntu2) ... 196s Setting up libldap2:s390x (2.6.7+dfsg-1~exp1ubuntu6) ... 196s Setting up libpython3-stdlib:s390x (3.12.2-0ubuntu1) ... 196s Setting up systemd-resolved (255.4-1ubuntu5) ... 197s Setting up python3.11 (3.11.8-1build4) ... 198s Setting up linux-image-generic (6.8.0-20.20+1) ... 198s Setting up telnet (0.17+2.5-3ubuntu3) ... 198s Setting up linux-headers-virtual (6.8.0-20.20+1) ... 198s Setting up linux-generic (6.8.0-20.20+1) ... 198s Setting up libcurl4t64:s390x (8.5.0-2ubuntu8) ... 198s Setting up bpftrace (0.20.2-1ubuntu1) ... 198s Setting up bind9-libs:s390x (1:9.18.24-0ubuntu3) ... 198s Setting up libtirpc3t64:s390x (1.3.4+ds-1.1) ... 198s Setting up e2fsprogs-l10n (1.47.0-2.4~exp1ubuntu2) ... 198s Setting up iproute2 (6.1.0-1ubuntu5) ... 198s Setting up openssh-client (1:9.6p1-3ubuntu11) ... 198s Setting up libgusb2:s390x (0.4.8-1build1) ... 198s Setting up libcurl3t64-gnutls:s390x (8.5.0-2ubuntu8) ... 198s Setting up libqmi-glib5:s390x (1.35.2-0ubuntu1) ... 198s Setting up linux-tools-6.8.0-20 (6.8.0-20.20) ... 198s Setting up python3 (3.12.2-0ubuntu1) ... 198s Setting up libjcat1:s390x (0.2.0-2build2) ... 198s Setting up dpkg-dev (1.22.6ubuntu5) ... 198s Setting up linux-virtual (6.8.0-20.20+1) ... 198s Setting up dirmngr (2.4.4-2ubuntu15) ... 198s Setting up dbus-user-session (1.14.10-4ubuntu2) ... 198s Setting up linux-tools-6.8.0-20-generic (6.8.0-20.20) ... 198s Setting up python3-cryptography (41.0.7-4build2) ... 199s Setting up python3-gi (3.47.0-3build1) ... 199s Setting up libgd3:s390x (2.3.3-9ubuntu3) ... 199s Setting up python3-typing-extensions (4.10.0-1) ... 199s Setting up lsof (4.95.0-1build2) ... 199s Setting up python3-pyrsistent:s390x (0.20.0-1build1) ... 199s Setting up python3-netaddr (0.8.0-2ubuntu1) ... 199s Setting up libnsl2:s390x (1.3.0-3build2) ... 199s Setting up gnupg (2.4.4-2ubuntu15) ... 199s Setting up python3-netplan (1.0-1) ... 199s Setting up curl (8.5.0-2ubuntu8) ... 199s Setting up libvolume-key1:s390x (0.3.12-7build1) ... 199s Setting up bind9-host (1:9.18.24-0ubuntu3) ... 199s Setting up python3-lib2to3 (3.12.2-3ubuntu1.1) ... 200s Setting up python3-bpfcc (0.29.1+ds-1ubuntu4) ... 200s Setting up libc-devtools (2.39-0ubuntu6) ... 200s Setting up python3-pkg-resources (68.1.2-2ubuntu1) ... 200s Setting up python3-distutils (3.12.2-3ubuntu1.1) ... 200s python3.12: can't get files for byte-compilation 200s Setting up openssh-sftp-server (1:9.6p1-3ubuntu11) ... 200s Setting up python3-dbus (1.3.2-5build2) ... 200s Setting up python3-setuptools (68.1.2-2ubuntu1) ... 201s Setting up gpg-wks-client (2.4.4-2ubuntu15) ... 201s Setting up openssh-server (1:9.6p1-3ubuntu11) ... 201s Replacing config file /etc/ssh/sshd_config with new version 203s Created symlink /etc/systemd/system/ssh.service.requires/ssh.socket → /usr/lib/systemd/system/ssh.socket. 204s Setting up libblockdev-crypto3:s390x (3.1.0-1build1) ... 204s Setting up python3-gdbm:s390x (3.12.2-3ubuntu1.1) ... 204s Setting up python3-apt (2.7.7) ... 204s Setting up libfwupd2:s390x (1.9.15-2) ... 204s Setting up python3-yaml (6.0.1-2build1) ... 204s Setting up libqmi-proxy (1.35.2-0ubuntu1) ... 204s Setting up netplan.io (1.0-1) ... 204s Setting up bpfcc-tools (0.29.1+ds-1ubuntu4) ... 204s Setting up bind9-dnsutils (1:9.18.24-0ubuntu3) ... 204s Setting up ubuntu-pro-client (31.2.2) ... 206s Setting up fwupd (1.9.15-2) ... 206s fwupd-offline-update.service is a disabled or a static unit not running, not starting it. 206s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 206s Setting up ubuntu-pro-client-l10n (31.2.2) ... 206s Setting up udisks2 (2.10.1-6) ... 207s Processing triggers for libc-bin (2.39-0ubuntu6) ... 207s Processing triggers for ufw (0.36.2-5) ... 207s Processing triggers for debianutils (5.17) ... 207s Processing triggers for install-info (7.1-3build1) ... 207s Processing triggers for initramfs-tools (0.142ubuntu23) ... 207s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 207s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 211s Not invoking zipl: initrd doesn't exist yet 211s Processing triggers for linux-image-6.8.0-20-generic (6.8.0-20.20) ... 211s /etc/kernel/postinst.d/initramfs-tools: 211s update-initramfs: Generating /boot/initrd.img-6.8.0-20-generic 211s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 214s Using config file '/etc/zipl.conf' 214s Building bootmap in '/boot' 214s Adding IPL section 'ubuntu' (default) 214s Preparing boot device for LD-IPL: vda (0000). 214s Done. 215s /etc/kernel/postinst.d/zz-zipl: 215s Using config file '/etc/zipl.conf' 215s Building bootmap in '/boot' 215s Adding IPL section 'ubuntu' (default) 215s Preparing boot device for LD-IPL: vda (0000). 215s Done. 216s Reading package lists... 216s Building dependency tree... 216s Reading state information... 216s The following packages will be REMOVED: 216s libaio1* libnetplan0* python3-distutils* python3-lib2to3* 217s 0 upgraded, 0 newly installed, 4 to remove and 1 not upgraded. 217s After this operation, 1445 kB disk space will be freed. 217s (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 ... 81786 files and directories currently installed.) 217s Removing libaio1:s390x (0.3.113-5) ... 217s Removing libnetplan0:s390x (0.107.1-3) ... 217s Removing python3-distutils (3.12.2-3ubuntu1.1) ... 217s Removing python3-lib2to3 (3.12.2-3ubuntu1.1) ... 217s Processing triggers for libc-bin (2.39-0ubuntu6) ... 217s autopkgtest [00:08:45]: rebooting testbed after setup commands that affected boot 384s autopkgtest [00:11:31]: testbed running kernel: Linux 6.8.0-20-generic #20-Ubuntu SMP Mon Mar 18 10:49:25 UTC 2024 387s autopkgtest [00:11:35]: @@@@@@@@@@@@@@@@@@@@ apt-source r-cran-git2r 389s Get:1 http://ftpmaster.internal/ubuntu noble/universe r-cran-git2r 0.33.0+dfsg-1 (dsc) [2136 B] 389s Get:2 http://ftpmaster.internal/ubuntu noble/universe r-cran-git2r 0.33.0+dfsg-1 (tar) [217 kB] 389s Get:3 http://ftpmaster.internal/ubuntu noble/universe r-cran-git2r 0.33.0+dfsg-1 (diff) [2984 B] 389s gpgv: Signature made Mon Jan 8 17:56:55 2024 UTC 389s gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1 389s gpgv: issuer "tille@debian.org" 389s gpgv: Can't check signature: No public key 389s dpkg-source: warning: cannot verify inline signature for ./r-cran-git2r_0.33.0+dfsg-1.dsc: no acceptable signature found 390s autopkgtest [00:11:38]: testing package r-cran-git2r version 0.33.0+dfsg-1 390s autopkgtest [00:11:38]: build not needed 397s autopkgtest [00:11:45]: test run-unit-test: preparing testbed 401s Reading package lists... 401s Building dependency tree... 401s Reading state information... 401s Starting pkgProblemResolver with broken count: 0 401s Starting 2 pkgProblemResolver with broken count: 0 401s Done 401s The following additional packages will be installed: 401s fontconfig libblas3 libcairo2 libdatrie1 libgfortran5 libgit2-1.7 libgomp1 401s libgraphite2-3 libharfbuzz0b libhttp-parser2.9 libice6 liblapack3 401s libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils 401s libpaper1 libpixman-1-0 libsm6 libssh2-1t64 libtcl8.6 libthai-data libthai0 401s libtk8.6 libxcb-render0 libxcb-shm0 libxft2 libxrender1 libxss1 libxt6t64 401s r-base-core r-cran-git2r unzip x11-common xdg-utils zip 401s Suggested packages: 401s tcl8.6 tk8.6 elpa-ess r-doc-info | r-doc-pdf r-mathlib r-base-html 401s Recommended packages: 401s r-recommended r-base-dev r-doc-html libfile-mimeinfo-perl libnet-dbus-perl 401s libx11-protocol-perl x11-utils x11-xserver-utils 401s The following NEW packages will be installed: 401s autopkgtest-satdep fontconfig libblas3 libcairo2 libdatrie1 libgfortran5 401s libgit2-1.7 libgomp1 libgraphite2-3 libharfbuzz0b libhttp-parser2.9 libice6 401s liblapack3 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 401s libpaper-utils libpaper1 libpixman-1-0 libsm6 libssh2-1t64 libtcl8.6 401s libthai-data libthai0 libtk8.6 libxcb-render0 libxcb-shm0 libxft2 401s libxrender1 libxss1 libxt6t64 r-base-core r-cran-git2r unzip x11-common 401s xdg-utils zip 401s 0 upgraded, 37 newly installed, 0 to remove and 1 not upgraded. 401s Need to get 37.0 MB/37.0 MB of archives. 401s After this operation, 73.4 MB of additional disk space will be used. 401s Get:1 /tmp/autopkgtest.976oLx/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [712 B] 401s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x fontconfig s390x 2.15.0-1.1ubuntu1 [191 kB] 401s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x libblas3 s390x 3.12.0-3 [245 kB] 402s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x libpixman-1-0 s390x 0.42.2-1 [173 kB] 402s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-render0 s390x 1.15-1 [17.0 kB] 402s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-shm0 s390x 1.15-1 [5782 B] 402s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libxrender1 s390x 1:0.9.10-1.1 [19.4 kB] 402s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcairo2 s390x 1.18.0-1ubuntu1 [589 kB] 402s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x libdatrie1 s390x 0.2.13-3 [22.6 kB] 402s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x libgfortran5 s390x 14-20240315-1ubuntu1 [600 kB] 403s Get:11 http://ftpmaster.internal/ubuntu noble/main s390x libhttp-parser2.9 s390x 2.9.4-6 [24.3 kB] 403s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libssh2-1t64 s390x 1.11.0-4.1build1 [127 kB] 403s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgit2-1.7 s390x 1.7.2+ds-1ubuntu2 [553 kB] 403s Get:14 http://ftpmaster.internal/ubuntu noble/main s390x libgomp1 s390x 14-20240315-1ubuntu1 [151 kB] 403s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x libgraphite2-3 s390x 1.3.14-2 [90.4 kB] 403s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libharfbuzz0b s390x 8.3.0-2build1 [515 kB] 403s Get:17 http://ftpmaster.internal/ubuntu noble/main s390x x11-common all 1:7.7+23ubuntu2 [23.4 kB] 403s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x libice6 s390x 2:1.0.10-1build2 [40.8 kB] 403s Get:19 http://ftpmaster.internal/ubuntu noble/main s390x liblapack3 s390x 3.12.0-3 [2979 kB] 404s Get:20 http://ftpmaster.internal/ubuntu noble/main s390x libthai-data all 0.1.29-2 [158 kB] 404s Get:21 http://ftpmaster.internal/ubuntu noble/main s390x libthai0 s390x 0.1.29-2 [20.6 kB] 404s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpango-1.0-0 s390x 1.52.1+ds-1 [242 kB] 404s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpangoft2-1.0-0 s390x 1.52.1+ds-1 [44.2 kB] 404s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpangocairo-1.0-0 s390x 1.52.1+ds-1 [28.7 kB] 404s Get:25 http://ftpmaster.internal/ubuntu noble/main s390x libpaper1 s390x 1.1.29 [13.3 kB] 404s Get:26 http://ftpmaster.internal/ubuntu noble/main s390x libpaper-utils s390x 1.1.29 [8452 B] 404s Get:27 http://ftpmaster.internal/ubuntu noble/main s390x libsm6 s390x 2:1.2.3-1build2 [16.9 kB] 404s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libtcl8.6 s390x 8.6.14+dfsg-1 [1037 kB] 404s Get:29 http://ftpmaster.internal/ubuntu noble/main s390x libxft2 s390x 2.3.6-1 [44.3 kB] 404s Get:30 http://ftpmaster.internal/ubuntu noble/main s390x libxss1 s390x 1:1.2.3-1build2 [8192 B] 404s Get:31 http://ftpmaster.internal/ubuntu noble/main s390x libtk8.6 s390x 8.6.14-1 [833 kB] 405s Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxt6t64 s390x 1:1.2.1-1.2 [184 kB] 405s Get:33 http://ftpmaster.internal/ubuntu noble/main s390x zip s390x 3.0-13 [175 kB] 405s Get:34 http://ftpmaster.internal/ubuntu noble/main s390x unzip s390x 6.0-28ubuntu3 [180 kB] 405s Get:35 http://ftpmaster.internal/ubuntu noble/main s390x xdg-utils all 1.1.3-4.1ubuntu3 [62.0 kB] 405s Get:36 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x r-base-core s390x 4.3.3-2build1 [27.1 MB] 407s Get:37 http://ftpmaster.internal/ubuntu noble/universe s390x r-cran-git2r s390x 0.33.0+dfsg-1 [436 kB] 408s Preconfiguring packages ... 408s Fetched 37.0 MB in 7s (5656 kB/s) 408s Selecting previously unselected package fontconfig. 408s (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 ... 81562 files and directories currently installed.) 408s Preparing to unpack .../00-fontconfig_2.15.0-1.1ubuntu1_s390x.deb ... 408s Unpacking fontconfig (2.15.0-1.1ubuntu1) ... 408s Selecting previously unselected package libblas3:s390x. 408s Preparing to unpack .../01-libblas3_3.12.0-3_s390x.deb ... 408s Unpacking libblas3:s390x (3.12.0-3) ... 408s Selecting previously unselected package libpixman-1-0:s390x. 408s Preparing to unpack .../02-libpixman-1-0_0.42.2-1_s390x.deb ... 408s Unpacking libpixman-1-0:s390x (0.42.2-1) ... 408s Selecting previously unselected package libxcb-render0:s390x. 408s Preparing to unpack .../03-libxcb-render0_1.15-1_s390x.deb ... 408s Unpacking libxcb-render0:s390x (1.15-1) ... 408s Selecting previously unselected package libxcb-shm0:s390x. 408s Preparing to unpack .../04-libxcb-shm0_1.15-1_s390x.deb ... 408s Unpacking libxcb-shm0:s390x (1.15-1) ... 408s Selecting previously unselected package libxrender1:s390x. 408s Preparing to unpack .../05-libxrender1_1%3a0.9.10-1.1_s390x.deb ... 408s Unpacking libxrender1:s390x (1:0.9.10-1.1) ... 408s Selecting previously unselected package libcairo2:s390x. 408s Preparing to unpack .../06-libcairo2_1.18.0-1ubuntu1_s390x.deb ... 408s Unpacking libcairo2:s390x (1.18.0-1ubuntu1) ... 408s Selecting previously unselected package libdatrie1:s390x. 408s Preparing to unpack .../07-libdatrie1_0.2.13-3_s390x.deb ... 408s Unpacking libdatrie1:s390x (0.2.13-3) ... 408s Selecting previously unselected package libgfortran5:s390x. 408s Preparing to unpack .../08-libgfortran5_14-20240315-1ubuntu1_s390x.deb ... 408s Unpacking libgfortran5:s390x (14-20240315-1ubuntu1) ... 408s Selecting previously unselected package libhttp-parser2.9:s390x. 408s Preparing to unpack .../09-libhttp-parser2.9_2.9.4-6_s390x.deb ... 408s Unpacking libhttp-parser2.9:s390x (2.9.4-6) ... 408s Selecting previously unselected package libssh2-1t64:s390x. 408s Preparing to unpack .../10-libssh2-1t64_1.11.0-4.1build1_s390x.deb ... 408s Unpacking libssh2-1t64:s390x (1.11.0-4.1build1) ... 408s Selecting previously unselected package libgit2-1.7:s390x. 408s Preparing to unpack .../11-libgit2-1.7_1.7.2+ds-1ubuntu2_s390x.deb ... 408s Unpacking libgit2-1.7:s390x (1.7.2+ds-1ubuntu2) ... 408s Selecting previously unselected package libgomp1:s390x. 408s Preparing to unpack .../12-libgomp1_14-20240315-1ubuntu1_s390x.deb ... 408s Unpacking libgomp1:s390x (14-20240315-1ubuntu1) ... 408s Selecting previously unselected package libgraphite2-3:s390x. 408s Preparing to unpack .../13-libgraphite2-3_1.3.14-2_s390x.deb ... 408s Unpacking libgraphite2-3:s390x (1.3.14-2) ... 408s Selecting previously unselected package libharfbuzz0b:s390x. 408s Preparing to unpack .../14-libharfbuzz0b_8.3.0-2build1_s390x.deb ... 408s Unpacking libharfbuzz0b:s390x (8.3.0-2build1) ... 408s Selecting previously unselected package x11-common. 408s Preparing to unpack .../15-x11-common_1%3a7.7+23ubuntu2_all.deb ... 408s Unpacking x11-common (1:7.7+23ubuntu2) ... 408s Selecting previously unselected package libice6:s390x. 408s Preparing to unpack .../16-libice6_2%3a1.0.10-1build2_s390x.deb ... 408s Unpacking libice6:s390x (2:1.0.10-1build2) ... 408s Selecting previously unselected package liblapack3:s390x. 408s Preparing to unpack .../17-liblapack3_3.12.0-3_s390x.deb ... 408s Unpacking liblapack3:s390x (3.12.0-3) ... 408s Selecting previously unselected package libthai-data. 408s Preparing to unpack .../18-libthai-data_0.1.29-2_all.deb ... 408s Unpacking libthai-data (0.1.29-2) ... 408s Selecting previously unselected package libthai0:s390x. 408s Preparing to unpack .../19-libthai0_0.1.29-2_s390x.deb ... 408s Unpacking libthai0:s390x (0.1.29-2) ... 408s Selecting previously unselected package libpango-1.0-0:s390x. 408s Preparing to unpack .../20-libpango-1.0-0_1.52.1+ds-1_s390x.deb ... 408s Unpacking libpango-1.0-0:s390x (1.52.1+ds-1) ... 408s Selecting previously unselected package libpangoft2-1.0-0:s390x. 408s Preparing to unpack .../21-libpangoft2-1.0-0_1.52.1+ds-1_s390x.deb ... 408s Unpacking libpangoft2-1.0-0:s390x (1.52.1+ds-1) ... 408s Selecting previously unselected package libpangocairo-1.0-0:s390x. 408s Preparing to unpack .../22-libpangocairo-1.0-0_1.52.1+ds-1_s390x.deb ... 408s Unpacking libpangocairo-1.0-0:s390x (1.52.1+ds-1) ... 408s Selecting previously unselected package libpaper1:s390x. 408s Preparing to unpack .../23-libpaper1_1.1.29_s390x.deb ... 408s Unpacking libpaper1:s390x (1.1.29) ... 408s Selecting previously unselected package libpaper-utils. 408s Preparing to unpack .../24-libpaper-utils_1.1.29_s390x.deb ... 408s Unpacking libpaper-utils (1.1.29) ... 408s Selecting previously unselected package libsm6:s390x. 408s Preparing to unpack .../25-libsm6_2%3a1.2.3-1build2_s390x.deb ... 408s Unpacking libsm6:s390x (2:1.2.3-1build2) ... 408s Selecting previously unselected package libtcl8.6:s390x. 408s Preparing to unpack .../26-libtcl8.6_8.6.14+dfsg-1_s390x.deb ... 408s Unpacking libtcl8.6:s390x (8.6.14+dfsg-1) ... 408s Selecting previously unselected package libxft2:s390x. 408s Preparing to unpack .../27-libxft2_2.3.6-1_s390x.deb ... 408s Unpacking libxft2:s390x (2.3.6-1) ... 408s Selecting previously unselected package libxss1:s390x. 408s Preparing to unpack .../28-libxss1_1%3a1.2.3-1build2_s390x.deb ... 408s Unpacking libxss1:s390x (1:1.2.3-1build2) ... 408s Selecting previously unselected package libtk8.6:s390x. 408s Preparing to unpack .../29-libtk8.6_8.6.14-1_s390x.deb ... 408s Unpacking libtk8.6:s390x (8.6.14-1) ... 409s Selecting previously unselected package libxt6t64:s390x. 409s Preparing to unpack .../30-libxt6t64_1%3a1.2.1-1.2_s390x.deb ... 409s Unpacking libxt6t64:s390x (1:1.2.1-1.2) ... 409s Selecting previously unselected package zip. 409s Preparing to unpack .../31-zip_3.0-13_s390x.deb ... 409s Unpacking zip (3.0-13) ... 409s Selecting previously unselected package unzip. 409s Preparing to unpack .../32-unzip_6.0-28ubuntu3_s390x.deb ... 409s Unpacking unzip (6.0-28ubuntu3) ... 409s Selecting previously unselected package xdg-utils. 409s Preparing to unpack .../33-xdg-utils_1.1.3-4.1ubuntu3_all.deb ... 409s Unpacking xdg-utils (1.1.3-4.1ubuntu3) ... 409s Selecting previously unselected package r-base-core. 409s Preparing to unpack .../34-r-base-core_4.3.3-2build1_s390x.deb ... 409s Unpacking r-base-core (4.3.3-2build1) ... 409s Selecting previously unselected package r-cran-git2r. 409s Preparing to unpack .../35-r-cran-git2r_0.33.0+dfsg-1_s390x.deb ... 409s Unpacking r-cran-git2r (0.33.0+dfsg-1) ... 409s Selecting previously unselected package autopkgtest-satdep. 409s Preparing to unpack .../36-1-autopkgtest-satdep.deb ... 409s Unpacking autopkgtest-satdep (0) ... 409s Setting up libgraphite2-3:s390x (1.3.14-2) ... 409s Setting up libpixman-1-0:s390x (0.42.2-1) ... 409s Setting up libpaper1:s390x (1.1.29) ... 409s 409s Creating config file /etc/papersize with new version 409s Setting up fontconfig (2.15.0-1.1ubuntu1) ... 411s Regenerating fonts cache... done. 411s Setting up libxrender1:s390x (1:0.9.10-1.1) ... 411s Setting up libdatrie1:s390x (0.2.13-3) ... 411s Setting up libxcb-render0:s390x (1.15-1) ... 411s Setting up unzip (6.0-28ubuntu3) ... 411s Setting up x11-common (1:7.7+23ubuntu2) ... 412s Setting up libxcb-shm0:s390x (1.15-1) ... 412s Setting up libpaper-utils (1.1.29) ... 412s Setting up libgomp1:s390x (14-20240315-1ubuntu1) ... 412s Setting up libcairo2:s390x (1.18.0-1ubuntu1) ... 412s Setting up zip (3.0-13) ... 412s Setting up libblas3:s390x (3.12.0-3) ... 412s 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 412s Setting up libtcl8.6:s390x (8.6.14+dfsg-1) ... 412s Setting up libgfortran5:s390x (14-20240315-1ubuntu1) ... 412s Setting up libharfbuzz0b:s390x (8.3.0-2build1) ... 412s Setting up libthai-data (0.1.29-2) ... 412s Setting up libxss1:s390x (1:1.2.3-1build2) ... 412s Setting up libssh2-1t64:s390x (1.11.0-4.1build1) ... 412s Setting up xdg-utils (1.1.3-4.1ubuntu3) ... 412s update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode 412s Setting up libhttp-parser2.9:s390x (2.9.4-6) ... 412s Setting up libice6:s390x (2:1.0.10-1build2) ... 412s Setting up liblapack3:s390x (3.12.0-3) ... 412s 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 412s Setting up libxft2:s390x (2.3.6-1) ... 412s Setting up libtk8.6:s390x (8.6.14-1) ... 412s Setting up libthai0:s390x (0.1.29-2) ... 412s Setting up libgit2-1.7:s390x (1.7.2+ds-1ubuntu2) ... 412s Setting up libsm6:s390x (2:1.2.3-1build2) ... 412s Setting up libpango-1.0-0:s390x (1.52.1+ds-1) ... 412s Setting up libxt6t64:s390x (1:1.2.1-1.2) ... 412s Setting up libpangoft2-1.0-0:s390x (1.52.1+ds-1) ... 412s Setting up libpangocairo-1.0-0:s390x (1.52.1+ds-1) ... 412s Setting up r-base-core (4.3.3-2build1) ... 412s 412s Creating config file /etc/R/Renviron with new version 412s Setting up r-cran-git2r (0.33.0+dfsg-1) ... 412s Setting up autopkgtest-satdep (0) ... 412s Processing triggers for man-db (2.12.0-3build4) ... 413s Processing triggers for install-info (7.1-3build1) ... 413s Processing triggers for libc-bin (2.39-0ubuntu6) ... 416s (Reading database ... 83485 files and directories currently installed.) 416s Removing autopkgtest-satdep (0) ... 417s autopkgtest [00:12:05]: test run-unit-test: [----------------------- 417s BEGIN TEST add-force.R 417s 417s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 417s Copyright (C) 2024 The R Foundation for Statistical Computing 417s Platform: s390x-ibm-linux-gnu (64-bit) 417s 417s R is free software and comes with ABSOLUTELY NO WARRANTY. 417s You are welcome to redistribute it under certain conditions. 417s Type 'license()' or 'licence()' for distribution details. 417s 417s R is a collaborative project with many contributors. 417s Type 'contributors()' for more information and 417s 'citation()' on how to cite R or R packages in publications. 417s 417s Type 'demo()' for some demos, 'help()' for on-line help, or 417s 'help.start()' for an HTML browser interface to help. 417s Type 'q()' to quit R. 417s 417s > ## git2r, R bindings to the libgit2 library. 417s > ## Copyright (C) 2013-2023 The git2r contributors 417s > ## 417s > ## This program is free software; you can redistribute it and/or modify 417s > ## it under the terms of the GNU General Public License, version 2, 417s > ## as published by the Free Software Foundation. 417s > ## 417s > ## git2r is distributed in the hope that it will be useful, 417s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 417s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 417s > ## GNU General Public License for more details. 417s > ## 417s > ## You should have received a copy of the GNU General Public License along 417s > ## with this program; if not, write to the Free Software Foundation, Inc., 417s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 417s > 417s > library(git2r) 417s > source("util/check.R") 417s > 417s > ## For debugging 417s > sessionInfo() 417s R version 4.3.3 (2024-02-29) 417s Platform: s390x-ibm-linux-gnu (64-bit) 417s Running under: Ubuntu Noble Numbat (development branch) 417s 417s Matrix products: default 417s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 417s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 417s 417s locale: 417s [1] C 417s 417s time zone: Etc/UTC 417s tzcode source: system (glibc) 417s 417s attached base packages: 417s [1] stats graphics grDevices utils datasets methods base 417s 417s other attached packages: 417s [1] git2r_0.33.0 417s 417s loaded via a namespace (and not attached): 417s [1] compiler_4.3.3 417s > libgit2_version() 417s $major 417s [1] 1 417s 417s $minor 417s [1] 7 417s 417s $rev 417s [1] 2 417s 417s > libgit2_features() 417s $threads 417s [1] TRUE 417s 417s $https 417s [1] TRUE 417s 417s $ssh 417s [1] TRUE 417s 417s > 417s > ## Create a directory in tempdir 417s > path <- tempfile(pattern = "git2r-") 417s > dir.create(path) 417s > 417s > ## Initialize a repository 417s > repo <- init(path) 417s > config(repo, user.name = "Alice", user.email = "alice@example.org") 417s > 417s > ## Create a '.gitignore' file 417s > writeLines("test.txt", file.path(path, ".gitignore")) 417s > add(repo, ".gitignore") 417s > commit(repo, "First commit message") 417s [f426c81] 2024-03-28: First commit message 417s > 417s > ## Create a file 417s > writeLines("Hello world!", file.path(path, "test.txt")) 417s > 417s > ## Check status 417s > s_1 <- structure(list(staged = empty_named_list(), 417s + unstaged = empty_named_list(), 417s + untracked = empty_named_list(), 417s + ignored = list(ignored = "test.txt")), 417s + class = "git_status") 417s > stopifnot(identical(status(repo, ignored = TRUE), s_1)) 417s > 417s > ## The file is ignored and should not be added 417s > add(repo, "test.txt") 417s > stopifnot(identical(status(repo, ignored = TRUE), s_1)) 417s > 417s > ## The file is ignored but should be added with force 417s > s_2 <- structure(list(staged = list(new = "test.txt"), 417s + unstaged = empty_named_list(), 417s + untracked = empty_named_list(), 417s + ignored = empty_named_list()), 417s + class = "git_status") 417s > 417s > add(repo, "test.txt", force = TRUE) 417s > stopifnot(identical(status(repo, ignored = TRUE), s_2)) 417s > 417s > ## Commit and check status 417s > s_3 <- structure(list(staged = empty_named_list(), 417s + unstaged = empty_named_list(), 417s + untracked = empty_named_list(), 417s + ignored = empty_named_list()), 417s + class = "git_status") 417s > 417s > commit(repo, "Second commit message") 417s [3de32b1] 2024-03-28: Second commit message 417s > stopifnot(identical(status(repo, ignored = TRUE), s_3)) 417s > 417s > ## Cleanup 417s > unlink(path, recursive = TRUE) 417s > 417s BEGIN TEST bare_repository.R 417s 417s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 417s Copyright (C) 2024 The R Foundation for Statistical Computing 417s Platform: s390x-ibm-linux-gnu (64-bit) 417s 417s R is free software and comes with ABSOLUTELY NO WARRANTY. 417s You are welcome to redistribute it under certain conditions. 417s Type 'license()' or 'licence()' for distribution details. 417s 417s R is a collaborative project with many contributors. 417s Type 'contributors()' for more information and 417s 'citation()' on how to cite R or R packages in publications. 417s 417s Type 'demo()' for some demos, 'help()' for on-line help, or 417s 'help.start()' for an HTML browser interface to help. 417s Type 'q()' to quit R. 417s 417s > ## git2r, R bindings to the libgit2 library. 417s > ## Copyright (C) 2013-2023 The git2r contributors 417s > ## 417s > ## This program is free software; you can redistribute it and/or modify 417s > ## it under the terms of the GNU General Public License, version 2, 417s > ## as published by the Free Software Foundation. 417s > ## 417s > ## git2r is distributed in the hope that it will be useful, 417s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 417s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 417s > ## GNU General Public License for more details. 417s > ## 417s > ## You should have received a copy of the GNU General Public License along 417s > ## with this program; if not, write to the Free Software Foundation, Inc., 417s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 417s > 417s > library("git2r") 417s > 417s > ## For debugging 417s > sessionInfo() 417s R version 4.3.3 (2024-02-29) 417s Platform: s390x-ibm-linux-gnu (64-bit) 417s Running under: Ubuntu Noble Numbat (development branch) 417s 417s Matrix products: default 417s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 417s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 417s 417s locale: 417s [1] C 417s 417s time zone: Etc/UTC 417s tzcode source: system (glibc) 417s 417s attached base packages: 417s [1] stats graphics grDevices utils datasets methods base 417s 417s other attached packages: 417s [1] git2r_0.33.0 417s 417s loaded via a namespace (and not attached): 417s [1] compiler_4.3.3 417s > libgit2_version() 417s $major 417s [1] 1 417s 417s $minor 417s [1] 7 417s 417s $rev 417s [1] 2 417s 417s > libgit2_features() 417s $threads 417s [1] TRUE 417s 417s $https 417s [1] TRUE 417s 417s $ssh 417s [1] TRUE 417s 417s > 417s > 417s > ## Create a directory in tempdir 417s > path <- tempfile(pattern = "git2r-") 417s > dir.create(path) 417s > 417s > ## Initialize a bare repository 417s > repo <- init(path, bare = TRUE) 417s > 417s > ## Check that the state of the repository 417s > stopifnot(identical(is_bare(repo), TRUE)) 417s > stopifnot(identical(is_empty(repo), TRUE)) 417s > 417s > ## Check that workdir is NULL for a bare repository 417s > stopifnot(is.null(workdir(repo))) 417s > 417s > ## Check with missing repo argument 417s > setwd(path) 417s > stopifnot(identical(is_bare(), TRUE)) 417s > 417s > ## Cleanup 417s > unlink(path, recursive = TRUE) 417s > 417s BEGIN TEST blame.R 417s sh: 0: getcwd() failed: No such file or directory 418s 418s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 418s Copyright (C) 2024 The R Foundation for Statistical Computing 418s Platform: s390x-ibm-linux-gnu (64-bit) 418s 418s R is free software and comes with ABSOLUTELY NO WARRANTY. 418s You are welcome to redistribute it under certain conditions. 418s Type 'license()' or 'licence()' for distribution details. 418s 418s R is a collaborative project with many contributors. 418s Type 'contributors()' for more information and 418s 'citation()' on how to cite R or R packages in publications. 418s 418s Type 'demo()' for some demos, 'help()' for on-line help, or 418s 'help.start()' for an HTML browser interface to help. 418s Type 'q()' to quit R. 418s 418s > ## git2r, R bindings to the libgit2 library. 418s > ## Copyright (C) 2013-2023 The git2r contributors 418s > ## 418s > ## This program is free software; you can redistribute it and/or modify 418s > ## it under the terms of the GNU General Public License, version 2, 418s > ## as published by the Free Software Foundation. 418s > ## 418s > ## git2r is distributed in the hope that it will be useful, 418s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 418s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 418s > ## GNU General Public License for more details. 418s > ## 418s > ## You should have received a copy of the GNU General Public License along 418s > ## with this program; if not, write to the Free Software Foundation, Inc., 418s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 418s > 418s > library(git2r) 418s > 418s > ## For debugging 418s > sessionInfo() 418s R version 4.3.3 (2024-02-29) 418s Platform: s390x-ibm-linux-gnu (64-bit) 418s Running under: Ubuntu Noble Numbat (development branch) 418s 418s Matrix products: default 418s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 418s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 418s 418s locale: 418s [1] C 418s 418s time zone: Etc/UTC 418s tzcode source: system (glibc) 418s 418s attached base packages: 418s [1] stats graphics grDevices utils datasets methods base 418s 418s other attached packages: 418s [1] git2r_0.33.0 418s 418s loaded via a namespace (and not attached): 418s [1] compiler_4.3.3 418s > libgit2_version() 418s $major 418s [1] 1 418s 418s $minor 418s [1] 7 418s 418s $rev 418s [1] 2 418s 418s > libgit2_features() 418s $threads 418s [1] TRUE 418s 418s $https 418s [1] TRUE 418s 418s $ssh 418s [1] TRUE 418s 418s > 418s > 418s > ## Create a directory in tempdir 418s > path <- tempfile(pattern = "git2r-") 418s > dir.create(path) 418s > 418s > ## Initialize a repository 418s > repo <- init(path) 418s > config(repo, user.name = "Alice", user.email = "alice@example.org") 418s > 418s > ## Create a file and commit 418s > writeLines("Hello world!", file.path(path, "test.txt")) 418s > add(repo, "test.txt") 418s > commit_1 <- commit(repo, "First commit message") 418s > 418s > ## Create new user and change file 418s > config(repo, user.name = "Bob", user.email = "bob@example.org") 418s > writeLines(c("Hello world!", "HELLO WORLD!", "HOLA"), 418s + file.path(path, "test.txt")) 418s > add(repo, "test.txt") 418s > commit_2 <- commit(repo, "Second commit message") 418s > 418s > ## Check blame 418s > b <- blame(repo, "test.txt") 418s > stopifnot(identical(length(b$hunks), 2L)) 418s > 418s > ## Hunk: 1 418s > stopifnot(identical(b$hunks[[1]]$lines_in_hunk, 1L)) 418s > stopifnot(identical(b$hunks[[1]]$final_commit_id, sha(commit_1))) 418s > stopifnot(identical(b$hunks[[1]]$final_start_line_number, 1L)) 418s > stopifnot(identical(b$hunks[[1]]$final_signature$name, "Alice")) 418s > stopifnot(identical(b$hunks[[1]]$final_signature$email, "alice@example.org")) 418s > stopifnot(identical(b$hunks[[1]]$orig_commit_id, sha(commit_1))) 418s > stopifnot(identical(b$hunks[[1]]$orig_start_line_number, 1L)) 418s > stopifnot(identical(b$hunks[[1]]$orig_signature$name, "Alice")) 418s > stopifnot(identical(b$hunks[[1]]$orig_signature$email, "alice@example.org")) 418s > stopifnot(identical(b$hunks[[1]]$orig_path, "test.txt")) 418s > stopifnot(identical(b$hunks[[1]]$boundary, TRUE)) 418s > 418s > ## Hunk: 2 418s > stopifnot(identical(b$hunks[[2]]$lines_in_hunk, 2L)) 418s > stopifnot(identical(b$hunks[[2]]$final_commit_id, sha(commit_2))) 418s > stopifnot(identical(b$hunks[[2]]$final_start_line_number, 2L)) 418s > stopifnot(identical(b$hunks[[2]]$final_signature$name, "Bob")) 418s > stopifnot(identical(b$hunks[[2]]$final_signature$email, "bob@example.org")) 418s > stopifnot(identical(b$hunks[[2]]$orig_commit_id, sha(commit_2))) 418s > stopifnot(identical(b$hunks[[2]]$orig_start_line_number, 2L)) 418s > stopifnot(identical(b$hunks[[2]]$orig_signature$name, "Bob")) 418s > stopifnot(identical(b$hunks[[2]]$orig_signature$email, "bob@example.org")) 418s > stopifnot(identical(b$hunks[[2]]$orig_path, "test.txt")) 418s > stopifnot(identical(b$hunks[[2]]$boundary, FALSE)) 418s > 418s > ## Cleanup 418s > unlink(path, recursive = TRUE) 418s > 418s BEGIN TEST blob.R 418s 418s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 418s Copyright (C) 2024 The R Foundation for Statistical Computing 418s Platform: s390x-ibm-linux-gnu (64-bit) 418s 418s R is free software and comes with ABSOLUTELY NO WARRANTY. 418s You are welcome to redistribute it under certain conditions. 418s Type 'license()' or 'licence()' for distribution details. 418s 418s R is a collaborative project with many contributors. 418s Type 'contributors()' for more information and 418s 'citation()' on how to cite R or R packages in publications. 418s 418s Type 'demo()' for some demos, 'help()' for on-line help, or 418s 'help.start()' for an HTML browser interface to help. 418s Type 'q()' to quit R. 418s 418s > ## git2r, R bindings to the libgit2 library. 418s > ## Copyright (C) 2013-2023 The git2r contributors 418s > ## 418s > ## This program is free software; you can redistribute it and/or modify 418s > ## it under the terms of the GNU General Public License, version 2, 418s > ## as published by the Free Software Foundation. 418s > ## 418s > ## git2r is distributed in the hope that it will be useful, 418s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 418s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 418s > ## GNU General Public License for more details. 418s > ## 418s > ## You should have received a copy of the GNU General Public License along 418s > ## with this program; if not, write to the Free Software Foundation, Inc., 418s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 418s > 418s > library(git2r) 418s > library(tools) 418s > source("util/check.R") 418s > 418s > ## For debugging 418s > sessionInfo() 418s R version 4.3.3 (2024-02-29) 418s Platform: s390x-ibm-linux-gnu (64-bit) 418s Running under: Ubuntu Noble Numbat (development branch) 418s 418s Matrix products: default 418s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 418s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 418s 418s locale: 418s [1] C 418s 418s time zone: Etc/UTC 418s tzcode source: system (glibc) 418s 418s attached base packages: 418s [1] tools stats graphics grDevices utils datasets methods 418s [8] base 418s 418s other attached packages: 418s [1] git2r_0.33.0 418s 418s loaded via a namespace (and not attached): 418s [1] compiler_4.3.3 418s > libgit2_version() 418s $major 418s [1] 1 418s 418s $minor 418s [1] 7 418s 418s $rev 418s [1] 2 418s 418s > libgit2_features() 418s $threads 418s [1] TRUE 418s 418s $https 418s [1] TRUE 418s 418s $ssh 418s [1] TRUE 418s 418s > 418s > 418s > ## Create a directory in tempdir 418s > path <- tempfile(pattern = "git2r-") 418s > dir.create(path) 418s > 418s > ## Initialize a repository 418s > repo <- init(path) 418s > config(repo, user.name = "Alice", user.email = "alice@example.org") 418s > 418s > ## Create a file 418s > f <- file(file.path(path, "test.txt"), "wb") 418s > writeChar("Hello world!\n", f, eos = NULL) 418s > close(f) 418s > 418s > ## add and commit 418s > add(repo, "test.txt") 418s > new_commit <- commit(repo, "Commit message") 418s > 418s > ## Lookup blob 418s > blob <- lookup(repo, "cd0875583aabe89ee197ea133980a9085d08e497") 418s > stopifnot(isTRUE(is_blob(blob))) 418s > stopifnot(identical(sha(blob), "cd0875583aabe89ee197ea133980a9085d08e497")) 418s > stopifnot(identical(is_binary(blob), FALSE)) 418s > stopifnot(identical(blob, lookup(repo, "cd0875"))) 418s > stopifnot(identical(length(blob), 13L)) 418s > stopifnot(identical(content(blob), "Hello world!")) 418s > stopifnot(identical(print(blob), blob)) 418s blob: cd0875583aabe89ee197ea133980a9085d08e497 418s size: 13 bytes 418s > 418s > ## Add one more commit 418s > f <- file(file.path(path, "test.txt"), "wb") 418s > writeChar("Hello world!\nHELLO WORLD!\nHeLlO wOrLd!\n", f, eos = NULL) 418s > close(f) 418s > add(repo, "test.txt") 418s > blob <- lookup(repo, tree(commit(repo, "New commit message"))$id[1]) 418s > stopifnot(identical(content(blob), 418s + c("Hello world!", "HELLO WORLD!", "HeLlO wOrLd!"))) 418s > stopifnot(identical(rawToChar(content(blob, raw = TRUE)), 418s + content(blob, split = FALSE))) 418s > 418s > ## Check content of binary file 418s > set.seed(42) 418s > x <- as.raw((sample(0:255, 1000, replace = TRUE))) 418s > writeBin(x, con = file.path(path, "test.bin")) 418s > add(repo, "test.bin") 418s > commit(repo, "Add binary file") 418s [b5d9f52] 2024-03-28: Add binary file 418s > blob <- tree(last_commit(repo))["test.bin"] 418s > stopifnot(identical(content(blob), NA_character_)) 418s > stopifnot(identical(x, content(blob, raw = TRUE))) 418s > 418s > ## Hash 418s > stopifnot(identical(hash("Hello, world!\n"), 418s + "af5626b4a114abcb82d63db7c8082c3c4756e51b")) 418s > stopifnot(identical(hash("test content\n"), 418s + "d670460b4b4aece5915caf5c68d12f560a9fe3e4")) 418s > stopifnot(identical(hash(c("Hello, world!\n", 418s + "test content\n")), 418s + c("af5626b4a114abcb82d63db7c8082c3c4756e51b", 418s + "d670460b4b4aece5915caf5c68d12f560a9fe3e4"))) 418s > stopifnot(identical(hash(c("Hello, world!\n", 418s + NA_character_, 418s + "test content\n")), 418s + c("af5626b4a114abcb82d63db7c8082c3c4756e51b", 418s + NA_character_, 418s + "d670460b4b4aece5915caf5c68d12f560a9fe3e4"))) 418s > stopifnot(identical(hash(character(0)), character(0))) 418s > 418s > ## Hash file 418s > test_1_txt <- file(file.path(path, "test-1.txt"), "wb") 418s > writeChar("Hello, world!\n", test_1_txt, eos = NULL) 418s > close(test_1_txt) 418s > test_2_txt <- file(file.path(path, "test-2.txt"), "wb") 418s > writeChar("test content\n", test_2_txt, eos = NULL) 418s > close(test_2_txt) 418s > stopifnot(identical(hash("Hello, world!\n"), 418s + hashfile(file.path(path, "test-1.txt")))) 418s > stopifnot(identical(hash("test content\n"), 418s + hashfile(file.path(path, "test-2.txt")))) 418s > stopifnot(identical(hash(c("Hello, world!\n", 418s + "test content\n")), 418s + hashfile(c(file.path(path, "test-1.txt"), 418s + file.path(path, "test-2.txt"))))) 418s > assertError(hashfile(c(file.path(path, "test-1.txt"), 418s + NA_character_, 418s + file.path(path, "test-2.txt")))) 418s > stopifnot(identical(hashfile(character(0)), character(0))) 418s > 418s > ## Create blob from disk 418s > tmp_file_1 <- tempfile() 418s > tmp_file_2 <- tempfile() 418s > f1 <- file(tmp_file_1, "wb") 418s > writeChar("Hello, world!\n", f1, eos = NULL) 418s > close(f1) 418s > f2 <- file(tmp_file_2, "wb") 418s > writeChar("test content\n", f2, eos = NULL) 418s > close(f2) 418s > blob_list_1 <- blob_create(repo, c(tmp_file_1, tmp_file_2), relative = FALSE) 418s > unlink(tmp_file_1) 418s > unlink(tmp_file_2) 418s > stopifnot(identical(sapply(blob_list_1, "[[", "sha"), 418s + c("af5626b4a114abcb82d63db7c8082c3c4756e51b", 418s + "d670460b4b4aece5915caf5c68d12f560a9fe3e4"))) 418s > 418s > ## Create blob from workdir 418s > tmp_file_3 <- file.path(path, "test-workdir-1.txt") 418s > tmp_file_4 <- file.path(path, "test-workdir-2.txt") 418s > f3 <- file(tmp_file_3, "wb") 418s > writeChar("Hello, world!\n", f3, eos = NULL) 418s > close(f3) 418s > f4 <- file(tmp_file_4, "wb") 418s > writeChar("test content\n", f4, eos = NULL) 418s > close(f4) 418s > blob_list_2 <- blob_create(repo, c("test-workdir-1.txt", 418s + "test-workdir-2.txt")) 418s > stopifnot(identical(sapply(blob_list_2, "[[", "sha"), 418s + c("af5626b4a114abcb82d63db7c8082c3c4756e51b", 418s + "d670460b4b4aece5915caf5c68d12f560a9fe3e4"))) 418s > 418s > ## Test arguments 418s > check_error(assertError(.Call(git2r:::git2r_blob_content, NULL, FALSE)), 418s + "'blob' must be an S3 class git_blob") 418s > check_error(assertError(.Call(git2r:::git2r_blob_content, 3, FALSE)), 418s + "'blob' must be an S3 class git_blob") 418s > check_error(assertError(.Call(git2r:::git2r_blob_content, repo, FALSE)), 418s + "'blob' must be an S3 class git_blob") 418s > 418s > b <- blob_list_1[[1]] 418s > b$sha <- NA_character_ 418s > check_error(assertError(.Call(git2r:::git2r_blob_content, b, FALSE)), 418s + "'blob' must be an S3 class git_blob") 418s > 418s > check_error(assertError(hashfile(NA)), "invalid 'path' argument") 418s > 418s > ## Cleanup 418s > unlink(path, recursive = TRUE) 418s > 418s BEGIN TEST branch.R 418s 418s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 418s Copyright (C) 2024 The R Foundation for Statistical Computing 418s Platform: s390x-ibm-linux-gnu (64-bit) 418s 418s R is free software and comes with ABSOLUTELY NO WARRANTY. 418s You are welcome to redistribute it under certain conditions. 418s Type 'license()' or 'licence()' for distribution details. 418s 418s R is a collaborative project with many contributors. 418s Type 'contributors()' for more information and 418s 'citation()' on how to cite R or R packages in publications. 418s 418s Type 'demo()' for some demos, 'help()' for on-line help, or 418s 'help.start()' for an HTML browser interface to help. 418s Type 'q()' to quit R. 418s 418s > ## git2r, R bindings to the libgit2 library. 418s > ## Copyright (C) 2013-2023 The git2r contributors 418s > ## 418s > ## This program is free software; you can redistribute it and/or modify 418s > ## it under the terms of the GNU General Public License, version 2, 418s > ## as published by the Free Software Foundation. 418s > ## 418s > ## git2r is distributed in the hope that it will be useful, 418s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 418s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 418s > ## GNU General Public License for more details. 418s > ## 418s > ## You should have received a copy of the GNU General Public License along 418s > ## with this program; if not, write to the Free Software Foundation, Inc., 418s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 418s > 418s > library(git2r) 418s > 418s > ## For debugging 418s > sessionInfo() 418s R version 4.3.3 (2024-02-29) 418s Platform: s390x-ibm-linux-gnu (64-bit) 418s Running under: Ubuntu Noble Numbat (development branch) 418s 418s Matrix products: default 418s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 418s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 418s 418s locale: 418s [1] C 418s 418s time zone: Etc/UTC 418s tzcode source: system (glibc) 418s 418s attached base packages: 418s [1] stats graphics grDevices utils datasets methods base 418s 418s other attached packages: 418s [1] git2r_0.33.0 418s 418s loaded via a namespace (and not attached): 418s [1] compiler_4.3.3 418s > libgit2_version() 418s $major 418s [1] 1 418s 418s $minor 418s [1] 7 418s 418s $rev 418s [1] 2 418s 418s > libgit2_features() 418s $threads 418s [1] TRUE 418s 418s $https 418s [1] TRUE 418s 418s $ssh 418s [1] TRUE 418s 418s > 418s > 418s > ## Create a directory in tempdir 418s > path <- tempfile(pattern = "git2r-") 418s > dir.create(path) 418s > 418s > ## Initialize a repository 418s > repo <- init(path, branch = "main") 418s > config(repo, user.name = "Alice", user.email = "alice@example.org") 418s > 418s > ## Create a file 418s > writeLines("Hello world!", file.path(path, "test.txt")) 418s > 418s > ## add and commit 418s > add(repo, "test.txt") 418s > commit_1 <- commit(repo, "Commit message") 418s > 418s > ## Check branch 418s > stopifnot(identical(length(branches(repo)), 1L)) 418s > stopifnot(identical(is_head(branches(repo)[[1]]), TRUE)) 418s > stopifnot(identical(is_local(branches(repo)[[1]]), TRUE)) 418s > stopifnot(identical(branches(repo)[[1]]$name, "main")) 418s > stopifnot(identical(branches(repo)[[1]], repository_head(repo))) 418s > stopifnot(identical(branches(repo)$main, repository_head(repo))) 418s > 418s > ## Check branch argument 418s > res <- tools::assertError(is_local(1)) 418s > stopifnot(length(grep("argument 'branch' must be a 'git_branch' object", 418s + res[[1]]$message)) > 0) 418s > 418s > ## Check branch name argument 418s > res <- tools::assertError(branch_set_upstream()) 418s > stopifnot(length(grep("Missing argument name", 418s + res[[1]]$message)) > 0) 418s > 418s > ## Print branch 418s > b <- repository_head(repo) 418s > stopifnot(identical(print(b), b)) 418s [83beea] (Local) (HEAD) main 418s > 418s > ## Create a branch 418s > b <- branch_create(commit_1, name = "test") 418s > stopifnot(identical(b$name, "test")) 418s > stopifnot(identical(b$type, 1L)) 418s > stopifnot(identical(sha(b), branch_target(b))) 418s > stopifnot(identical(length(branches(repo)), 2L)) 418s > stopifnot(identical(branch_target(branches(repo)[[1]]), 418s + branch_target(branches(repo)[[2]]))) 418s > 418s > ## Check is_branch 418s > stopifnot(identical(is_branch(b), TRUE)) 418s > stopifnot(identical(is_branch(5), FALSE)) 418s > 418s > ## Add one more commit 418s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test.txt")) 418s > add(repo, "test.txt") 418s > commit_2 <- commit(repo, "Another commit message") 418s > 418s > ## Now the first branch should have moved on 418s > stopifnot(!identical(branch_target(branches(repo)[[1]]), 418s + branch_target(branches(repo)[[2]]))) 418s > 418s > ## Create a branch with the same name should fail 418s > tools::assertError(branch_create(commit_2, name = "test")) 418s > 418s > ## Force it and check the branches are identical again 418s > b <- branch_create(commit_2, name = "test", force = TRUE) 418s > stopifnot(identical(branch_target(branches(repo)[[1]]), 418s + branch_target(branches(repo)[[2]]))) 418s > 418s > ## Test arguments 418s > res <- tools::assertError(.Call(git2r:::git2r_branch_delete, NULL)) 418s > stopifnot(length(grep("'branch' must be an S3 class git_branch", 418s + res[[1]]$message)) > 0) 418s > res <- tools::assertError(.Call(git2r:::git2r_branch_delete, 3)) 418s > stopifnot(length(grep("'branch' must be an S3 class git_branch", 418s + res[[1]]$message)) > 0) 418s > res <- tools::assertError(.Call(git2r:::git2r_branch_delete, repo)) 418s > stopifnot(length(grep("'branch' must be an S3 class git_branch", 418s + res[[1]]$message)) > 0) 418s > b_tmp <- b 418s > b_tmp$name <- NA_character_ 418s > res <- tools::assertError(.Call(git2r:::git2r_branch_delete, b_tmp)) 418s > stopifnot(length(grep("'branch' must be an S3 class git_branch", 418s + res[[1]]$message)) > 0) 418s > b_tmp <- b 418s > b_tmp$type <- NA_integer_ 418s > res <- tools::assertError(.Call(git2r:::git2r_branch_delete, b_tmp)) 418s > stopifnot(length(grep("'branch' must be an S3 class git_branch", 418s + res[[1]]$message)) > 0) 418s > b_tmp$type <- 3L 418s > res <- tools::assertError(.Call(git2r:::git2r_branch_delete, b_tmp)) 418s > stopifnot(length(grep("'branch' must be an S3 class git_branch", 418s + res[[1]]$message)) > 0) 418s > 418s > ## Delete branch 418s > branch_delete(b) 418s > stopifnot(identical(length(branches(repo)), 1L)) 418s > 418s > ## Add one more commit 418s > writeLines(c("Hello world!", "HELLO WORLD!", "hello world"), 418s + file.path(path, "test.txt")) 418s > add(repo, "test.txt") 418s > commit_3 <- commit(repo, "Another third commit message") 418s > 418s > ## Create and test renaming of branches 418s > b_1 <- branch_create(commit_1, name = "test-1") 418s > b_2 <- branch_create(commit_2, name = "test-2") 418s > b_3 <- branch_create(commit_3, name = "test-3") 418s > stopifnot(identical(length(branches(repo)), 4L)) 418s > b_1 <- branch_rename(b_1, name = "test-1-new-name") 418s > stopifnot(identical(length(branches(repo)), 4L)) 418s > stopifnot(identical(b_1$name, "test-1-new-name")) 418s > tools::assertError(branch_rename(b_1, name = "test-2")) 418s > branch_rename(b_1, name = "test-2", force = TRUE) 418s > stopifnot(identical(length(branches(repo)), 3L)) 418s > 418s > ## Check branches method with missing repo argument 418s > wd <- setwd(path) 418s > stopifnot(identical(length(branches()), 3L)) 418s > if (!is.null(wd)) 418s + setwd(wd) 418s > 418s > ## Cleanup 418s > unlink(path, recursive = TRUE) 418s > 418s BEGIN TEST bundle.R 418s 418s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 418s Copyright (C) 2024 The R Foundation for Statistical Computing 418s Platform: s390x-ibm-linux-gnu (64-bit) 418s 418s R is free software and comes with ABSOLUTELY NO WARRANTY. 418s You are welcome to redistribute it under certain conditions. 418s Type 'license()' or 'licence()' for distribution details. 418s 418s R is a collaborative project with many contributors. 418s Type 'contributors()' for more information and 418s 'citation()' on how to cite R or R packages in publications. 418s 418s Type 'demo()' for some demos, 'help()' for on-line help, or 418s 'help.start()' for an HTML browser interface to help. 418s Type 'q()' to quit R. 418s 418s > ## git2r, R bindings to the libgit2 library. 418s > ## Copyright (C) 2013-2023 The git2r contributors 418s > ## 418s > ## This program is free software; you can redistribute it and/or modify 418s > ## it under the terms of the GNU General Public License, version 2, 418s > ## as published by the Free Software Foundation. 418s > ## 418s > ## git2r is distributed in the hope that it will be useful, 418s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 418s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 418s > ## GNU General Public License for more details. 418s > ## 418s > ## You should have received a copy of the GNU General Public License along 418s > ## with this program; if not, write to the Free Software Foundation, Inc., 418s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 418s > 418s > library("git2r") 419s > 419s > ## For debugging 419s > sessionInfo() 419s R version 4.3.3 (2024-02-29) 419s Platform: s390x-ibm-linux-gnu (64-bit) 419s Running under: Ubuntu Noble Numbat (development branch) 419s 419s Matrix products: default 419s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 419s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 419s 419s locale: 419s [1] C 419s 419s time zone: Etc/UTC 419s tzcode source: system (glibc) 419s 419s attached base packages: 419s [1] stats graphics grDevices utils datasets methods base 419s 419s other attached packages: 419s [1] git2r_0.33.0 419s 419s loaded via a namespace (and not attached): 419s [1] compiler_4.3.3 419s > libgit2_version() 419s $major 419s [1] 1 419s 419s $minor 419s [1] 7 419s 419s $rev 419s [1] 2 419s 419s > libgit2_features() 419s $threads 419s [1] TRUE 419s 419s $https 419s [1] TRUE 419s 419s $ssh 419s [1] TRUE 419s 419s > 419s > 419s > ## Create a directory in tempdir 419s > path <- tempfile(pattern = "git2r-") 419s > dir.create(file.path(path, "bundle", "R"), recursive = TRUE) 419s > 419s > ## Initialize a repository 419s > repo <- init(file.path(path, "bundle")) 419s > config(repo, user.name = "Alice", user.email = "alice@example.org") 419s > 419s > ## Create a DESCRIPTION file 419s > writeLines(c( 419s + "package: bundle", 419s + "Title: Bundle Git Repository", 419s + "Description: Bundle a bare repository of the code in the 'inst' folder.", 419s + "Version: 0.1", 419s + "License: GPL-2", 419s + "Authors@R: person('Alice', role = c('aut', 'cre'),", 419s + " email = 'alice@example.org')"), 419s + con = file.path(path, "bundle", "DESCRIPTION")) 419s > add(repo, file.path(path, "bundle", "DESCRIPTION")) 419s > commit(repo, "Add DESCRIPTION file") 419s [356de57] 2024-03-28: Add DESCRIPTION file 419s > 419s > ## Create R file 419s > writeLines("f <- function(x, y) x+y", 419s + con = file.path(path, "bundle", "R", "bundle.R")) 419s > add(repo, file.path(path, "bundle", "R", "bundle.R")) 419s > commit(repo, "Add R file") 419s [ade9631] 2024-03-28: Add R file 419s > 419s > ## Bundle package 419s > bundle_r_package(repo) 419s cloning into '/tmp/RtmpkEwfZ6/git2r-7ce6140b585/bundle/inst/bundle.git'... 419s > 419s > ## Fails if bundled package exists 419s > tools::assertError(bundle_r_package(repo)) 419s > 419s > ## Cleanup 419s > unlink(path, recursive = TRUE) 419s > 419s BEGIN TEST checkout-named-branch.R 419s 419s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 419s Copyright (C) 2024 The R Foundation for Statistical Computing 419s Platform: s390x-ibm-linux-gnu (64-bit) 419s 419s R is free software and comes with ABSOLUTELY NO WARRANTY. 419s You are welcome to redistribute it under certain conditions. 419s Type 'license()' or 'licence()' for distribution details. 419s 419s R is a collaborative project with many contributors. 419s Type 'contributors()' for more information and 419s 'citation()' on how to cite R or R packages in publications. 419s 419s Type 'demo()' for some demos, 'help()' for on-line help, or 419s 'help.start()' for an HTML browser interface to help. 419s Type 'q()' to quit R. 419s 419s > ## git2r, R bindings to the libgit2 library. 419s > ## Copyright (C) 2013-2023 The git2r contributors 419s > ## 419s > ## This program is free software; you can redistribute it and/or modify 419s > ## it under the terms of the GNU General Public License, version 2, 419s > ## as published by the Free Software Foundation. 419s > ## 419s > ## git2r is distributed in the hope that it will be useful, 419s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 419s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 419s > ## GNU General Public License for more details. 419s > ## 419s > ## You should have received a copy of the GNU General Public License along 419s > ## with this program; if not, write to the Free Software Foundation, Inc., 419s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 419s > 419s > library(git2r) 419s > 419s > ## For debugging 419s > sessionInfo() 419s R version 4.3.3 (2024-02-29) 419s Platform: s390x-ibm-linux-gnu (64-bit) 419s Running under: Ubuntu Noble Numbat (development branch) 419s 419s Matrix products: default 419s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 419s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 419s 419s locale: 419s [1] C 419s 419s time zone: Etc/UTC 419s tzcode source: system (glibc) 419s 419s attached base packages: 419s [1] stats graphics grDevices utils datasets methods base 419s 419s other attached packages: 419s [1] git2r_0.33.0 419s 419s loaded via a namespace (and not attached): 419s [1] compiler_4.3.3 419s > libgit2_version() 419s $major 419s [1] 1 419s 419s $minor 419s [1] 7 419s 419s $rev 419s [1] 2 419s 419s > libgit2_features() 419s $threads 419s [1] TRUE 419s 419s $https 419s [1] TRUE 419s 419s $ssh 419s [1] TRUE 419s 419s > 419s > 419s > ## Create directories for repositories in tempdir 419s > path_bare <- tempfile(pattern = "git2r-") 419s > path_repo_1 <- tempfile(pattern = "git2r-") 419s > path_repo_2 <- tempfile(pattern = "git2r-") 419s > 419s > dir.create(path_bare) 419s > dir.create(path_repo_1) 419s > dir.create(path_repo_2) 419s > 419s > ## Create bare repository 419s > bare_repo <- init(path_bare, bare = TRUE) 419s > 419s > ## Clone to repo 1 419s > repo_1 <- clone(path_bare, path_repo_1) 419s cloning into '/tmp/RtmpKVhgjL/git2r-7da413e324d'... 419s > config(repo_1, user.name = "Alice", user.email = "alice@example.org") 419s > 419s > ## Add changes to repo 1 and push to bare 419s > writeLines( 419s + "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 419s + con = file.path(path_repo_1, "test.txt")) 419s > add(repo_1, "test.txt") 419s > commit(repo_1, "First commit message") 419s [886ca97] 2024-03-28: First commit message 419s > branch_name <- branches(repo_1)[[1]]$name 419s > push(repo_1, "origin", paste0("refs/heads/", branch_name)) 419s > 419s > ## Test checkout branch argument 419s > tools::assertError(checkout(repo_1)) 419s > tools::assertError(checkout(repo_1, c("master", "master"))) 419s > tools::assertError(checkout(repo_1, "dev")) 419s > 419s > ## Create and checkout dev branch in repo 1 419s > checkout(repo_1, "dev", create = TRUE) 419s > 419s > ## Add changes to dev branch in repo 1 and push to bare 419s > writeLines( 419s + c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 419s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 419s + con = file.path(path_repo_1, "test.txt")) 419s > add(repo_1, "test.txt") 419s > commit(repo_1, "Second commit message") 419s [f11fe0c] 2024-03-28: Second commit message 419s > push(repo_1, "origin", "refs/heads/dev") 419s > 419s > ## Clone to repo 2 419s > repo_2 <- clone(path_bare, path_repo_2) 419s cloning into '/tmp/RtmpKVhgjL/git2r-7da335f30b4'... 419s > config(repo_2, user.name = "Bob", user.email = "bob@example.org") 419s > 419s > stopifnot(identical( 419s + "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 419s + readLines(file.path(path_repo_2, "test.txt")))) 419s > 419s > ## Checkout dev branch 419s > checkout(repo_2, "dev") 419s > 419s > ## Check content of file 419s > stopifnot(identical( 419s + c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 419s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 419s + readLines(file.path(path_repo_2, "test.txt")))) 419s > 419s > ## Checkout previous branch 419s > checkout(repo_2, "-") 419s > stopifnot(identical(repository_head(repo_2)$name, branch_name)) 419s > 419s > ## Cleanup 419s > unlink(path_bare, recursive = TRUE) 419s > unlink(path_repo_1, recursive = TRUE) 419s > unlink(path_repo_2, recursive = TRUE) 419s > 419s BEGIN TEST checkout.R 419s 419s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 419s Copyright (C) 2024 The R Foundation for Statistical Computing 419s Platform: s390x-ibm-linux-gnu (64-bit) 419s 419s R is free software and comes with ABSOLUTELY NO WARRANTY. 419s You are welcome to redistribute it under certain conditions. 419s Type 'license()' or 'licence()' for distribution details. 419s 419s R is a collaborative project with many contributors. 419s Type 'contributors()' for more information and 419s 'citation()' on how to cite R or R packages in publications. 419s 419s Type 'demo()' for some demos, 'help()' for on-line help, or 419s 'help.start()' for an HTML browser interface to help. 419s Type 'q()' to quit R. 419s 419s > ## git2r, R bindings to the libgit2 library. 419s > ## Copyright (C) 2013-2023 The git2r contributors 419s > ## 419s > ## This program is free software; you can redistribute it and/or modify 419s > ## it under the terms of the GNU General Public License, version 2, 419s > ## as published by the Free Software Foundation. 419s > ## 419s > ## git2r is distributed in the hope that it will be useful, 419s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 419s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 419s > ## GNU General Public License for more details. 419s > ## 419s > ## You should have received a copy of the GNU General Public License along 419s > ## with this program; if not, write to the Free Software Foundation, Inc., 419s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 419s > 419s > library(git2r) 419s > 419s > ## For debugging 419s > sessionInfo() 419s R version 4.3.3 (2024-02-29) 419s Platform: s390x-ibm-linux-gnu (64-bit) 419s Running under: Ubuntu Noble Numbat (development branch) 419s 419s Matrix products: default 419s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 419s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 419s 419s locale: 419s [1] C 419s 419s time zone: Etc/UTC 419s tzcode source: system (glibc) 419s 419s attached base packages: 419s [1] stats graphics grDevices utils datasets methods base 419s 419s other attached packages: 419s [1] git2r_0.33.0 419s 419s loaded via a namespace (and not attached): 419s [1] compiler_4.3.3 419s > libgit2_version() 419s $major 419s [1] 1 419s 419s $minor 419s [1] 7 419s 419s $rev 419s [1] 2 419s 419s > libgit2_features() 419s $threads 419s [1] TRUE 419s 419s $https 419s [1] TRUE 419s 419s $ssh 419s [1] TRUE 419s 419s > 419s > 419s > ## Create a directory in tempdir 419s > path <- tempfile(pattern = "git2r-") 419s > dir.create(path) 419s > 419s > ## Initialize a repository 419s > repo <- init(path, branch = "main") 419s > config(repo, user.name = "Alice", user.email = "alice@example.org") 419s > 419s > ## Create first commit 419s > writeLines("Hello world!", file.path(path, "test.txt")) 419s > add(repo, "test.txt") 419s > commit_1 <- commit(repo, "First commit message") 419s > 419s > ## Edit file and checkout 419s > writeLines(c("Hello world!", "Hello world!"), file.path(path, "test.txt")) 419s > status_exp_1 <- structure(list(staged = structure(list(), 419s + .Names = character(0)), 419s + unstaged = structure(list(modified = "test.txt"), 419s + .Names = "modified"), 419s + untracked = structure(list(), 419s + .Names = character(0))), 419s + .Names = c("staged", "unstaged", "untracked"), 419s + class = "git_status") 419s > status_obs_1 <- status(repo) 419s > str(status_exp_1) 419s List of 3 419s $ staged : Named list() 419s $ unstaged :List of 1 419s ..$ modified: chr "test.txt" 419s $ untracked: Named list() 419s - attr(*, "class")= chr "git_status" 419s > str(status_obs_1) 419s List of 3 419s $ staged : Named list() 419s $ unstaged :List of 1 419s ..$ modified: chr "test.txt" 419s $ untracked: Named list() 419s - attr(*, "class")= chr "git_status" 419s > stopifnot(identical(status_obs_1, status_exp_1)) 419s > checkout(repo, path = "test.txt") 419s > status_exp_2 <- structure(list(staged = structure(list(), 419s + .Names = character(0)), 419s + unstaged = structure(list(), 419s + .Names = character(0)), 419s + untracked = structure(list(), 419s + .Names = character(0))), 419s + .Names = c("staged", "unstaged", "untracked"), 419s + class = "git_status") 419s > status_obs_2 <- status(repo) 419s > str(status_exp_2) 419s List of 3 419s $ staged : Named list() 419s $ unstaged : Named list() 419s $ untracked: Named list() 419s - attr(*, "class")= chr "git_status" 419s > str(status_obs_2) 419s List of 3 419s $ staged : Named list() 419s $ unstaged : Named list() 419s $ untracked: Named list() 419s - attr(*, "class")= chr "git_status" 419s > stopifnot(identical(status_obs_2, status_exp_2)) 419s > 419s > ## Create second commit 419s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test.txt")) 419s > add(repo, "test.txt") 419s > commit_2 <- commit(repo, "Second commit message") 419s > tag(repo, "commit_2", "Tag message") 419s > 419s > ## Create third commit 419s > writeLines(c("Hello world!", "HELLO WORLD!", "HeLlO wOrLd!"), 419s + file.path(path, "test.txt")) 419s > add(repo, "test.txt") 419s > commit_3 <- commit(repo, "Third commit message") 419s > 419s > ## Check HEAD 419s > stopifnot(identical(is_detached(repo), FALSE)) 419s > stopifnot(identical(repository_head(repo)$name, "main")) 419s > 419s > ## Check show and summary 419s > repo 419s Local: main /tmp/Rtmp7gp5oU/git2r-7e617b5c01b 419s Head: [d7dbfc9] 2024-03-28: Third commit message 419s > summary(repo) 419s Local: main /tmp/Rtmp7gp5oU/git2r-7e617b5c01b 419s Head: [d7dbfc9] 2024-03-28: Third commit message 419s 419s Branches: 1 419s Tags: 1 419s Commits: 3 419s Contributors: 1 419s Stashes: 0 419s Ignored files: 0 419s Untracked files: 0 419s Unstaged files: 0 419s Staged files: 0 419s 419s Latest commits: 419s [d7dbfc9] 2024-03-28: Third commit message 419s [04b9394] 2024-03-28: Second commit message 419s [004f388] 2024-03-28: First commit message 419s > 419s > ## Checkout first commit 419s > checkout(commit_1, TRUE) 419s > stopifnot(identical(is_detached(repo), TRUE)) 419s > stopifnot(identical(repository_head(repo), commit_1)) 419s > stopifnot(identical(readLines(file.path(path, "test.txt")), "Hello world!")) 419s > 419s > ## Check show and summary 419s > repo 419s Local: (detached) /tmp/Rtmp7gp5oU/git2r-7e617b5c01b 419s Head: [004f388] 2024-03-28: First commit message 419s > summary(repo) 419s Local: (detached) /tmp/Rtmp7gp5oU/git2r-7e617b5c01b 419s Head: [004f388] 2024-03-28: First commit message 419s 419s Branches: 1 419s Tags: 1 419s Commits: 1 419s Contributors: 1 419s Stashes: 0 419s Ignored files: 0 419s Untracked files: 0 419s Unstaged files: 0 419s Staged files: 0 419s 419s Latest commits: 419s [004f388] 2024-03-28: First commit message 419s > 419s > ## Checkout tag 419s > checkout(tags(repo)[[1]], TRUE) 419s > stopifnot(identical(is_detached(repo), TRUE)) 419s > stopifnot(identical(readLines(file.path(path, "test.txt")), 419s + c("Hello world!", "HELLO WORLD!"))) 419s > 419s > ## Check is_detached with missing repo argument 419s > wd <- setwd(path) 419s > stopifnot(identical(is_detached(), TRUE)) 419s > if (!is.null(wd)) 419s + setwd(wd) 419s > 419s > ## Cleanup 419s > unlink(path, recursive = TRUE) 419s > 419s BEGIN TEST checkout_branch.R 419s 419s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 419s Copyright (C) 2024 The R Foundation for Statistical Computing 419s Platform: s390x-ibm-linux-gnu (64-bit) 419s 419s R is free software and comes with ABSOLUTELY NO WARRANTY. 419s You are welcome to redistribute it under certain conditions. 419s Type 'license()' or 'licence()' for distribution details. 419s 419s R is a collaborative project with many contributors. 419s Type 'contributors()' for more information and 419s 'citation()' on how to cite R or R packages in publications. 419s 419s Type 'demo()' for some demos, 'help()' for on-line help, or 419s 'help.start()' for an HTML browser interface to help. 419s Type 'q()' to quit R. 419s 419s > ## git2r, R bindings to the libgit2 library. 419s > ## Copyright (C) 2013-2023 The git2r contributors 419s > ## 419s > ## This program is free software; you can redistribute it and/or modify 419s > ## it under the terms of the GNU General Public License, version 2, 419s > ## as published by the Free Software Foundation. 419s > ## 419s > ## git2r is distributed in the hope that it will be useful, 419s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 419s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 419s > ## GNU General Public License for more details. 419s > ## 419s > ## You should have received a copy of the GNU General Public License along 419s > ## with this program; if not, write to the Free Software Foundation, Inc., 419s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 419s > 419s > library(git2r) 419s > 419s > ## For debugging 419s > sessionInfo() 419s R version 4.3.3 (2024-02-29) 419s Platform: s390x-ibm-linux-gnu (64-bit) 419s Running under: Ubuntu Noble Numbat (development branch) 419s 419s Matrix products: default 419s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 419s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 419s 419s locale: 419s [1] C 419s 419s time zone: Etc/UTC 419s tzcode source: system (glibc) 419s 419s attached base packages: 419s [1] stats graphics grDevices utils datasets methods base 419s 419s other attached packages: 419s [1] git2r_0.33.0 419s 419s loaded via a namespace (and not attached): 419s [1] compiler_4.3.3 419s > libgit2_version() 419s $major 419s [1] 1 419s 419s $minor 419s [1] 7 419s 419s $rev 419s [1] 2 419s 419s > libgit2_features() 419s $threads 419s [1] TRUE 419s 419s $https 419s [1] TRUE 419s 419s $ssh 419s [1] TRUE 419s 419s > 419s > 419s > ## Create a directory in tempdir 419s > path <- tempfile(pattern = "git2r-") 419s > dir.create(path) 419s > 419s > ## Initialize a repository 419s > repo <- init(path, branch = "main") 419s > config(repo, user.name = "Alice", user.email = "alice@example.org") 419s > 419s > ## Create first commit 419s > writeLines("Hello world!", file.path(path, "test-1.txt")) 419s > add(repo, "test-1.txt") 419s > commit(repo, "First commit message") 419s [0b67953] 2024-03-28: First commit message 419s > 419s > ## Create and checkout dev branch in repo 419s > checkout(repo, "dev", create = TRUE) 419s > 419s > ## Create second commit 419s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test-2.txt")) 419s > add(repo, "test-2.txt") 419s > commit(repo, "Second commit message") 419s [0aa2a70] 2024-03-28: Second commit message 419s > 419s > ## Check files 419s > stopifnot(identical(list.files(path), c("test-1.txt", "test-2.txt"))) 419s > 419s > ## Checkout master branch and check files 419s > checkout(repo, "main") 419s > stopifnot(identical(list.files(path), "test-1.txt")) 419s > 419s > ## Cleanup 419s > unlink(path, recursive = TRUE) 419s > 419s > ## Checkout branch in empty repository 419s > 419s > ## Create a directory in tempdir 419s > path <- tempfile(pattern = "git2r-") 419s > dir.create(path) 419s > 419s > ## Initialize a repository 419s > repo <- init(path) 419s > config(repo, user.name = "Alice", user.email = "alice@example.org") 419s > 419s > ## Create and checkout dev branch in repo 419s > checkout(repo, "dev", create = TRUE) 419s > 419s > ## Create first commit 419s > writeLines("Hello world!", file.path(path, "test-1.txt")) 419s > add(repo, "test-1.txt") 419s > commit(repo, "First commit message") 419s [0b67953] 2024-03-28: First commit message 419s > 419s > stopifnot(identical(length(branches(repo)), 1L)) 419s > stopifnot(identical(branches(repo)[[1]]$name, "dev")) 419s > 419s > ## Cleanup 419s > unlink(path, recursive = TRUE) 419s > 419s BEGIN TEST checkout_commit.R 419s 419s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 419s Copyright (C) 2024 The R Foundation for Statistical Computing 419s Platform: s390x-ibm-linux-gnu (64-bit) 419s 419s R is free software and comes with ABSOLUTELY NO WARRANTY. 419s You are welcome to redistribute it under certain conditions. 419s Type 'license()' or 'licence()' for distribution details. 419s 419s R is a collaborative project with many contributors. 419s Type 'contributors()' for more information and 419s 'citation()' on how to cite R or R packages in publications. 419s 419s Type 'demo()' for some demos, 'help()' for on-line help, or 419s 'help.start()' for an HTML browser interface to help. 419s Type 'q()' to quit R. 419s 419s > ## git2r, R bindings to the libgit2 library. 419s > ## Copyright (C) 2013-2023 The git2r contributors 419s > ## 419s > ## This program is free software; you can redistribute it and/or modify 419s > ## it under the terms of the GNU General Public License, version 2, 419s > ## as published by the Free Software Foundation. 419s > ## 419s > ## git2r is distributed in the hope that it will be useful, 419s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 419s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 419s > ## GNU General Public License for more details. 419s > ## 419s > ## You should have received a copy of the GNU General Public License along 419s > ## with this program; if not, write to the Free Software Foundation, Inc., 419s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 419s > 419s > library("git2r") 420s > 420s > ## For debugging 420s > sessionInfo() 420s R version 4.3.3 (2024-02-29) 420s Platform: s390x-ibm-linux-gnu (64-bit) 420s Running under: Ubuntu Noble Numbat (development branch) 420s 420s Matrix products: default 420s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 420s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 420s 420s locale: 420s [1] C 420s 420s time zone: Etc/UTC 420s tzcode source: system (glibc) 420s 420s attached base packages: 420s [1] stats graphics grDevices utils datasets methods base 420s 420s other attached packages: 420s [1] git2r_0.33.0 420s 420s loaded via a namespace (and not attached): 420s [1] compiler_4.3.3 420s > libgit2_version() 420s $major 420s [1] 1 420s 420s $minor 420s [1] 7 420s 420s $rev 420s [1] 2 420s 420s > libgit2_features() 420s $threads 420s [1] TRUE 420s 420s $https 420s [1] TRUE 420s 420s $ssh 420s [1] TRUE 420s 420s > 420s > 420s > ## Create a directory in tempdir 420s > path <- tempfile(pattern = "git2r-") 420s > dir.create(path) 420s > 420s > ## Initialize a repository 420s > repo <- init(path) 420s > config(repo, user.name = "Alice", user.email = "alice@example.org") 420s > 420s > ## Create first commit 420s > writeLines("Hello world!", file.path(path, "test-1.txt")) 420s > add(repo, "test-1.txt") 420s > commit_1 <- commit(repo, "First commit message") 420s > 420s > ## Create and checkout dev branch in repo 420s > checkout(repo, "dev", create = TRUE) 420s > 420s > ## Create second commit 420s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test-2.txt")) 420s > add(repo, "test-2.txt") 420s > commit_2 <- commit(repo, "Second commit message") 420s > 420s > ## Check files 420s > stopifnot(identical(list.files(path), c("test-1.txt", "test-2.txt"))) 420s > 420s > ## Checkout commit_1 and check files 420s > checkout(commit_1) 420s > stopifnot(identical(list.files(path), "test-1.txt")) 420s > 420s > ## Checkout commit_2 and check files 420s > checkout(commit_2) 420s > stopifnot(identical(list.files(path), c("test-1.txt", "test-2.txt"))) 420s > 420s > ## Cleanup 420s > unlink(path, recursive = TRUE) 420s > 420s BEGIN TEST checkout_tag.R 420s 420s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 420s Copyright (C) 2024 The R Foundation for Statistical Computing 420s Platform: s390x-ibm-linux-gnu (64-bit) 420s 420s R is free software and comes with ABSOLUTELY NO WARRANTY. 420s You are welcome to redistribute it under certain conditions. 420s Type 'license()' or 'licence()' for distribution details. 420s 420s R is a collaborative project with many contributors. 420s Type 'contributors()' for more information and 420s 'citation()' on how to cite R or R packages in publications. 420s 420s Type 'demo()' for some demos, 'help()' for on-line help, or 420s 'help.start()' for an HTML browser interface to help. 420s Type 'q()' to quit R. 420s 420s > ## git2r, R bindings to the libgit2 library. 420s > ## Copyright (C) 2013-2023 The git2r contributors 420s > ## 420s > ## This program is free software; you can redistribute it and/or modify 420s > ## it under the terms of the GNU General Public License, version 2, 420s > ## as published by the Free Software Foundation. 420s > ## 420s > ## git2r is distributed in the hope that it will be useful, 420s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 420s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 420s > ## GNU General Public License for more details. 420s > ## 420s > ## You should have received a copy of the GNU General Public License along 420s > ## with this program; if not, write to the Free Software Foundation, Inc., 420s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 420s > 420s > library(git2r) 420s > 420s > ## For debugging 420s > sessionInfo() 420s R version 4.3.3 (2024-02-29) 420s Platform: s390x-ibm-linux-gnu (64-bit) 420s Running under: Ubuntu Noble Numbat (development branch) 420s 420s Matrix products: default 420s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 420s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 420s 420s locale: 420s [1] C 420s 420s time zone: Etc/UTC 420s tzcode source: system (glibc) 420s 420s attached base packages: 420s [1] stats graphics grDevices utils datasets methods base 420s 420s other attached packages: 420s [1] git2r_0.33.0 420s 420s loaded via a namespace (and not attached): 420s [1] compiler_4.3.3 420s > libgit2_version() 420s $major 420s [1] 1 420s 420s $minor 420s [1] 7 420s 420s $rev 420s [1] 2 420s 420s > libgit2_features() 420s $threads 420s [1] TRUE 420s 420s $https 420s [1] TRUE 420s 420s $ssh 420s [1] TRUE 420s 420s > 420s > 420s > ## Create a directory in tempdir 420s > path <- tempfile(pattern = "git2r-") 420s > dir.create(path) 420s > 420s > ## Initialize a repository 420s > repo <- init(path) 420s > config(repo, user.name = "Alice", user.email = "alice@example.org") 420s > 420s > ## Create first commit 420s > writeLines("Hello world!", file.path(path, "test-1.txt")) 420s > add(repo, "test-1.txt") 420s > commit_1 <- commit(repo, "First commit message") 420s > tag_1 <- tag(repo, "Tag1", "First tag message") 420s > 420s > ## Create and checkout dev branch in repo 420s > checkout(repo, "dev", create = TRUE) 420s > 420s > ## Create second commit 420s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test-2.txt")) 420s > add(repo, "test-2.txt") 420s > commit_2 <- commit(repo, "Second commit message") 420s > tag_2 <- tag(repo, "Tag2", "Second tag message") 420s > 420s > ## Check files 420s > stopifnot(identical(list.files(path), c("test-1.txt", "test-2.txt"))) 420s > 420s > ## Checkout tag_1 and check files 420s > checkout(tag_1) 420s > stopifnot(identical(list.files(path), "test-1.txt")) 420s > 420s > ## Checkout tag_2 and check files 420s > checkout(tag_2) 420s > stopifnot(identical(list.files(path), c("test-1.txt", "test-2.txt"))) 420s > 420s > ## Checkout "Tag1" and check files 420s > checkout(repo, "Tag1") 420s > stopifnot(identical(list.files(path), "test-1.txt")) 420s > 420s > ## Cleanup 420s > unlink(path, recursive = TRUE) 420s > 420s BEGIN TEST clone_bare.R 420s 420s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 420s Copyright (C) 2024 The R Foundation for Statistical Computing 420s Platform: s390x-ibm-linux-gnu (64-bit) 420s 420s R is free software and comes with ABSOLUTELY NO WARRANTY. 420s You are welcome to redistribute it under certain conditions. 420s Type 'license()' or 'licence()' for distribution details. 420s 420s R is a collaborative project with many contributors. 420s Type 'contributors()' for more information and 420s 'citation()' on how to cite R or R packages in publications. 420s 420s Type 'demo()' for some demos, 'help()' for on-line help, or 420s 'help.start()' for an HTML browser interface to help. 420s Type 'q()' to quit R. 420s 420s > ## git2r, R bindings to the libgit2 library. 420s > ## Copyright (C) 2013-2023 The git2r contributors 420s > ## 420s > ## This program is free software; you can redistribute it and/or modify 420s > ## it under the terms of the GNU General Public License, version 2, 420s > ## as published by the Free Software Foundation. 420s > ## 420s > ## git2r is distributed in the hope that it will be useful, 420s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 420s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 420s > ## GNU General Public License for more details. 420s > ## 420s > ## You should have received a copy of the GNU General Public License along 420s > ## with this program; if not, write to the Free Software Foundation, Inc., 420s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 420s > 420s > library("git2r") 420s > 420s > ## For debugging 420s > sessionInfo() 420s R version 4.3.3 (2024-02-29) 420s Platform: s390x-ibm-linux-gnu (64-bit) 420s Running under: Ubuntu Noble Numbat (development branch) 420s 420s Matrix products: default 420s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 420s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 420s 420s locale: 420s [1] C 420s 420s time zone: Etc/UTC 420s tzcode source: system (glibc) 420s 420s attached base packages: 420s [1] stats graphics grDevices utils datasets methods base 420s 420s other attached packages: 420s [1] git2r_0.33.0 420s 420s loaded via a namespace (and not attached): 420s [1] compiler_4.3.3 420s > libgit2_version() 420s $major 420s [1] 1 420s 420s $minor 420s [1] 7 420s 420s $rev 420s [1] 2 420s 420s > libgit2_features() 420s $threads 420s [1] TRUE 420s 420s $https 420s [1] TRUE 420s 420s $ssh 420s [1] TRUE 420s 420s > 420s > 420s > ## Create 2 directories in tempdir 420s > path_bare <- tempfile(pattern = "git2r-") 420s > path_repo <- tempfile(pattern = "git2r-") 420s > dir.create(path_bare) 420s > dir.create(path_repo) 420s > 420s > ## Initialize a repository 420s > repo <- init(path_repo) 420s > config(repo, user.name = "Alice", user.email = "alice@example.org") 420s > 420s > ## Add commit to repo 420s > writeLines("Hello world", con = file.path(path_repo, "test.txt")) 420s > add(repo, "test.txt") 420s > commit_1 <- commit(repo, "Commit message") 420s > 420s > ## Check bare argument 420s > tools::assertError(clone(path_repo, path_bare, bare = c(TRUE, TRUE))) 420s > tools::assertError(clone(path_repo, path_bare, bare = 1)) 420s > tools::assertError(clone(path_repo, path_bare, bare = 1L)) 420s > tools::assertError(clone(path_repo, path_bare, bare = "test")) 420s > 420s > ## Clone repo to bare repository 420s > bare_repo <- clone(path_repo, path_bare, bare = TRUE) 420s cloning into '/tmp/RtmpcAUowy/git2r-8165dd280c3'... 420s > 420s > ## Check the repositores 420s > stopifnot(identical(is_bare(bare_repo), TRUE)) 420s > stopifnot(identical(is_bare(repo), FALSE)) 420s > 420s > ## Check result in bare repository 420s > stopifnot(identical(length(commits(bare_repo)), 1L)) 420s > bare_commit_1 <- commits(bare_repo)[[1]] 420s > stopifnot(identical(sha(commit_1), sha(bare_commit_1))) 420s > stopifnot(identical(commit_1$author, bare_commit_1$author)) 420s > stopifnot(identical(commit_1$committer, bare_commit_1$committer)) 420s > stopifnot(identical(commit_1$summary, bare_commit_1$summary)) 420s > stopifnot(identical(commit_1$message, bare_commit_1$message)) 420s > stopifnot(!identical(commit_1$repo, bare_commit_1$repo)) 420s > 420s > ## Cleanup 420s > unlink(path_bare, recursive = TRUE) 420s > unlink(path_repo, recursive = TRUE) 420s > 420s BEGIN TEST clone_branch.R 420s 420s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 420s Copyright (C) 2024 The R Foundation for Statistical Computing 420s Platform: s390x-ibm-linux-gnu (64-bit) 420s 420s R is free software and comes with ABSOLUTELY NO WARRANTY. 420s You are welcome to redistribute it under certain conditions. 420s Type 'license()' or 'licence()' for distribution details. 420s 420s R is a collaborative project with many contributors. 420s Type 'contributors()' for more information and 420s 'citation()' on how to cite R or R packages in publications. 420s 420s Type 'demo()' for some demos, 'help()' for on-line help, or 420s 'help.start()' for an HTML browser interface to help. 420s Type 'q()' to quit R. 420s 420s > ## git2r, R bindings to the libgit2 library. 420s > ## Copyright (C) 2013-2023 The git2r contributors 420s > ## 420s > ## This program is free software; you can redistribute it and/or modify 420s > ## it under the terms of the GNU General Public License, version 2, 420s > ## as published by the Free Software Foundation. 420s > ## 420s > ## git2r is distributed in the hope that it will be useful, 420s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 420s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 420s > ## GNU General Public License for more details. 420s > ## 420s > ## You should have received a copy of the GNU General Public License along 420s > ## with this program; if not, write to the Free Software Foundation, Inc., 420s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 420s > 420s > library(git2r) 420s > 420s > ## For debugging 420s > sessionInfo() 420s R version 4.3.3 (2024-02-29) 420s Platform: s390x-ibm-linux-gnu (64-bit) 420s Running under: Ubuntu Noble Numbat (development branch) 420s 420s Matrix products: default 420s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 420s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 420s 420s locale: 420s [1] C 420s 420s time zone: Etc/UTC 420s tzcode source: system (glibc) 420s 420s attached base packages: 420s [1] stats graphics grDevices utils datasets methods base 420s 420s other attached packages: 420s [1] git2r_0.33.0 420s 420s loaded via a namespace (and not attached): 420s [1] compiler_4.3.3 420s > libgit2_version() 420s $major 420s [1] 1 420s 420s $minor 420s [1] 7 420s 420s $rev 420s [1] 2 420s 420s > libgit2_features() 420s $threads 420s [1] TRUE 420s 420s $https 420s [1] TRUE 420s 420s $ssh 420s [1] TRUE 420s 420s > 420s > 420s > ## Create directories for repositories in tempdir 420s > path_bare <- tempfile(pattern = "git2r-") 420s > path_repo_1 <- tempfile(pattern = "git2r-") 420s > path_repo_2 <- tempfile(pattern = "git2r-") 420s > 420s > dir.create(path_bare) 420s > dir.create(path_repo_1) 420s > dir.create(path_repo_2) 420s > 420s > ## Create bare repository 420s > bare_repo <- init(path_bare, bare = TRUE) 420s > 420s > ## Clone to repo 1 420s > repo_1 <- clone(path_bare, path_repo_1) 420s cloning into '/tmp/Rtmps7eaP7/git2r-82248f0c8bf'... 420s > config(repo_1, user.name = "Alice", user.email = "alice@example.org") 420s > 420s > ## Add changes to repo 1 420s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 420s + con = file.path(path_repo_1, "test-1.txt")) 420s > add(repo_1, "test-1.txt") 420s > commit_1 <- commit(repo_1, "First commit message") 420s > branch_name <- branches(repo_1)[[1]]$name 420s > 420s > ## Create 'dev' branch 420s > checkout(branch_create(commit_1, name = "dev")) 420s > 420s > ## Add more changes to repo 1 420s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 420s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 420s + con = file.path(path_repo_1, "test-1.txt")) 420s > add(repo_1, "test-1.txt") 420s > commit(repo_1, "Second commit message") 420s [29506c2] 2024-03-28: Second commit message 420s > 420s > ## Add more changes to repo 1 420s > writeLines( 420s + c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 420s + "eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad", 420s + "minim veniam, quis nostrud exercitation ullamco laboris nisi ut"), 420s + con = file.path(path_repo_1, "test-1.txt")) 420s > add(repo_1, "test-1.txt") 420s > commit(repo_1, "Third commit message") 420s [f4ad038] 2024-03-28: Third commit message 420s > 420s > ## Push to bare 420s > push(repo_1, "origin", paste0("refs/heads/", branch_name)) 420s > push(repo_1, "origin", "refs/heads/dev") 420s > 420s > ## Print branch 420s > branches(repo_1)[[paste0("origin/", branch_name)]] 420s [f5e59b] (origin @ /tmp/Rtmps7eaP7/git2r-8227a9e4ee8) master 420s > 420s > ## Clone to repo 2 420s > repo_2 <- clone(url = path_bare, local_path = path_repo_2, branch = "dev") 420s cloning into '/tmp/Rtmps7eaP7/git2r-822b4be9a9'... 420s > config(repo_2, user.name = "Bob", user.email = "bob@example.org") 420s > 420s > ## Check branch and commits 420s > stopifnot(identical(length(commits(repo_2)), 3L)) 420s > stopifnot(identical(repository_head(repo_2)$name, "dev")) 420s > 420s > ## Cleanup 420s > unlink(path_bare, recursive = TRUE) 420s > unlink(path_repo_1, recursive = TRUE) 420s > unlink(path_repo_2, recursive = TRUE) 420s > 420s BEGIN TEST clone_checkout.R 420s 420s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 420s Copyright (C) 2024 The R Foundation for Statistical Computing 420s Platform: s390x-ibm-linux-gnu (64-bit) 420s 420s R is free software and comes with ABSOLUTELY NO WARRANTY. 420s You are welcome to redistribute it under certain conditions. 420s Type 'license()' or 'licence()' for distribution details. 420s 420s R is a collaborative project with many contributors. 420s Type 'contributors()' for more information and 420s 'citation()' on how to cite R or R packages in publications. 420s 420s Type 'demo()' for some demos, 'help()' for on-line help, or 420s 'help.start()' for an HTML browser interface to help. 420s Type 'q()' to quit R. 420s 420s > ## git2r, R bindings to the libgit2 library. 420s > ## Copyright (C) 2013-2023 The git2r contributors 420s > ## 420s > ## This program is free software; you can redistribute it and/or modify 420s > ## it under the terms of the GNU General Public License, version 2, 420s > ## as published by the Free Software Foundation. 420s > ## 420s > ## git2r is distributed in the hope that it will be useful, 420s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 420s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 420s > ## GNU General Public License for more details. 420s > ## 420s > ## You should have received a copy of the GNU General Public License along 420s > ## with this program; if not, write to the Free Software Foundation, Inc., 420s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 420s > 420s > library("git2r") 420s > 420s > ## For debugging 420s > sessionInfo() 421s R version 4.3.3 (2024-02-29) 421s Platform: s390x-ibm-linux-gnu (64-bit) 421s Running under: Ubuntu Noble Numbat (development branch) 421s 421s Matrix products: default 421s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 421s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 421s 421s locale: 421s [1] C 421s 421s time zone: Etc/UTC 421s tzcode source: system (glibc) 421s 421s attached base packages: 421s [1] stats graphics grDevices utils datasets methods base 421s 421s other attached packages: 421s [1] git2r_0.33.0 421s 421s loaded via a namespace (and not attached): 421s [1] compiler_4.3.3 421s > libgit2_version() 421s $major 421s [1] 1 421s 421s $minor 421s [1] 7 421s 421s $rev 421s [1] 2 421s 421s > libgit2_features() 421s $threads 421s [1] TRUE 421s 421s $https 421s [1] TRUE 421s 421s $ssh 421s [1] TRUE 421s 421s > 421s > 421s > ## Create 2 directories in tempdir 421s > path_src <- tempfile(pattern = "git2r-") 421s > path_tgt <- tempfile(pattern = "git2r-") 421s > dir.create(path_tgt) 421s > dir.create(path_src) 421s > 421s > ## Initialize a repository 421s > repo_src <- init(path_src) 421s > config(repo_src, user.name = "Alice", user.email = "alice@example.org") 421s > 421s > ## Add commit to repo 421s > filename <- "test.txt" 421s > writeLines("Hello world", con = file.path(path_src, filename)) 421s > add(repo_src, "test.txt") 421s > commit_src <- commit(repo_src, "Commit message") 421s > 421s > ## Check checkout argument 421s > tools::assertError(clone(path_src, path_tgt, checkout = c(FALSE, TRUE))) 421s > tools::assertError(clone(path_src, path_tgt, checkout = 1)) 421s > tools::assertError(clone(path_src, path_tgt, checkout = 1L)) 421s > tools::assertError(clone(path_src, path_tgt, checkout = "test")) 421s > 421s > ## Clone source to target repository without checking out any files 421s > repo_tgt <- clone(path_src, path_tgt, checkout = FALSE) 421s cloning into '/tmp/RtmpkgV8Ei/git2r-82e38c88dd3'... 421s > 421s > ## List files in the repositores 421s > stopifnot(identical(list.files(path_src), filename)) 421s > stopifnot(identical(list.files(path_tgt), character(0))) 421s > 421s > ## Compare commits 421s > stopifnot(identical(length(commits(repo_tgt)), 1L)) 421s > commit_tgt <- last_commit(repo_tgt) 421s > stopifnot(identical(sha(last_commit(path_tgt)), sha(commit_tgt))) 421s > stopifnot(identical(sha(commit_src), sha(commit_tgt))) 421s > stopifnot(identical(commit_src$author, commit_tgt$author)) 421s > stopifnot(identical(commit_src$committer, commit_tgt$committer)) 421s > stopifnot(identical(commit_src$summary, commit_tgt$summary)) 421s > stopifnot(identical(commit_src$message, commit_tgt$message)) 421s > stopifnot(!identical(commit_src$repo, commit_tgt$repo)) 421s > 421s > ## Cleanup 421s > unlink(path_tgt, recursive = TRUE) 421s > unlink(path_src, recursive = TRUE) 421s > 421s BEGIN TEST commit.R 421s 421s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 421s Copyright (C) 2024 The R Foundation for Statistical Computing 421s Platform: s390x-ibm-linux-gnu (64-bit) 421s 421s R is free software and comes with ABSOLUTELY NO WARRANTY. 421s You are welcome to redistribute it under certain conditions. 421s Type 'license()' or 'licence()' for distribution details. 421s 421s R is a collaborative project with many contributors. 421s Type 'contributors()' for more information and 421s 'citation()' on how to cite R or R packages in publications. 421s 421s Type 'demo()' for some demos, 'help()' for on-line help, or 421s 'help.start()' for an HTML browser interface to help. 421s Type 'q()' to quit R. 421s 421s > ## git2r, R bindings to the libgit2 library. 421s > ## Copyright (C) 2013-2023 The git2r contributors 421s > ## 421s > ## This program is free software; you can redistribute it and/or modify 421s > ## it under the terms of the GNU General Public License, version 2, 421s > ## as published by the Free Software Foundation. 421s > ## 421s > ## git2r is distributed in the hope that it will be useful, 421s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 421s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 421s > ## GNU General Public License for more details. 421s > ## 421s > ## You should have received a copy of the GNU General Public License along 421s > ## with this program; if not, write to the Free Software Foundation, Inc., 421s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 421s > 421s > library(git2r) 421s > source("util/check.R") 421s > 421s > ## For debugging 421s > sessionInfo() 421s R version 4.3.3 (2024-02-29) 421s Platform: s390x-ibm-linux-gnu (64-bit) 421s Running under: Ubuntu Noble Numbat (development branch) 421s 421s Matrix products: default 421s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 421s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 421s 421s locale: 421s [1] C 421s 421s time zone: Etc/UTC 421s tzcode source: system (glibc) 421s 421s attached base packages: 421s [1] stats graphics grDevices utils datasets methods base 421s 421s other attached packages: 421s [1] git2r_0.33.0 421s 421s loaded via a namespace (and not attached): 421s [1] compiler_4.3.3 421s > libgit2_version() 421s $major 421s [1] 1 421s 421s $minor 421s [1] 7 421s 421s $rev 421s [1] 2 421s 421s > libgit2_features() 421s $threads 421s [1] TRUE 421s 421s $https 421s [1] TRUE 421s 421s $ssh 421s [1] TRUE 421s 421s > 421s > 421s > ## Create a directory in tempdir 421s > path <- tempfile(pattern = "git2r-") 421s > dir.create(path) 421s > 421s > ## Initialize a repository 421s > repo <- init(path) 421s > config(repo, user.name = "Alice", user.email = "alice@example.org") 421s > 421s > ## Commit without adding changes should produce an error 421s > tools::assertError(commit(repo, "Test to commit")) 421s > 421s > ## Create a file 421s > writeLines("Hello world!", file.path(path, "test.txt")) 421s > 421s > ## Commit without adding changes should produce an error 421s > tools::assertError(commit(repo, "Test to commit")) 421s > 421s > ## Add 421s > add(repo, "test.txt") 421s > 421s > ## Commit with empty message should produce an error 421s > tools::assertError(commit(repo, "")) 421s > 421s > ## Commit 421s > commit_1 <- commit(repo, "Commit message", session = TRUE) 421s > summary(commit_1) 421s Commit: 4822e22d8c64f5a652429654d94d7c7b51630da7 421s Author: Alice 421s When: 2024-03-28 00:12:09 GMT 421s 421s Commit message 421s 421s sessionInfo: 421s R version 4.3.3 (2024-02-29) 421s Platform: s390x-ibm-linux-gnu (64-bit) 421s Running under: Ubuntu Noble Numbat (development branch) 421s 421s Matrix products: default 421s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 421s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 421s 421s locale: 421s [1] C 421s 421s time zone: Etc/UTC 421s tzcode source: system (glibc) 421s 421s attached base packages: 421s [1] stats graphics grDevices utils datasets methods base 421s 421s other attached packages: 421s [1] git2r_0.33.0 421s 421s loaded via a namespace (and not attached): 421s [1] compiler_4.3.3 tools_4.3.3 421s > tag_1 <- tag(repo, "Tagname1", "Tag message 1") 421s > 421s > ## Check commit 421s > stopifnot(identical(commit_1$author$name, "Alice")) 421s > stopifnot(identical(commit_1$author$email, "alice@example.org")) 421s > stopifnot(identical(lookup(repo, sha(commit_1)), commit_1)) 421s > stopifnot(identical(length(commits(repo)), 1L)) 421s > stopifnot(identical(commits(repo)[[1]]$author$name, "Alice")) 421s > stopifnot(identical(commits(repo)[[1]]$author$email, "alice@example.org")) 421s > stopifnot(identical(parents(commit_1), list())) 421s > stopifnot(identical(print(commit_1), commit_1)) 421s [4822e22] 2024-03-28: Commit message 421s > 421s > ## Check is_commit 421s > stopifnot(identical(is_commit(commit_1), TRUE)) 421s > stopifnot(identical(is_commit(5), FALSE)) 421s > 421s > ## Commit without adding changes should produce an error 421s > tools::assertError(commit(repo, "Test to commit")) 421s > 421s > ## Add another commit 421s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test.txt")) 421s > add(repo, "test.txt") 421s > commit_2 <- commit(repo, "Commit message 2") 421s > summary(commit_2) 421s Commit: 143d5f711ba7e49637505f5dcce57f181e411d31 421s Author: Alice 421s When: 2024-03-28 00:12:09 GMT 421s 421s Commit message 2 421s 1 file changed, 1 insertions, 0 deletions 421s test.txt | -0 +1 in 1 hunk 421s 421s > tag_2 <- tag(repo, "Tagname2", "Tag message 2") 421s > 421s > ## Check relationship 421s > stopifnot(identical(descendant_of(commit_2, commit_1), TRUE)) 421s > stopifnot(identical(descendant_of(commit_1, commit_2), FALSE)) 421s > stopifnot(identical(descendant_of(tag_2, tag_1), TRUE)) 421s > stopifnot(identical(descendant_of(tag_1, tag_2), FALSE)) 421s > stopifnot(identical(descendant_of(branches(repo)[[1]], commit_1), TRUE)) 421s > stopifnot(identical(descendant_of(commit_1, branches(repo)[[1]]), FALSE)) 421s > stopifnot(identical(length(parents(commit_2)), 1L)) 421s > stopifnot(identical(parents(commit_2)[[1]], commit_1)) 421s > 421s > ## Check contributions 421s > stopifnot(identical( 421s + colnames(contributions(repo, by = "author", breaks = "day")), 421s + c("when", "author", "n"))) 421s > stopifnot(identical(colnames(contributions(repo)), 421s + c("when", "n"))) 421s > stopifnot(identical(nrow(contributions(repo)), 1L)) 421s > stopifnot(identical(contributions(repo)$n, 2L)) 421s > stopifnot(identical(contributions(repo, by = "author", breaks = "day")$n, 2L)) 421s > 421s > ## Add another commit with 'all' argument 421s > writeLines(c("Hello world!", "HELLO WORLD!", "HeLlO wOrLd!"), 421s + file.path(path, "test.txt")) 421s > commit(repo, "Commit message 3", all = TRUE) 421s [c4eeaa5] 2024-03-28: Commit message 3 421s > 421s > status_clean <- structure(list(staged = empty_named_list(), 421s + unstaged = empty_named_list(), 421s + untracked = empty_named_list()), 421s + class = "git_status") 421s > stopifnot(identical(status(repo), status_clean)) 421s > 421s > ## Delete file and commit with 'all' argument 421s > file.remove(file.path(path, "test.txt")) 421s [1] TRUE 421s > commit(repo, "Commit message 4", all = TRUE) 421s [7ab3258] 2024-03-28: Commit message 4 421s > 421s > stopifnot(identical(status(repo), status_clean)) 421s > 421s > ## Add and commit multiple tracked files with 'all' argument 421s > writeLines(sample(letters, 3), file.path(path, "test2.txt")) 421s > add(repo, "test2.txt") 421s > writeLines(sample(letters, 3), file.path(path, "test3.txt")) 421s > add(repo, "test3.txt") 421s > writeLines(sample(letters, 3), file.path(path, "test4.txt")) 421s > add(repo, "test4.txt") 421s > commit(repo, "Commit message 5") 421s [3d9fcb4] 2024-03-28: Commit message 5 421s > 421s > stopifnot(identical(status(repo), status_clean)) 421s > 421s > writeLines(sample(letters, 3), file.path(path, "test2.txt")) 421s > writeLines(sample(letters, 3), file.path(path, "test3.txt")) 421s > writeLines(sample(letters, 3), file.path(path, "test4.txt")) 421s > commit(repo, "Commit message 6", all = TRUE) 421s [4c2fc75] 2024-03-28: Commit message 6 421s > 421s > stopifnot(identical(status(repo), status_clean)) 421s > 421s > ## Add one tracked file and delete another with 'all' argument 421s > writeLines(sample(letters, 3), file.path(path, "test2.txt")) 421s > file.remove(file.path(path, "test4.txt")) 421s [1] TRUE 421s > commit(repo, "Commit message 7", all = TRUE) 421s [76d1af3] 2024-03-28: Commit message 7 421s > 421s > stopifnot(identical(status(repo), status_clean)) 421s > 421s > ## Delete multiple tracked files with 'all' argument 421s > file.remove(file.path(path, "test2.txt")) 421s [1] TRUE 421s > file.remove(file.path(path, "test3.txt")) 421s [1] TRUE 421s > commit(repo, "Commit message 8", all = TRUE) 421s [52e901f] 2024-03-28: Commit message 8 421s > 421s > stopifnot(identical(status(repo), status_clean)) 421s > 421s > ## Check max number of commits in output 421s > stopifnot(identical(length(commits(repo)), 8L)) 421s > stopifnot(identical(length(commits(repo, n = -1)), 8L)) 421s > stopifnot(identical(length(commits(repo, n = 2)), 2L)) 421s > tools::assertError(commits(repo, n = 2.2)) 421s > tools::assertError(commits(repo, n = "2")) 421s > tools::assertError(commits(repo, n = 1:2)) 421s > 421s > ## Check to coerce repository to data.frame 421s > df <- as.data.frame(repo) 421s > stopifnot(identical(dim(df), c(8L, 6L))) 421s > stopifnot(identical(names(df), c("sha", "summary", "message", 421s + "author", "email", "when"))) 421s > 421s > ## Set working directory to path and check commits 421s > setwd(path) 421s > stopifnot(identical(sha(last_commit()), sha(commits(repo, n = 1)[[1]]))) 421s > stopifnot(identical(length(commits()), 8L)) 421s > stopifnot(identical(length(commits(n = -1)), 8L)) 421s > stopifnot(identical(length(commits(n = 2)), 2L)) 421s > tools::assertError(commits(n = 2.2)) 421s > tools::assertError(commits(n = "2")) 421s > 421s > ## Check plot method 421s > plot_file <- tempfile(fileext = ".pdf") 421s > pdf(plot_file) 421s > plot(repo) 421s > dev.off() 421s null device 421s 1 421s > stopifnot(file.exists(plot_file)) 421s > unlink(plot_file) 421s > 421s > ## Check punch card plot method 421s > punch_card_plot_file <- tempfile(fileext = ".pdf") 421s > pdf(punch_card_plot_file) 421s > punch_card(repo) 421s > dev.off() 421s null device 421s 1 421s > stopifnot(file.exists(punch_card_plot_file)) 421s > unlink(punch_card_plot_file) 421s > 421s > ## Check that 'git2r_arg_check_commit' raise error 421s > res <- tools::assertError(.Call(git2r:::git2r_commit_tree, NULL)) 421s > stopifnot(length(grep("'commit' must be an S3 class git_commit", 421s + res[[1]]$message)) > 0) 421s > res <- tools::assertError(.Call(git2r:::git2r_commit_tree, 3)) 421s > stopifnot(length(grep("'commit' must be an S3 class git_commit", 421s + res[[1]]$message)) > 0) 421s > res <- tools::assertError(.Call(git2r:::git2r_commit_tree, repo)) 421s > stopifnot(length(grep("'commit' must be an S3 class git_commit", 421s + res[[1]]$message)) > 0) 421s > commit_1$sha <- NA_character_ 421s > res <- tools::assertError(.Call(git2r:::git2r_commit_tree, commit_1)) 421s > stopifnot(length(grep("'commit' must be an S3 class git_commit", 421s + res[[1]]$message)) > 0) 421s > 421s > ## Cleanup 421s > unlink(path, recursive = TRUE) 421s > 421s > if (identical(Sys.getenv("NOT_CRAN"), "true") || 421s + identical(Sys.getenv("R_COVR"), "true")) { 421s + path <- tempfile(pattern = "git2r-") 421s + dir.create(path) 421s + setwd(path) 421s + system("git clone --depth 2 https://github.com/ropensci/git2r.git") 421s + 421s + ## Check the number of commits in the shallow clone. 421s + stopifnot(identical(length(commits(repository("git2r"))), 2L)) 421s + stopifnot(identical(length(commits(repository("git2r"), n = 1)), 1L)) 421s + 421s + ## Cleanup 421s + unlink(path, recursive = TRUE) 421s + } 421s > 421s sh: 0: getcwd() failed: No such file or directory 421s BEGIN TEST commits_path.R 421s 421s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 421s Copyright (C) 2024 The R Foundation for Statistical Computing 421s Platform: s390x-ibm-linux-gnu (64-bit) 421s 421s R is free software and comes with ABSOLUTELY NO WARRANTY. 421s You are welcome to redistribute it under certain conditions. 421s Type 'license()' or 'licence()' for distribution details. 421s 421s R is a collaborative project with many contributors. 421s Type 'contributors()' for more information and 421s 'citation()' on how to cite R or R packages in publications. 421s 421s Type 'demo()' for some demos, 'help()' for on-line help, or 421s 'help.start()' for an HTML browser interface to help. 421s Type 'q()' to quit R. 421s 421s > ## git2r, R bindings to the libgit2 library. 421s > ## Copyright (C) 2013-2023 The git2r contributors 421s > ## 421s > ## This program is free software; you can redistribute it and/or modify 421s > ## it under the terms of the GNU General Public License, version 2, 421s > ## as published by the Free Software Foundation. 421s > ## 421s > ## git2r is distributed in the hope that it will be useful, 421s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 421s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 421s > ## GNU General Public License for more details. 421s > ## 421s > ## You should have received a copy of the GNU General Public License along 421s > ## with this program; if not, write to the Free Software Foundation, Inc., 421s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 421s > 421s > library(git2r) 421s > 421s > ## For debugging 421s > sessionInfo() 421s R version 4.3.3 (2024-02-29) 421s Platform: s390x-ibm-linux-gnu (64-bit) 421s Running under: Ubuntu Noble Numbat (development branch) 421s 421s Matrix products: default 421s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 421s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 421s 421s locale: 421s [1] C 421s 421s time zone: Etc/UTC 421s tzcode source: system (glibc) 421s 421s attached base packages: 421s [1] stats graphics grDevices utils datasets methods base 421s 421s other attached packages: 421s [1] git2r_0.33.0 421s 421s loaded via a namespace (and not attached): 421s [1] compiler_4.3.3 421s > libgit2_version() 421s $major 421s [1] 1 421s 421s $minor 421s [1] 7 421s 421s $rev 421s [1] 2 421s 421s > libgit2_features() 421s $threads 421s [1] TRUE 421s 421s $https 421s [1] TRUE 421s 421s $ssh 421s [1] TRUE 421s 421s > 421s > 421s > ## Create a directory in tempdir 421s > path <- tempfile(pattern = "git2r-") 421s > dir.create(path) 421s > 421s > ## Initialize a repository 421s > repo <- init(path, branch = "main") 421s > config(repo, user.name = "Alice", user.email = "alice@example.org") 421s > 421s > ## Create two files and alternate commits 421s > writeLines("1", file.path(path, "odd.txt")) 421s > add(repo, "odd.txt") 421s > c1 <- commit(repo, "commit 1") 421s > 421s > writeLines("2", file.path(path, "even.txt")) 421s > add(repo, "even.txt") 421s > c2 <- commit(repo, "commit 2") 421s > 421s > writeLines("3", file.path(path, "odd.txt")) 421s > add(repo, "odd.txt") 421s > c3 <- commit(repo, "commit 3") 421s > 421s > writeLines("4", file.path(path, "even.txt")) 421s > add(repo, "even.txt") 421s > c4 <- commit(repo, "commit 4") 421s > 421s > writeLines("5", file.path(path, "odd.txt")) 421s > add(repo, "odd.txt") 421s > c5 <- commit(repo, "commit 5") 421s > 421s > writeLines("6", file.path(path, "even.txt")) 421s > add(repo, "even.txt") 421s > c6 <- commit(repo, "commit 6") 421s > 421s > commits_all <- commits(repo) 421s > stopifnot(length(commits_all) == 6) 421s > 421s > ## Test path 421s > commits_odd <- commits(repo, path = "odd.txt") 421s > stopifnot(length(commits_odd) == 3) 421s > stopifnot(commits_odd[[1]]$sha == c5$sha) 421s > stopifnot(commits_odd[[2]]$sha == c3$sha) 421s > stopifnot(commits_odd[[3]]$sha == c1$sha) 421s > 421s > commits_even <- commits(repo, path = "even.txt") 421s > stopifnot(length(commits_even) == 3) 421s > stopifnot(commits_even[[1]]$sha == c6$sha) 421s > stopifnot(commits_even[[2]]$sha == c4$sha) 421s > stopifnot(commits_even[[3]]$sha == c2$sha) 421s > 421s > ## Test reverse 421s > commits_odd_rev <- commits(repo, reverse = TRUE, path = "odd.txt") 421s > stopifnot(length(commits_odd_rev) == 3) 421s > stopifnot(commits_odd_rev[[1]]$sha == c1$sha) 421s > stopifnot(commits_odd_rev[[2]]$sha == c3$sha) 421s > stopifnot(commits_odd_rev[[3]]$sha == c5$sha) 421s > 421s > commits_even_rev <- commits(repo, reverse = TRUE, path = "even.txt") 421s > stopifnot(length(commits_even_rev) == 3) 421s > stopifnot(commits_even_rev[[1]]$sha == c2$sha) 421s > stopifnot(commits_even_rev[[2]]$sha == c4$sha) 421s > stopifnot(commits_even_rev[[3]]$sha == c6$sha) 421s > 421s > ## Test n 421s > commits_odd_n <- commits(repo, n = 2, path = "odd.txt") 421s > stopifnot(length(commits_odd_n) == 2) 421s > stopifnot(commits_odd_n[[1]]$sha == c5$sha) 421s > stopifnot(commits_odd_n[[2]]$sha == c3$sha) 421s > 421s > commits_even_n <- commits(repo, n = 2, path = "even.txt") 421s > stopifnot(length(commits_even_n) == 2) 421s > stopifnot(commits_even_n[[1]]$sha == c6$sha) 421s > stopifnot(commits_even_n[[2]]$sha == c4$sha) 421s > 421s > commits_odd_0 <- commits(repo, n = 0, path = "odd.txt") 421s > stopifnot(length(commits_odd_0) == 0) 421s > stopifnot(identical(commits_odd_0, list())) 421s > 421s > commits_even_0 <- commits(repo, n = 0, path = "even.txt") 421s > stopifnot(length(commits_even_0) == 0) 421s > stopifnot(identical(commits_even_0, list())) 421s > 421s > ## Test ref 421s > checkout(repo, branch = "test-ref", create = TRUE) 421s > 421s > writeLines("7", file.path(path, "odd.txt")) 421s > add(repo, "odd.txt") 421s > c7 <- commit(repo, "commit 7") 421s > 421s > writeLines("8", file.path(path, "even.txt")) 421s > add(repo, "even.txt") 421s > c8 <- commit(repo, "commit 8") 421s > 421s > commits_odd_ref <- commits(repo, ref = "main", path = "odd.txt") 421s > stopifnot(length(commits_odd_ref) == 3) 421s > stopifnot(commits_odd_ref[[1]]$sha == c5$sha) 421s > stopifnot(commits_odd_ref[[2]]$sha == c3$sha) 421s > stopifnot(commits_odd_ref[[3]]$sha == c1$sha) 421s > 421s > commits_even_ref <- commits(repo, ref = "main", path = "even.txt") 421s > stopifnot(length(commits_even_ref) == 3) 421s > stopifnot(commits_even_ref[[1]]$sha == c6$sha) 421s > stopifnot(commits_even_ref[[2]]$sha == c4$sha) 421s > stopifnot(commits_even_ref[[3]]$sha == c2$sha) 421s > 421s > checkout(repo, branch = "main") 421s > 421s > ## Test renaming a file (path does not support --follow) 421s > writeLines("a file to be renamed", file.path(path, "original.txt")) 421s > add(repo, "original.txt") 421s > c_original <- commit(repo, "commit original") 421s > 421s > commits_original <- commits(repo, path = "original.txt") 421s > stopifnot(length(commits_original) == 1) 421s > stopifnot(commits_original[[1]]$sha == c_original$sha) 421s > 421s > file.rename(file.path(path, "original.txt"), file.path(path, "new.txt")) 421s [1] TRUE 421s > add(repo, c("original.txt", "new.txt")) 421s > c_new <- commit(repo, "commit new") 421s > 421s > commits_new <- commits(repo, path = "new.txt") 421s > stopifnot(length(commits_new) == 1) 421s > stopifnot(commits_new[[1]]$sha == c_new$sha) 421s > 421s > ## Test merge commits 421s > writeLines(letters[1:5], file.path(path, "merge.txt")) 421s > add(repo, "merge.txt") 421s > c_merge_1 <- commit(repo, "commit merge 1") 421s > 421s > checkout(repo, branch = "test-merge", create = TRUE) 421s > cat("z", file = file.path(path, "merge.txt"), append = TRUE) 421s > add(repo, "merge.txt") 421s > c_merge_2 <- commit(repo, "commit merge 2") 421s > 421s > checkout(repo, branch = "main") 421s > writeLines(c("A", letters[2:5]), file.path(path, "merge.txt")) 421s > add(repo, "merge.txt") 421s > c_merge_3 <- commit(repo, "commit merge 3") 421s > 421s > c_merge_4 <- merge(repo, "test-merge") 421s > stopifnot(class(c_merge_4) == "git_merge_result") 421s > 421s > commits_merge <- commits(repo, path = "merge.txt") 421s > stopifnot(length(commits_merge) == 4) 421s > stopifnot(commits_merge[[1]]$sha == c_merge_4$sha) 421s > stopifnot(commits_merge[[2]]$sha == c_merge_3$sha) 421s > stopifnot(commits_merge[[3]]$sha == c_merge_2$sha) 421s > stopifnot(commits_merge[[4]]$sha == c_merge_1$sha) 421s > 421s > ## Test absolute path 421s > writeLines("absolute", file.path(path, "abs.txt")) 421s > add(repo, "abs.txt") 421s > c_abs <- commit(repo, "commit absolute") 421s > 421s > commits_abs <- commits(repo, path = file.path(path, "abs.txt")) 421s > stopifnot(length(commits_abs) == 1) 421s > stopifnot(commits_abs[[1]]$sha == c_abs$sha) 421s > 421s > ## Test topological and time 421s > ## Strategy: 421s > ## - Commit a new file test-time.txt 421s > ## - Commit a change on branch test-time-1 (a) 421s > ## - Commit a change on branch test-time-2 (c) 421s > ## - Commit a change on branch test-time-1 (b) 421s > ## - Commit a change on branch test-time-2 (d) 421s > ## - Merge branch test-time-2 into main (fast-forward) 421s > ## - Merge branch test-time-1 into main (merge commit) 421s > ## 421s > ## $ git log --all --decorate --oneline --graph -n 6 421s > ## * 79e6880 (HEAD -> main) merge test-time-1 421s > ## |\ 421s > ## | * e2f18f1 (test-time-1) commit b 421s > ## | * 5f34820 commit a 421s > ## * | b954ec9 (test-time-2) commit d 421s > ## * | 7ae2fd5 commit c 421s > ## |/ 421s > ## * 923f3ea commit base 421s > Sys.sleep(1) 422s > writeLines(as.character(1:100), file.path(path, "test-time.txt")) 422s > add(repo, "test-time.txt") 422s > c_base <- commit(repo, "commit base") 422s > Sys.sleep(1) 423s > branch_create(commit = c_base, name = "test-time-1") 423s > branch_create(commit = c_base, name = "test-time-2") 423s > 423s > checkout(repo, branch = "test-time-1") 423s > writeLines(c("edit", 2:100), file.path(path, "test-time.txt")) 423s > add(repo, "test-time.txt") 423s > c_a <- commit(repo, "commit a") 423s > Sys.sleep(1) 424s > 424s > checkout(repo, branch = "test-time-2") 424s > writeLines(c(1:25, "edit", 27:100), file.path(path, "test-time.txt")) 424s > add(repo, "test-time.txt") 424s > c_c <- commit(repo, "commit c") 424s > Sys.sleep(1) 425s > 425s > checkout(repo, branch = "test-time-1") 425s > writeLines(c(1:50, "edit", 52:100), file.path(path, "test-time.txt")) 425s > add(repo, "test-time.txt") 425s > c_b <- commit(repo, "commit b") 425s > Sys.sleep(1) 426s > 426s > checkout(repo, branch = "test-time-2") 426s > writeLines(c(1:75, "edit", 77:100), file.path(path, "test-time.txt")) 426s > add(repo, "test-time.txt") 426s > c_d <- commit(repo, "commit d") 426s > Sys.sleep(1) 427s > 427s > checkout(repo, branch = "main") 427s > merge(repo, "test-time-2") # Fast-forward 427s Merge: Fast-forward 427s > merge(repo, "test-time-1") # Merge commit 427s Merge 427s > c_merge_time <- commits(repo, n = 1)[[1]] 427s > 427s > ## topological - commits in test-time-2 come first because it was 427s > ## merged first 427s > stopifnot(identical( 427s + commits(repo, topological = TRUE, time = FALSE, path = "test-time.txt"), 427s + list(c_merge_time, c_b, c_a, c_d, c_c, c_base) 427s + )) 427s > stopifnot(identical( 427s + commits(repo, topological = TRUE, time = FALSE, path = "test-time.txt"), 427s + commits(repo, topological = TRUE, time = FALSE)[1:6] 427s + )) 427s > 427s > ## time - commits ordered by time they were created, not merged into 427s > ## main 427s > stopifnot(identical( 427s + commits(repo, topological = FALSE, time = TRUE, path = "test-time.txt"), 427s + list(c_merge_time, c_d, c_b, c_c, c_a, c_base) 427s + )) 427s > stopifnot(identical( 427s + commits(repo, topological = FALSE, time = TRUE, path = "test-time.txt"), 427s + commits(repo, topological = FALSE, time = TRUE)[1:6] 427s + )) 427s > 427s > ## topological and time - dominated by time 427s > stopifnot(identical( 427s + commits(repo, topological = TRUE, time = TRUE, path = "test-time.txt"), 427s + list(c_merge_time, c_d, c_b, c_c, c_a, c_base) 427s + )) 427s > stopifnot(identical( 427s + commits(repo, topological = TRUE, time = TRUE, path = "test-time.txt"), 427s + commits(repo, topological = TRUE, time = TRUE)[1:6] 427s + )) 427s > 427s > ## reverse with topological and/or time 427s > stopifnot(identical( 427s + commits(repo, topological = TRUE, time = FALSE, reverse = TRUE, 427s + path = "test-time.txt"), 427s + rev(list(c_merge_time, c_b, c_a, c_d, c_c, c_base)) 427s + )) 427s > stopifnot(identical( 427s + commits(repo, topological = FALSE, time = TRUE, reverse = TRUE, 427s + path = "test-time.txt"), 427s + rev(list(c_merge_time, c_d, c_b, c_c, c_a, c_base)) 427s + )) 427s > stopifnot(identical( 427s + commits(repo, topological = TRUE, time = TRUE, reverse = TRUE, 427s + path = "test-time.txt"), 427s + rev(list(c_merge_time, c_d, c_b, c_c, c_a, c_base)) 427s + )) 427s > 427s > ## Cleanup 427s > unlink(path, recursive = TRUE) 427s > 427s BEGIN TEST config.R 427s 427s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 427s Copyright (C) 2024 The R Foundation for Statistical Computing 427s Platform: s390x-ibm-linux-gnu (64-bit) 427s 427s R is free software and comes with ABSOLUTELY NO WARRANTY. 427s You are welcome to redistribute it under certain conditions. 427s Type 'license()' or 'licence()' for distribution details. 427s 427s R is a collaborative project with many contributors. 427s Type 'contributors()' for more information and 427s 'citation()' on how to cite R or R packages in publications. 427s 427s Type 'demo()' for some demos, 'help()' for on-line help, or 427s 'help.start()' for an HTML browser interface to help. 427s Type 'q()' to quit R. 427s 427s > ## git2r, R bindings to the libgit2 library. 427s > ## Copyright (C) 2013-2023 The git2r contributors 427s > ## 427s > ## This program is free software; you can redistribute it and/or modify 427s > ## it under the terms of the GNU General Public License, version 2, 427s > ## as published by the Free Software Foundation. 427s > ## 427s > ## git2r is distributed in the hope that it will be useful, 427s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 427s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 427s > ## GNU General Public License for more details. 427s > ## 427s > ## You should have received a copy of the GNU General Public License along 427s > ## with this program; if not, write to the Free Software Foundation, Inc., 427s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 427s > 427s > library("git2r") 428s > 428s > ## For debugging 428s > sessionInfo() 428s R version 4.3.3 (2024-02-29) 428s Platform: s390x-ibm-linux-gnu (64-bit) 428s Running under: Ubuntu Noble Numbat (development branch) 428s 428s Matrix products: default 428s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 428s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 428s 428s locale: 428s [1] C 428s 428s time zone: Etc/UTC 428s tzcode source: system (glibc) 428s 428s attached base packages: 428s [1] stats graphics grDevices utils datasets methods base 428s 428s other attached packages: 428s [1] git2r_0.33.0 428s 428s loaded via a namespace (and not attached): 428s [1] compiler_4.3.3 428s > libgit2_version() 428s $major 428s [1] 1 428s 428s $minor 428s [1] 7 428s 428s $rev 428s [1] 2 428s 428s > libgit2_features() 428s $threads 428s [1] TRUE 428s 428s $https 428s [1] TRUE 428s 428s $ssh 428s [1] TRUE 428s 428s > 428s > 428s > ## Create a directory in tempdir 428s > path <- tempfile(pattern = "git2r-") 428s > dir.create(path) 428s > 428s > ## Initialize a repository 428s > repo <- init(path) 428s > 428s > ## Config repository 428s > cfg <- config(repo, user.name = "Alice", user.email = "alice@example.org") 428s > 428s > ## Check configuration 428s > stopifnot(identical(print(cfg), cfg)) 428s local: 428s core.bare=false 428s core.filemode=true 428s core.logallrefupdates=true 428s core.repositoryformatversion=0 428s user.email=alice@example.org 428s user.name=Alice 428s > stopifnot("local" %in% names(cfg)) 428s > stopifnot("user.name" %in% names(cfg$local)) 428s > stopifnot(identical(cfg$local$user.name, "Alice")) 428s > stopifnot(identical(cfg$local$user.email, "alice@example.org")) 428s > 428s > ## Check that config fails for non-character entry. 428s > tools::assertError(config(repo, test = 5)) 428s > 428s > ## Check config method with missing repo argument 428s > wd <- setwd(path) 428s > cfg <- config(user.name = "Alice", user.email = "alice@example.org") 428s > stopifnot("local" %in% names(cfg)) 428s > stopifnot("user.name" %in% names(cfg$local)) 428s > stopifnot(identical(cfg$local$user.name, "Alice")) 428s > stopifnot(identical(cfg$local$user.email, "alice@example.org")) 428s > stopifnot(identical(git_config_files(repo = repo)$local, 428s + git_config_files(repo = NULL)$local)) 428s > stopifnot(identical(git_config_files(repo = repo)$local, 428s + git_config_files(repo = repo$path)$local)) 428s > if (!is.null(wd)) 428s + setwd(wd) 428s > 428s > ## Delete entries 428s > cfg <- config(repo, user.name = NULL, user.email = NULL) 428s > 428s > ## Check configuration 428s > stopifnot(is.null(cfg$local$user.name)) 428s > stopifnot(is.null(cfg$local$user.email)) 428s > 428s > ## Supply values as objects 428s > user_name <- "Alice" 428s > user_email <- "alice@example.org" 428s > cfg <- config(repo, user.name = user_name, user.email = "alice@example.org") 428s > stopifnot(identical(cfg$local$user.name, user_name)) 428s > stopifnot(identical(cfg$local$user.email, "alice@example.org")) 428s > cfg <- config(repo, user.name = "Alice", user.email = user_email) 428s > stopifnot(identical(cfg$local$user.name, "Alice")) 428s > stopifnot(identical(cfg$local$user.email, user_email)) 428s > 428s > ## Check git config files 428s > cfg <- git_config_files(repo) 428s > stopifnot(identical(nrow(cfg), 4L)) 428s > stopifnot(identical(names(cfg), c("file", "path"))) 428s > stopifnot(identical(cfg$file, c("system", "xdg", "global", "local"))) 428s > stopifnot(!is.na(cfg$path[4])) 428s > 428s > ## Check that the local config file is NA for an invalid repo 428s > ## argument. 428s > stopifnot(is.na(git_config_files(5)$local)) 428s > 428s > ## Check location of .gitconfig on Windows 428s > if (identical(Sys.getenv("APPVEYOR"), "True")) { 428s + 428s + ## AppVeyor diagnostics 428s + str(Sys.getenv("USERPROFILE")) 428s + str(Sys.getenv("HOMEDRIVE")) 428s + str(normalizePath("~")) 428s + str(git_config_files()) 428s + 428s + ## Temporarily move AppVeyor .gitconfig 428s + gitconfig_appveyor <- "C:/Users/appveyor/.gitconfig" 428s + gitconfig_tmp <- file.path(tempdir(), ".gitconfig") 428s + file.rename(gitconfig_appveyor, gitconfig_tmp) 428s + 428s + ## Test config() on Windows 428s + gitconfig_expected <- file.path(Sys.getenv("USERPROFILE"), ".gitconfig") 428s + ## .gitconfig should not be created if no configuration options specified 428s + config(global = TRUE) 428s + stopifnot(!file.exists(gitconfig_expected)) 428s + ## .gitconfig should be created in the user's home directory 428s + config(global = TRUE, user.name = "name", user.email = "email") 428s + stopifnot(file.exists(gitconfig_expected)) 428s + unlink(gitconfig_expected) 428s + ## .gitconfig should be created if user specifies option other than user.name 428s + ## and user.email 428s + config(global = TRUE, core.editor = "nano") 428s + stopifnot(file.exists(gitconfig_expected)) 428s + unlink(gitconfig_expected) 428s + ## .gitconfig should not create a new .gitconfig if the user already has one 428s + ## in Documents/ 428s + gitconfig_documents <- "~/.gitconfig" 428s + file.create(gitconfig_documents) 428s + config(global = TRUE, core.editor = "nano") 428s + stopifnot(!file.exists(gitconfig_expected)) 428s + unlink(gitconfig_documents) 428s + 428s + ## Return AppVeyor .gitconfig 428s + file.rename(gitconfig_tmp, gitconfig_appveyor) 428s + } 428s > 428s > ## Cleanup 428s > unlink(path, recursive = TRUE) 428s > 428s BEGIN TEST diff.R 428s 428s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 428s Copyright (C) 2024 The R Foundation for Statistical Computing 428s Platform: s390x-ibm-linux-gnu (64-bit) 428s 428s R is free software and comes with ABSOLUTELY NO WARRANTY. 428s You are welcome to redistribute it under certain conditions. 428s Type 'license()' or 'licence()' for distribution details. 428s 428s R is a collaborative project with many contributors. 428s Type 'contributors()' for more information and 428s 'citation()' on how to cite R or R packages in publications. 428s 428s Type 'demo()' for some demos, 'help()' for on-line help, or 428s 'help.start()' for an HTML browser interface to help. 428s Type 'q()' to quit R. 428s 428s > ## git2r, R bindings to the libgit2 library. 428s > ## Copyright (C) 2013-2023 The git2r contributors 428s > ## 428s > ## This program is free software; you can redistribute it and/or modify 428s > ## it under the terms of the GNU General Public License, version 2, 428s > ## as published by the Free Software Foundation. 428s > ## 428s > ## git2r is distributed in the hope that it will be useful, 428s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 428s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 428s > ## GNU General Public License for more details. 428s > ## 428s > ## You should have received a copy of the GNU General Public License along 428s > ## with this program; if not, write to the Free Software Foundation, Inc., 428s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 428s > 428s > library("git2r") 428s > 428s > ## For debugging 428s > sessionInfo() 428s R version 4.3.3 (2024-02-29) 428s Platform: s390x-ibm-linux-gnu (64-bit) 428s Running under: Ubuntu Noble Numbat (development branch) 428s 428s Matrix products: default 428s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 428s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 428s 428s locale: 428s [1] C 428s 428s time zone: Etc/UTC 428s tzcode source: system (glibc) 428s 428s attached base packages: 428s [1] stats graphics grDevices utils datasets methods base 428s 428s other attached packages: 428s [1] git2r_0.33.0 428s 428s loaded via a namespace (and not attached): 428s [1] compiler_4.3.3 428s > libgit2_version() 428s $major 428s [1] 1 428s 428s $minor 428s [1] 7 428s 428s $rev 428s [1] 2 428s 428s > libgit2_features() 428s $threads 428s [1] TRUE 428s 428s $https 428s [1] TRUE 428s 428s $ssh 428s [1] TRUE 428s 428s > 428s > 428s > ## Create a directory in tempdir 428s > path <- tempfile(pattern = "git2r-") 428s > dir.create(path) 428s > 428s > ## Initialize a repository 428s > repo <- init(path) 428s > config(repo, user.name = "Alice", user.email = "alice@example.org") 428s > 428s > ## Create a file, add, commit 428s > writeLines("Hello world!", file.path(path, "test.txt")) 428s > add(repo, "test.txt") 428s > commit(repo, "Commit message") 428s [e3984fa] 2024-03-28: Commit message 428s > 428s > ## Change the file, diff between index and workdir 428s > writeLines("Hello again!\nHere is a second line\nAnd a third", 428s + file.path(path, "test.txt")) 428s > diff_1 <- diff(repo) 428s > diff(repo, as_char = TRUE) 428s [1] "diff --git a/test.txt b/test.txt\nindex cd08755..cf48daf 100644\n--- a/test.txt\n+++ b/test.txt\n@@ -1 +1,3 @@\n-Hello world!\n+Hello again!\n+Here is a second line\n+And a third\n" 428s > diff(repo, as_char = TRUE, filename = file.path(path, "test.diff")) 428s NULL 428s > 428s > stopifnot(identical(diff_1$old, "index")) 428s > stopifnot(identical(diff_1$new, "workdir")) 428s > stopifnot(identical(length(diff_1$files), 1L)) 428s > stopifnot(identical(diff_1$files[[1]]$old_file, "test.txt")) 428s > stopifnot(identical(diff_1$files[[1]]$new_file, "test.txt")) 428s > stopifnot(identical(length(diff_1$files[[1]]$hunks), 1L)) 428s > stopifnot(identical(length(diff_1$files[[1]]$hunks[[1]]$lines), 4L)) 428s > ## TODO: check actual diff 428s > 428s > ## Diff between index and HEAD is empty 428s > diff_2 <- diff(repo, index = TRUE) 428s > diff(repo, as_char = TRUE) 428s [1] "diff --git a/test.txt b/test.txt\nindex cd08755..cf48daf 100644\n--- a/test.txt\n+++ b/test.txt\n@@ -1 +1,3 @@\n-Hello world!\n+Hello again!\n+Here is a second line\n+And a third\n" 428s > diff(repo, as_char = TRUE, filename = file.path(path, "test.diff")) 428s NULL 428s > 428s > stopifnot(identical(diff_2$old, "HEAD")) 428s > stopifnot(identical(diff_2$new, "index")) 428s > stopifnot(identical(diff_2$files, list())) 428s > 428s > ## Diff between tree and working dir, same as diff_1 428s > diff_3 <- diff(tree(commits(repo)[[1]])) 428s > diff(repo, as_char = TRUE) 428s [1] "diff --git a/test.txt b/test.txt\nindex cd08755..cf48daf 100644\n--- a/test.txt\n+++ b/test.txt\n@@ -1 +1,3 @@\n-Hello world!\n+Hello again!\n+Here is a second line\n+And a third\n" 428s > diff(repo, as_char = TRUE, filename = file.path(path, "test.diff")) 428s NULL 428s > 428s > stopifnot(identical(diff_3$old, tree(commits(repo)[[1]]))) 428s > stopifnot(identical(diff_3$new, "workdir")) 428s > stopifnot(identical(diff_3$files, diff_1$files)) 428s > stopifnot(identical(print(diff_3), diff_3)) 428s Old: tree: a0b0b9e615e9e433eb5f11859e9feac4564c58c5 428s 428s mode type sha name 428s 1 100644 blob cd0875583aabe89ee197ea133980a9085d08e497 test.txt 428s New: workdir 428s > 428s > ## Add changes, diff between index and HEAD is the same as diff_1 428s > add(repo, "test.txt") 428s > diff_4 <- diff(repo, index = TRUE) 428s > diff(repo, as_char = TRUE) 428s [1] "" 428s > diff(repo, as_char = TRUE, filename = file.path(path, "test.diff")) 428s NULL 428s > 428s > stopifnot(identical(diff_4$old, "HEAD")) 428s > stopifnot(identical(diff_4$new, "index")) 428s > stopifnot(identical(diff_4$files, diff_1$files)) 428s > 428s > ## Diff between tree and index 428s > diff_5 <- diff(tree(commits(repo)[[1]]), index = TRUE) 428s > diff(repo, as_char = TRUE) 428s [1] "" 428s > diff(repo, as_char = TRUE, filename = file.path(path, "test.diff")) 428s NULL 428s > 428s > stopifnot(identical(diff_5$old, tree(commits(repo)[[1]]))) 428s > stopifnot(identical(diff_5$new, "index")) 428s > stopifnot(identical(diff_5$files, diff_1$files)) 428s > 428s > ## Diff between two trees 428s > commit(repo, "Second commit") 428s [773b8d6] 2024-03-28: Second commit 428s > tree_1 <- tree(commits(repo)[[2]]) 428s > tree_2 <- tree(commits(repo)[[1]]) 428s > diff_6 <- diff(tree_1, tree_2) 428s > diff(repo, as_char = TRUE) 428s [1] "" 428s > diff(repo, as_char = TRUE, filename = file.path(path, "test.diff")) 428s NULL 428s > 428s > stopifnot(identical(diff_6$old, tree_1)) 428s > stopifnot(identical(diff_6$new, tree_2)) 428s > stopifnot(identical(diff_6$files, diff_1$files)) 428s > 428s > ## Length of a diff 428s > stopifnot(identical(length(diff_1), 1L)) 428s > stopifnot(identical(length(diff_2), 0L)) 428s > stopifnot(identical(length(diff_3), 1L)) 428s > stopifnot(identical(length(diff_4), 1L)) 428s > stopifnot(identical(length(diff_5), 1L)) 428s > stopifnot(identical(length(diff_6), 1L)) 428s > 428s > ## Binary files 428s > set.seed(42) 428s > writeBin(as.raw((sample(0:255, 1000, replace = TRUE))), 428s + con = file.path(path, "test.bin")) 428s > add(repo, "test.bin") 428s > diff_7 <- diff(repo, index = TRUE) 428s > diff(repo, as_char = TRUE) 428s [1] "" 428s > diff(repo, as_char = TRUE, filename = file.path(path, "test.diff")) 428s NULL 428s > 428s > stopifnot(any(grepl("binary file", capture.output(summary(diff_7))))) 428s > 428s > ## TODO: errors 428s > ## Check non-logical index argument 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_diff, NULL, NULL, NULL, "FALSE", 428s + NULL, 3L, 0L, "a", "b", NULL, NULL, NULL)) 428s > stopifnot(length(grep(paste0("Error in 'git2r_diff': 'index' must be logical ", 428s + "vector of length one with non NA value\n"), 428s + res[[1]]$message)) > 0) 428s > 428s > ## Check various combinations of diff arguments 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_diff, NULL, NULL, 428s + tree(commits(repo)[[1]]), 428s + FALSE, NULL, 3L, 0L, "a", "b", NULL, NULL, NULL)) 428s > stopifnot(length(grep("Error in 'git2r_diff': Invalid diff parameters", 428s + res[[1]]$message)) > 0) 428s > 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_diff, NULL, NULL, 428s + tree(commits(repo)[[1]]), 428s + TRUE, NULL, 3L, 0L, "a", "b", NULL, NULL, NULL)) 428s > stopifnot(length(grep("Error in 'git2r_diff': Invalid diff parameters", 428s + res[[1]]$message)) > 0) 428s > 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_diff, repo, tree(commits(repo)[[1]]), 428s + NULL, FALSE, NULL, 3L, 0L, "a", "b", NULL, NULL, NULL)) 428s > stopifnot(length(grep("Error in 'git2r_diff': Invalid diff parameters", 428s + res[[1]]$message)) > 0) 428s > 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_diff, repo, tree(commits(repo)[[1]]), 428s + NULL, TRUE, NULL, 3L, 0L, "a", "b", NULL, NULL, NULL)) 428s > stopifnot(length(grep("Error in 'git2r_diff': Invalid diff parameters", 428s + res[[1]]$message)) > 0) 428s > 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_diff, repo, tree(commits(repo)[[1]]), 428s + tree(commits(repo)[[2]]), FALSE, NULL, 3L, 0L, "a", 428s + "b", NULL, NULL, NULL)) 428s > stopifnot(length(grep("Error in 'git2r_diff': Invalid diff parameters", 428s + res[[1]]$message)) > 0) 428s > 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_diff, repo, tree(commits(repo)[[1]]), 428s + tree(commits(repo)[[2]]), TRUE, NULL, 3L, 0L, "a", 428s + "b", NULL, NULL, NULL)) 428s > stopifnot(length(grep("Error in 'git2r_diff': Invalid diff parameters", 428s + res[[1]]$message)) > 0) 428s > 428s > ## TODO: printing 428s > 428s > ## Cleanup 428s > unlink(path, recursive = TRUE) 428s > 428s BEGIN TEST fast_forward_merge.R 428s 428s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 428s Copyright (C) 2024 The R Foundation for Statistical Computing 428s Platform: s390x-ibm-linux-gnu (64-bit) 428s 428s R is free software and comes with ABSOLUTELY NO WARRANTY. 428s You are welcome to redistribute it under certain conditions. 428s Type 'license()' or 'licence()' for distribution details. 428s 428s R is a collaborative project with many contributors. 428s Type 'contributors()' for more information and 428s 'citation()' on how to cite R or R packages in publications. 428s 428s Type 'demo()' for some demos, 'help()' for on-line help, or 428s 'help.start()' for an HTML browser interface to help. 428s Type 'q()' to quit R. 428s 428s > ## git2r, R bindings to the libgit2 library. 428s > ## Copyright (C) 2013-2023 The git2r contributors 428s > ## 428s > ## This program is free software; you can redistribute it and/or modify 428s > ## it under the terms of the GNU General Public License, version 2, 428s > ## as published by the Free Software Foundation. 428s > ## 428s > ## git2r is distributed in the hope that it will be useful, 428s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 428s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 428s > ## GNU General Public License for more details. 428s > ## 428s > ## You should have received a copy of the GNU General Public License along 428s > ## with this program; if not, write to the Free Software Foundation, Inc., 428s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 428s > 428s > library(git2r) 428s > 428s > ## For debugging 428s > sessionInfo() 428s R version 4.3.3 (2024-02-29) 428s Platform: s390x-ibm-linux-gnu (64-bit) 428s Running under: Ubuntu Noble Numbat (development branch) 428s 428s Matrix products: default 428s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 428s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 428s 428s locale: 428s [1] C 428s 428s time zone: Etc/UTC 428s tzcode source: system (glibc) 428s 428s attached base packages: 428s [1] stats graphics grDevices utils datasets methods base 428s 428s other attached packages: 428s [1] git2r_0.33.0 428s 428s loaded via a namespace (and not attached): 428s [1] compiler_4.3.3 428s > libgit2_version() 428s $major 428s [1] 1 428s 428s $minor 428s [1] 7 428s 428s $rev 428s [1] 2 428s 428s > libgit2_features() 428s $threads 428s [1] TRUE 428s 428s $https 428s [1] TRUE 428s 428s $ssh 428s [1] TRUE 428s 428s > 428s > 428s > ## Create directory for repository in tempdir 428s > path <- tempfile(pattern = "git2r-") 428s > dir.create(path) 428s > 428s > ## Create repository 428s > repo <- init(path, branch = "main") 428s > config(repo, user.name = "Alice", user.email = "alice@example.org") 428s > 428s > ## Add changes to repo 428s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 428s + con = file.path(path, "test-1.txt")) 428s > add(repo, "test-1.txt") 428s > commit_1 <- commit(repo, "First commit message") 428s > 428s > ## Create branch and checkout 428s > checkout(branch_create(commit_1, name = "test")) 428s > 428s > ## Add changes to test branch 428s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 428s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 428s + con = file.path(path, "test-1.txt")) 428s > add(repo, "test-1.txt") 428s > commit_2 <- commit(repo, "Second commit message") 428s > 428s > # Checkout main and merge 428s > b <- branches(repo) 428s > checkout(b[sapply(b, "[", "name") == "main"][[1]], force = TRUE) 428s > m <- merge(b[sapply(b, "[", "name") == "test"][[1]]) 428s > 428s > # Check merge 428s > stopifnot(inherits(m, "git_merge_result")) 428s > stopifnot(identical(m$up_to_date, FALSE)) 428s > stopifnot(identical(m$fast_forward, TRUE)) 428s > stopifnot(identical(m$conflicts, FALSE)) 428s > stopifnot(identical(sha(m), NA_character_)) 428s > stopifnot(identical(length(commits(repo)), 2L)) 428s > 428s > # Check reflog 428s > r <- reflog(repo) 428s > stopifnot(identical(r[[1]]$message, "merge test: Fast-forward")) 428s > 428s > ## Cleanup 428s > unlink(path, recursive = TRUE) 428s > 428s BEGIN TEST fetch.R 428s 428s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 428s Copyright (C) 2024 The R Foundation for Statistical Computing 428s Platform: s390x-ibm-linux-gnu (64-bit) 428s 428s R is free software and comes with ABSOLUTELY NO WARRANTY. 428s You are welcome to redistribute it under certain conditions. 428s Type 'license()' or 'licence()' for distribution details. 428s 428s R is a collaborative project with many contributors. 428s Type 'contributors()' for more information and 428s 'citation()' on how to cite R or R packages in publications. 428s 428s Type 'demo()' for some demos, 'help()' for on-line help, or 428s 'help.start()' for an HTML browser interface to help. 428s Type 'q()' to quit R. 428s 428s > ## git2r, R bindings to the libgit2 library. 428s > ## Copyright (C) 2013-2023 The git2r contributors 428s > ## 428s > ## This program is free software; you can redistribute it and/or modify 428s > ## it under the terms of the GNU General Public License, version 2, 428s > ## as published by the Free Software Foundation. 428s > ## 428s > ## git2r is distributed in the hope that it will be useful, 428s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 428s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 428s > ## GNU General Public License for more details. 428s > ## 428s > ## You should have received a copy of the GNU General Public License along 428s > ## with this program; if not, write to the Free Software Foundation, Inc., 428s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 428s > 428s > library(git2r) 428s > 428s > ## For debugging 428s > sessionInfo() 428s R version 4.3.3 (2024-02-29) 428s Platform: s390x-ibm-linux-gnu (64-bit) 428s Running under: Ubuntu Noble Numbat (development branch) 428s 428s Matrix products: default 428s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 428s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 428s 428s locale: 428s [1] C 428s 428s time zone: Etc/UTC 428s tzcode source: system (glibc) 428s 428s attached base packages: 428s [1] stats graphics grDevices utils datasets methods base 428s 428s other attached packages: 428s [1] git2r_0.33.0 428s 428s loaded via a namespace (and not attached): 428s [1] compiler_4.3.3 428s > libgit2_version() 428s $major 428s [1] 1 428s 428s $minor 428s [1] 7 428s 428s $rev 428s [1] 2 428s 428s > libgit2_features() 428s $threads 428s [1] TRUE 428s 428s $https 428s [1] TRUE 428s 428s $ssh 428s [1] TRUE 428s 428s > 428s > 428s > ## Create 2 directories in tempdir 428s > path_bare <- tempfile(pattern = "git2r-") 428s > path_repo_1 <- tempfile(pattern = "git2r-") 428s > path_repo_2 <- tempfile(pattern = "git2r-") 428s > 428s > dir.create(path_bare) 428s > dir.create(path_repo_1) 428s > dir.create(path_repo_2) 428s > 428s > ## Create repositories 428s > bare_repo <- init(path_bare, bare = TRUE) 428s > repo_1 <- clone(path_bare, path_repo_1) 428s cloning into '/tmp/Rtmp0Bn0lo/git2r-8761d2eb1a2'... 428s > repo_2 <- clone(path_bare, path_repo_2) 428s cloning into '/tmp/Rtmp0Bn0lo/git2r-876c490836'... 428s > 428s > ## Config repositories 428s > config(repo_1, user.name = "Alice", user.email = "alice@example.org") 428s > config(repo_2, user.name = "Bob", user.email = "bob@example.org") 428s > 428s > ## Add changes to repo 1 428s > writeLines("Hello world", con = file.path(path_repo_1, "test.txt")) 428s > add(repo_1, "test.txt") 428s > commit_1 <- commit(repo_1, "Commit message") 428s > branch_name <- branches(repo_1)[[1]]$name 428s > 428s > ## Push changes from repo 1 to origin 428s > push(repo_1, "origin", paste0("refs/heads/", branch_name)) 428s > 428s > ## Check result in bare repository 428s > stopifnot(identical(length(commits(bare_repo)), 1L)) 428s > bare_commit_1 <- commits(bare_repo)[[1]] 428s > stopifnot(identical(sha(commit_1), sha(bare_commit_1))) 428s > stopifnot(identical(commit_1$author, bare_commit_1$author)) 428s > stopifnot(identical(commit_1$committer, bare_commit_1$committer)) 428s > stopifnot(identical(commit_1$summary, bare_commit_1$summary)) 428s > stopifnot(identical(commit_1$message, bare_commit_1$message)) 428s > stopifnot(!identical(commit_1$repo, bare_commit_1$repo)) 428s > 428s > ## Fetch 428s > fetch(repo_2, "origin") 428s [new] 267c5eea8d401cd18a4e refs/remotes/origin/master 428s > fh <- fetch_heads(repo_2)[[1]] 428s > stopifnot(identical(sha(fh), fh$sha)) 428s > 428s > ## Test show method of non-empty repository where head is null 428s > show(repo_2) 428s Local: /tmp/Rtmp0Bn0lo/git2r-876c490836 428s Head: nothing commited (yet) 428s > 428s > ## Check that 'git2r_arg_check_credentials' raise error 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", 428s + 3, "fetch", FALSE, NULL)) 428s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 428s + res[[1]]$message)) > 0) 428s > 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", repo_1, 428s + "fetch", FALSE, NULL)) 428s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 428s + res[[1]]$message)) > 0) 428s > 428s > credentials <- cred_env(c("username", "username"), "password") 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 428s + "fetch", FALSE, NULL)) 428s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 428s + res[[1]]$message)) > 0) 428s > 428s > credentials <- cred_env("username", c("password", "passowrd")) 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 428s + "fetch", FALSE, NULL)) 428s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 428s + res[[1]]$message)) > 0) 428s > 428s > credentials <- cred_user_pass(c("username", "username"), "password") 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 428s + "fetch", FALSE, NULL)) 428s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 428s + res[[1]]$message)) > 0) 428s > 428s > credentials <- cred_user_pass("username", c("password", "passowrd")) 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 428s + "fetch", FALSE, NULL)) 428s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 428s + res[[1]]$message)) > 0) 428s > 428s > credentials <- cred_token(c("GITHUB_PAT", "GITHUB_PAT")) 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 428s + "fetch", FALSE, NULL)) 428s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 428s + res[[1]]$message)) > 0) 428s > 428s > credentials <- structure(list(publickey = c("id_rsa.pub", "id_rsa.pub"), 428s + privatekey = "id_rsa", 428s + passphrase = character(0)), 428s + class = "cred_ssh_key") 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 428s + "fetch", FALSE, NULL)) 428s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 428s + res[[1]]$message)) > 0) 428s > 428s > credentials <- structure(list(publickey = "id_rsa.pub", 428s + privatekey = c("id_rsa", "id_rsa"), 428s + passphrase = character(0)), 428s + class = "cred_ssh_key") 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 428s + "fetch", FALSE, NULL)) 428s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 428s + res[[1]]$message)) > 0) 428s > 428s > credentials <- structure(list(publickey = "id_rsa.pub", 428s + privatekey = "id_rsa", 428s + passphrase = NA_character_), 428s + class = "cred_ssh_key") 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 428s + "fetch", FALSE, NULL)) 428s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 428s + res[[1]]$message)) > 0) 428s > 428s > credentials <- structure(list(publickey = "id_rsa.pub", 428s + privatekey = "id_rsa", 428s + passphrase = c("passphrase", "passphrase")), 428s + class = "cred_ssh_key") 428s > res <- tools::assertError( 428s + .Call(git2r:::git2r_remote_fetch, repo_1, "origin", credentials, 428s + "fetch", FALSE, NULL)) 428s > stopifnot(length(grep("'credentials' must be an S3 class with credentials", 428s + res[[1]]$message)) > 0) 428s > 428s > ## Cleanup 428s > unlink(path_bare, recursive = TRUE) 428s > unlink(path_repo_1, recursive = TRUE) 428s > unlink(path_repo_2, recursive = TRUE) 428s > 428s BEGIN TEST graph.R 428s 428s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 428s Copyright (C) 2024 The R Foundation for Statistical Computing 428s Platform: s390x-ibm-linux-gnu (64-bit) 428s 428s R is free software and comes with ABSOLUTELY NO WARRANTY. 428s You are welcome to redistribute it under certain conditions. 428s Type 'license()' or 'licence()' for distribution details. 428s 428s R is a collaborative project with many contributors. 428s Type 'contributors()' for more information and 428s 'citation()' on how to cite R or R packages in publications. 428s 428s Type 'demo()' for some demos, 'help()' for on-line help, or 428s 'help.start()' for an HTML browser interface to help. 428s Type 'q()' to quit R. 428s 429s > ## git2r, R bindings to the libgit2 library. 429s > ## Copyright (C) 2013-2023 The git2r contributors 429s > ## 429s > ## This program is free software; you can redistribute it and/or modify 429s > ## it under the terms of the GNU General Public License, version 2, 429s > ## as published by the Free Software Foundation. 429s > ## 429s > ## git2r is distributed in the hope that it will be useful, 429s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 429s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 429s > ## GNU General Public License for more details. 429s > ## 429s > ## You should have received a copy of the GNU General Public License along 429s > ## with this program; if not, write to the Free Software Foundation, Inc., 429s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 429s > 429s > library("git2r") 429s > 429s > ## For debugging 429s > sessionInfo() 429s R version 4.3.3 (2024-02-29) 429s Platform: s390x-ibm-linux-gnu (64-bit) 429s Running under: Ubuntu Noble Numbat (development branch) 429s 429s Matrix products: default 429s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 429s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 429s 429s locale: 429s [1] C 429s 429s time zone: Etc/UTC 429s tzcode source: system (glibc) 429s 429s attached base packages: 429s [1] stats graphics grDevices utils datasets methods base 429s 429s other attached packages: 429s [1] git2r_0.33.0 429s 429s loaded via a namespace (and not attached): 429s [1] compiler_4.3.3 429s > libgit2_version() 429s $major 429s [1] 1 429s 429s $minor 429s [1] 7 429s 429s $rev 429s [1] 2 429s 429s > libgit2_features() 429s $threads 429s [1] TRUE 429s 429s $https 429s [1] TRUE 429s 429s $ssh 429s [1] TRUE 429s 429s > 429s > 429s > ## Create a directory in tempdir 429s > path <- tempfile(pattern = "git2r-") 429s > dir.create(path) 429s > 429s > ## Initialize a repository 429s > repo <- init(path) 429s > config(repo, user.name = "Alice", user.email = "alice@example.org") 429s > 429s > ## Create a file and commit 429s > writeLines("Hello world!", file.path(path, "test.txt")) 429s > add(repo, "test.txt") 429s > commit_1 <- commit(repo, "First commit message") 429s > tag_1 <- tag(repo, "Tagname1", "Tag message 1") 429s > 429s > ## Change file and commit 429s > writeLines(c("Hello world!", "HELLO WORLD!"), 429s + file.path(path, "test.txt")) 429s > add(repo, "test.txt") 429s > commit_2 <- commit(repo, "Second commit message") 429s > tag_2 <- tag(repo, "Tagname2", "Tag message 2") 429s > 429s > ## Check ahead behind 429s > stopifnot(identical(ahead_behind(commit_1, commit_2), c(0L, 1L))) 429s > stopifnot(identical(ahead_behind(tag_1, tag_2), c(0L, 1L))) 429s > stopifnot(identical(ahead_behind(tag_2, tag_1), c(1L, 0L))) 429s > stopifnot(identical(ahead_behind(commit_1, branches(repo)[[1]]), c(0L, 1L))) 429s > stopifnot(identical(ahead_behind(branches(repo)[[1]], commit_1), c(1L, 0L))) 429s > 429s > ## Cleanup 429s > unlink(path, recursive = TRUE) 429s > 429s BEGIN TEST index.R 429s 429s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 429s Copyright (C) 2024 The R Foundation for Statistical Computing 429s Platform: s390x-ibm-linux-gnu (64-bit) 429s 429s R is free software and comes with ABSOLUTELY NO WARRANTY. 429s You are welcome to redistribute it under certain conditions. 429s Type 'license()' or 'licence()' for distribution details. 429s 429s R is a collaborative project with many contributors. 429s Type 'contributors()' for more information and 429s 'citation()' on how to cite R or R packages in publications. 429s 429s Type 'demo()' for some demos, 'help()' for on-line help, or 429s 'help.start()' for an HTML browser interface to help. 429s Type 'q()' to quit R. 429s 429s > ## git2r, R bindings to the libgit2 library. 429s > ## Copyright (C) 2013-2023 The git2r contributors 429s > ## 429s > ## This program is free software; you can redistribute it and/or modify 429s > ## it under the terms of the GNU General Public License, version 2, 429s > ## as published by the Free Software Foundation. 429s > ## 429s > ## git2r is distributed in the hope that it will be useful, 429s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 429s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 429s > ## GNU General Public License for more details. 429s > ## 429s > ## You should have received a copy of the GNU General Public License along 429s > ## with this program; if not, write to the Free Software Foundation, Inc., 429s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 429s > 429s > library(git2r) 429s > source("util/check.R") 429s > 429s > ## For debugging 429s > sessionInfo() 429s R version 4.3.3 (2024-02-29) 429s Platform: s390x-ibm-linux-gnu (64-bit) 429s Running under: Ubuntu Noble Numbat (development branch) 429s 429s Matrix products: default 429s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 429s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 429s 429s locale: 429s [1] C 429s 429s time zone: Etc/UTC 429s tzcode source: system (glibc) 429s 429s attached base packages: 429s [1] stats graphics grDevices utils datasets methods base 429s 429s other attached packages: 429s [1] git2r_0.33.0 429s 429s loaded via a namespace (and not attached): 429s [1] compiler_4.3.3 429s > libgit2_version() 429s $major 429s [1] 1 429s 429s $minor 429s [1] 7 429s 429s $rev 429s [1] 2 429s 429s > libgit2_features() 429s $threads 429s [1] TRUE 429s 429s $https 429s [1] TRUE 429s 429s $ssh 429s [1] TRUE 429s 429s > 429s > 429s > ## Create a directory in tempdir 429s > path <- tempfile(pattern = "git2r-") 429s > dir.create(path) 429s > 429s > ## Initialize a repository 429s > repo <- init(path) 429s > config(repo, user.name = "Alice", user.email = "alice@example.org") 429s > 429s > ## Create directories 429s > dir.create(file.path(path, "sub-folder")); 429s > dir.create(file.path(path, "sub-folder", "sub-sub-folder")); 429s > 429s > ## Create files 429s > writeLines("Hello world!", 429s + file.path(path, "file-1.txt")) 429s > writeLines("Hello world!", 429s + file.path(path, "sub-folder", "file-2.txt")) 429s > writeLines("Hello world!", 429s + file.path(path, "sub-folder", "file-3.txt")) 429s > writeLines("Hello world!", 429s + file.path(path, "sub-folder", "sub-sub-folder", "file-4.txt")) 429s > writeLines("Hello world!", 429s + file.path(path, "sub-folder", "sub-sub-folder", "file-5.txt")) 429s > 429s > ## Add 429s > add(repo, "file-1.txt") 429s > status_exp <- structure(list(staged = list(new = "file-1.txt"), 429s + unstaged = empty_named_list(), 429s + untracked = list(untracked = "sub-folder/")), 429s + class = "git_status") 429s > status_obs <- status(repo) 429s > stopifnot(identical(status_obs, status_exp)) 429s > 429s > ## Index remove by path 429s > index_remove_bypath(repo, "file-1.txt") 429s > status_exp <- structure(list(staged = empty_named_list(), 429s + unstaged = empty_named_list(), 429s + untracked = list(untracked = "file-1.txt", 429s + untracked = "sub-folder/")), 429s + class = "git_status") 429s > status_obs <- status(repo) 429s > stopifnot(identical(status_obs, status_exp)) 429s > 429s > ## Add 429s > add(repo, "sub-folder") 429s > status_exp <- structure(list(staged = list( 429s + new = "sub-folder/file-2.txt", 429s + new = "sub-folder/file-3.txt", 429s + new = "sub-folder/sub-sub-folder/file-4.txt", 429s + new = "sub-folder/sub-sub-folder/file-5.txt"), 429s + unstaged = empty_named_list(), 429s + untracked = list(untracked = "file-1.txt")), 429s + class = "git_status") 429s > status_obs <- status(repo) 429s > stopifnot(identical(status_obs, status_exp)) 429s > 429s > ## Commit 429s > commit(repo, "First commit message") 429s [c85909e] 2024-03-28: First commit message 429s > 429s > ## It should fail to remove non-existing, untracked and ignored files 429s > tools::assertError(rm_file(repo, c("file-1.txt", "file-2.txt"))) 429s > tools::assertError(rm_file(repo, c("file-1.txt", ""))) 429s > tools::assertError(rm_file(repo, c("file-1.txt"))) 429s > writeLines("/file-1.txt", file.path(path, ".gitignore")) 429s > tools::assertError(rm_file(repo, "file-1.txt")) 429s > 429s > ## It should fail to remove files with staged changes 429s > file.remove(file.path(path, ".gitignore")) 429s [1] TRUE 429s > add(repo, "file-1.txt") 429s > tools::assertError(rm_file(repo, "file-1.txt")) 429s > 429s > ## It should fail to remove files with unstaged changes 429s > commit(repo, "Second commit message") 429s [28c62dd] 2024-03-28: Second commit message 429s > writeLines(c("Hello world!", "Hello world!"), 429s + file.path(path, "file-1.txt")) 429s > tools::assertError(rm_file(repo, "file-1.txt")) 429s > 429s > ## Remove file 429s > add(repo, "file-1.txt") 429s > commit(repo, "Third commit message") 429s [b3e20e8] 2024-03-28: Third commit message 429s > rm_file(repo, "file-1.txt") 429s > status_exp <- structure(list(staged = list(deleted = "file-1.txt"), 429s + unstaged = empty_named_list(), 429s + untracked = empty_named_list()), 429s + class = "git_status") 429s > status_obs <- status(repo) 429s > stopifnot(identical(status_obs, status_exp)) 429s > 429s > ## Cleanup 429s > unlink(path, recursive = TRUE) 429s > 429s BEGIN TEST invalid-conf-var.R 429s 429s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 429s Copyright (C) 2024 The R Foundation for Statistical Computing 429s Platform: s390x-ibm-linux-gnu (64-bit) 429s 429s R is free software and comes with ABSOLUTELY NO WARRANTY. 429s You are welcome to redistribute it under certain conditions. 429s Type 'license()' or 'licence()' for distribution details. 429s 429s R is a collaborative project with many contributors. 429s Type 'contributors()' for more information and 429s 'citation()' on how to cite R or R packages in publications. 429s 429s Type 'demo()' for some demos, 'help()' for on-line help, or 429s 'help.start()' for an HTML browser interface to help. 429s Type 'q()' to quit R. 429s 429s > ## git2r, R bindings to the libgit2 library. 429s > ## Copyright (C) 2013-2023 The git2r contributors 429s > ## 429s > ## This program is free software; you can redistribute it and/or modify 429s > ## it under the terms of the GNU General Public License, version 2, 429s > ## as published by the Free Software Foundation. 429s > ## 429s > ## git2r is distributed in the hope that it will be useful, 429s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 429s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 429s > ## GNU General Public License for more details. 429s > ## 429s > ## You should have received a copy of the GNU General Public License along 429s > ## with this program; if not, write to the Free Software Foundation, Inc., 429s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 429s > 429s > library("git2r") 429s > 429s > ## For debugging 429s > sessionInfo() 429s R version 4.3.3 (2024-02-29) 429s Platform: s390x-ibm-linux-gnu (64-bit) 429s Running under: Ubuntu Noble Numbat (development branch) 429s 429s Matrix products: default 429s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 429s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 429s 429s locale: 429s [1] C 429s 429s time zone: Etc/UTC 429s tzcode source: system (glibc) 429s 429s attached base packages: 429s [1] stats graphics grDevices utils datasets methods base 429s 429s other attached packages: 429s [1] git2r_0.33.0 429s 429s loaded via a namespace (and not attached): 429s [1] compiler_4.3.3 429s > libgit2_version() 429s $major 429s [1] 1 429s 429s $minor 429s [1] 7 429s 429s $rev 429s [1] 2 429s 429s > libgit2_features() 429s $threads 429s [1] TRUE 429s 429s $https 429s [1] TRUE 429s 429s $ssh 429s [1] TRUE 429s 429s > 429s > 429s > ## Create a directory in tempdir 429s > path <- tempfile(pattern = "git2r-") 429s > dir.create(path) 429s > 429s > ## Initialize a repository 429s > repo <- init(path) 429s > 429s > ## Config repository 429s > config(repo, user.name = "Alice") 429s > 429s > ## Let's set one valid and one with variable with invalid format 429s > res <- tools::assertWarning(config(repo, 429s + user.email = "alice@example.org", 429s + lol = "wut")) 429s > stopifnot(length(grep("Variable was not in a valid format: 'lol'", 429s + res[[1]]$message)) > 0) 429s > 429s > cfg_exp <- structure(list(user.name = "Alice", 429s + user.email = "alice@example.org", 429s + "NA" = NULL), 429s + .Names = c("user.name", "user.email", NA)) 429s > 429s > cfg_obs <- config(repo)$local 429s > cfg_obs <- cfg_obs[c("user.name", "user.email", "lol")] 429s > stopifnot(identical(cfg_obs, cfg_exp)) 429s > 429s > ## Cleanup 429s > unlink(path, recursive = TRUE) 429s > 429s BEGIN TEST libgit2.R 429s 429s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 429s Copyright (C) 2024 The R Foundation for Statistical Computing 429s Platform: s390x-ibm-linux-gnu (64-bit) 429s 429s R is free software and comes with ABSOLUTELY NO WARRANTY. 429s You are welcome to redistribute it under certain conditions. 429s Type 'license()' or 'licence()' for distribution details. 429s 429s R is a collaborative project with many contributors. 429s Type 'contributors()' for more information and 429s 'citation()' on how to cite R or R packages in publications. 429s 429s Type 'demo()' for some demos, 'help()' for on-line help, or 429s 'help.start()' for an HTML browser interface to help. 429s Type 'q()' to quit R. 429s 430s > ## git2r, R bindings to the libgit2 library. 430s > ## Copyright (C) 2013-2023 The git2r contributors 430s > ## 430s > ## This program is free software; you can redistribute it and/or modify 430s > ## it under the terms of the GNU General Public License, version 2, 430s > ## as published by the Free Software Foundation. 430s > ## 430s > ## git2r is distributed in the hope that it will be useful, 430s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 430s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 430s > ## GNU General Public License for more details. 430s > ## 430s > ## You should have received a copy of the GNU General Public License along 430s > ## with this program; if not, write to the Free Software Foundation, Inc., 430s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 430s > 430s > library("git2r") 430s > 430s > ## For debugging 430s > sessionInfo() 430s R version 4.3.3 (2024-02-29) 430s Platform: s390x-ibm-linux-gnu (64-bit) 430s Running under: Ubuntu Noble Numbat (development branch) 430s 430s Matrix products: default 430s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 430s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 430s 430s locale: 430s [1] C 430s 430s time zone: Etc/UTC 430s tzcode source: system (glibc) 430s 430s attached base packages: 430s [1] stats graphics grDevices utils datasets methods base 430s 430s other attached packages: 430s [1] git2r_0.33.0 430s 430s loaded via a namespace (and not attached): 430s [1] compiler_4.3.3 430s > libgit2_version() 430s $major 430s [1] 1 430s 430s $minor 430s [1] 7 430s 430s $rev 430s [1] 2 430s 430s > libgit2_features() 430s $threads 430s [1] TRUE 430s 430s $https 430s [1] TRUE 430s 430s $ssh 430s [1] TRUE 430s 430s > 430s > 430s > stopifnot(identical(names(libgit2_features()), 430s + c("threads", "https", "ssh"))) 430s > 430s > stopifnot(identical(names(libgit2_version()), 430s + c("major", "minor", "rev"))) 430s > 430s > tools::assertError(ssl_cert_locations()) 430s > 430s > if (identical(Sys.getenv("R_COVR"), "true")) { 430s + if (isTRUE(libgit2_features()$https)) { 430s + ## Create a directory in tempdir 430s + path <- tempfile(pattern = "git2r-") 430s + dir.create(path) 430s + stopifnot(is.null(ssl_cert_locations(path = path))) 430s + unlink(path) 430s + } 430s + } 430s > 430s BEGIN TEST ls_tree.R 430s 430s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 430s Copyright (C) 2024 The R Foundation for Statistical Computing 430s Platform: s390x-ibm-linux-gnu (64-bit) 430s 430s R is free software and comes with ABSOLUTELY NO WARRANTY. 430s You are welcome to redistribute it under certain conditions. 430s Type 'license()' or 'licence()' for distribution details. 430s 430s R is a collaborative project with many contributors. 430s Type 'contributors()' for more information and 430s 'citation()' on how to cite R or R packages in publications. 430s 430s Type 'demo()' for some demos, 'help()' for on-line help, or 430s 'help.start()' for an HTML browser interface to help. 430s Type 'q()' to quit R. 430s 430s > ## git2r, R bindings to the libgit2 library. 430s > ## Copyright (C) 2013-2023 The git2r contributors 430s > ## 430s > ## This program is free software; you can redistribute it and/or modify 430s > ## it under the terms of the GNU General Public License, version 2, 430s > ## as published by the Free Software Foundation. 430s > ## 430s > ## git2r is distributed in the hope that it will be useful, 430s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 430s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 430s > ## GNU General Public License for more details. 430s > ## 430s > ## You should have received a copy of the GNU General Public License along 430s > ## with this program; if not, write to the Free Software Foundation, Inc., 430s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 430s > 430s > library("git2r") 430s > 430s > ## For debugging 430s > sessionInfo() 430s R version 4.3.3 (2024-02-29) 430s Platform: s390x-ibm-linux-gnu (64-bit) 430s Running under: Ubuntu Noble Numbat (development branch) 430s 430s Matrix products: default 430s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 430s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 430s 430s locale: 430s [1] C 430s 430s time zone: Etc/UTC 430s tzcode source: system (glibc) 430s 430s attached base packages: 430s [1] stats graphics grDevices utils datasets methods base 430s 430s other attached packages: 430s [1] git2r_0.33.0 430s 430s loaded via a namespace (and not attached): 430s [1] compiler_4.3.3 430s > libgit2_version() 430s $major 430s [1] 1 430s 430s $minor 430s [1] 7 430s 430s $rev 430s [1] 2 430s 430s > libgit2_features() 430s $threads 430s [1] TRUE 430s 430s $https 430s [1] TRUE 430s 430s $ssh 430s [1] TRUE 430s 430s > 430s > 430s > ## Initialize a temporary repository 430s > path <- tempfile(pattern = "git2r-") 430s > dir.create(path) 430s > dir.create(file.path(path, "subfolder")) 430s > repo <- init(path) 430s > 430s > ## Create a user 430s > config(repo, user.name = "Alice", user.email = "alice@example.org") 430s > 430s > ## Create three files and commit 430s > writeLines("First file", file.path(path, "example-1.txt")) 430s > writeLines("Second file", file.path(path, "subfolder/example-2.txt")) 430s > writeLines("Third file", file.path(path, "example-3.txt")) 430s > add(repo, c("example-1.txt", "subfolder/example-2.txt", "example-3.txt")) 430s > commit(repo, "Commit message") 430s [8d8e088] 2024-03-28: Commit message 430s > 430s > ## Traverse tree entries and its subtrees. 430s > ## Various approaches that give identical result. 430s > stopifnot(identical(ls_tree(tree = tree(last_commit(path))), 430s + ls_tree(tree = tree(last_commit(repo))))) 430s > stopifnot(identical(ls_tree(repo = path), ls_tree(repo = repo))) 430s > 430s > ## ls_tree(repo = repo) should match `git ls-tree -lr HEAD` 430s > ls_tree_result <- ls_tree(repo = repo) 430s > stopifnot(identical(ls_tree_result$name, 430s + c("example-1.txt", "example-3.txt", "example-2.txt"))) 430s > 430s > # Argument `tree` can be a 'character that identifies a tree in the repository' 430s > ls_tree(tree = tree(last_commit(path))$sha, repo = repo) 430s mode type sha path name 430s 1 100644 blob 4c5fd919d52e3c1b08f7924cfa05d6de100912fd example-1.txt 430s 2 100644 blob f89598da398eb016c504a5e272cb3eb1a31e2687 example-3.txt 430s 3 100644 blob 20d5b672a347112783818b3fc8cc7cd66ade3008 subfolder/ example-2.txt 430s len 430s 1 11 430s 2 11 430s 3 12 430s > 430s > ## Skip content in subfolder 430s > ls_tree_toplevel <- ls_tree(repo = repo, recursive = FALSE) 430s > stopifnot(nrow(ls_tree_toplevel) == 3) 430s > stopifnot(identical(ls_tree_toplevel$name, 430s + c("example-1.txt", "example-3.txt", "subfolder"))) 430s > 430s > ## Start in subfolder 430s > ls_tree_subfolder <- ls_tree(tree = "HEAD:subfolder", repo = repo) 430s > stopifnot(nrow(ls_tree_subfolder) == 1) 430s > stopifnot(identical(ls_tree_subfolder$name, "example-2.txt")) 430s > 430s > ## Cleanup 430s > unlink(path, recursive = TRUE) 430s > 430s BEGIN TEST merge.R 430s 430s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 430s Copyright (C) 2024 The R Foundation for Statistical Computing 430s Platform: s390x-ibm-linux-gnu (64-bit) 430s 430s R is free software and comes with ABSOLUTELY NO WARRANTY. 430s You are welcome to redistribute it under certain conditions. 430s Type 'license()' or 'licence()' for distribution details. 430s 430s R is a collaborative project with many contributors. 430s Type 'contributors()' for more information and 430s 'citation()' on how to cite R or R packages in publications. 430s 430s Type 'demo()' for some demos, 'help()' for on-line help, or 430s 'help.start()' for an HTML browser interface to help. 430s Type 'q()' to quit R. 430s 430s > ## git2r, R bindings to the libgit2 library. 430s > ## Copyright (C) 2013-2023 The git2r contributors 430s > ## 430s > ## This program is free software; you can redistribute it and/or modify 430s > ## it under the terms of the GNU General Public License, version 2, 430s > ## as published by the Free Software Foundation. 430s > ## 430s > ## git2r is distributed in the hope that it will be useful, 430s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 430s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 430s > ## GNU General Public License for more details. 430s > ## 430s > ## You should have received a copy of the GNU General Public License along 430s > ## with this program; if not, write to the Free Software Foundation, Inc., 430s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 430s > 430s > library(git2r) 430s > source("util/check.R") 430s > 430s > ## For debugging 430s > sessionInfo() 430s R version 4.3.3 (2024-02-29) 430s Platform: s390x-ibm-linux-gnu (64-bit) 430s Running under: Ubuntu Noble Numbat (development branch) 430s 430s Matrix products: default 430s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 430s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 430s 430s locale: 430s [1] C 430s 430s time zone: Etc/UTC 430s tzcode source: system (glibc) 430s 430s attached base packages: 430s [1] stats graphics grDevices utils datasets methods base 430s 430s other attached packages: 430s [1] git2r_0.33.0 430s 430s loaded via a namespace (and not attached): 430s [1] compiler_4.3.3 430s > libgit2_version() 430s $major 430s [1] 1 430s 430s $minor 430s [1] 7 430s 430s $rev 430s [1] 2 430s 430s > libgit2_features() 430s $threads 430s [1] TRUE 430s 430s $https 430s [1] TRUE 430s 430s $ssh 430s [1] TRUE 430s 430s > 430s > 430s > ## Create a directory in tempdir 430s > path <- tempfile(pattern = "git2r-") 430s > dir.create(path) 430s > 430s > ## Initialize a repository 430s > repo <- init(path, branch = "main") 430s > config(repo, user.name = "Alice", user.email = "alice@example.org") 430s > 430s > ## Create a file, add and commit 430s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 430s + con = file.path(path, "test.txt")) 430s > add(repo, "test.txt") 430s > commit_1 <- commit(repo, "Commit message 1") 430s > 430s > ## Create first branch, checkout, add file and commit 430s > b_1 <- branch_create(commit_1, "branch1") 430s > checkout(b_1) 430s > writeLines("Branch 1", file.path(path, "branch-1.txt")) 430s > add(repo, "branch-1.txt") 430s > commit_2 <- commit(repo, "Commit message branch 1") 430s > 430s > ## Create second branch, checkout, add file and commit 430s > b_2 <- branch_create(commit_1, "branch2") 430s > checkout(b_2) 430s > writeLines("Branch 2", file.path(path, "branch-2.txt")) 430s > add(repo, "branch-2.txt") 430s > commit_3 <- commit(repo, "Commit message branch 2") 430s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 430s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 430s + con = file.path(path, "test.txt")) 430s > add(repo, "test.txt") 430s > commit_4 <- commit(repo, "Second commit message branch 2") 430s > 430s > ## Check that merge base equals commit_1 430s > stopifnot(identical(merge_base(commit_2, commit_3), commit_1)) 430s > 430s > ## Checkout main 430s > b <- branches(repo) 430s > checkout(b[sapply(b, "[", "name") == "main"][[1]], force = TRUE) 430s > 430s > ## Merge branch 1 430s > m_1 <- merge(b[sapply(b, "[", "name") == "branch1"][[1]]) 430s > stopifnot(identical(m_1$fast_forward, TRUE)) 430s > stopifnot(identical(m_1$conflicts, FALSE)) 430s > stopifnot(identical(sha(m_1), NA_character_)) 430s > stopifnot(identical(print(m_1), m_1)) 430s Merge: Fast-forward 430s > 430s > ## Merge branch 1 again 430s > m_1_again <- merge(b[sapply(b, "[", "name") == "branch1"][[1]]) 430s > stopifnot(identical(m_1_again$up_to_date, TRUE)) 430s > stopifnot(identical(m_1_again$fast_forward, FALSE)) 430s > stopifnot(identical(m_1_again$conflicts, FALSE)) 430s > stopifnot(identical(sha(m_1_again), NA_character_)) 430s > 430s > ## Merge branch 2 430s > m_2 <- merge(b[sapply(b, "[", "name") == "branch2"][[1]]) 430s > stopifnot(identical(m_2$fast_forward, FALSE)) 430s > stopifnot(identical(m_2$conflicts, FALSE)) 430s > stopifnot(identical(sha(m_2), sha(commits(repo)[[1]]))) 430s > 430s > ## Create third branch, checkout, change file and commit 430s > b_3 <- branch_create(lookup(repo, sha(m_2)), "branch3") 430s > checkout(b_3) 430s > writeLines(c("Lorem ipsum dolor amet sit, consectetur adipisicing elit, sed do", 430s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 430s + con = file.path(path, "test.txt")) 430s > add(repo, "test.txt") 430s > commit(repo, "Commit message branch 3") 430s [a832f1c] 2024-03-28: Commit message branch 3 430s > 430s > ## Checkout main and create a change that creates a conflict on 430s > ## merge 430s > b <- branches(repo) 430s > checkout(b[sapply(b, "[", "name") == "main"][[1]], force = TRUE) 430s > writeLines(c("Lorem ipsum dolor sit amet, adipisicing consectetur elit, sed do", 430s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 430s + con = file.path(path, "test.txt")) 430s > add(repo, "test.txt") 430s > commit(repo, "Some commit message branch 1") 430s [aa30d76] 2024-03-28: Some commit message branch 1 430s > 430s > ## Merge branch 3 with fail = TRUE 430s > m_3 <- merge(b[sapply(b, "[", "name") == "branch3"][[1]], fail = TRUE) 430s > stopifnot(identical(m_3$up_to_date, FALSE)) 430s > stopifnot(identical(m_3$fast_forward, FALSE)) 430s > stopifnot(identical(m_3$conflicts, TRUE)) 430s > stopifnot(identical(sha(m_3), NA_character_)) 430s > m_3 430s Merge: Conflicts 430s > 430s > ## Check status; Expect to have a clean working directory 430s > wd <- structure(list(staged = empty_named_list(), 430s + unstaged = empty_named_list(), 430s + untracked = empty_named_list()), 430s + class = "git_status") 430s > stopifnot(identical(status(repo), wd)) 430s > 430s > ## Merge branch 3 430s > m_3 <- merge(b[sapply(b, "[", "name") == "branch3"][[1]]) 430s > stopifnot(identical(m_3$up_to_date, FALSE)) 430s > stopifnot(identical(m_3$fast_forward, FALSE)) 430s > stopifnot(identical(m_3$conflicts, TRUE)) 430s > stopifnot(identical(sha(m_3), NA_character_)) 430s > m_3 430s Merge: Conflicts 430s > 430s > ## Check status; Expect to have one unstaged unmerged conflict. 430s > stopifnot(identical(status(repo), 430s + structure(list(staged = empty_named_list(), 430s + unstaged = list(conflicted = "test.txt"), 430s + untracked = empty_named_list()), 430s + class = "git_status"))) 430s > 430s > ## Cleanup 430s > unlink(path, recursive = TRUE) 430s > 430s BEGIN TEST merge_named_branch.R 430s 430s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 430s Copyright (C) 2024 The R Foundation for Statistical Computing 430s Platform: s390x-ibm-linux-gnu (64-bit) 430s 430s R is free software and comes with ABSOLUTELY NO WARRANTY. 430s You are welcome to redistribute it under certain conditions. 430s Type 'license()' or 'licence()' for distribution details. 430s 430s R is a collaborative project with many contributors. 430s Type 'contributors()' for more information and 430s 'citation()' on how to cite R or R packages in publications. 430s 430s Type 'demo()' for some demos, 'help()' for on-line help, or 430s 'help.start()' for an HTML browser interface to help. 430s Type 'q()' to quit R. 430s 430s > ## git2r, R bindings to the libgit2 library. 430s > ## Copyright (C) 2013-2023 The git2r contributors 430s > ## 430s > ## This program is free software; you can redistribute it and/or modify 430s > ## it under the terms of the GNU General Public License, version 2, 430s > ## as published by the Free Software Foundation. 430s > ## 430s > ## git2r is distributed in the hope that it will be useful, 430s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 430s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 430s > ## GNU General Public License for more details. 430s > ## 430s > ## You should have received a copy of the GNU General Public License along 430s > ## with this program; if not, write to the Free Software Foundation, Inc., 430s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 430s > 430s > library(git2r) 430s > source("util/check.R") 430s > 430s > ## For debugging 430s > sessionInfo() 430s R version 4.3.3 (2024-02-29) 430s Platform: s390x-ibm-linux-gnu (64-bit) 430s Running under: Ubuntu Noble Numbat (development branch) 430s 430s Matrix products: default 430s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 430s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 430s 430s locale: 430s [1] C 430s 430s time zone: Etc/UTC 430s tzcode source: system (glibc) 430s 430s attached base packages: 430s [1] stats graphics grDevices utils datasets methods base 430s 430s other attached packages: 430s [1] git2r_0.33.0 430s 430s loaded via a namespace (and not attached): 430s [1] compiler_4.3.3 430s > libgit2_version() 430s $major 430s [1] 1 430s 430s $minor 430s [1] 7 430s 430s $rev 430s [1] 2 430s 430s > libgit2_features() 430s $threads 430s [1] TRUE 430s 430s $https 430s [1] TRUE 430s 430s $ssh 430s [1] TRUE 430s 430s > 430s > 430s > ## Create a directory in tempdir 430s > path <- tempfile(pattern = "git2r-") 430s > dir.create(path) 430s > 430s > ## Initialize a repository 430s > repo <- init(path, branch = "main") 430s > config(repo, user.name = "Alice", user.email = "alice@example.org") 430s > 430s > ## Create a file, add and commit 430s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 430s + con = file.path(path, "test.txt")) 430s > add(repo, "test.txt") 430s > commit_1 <- commit(repo, "Commit message 1") 430s > 430s > ## Create first branch, checkout, add file and commit 430s > checkout(repo, "branch1", create = TRUE) 430s > writeLines("Branch 1", file.path(path, "branch-1.txt")) 430s > add(repo, "branch-1.txt") 430s > commit_2 <- commit(repo, "Commit message branch 1") 430s > 430s > ## Create second branch, checkout, add file and commit 430s > b_2 <- branch_create(commit_1, "branch2") 430s > checkout(b_2) 430s > writeLines("Branch 2", file.path(path, "branch-2.txt")) 430s > add(repo, "branch-2.txt") 430s > commit_3 <- commit(repo, "Commit message branch 2") 430s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 430s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 430s + con = file.path(path, "test.txt")) 430s > add(repo, "test.txt") 430s > commit_4 <- commit(repo, "Second commit message branch 2") 430s > 430s > ## Check that merge base equals commit_1 430s > stopifnot(identical(merge_base(commit_2, commit_3), commit_1)) 430s > 430s > ## Checkout main 430s > b <- branches(repo) 430s > checkout(b[sapply(b, "[", "name") == "main"][[1]], force = TRUE) 430s > 430s > ## Merge branch 1 430s > m_1 <- merge(repo, "branch1") 430s > stopifnot(identical(m_1$fast_forward, TRUE)) 430s > stopifnot(identical(m_1$conflicts, FALSE)) 430s > stopifnot(identical(sha(m_1), NA_character_)) 430s > 430s > ## Merge branch 2 430s > m_2 <- merge(path, "branch2") 430s > stopifnot(identical(m_2$fast_forward, FALSE)) 430s > stopifnot(identical(m_2$conflicts, FALSE)) 430s > stopifnot(identical(sha(m_2), sha(commits(repo)[[1]]))) 430s > 430s > ## Create third branch, checkout, change file and commit 430s > checkout(repo, "branch3", create = TRUE) 430s > writeLines(c("Lorem ipsum dolor amet sit, consectetur adipisicing elit, sed do", 430s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 430s + con = file.path(path, "test.txt")) 430s > add(repo, "test.txt") 430s > commit(repo, "Commit message branch 3") 430s [a832f1c] 2024-03-28: Commit message branch 3 430s > 430s > ## Checkout main and create a change that creates a merge conflict 430s > checkout(repo, "main", force = TRUE) 430s > writeLines(c("Lorem ipsum dolor sit amet, adipisicing consectetur elit, sed do", 430s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 430s + con = file.path(path, "test.txt")) 430s > add(repo, "test.txt") 430s > commit(repo, "Some commit message branch 1") 430s [aa30d76] 2024-03-28: Some commit message branch 1 430s > 430s > ## Merge branch 3 430s > m_3 <- merge(repo, "branch3") 430s > stopifnot(identical(m_3$up_to_date, FALSE)) 430s > stopifnot(identical(m_3$fast_forward, FALSE)) 430s > stopifnot(identical(m_3$conflicts, TRUE)) 430s > stopifnot(identical(sha(m_3), NA_character_)) 430s > 430s > ## Check status; Expect to have one unstaged unmerged conflict. 430s > stopifnot(identical(status(repo), 430s + structure(list(staged = empty_named_list(), 430s + unstaged = list(conflicted = "test.txt"), 430s + untracked = empty_named_list()), 430s + class = "git_status"))) 430s > 430s > ## Cleanup 430s > unlink(path, recursive = TRUE) 430s > 430s BEGIN TEST normal_merge.R 430s 430s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 430s Copyright (C) 2024 The R Foundation for Statistical Computing 430s Platform: s390x-ibm-linux-gnu (64-bit) 430s 430s R is free software and comes with ABSOLUTELY NO WARRANTY. 430s You are welcome to redistribute it under certain conditions. 430s Type 'license()' or 'licence()' for distribution details. 430s 430s R is a collaborative project with many contributors. 430s Type 'contributors()' for more information and 430s 'citation()' on how to cite R or R packages in publications. 430s 430s Type 'demo()' for some demos, 'help()' for on-line help, or 430s 'help.start()' for an HTML browser interface to help. 430s Type 'q()' to quit R. 430s 430s > ## git2r, R bindings to the libgit2 library. 430s > ## Copyright (C) 2013-2023 The git2r contributors 430s > ## 430s > ## This program is free software; you can redistribute it and/or modify 430s > ## it under the terms of the GNU General Public License, version 2, 430s > ## as published by the Free Software Foundation. 430s > ## 430s > ## git2r is distributed in the hope that it will be useful, 430s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 430s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 430s > ## GNU General Public License for more details. 430s > ## 430s > ## You should have received a copy of the GNU General Public License along 430s > ## with this program; if not, write to the Free Software Foundation, Inc., 430s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 430s > 430s > library(git2r) 431s > 431s > ## For debugging 431s > sessionInfo() 431s R version 4.3.3 (2024-02-29) 431s Platform: s390x-ibm-linux-gnu (64-bit) 431s Running under: Ubuntu Noble Numbat (development branch) 431s 431s Matrix products: default 431s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 431s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 431s 431s locale: 431s [1] C 431s 431s time zone: Etc/UTC 431s tzcode source: system (glibc) 431s 431s attached base packages: 431s [1] stats graphics grDevices utils datasets methods base 431s 431s other attached packages: 431s [1] git2r_0.33.0 431s 431s loaded via a namespace (and not attached): 431s [1] compiler_4.3.3 431s > libgit2_version() 431s $major 431s [1] 1 431s 431s $minor 431s [1] 7 431s 431s $rev 431s [1] 2 431s 431s > libgit2_features() 431s $threads 431s [1] TRUE 431s 431s $https 431s [1] TRUE 431s 431s $ssh 431s [1] TRUE 431s 431s > 431s > 431s > ## Initialize a temporary repository 431s > path <- tempfile(pattern = "git2r-") 431s > dir.create(path) 431s > repo <- init(path, branch = "main") 431s > 431s > ## Create a user and commit a file 431s > config(repo, user.name = "Author", user.email = "author@example.org") 431s > writeLines(c("First line in file 1.", "Second line in file 1."), 431s + file.path(path, "example-1.txt")) 431s > add(repo, "example-1.txt") 431s > commit(repo, "First commit message") 431s [a58a450] 2024-03-28: First commit message 431s > 431s > ## Create and add one more file 431s > writeLines(c("First line in file 2.", "Second line in file 2."), 431s + file.path(path, "example-2.txt")) 431s > add(repo, "example-2.txt") 431s > commit(repo, "Second commit message") 431s [d31d630] 2024-03-28: Second commit message 431s > 431s > ## Create a new branch 'fix' 431s > checkout(repo, "fix", create = TRUE) 431s > 431s > ## Update 'example-1.txt' (swap words in first line) and commit 431s > writeLines(c("line First in file 1.", "Second line in file 1."), 431s + file.path(path, "example-1.txt")) 431s > add(repo, "example-1.txt") 431s > commit(repo, "Third commit message") 431s [fc46528] 2024-03-28: Third commit message 431s > 431s > checkout(repo, "main") 431s > 431s > ## Update 'example-2.txt' (swap words in second line) and commit 431s > writeLines(c("First line in file 2.", "line Second in file 2."), 431s + file.path(path, "example-2.txt")) 431s > add(repo, "example-2.txt") 431s > commit(repo, "Fourth commit message") 431s [4c38f8d] 2024-03-28: Fourth commit message 431s > 431s > # Missing branch to merge with should throw an error 431s > tools::assertError(merge(repo)) 431s > 431s > ## Merge 'fix' 431s > m <- merge(repo, "fix", TRUE, default_signature(repo)) 431s > stopifnot(identical(format(m), "Merge")) 431s > 431s > ## Merge 'fix' again 431s > m <- merge(repo, "fix", TRUE, default_signature(repo)) 431s > stopifnot(identical(format(m), "Already up-to-date")) 431s > 431s > ## Check number of parents of each commit 431s > stopifnot(identical(sapply(commits(repo), function(x) length(parents(x))), 431s + c(2L, 1L, 1L, 1L, 0L))) 431s > 431s > ## Check that last commit is a merge 431s > stopifnot(is_merge(last_commit(repo))) 431s > summary(last_commit(repo)) 431s Commit: 74800fa4803b4ab0f9245d2a2e60aa4afdc9b4e1 431s Merge: 4c38f8d97865867225a892469dac2a001880b168 431s fc4652891ca35484c0f2b4f2da4573cac9b16012 431s Author: Author 431s When: 2024-03-28 00:12:19 GMT 431s 431s merge fix 431s 431s Commit message: 4c38f8d97865867225a892469dac2a001880b168 431s Fourth commit message 431s 431s Commit message: fc4652891ca35484c0f2b4f2da4573cac9b16012 431s Third commit message 431s 431s > 431s > ## Check that metadata associated with merge is removed 431s > stopifnot(!file.exists(file.path(path, ".git", "MERGE_HEAD"))) 431s > 431s > ## Cleanup 431s > unlink(path, recursive = TRUE) 431s > 431s BEGIN TEST note.R 431s 431s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 431s Copyright (C) 2024 The R Foundation for Statistical Computing 431s Platform: s390x-ibm-linux-gnu (64-bit) 431s 431s R is free software and comes with ABSOLUTELY NO WARRANTY. 431s You are welcome to redistribute it under certain conditions. 431s Type 'license()' or 'licence()' for distribution details. 431s 431s R is a collaborative project with many contributors. 431s Type 'contributors()' for more information and 431s 'citation()' on how to cite R or R packages in publications. 431s 431s Type 'demo()' for some demos, 'help()' for on-line help, or 431s 'help.start()' for an HTML browser interface to help. 431s Type 'q()' to quit R. 431s 431s > ## git2r, R bindings to the libgit2 library. 431s > ## Copyright (C) 2013-2023 The git2r contributors 431s > ## 431s > ## This program is free software; you can redistribute it and/or modify 431s > ## it under the terms of the GNU General Public License, version 2, 431s > ## as published by the Free Software Foundation. 431s > ## 431s > ## git2r is distributed in the hope that it will be useful, 431s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 431s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 431s > ## GNU General Public License for more details. 431s > ## 431s > ## You should have received a copy of the GNU General Public License along 431s > ## with this program; if not, write to the Free Software Foundation, Inc., 431s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 431s > 431s > library("git2r") 431s > 431s > ## For debugging 431s > sessionInfo() 431s R version 4.3.3 (2024-02-29) 431s Platform: s390x-ibm-linux-gnu (64-bit) 431s Running under: Ubuntu Noble Numbat (development branch) 431s 431s Matrix products: default 431s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 431s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 431s 431s locale: 431s [1] C 431s 431s time zone: Etc/UTC 431s tzcode source: system (glibc) 431s 431s attached base packages: 431s [1] stats graphics grDevices utils datasets methods base 431s 431s other attached packages: 431s [1] git2r_0.33.0 431s 431s loaded via a namespace (and not attached): 431s [1] compiler_4.3.3 431s > libgit2_version() 431s $major 431s [1] 1 431s 431s $minor 431s [1] 7 431s 431s $rev 431s [1] 2 431s 431s > libgit2_features() 431s $threads 431s [1] TRUE 431s 431s $https 431s [1] TRUE 431s 431s $ssh 431s [1] TRUE 431s 431s > 431s > 431s > ## Create a directory in tempdir 431s > path <- tempfile(pattern = "git2r-") 431s > dir.create(path) 431s > 431s > ## Initialize a repository 431s > repo <- init(path) 431s > config(repo, user.name = "Alice", user.email = "alice@example.org") 431s > 431s > ## Create a file, add and commit 431s > writeLines("Hello world!", file.path(path, "test.txt")) 431s > add(repo, "test.txt") 431s > commit_1 <- commit(repo, "Commit message 1") 431s > 431s > ## Create another commit 431s > writeLines(c("Hello world!", 431s + "HELLO WORLD!"), 431s + file.path(path, "test.txt")) 431s > add(repo, "test.txt") 431s > commit_2 <- commit(repo, "Commit message 2") 431s > 431s > ## Check default ref 431s > stopifnot(identical(note_default_ref(repo), 431s + "refs/notes/commits")) 431s > 431s > ## Check that an invalid object argument in note_create produce an 431s > ## error. 431s > tools::assertError(note_create(object = NULL, message = "test")) 431s > tools::assertError(note_create(object = 1, message = "test")) 431s > 431s > ## Check that notes is an empty list 431s > stopifnot(identical(notes(repo), list())) 431s > 431s > ## Create note in default namespace 431s > note_1 <- note_create(commit_1, "Note-1") 431s > stopifnot(identical(print(note_1), note_1)) 431s note: a801dfb10a85d13bc8ab304a9255b5cf180f94dd 431s > stopifnot(identical(length(notes(repo)), 1L)) 431s > stopifnot(identical(sha(note_1), note_1$sha)) 431s > tools::assertError(note_create(commit_1, "Note-2")) 431s > note_2 <- note_create(commit_1, "Note-2", force = TRUE) 431s > stopifnot(identical(length(notes(repo)), 1L)) 431s > 431s > ## Check that an invalid note argument in note_remove produce an 431s > ## error. 431s > tools::assertError(note_remove(note = 1)) 431s > 431s > ## Create note in named (review) namespace 431s > note_3 <- note_create(commit_1, "Note-3", ref = "refs/notes/review") 431s > note_4 <- note_create(commit_2, "Note-4", ref = "refs/notes/review") 431s > stopifnot(identical(length(notes(repo, ref = "refs/notes/review")), 2L)) 431s > note_remove(note_3) 431s > note_remove(note_4) 431s > stopifnot(identical(notes(repo, ref = "refs/notes/review"), list())) 431s > note_5 <- note_create(commit_1, "Note-5", ref = "review") 431s > note_6 <- note_create(commit_2, "Note-6", ref = "review") 431s > stopifnot(identical(length(notes(repo, ref = "review")), 2L)) 431s > note_remove(note_5) 431s > note_remove(note_6) 431s > stopifnot(identical(length(notes(repo, ref = "review")), 0L)) 431s > 431s > ## Create note on blob and tree 431s > tree_1 <- tree(commit_1) 431s > note_7 <- note_create(tree_1, "Note-7") 431s > stopifnot(is(object = lookup(repo, note_7$annotated), class2 = "git_tree")) 431s > stopifnot(identical(length(notes(repo)), 2L)) 431s > blob_1 <- lookup(repo, tree_1$id[1]) 431s > note_8 <- note_create(blob_1, "Note-8") 431s > stopifnot(is(object = lookup(repo, note_8$annotated), class2 = "git_blob")) 431s > stopifnot(identical(length(notes(repo)), 3L)) 431s > 431s > ## Cleanup 431s > unlink(path, recursive = TRUE) 431s > 431s BEGIN TEST odb_blobs.R 431s 431s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 431s Copyright (C) 2024 The R Foundation for Statistical Computing 431s Platform: s390x-ibm-linux-gnu (64-bit) 431s 431s R is free software and comes with ABSOLUTELY NO WARRANTY. 431s You are welcome to redistribute it under certain conditions. 431s Type 'license()' or 'licence()' for distribution details. 431s 431s R is a collaborative project with many contributors. 431s Type 'contributors()' for more information and 431s 'citation()' on how to cite R or R packages in publications. 431s 431s Type 'demo()' for some demos, 'help()' for on-line help, or 431s 'help.start()' for an HTML browser interface to help. 431s Type 'q()' to quit R. 431s 431s > ## git2r, R bindings to the libgit2 library. 431s > ## Copyright (C) 2013-2023 The git2r contributors 431s > ## 431s > ## This program is free software; you can redistribute it and/or modify 431s > ## it under the terms of the GNU General Public License, version 2, 431s > ## as published by the Free Software Foundation. 431s > ## 431s > ## git2r is distributed in the hope that it will be useful, 431s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 431s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 431s > ## GNU General Public License for more details. 431s > ## 431s > ## You should have received a copy of the GNU General Public License along 431s > ## with this program; if not, write to the Free Software Foundation, Inc., 431s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 431s > 431s > library("git2r") 431s > 431s > ## For debugging 431s > sessionInfo() 431s R version 4.3.3 (2024-02-29) 431s Platform: s390x-ibm-linux-gnu (64-bit) 431s Running under: Ubuntu Noble Numbat (development branch) 431s 431s Matrix products: default 431s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 431s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 431s 431s locale: 431s [1] C 431s 431s time zone: Etc/UTC 431s tzcode source: system (glibc) 431s 431s attached base packages: 431s [1] stats graphics grDevices utils datasets methods base 431s 431s other attached packages: 431s [1] git2r_0.33.0 431s 431s loaded via a namespace (and not attached): 431s [1] compiler_4.3.3 431s > libgit2_version() 431s $major 431s [1] 1 431s 431s $minor 431s [1] 7 431s 431s $rev 431s [1] 2 431s 431s > libgit2_features() 431s $threads 431s [1] TRUE 431s 431s $https 431s [1] TRUE 431s 431s $ssh 431s [1] TRUE 431s 431s > 431s > 431s > ## Create a directory in tempdir 431s > path <- tempfile(pattern = "git2r-") 431s > dir.create(path) 431s > 431s > ## Initialize a repository 431s > repo <- init(path) 431s > config(repo, user.name = "Alice", user.email = "alice@@example.org") 431s > 431s > ## Create a file, add and commit 431s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 431s + con = file.path(path, "test.txt")) 431s > add(repo, "test.txt") 431s > commit(repo, "Commit message 1") 431s [b614fe3] 2024-03-28: Commit message 1 431s > 431s > ## Change file and commit 431s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 431s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 431s + con = file.path(path, "test.txt")) 431s > add(repo, "test.txt") 431s > commit(repo, "Commit message 2") 431s [ff9a571] 2024-03-28: Commit message 2 431s > 431s > ## Commit same content under different name in a sub-directory 431s > dir.create(file.path(path, "sub-directory")) 431s > file.copy(file.path(path, "test.txt"), 431s + file.path(path, "sub-directory", "copy.txt")) 431s [1] TRUE 431s > add(repo, "sub-directory/copy.txt") 431s > commit(repo, "Commit message 3") 431s [fe996e6] 2024-03-28: Commit message 3 431s > 431s > ## List blobs 431s > b <- odb_blobs(repo) 431s > 431s > ## Order the data.frame before checking 431s > b <- b[order(b$name), ] 431s > 431s > ## Check blobs 431s > stopifnot(identical(nrow(b), 3L)) 431s > stopifnot(identical( 431s + colnames(b), 431s + c("sha", "path", "name", "len", "commit", "author", "when"))) 431s > stopifnot(identical(b$path, c("sub-directory", "", ""))) 431s > stopifnot(identical(b$name, c("copy.txt", "test.txt", "test.txt"))) 431s > stopifnot(identical(b$author, c("Alice", "Alice", "Alice"))) 431s > 431s > ## Cleanup 431s > unlink(path, recursive = TRUE) 431s > 431s BEGIN TEST pre-process-path.R 431s 431s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 431s Copyright (C) 2024 The R Foundation for Statistical Computing 431s Platform: s390x-ibm-linux-gnu (64-bit) 431s 431s R is free software and comes with ABSOLUTELY NO WARRANTY. 431s You are welcome to redistribute it under certain conditions. 431s Type 'license()' or 'licence()' for distribution details. 431s 431s R is a collaborative project with many contributors. 431s Type 'contributors()' for more information and 431s 'citation()' on how to cite R or R packages in publications. 431s 431s Type 'demo()' for some demos, 'help()' for on-line help, or 431s 'help.start()' for an HTML browser interface to help. 431s Type 'q()' to quit R. 431s 431s > ## git2r, R bindings to the libgit2 library. 431s > ## Copyright (C) 2013-2023 The git2r contributors 431s > ## 431s > ## This program is free software; you can redistribute it and/or modify 431s > ## it under the terms of the GNU General Public License, version 2, 431s > ## as published by the Free Software Foundation. 431s > ## 431s > ## git2r is distributed in the hope that it will be useful, 431s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 431s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 431s > ## GNU General Public License for more details. 431s > ## 431s > ## You should have received a copy of the GNU General Public License along 431s > ## with this program; if not, write to the Free Software Foundation, Inc., 431s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 431s > 431s > library(git2r) 431s > source("util/check.R") 431s > 431s > ## For debugging 431s > sessionInfo() 431s R version 4.3.3 (2024-02-29) 431s Platform: s390x-ibm-linux-gnu (64-bit) 431s Running under: Ubuntu Noble Numbat (development branch) 431s 431s Matrix products: default 431s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 431s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 431s 431s locale: 431s [1] C 431s 431s time zone: Etc/UTC 431s tzcode source: system (glibc) 431s 431s attached base packages: 431s [1] stats graphics grDevices utils datasets methods base 431s 431s other attached packages: 431s [1] git2r_0.33.0 431s 431s loaded via a namespace (and not attached): 431s [1] compiler_4.3.3 431s > libgit2_version() 431s $major 431s [1] 1 431s 431s $minor 431s [1] 7 431s 431s $rev 431s [1] 2 431s 431s > libgit2_features() 431s $threads 431s [1] TRUE 431s 431s $https 431s [1] TRUE 431s 431s $ssh 431s [1] TRUE 431s 431s > 431s > 431s > ## Create a directory in tempdir 431s > path <- tempfile(pattern = "git2r-") 431s > dir.create(path) 431s > setwd(path) 431s > 431s > ## Initialize a repository 431s > repo <- init(path) 431s > config(repo, user.name = "Alice", user.email = "alice@example.org") 431s > 431s > ## Test to add file with a leading './' 431s > writeLines("foo-1", file.path(path, "foo-1")) 431s > add(repo, "./foo-1") 431s > status_exp <- structure(list(staged = list(new = "foo-1"), 431s + unstaged = empty_named_list(), 431s + untracked = empty_named_list()), 431s + class = "git_status") 431s > status_obs <- status(repo) 431s > str(status_exp) 431s List of 3 431s $ staged :List of 1 431s ..$ new: chr "foo-1" 431s $ unstaged : Named list() 431s $ untracked: Named list() 431s - attr(*, "class")= chr "git_status" 431s > str(status_obs) 431s List of 3 431s $ staged :List of 1 431s ..$ new: chr "foo-1" 431s $ unstaged : Named list() 431s $ untracked: Named list() 431s - attr(*, "class")= chr "git_status" 431s > stopifnot(identical(status_obs, status_exp)) 431s > 431s > ## Test to add file in sub-folder with sub-folder as working directory 431s > writeLines("foo-2", file.path(path, "foo-2")) 431s > dir.create(file.path(path, "foo_dir")) 431s > writeLines("foo-2", file.path(path, "foo_dir/foo-2")) 431s > setwd("./foo_dir") 431s > add(repo, "foo-2") 431s > status_exp <- structure(list(staged = list(new = "foo-1", 431s + new = "foo_dir/foo-2"), 431s + unstaged = empty_named_list(), 431s + untracked = list(untracked = "foo-2")), 431s + class = "git_status") 431s > status_obs <- status(repo) 431s > str(status_exp) 431s List of 3 431s $ staged :List of 2 431s ..$ new: chr "foo-1" 431s ..$ new: chr "foo_dir/foo-2" 431s $ unstaged : Named list() 431s $ untracked:List of 1 431s ..$ untracked: chr "foo-2" 431s - attr(*, "class")= chr "git_status" 431s > str(status_obs) 431s List of 3 431s $ staged :List of 2 431s ..$ new: chr "foo-1" 431s ..$ new: chr "foo_dir/foo-2" 431s $ unstaged : Named list() 431s $ untracked:List of 1 431s ..$ untracked: chr "foo-2" 431s - attr(*, "class")= chr "git_status" 431s > stopifnot(identical(status_obs, status_exp)) 431s > 431s > ## Test glob expansion 431s > setwd(tempdir()) 431s > dir.create(file.path(path, "glob_dir")) 431s > writeLines("a", file.path(path, "glob_dir/a.txt")) 431s > writeLines("b", file.path(path, "glob_dir/b.txt")) 431s > writeLines("c", file.path(path, "glob_dir/c.txt")) 431s > writeLines("d", file.path(path, "glob_dir/d.md")) 431s > add(repo, "glob_dir/*txt") 431s > status_exp <- structure(list(staged = list(new = "foo-1", 431s + new = "foo_dir/foo-2", 431s + new = "glob_dir/a.txt", 431s + new = "glob_dir/b.txt", 431s + new = "glob_dir/c.txt"), 431s + unstaged = empty_named_list(), 431s + untracked = list(untracked = "foo-2", 431s + untracked = "glob_dir/d.md")), 431s + class = "git_status") 431s > status_obs <- status(repo) 431s > str(status_exp) 431s List of 3 431s $ staged :List of 5 431s ..$ new: chr "foo-1" 431s ..$ new: chr "foo_dir/foo-2" 431s ..$ new: chr "glob_dir/a.txt" 431s ..$ new: chr "glob_dir/b.txt" 431s ..$ new: chr "glob_dir/c.txt" 431s $ unstaged : Named list() 431s $ untracked:List of 2 431s ..$ untracked: chr "foo-2" 431s ..$ untracked: chr "glob_dir/d.md" 431s - attr(*, "class")= chr "git_status" 431s > str(status_obs) 431s List of 3 431s $ staged :List of 5 431s ..$ new: chr "foo-1" 431s ..$ new: chr "foo_dir/foo-2" 431s ..$ new: chr "glob_dir/a.txt" 431s ..$ new: chr "glob_dir/b.txt" 431s ..$ new: chr "glob_dir/c.txt" 431s $ unstaged : Named list() 431s $ untracked:List of 2 431s ..$ untracked: chr "foo-2" 431s ..$ untracked: chr "glob_dir/d.md" 431s - attr(*, "class")= chr "git_status" 431s > stopifnot(identical(status_obs, status_exp)) 431s > 431s > ## Test glob expansion with relative path 431s > setwd(path) 431s > add(repo, "./glob_dir/*md") 431s > status_exp <- structure(list(staged = list(new = "foo-1", 431s + new = "foo_dir/foo-2", 431s + new = "glob_dir/a.txt", 431s + new = "glob_dir/b.txt", 431s + new = "glob_dir/c.txt", 431s + new = "glob_dir/d.md"), 431s + unstaged = empty_named_list(), 431s + untracked = list(untracked = "foo-2")), 431s + class = "git_status") 431s > status_obs <- status(repo) 431s > str(status_exp) 431s List of 3 431s $ staged :List of 6 431s ..$ new: chr "foo-1" 431s ..$ new: chr "foo_dir/foo-2" 431s ..$ new: chr "glob_dir/a.txt" 431s ..$ new: chr "glob_dir/b.txt" 431s ..$ new: chr "glob_dir/c.txt" 431s ..$ new: chr "glob_dir/d.md" 431s $ unstaged : Named list() 431s $ untracked:List of 1 431s ..$ untracked: chr "foo-2" 431s - attr(*, "class")= chr "git_status" 431s > str(status_obs) 431s List of 3 431s $ staged :List of 6 431s ..$ new: chr "foo-1" 431s ..$ new: chr "foo_dir/foo-2" 431s ..$ new: chr "glob_dir/a.txt" 431s ..$ new: chr "glob_dir/b.txt" 431s ..$ new: chr "glob_dir/c.txt" 431s ..$ new: chr "glob_dir/d.md" 431s $ unstaged : Named list() 431s $ untracked:List of 1 431s ..$ untracked: chr "foo-2" 431s - attr(*, "class")= chr "git_status" 431s > stopifnot(identical(status_obs, status_exp)) 431s > 431s > ## Test to add file in root of workdir when the file also exists in 431s > ## current workdir. 431s > setwd(tempdir()) 431s > writeLines("e", file.path(path, "e.txt")) 431s > writeLines("e", file.path(tempdir(), "e.txt")) 431s > add(repo, "e.txt") 431s > status_exp <- structure(list(staged = list(new = "e.txt", 431s + new = "foo-1", 431s + new = "foo_dir/foo-2", 431s + new = "glob_dir/a.txt", 431s + new = "glob_dir/b.txt", 431s + new = "glob_dir/c.txt", 431s + new = "glob_dir/d.md"), 431s + unstaged = empty_named_list(), 431s + untracked = list(untracked = "foo-2")), 431s + class = "git_status") 431s > status_obs <- status(repo) 431s > str(status_exp) 431s List of 3 431s $ staged :List of 7 431s ..$ new: chr "e.txt" 431s ..$ new: chr "foo-1" 431s ..$ new: chr "foo_dir/foo-2" 431s ..$ new: chr "glob_dir/a.txt" 431s ..$ new: chr "glob_dir/b.txt" 431s ..$ new: chr "glob_dir/c.txt" 431s ..$ new: chr "glob_dir/d.md" 431s $ unstaged : Named list() 431s $ untracked:List of 1 431s ..$ untracked: chr "foo-2" 431s - attr(*, "class")= chr "git_status" 431s > str(status_obs) 431s List of 3 431s $ staged :List of 7 431s ..$ new: chr "e.txt" 431s ..$ new: chr "foo-1" 431s ..$ new: chr "foo_dir/foo-2" 431s ..$ new: chr "glob_dir/a.txt" 431s ..$ new: chr "glob_dir/b.txt" 431s ..$ new: chr "glob_dir/c.txt" 431s ..$ new: chr "glob_dir/d.md" 431s $ unstaged : Named list() 431s $ untracked:List of 1 431s ..$ untracked: chr "foo-2" 431s - attr(*, "class")= chr "git_status" 431s > stopifnot(identical(status_obs, status_exp)) 431s > 431s > ## Cleanup 431s > unlink(path, recursive = TRUE) 431s > 431s BEGIN TEST pull.R 431s 431s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 431s Copyright (C) 2024 The R Foundation for Statistical Computing 431s Platform: s390x-ibm-linux-gnu (64-bit) 431s 431s R is free software and comes with ABSOLUTELY NO WARRANTY. 431s You are welcome to redistribute it under certain conditions. 431s Type 'license()' or 'licence()' for distribution details. 431s 431s R is a collaborative project with many contributors. 431s Type 'contributors()' for more information and 431s 'citation()' on how to cite R or R packages in publications. 431s 431s Type 'demo()' for some demos, 'help()' for on-line help, or 431s 'help.start()' for an HTML browser interface to help. 431s Type 'q()' to quit R. 431s 432s > ## git2r, R bindings to the libgit2 library. 432s > ## Copyright (C) 2013-2023 The git2r contributors 432s > ## 432s > ## This program is free software; you can redistribute it and/or modify 432s > ## it under the terms of the GNU General Public License, version 2, 432s > ## as published by the Free Software Foundation. 432s > ## 432s > ## git2r is distributed in the hope that it will be useful, 432s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 432s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 432s > ## GNU General Public License for more details. 432s > ## 432s > ## You should have received a copy of the GNU General Public License along 432s > ## with this program; if not, write to the Free Software Foundation, Inc., 432s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 432s > 432s > library(git2r) 432s > 432s > ## For debugging 432s > sessionInfo() 432s R version 4.3.3 (2024-02-29) 432s Platform: s390x-ibm-linux-gnu (64-bit) 432s Running under: Ubuntu Noble Numbat (development branch) 432s 432s Matrix products: default 432s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 432s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 432s 432s locale: 432s [1] C 432s 432s time zone: Etc/UTC 432s tzcode source: system (glibc) 432s 432s attached base packages: 432s [1] stats graphics grDevices utils datasets methods base 432s 432s other attached packages: 432s [1] git2r_0.33.0 432s 432s loaded via a namespace (and not attached): 432s [1] compiler_4.3.3 432s > libgit2_version() 432s $major 432s [1] 1 432s 432s $minor 432s [1] 7 432s 432s $rev 432s [1] 2 432s 432s > libgit2_features() 432s $threads 432s [1] TRUE 432s 432s $https 432s [1] TRUE 432s 432s $ssh 432s [1] TRUE 432s 432s > 432s > 432s > ## Create directories for repositories in tempdir 432s > path_bare <- tempfile(pattern = "git2r-") 432s > path_repo_1 <- tempfile(pattern = "git2r-") 432s > path_repo_2 <- tempfile(pattern = "git2r-") 432s > 432s > dir.create(path_bare) 432s > dir.create(path_repo_1) 432s > dir.create(path_repo_2) 432s > 432s > ## Create bare repository 432s > bare_repo <- init(path_bare, bare = TRUE) 432s > 432s > ## Clone to repo 1 432s > repo_1 <- clone(path_bare, path_repo_1) 432s cloning into '/tmp/Rtmpmi8WAw/git2r-9062578ffb1'... 432s > config(repo_1, user.name = "Alice", user.email = "alice@example.org") 432s > 432s > ## Add changes to repo 1 and push to bare 432s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 432s + con = file.path(path_repo_1, "test-1.txt")) 432s > add(repo_1, "test-1.txt") 432s > commit_1 <- commit(repo_1, "First commit message") 432s > branch_name <- branches(repo_1)[[1]]$name 432s > push(repo_1, "origin", paste0("refs/heads/", branch_name)) 432s > 432s > ## Clone to repo 2 432s > repo_2 <- clone(path_bare, path_repo_2) 432s cloning into '/tmp/Rtmpmi8WAw/git2r-9065b62b42a'... 432s > config(repo_2, user.name = "Bob", user.email = "bob@example.org") 432s > 432s > ## Add more changes to repo 1 and push to bare 432s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 432s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 432s + con = file.path(path_repo_1, "test-1.txt")) 432s > add(repo_1, "test-1.txt") 432s > commit_2 <- commit(repo_1, "Second commit message") 432s > push(repo_1, "origin", paste0("refs/heads/", branch_name)) 432s > 432s > ## Pull changes to repo_2 432s > pull(repo_2) 432s [updated] 1f9bd921d2..2329f8ce2f refs/remotes/origin/master 432s Merge: Fast-forward 432s > stopifnot(identical(length(commits(repo_2)), 2L)) 432s > 432s > ## Check remote url of repo_2 432s > stopifnot(identical( 432s + branch_remote_url(branch_get_upstream(repository_head(repo_2))), 432s + path_bare)) 432s > 432s > ## Unset remote remote tracking branch 432s > branch_set_upstream(repository_head(repo_2), NULL) 432s > stopifnot(is.null(branch_get_upstream(repository_head(repo_2)))) 432s > tools::assertError(pull(repo_2)) 432s > tools::assertError(branch_set_upstream(repository_head(repo_2), NULL)) 432s > 432s > ## Add more changes to repo 1 and push to bare 432s > writeLines( 432s + c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 432s + "eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad", 432s + "minim veniam, quis nostrud exercitation ullamco laboris nisi ut"), 432s + con = file.path(path_repo_1, "test-1.txt")) 432s > add(repo_1, "test-1.txt") 432s > commit_3 <- commit(repo_1, "Third commit message") 432s > push(repo_1) 432s > 432s > ## Set remote tracking branch 432s > branch_set_upstream(repository_head(repo_2), 432s + paste0("origin/", branch_name)) 432s > stopifnot(identical( 432s + branch_remote_url(branch_get_upstream(repository_head(repo_2))), 432s + path_bare)) 432s > 432s > ## Pull changes to repo_2 432s > pull(repo_2) 432s [updated] 2329f8ce2f..86ffd5b551 refs/remotes/origin/master 432s Merge: Fast-forward 432s > stopifnot(identical(length(commits(repo_2)), 3L)) 432s > 432s > ## Check references in repo_1 and repo_2. Must clear the repo item 432s > ## since the repositories have different paths. 432s > stopifnot(identical(length(references(repo_1)), 2L)) 432s > 432s > ref_1 <- references(repo_1) 432s > lapply(seq_len(length(ref_1)), function(i) { 432s + ref_1[[i]]$repo <<- NULL 432s + }) 432s [[1]] 432s NULL 432s 432s [[2]] 432s NULL 432s 432s > 432s > ref_2 <- references(repo_2) 432s > lapply(seq_len(length(ref_2)), function(i) { 432s + ref_2[[i]]$repo <<- NULL 432s + }) 432s [[1]] 432s NULL 432s 432s [[2]] 432s NULL 432s 432s [[3]] 432s NULL 432s 432s > 432s > name <- paste0("refs/heads/", branch_name) 432s > stopifnot(identical(ref_1[[name]], ref_2[[name]])) 432s > 432s > name <- paste0("refs/remotes/", branch_name) 432s > stopifnot(identical(ref_1[[name]], ref_2[[name]])) 432s > 432s > ref_1 <- references(repo_1)[[paste0("refs/heads/", branch_name)]] 432s > stopifnot(identical(ref_1$name, paste0("refs/heads/", branch_name))) 432s > stopifnot(identical(ref_1$type, 1L)) 432s > stopifnot(identical(sha(ref_1), sha(commit_3))) 432s > stopifnot(identical(ref_1$target, NA_character_)) 432s > stopifnot(identical(ref_1$shorthand, branch_name)) 432s > 432s > ref_2 <- references(repo_1)[[paste0("refs/remotes/origin/", branch_name)]] 432s > stopifnot(identical(ref_2$name, paste0("refs/remotes/origin/", branch_name))) 432s > stopifnot(identical(ref_2$type, 1L)) 432s > stopifnot(identical(sha(ref_2), sha(commit_3))) 432s > stopifnot(identical(ref_2$target, NA_character_)) 432s > stopifnot(identical(ref_2$shorthand, paste0("origin/", branch_name))) 432s > 432s > ## Check references with missing repo argument 432s > wd <- setwd(path_repo_1) 432s > stopifnot(identical(length(references()), 2L)) 432s > if (!is.null(wd)) 432s + setwd(wd) 432s > 432s > ## Cleanup 432s > unlink(path_bare, recursive = TRUE) 432s > unlink(path_repo_1, recursive = TRUE) 432s > unlink(path_repo_2, recursive = TRUE) 432s > 432s BEGIN TEST push-force.R 432s 432s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 432s Copyright (C) 2024 The R Foundation for Statistical Computing 432s Platform: s390x-ibm-linux-gnu (64-bit) 432s 432s R is free software and comes with ABSOLUTELY NO WARRANTY. 432s You are welcome to redistribute it under certain conditions. 432s Type 'license()' or 'licence()' for distribution details. 432s 432s R is a collaborative project with many contributors. 432s Type 'contributors()' for more information and 432s 'citation()' on how to cite R or R packages in publications. 432s 432s Type 'demo()' for some demos, 'help()' for on-line help, or 432s 'help.start()' for an HTML browser interface to help. 432s Type 'q()' to quit R. 432s 432s > ## git2r, R bindings to the libgit2 library. 432s > ## Copyright (C) 2013-2023 The git2r contributors 432s > ## 432s > ## This program is free software; you can redistribute it and/or modify 432s > ## it under the terms of the GNU General Public License, version 2, 432s > ## as published by the Free Software Foundation. 432s > ## 432s > ## git2r is distributed in the hope that it will be useful, 432s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 432s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 432s > ## GNU General Public License for more details. 432s > ## 432s > ## You should have received a copy of the GNU General Public License along 432s > ## with this program; if not, write to the Free Software Foundation, Inc., 432s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 432s > 432s > library(git2r) 432s > 432s > ## For debugging 432s > sessionInfo() 432s R version 4.3.3 (2024-02-29) 432s Platform: s390x-ibm-linux-gnu (64-bit) 432s Running under: Ubuntu Noble Numbat (development branch) 432s 432s Matrix products: default 432s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 432s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 432s 432s locale: 432s [1] C 432s 432s time zone: Etc/UTC 432s tzcode source: system (glibc) 432s 432s attached base packages: 432s [1] stats graphics grDevices utils datasets methods base 432s 432s other attached packages: 432s [1] git2r_0.33.0 432s 432s loaded via a namespace (and not attached): 432s [1] compiler_4.3.3 432s > libgit2_version() 432s $major 432s [1] 1 432s 432s $minor 432s [1] 7 432s 432s $rev 432s [1] 2 432s 432s > libgit2_features() 432s $threads 432s [1] TRUE 432s 432s $https 432s [1] TRUE 432s 432s $ssh 432s [1] TRUE 432s 432s > 432s > 432s > ## Create directories for repositories in tempdir 432s > path_bare <- tempfile(pattern = "git2r-") 432s > path_repo_1 <- tempfile(pattern = "git2r-") 432s > path_repo_2 <- tempfile(pattern = "git2r-") 432s > 432s > dir.create(path_bare) 432s > dir.create(path_repo_1) 432s > dir.create(path_repo_2) 432s > 432s > ## Create bare repository 432s > bare_repo <- init(path_bare, bare = TRUE) 432s > 432s > ## Clone to repo 1 432s > repo_1 <- clone(path_bare, path_repo_1) 432s cloning into '/tmp/RtmpPkzS1r/git2r-9125cbeec4c'... 432s > config(repo_1, user.name = "Alice", user.email = "alice@example.org") 432s > 432s > ## Add changes to repo 1 and push to bare 432s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 432s + con = file.path(path_repo_1, "test-1.txt")) 432s > add(repo_1, "test-1.txt") 432s > commit_1 <- commit(repo_1, "First commit message") 432s > branch_name <- branches(repo_1)[[1]]$name 432s > push(repo_1, "origin", paste0("refs/heads/", branch_name)) 432s > 432s > ## Clone to repo 2 432s > repo_2 <- clone(path_bare, path_repo_2) 432s cloning into '/tmp/RtmpPkzS1r/git2r-9121ec40380'... 432s > config(repo_2, user.name = "Bob", user.email = "bob@example.org") 432s > 432s > ## Add more changes to repo 1 and push to bare 432s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 432s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 432s + con = file.path(path_repo_1, "test-1.txt")) 432s > add(repo_1, "test-1.txt") 432s > commit_2 <- commit(repo_1, "Second commit message") 432s > push(repo_1, "origin", paste0("refs/heads/", branch_name)) 432s > 432s > ## Add changes to repo 2 and push to bare 432s > writeLines( 432s + c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 432s + "eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad", 432s + "minim veniam, quis nostrud exercitation ullamco laboris nisi ut"), 432s + con = file.path(path_repo_2, "test-1.txt")) 432s > add(repo_2, "test-1.txt") 432s > commit_3 <- commit(repo_2, "Third commit message") 432s > 432s > ## We are behind, so this should fail 432s > tools::assertError(push(repo_2)) 432s > 432s > ## Push with force = TRUE 432s > push(repo_2, force = TRUE) 432s > 432s > ## Check commits 432s > stopifnot(identical(length(commits(bare_repo)), 2L)) 432s > stopifnot(identical(sha(commits(repo_2)[[1]]), sha(commits(bare_repo)[[1]]))) 432s > stopifnot(identical(sha(commits(repo_2)[[2]]), sha(commits(bare_repo)[[2]]))) 432s > 432s > ## Cleanup 432s > unlink(path_bare, recursive = TRUE) 432s > unlink(path_repo_1, recursive = TRUE) 432s > unlink(path_repo_2, recursive = TRUE) 432s > 432s BEGIN TEST push.R 432s 432s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 432s Copyright (C) 2024 The R Foundation for Statistical Computing 432s Platform: s390x-ibm-linux-gnu (64-bit) 432s 432s R is free software and comes with ABSOLUTELY NO WARRANTY. 432s You are welcome to redistribute it under certain conditions. 432s Type 'license()' or 'licence()' for distribution details. 432s 432s R is a collaborative project with many contributors. 432s Type 'contributors()' for more information and 432s 'citation()' on how to cite R or R packages in publications. 432s 432s Type 'demo()' for some demos, 'help()' for on-line help, or 432s 'help.start()' for an HTML browser interface to help. 432s Type 'q()' to quit R. 432s 432s > ## git2r, R bindings to the libgit2 library. 432s > ## Copyright (C) 2013-2023 The git2r contributors 432s > ## 432s > ## This program is free software; you can redistribute it and/or modify 432s > ## it under the terms of the GNU General Public License, version 2, 432s > ## as published by the Free Software Foundation. 432s > ## 432s > ## git2r is distributed in the hope that it will be useful, 432s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 432s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 432s > ## GNU General Public License for more details. 432s > ## 432s > ## You should have received a copy of the GNU General Public License along 432s > ## with this program; if not, write to the Free Software Foundation, Inc., 432s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 432s > 432s > library(git2r) 432s > 432s > ## For debugging 432s > sessionInfo() 432s R version 4.3.3 (2024-02-29) 432s Platform: s390x-ibm-linux-gnu (64-bit) 432s Running under: Ubuntu Noble Numbat (development branch) 432s 432s Matrix products: default 432s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 432s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 432s 432s locale: 432s [1] C 432s 432s time zone: Etc/UTC 432s tzcode source: system (glibc) 432s 432s attached base packages: 432s [1] stats graphics grDevices utils datasets methods base 432s 432s other attached packages: 432s [1] git2r_0.33.0 432s 432s loaded via a namespace (and not attached): 432s [1] compiler_4.3.3 432s > libgit2_version() 432s $major 432s [1] 1 432s 432s $minor 432s [1] 7 432s 432s $rev 432s [1] 2 432s 432s > libgit2_features() 432s $threads 432s [1] TRUE 432s 432s $https 432s [1] TRUE 432s 432s $ssh 432s [1] TRUE 432s 432s > 432s > 432s > ## Create 2 directories in tempdir 432s > path_bare <- tempfile(pattern = "git2r-") 432s > path_repo <- tempfile(pattern = "git2r-") 432s > 432s > dir.create(path_bare) 432s > dir.create(path_repo) 432s > 432s > ## Create repositories 432s > bare_repo <- init(path_bare, bare = TRUE) 432s > repo <- clone(path_bare, path_repo) 432s cloning into '/tmp/Rtmpf3Q2I2/git2r-91e2a4c30b0'... 432s > 432s > ## Check the repositores 432s > stopifnot(identical(is_bare(bare_repo), TRUE)) 432s > stopifnot(identical(is_bare(repo), FALSE)) 432s > 432s > ## Config repositories 432s > config(repo, user.name = "Alice", user.email = "alice@example.org") 432s > 432s > ## Add changes to repo 432s > writeLines("Hello world", con = file.path(path_repo, "test.txt")) 432s > add(repo, "test.txt") 432s > commit_1 <- commit(repo, "Commit message") 432s > branch_name <- branches(repo)[[1]]$name 432s > 432s > ## Check commit 432s > stopifnot(identical(commit_1$author$name, "Alice")) 432s > stopifnot(identical(commit_1$author$email, "alice@example.org")) 432s > stopifnot(identical(length(commits(repo)), 1L)) 432s > stopifnot(identical(commits(repo)[[1]]$author$name, "Alice")) 432s > stopifnot(identical(commits(repo)[[1]]$author$email, "alice@example.org")) 432s > 432s > ## Check push arguments 432s > tools::assertError(push(repo, character(0), paste0("refs/heads/", branch_name))) 432s > tools::assertError(push(repo, NA_character_, paste0("refs/heads/", branch_name))) 432s > tools::assertError(push(repo, c("origin", "origin"), paste0("refs/heads/", branch_name))) 432s > tools::assertError(push(repo, "origin")) 432s > tools::assertError(push(repo, name = "origin")) 432s > push(repo, "origin", character(0)) 432s > push(repo, "origin", NA_character_) 432s > push(repo, "origin", c(NA_character_, NA_character_)) 432s > stopifnot(identical(reflog(repo, paste0("refs/remotes/origin/", branch_name)), 432s + structure(list(), class = "git_reflog"))) 432s > 432s > ## No tracking branch assigned to master 432s > tools::assertError(push(branches(repo)[[1]])) 432s > 432s > ## Push changes from repo to origin 432s > push(repo, "origin", paste0("refs/heads/", branch_name)) 432s > r <- reflog(repo, paste0("refs/remotes/origin/", branch_name)) 432s > stopifnot(identical(length(r), 1L)) 432s > r <- r[[1]] 432s > stopifnot(identical(sha(r), sha(commit_1))) 432s > stopifnot(identical(r$message, "update by push")) 432s > stopifnot(identical(r$index, 0L)) 432s > stopifnot(identical(r$committer$name, "Alice")) 432s > stopifnot(identical(r$committer$email, "alice@example.org")) 432s > stopifnot(identical(r$refname, paste0("refs/remotes/origin/", branch_name))) 432s > stopifnot(identical(r$repo$path, repo$path)) 432s > push(branches(repo)[[1]]) 432s > 432s > ## Check result in bare repository 432s > stopifnot(identical(length(commits(bare_repo)), 1L)) 432s > bare_commit_1 <- commits(bare_repo)[[1]] 432s > stopifnot(identical(sha(commit_1), sha(bare_commit_1))) 432s > stopifnot(identical(commit_1$author, bare_commit_1$author)) 432s > stopifnot(identical(commit_1$committer, bare_commit_1$committer)) 432s > stopifnot(identical(commit_1$summary, bare_commit_1$summary)) 432s > stopifnot(identical(commit_1$message, bare_commit_1$message)) 432s > stopifnot(!identical(commit_1$repo, bare_commit_1$repo)) 432s > 432s > ## Add changes to repo and push head 432s > writeLines(c("Hello world", "HELLO WORLD"), 432s + con = file.path(path_repo, "test.txt")) 432s > add(repo, "test.txt") 432s > commit_2 <- commit(repo, "Commit message 2") 432s > push(repo) 432s > bare_commit_2 <- lookup(bare_repo, sha(commit_2)) 432s > stopifnot(identical(sha(commit_2), sha(bare_commit_2))) 432s > stopifnot(identical(commit_2$author, bare_commit_2$author)) 432s > stopifnot(identical(commit_2$committer, bare_commit_2$committer)) 432s > stopifnot(identical(commit_2$summary, bare_commit_2$summary)) 432s > stopifnot(identical(commit_2$message, bare_commit_2$message)) 432s > stopifnot(!identical(commit_2$repo, bare_commit_2$repo)) 432s > 432s > ## Check 'set_upstream' 432s > branch_set_upstream(repository_head(repo), NULL) 432s > push(repo, "origin", paste0("refs/heads/", branch_name)) 432s > stopifnot(is.null(branch_get_upstream(repository_head(repo)))) 432s > push(repo, "origin", paste0("refs/heads/", branch_name), set_upstream = TRUE) 432s > stopifnot(!is.null(branch_get_upstream(repository_head(repo)))) 432s > 432s > ## Cleanup 432s > unlink(path_bare, recursive = TRUE) 432s > unlink(path_repo, recursive = TRUE) 432s > 432s BEGIN TEST reference.R 432s 432s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 432s Copyright (C) 2024 The R Foundation for Statistical Computing 432s Platform: s390x-ibm-linux-gnu (64-bit) 432s 432s R is free software and comes with ABSOLUTELY NO WARRANTY. 432s You are welcome to redistribute it under certain conditions. 432s Type 'license()' or 'licence()' for distribution details. 432s 432s R is a collaborative project with many contributors. 432s Type 'contributors()' for more information and 432s 'citation()' on how to cite R or R packages in publications. 432s 432s Type 'demo()' for some demos, 'help()' for on-line help, or 432s 'help.start()' for an HTML browser interface to help. 432s Type 'q()' to quit R. 432s 432s > ## git2r, R bindings to the libgit2 library. 432s > ## Copyright (C) 2013-2023 The git2r contributors 432s > ## 432s > ## This program is free software; you can redistribute it and/or modify 432s > ## it under the terms of the GNU General Public License, version 2, 432s > ## as published by the Free Software Foundation. 432s > ## 432s > ## git2r is distributed in the hope that it will be useful, 432s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 432s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 432s > ## GNU General Public License for more details. 432s > ## 432s > ## You should have received a copy of the GNU General Public License along 432s > ## with this program; if not, write to the Free Software Foundation, Inc., 432s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 432s > 432s > library(git2r) 433s > 433s > ## For debugging 433s > sessionInfo() 433s R version 4.3.3 (2024-02-29) 433s Platform: s390x-ibm-linux-gnu (64-bit) 433s Running under: Ubuntu Noble Numbat (development branch) 433s 433s Matrix products: default 433s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 433s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 433s 433s locale: 433s [1] C 433s 433s time zone: Etc/UTC 433s tzcode source: system (glibc) 433s 433s attached base packages: 433s [1] stats graphics grDevices utils datasets methods base 433s 433s other attached packages: 433s [1] git2r_0.33.0 433s 433s loaded via a namespace (and not attached): 433s [1] compiler_4.3.3 433s > libgit2_version() 433s $major 433s [1] 1 433s 433s $minor 433s [1] 7 433s 433s $rev 433s [1] 2 433s 433s > libgit2_features() 433s $threads 433s [1] TRUE 433s 433s $https 433s [1] TRUE 433s 433s $ssh 433s [1] TRUE 433s 433s > 433s > 433s > ## Create a directory in tempdir 433s > path <- tempfile(pattern = "git2r-") 433s > dir.create(path) 433s > 433s > ## Initialize a repository 433s > repo <- init(path, branch = "main") 433s > config(repo, user.name = "Alice", user.email = "alice@example.org") 433s > 433s > ## Create a file 433s > writeLines("Hello world!", file.path(path, "test.txt")) 433s > 433s > ## add and commit 433s > add(repo, "test.txt") 433s > commit(repo, "Commit message") 433s [7ec0fdf] 2024-03-28: Commit message 433s > 433s > ## Check dwim of reference shorthand 433s > stopifnot(identical(.Call(git2r:::git2r_reference_dwim, repo, "")$name, 433s + "refs/heads/main")) 433s > stopifnot(identical(.Call(git2r:::git2r_reference_dwim, repo, "main")$name, 433s + "refs/heads/main")) 433s > stopifnot(identical( 433s + .Call(git2r:::git2r_reference_dwim, repo, "refs/heads/main")$name, 433s + "refs/heads/main")) 433s > 433s > ## print reference 433s > r <- .Call(git2r:::git2r_reference_dwim, repo, "refs/heads/main") 433s > stopifnot(identical(print(r), r)) 433s [7ec0fd] main 433s > 433s > ## Cleanup 433s > unlink(path, recursive = TRUE) 433s > 433s BEGIN TEST reflog.R 433s 433s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 433s Copyright (C) 2024 The R Foundation for Statistical Computing 433s Platform: s390x-ibm-linux-gnu (64-bit) 433s 433s R is free software and comes with ABSOLUTELY NO WARRANTY. 433s You are welcome to redistribute it under certain conditions. 433s Type 'license()' or 'licence()' for distribution details. 433s 433s R is a collaborative project with many contributors. 433s Type 'contributors()' for more information and 433s 'citation()' on how to cite R or R packages in publications. 433s 433s Type 'demo()' for some demos, 'help()' for on-line help, or 433s 'help.start()' for an HTML browser interface to help. 433s Type 'q()' to quit R. 433s 433s > ## git2r, R bindings to the libgit2 library. 433s > ## Copyright (C) 2013-2023 The git2r contributors 433s > ## 433s > ## This program is free software; you can redistribute it and/or modify 433s > ## it under the terms of the GNU General Public License, version 2, 433s > ## as published by the Free Software Foundation. 433s > ## 433s > ## git2r is distributed in the hope that it will be useful, 433s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 433s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 433s > ## GNU General Public License for more details. 433s > ## 433s > ## You should have received a copy of the GNU General Public License along 433s > ## with this program; if not, write to the Free Software Foundation, Inc., 433s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 433s > 433s > library("git2r") 433s > 433s > ## For debugging 433s > sessionInfo() 433s R version 4.3.3 (2024-02-29) 433s Platform: s390x-ibm-linux-gnu (64-bit) 433s Running under: Ubuntu Noble Numbat (development branch) 433s 433s Matrix products: default 433s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 433s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 433s 433s locale: 433s [1] C 433s 433s time zone: Etc/UTC 433s tzcode source: system (glibc) 433s 433s attached base packages: 433s [1] stats graphics grDevices utils datasets methods base 433s 433s other attached packages: 433s [1] git2r_0.33.0 433s 433s loaded via a namespace (and not attached): 433s [1] compiler_4.3.3 433s > libgit2_version() 433s $major 433s [1] 1 433s 433s $minor 433s [1] 7 433s 433s $rev 433s [1] 2 433s 433s > libgit2_features() 433s $threads 433s [1] TRUE 433s 433s $https 433s [1] TRUE 433s 433s $ssh 433s [1] TRUE 433s 433s > 433s > 433s > ## Create a directory in tempdir 433s > path <- tempfile(pattern = "git2r-") 433s > dir.create(path) 433s > 433s > ## Initialize a repository 433s > repo <- init(path) 433s > config(repo, user.name = "Alice", user.email = "alice@example.org") 433s > 433s > ## Check that reflog is empty 433s > stopifnot(identical(reflog(repo), structure(list(), class = "git_reflog"))) 433s > 433s > ## Create a file 433s > writeLines("Hello world!", file.path(path, "test.txt")) 433s > 433s > ## add and commit 433s > add(repo, "test.txt") 433s > commit_1 <- commit(repo, "Commit message") 433s > 433s > ## Check that reflog is not empry 433s > stopifnot(identical(length(reflog(repo)), 1L)) 433s > reflog_entry <- reflog(repo)[[1]] 433s > stopifnot(identical(sha(reflog_entry), sha(commit_1))) 433s > stopifnot(identical(reflog_entry$refname, "HEAD")) 433s > stopifnot(identical(reflog_entry$index, 0L)) 433s > stopifnot(identical(reflog_entry$committer$email, "alice@example.org")) 433s > stopifnot(identical(reflog_entry$message, "commit (initial): Commit message")) 433s > 433s > ## Check printing 433s > r <- reflog(repo) 433s > stopifnot(identical(print(r), r)) 433s [56124ab] HEAD@{0}: commit (initial): Commit message 433s > 433s > ## Cleanup 433s > unlink(path, recursive = TRUE) 433s > 433s BEGIN TEST refspec.R 433s 433s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 433s Copyright (C) 2024 The R Foundation for Statistical Computing 433s Platform: s390x-ibm-linux-gnu (64-bit) 433s 433s R is free software and comes with ABSOLUTELY NO WARRANTY. 433s You are welcome to redistribute it under certain conditions. 433s Type 'license()' or 'licence()' for distribution details. 433s 433s R is a collaborative project with many contributors. 433s Type 'contributors()' for more information and 433s 'citation()' on how to cite R or R packages in publications. 433s 433s Type 'demo()' for some demos, 'help()' for on-line help, or 433s 'help.start()' for an HTML browser interface to help. 433s Type 'q()' to quit R. 433s 433s > ## git2r, R bindings to the libgit2 library. 433s > ## Copyright (C) 2013-2023 The git2r contributors 433s > ## 433s > ## This program is free software; you can redistribute it and/or modify 433s > ## it under the terms of the GNU General Public License, version 2, 433s > ## as published by the Free Software Foundation. 433s > ## 433s > ## git2r is distributed in the hope that it will be useful, 433s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 433s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 433s > ## GNU General Public License for more details. 433s > ## 433s > ## You should have received a copy of the GNU General Public License along 433s > ## with this program; if not, write to the Free Software Foundation, Inc., 433s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 433s > 433s > library("git2r") 433s > 433s > ## For debugging 433s > sessionInfo() 433s R version 4.3.3 (2024-02-29) 433s Platform: s390x-ibm-linux-gnu (64-bit) 433s Running under: Ubuntu Noble Numbat (development branch) 433s 433s Matrix products: default 433s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 433s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 433s 433s locale: 433s [1] C 433s 433s time zone: Etc/UTC 433s tzcode source: system (glibc) 433s 433s attached base packages: 433s [1] stats graphics grDevices utils datasets methods base 433s 433s other attached packages: 433s [1] git2r_0.33.0 433s 433s loaded via a namespace (and not attached): 433s [1] compiler_4.3.3 433s > libgit2_version() 433s $major 433s [1] 1 433s 433s $minor 433s [1] 7 433s 433s $rev 433s [1] 2 433s 433s > libgit2_features() 433s $threads 433s [1] TRUE 433s 433s $https 433s [1] TRUE 433s 433s $ssh 433s [1] TRUE 433s 433s > 433s > 433s > ## Create directories for repositories in tempdir 433s > path_bare <- tempfile(pattern = "git2r-") 433s > path_repo <- tempfile(pattern = "git2r-") 433s > 433s > dir.create(path_bare) 433s > dir.create(path_repo) 433s > 433s > ## Create bare repository 433s > bare_repo <- init(path_bare, bare = TRUE) 433s > 433s > ## Clone to repo 433s > repo <- clone(path_bare, path_repo) 433s cloning into '/tmp/Rtmpg4N6UK/git2r-94233fd0348'... 433s > config(repo, user.name = "Alice", user.email = "alice@example.org") 433s > 433s > ## Add changes to repo 433s > writeLines("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 433s + con = file.path(path_repo, "test.txt")) 433s > add(repo, "test.txt") 433s > commit_1 <- commit(repo, "First commit message") 433s > 433s > ## Add more changes to repo 433s > writeLines(c("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do", 433s + "eiusmod tempor incididunt ut labore et dolore magna aliqua."), 433s + con = file.path(path_repo, "test.txt")) 433s > add(repo, "test.txt") 433s > commit_2 <- commit(repo, "Second commit message") 433s > 433s > ## Check remote 433s > stopifnot(identical( 433s + git2r:::get_refspec(repo, spec = "master")$remote, 433s + "origin")) 433s > 433s > ## Detach 433s > checkout(commit_1) 433s > tools::assertError(git2r:::get_refspec(repo)) 433s > 433s > ## Cleanup 433s > unlink(path_bare, recursive = TRUE) 433s > unlink(path_repo, recursive = TRUE) 433s > 433s BEGIN TEST remotes.R 433s 433s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 433s Copyright (C) 2024 The R Foundation for Statistical Computing 433s Platform: s390x-ibm-linux-gnu (64-bit) 433s 433s R is free software and comes with ABSOLUTELY NO WARRANTY. 433s You are welcome to redistribute it under certain conditions. 433s Type 'license()' or 'licence()' for distribution details. 433s 433s R is a collaborative project with many contributors. 433s Type 'contributors()' for more information and 433s 'citation()' on how to cite R or R packages in publications. 433s 433s Type 'demo()' for some demos, 'help()' for on-line help, or 433s 'help.start()' for an HTML browser interface to help. 433s Type 'q()' to quit R. 433s 433s > ## git2r, R bindings to the libgit2 library. 433s > ## Copyright (C) 2013-2023 The git2r contributors 433s > ## 433s > ## This program is free software; you can redistribute it and/or modify 433s > ## it under the terms of the GNU General Public License, version 2, 433s > ## as published by the Free Software Foundation. 433s > ## 433s > ## git2r is distributed in the hope that it will be useful, 433s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 433s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 433s > ## GNU General Public License for more details. 433s > ## 433s > ## You should have received a copy of the GNU General Public License along 433s > ## with this program; if not, write to the Free Software Foundation, Inc., 433s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 433s > 433s > library("git2r") 433s > 433s > ## For debugging 433s > sessionInfo() 433s R version 4.3.3 (2024-02-29) 433s Platform: s390x-ibm-linux-gnu (64-bit) 433s Running under: Ubuntu Noble Numbat (development branch) 433s 433s Matrix products: default 433s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 433s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 433s 433s locale: 433s [1] C 433s 433s time zone: Etc/UTC 433s tzcode source: system (glibc) 433s 433s attached base packages: 433s [1] stats graphics grDevices utils datasets methods base 433s 433s other attached packages: 433s [1] git2r_0.33.0 433s 433s loaded via a namespace (and not attached): 433s [1] compiler_4.3.3 433s > libgit2_version() 433s $major 433s [1] 1 433s 433s $minor 433s [1] 7 433s 433s $rev 433s [1] 2 433s 433s > libgit2_features() 433s $threads 433s [1] TRUE 433s 433s $https 433s [1] TRUE 433s 433s $ssh 433s [1] TRUE 433s 433s > 433s > 433s > ## Create a directory in tempdir 433s > path <- tempfile(pattern = "git2r-") 433s > dir.create(path) 433s > 433s > ## Initialize a repository 433s > repo <- init(path) 433s > config(repo, user.name = "Alice", user.email = "alice@example.org") 433s > 433s > ## Create a file 433s > writeLines("Hello world!", file.path(path, "test.txt")) 433s > 433s > ## Add and commit 433s > add(repo, "test.txt") 433s > commit_1 <- commit(repo, "Commit message") 433s > 433s > ## Add a remote 433s > remote_add(repo, "playground", 433s + "https://github.com/gaborcsardi/playground") 433s > 433s > stopifnot(identical(remotes(repo), "playground")) 433s > stopifnot(identical(remote_url(repo, "playground"), 433s + "https://github.com/gaborcsardi/playground")) 433s > stopifnot(identical(remote_url(repo), 433s + "https://github.com/gaborcsardi/playground")) 433s > 433s > ## Rename a remote 433s > remote_rename(repo, "playground", "foobar") 433s > 433s > stopifnot(identical(remotes(repo), "foobar")) 433s > stopifnot(identical(remote_url(repo, "foobar"), 433s + "https://github.com/gaborcsardi/playground")) 433s > 433s > ## Set remote url 433s > remote_set_url(repo, "foobar", "https://github.com/stewid/playground") 433s > stopifnot(identical(remote_url(repo, "foobar"), 433s + "https://github.com/stewid/playground")) 433s > 433s > ## Remove a remote 433s > remote_remove(repo, "foobar") 433s > 433s > stopifnot(identical(remotes(repo), character(0))) 433s > 433s > if (identical(Sys.getenv("NOT_CRAN"), "true")) { 433s + if (isTRUE(libgit2_features()$https)) { 433s + refs <- remote_ls("https://github.com/ropensci/git2r") 433s + stopifnot(length(refs) > 0) 433s + stopifnot(names(refs) > 0) 433s + stopifnot(any(names(refs) == "HEAD")) 433s + } 433s + } 433s > 433s > # an invalid URL should throw an error 433s > tools::assertError(remote_ls("bad")) 433s > 433s > ## Cleanup 433s > unlink(path, recursive = TRUE) 433s > 433s BEGIN TEST remove.R 433s 433s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 433s Copyright (C) 2024 The R Foundation for Statistical Computing 433s Platform: s390x-ibm-linux-gnu (64-bit) 433s 433s R is free software and comes with ABSOLUTELY NO WARRANTY. 433s You are welcome to redistribute it under certain conditions. 433s Type 'license()' or 'licence()' for distribution details. 433s 433s R is a collaborative project with many contributors. 433s Type 'contributors()' for more information and 433s 'citation()' on how to cite R or R packages in publications. 433s 433s Type 'demo()' for some demos, 'help()' for on-line help, or 433s 'help.start()' for an HTML browser interface to help. 433s Type 'q()' to quit R. 433s 433s > ## git2r, R bindings to the libgit2 library. 433s > ## Copyright (C) 2013-2023 The git2r contributors 433s > ## 433s > ## This program is free software; you can redistribute it and/or modify 433s > ## it under the terms of the GNU General Public License, version 2, 433s > ## as published by the Free Software Foundation. 433s > ## 433s > ## git2r is distributed in the hope that it will be useful, 433s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 433s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 433s > ## GNU General Public License for more details. 433s > ## 433s > ## You should have received a copy of the GNU General Public License along 433s > ## with this program; if not, write to the Free Software Foundation, Inc., 433s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 433s > 433s > library("git2r") 433s > 433s > ## For debugging 433s > sessionInfo() 433s R version 4.3.3 (2024-02-29) 433s Platform: s390x-ibm-linux-gnu (64-bit) 433s Running under: Ubuntu Noble Numbat (development branch) 433s 433s Matrix products: default 433s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 433s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 433s 433s locale: 433s [1] C 433s 433s time zone: Etc/UTC 433s tzcode source: system (glibc) 433s 433s attached base packages: 434s [1] stats graphics grDevices utils datasets methods base 434s 434s other attached packages: 434s [1] git2r_0.33.0 434s 434s loaded via a namespace (and not attached): 434s [1] compiler_4.3.3 434s > libgit2_version() 434s $major 434s [1] 1 434s 434s $minor 434s [1] 7 434s 434s $rev 434s [1] 2 434s 434s > libgit2_features() 434s $threads 434s [1] TRUE 434s 434s $https 434s [1] TRUE 434s 434s $ssh 434s [1] TRUE 434s 434s > 434s > 434s > ## Create a directory in tempdir 434s > path <- tempfile(pattern = "git2r-") 434s > dir.create(path) 434s > 434s > ## Initialize a repository 434s > repo <- init(path) 434s > config(repo, user.name = "Alice", user.email = "alice@example.org") 434s > 434s > ## Add files 434s > invisible(lapply(file.path(path, letters[1:4]), writeLines, text = "")) 434s > add(repo, letters) 434s > commit(repo, "init") 434s [d0ec505] 2024-03-28: init 434s > 434s > ## Remove one file 434s > rm_file(repo, letters[1]) 434s > commit(repo, "remove") 434s [f02badd] 2024-03-28: remove 434s > 434s > ## Remove two files. Don't raise warnings 434s > withCallingHandlers(rm_file(repo, letters[2:3]), warning = function(w) stop(w)) 434s > 434s > ## Remove one file using the absolute path to the file. 434s > rm_file(repo, file.path(path, letters[4])) 434s > 434s > ## Cleanup 434s > unlink(path, recursive = TRUE) 434s > 434s BEGIN TEST repository.R 434s 434s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 434s Copyright (C) 2024 The R Foundation for Statistical Computing 434s Platform: s390x-ibm-linux-gnu (64-bit) 434s 434s R is free software and comes with ABSOLUTELY NO WARRANTY. 434s You are welcome to redistribute it under certain conditions. 434s Type 'license()' or 'licence()' for distribution details. 434s 434s R is a collaborative project with many contributors. 434s Type 'contributors()' for more information and 434s 'citation()' on how to cite R or R packages in publications. 434s 434s Type 'demo()' for some demos, 'help()' for on-line help, or 434s 'help.start()' for an HTML browser interface to help. 434s Type 'q()' to quit R. 434s 434s > ## git2r, R bindings to the libgit2 library. 434s > ## Copyright (C) 2013-2023 The git2r contributors 434s > ## 434s > ## This program is free software; you can redistribute it and/or modify 434s > ## it under the terms of the GNU General Public License, version 2, 434s > ## as published by the Free Software Foundation. 434s > ## 434s > ## git2r is distributed in the hope that it will be useful, 434s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 434s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 434s > ## GNU General Public License for more details. 434s > ## 434s > ## You should have received a copy of the GNU General Public License along 434s > ## with this program; if not, write to the Free Software Foundation, Inc., 434s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 434s > 434s > library(git2r) 434s > source("util/check.R") 434s > 434s > ## For debugging 434s > sessionInfo() 434s R version 4.3.3 (2024-02-29) 434s Platform: s390x-ibm-linux-gnu (64-bit) 434s Running under: Ubuntu Noble Numbat (development branch) 434s 434s Matrix products: default 434s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 434s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 434s 434s locale: 434s [1] C 434s 434s time zone: Etc/UTC 434s tzcode source: system (glibc) 434s 434s attached base packages: 434s [1] stats graphics grDevices utils datasets methods base 434s 434s other attached packages: 434s [1] git2r_0.33.0 434s 434s loaded via a namespace (and not attached): 434s [1] compiler_4.3.3 434s > libgit2_version() 434s $major 434s [1] 1 434s 434s $minor 434s [1] 7 434s 434s $rev 434s [1] 2 434s 434s > libgit2_features() 434s $threads 434s [1] TRUE 434s 434s $https 434s [1] TRUE 434s 434s $ssh 434s [1] TRUE 434s 434s > 434s > 434s > ## Create a directory in tempdir 434s > path <- tempfile(pattern = "git2r-") 434s > dir.create(path) 434s > 434s > ## is_bare: "Invalid repository" 434s > tools::assertError(is_bare(new("git_repository"))) 434s > 434s > ## is_empty: "Invalid repository" 434s > tools::assertError(is_empty(new("git_repository"))) 434s > 434s > ## Check that open an invalid repository fails 434s > tools::assertError(repository(path)) 434s > tools::assertError(repository(path, discover = FALSE)) 434s > 434s > ## Check that it fails to open/init a repository with a path to a 434s > ## file. 434s > writeLines("test", file.path(path, "test.txt")) 434s > tools::assertError(repository(file.path(path, "test.txt"), 434s + discover = FALSE)) 434s > tools::assertError(init(file.path(path, "test.txt"))) 434s > unlink(file.path(path, "test.txt")) 434s > 434s > ## Initialize a repository 434s > repo <- init(path) 434s > stopifnot(identical(print(repo), repo)) 434s Local: /tmp/RtmpX9voeK/git2r-9662142dc3d 434s Head: nothing commited (yet) 434s > 434s > ## Check the state of the repository 434s > stopifnot(identical(is_bare(repo), FALSE)) 434s > stopifnot(identical(is_empty(repo), TRUE)) 434s > stopifnot(identical(is_shallow(repo), FALSE)) 434s > stopifnot(identical(branches(repo), empty_named_list())) 434s > stopifnot(identical(references(repo), empty_named_list())) 434s > stopifnot(identical(commits(repo), list())) 434s > stopifnot(identical(repository_head(repo), NULL)) 434s > 434s > # check that we can find repository from a path 434s > wd <- sub(paste0("[", .Platform$file.sep, "]$"), "", workdir(repo)) 434s > writeLines("test file", con = file.path(wd, "myfile.txt")) 434s > stopifnot(identical(discover_repository(file.path(wd, "myfile.txt")), 434s + file.path(wd, ".git"))) 434s > stopifnot(identical(discover_repository(file.path(wd, "doesntexist.txt")), 434s + NULL)) 434s > 434s > # Check that we can use ceiling in discover repostiory 434s > dir.create(file.path(wd, "temp")) 434s > stopifnot(identical(discover_repository(file.path(wd, "temp"), 0), NULL)) 434s > stopifnot(identical(discover_repository(file.path(wd, "temp"), 1), 434s + file.path(wd, ".git"))) 434s > tools::assertError(discover_repository(file.path(wd, "temp"), 2)) 434s > 434s > ## Check that lookup with a sha of less than 4 characters or more than 434s > ## 40 characters fail. 434s > tools::assertError(lookup(repo, paste0(rep("a", 3), collapse = ""))) 434s > tools::assertError(lookup(repo, paste0(rep("a", 41), collapse = ""))) 434s > 434s > ## Check in_repository 434s > stopifnot(identical(in_repository(path), TRUE)) 434s > 434s > ## Check: 434s > ## - in_repository method with missing path argument 434s > ## - repository method with missing path argument 434s > ## - workdir method with missing path argument 434s > ## - is_empty method with missing repo argument 434s > ## - is_shallow method with missing repo argument 434s > wd <- setwd(path) 434s > stopifnot(identical(in_repository(), TRUE)) 434s > stopifnot(identical(workdir(repository(path)), workdir(repository()))) 434s > stopifnot(identical(workdir(repository(path)), workdir())) 434s > stopifnot(identical(is_empty(), TRUE)) 434s > stopifnot(identical(is_shallow(), FALSE)) 434s > if (!is.null(wd)) 434s + setwd(wd) 434s > 434s > ## Cleanup 434s > unlink(path, recursive = TRUE) 434s > 434s BEGIN TEST reset.R 434s Warning message: 434s In normalizePath(path) : 434s path[1]="/tmp/RtmpX9voeK/git2r-9662142dc3d/doesntexist.txt": No such file or directory 434s 434s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 434s Copyright (C) 2024 The R Foundation for Statistical Computing 434s Platform: s390x-ibm-linux-gnu (64-bit) 434s 434s R is free software and comes with ABSOLUTELY NO WARRANTY. 434s You are welcome to redistribute it under certain conditions. 434s Type 'license()' or 'licence()' for distribution details. 434s 434s R is a collaborative project with many contributors. 434s Type 'contributors()' for more information and 434s 'citation()' on how to cite R or R packages in publications. 434s 434s Type 'demo()' for some demos, 'help()' for on-line help, or 434s 'help.start()' for an HTML browser interface to help. 434s Type 'q()' to quit R. 434s 434s > ## git2r, R bindings to the libgit2 library. 434s > ## Copyright (C) 2013-2023 The git2r contributors 434s > ## 434s > ## This program is free software; you can redistribute it and/or modify 434s > ## it under the terms of the GNU General Public License, version 2, 434s > ## as published by the Free Software Foundation. 434s > ## 434s > ## git2r is distributed in the hope that it will be useful, 434s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 434s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 434s > ## GNU General Public License for more details. 434s > ## 434s > ## You should have received a copy of the GNU General Public License along 434s > ## with this program; if not, write to the Free Software Foundation, Inc., 434s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 434s > 434s > library(git2r) 434s > source("util/check.R") 434s > 434s > ## For debugging 434s > sessionInfo() 434s R version 4.3.3 (2024-02-29) 434s Platform: s390x-ibm-linux-gnu (64-bit) 434s Running under: Ubuntu Noble Numbat (development branch) 434s 434s Matrix products: default 434s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 434s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 434s 434s locale: 434s [1] C 434s 434s time zone: Etc/UTC 434s tzcode source: system (glibc) 434s 434s attached base packages: 434s [1] stats graphics grDevices utils datasets methods base 434s 434s other attached packages: 434s [1] git2r_0.33.0 434s 434s loaded via a namespace (and not attached): 434s [1] compiler_4.3.3 434s > libgit2_version() 434s $major 434s [1] 1 434s 434s $minor 434s [1] 7 434s 434s $rev 434s [1] 2 434s 434s > libgit2_features() 434s $threads 434s [1] TRUE 434s 434s $https 434s [1] TRUE 434s 434s $ssh 434s [1] TRUE 434s 434s > 434s > 434s > ## Create a directory in tempdir 434s > path <- tempfile(pattern = "git2r-") 434s > dir.create(path) 434s > 434s > ## Initialize a repository 434s > repo <- init(path) 434s > config(repo, user.name = "Alice", user.email = "alice@example.org") 434s > 434s > ## Create a file 434s > writeLines("Hello world!", file.path(path, "test-1.txt")) 434s > 434s > ## Add and reset an empty repository using a path 434s > add(repo, "test-1.txt") 434s > stopifnot(identical( 434s + status(repo), 434s + structure(list(staged = list(new = "test-1.txt"), 434s + unstaged = empty_named_list(), 434s + untracked = empty_named_list()), 434s + class = "git_status"))) 434s > reset(repo, path = "test-1.txt") 434s > stopifnot(identical( 434s + status(repo), 434s + structure(list(staged = empty_named_list(), 434s + unstaged = empty_named_list(), 434s + untracked = list(untracked = "test-1.txt")), 434s + class = "git_status"))) 434s > 434s > ## Add and reset a non-empty repository using a path 434s > add(repo, "test-1.txt") 434s > commit(repo, "First commit") 434s [fbc1728] 2024-03-28: First commit 434s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test-1.txt")) 434s > add(repo, "test-1.txt") 434s > stopifnot(identical( 434s + status(repo), 434s + structure(list(staged = list(modified = "test-1.txt"), 434s + unstaged = empty_named_list(), 434s + untracked = empty_named_list()), 434s + class = "git_status"))) 434s > reset(repo, path = "test-1.txt") 434s > stopifnot(identical( 434s + status(repo), 434s + structure(list(staged = empty_named_list(), 434s + unstaged = list(modified = "test-1.txt"), 434s + untracked = empty_named_list()), 434s + class = "git_status"))) 434s > 434s > ## add and commit 434s > add(repo, "test-1.txt") 434s > commit_1 <- commit(repo, "Commit message") 434s > 434s > ## Make one more commit 434s > writeLines(c("Hello world!", "HELLO WORLD!", "hello world!"), 434s + file.path(path, "test-1.txt")) 434s > add(repo, "test-1.txt") 434s > commit(repo, "Next commit message") 434s [abfa401] 2024-03-28: Next commit message 434s > 434s > ## Create one more file 434s > writeLines("Hello world!", file.path(path, "test-2.txt")) 434s > 434s > ## 'soft' reset to first commit 434s > reset(commit_1) 434s > soft_exp <- structure(list(staged = list(modified = "test-1.txt"), 434s + unstaged = empty_named_list(), 434s + untracked = list(untracked = "test-2.txt")), 434s + class = "git_status") 434s > soft_obs <- status(repo) 434s > stopifnot(identical(soft_obs, soft_exp)) 434s > stopifnot(identical(length(commits(repo)), 2L)) 434s > stopifnot(identical(commits(repo)[[1]], commit_1)) 434s > 434s > ## 'mixed' reset to first commit 434s > commit(repo, "Next commit message") 434s [abfa401] 2024-03-28: Next commit message 434s > reset(commit_1, "mixed") 434s > mixed_exp <- structure(list(staged = empty_named_list(), 434s + unstaged = list(modified = "test-1.txt"), 434s + untracked = list(untracked = "test-2.txt")), 434s + class = "git_status") 434s > mixed_obs <- status(repo) 434s > stopifnot(identical(mixed_obs, mixed_exp)) 434s > stopifnot(identical(length(commits(repo)), 2L)) 434s > stopifnot(identical(commits(repo)[[1]], commit_1)) 434s > 434s > ## 'hard' reset to first commit 434s > add(repo, "test-1.txt") 434s > commit(repo, "Next commit message") 434s [abfa401] 2024-03-28: Next commit message 434s > reset(commit_1, "hard") 434s > hard_exp <- structure(list(staged = empty_named_list(), 434s + unstaged = empty_named_list(), 434s + untracked = list(untracked = "test-2.txt")), 434s + class = "git_status") 434s > hard_obs <- status(repo) 434s > stopifnot(identical(hard_obs, hard_exp)) 434s > stopifnot(identical(length(commits(repo)), 2L)) 434s > stopifnot(identical(commits(repo)[[1]], commit_1)) 434s > 434s > ## Cleanup 434s > unlink(path, recursive = TRUE) 434s > 434s BEGIN TEST revparse.R 434s 434s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 434s Copyright (C) 2024 The R Foundation for Statistical Computing 434s Platform: s390x-ibm-linux-gnu (64-bit) 434s 434s R is free software and comes with ABSOLUTELY NO WARRANTY. 434s You are welcome to redistribute it under certain conditions. 434s Type 'license()' or 'licence()' for distribution details. 434s 434s R is a collaborative project with many contributors. 434s Type 'contributors()' for more information and 434s 'citation()' on how to cite R or R packages in publications. 434s 434s Type 'demo()' for some demos, 'help()' for on-line help, or 434s 'help.start()' for an HTML browser interface to help. 434s Type 'q()' to quit R. 434s 434s > ## git2r, R bindings to the libgit2 library. 434s > ## Copyright (C) 2013-2023 The git2r contributors 434s > ## 434s > ## This program is free software; you can redistribute it and/or modify 434s > ## it under the terms of the GNU General Public License, version 2, 434s > ## as published by the Free Software Foundation. 434s > ## 434s > ## git2r is distributed in the hope that it will be useful, 434s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 434s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 434s > ## GNU General Public License for more details. 434s > ## 434s > ## You should have received a copy of the GNU General Public License along 434s > ## with this program; if not, write to the Free Software Foundation, Inc., 434s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 434s > 434s > library("git2r") 434s > 434s > ## For debugging 434s > sessionInfo() 434s R version 4.3.3 (2024-02-29) 434s Platform: s390x-ibm-linux-gnu (64-bit) 434s Running under: Ubuntu Noble Numbat (development branch) 434s 434s Matrix products: default 434s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 434s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 434s 434s locale: 434s [1] C 434s 434s time zone: Etc/UTC 434s tzcode source: system (glibc) 434s 434s attached base packages: 434s [1] stats graphics grDevices utils datasets methods base 434s 434s other attached packages: 434s [1] git2r_0.33.0 434s 434s loaded via a namespace (and not attached): 434s [1] compiler_4.3.3 434s > libgit2_version() 434s $major 434s [1] 1 434s 434s $minor 434s [1] 7 434s 434s $rev 434s [1] 2 434s 434s > libgit2_features() 434s $threads 434s [1] TRUE 434s 434s $https 434s [1] TRUE 434s 434s $ssh 434s [1] TRUE 434s 434s > 434s > 434s > ## Create a directory in tempdir 434s > path <- tempfile(pattern = "git2r-") 434s > dir.create(path) 434s > 434s > ## Initialize a repository 434s > repo <- init(path) 434s > config(repo, user.name = "Alice", user.email = "alice@example.org") 434s > 434s > ## Create a file 434s > writeLines("Hello world!", file.path(path, "test.txt")) 434s > 434s > ## Add and commit 434s > add(repo, "test.txt") 434s > commit_1 <- commit(repo, "First commit message") 434s > 434s > tools::assertError(revparse_single(repo, "HEAD^")) 434s > 434s > ## Add another commit 434s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test.txt")) 434s > add(repo, "test.txt") 434s > commit(repo, "Second commit message") 434s [c8686b7] 2024-03-28: Second commit message 434s > 434s > stopifnot(identical(revparse_single(repo, "HEAD^"), commit_1)) 434s > stopifnot(is_blob(revparse_single(repo, "HEAD:test.txt"))) 434s > 434s > ## Cleanup 434s > unlink(path, recursive = TRUE) 434s > 434s BEGIN TEST signature.R 434s 434s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 434s Copyright (C) 2024 The R Foundation for Statistical Computing 434s Platform: s390x-ibm-linux-gnu (64-bit) 434s 434s R is free software and comes with ABSOLUTELY NO WARRANTY. 434s You are welcome to redistribute it under certain conditions. 434s Type 'license()' or 'licence()' for distribution details. 434s 434s R is a collaborative project with many contributors. 434s Type 'contributors()' for more information and 434s 'citation()' on how to cite R or R packages in publications. 434s 434s Type 'demo()' for some demos, 'help()' for on-line help, or 434s 'help.start()' for an HTML browser interface to help. 434s Type 'q()' to quit R. 434s 434s > ## git2r, R bindings to the libgit2 library. 434s > ## Copyright (C) 2013-2023 The git2r contributors 434s > ## 434s > ## This program is free software; you can redistribute it and/or modify 434s > ## it under the terms of the GNU General Public License, version 2, 434s > ## as published by the Free Software Foundation. 434s > ## 434s > ## git2r is distributed in the hope that it will be useful, 434s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 434s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 434s > ## GNU General Public License for more details. 434s > ## 434s > ## You should have received a copy of the GNU General Public License along 434s > ## with this program; if not, write to the Free Software Foundation, Inc., 434s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 434s > 434s > library("git2r") 434s > 434s > ## For debugging 434s > sessionInfo() 435s R version 4.3.3 (2024-02-29) 435s Platform: s390x-ibm-linux-gnu (64-bit) 435s Running under: Ubuntu Noble Numbat (development branch) 435s 435s Matrix products: default 435s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 435s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 435s 435s locale: 435s [1] C 435s 435s time zone: Etc/UTC 435s tzcode source: system (glibc) 435s 435s attached base packages: 435s [1] stats graphics grDevices utils datasets methods base 435s 435s other attached packages: 435s [1] git2r_0.33.0 435s 435s loaded via a namespace (and not attached): 435s [1] compiler_4.3.3 435s > libgit2_version() 435s $major 435s [1] 1 435s 435s $minor 435s [1] 7 435s 435s $rev 435s [1] 2 435s 435s > libgit2_features() 435s $threads 435s [1] TRUE 435s 435s $https 435s [1] TRUE 435s 435s $ssh 435s [1] TRUE 435s 435s > 435s > 435s > ## Check printing of a class git_signature 435s > when <- structure(list(time = 1395567947, offset = 60), 435s + class = "git_time") 435s > 435s > signature <- structure(list(name = "Alice", 435s + email = "alice@example.org", 435s + when = when), 435s + class = "git_signature") 435s > stopifnot(identical(print(signature), signature)) 435s name: Alice 435s email: alice@example.org 435s when: 2014-03-23 09:45:47 GMT 435s > 435s BEGIN TEST stash.R 435s 435s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 435s Copyright (C) 2024 The R Foundation for Statistical Computing 435s Platform: s390x-ibm-linux-gnu (64-bit) 435s 435s R is free software and comes with ABSOLUTELY NO WARRANTY. 435s You are welcome to redistribute it under certain conditions. 435s Type 'license()' or 'licence()' for distribution details. 435s 435s R is a collaborative project with many contributors. 435s Type 'contributors()' for more information and 435s 'citation()' on how to cite R or R packages in publications. 435s 435s Type 'demo()' for some demos, 'help()' for on-line help, or 435s 'help.start()' for an HTML browser interface to help. 435s Type 'q()' to quit R. 435s 435s > ## git2r, R bindings to the libgit2 library. 435s > ## Copyright (C) 2013-2023 The git2r contributors 435s > ## 435s > ## This program is free software; you can redistribute it and/or modify 435s > ## it under the terms of the GNU General Public License, version 2, 435s > ## as published by the Free Software Foundation. 435s > ## 435s > ## git2r is distributed in the hope that it will be useful, 435s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 435s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 435s > ## GNU General Public License for more details. 435s > ## 435s > ## You should have received a copy of the GNU General Public License along 435s > ## with this program; if not, write to the Free Software Foundation, Inc., 435s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 435s > 435s > library("git2r") 435s > 435s > ## For debugging 435s > sessionInfo() 435s R version 4.3.3 (2024-02-29) 435s Platform: s390x-ibm-linux-gnu (64-bit) 435s Running under: Ubuntu Noble Numbat (development branch) 435s 435s Matrix products: default 435s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 435s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 435s 435s locale: 435s [1] C 435s 435s time zone: Etc/UTC 435s tzcode source: system (glibc) 435s 435s attached base packages: 435s [1] stats graphics grDevices utils datasets methods base 435s 435s other attached packages: 435s [1] git2r_0.33.0 435s 435s loaded via a namespace (and not attached): 435s [1] compiler_4.3.3 435s > libgit2_version() 435s $major 435s [1] 1 435s 435s $minor 435s [1] 7 435s 435s $rev 435s [1] 2 435s 435s > libgit2_features() 435s $threads 435s [1] TRUE 435s 435s $https 435s [1] TRUE 435s 435s $ssh 435s [1] TRUE 435s 435s > 435s > 435s > ## Create a directory in tempdir 435s > path <- tempfile(pattern = "git2r-") 435s > dir.create(path) 435s > 435s > ## Initialize a repository 435s > repo <- init(path) 435s > config(repo, user.name = "Alice", user.email = "alice@example.org") 435s > 435s > ## Create a file 435s > writeLines("Hello world!", file.path(path, "test-1.txt")) 435s > 435s > ## add and commit 435s > add(repo, "test-1.txt") 435s > commit(repo, "Commit message") 435s [c1867be] 2024-03-28: Commit message 435s > 435s > ## Pop stash 435s > writeLines(c("Hello world!", "HELLO WORLD!"), file.path(path, "test-1.txt")) 435s > stash(repo) 435s > stopifnot(identical("Hello world!", 435s + readLines(file.path(path, "test-1.txt")))) 435s > stash_pop(repo) 435s > stopifnot(identical(c("Hello world!", "HELLO WORLD!"), 435s + readLines(file.path(path, "test-1.txt")))) 435s > 435s > ## Make one more commit 435s > add(repo, "test-1.txt") 435s > commit(repo, "Next commit message") 435s [0e026e4] 2024-03-28: Next commit message 435s > 435s > ## Check that there are no stashes 435s > stopifnot(identical(stash_list(repo), list())) 435s > 435s > ## Apply stash 435s > writeLines(c("Hello world!", "HELLO WORLD!", "hello world!"), 435s + file.path(path, "test-1.txt")) 435s > stash(repo) 435s > stopifnot(identical(c("Hello world!", "HELLO WORLD!"), 435s + readLines(file.path(path, "test-1.txt")))) 435s > stash_apply(repo) 435s > stopifnot(identical(c("Hello world!", "HELLO WORLD!", "hello world!"), 435s + readLines(file.path(path, "test-1.txt")))) 435s > stopifnot(identical(length(stash_list(repo)), 1L)) 435s > stash_drop(repo, 1) 435s > stopifnot(identical(stash_list(repo), list())) 435s > 435s > ## Make one more commit 435s > add(repo, "test-1.txt") 435s > commit(repo, "Apply stash commit message") 435s [ad032c3] 2024-03-28: Apply stash commit message 435s > 435s > ## Create one more file 435s > writeLines("Hello world!", file.path(path, "test-2.txt")) 435s > 435s > ## Check that there are no stashes 435s > stopifnot(identical(stash_list(repo), list())) 435s > 435s > ## Stash 435s > stash(repo) 435s > stopifnot(identical(stash_list(repo), list())) 435s > s <- stash(repo, untracked = TRUE) 435s > stopifnot(identical(print(s), s)) 435s On master: 2024-03-28 00:12:23.219625 435s 435s > summary(s) 435s message: On master: 2024-03-28 00:12:23.219625 435s stasher: Alice 435s when: 2024-03-28 00:12:23 GMT 435s sha: 570a5d7fea1095a4a98ef2f94bd533f80f7dc5fa 435s 435s > stopifnot(identical(length(stash_list(repo)), 1L)) 435s > tree(stash_list(repo)[[1]]) 435s tree: af5711badde07055d853088e98c6d988bfdd139f 435s 435s mode type sha name 435s 1 100644 blob 5b168e5ff4e9eeff020b99a3c1c83c4979294e76 test-1.txt 435s > 435s > ## Drop stash 435s > stash_drop(repo, 1) 435s > stopifnot(identical(stash_list(repo), list())) 435s > 435s > ## Check stash_drop argument 435s > tools::assertError(stash_drop(repo)) 435s > tools::assertError(stash_drop(repo, -1)) 435s > tools::assertError(stash_drop(repo, 0.5)) 435s > 435s > ## Create one more file 435s > writeLines("Hello world!", file.path(path, "test-3.txt")) 435s > 435s > ## Create stash in repository 435s > stash(repo, untracked = TRUE) 435s > stopifnot(identical(length(stash_list(repo)), 1L)) 435s > 435s > ## Check stash_list method with missing repo argument 435s > wd <- setwd(path) 435s > stopifnot(identical(length(stash_list()), 1L)) 435s > if (!is.null(wd)) 435s + setwd(wd) 435s > 435s > ## Drop git_stash object in repository 435s > stash_drop(stash_list(repo)[[1]]) 435s > 435s > ## Cleanup 435s > unlink(path, recursive = TRUE) 435s > 435s BEGIN TEST status.R 435s 435s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 435s Copyright (C) 2024 The R Foundation for Statistical Computing 435s Platform: s390x-ibm-linux-gnu (64-bit) 435s 435s R is free software and comes with ABSOLUTELY NO WARRANTY. 435s You are welcome to redistribute it under certain conditions. 435s Type 'license()' or 'licence()' for distribution details. 435s 435s R is a collaborative project with many contributors. 435s Type 'contributors()' for more information and 435s 'citation()' on how to cite R or R packages in publications. 435s 435s Type 'demo()' for some demos, 'help()' for on-line help, or 435s 'help.start()' for an HTML browser interface to help. 435s Type 'q()' to quit R. 435s 435s > ## git2r, R bindings to the libgit2 library. 435s > ## Copyright (C) 2013-2023 The git2r contributors 435s > ## 435s > ## This program is free software; you can redistribute it and/or modify 435s > ## it under the terms of the GNU General Public License, version 2, 435s > ## as published by the Free Software Foundation. 435s > ## 435s > ## git2r is distributed in the hope that it will be useful, 435s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 435s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 435s > ## GNU General Public License for more details. 435s > ## 435s > ## You should have received a copy of the GNU General Public License along 435s > ## with this program; if not, write to the Free Software Foundation, Inc., 435s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 435s > 435s > library(git2r) 435s > source("util/check.R") 435s > 435s > ## For debugging 435s > sessionInfo() 435s R version 4.3.3 (2024-02-29) 435s Platform: s390x-ibm-linux-gnu (64-bit) 435s Running under: Ubuntu Noble Numbat (development branch) 435s 435s Matrix products: default 435s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 435s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 435s 435s locale: 435s [1] C 435s 435s time zone: Etc/UTC 435s tzcode source: system (glibc) 435s 435s attached base packages: 435s [1] stats graphics grDevices utils datasets methods base 435s 435s other attached packages: 435s [1] git2r_0.33.0 435s 435s loaded via a namespace (and not attached): 435s [1] compiler_4.3.3 435s > libgit2_version() 435s $major 435s [1] 1 435s 435s $minor 435s [1] 7 435s 435s $rev 435s [1] 2 435s 435s > libgit2_features() 435s $threads 435s [1] TRUE 435s 435s $https 435s [1] TRUE 435s 435s $ssh 435s [1] TRUE 435s 435s > 435s > 435s > ## Create a directory in tempdir 435s > path <- tempfile(pattern = "git2r-") 435s > dir.create(path) 435s > 435s > ## Initialize a repository 435s > repo <- init(path) 435s > config(repo, user.name = "Alice", user.email = "alice@example.org") 435s > 435s > ## Status case 1 435s > status_exp_1 <- structure(list(staged = empty_named_list(), 435s + unstaged = empty_named_list(), 435s + untracked = empty_named_list()), 435s + class = "git_status") 435s > status_obs_1 <- status(repo) 435s > stopifnot(identical(print(status_obs_1), status_obs_1)) 435s working directory clean 435s > str(status_exp_1) 435s List of 3 435s $ staged : Named list() 435s $ unstaged : Named list() 435s $ untracked: Named list() 435s - attr(*, "class")= chr "git_status" 435s > str(status_obs_1) 435s List of 3 435s $ staged : Named list() 435s $ unstaged : Named list() 435s $ untracked: Named list() 435s - attr(*, "class")= chr "git_status" 435s > stopifnot(identical(status_obs_1, status_exp_1)) 435s > stopifnot(identical(capture.output(status(repo)), 435s + "working directory clean")) 435s > 435s > ## Status case 2, include ignored files 435s > status_exp_2 <- structure(list(staged = empty_named_list(), 435s + unstaged = empty_named_list(), 435s + untracked = empty_named_list(), 435s + ignored = empty_named_list()), 435s + class = "git_status") 435s > status_obs_2 <- status(repo, ignored = TRUE) 435s > status_obs_2 435s working directory clean 435s > str(status_exp_2) 435s List of 4 435s $ staged : Named list() 435s $ unstaged : Named list() 435s $ untracked: Named list() 435s $ ignored : Named list() 435s - attr(*, "class")= chr "git_status" 435s > str(status_obs_2) 435s List of 4 435s $ staged : Named list() 435s $ unstaged : Named list() 435s $ untracked: Named list() 435s $ ignored : Named list() 435s - attr(*, "class")= chr "git_status" 435s > stopifnot(identical(status_obs_2, status_exp_2)) 435s > stopifnot(identical(capture.output(status(repo, ignored = TRUE)), 435s + "working directory clean")) 435s > 435s > ## Create 4 files 435s > writeLines("File-1", file.path(path, "test-1.txt")) 435s > writeLines("File-2", file.path(path, "test-2.txt")) 435s > writeLines("File-3", file.path(path, "test-3.txt")) 435s > writeLines("File-4", file.path(path, "test-4.txt")) 435s > 435s > ## Status case 3: 4 untracked files 435s > status_exp_3 <- structure(list(staged = empty_named_list(), 435s + unstaged = empty_named_list(), 435s + untracked = list(untracked = "test-1.txt", 435s + untracked = "test-2.txt", 435s + untracked = "test-3.txt", 435s + untracked = "test-4.txt")), 435s + class = "git_status") 435s > status_obs_3 <- status(repo) 435s > status_obs_3 435s Untracked files: 435s Untracked: test-1.txt 435s Untracked: test-2.txt 435s Untracked: test-3.txt 435s Untracked: test-4.txt 435s 435s > str(status_exp_3) 435s List of 3 435s $ staged : Named list() 435s $ unstaged : Named list() 435s $ untracked:List of 4 435s ..$ untracked: chr "test-1.txt" 435s ..$ untracked: chr "test-2.txt" 435s ..$ untracked: chr "test-3.txt" 435s ..$ untracked: chr "test-4.txt" 435s - attr(*, "class")= chr "git_status" 435s > str(status_obs_3) 435s List of 3 435s $ staged : Named list() 435s $ unstaged : Named list() 435s $ untracked:List of 4 435s ..$ untracked: chr "test-1.txt" 435s ..$ untracked: chr "test-2.txt" 435s ..$ untracked: chr "test-3.txt" 435s ..$ untracked: chr "test-4.txt" 435s - attr(*, "class")= chr "git_status" 435s > stopifnot(identical(status_obs_3, status_exp_3)) 435s > 435s > ## Add file 1 and 2 to the repository and commit 435s > add(repo, c("test-1.txt", "test-2.txt")) 435s > commit(repo, "Commit message") 435s [86bd2b0] 2024-03-28: Commit message 435s > 435s > ## Status case 4: 2 untracked files 435s > status_exp_4 <- structure(list(staged = empty_named_list(), 435s + unstaged = empty_named_list(), 435s + untracked = list(untracked = "test-3.txt", 435s + untracked = "test-4.txt")), 435s + class = "git_status") 435s > status_obs_4 <- status(repo) 435s > status_obs_4 435s Untracked files: 435s Untracked: test-3.txt 435s Untracked: test-4.txt 435s 435s > str(status_exp_4) 435s List of 3 435s $ staged : Named list() 435s $ unstaged : Named list() 435s $ untracked:List of 2 435s ..$ untracked: chr "test-3.txt" 435s ..$ untracked: chr "test-4.txt" 435s - attr(*, "class")= chr "git_status" 435s > str(status_obs_4) 435s List of 3 435s $ staged : Named list() 435s $ unstaged : Named list() 435s $ untracked:List of 2 435s ..$ untracked: chr "test-3.txt" 435s ..$ untracked: chr "test-4.txt" 435s - attr(*, "class")= chr "git_status" 435s > stopifnot(identical(status_obs_4, status_exp_4)) 435s > 435s > ## Update file 1 & 2 435s > writeLines(c("File-1", "Hello world"), file.path(path, "test-1.txt")) 435s > writeLines(c("File-2", "Hello world"), file.path(path, "test-2.txt")) 435s > 435s > ## Add file 1 435s > add(repo, "test-1.txt") 435s > 435s > ## Status case 5: 1 staged file, 1 unstaged file and 2 untracked files 435s > status_exp_5 <- structure(list(staged = list(modified = "test-1.txt"), 435s + unstaged = list(modified = "test-2.txt"), 435s + untracked = list(untracked = "test-3.txt", 435s + untracked = "test-4.txt")), 435s + class = "git_status") 435s > status_obs_5 <- status(repo) 435s > status_obs_5 435s Untracked files: 435s Untracked: test-3.txt 435s Untracked: test-4.txt 435s 435s Unstaged changes: 435s Modified: test-2.txt 435s 435s Staged changes: 435s Modified: test-1.txt 435s 435s > str(status_exp_5) 435s List of 3 435s $ staged :List of 1 435s ..$ modified: chr "test-1.txt" 435s $ unstaged :List of 1 435s ..$ modified: chr "test-2.txt" 435s $ untracked:List of 2 435s ..$ untracked: chr "test-3.txt" 435s ..$ untracked: chr "test-4.txt" 435s - attr(*, "class")= chr "git_status" 435s > str(status_obs_5) 435s List of 3 435s $ staged :List of 1 435s ..$ modified: chr "test-1.txt" 435s $ unstaged :List of 1 435s ..$ modified: chr "test-2.txt" 435s $ untracked:List of 2 435s ..$ untracked: chr "test-3.txt" 435s ..$ untracked: chr "test-4.txt" 435s - attr(*, "class")= chr "git_status" 435s > stopifnot(identical(status_obs_5, status_exp_5)) 435s > 435s > ## Add .gitignore file with file test-4.txt 435s > writeLines("test-4.txt", file.path(path, ".gitignore")) 435s > 435s > ## Status case 6: 1 staged file, 1 unstaged file, 2 untracked files 435s > ## and 1 ignored file 435s > status_exp_6 <- structure(list(staged = list(modified = "test-1.txt"), 435s + unstaged = list(modified = "test-2.txt"), 435s + untracked = list(untracked = ".gitignore", 435s + untracked = "test-3.txt"), 435s + ignored = list(ignored = "test-4.txt")), 435s + class = "git_status") 435s > status_obs_6 <- status(repo, ignore = TRUE) 435s > status_obs_6 435s Ignored files: 435s Ignored: test-4.txt 435s 435s Untracked files: 435s Untracked: .gitignore 435s Untracked: test-3.txt 435s 435s Unstaged changes: 435s Modified: test-2.txt 435s 435s Staged changes: 435s Modified: test-1.txt 435s 435s > str(status_exp_6) 435s List of 4 435s $ staged :List of 1 435s ..$ modified: chr "test-1.txt" 435s $ unstaged :List of 1 435s ..$ modified: chr "test-2.txt" 435s $ untracked:List of 2 435s ..$ untracked: chr ".gitignore" 435s ..$ untracked: chr "test-3.txt" 435s $ ignored :List of 1 435s ..$ ignored: chr "test-4.txt" 435s - attr(*, "class")= chr "git_status" 435s > str(status_obs_6) 435s List of 4 435s $ staged :List of 1 435s ..$ modified: chr "test-1.txt" 435s $ unstaged :List of 1 435s ..$ modified: chr "test-2.txt" 435s $ untracked:List of 2 435s ..$ untracked: chr ".gitignore" 435s ..$ untracked: chr "test-3.txt" 435s $ ignored :List of 1 435s ..$ ignored: chr "test-4.txt" 435s - attr(*, "class")= chr "git_status" 435s > stopifnot(identical(status_obs_6, status_exp_6)) 435s > 435s > ## Cleanup 435s > unlink(path, recursive = TRUE) 435s > 435s BEGIN TEST tag.R 435s 435s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 435s Copyright (C) 2024 The R Foundation for Statistical Computing 435s Platform: s390x-ibm-linux-gnu (64-bit) 435s 435s R is free software and comes with ABSOLUTELY NO WARRANTY. 435s You are welcome to redistribute it under certain conditions. 435s Type 'license()' or 'licence()' for distribution details. 435s 435s R is a collaborative project with many contributors. 435s Type 'contributors()' for more information and 435s 'citation()' on how to cite R or R packages in publications. 435s 435s Type 'demo()' for some demos, 'help()' for on-line help, or 435s 'help.start()' for an HTML browser interface to help. 435s Type 'q()' to quit R. 435s 435s > ## git2r, R bindings to the libgit2 library. 435s > ## Copyright (C) 2013-2023 The git2r contributors 435s > ## 435s > ## This program is free software; you can redistribute it and/or modify 435s > ## it under the terms of the GNU General Public License, version 2, 435s > ## as published by the Free Software Foundation. 435s > ## 435s > ## git2r is distributed in the hope that it will be useful, 435s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 435s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 435s > ## GNU General Public License for more details. 435s > ## 435s > ## You should have received a copy of the GNU General Public License along 435s > ## with this program; if not, write to the Free Software Foundation, Inc., 435s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 435s > 435s > library(git2r) 435s > source("util/check.R") 435s > 435s > ## For debugging 435s > sessionInfo() 435s R version 4.3.3 (2024-02-29) 435s Platform: s390x-ibm-linux-gnu (64-bit) 435s Running under: Ubuntu Noble Numbat (development branch) 435s 435s Matrix products: default 435s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 435s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 435s 435s locale: 435s [1] C 435s 435s time zone: Etc/UTC 435s tzcode source: system (glibc) 435s 435s attached base packages: 435s [1] stats graphics grDevices utils datasets methods base 435s 435s other attached packages: 435s [1] git2r_0.33.0 435s 435s loaded via a namespace (and not attached): 435s [1] compiler_4.3.3 435s > libgit2_version() 435s $major 435s [1] 1 435s 435s $minor 435s [1] 7 435s 435s $rev 435s [1] 2 435s 435s > libgit2_features() 435s $threads 435s [1] TRUE 435s 435s $https 435s [1] TRUE 435s 435s $ssh 435s [1] TRUE 435s 435s > 435s > 435s > ## Create a directory in tempdir 435s > path <- tempfile(pattern = "git2r-") 435s > dir.create(path) 435s > 435s > ## Initialize a repository 435s > repo <- init(path) 435s > config(repo, user.name = "Alice", user.email = "alice@example.org") 435s > 435s > ## Create a file 435s > writeLines("Hello world!", file.path(path, "test.txt")) 435s > 435s > ## add and commit 435s > add(repo, "test.txt") 435s > commit(repo, "Commit message") 435s [8ebf39b] 2024-03-28: Commit message 435s > 435s > ## Check tags, no tag added 435s > stopifnot(identical(tags(repo), empty_named_list())) 435s > 435s > ## Create tag 435s > new_tag <- tag(repo, "Tagname", "Tag message") 435s > stopifnot(identical(print(new_tag), new_tag)) 435s [8ebf39] Tagname 435s > summary(new_tag) 435s name: Tagname 435s target: 8ebf39b30b8628aed359762436856d442c09ffc6 435s tagger: Alice 435s when: 2024-03-28 00:12:23 GMT 435s message: Tag message 435s > 435s > ## Check tag 435s > stopifnot(identical(lookup(repo, sha(new_tag)), new_tag)) 435s > stopifnot(identical(new_tag$name, "Tagname")) 435s > stopifnot(identical(new_tag$message, "Tag message")) 435s > stopifnot(identical(new_tag$tagger$name, "Alice")) 435s > stopifnot(identical(new_tag$tagger$email, "alice@example.org")) 435s > stopifnot(identical(length(tags(repo)), 1L)) 435s > stopifnot(identical(tags(repo)[[1]]$name, "Tagname")) 435s > stopifnot(identical(tags(repo)[[1]]$message, "Tag message")) 435s > stopifnot(identical(tags(repo)[[1]]$tagger$name, "Alice")) 435s > stopifnot(identical(tags(repo)[[1]]$tagger$email, "alice@example.org")) 435s > 435s > ## Check objects in object database 435s > stopifnot(identical(table(odb_objects(repo)$type), 435s + structure(c(1L, 1L, 1L, 1L), 435s + .Dim = 4L, 435s + .Dimnames = structure(list( 435s + c("blob", "commit", "tag", "tree")), 435s + .Names = ""), 435s + class = "table"))) 435s > 435s > ## Delete tag 435s > tag_delete(new_tag) 435s > stopifnot(identical(length(tags(repo)), 0L)) 435s > 435s > ## Create tag with session info 435s > tag(repo, "Tagname", "Tag message", session = TRUE) 435s > stopifnot(grep("git2r", tags(repo)[[1]]$message) > 0) 435s > 435s > ## Check tags method with default repo argument 435s > wd <- setwd(path) 435s > stopifnot(identical(length(tags()), 1L)) 435s > tag_delete(name = "Tagname") 435s > stopifnot(identical(length(tags()), 0L)) 435s > if (!is.null(wd)) 435s + setwd(wd) 435s > 435s > ## Cleanup 435s > unlink(path, recursive = TRUE) 435s > 435s BEGIN TEST time.R 435s 435s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 435s Copyright (C) 2024 The R Foundation for Statistical Computing 435s Platform: s390x-ibm-linux-gnu (64-bit) 435s 435s R is free software and comes with ABSOLUTELY NO WARRANTY. 435s You are welcome to redistribute it under certain conditions. 435s Type 'license()' or 'licence()' for distribution details. 435s 435s R is a collaborative project with many contributors. 435s Type 'contributors()' for more information and 435s 'citation()' on how to cite R or R packages in publications. 435s 435s Type 'demo()' for some demos, 'help()' for on-line help, or 435s 'help.start()' for an HTML browser interface to help. 435s Type 'q()' to quit R. 435s 436s > ## git2r, R bindings to the libgit2 library. 436s > ## Copyright (C) 2013-2023 The git2r contributors 436s > ## 436s > ## This program is free software; you can redistribute it and/or modify 436s > ## it under the terms of the GNU General Public License, version 2, 436s > ## as published by the Free Software Foundation. 436s > ## 436s > ## git2r is distributed in the hope that it will be useful, 436s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 436s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 436s > ## GNU General Public License for more details. 436s > ## 436s > ## You should have received a copy of the GNU General Public License along 436s > ## with this program; if not, write to the Free Software Foundation, Inc., 436s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 436s > 436s > library(git2r) 436s > 436s > ## For debugging 436s > sessionInfo() 436s R version 4.3.3 (2024-02-29) 436s Platform: s390x-ibm-linux-gnu (64-bit) 436s Running under: Ubuntu Noble Numbat (development branch) 436s 436s Matrix products: default 436s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 436s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 436s 436s locale: 436s [1] C 436s 436s time zone: Etc/UTC 436s tzcode source: system (glibc) 436s 436s attached base packages: 436s [1] stats graphics grDevices utils datasets methods base 436s 436s other attached packages: 436s [1] git2r_0.33.0 436s 436s loaded via a namespace (and not attached): 436s [1] compiler_4.3.3 436s > libgit2_version() 436s $major 436s [1] 1 436s 436s $minor 436s [1] 7 436s 436s $rev 436s [1] 2 436s 436s > libgit2_features() 436s $threads 436s [1] TRUE 436s 436s $https 436s [1] TRUE 436s 436s $ssh 436s [1] TRUE 436s 436s > 436s > 436s > ## Test to coerce 436s > git_t <- structure(list(time = 1395567947, offset = 60), 436s + class = "git_time") 436s > stopifnot(identical(as.character(git_t), "2014-03-23 09:45:47 GMT")) 436s > stopifnot(identical(as.character(git_t, usetz = FALSE), "2014-03-23 09:45:47")) 436s > stopifnot(identical(as.POSIXct(git_t), 436s + as.POSIXct(1395567947, tz = "GMT", origin = "1970-01-01"))) 436s > stopifnot(identical(print(git_t), git_t)) 436s 2014-03-23 09:45:47 GMT 436s > 436s > as.POSIXct(1395567947, origin = "1970-01-01", tz = "-03") 436s [1] "2014-03-23 09:45:47" 436s > 436s > ## Test that origin/tz can be passed to as.POSIXct 436s > stopifnot(identical(as.POSIXct(git_t, tz = "Europe/Stockholm", 436s + origin = "1980-02-02"), 436s + as.POSIXct(1395567947, tz = "Europe/Stockholm", 436s + origin = "1980-02-02"))) 436s > 436s > ## Test that origin/tz can be passed to as.character 436s > stopifnot(identical(as.character(git_t, tz = "Europe/Stockholm", 436s + origin = "1980-02-02"), 436s + "2024-04-23 11:45:47 CEST")) 436s > stopifnot(identical(as.character(git_t, tz = "Europe/Stockholm", 436s + origin = "1980-02-02", usetz = FALSE), 436s + "2024-04-23 11:45:47")) 436s > 436s > ## Test that origin/tz can be passed to print 436s > stopifnot(identical( 436s + utils::capture.output(print(git_t, tz = "Europe/Stockholm", 436s + origin = "1980-02-02")), 436s + "2024-04-23 11:45:47 CEST" 436s + )) 436s > stopifnot(identical( 436s + utils::capture.output(print(git_t, tz = "Europe/Stockholm", 436s + origin = "1980-02-02", usetz = FALSE)), 436s + "2024-04-23 11:45:47" 436s + )) 436s > 436s BEGIN TEST tree.R 436s 436s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 436s Copyright (C) 2024 The R Foundation for Statistical Computing 436s Platform: s390x-ibm-linux-gnu (64-bit) 436s 436s R is free software and comes with ABSOLUTELY NO WARRANTY. 436s You are welcome to redistribute it under certain conditions. 436s Type 'license()' or 'licence()' for distribution details. 436s 436s R is a collaborative project with many contributors. 436s Type 'contributors()' for more information and 436s 'citation()' on how to cite R or R packages in publications. 436s 436s Type 'demo()' for some demos, 'help()' for on-line help, or 436s 'help.start()' for an HTML browser interface to help. 436s Type 'q()' to quit R. 436s 436s > ## git2r, R bindings to the libgit2 library. 436s > ## Copyright (C) 2013-2023 The git2r contributors 436s > ## 436s > ## This program is free software; you can redistribute it and/or modify 436s > ## it under the terms of the GNU General Public License, version 2, 436s > ## as published by the Free Software Foundation. 436s > ## 436s > ## git2r is distributed in the hope that it will be useful, 436s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 436s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 436s > ## GNU General Public License for more details. 436s > ## 436s > ## You should have received a copy of the GNU General Public License along 436s > ## with this program; if not, write to the Free Software Foundation, Inc., 436s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 436s > 436s > library("git2r") 436s > 436s > ## For debugging 436s > sessionInfo() 436s R version 4.3.3 (2024-02-29) 436s Platform: s390x-ibm-linux-gnu (64-bit) 436s Running under: Ubuntu Noble Numbat (development branch) 436s 436s Matrix products: default 436s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 436s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 436s 436s locale: 436s [1] C 436s 436s time zone: Etc/UTC 436s tzcode source: system (glibc) 436s 436s attached base packages: 436s [1] stats graphics grDevices utils datasets methods base 436s 436s other attached packages: 436s [1] git2r_0.33.0 436s 436s loaded via a namespace (and not attached): 436s [1] compiler_4.3.3 436s > libgit2_version() 436s $major 436s [1] 1 436s 436s $minor 436s [1] 7 436s 436s $rev 436s [1] 2 436s 436s > libgit2_features() 436s $threads 436s [1] TRUE 436s 436s $https 436s [1] TRUE 436s 436s $ssh 436s [1] TRUE 436s 436s > 436s > 436s > ## Create a directory in tempdir 436s > path <- tempfile(pattern = "git2r-") 436s > dir.create(path) 436s > 436s > ## Initialize a repository 436s > repo <- init(path) 436s > config(repo, user.name = "Alice", user.email = "alice@example.org") 436s > 436s > ## Create a file 436s > f <- file(file.path(path, "test.txt"), "wb") 436s > writeChar("Hello world!\n", f, eos = NULL) 436s > close(f) 436s > 436s > ## add and commit 436s > add(repo, "test.txt") 436s > commit(repo, "Commit message") 436s [4eb490a] 2024-03-28: Commit message 436s > 436s > ## Check tree 436s > stopifnot(is_tree(lookup(repo, "a0b0b9e615e9e433eb5f11859e9feac4564c58c5"))) 436s > stopifnot(identical( 436s + sha(lookup(repo, "a0b0b9e615e9e433eb5f11859e9feac4564c58c5")), 436s + "a0b0b9e615e9e433eb5f11859e9feac4564c58c5")) 436s > stopifnot(is_tree(tree(commits(repo)[[1]]))) 436s > stopifnot(identical(lookup(repo, "a0b0b9e615e9e433eb5f11859e9feac4564c58c5"), 436s + tree(commits(repo)[[1]]))) 436s > stopifnot(identical(length(tree(commits(repo)[[1]])), 1L)) 436s > 436s > ## Coerce to a data.frame and check column names 436s > stopifnot(identical(names(as.data.frame(tree(commits(repo)[[1]]))), 436s + c("mode", "type", "sha", "name"))) 436s > 436s > ## Coerce to list and check length 436s > stopifnot(identical(length(as.list(tree(last_commit(repo)))), 1L)) 436s > 436s > ## Print and summary 436s > stopifnot(identical(print(tree(last_commit(repo))), tree(last_commit(repo)))) 436s tree: a0b0b9e615e9e433eb5f11859e9feac4564c58c5 436s 436s mode type sha name 436s 1 100644 blob cd0875583aabe89ee197ea133980a9085d08e497 test.txt 436s > summary(tree(last_commit(repo))) 436s mode type sha name 436s 1 100644 blob cd0875583aabe89ee197ea133980a9085d08e497 test.txt 436s > 436s > ## Check indexing 436s > stopifnot(is_blob(tree(last_commit(repo))[TRUE])) 436s > stopifnot(is_blob(tree(last_commit(repo))["test.txt"])) 436s > res <- tools::assertError(tree(last_commit(repo))[data.frame()]) 436s > stopifnot(length(grep("Invalid index", res[[1]]$message)) > 0) 436s > 436s > ## Check ls_tree 436s > stopifnot(identical(ls_tree(repo = repo), ls_tree(repo = path))) 436s > stopifnot(identical(ls_tree(tree = sha(tree(last_commit(repo))), repo = repo), 436s + ls_tree(repo = repo))) 436s > 436s > ## Cleanup 436s > unlink(path, recursive = TRUE) 436s > 436s BEGIN TEST when.R 436s 436s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 436s Copyright (C) 2024 The R Foundation for Statistical Computing 436s Platform: s390x-ibm-linux-gnu (64-bit) 436s 436s R is free software and comes with ABSOLUTELY NO WARRANTY. 436s You are welcome to redistribute it under certain conditions. 436s Type 'license()' or 'licence()' for distribution details. 436s 436s R is a collaborative project with many contributors. 436s Type 'contributors()' for more information and 436s 'citation()' on how to cite R or R packages in publications. 436s 436s Type 'demo()' for some demos, 'help()' for on-line help, or 436s 'help.start()' for an HTML browser interface to help. 436s Type 'q()' to quit R. 436s 436s > ## git2r, R bindings to the libgit2 library. 436s > ## Copyright (C) 2013-2023 The git2r contributors 436s > ## 436s > ## This program is free software; you can redistribute it and/or modify 436s > ## it under the terms of the GNU General Public License, version 2, 436s > ## as published by the Free Software Foundation. 436s > ## 436s > ## git2r is distributed in the hope that it will be useful, 436s > ## but WITHOUT ANY WARRANTY; without even the implied warranty of 436s > ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 436s > ## GNU General Public License for more details. 436s > ## 436s > ## You should have received a copy of the GNU General Public License along 436s > ## with this program; if not, write to the Free Software Foundation, Inc., 436s > ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 436s > 436s > library("git2r") 436s > 436s > ## For debugging 436s > sessionInfo() 436s R version 4.3.3 (2024-02-29) 436s Platform: s390x-ibm-linux-gnu (64-bit) 436s Running under: Ubuntu Noble Numbat (development branch) 436s 436s Matrix products: default 436s BLAS: /usr/lib/s390x-linux-gnu/blas/libblas.so.3.12.0 436s LAPACK: /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3.12.0 436s 436s locale: 436s [1] C 436s 436s time zone: Etc/UTC 436s tzcode source: system (glibc) 436s 436s attached base packages: 436s [1] stats graphics grDevices utils datasets methods base 436s 436s other attached packages: 436s [1] git2r_0.33.0 436s 436s loaded via a namespace (and not attached): 436s [1] compiler_4.3.3 436s > libgit2_version() 436s $major 436s [1] 1 436s 436s $minor 436s [1] 7 436s 436s $rev 436s [1] 2 436s 436s > libgit2_features() 436s $threads 436s [1] TRUE 436s 436s $https 436s [1] TRUE 436s 436s $ssh 436s [1] TRUE 436s 436s > 436s > 436s > ## Check when method 436s > w1 <- structure(list(time = 1395567947, offset = 60), 436s + class = "git_time") 436s > stopifnot(identical(when(w1), "2014-03-23 09:45:47 GMT")) 436s > stopifnot(identical(when(w1, usetz = FALSE), "2014-03-23 09:45:47")) 436s > stopifnot(identical(when(w1, tz = "Europe/Stockholm", origin = "1980-02-02"), 436s + "2024-04-23 11:45:47 CEST")) 436s > 436s > s1 <- structure(list(name = "Alice", email = "alice@example.org", when = w1), 436s + class = "git_signature") 436s > stopifnot(identical(when(s1), "2014-03-23 09:45:47 GMT")) 436s > stopifnot(identical(when(s1, usetz = FALSE), "2014-03-23 09:45:47")) 436s > stopifnot(identical(when(s1, tz = "Europe/Stockholm", origin = "1980-02-02"), 436s + "2024-04-23 11:45:47 CEST")) 436s > 436s > w2 <- structure(list(time = 1395567950, offset = 60), 436s + class = "git_time") 436s > s2 <- structure(list(name = "Alice", email = "alice@example.org", when = w2), 436s + class = "git_signature") 436s > c1 <- structure(list(sha = "166f3f779fd7e4165aaa43f2828050ce040052b0", 436s + author = s1, 436s + committer = s2, 436s + summary = "A commit summary", 436s + message = "A commit message"), 436s + class = "git_commit") 436s > stopifnot(identical(when(c1), "2014-03-23 09:45:47 GMT")) 436s > stopifnot(identical(when(c1, usetz = FALSE), "2014-03-23 09:45:47")) 436s > stopifnot(identical(when(c1, tz = "Europe/Stockholm", origin = "1980-02-02"), 436s + "2024-04-23 11:45:47 CEST")) 436s > 436s > t1 <- structure(list(sha = "166f3f779fd7e4165aaa43f2828050ce040052b0", 436s + message = "A tag message", 436s + name = "A tage name", 436s + tagger = s1, 436s + target = "166f3f779fd7e4165aaa43f2828050ce040052b0"), 436s + class = "git_tag") 436s > stopifnot(identical(when(t1), "2014-03-23 09:45:47 GMT")) 436s > stopifnot(identical(when(t1, usetz = FALSE), "2014-03-23 09:45:47")) 436s > stopifnot(identical(when(t1, tz = "Europe/Stockholm", origin = "1980-02-02"), 436s + "2024-04-23 11:45:47 CEST")) 436s > 436s autopkgtest [00:12:24]: test run-unit-test: -----------------------] 437s autopkgtest [00:12:25]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 437s run-unit-test PASS 438s autopkgtest [00:12:26]: test pkg-r-autopkgtest: preparing testbed 441s Reading package lists... 441s Building dependency tree... 441s Reading state information... 441s Starting pkgProblemResolver with broken count: 0 442s Starting 2 pkgProblemResolver with broken count: 0 442s Done 442s The following additional packages will be installed: 442s build-essential cpp cpp-13 cpp-13-s390x-linux-gnu cpp-s390x-linux-gnu 442s dctrl-tools g++ g++-13 g++-13-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-13 442s gcc-13-s390x-linux-gnu gcc-s390x-linux-gnu gfortran gfortran-13 442s gfortran-13-s390x-linux-gnu gfortran-s390x-linux-gnu icu-devtools libasan8 442s libatomic1 libblas-dev libbz2-dev libcc1-0 libgcc-13-dev libgfortran-13-dev 442s libicu-dev libisl23 libitm1 libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev 442s liblapack-dev liblzma-dev libmpc3 libncurses-dev libpcre2-16-0 libpcre2-32-0 442s libpcre2-dev libpcre2-posix3 libpkgconf3 libpng-dev libreadline-dev 442s libstdc++-13-dev libubsan1 pkg-config pkg-r-autopkgtest pkgconf pkgconf-bin 442s r-base-dev zlib1g-dev 442s Suggested packages: 442s cpp-doc gcc-13-locales cpp-13-doc debtags g++-multilib g++-13-multilib 442s gcc-13-doc gcc-multilib autoconf automake libtool flex bison gdb gcc-doc 442s gcc-13-multilib gdb-s390x-linux-gnu gfortran-multilib gfortran-doc 442s gfortran-13-multilib gfortran-13-doc libcoarrays-dev liblapack-doc icu-doc 442s liblzma-doc ncurses-doc readline-doc libstdc++-13-doc texlive-base 442s texlive-latex-base texlive-plain-generic texlive-fonts-recommended 442s texlive-fonts-extra texlive-extra-utils texlive-latex-recommended 442s texlive-latex-extra texinfo 442s Recommended packages: 442s bzip2-doc libpng-tools 442s The following NEW packages will be installed: 442s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-s390x-linux-gnu 442s cpp-s390x-linux-gnu dctrl-tools g++ g++-13 g++-13-s390x-linux-gnu 442s g++-s390x-linux-gnu gcc gcc-13 gcc-13-s390x-linux-gnu gcc-s390x-linux-gnu 442s gfortran gfortran-13 gfortran-13-s390x-linux-gnu gfortran-s390x-linux-gnu 442s icu-devtools libasan8 libatomic1 libblas-dev libbz2-dev libcc1-0 442s libgcc-13-dev libgfortran-13-dev libicu-dev libisl23 libitm1 libjpeg-dev 442s libjpeg-turbo8-dev libjpeg8-dev liblapack-dev liblzma-dev libmpc3 442s libncurses-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 442s libpkgconf3 libpng-dev libreadline-dev libstdc++-13-dev libubsan1 pkg-config 442s pkg-r-autopkgtest pkgconf pkgconf-bin r-base-dev zlib1g-dev 442s 0 upgraded, 52 newly installed, 0 to remove and 1 not upgraded. 442s Need to get 82.5 MB/82.5 MB of archives. 442s After this operation, 282 MB of additional disk space will be used. 442s Get:1 /tmp/autopkgtest.976oLx/2-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [716 B] 442s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x libisl23 s390x 0.26-3 [722 kB] 443s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x libmpc3 s390x 1.3.1-1 [54.9 kB] 443s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x cpp-13-s390x-linux-gnu s390x 13.2.0-21ubuntu1 [9935 kB] 449s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x cpp-13 s390x 13.2.0-21ubuntu1 [1026 B] 449s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x cpp-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [5308 B] 449s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x cpp s390x 4:13.2.0-7ubuntu1 [22.4 kB] 449s Get:8 http://ftpmaster.internal/ubuntu noble/main s390x libcc1-0 s390x 14-20240315-1ubuntu1 [50.0 kB] 449s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x libitm1 s390x 14-20240315-1ubuntu1 [31.1 kB] 449s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x libatomic1 s390x 14-20240315-1ubuntu1 [9396 B] 449s Get:11 http://ftpmaster.internal/ubuntu noble/main s390x libasan8 s390x 14-20240315-1ubuntu1 [2997 kB] 452s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x libubsan1 s390x 14-20240315-1ubuntu1 [1186 kB] 452s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x libgcc-13-dev s390x 13.2.0-21ubuntu1 [1003 kB] 453s Get:14 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13-s390x-linux-gnu s390x 13.2.0-21ubuntu1 [19.1 MB] 460s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x gcc-13 s390x 13.2.0-21ubuntu1 [469 kB] 461s Get:16 http://ftpmaster.internal/ubuntu noble/main s390x gcc-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [1208 B] 461s Get:17 http://ftpmaster.internal/ubuntu noble/main s390x gcc s390x 4:13.2.0-7ubuntu1 [5014 B] 461s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x libstdc++-13-dev s390x 13.2.0-21ubuntu1 [2494 kB] 461s Get:19 http://ftpmaster.internal/ubuntu noble/main s390x g++-13-s390x-linux-gnu s390x 13.2.0-21ubuntu1 [11.3 MB] 464s Get:20 http://ftpmaster.internal/ubuntu noble/main s390x g++-13 s390x 13.2.0-21ubuntu1 [14.4 kB] 464s Get:21 http://ftpmaster.internal/ubuntu noble/main s390x g++-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [956 B] 464s Get:22 http://ftpmaster.internal/ubuntu noble/main s390x g++ s390x 4:13.2.0-7ubuntu1 [1096 B] 464s Get:23 http://ftpmaster.internal/ubuntu noble/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 464s Get:24 http://ftpmaster.internal/ubuntu noble/main s390x dctrl-tools s390x 2.24-3build2 [65.4 kB] 464s Get:25 http://ftpmaster.internal/ubuntu noble/main s390x libgfortran-13-dev s390x 13.2.0-21ubuntu1 [623 kB] 464s Get:26 http://ftpmaster.internal/ubuntu noble/main s390x gfortran-13-s390x-linux-gnu s390x 13.2.0-21ubuntu1 [10.4 MB] 467s Get:27 http://ftpmaster.internal/ubuntu noble/main s390x gfortran-13 s390x 13.2.0-21ubuntu1 [10.9 kB] 467s Get:28 http://ftpmaster.internal/ubuntu noble/main s390x gfortran-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [1016 B] 467s Get:29 http://ftpmaster.internal/ubuntu noble/main s390x gfortran s390x 4:13.2.0-7ubuntu1 [1174 B] 467s Get:30 http://ftpmaster.internal/ubuntu noble/main s390x icu-devtools s390x 74.2-1ubuntu1 [224 kB] 467s Get:31 http://ftpmaster.internal/ubuntu noble/main s390x libblas-dev s390x 3.12.0-3 [239 kB] 467s Get:32 http://ftpmaster.internal/ubuntu noble/main s390x libbz2-dev s390x 1.0.8-5ubuntu1 [39.4 kB] 467s Get:33 http://ftpmaster.internal/ubuntu noble/main s390x libicu-dev s390x 74.2-1ubuntu1 [11.9 MB] 470s Get:34 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg-turbo8-dev s390x 2.1.5-2ubuntu1 [264 kB] 470s Get:35 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg8-dev s390x 8c-2ubuntu11 [1484 B] 470s Get:36 http://ftpmaster.internal/ubuntu noble/main s390x libjpeg-dev s390x 8c-2ubuntu11 [1484 B] 470s Get:37 http://ftpmaster.internal/ubuntu noble/main s390x liblapack-dev s390x 3.12.0-3 [5983 kB] 471s Get:38 http://ftpmaster.internal/ubuntu noble/main s390x libncurses-dev s390x 6.4+20240113-1ubuntu1 [412 kB] 471s Get:39 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-16-0 s390x 10.42-4ubuntu1 [229 kB] 471s Get:40 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-32-0 s390x 10.42-4ubuntu1 [217 kB] 471s Get:41 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-posix3 s390x 10.42-4ubuntu1 [6704 B] 471s Get:42 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-dev s390x 10.42-4ubuntu1 [805 kB] 471s Get:43 http://ftpmaster.internal/ubuntu noble/main s390x libpkgconf3 s390x 1.8.1-2 [30.4 kB] 471s Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main s390x zlib1g-dev s390x 1:1.3.dfsg-3.1ubuntu1 [904 kB] 472s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpng-dev s390x 1.6.43-3 [277 kB] 472s Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libreadline-dev s390x 8.2-4 [189 kB] 472s Get:47 http://ftpmaster.internal/ubuntu noble/main s390x pkgconf-bin s390x 1.8.1-2 [20.8 kB] 472s Get:48 http://ftpmaster.internal/ubuntu noble/main s390x pkgconf s390x 1.8.1-2 [16.7 kB] 472s Get:49 http://ftpmaster.internal/ubuntu noble/main s390x pkg-config s390x 1.8.1-2 [7170 B] 472s Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main s390x liblzma-dev s390x 5.6.0-0.2 [185 kB] 472s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x r-base-dev all 4.3.3-2build1 [4334 B] 472s Get:52 http://ftpmaster.internal/ubuntu noble/universe s390x pkg-r-autopkgtest all 20231212ubuntu1 [6448 B] 472s Fetched 82.5 MB in 30s (2764 kB/s) 472s Selecting previously unselected package libisl23:s390x. 472s (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 ... 83485 files and directories currently installed.) 472s Preparing to unpack .../00-libisl23_0.26-3_s390x.deb ... 472s Unpacking libisl23:s390x (0.26-3) ... 472s Selecting previously unselected package libmpc3:s390x. 472s Preparing to unpack .../01-libmpc3_1.3.1-1_s390x.deb ... 472s Unpacking libmpc3:s390x (1.3.1-1) ... 472s Selecting previously unselected package cpp-13-s390x-linux-gnu. 472s Preparing to unpack .../02-cpp-13-s390x-linux-gnu_13.2.0-21ubuntu1_s390x.deb ... 472s Unpacking cpp-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 472s Selecting previously unselected package cpp-13. 472s Preparing to unpack .../03-cpp-13_13.2.0-21ubuntu1_s390x.deb ... 472s Unpacking cpp-13 (13.2.0-21ubuntu1) ... 472s Selecting previously unselected package cpp-s390x-linux-gnu. 472s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 472s Unpacking cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 472s Selecting previously unselected package cpp. 472s Preparing to unpack .../05-cpp_4%3a13.2.0-7ubuntu1_s390x.deb ... 472s Unpacking cpp (4:13.2.0-7ubuntu1) ... 472s Selecting previously unselected package libcc1-0:s390x. 472s Preparing to unpack .../06-libcc1-0_14-20240315-1ubuntu1_s390x.deb ... 472s Unpacking libcc1-0:s390x (14-20240315-1ubuntu1) ... 472s Selecting previously unselected package libitm1:s390x. 472s Preparing to unpack .../07-libitm1_14-20240315-1ubuntu1_s390x.deb ... 472s Unpacking libitm1:s390x (14-20240315-1ubuntu1) ... 472s Selecting previously unselected package libatomic1:s390x. 472s Preparing to unpack .../08-libatomic1_14-20240315-1ubuntu1_s390x.deb ... 472s Unpacking libatomic1:s390x (14-20240315-1ubuntu1) ... 472s Selecting previously unselected package libasan8:s390x. 472s Preparing to unpack .../09-libasan8_14-20240315-1ubuntu1_s390x.deb ... 472s Unpacking libasan8:s390x (14-20240315-1ubuntu1) ... 473s Selecting previously unselected package libubsan1:s390x. 473s Preparing to unpack .../10-libubsan1_14-20240315-1ubuntu1_s390x.deb ... 473s Unpacking libubsan1:s390x (14-20240315-1ubuntu1) ... 473s Selecting previously unselected package libgcc-13-dev:s390x. 473s Preparing to unpack .../11-libgcc-13-dev_13.2.0-21ubuntu1_s390x.deb ... 473s Unpacking libgcc-13-dev:s390x (13.2.0-21ubuntu1) ... 473s Selecting previously unselected package gcc-13-s390x-linux-gnu. 473s Preparing to unpack .../12-gcc-13-s390x-linux-gnu_13.2.0-21ubuntu1_s390x.deb ... 473s Unpacking gcc-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 473s Selecting previously unselected package gcc-13. 473s Preparing to unpack .../13-gcc-13_13.2.0-21ubuntu1_s390x.deb ... 473s Unpacking gcc-13 (13.2.0-21ubuntu1) ... 473s Selecting previously unselected package gcc-s390x-linux-gnu. 473s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 473s Unpacking gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 473s Selecting previously unselected package gcc. 473s Preparing to unpack .../15-gcc_4%3a13.2.0-7ubuntu1_s390x.deb ... 473s Unpacking gcc (4:13.2.0-7ubuntu1) ... 473s Selecting previously unselected package libstdc++-13-dev:s390x. 473s Preparing to unpack .../16-libstdc++-13-dev_13.2.0-21ubuntu1_s390x.deb ... 473s Unpacking libstdc++-13-dev:s390x (13.2.0-21ubuntu1) ... 473s Selecting previously unselected package g++-13-s390x-linux-gnu. 473s Preparing to unpack .../17-g++-13-s390x-linux-gnu_13.2.0-21ubuntu1_s390x.deb ... 473s Unpacking g++-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 474s Selecting previously unselected package g++-13. 474s Preparing to unpack .../18-g++-13_13.2.0-21ubuntu1_s390x.deb ... 474s Unpacking g++-13 (13.2.0-21ubuntu1) ... 474s Selecting previously unselected package g++-s390x-linux-gnu. 474s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 474s Unpacking g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 474s Selecting previously unselected package g++. 474s Preparing to unpack .../20-g++_4%3a13.2.0-7ubuntu1_s390x.deb ... 474s Unpacking g++ (4:13.2.0-7ubuntu1) ... 474s Selecting previously unselected package build-essential. 474s Preparing to unpack .../21-build-essential_12.10ubuntu1_s390x.deb ... 474s Unpacking build-essential (12.10ubuntu1) ... 474s Selecting previously unselected package dctrl-tools. 474s Preparing to unpack .../22-dctrl-tools_2.24-3build2_s390x.deb ... 474s Unpacking dctrl-tools (2.24-3build2) ... 474s Selecting previously unselected package libgfortran-13-dev:s390x. 474s Preparing to unpack .../23-libgfortran-13-dev_13.2.0-21ubuntu1_s390x.deb ... 474s Unpacking libgfortran-13-dev:s390x (13.2.0-21ubuntu1) ... 474s Selecting previously unselected package gfortran-13-s390x-linux-gnu. 474s Preparing to unpack .../24-gfortran-13-s390x-linux-gnu_13.2.0-21ubuntu1_s390x.deb ... 474s Unpacking gfortran-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 474s Selecting previously unselected package gfortran-13. 474s Preparing to unpack .../25-gfortran-13_13.2.0-21ubuntu1_s390x.deb ... 474s Unpacking gfortran-13 (13.2.0-21ubuntu1) ... 474s Selecting previously unselected package gfortran-s390x-linux-gnu. 474s Preparing to unpack .../26-gfortran-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 474s Unpacking gfortran-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 474s Selecting previously unselected package gfortran. 474s Preparing to unpack .../27-gfortran_4%3a13.2.0-7ubuntu1_s390x.deb ... 474s Unpacking gfortran (4:13.2.0-7ubuntu1) ... 474s Selecting previously unselected package icu-devtools. 474s Preparing to unpack .../28-icu-devtools_74.2-1ubuntu1_s390x.deb ... 474s Unpacking icu-devtools (74.2-1ubuntu1) ... 474s Selecting previously unselected package libblas-dev:s390x. 474s Preparing to unpack .../29-libblas-dev_3.12.0-3_s390x.deb ... 474s Unpacking libblas-dev:s390x (3.12.0-3) ... 474s Selecting previously unselected package libbz2-dev:s390x. 474s Preparing to unpack .../30-libbz2-dev_1.0.8-5ubuntu1_s390x.deb ... 474s Unpacking libbz2-dev:s390x (1.0.8-5ubuntu1) ... 474s Selecting previously unselected package libicu-dev:s390x. 474s Preparing to unpack .../31-libicu-dev_74.2-1ubuntu1_s390x.deb ... 474s Unpacking libicu-dev:s390x (74.2-1ubuntu1) ... 474s Selecting previously unselected package libjpeg-turbo8-dev:s390x. 474s Preparing to unpack .../32-libjpeg-turbo8-dev_2.1.5-2ubuntu1_s390x.deb ... 474s Unpacking libjpeg-turbo8-dev:s390x (2.1.5-2ubuntu1) ... 474s Selecting previously unselected package libjpeg8-dev:s390x. 474s Preparing to unpack .../33-libjpeg8-dev_8c-2ubuntu11_s390x.deb ... 474s Unpacking libjpeg8-dev:s390x (8c-2ubuntu11) ... 474s Selecting previously unselected package libjpeg-dev:s390x. 474s Preparing to unpack .../34-libjpeg-dev_8c-2ubuntu11_s390x.deb ... 474s Unpacking libjpeg-dev:s390x (8c-2ubuntu11) ... 474s Selecting previously unselected package liblapack-dev:s390x. 474s Preparing to unpack .../35-liblapack-dev_3.12.0-3_s390x.deb ... 474s Unpacking liblapack-dev:s390x (3.12.0-3) ... 475s Selecting previously unselected package libncurses-dev:s390x. 475s Preparing to unpack .../36-libncurses-dev_6.4+20240113-1ubuntu1_s390x.deb ... 475s Unpacking libncurses-dev:s390x (6.4+20240113-1ubuntu1) ... 475s Selecting previously unselected package libpcre2-16-0:s390x. 475s Preparing to unpack .../37-libpcre2-16-0_10.42-4ubuntu1_s390x.deb ... 475s Unpacking libpcre2-16-0:s390x (10.42-4ubuntu1) ... 475s Selecting previously unselected package libpcre2-32-0:s390x. 475s Preparing to unpack .../38-libpcre2-32-0_10.42-4ubuntu1_s390x.deb ... 475s Unpacking libpcre2-32-0:s390x (10.42-4ubuntu1) ... 475s Selecting previously unselected package libpcre2-posix3:s390x. 475s Preparing to unpack .../39-libpcre2-posix3_10.42-4ubuntu1_s390x.deb ... 475s Unpacking libpcre2-posix3:s390x (10.42-4ubuntu1) ... 475s Selecting previously unselected package libpcre2-dev:s390x. 475s Preparing to unpack .../40-libpcre2-dev_10.42-4ubuntu1_s390x.deb ... 475s Unpacking libpcre2-dev:s390x (10.42-4ubuntu1) ... 475s Selecting previously unselected package libpkgconf3:s390x. 475s Preparing to unpack .../41-libpkgconf3_1.8.1-2_s390x.deb ... 475s Unpacking libpkgconf3:s390x (1.8.1-2) ... 475s Selecting previously unselected package zlib1g-dev:s390x. 475s Preparing to unpack .../42-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu1_s390x.deb ... 475s Unpacking zlib1g-dev:s390x (1:1.3.dfsg-3.1ubuntu1) ... 475s Selecting previously unselected package libpng-dev:s390x. 475s Preparing to unpack .../43-libpng-dev_1.6.43-3_s390x.deb ... 475s Unpacking libpng-dev:s390x (1.6.43-3) ... 475s Selecting previously unselected package libreadline-dev:s390x. 475s Preparing to unpack .../44-libreadline-dev_8.2-4_s390x.deb ... 475s Unpacking libreadline-dev:s390x (8.2-4) ... 475s Selecting previously unselected package pkgconf-bin. 475s Preparing to unpack .../45-pkgconf-bin_1.8.1-2_s390x.deb ... 475s Unpacking pkgconf-bin (1.8.1-2) ... 475s Selecting previously unselected package pkgconf:s390x. 475s Preparing to unpack .../46-pkgconf_1.8.1-2_s390x.deb ... 475s Unpacking pkgconf:s390x (1.8.1-2) ... 475s Selecting previously unselected package pkg-config:s390x. 475s Preparing to unpack .../47-pkg-config_1.8.1-2_s390x.deb ... 475s Unpacking pkg-config:s390x (1.8.1-2) ... 475s Selecting previously unselected package liblzma-dev:s390x. 475s Preparing to unpack .../48-liblzma-dev_5.6.0-0.2_s390x.deb ... 475s Unpacking liblzma-dev:s390x (5.6.0-0.2) ... 475s Selecting previously unselected package r-base-dev. 475s Preparing to unpack .../49-r-base-dev_4.3.3-2build1_all.deb ... 475s Unpacking r-base-dev (4.3.3-2build1) ... 475s Selecting previously unselected package pkg-r-autopkgtest. 475s Preparing to unpack .../50-pkg-r-autopkgtest_20231212ubuntu1_all.deb ... 475s Unpacking pkg-r-autopkgtest (20231212ubuntu1) ... 475s Selecting previously unselected package autopkgtest-satdep. 475s Preparing to unpack .../51-2-autopkgtest-satdep.deb ... 475s Unpacking autopkgtest-satdep (0) ... 475s Setting up libjpeg-turbo8-dev:s390x (2.1.5-2ubuntu1) ... 475s Setting up libncurses-dev:s390x (6.4+20240113-1ubuntu1) ... 475s Setting up libreadline-dev:s390x (8.2-4) ... 475s Setting up libpcre2-16-0:s390x (10.42-4ubuntu1) ... 475s Setting up libpcre2-32-0:s390x (10.42-4ubuntu1) ... 475s Setting up libpkgconf3:s390x (1.8.1-2) ... 475s Setting up libmpc3:s390x (1.3.1-1) ... 475s Setting up libatomic1:s390x (14-20240315-1ubuntu1) ... 475s Setting up icu-devtools (74.2-1ubuntu1) ... 475s Setting up pkgconf-bin (1.8.1-2) ... 475s Setting up liblzma-dev:s390x (5.6.0-0.2) ... 475s Setting up libubsan1:s390x (14-20240315-1ubuntu1) ... 475s Setting up zlib1g-dev:s390x (1:1.3.dfsg-3.1ubuntu1) ... 475s Setting up libpcre2-posix3:s390x (10.42-4ubuntu1) ... 475s Setting up libasan8:s390x (14-20240315-1ubuntu1) ... 475s Setting up libjpeg8-dev:s390x (8c-2ubuntu11) ... 475s Setting up libisl23:s390x (0.26-3) ... 475s Setting up libicu-dev:s390x (74.2-1ubuntu1) ... 475s Setting up libcc1-0:s390x (14-20240315-1ubuntu1) ... 475s Setting up libblas-dev:s390x (3.12.0-3) ... 475s 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 475s Setting up dctrl-tools (2.24-3build2) ... 475s Setting up libitm1:s390x (14-20240315-1ubuntu1) ... 475s Setting up libbz2-dev:s390x (1.0.8-5ubuntu1) ... 475s Setting up libpcre2-dev:s390x (10.42-4ubuntu1) ... 475s Setting up libpng-dev:s390x (1.6.43-3) ... 475s Setting up libjpeg-dev:s390x (8c-2ubuntu11) ... 475s Setting up pkgconf:s390x (1.8.1-2) ... 475s Setting up cpp-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 475s Setting up liblapack-dev:s390x (3.12.0-3) ... 475s 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 475s Setting up pkg-config:s390x (1.8.1-2) ... 475s Setting up libgcc-13-dev:s390x (13.2.0-21ubuntu1) ... 475s Setting up libgfortran-13-dev:s390x (13.2.0-21ubuntu1) ... 475s Setting up libstdc++-13-dev:s390x (13.2.0-21ubuntu1) ... 475s Setting up cpp-13 (13.2.0-21ubuntu1) ... 475s Setting up cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 475s Setting up gcc-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 475s Setting up gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 475s Setting up g++-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 475s Setting up gcc-13 (13.2.0-21ubuntu1) ... 475s Setting up cpp (4:13.2.0-7ubuntu1) ... 475s Setting up gfortran-13-s390x-linux-gnu (13.2.0-21ubuntu1) ... 475s Setting up g++-13 (13.2.0-21ubuntu1) ... 475s Setting up gfortran-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 475s Setting up g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 475s Setting up gcc (4:13.2.0-7ubuntu1) ... 475s Setting up gfortran-13 (13.2.0-21ubuntu1) ... 475s Setting up g++ (4:13.2.0-7ubuntu1) ... 475s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 475s Setting up build-essential (12.10ubuntu1) ... 475s Setting up gfortran (4:13.2.0-7ubuntu1) ... 475s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 475s 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 475s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 475s 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 475s Setting up r-base-dev (4.3.3-2build1) ... 475s Setting up pkg-r-autopkgtest (20231212ubuntu1) ... 475s Setting up autopkgtest-satdep (0) ... 475s Processing triggers for man-db (2.12.0-3build4) ... 476s Processing triggers for install-info (7.1-3build1) ... 476s Processing triggers for libc-bin (2.39-0ubuntu6) ... 480s (Reading database ... 85315 files and directories currently installed.) 480s Removing autopkgtest-satdep (0) ... 481s autopkgtest [00:13:09]: test pkg-r-autopkgtest: /usr/share/dh-r/pkg-r-autopkgtest 481s autopkgtest [00:13:09]: test pkg-r-autopkgtest: [----------------------- 481s Test: Try to load the R library git2r 481s 481s R version 4.3.3 (2024-02-29) -- "Angel Food Cake" 481s Copyright (C) 2024 The R Foundation for Statistical Computing 481s Platform: s390x-ibm-linux-gnu (64-bit) 481s 481s R is free software and comes with ABSOLUTELY NO WARRANTY. 481s You are welcome to redistribute it under certain conditions. 481s Type 'license()' or 'licence()' for distribution details. 481s 481s R is a collaborative project with many contributors. 481s Type 'contributors()' for more information and 481s 'citation()' on how to cite R or R packages in publications. 481s 481s Type 'demo()' for some demos, 'help()' for on-line help, or 481s 'help.start()' for an HTML browser interface to help. 481s Type 'q()' to quit R. 481s 481s > library('git2r') 481s > 481s > 481s Other tests are currently unsupported! 481s They will be progressively added. 482s autopkgtest [00:13:10]: test pkg-r-autopkgtest: -----------------------] 482s pkg-r-autopkgtest PASS 482s autopkgtest [00:13:10]: test pkg-r-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 483s autopkgtest [00:13:11]: @@@@@@@@@@@@@@@@@@@@ summary 483s run-unit-test PASS 483s pkg-r-autopkgtest PASS 496s Creating nova instance adt-noble-s390x-r-cran-git2r-20240328-000508-juju-7f2275-prod-proposed-migration-environment-2-c2f0df02-a7ae-494a-857f-3614923c0e76 from image adt/ubuntu-noble-s390x-server-20240327.img (UUID 4dc0c4c2-a3ae-40cd-8411-e7fc228c10ae)...