OK so the GW did indeed build after I bumped up hardware resources. Now WS stalls though at a different stage despite many attempts including restarting the VM before trying to clear memory incase there are leaks.
Here’s the log:
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage remove_apt_cache
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/remove_apt_cache
+ echo ' Executing stage remove_apt_cache'
Executing stage remove_apt_cache
+ return 0
+ remove_apt_cache
+ '[' no = yes ']'
+ echo 'Not cleaning apt cache as $RM_APTCACHE is unset.'
Not cleaning apt cache as $RM_APTCACHE is unset.
+ stage remove_apt_cache done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage services
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/services
+ echo ' Executing stage services'
Executing stage services
+ return 0
+ services
+ for service in ssh mdadm mdadm-raid
+ '[' -x /etc/init.d/ssh ']'
+ for service in ssh mdadm mdadm-raid
+ '[' -x /etc/init.d/mdadm ']'
+ for service in ssh mdadm mdadm-raid
+ '[' -x /etc/init.d/mdadm-raid ']'
+ stage services done
+ '[' -n done ']'
+ echo done
+ return 0
+ for i in chrootmirror grmlrepos backportrepos kernelimg_conf kernel packages extrapackages reconfigure hosts default_locales timezone fstab hostname initrd grub_install passwords custom_scripts upgrade_system remove_apt_cache services remove_chrootmirror
+ stage remove_chrootmirror
+ '[' -n '' ']'
+ grep -q done /etc/debootstrap/stages/remove_chrootmirror
+ echo ' Executing stage remove_chrootmirror'
Executing stage remove_chrootmirror
+ return 0
+ remove_chrootmirror
+ '[' -n yes ']'
+ echo 'KEEP_SRC_LIST has been set, skipping remove_chrootmirror stage.'
KEEP_SRC_LIST has been set, skipping remove_chrootmirror stage.
+ return
+ stage remove_chrootmirror done
+ '[' -n done ']'
+ echo done
+ return 0
+ finalize
+ rm -f /etc/debootstrap/variables
+ '[' -n 1 ']'
+ rm -f /usr/sbin/policy-rc.d
+ umount /sys
+ umount /proc
+ echo 'Finished chroot installation, exiting.'
Finished chroot installation, exiting.
+ exit 0
+ RC=0
+ try_umount 3 /mnt/debootstrap.3140/dev/pts
+ local tries=3
+ local mountpoint=/mnt/debootstrap.3140/dev/pts
+ (( try=1 ))
+ (( try<=tries ))
+ [[ 1 -eq 3 ]]
+ umount /mnt/debootstrap.3140/dev/pts
+ return 0
+ try_umount 3 /mnt/debootstrap.3140/dev
+ local tries=3
+ local mountpoint=/mnt/debootstrap.3140/dev
+ (( try=1 ))
+ (( try<=tries ))
+ [[ 1 -eq 3 ]]
+ umount /mnt/debootstrap.3140/dev
+ return 0
+ eend 0
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ grep -q GRML_CHROOT_SCRIPT_MARKER /mnt/debootstrap.3140/bin/chroot-script
+ einfo 'Removing chroot-script again'
+ einfon 'Removing chroot-script again\n'
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' %s*%s Removing chroot-script again\n' '' ''
* Removing chroot-script again
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ rm -f /mnt/debootstrap.3140/bin/chroot-script
+ eend 0
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ stage chrootscript done
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw/chrootscript
+ for i in format_efi_partition prepare_vm mkfs tunefs mount_target mountpoint_to_blockdevice debootstrap_system preparechroot execute_pre_scripts chrootscript execute_post_scripts remove_configs umount_chroot grub_install umount_target fscktool
+ stage execute_post_scripts
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw/execute_post_scripts
+ execute_post_scripts
+ export MNTPOINT
+ export TARGET_HOSTNAME=host
+ TARGET_HOSTNAME=host
+ '[' -d '' ']'
+ '[' no = yes ']'
+ '[' -d '' ']'
+ '[' yes = yes ']'
+ '[' -d '' ']'
+ post_scripts=/etc/debootstrap/post-scripts/
+ '[' -n /etc/debootstrap/post-scripts/ ']'
+ for script in "${post_scripts}"/*
+ '[' -x '/etc/debootstrap/post-scripts//*' ']'
+ stage execute_post_scripts done
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw/execute_post_scripts
+ for i in format_efi_partition prepare_vm mkfs tunefs mount_target mountpoint_to_blockdevice debootstrap_system preparechroot execute_pre_scripts chrootscript execute_post_scripts remove_configs umount_chroot grub_install umount_target fscktool
+ stage remove_configs
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw/remove_configs
+ remove_configs
+ '[' '' '!=' yes ']'
+ return 0
+ stage remove_configs done
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw/remove_configs
+ for i in format_efi_partition prepare_vm mkfs tunefs mount_target mountpoint_to_blockdevice debootstrap_system preparechroot execute_pre_scripts chrootscript execute_post_scripts remove_configs umount_chroot grub_install umount_target fscktool
+ stage umount_chroot
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw/umount_chroot
+ umount_chroot
+ '[' -n /etc/debootstrap/install_notes ']'
+ '[' -r /mnt/debootstrap.3140//etc/debootstrap/install_notes ']'
+ '[' -n '' ']'
+ grep -q /mnt/debootstrap.3140 /proc/mounts
+ mountpoint /mnt/debootstrap.3140/run/udev
+ einfo 'Unmounting bind-mount /run/udev'
+ einfon 'Unmounting bind-mount /run/udev\n'
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' %s*%s Unmounting bind-mount /run/udev\n' '' ''
* Unmounting bind-mount /run/udev
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ umount /mnt/debootstrap.3140/run/udev
+ eend 0
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ '[' -n 1 ']'
+ einfo 'Unmount /mnt/debootstrap.3140'
+ einfon 'Unmount /mnt/debootstrap.3140\n'
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' %s*%s Unmount /mnt/debootstrap.3140\n' '' ''
* Unmount /mnt/debootstrap.3140
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ umount /mnt/debootstrap.3140
+ eend 0
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ stage umount_chroot done
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw/umount_chroot
+ for i in format_efi_partition prepare_vm mkfs tunefs mount_target mountpoint_to_blockdevice debootstrap_system preparechroot execute_pre_scripts chrootscript execute_post_scripts remove_configs umount_chroot grub_install umount_target fscktool
+ stage grub_install
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw/grub_install
+ grub_install
+ '[' -z 1 ']'
+ '[' yes '!=' yes ']'
+ mount /dev/mapper/loop0p1 /mnt/debootstrap.3140
+ mount -t proc none /mnt/debootstrap.3140/proc
+ mount -t sysfs none /mnt/debootstrap.3140/sys
+ mount -t devtmpfs udev /mnt/debootstrap.3140/dev
+ mount -t devpts devpts /mnt/debootstrap.3140/dev/pts
+ [[ -z '' ]]
+ einfo 'Installing Grub as bootloader.'
+ einfon 'Installing Grub as bootloader.\n'
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' %s*%s Installing Grub as bootloader.\n' '' ''
* Installing Grub as bootloader.
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ grep -q '^ii'
+ chroot /mnt/debootstrap.3140 dpkg --list grub-pc
+ echo 'Notice: grub-pc package not present yet, installing it therefore.'
Notice: grub-pc package not present yet, installing it therefore.
+ DEBIAN_FRONTEND=noninteractive
+ chroot /mnt/debootstrap.3140 apt-get -y install -o Dpkg::Options::=--force-unsafe-io -o Acquire::http::Proxy=http://127.0.0.1:3142 -o Acquire::https::Proxy=http://127.0.0.1:3142 -o Acquire::tor::Proxy=http://127.0.0.1:3142 -o Acquire::Languages=none -o Acquire::IndexTargets::deb::Contents-deb::DefaultEnabled=false -o Acquire::Retries=3 -o Dpkg::Options::=--force-confnew grub-pc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
gettext-base grub-common grub-pc-bin grub2-common libefiboot1 libefivar1
libfreetype6 libfuse2 libpng16-16 os-prober ucf
Suggested packages:
multiboot-doc grub-emu xorriso desktop-base console-setup fuse
The following NEW packages will be installed:
gettext-base grub-common grub-pc grub-pc-bin grub2-common libefiboot1
libefivar1 libfreetype6 libfuse2 libpng16-16 os-prober ucf
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 5155 kB of archives.
After this operation, 24.3 MB of additional disk space will be used.
Get:1 http://HTTPS///deb.debian.org/debian buster/main amd64 gettext-base amd64 0.19.8.1-9 [123 kB]
Get:2 http://HTTPS///deb.debian.org/debian buster/main amd64 ucf all 3.0038+nmu1 [69.0 kB]
Get:3 http://HTTPS///deb.debian.org/debian buster/main amd64 libefivar1 amd64 37-2 [46.3 kB]
Get:4 http://HTTPS///deb.debian.org/debian buster/main amd64 libefiboot1 amd64 37-2 [41.9 kB]
Get:5 http://HTTPS///deb.debian.org/debian buster/main amd64 libpng16-16 amd64 1.6.36-6 [292 kB]
Get:6 http://HTTPS///deb.debian.org/debian buster/main amd64 libfreetype6 amd64 2.9.1-3 [379 kB]
Get:7 http://HTTPS///deb.debian.org/debian buster/main amd64 libfuse2 amd64 2.9.9-1 [128 kB]
Get:8 http://HTTPS///deb.debian.org/debian buster/main amd64 grub-common amd64 2.02+dfsg1-20 [2476 kB]
Get:9 http://HTTPS///deb.debian.org/debian buster/main amd64 grub2-common amd64 2.02+dfsg1-20 [538 kB]
Get:10 http://HTTPS///deb.debian.org/debian buster/main amd64 grub-pc-bin amd64 2.02+dfsg1-20 [901 kB]
Get:11 http://HTTPS///deb.debian.org/debian buster/main amd64 grub-pc amd64 2.02+dfsg1-20 [131 kB]
Get:12 http://HTTPS///deb.debian.org/debian buster/main amd64 os-prober amd64 1.77 [30.2 kB]
Fetched 5155 kB in 0s (19.5 MB/s)
Preconfiguring packages ...
Selecting previously unselected package gettext-base.
(Reading database ... 10910 files and directories currently installed.)
Preparing to unpack .../00-gettext-base_0.19.8.1-9_amd64.deb ...
Unpacking gettext-base (0.19.8.1-9) ...
Selecting previously unselected package ucf.
Preparing to unpack .../01-ucf_3.0038+nmu1_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0038+nmu1) ...
Selecting previously unselected package libefivar1:amd64.
Preparing to unpack .../02-libefivar1_37-2_amd64.deb ...
Unpacking libefivar1:amd64 (37-2) ...
Selecting previously unselected package libefiboot1:amd64.
Preparing to unpack .../03-libefiboot1_37-2_amd64.deb ...
Unpacking libefiboot1:amd64 (37-2) ...
Selecting previously unselected package libpng16-16:amd64.
Preparing to unpack .../04-libpng16-16_1.6.36-6_amd64.deb ...
Unpacking libpng16-16:amd64 (1.6.36-6) ...
Selecting previously unselected package libfreetype6:amd64.
Preparing to unpack .../05-libfreetype6_2.9.1-3_amd64.deb ...
Unpacking libfreetype6:amd64 (2.9.1-3) ...
Selecting previously unselected package libfuse2:amd64.
Preparing to unpack .../06-libfuse2_2.9.9-1_amd64.deb ...
Unpacking libfuse2:amd64 (2.9.9-1) ...
Selecting previously unselected package grub-common.
Preparing to unpack .../07-grub-common_2.02+dfsg1-20_amd64.deb ...
Unpacking grub-common (2.02+dfsg1-20) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../08-grub2-common_2.02+dfsg1-20_amd64.deb ...
Unpacking grub2-common (2.02+dfsg1-20) ...
Selecting previously unselected package grub-pc-bin.
Preparing to unpack .../09-grub-pc-bin_2.02+dfsg1-20_amd64.deb ...
Unpacking grub-pc-bin (2.02+dfsg1-20) ...
Selecting previously unselected package grub-pc.
Preparing to unpack .../10-grub-pc_2.02+dfsg1-20_amd64.deb ...
Unpacking grub-pc (2.02+dfsg1-20) ...
Selecting previously unselected package os-prober.
Preparing to unpack .../11-os-prober_1.77_amd64.deb ...
Unpacking os-prober (1.77) ...
Setting up gettext-base (0.19.8.1-9) ...
Setting up libfuse2:amd64 (2.9.9-1) ...
Setting up libpng16-16:amd64 (1.6.36-6) ...
Setting up ucf (3.0038+nmu1) ...
Setting up libefivar1:amd64 (37-2) ...
Setting up libefiboot1:amd64 (37-2) ...
Setting up libfreetype6:amd64 (2.9.1-3) ...
Setting up grub-common (2.02+dfsg1-20) ...
Setting up os-prober (1.77) ...
Setting up grub2-common (2.02+dfsg1-20) ...
Setting up grub-pc-bin (2.02+dfsg1-20) ...
Setting up grub-pc (2.02+dfsg1-20) ...
Creating config file /etc/default/grub with new version
Processing triggers for libc-bin (2.28-10) ...
+ mkdir -p /mnt/debootstrap.3140/boot/grub
+ '[' -d /mnt/debootstrap.3140/usr/lib/grub/i386-pc/ ']'
+ case "$RELEASE" in
+ cp -a /mnt/debootstrap.3140/usr/lib/grub/i386-pc /mnt/debootstrap.3140/boot/grub/
+ dd if=/mnt/debootstrap.3140/usr/lib/grub/i386-pc/boot.img of=/home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw conv=notrunc bs=440 count=1
1+0 records in
1+0 records out
440 bytes copied, 0.000138845 s, 3.2 MB/s
+ chroot /mnt/debootstrap.3140 grub-mkimage -O i386-pc -p '(hd0,msdos1)/boot/grub' -o /tmp/core.img biosdisk part_msdos ext2
+ dd if=/mnt/debootstrap.3140/tmp/core.img of=/home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw conv=notrunc seek=1
50+1 records in
50+1 records out
26032 bytes (26 kB, 25 KiB) copied, 0.000323505 s, 80.5 MB/s
+ rm -f /mnt/debootstrap.3140/tmp/core.img
+ einfo 'Updating grub configuration file.'
+ einfon 'Updating grub configuration file.\n'
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' %s*%s Updating grub configuration file.\n' '' ''
* Updating grub configuration file.
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ '[' -n '' ']'
+ chroot /mnt/debootstrap.3140 update-grub
Generating grub configuration file ...
Found Debian GNU/Linux buster/sid on /dev/vda1
done
+ case "$RELEASE" in
+ grep -q '^GRUB_DISABLE_LINUX_UUID=.*true' /mnt/debootstrap.3140/etc/default/grub
+ einfo 'Adjusting grub.cfg for successful boot sequence.'
+ einfon 'Adjusting grub.cfg for successful boot sequence.\n'
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' %s*%s Adjusting grub.cfg for successful boot sequence.\n' '' ''
* Adjusting grub.cfg for successful boot sequence.
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ sed -i 's;root=[^ ]\+;root=UUID=26ada0c0-1165-4098-884d-aafd2220c2c6;' /mnt/debootstrap.3140/boot/grub/grub.cfg
+ umount /mnt/debootstrap.3140/proc
+ umount /mnt/debootstrap.3140/sys
+ umount /mnt/debootstrap.3140/dev/pts
+ try_umount 3 /mnt/debootstrap.3140/dev
+ local tries=3
+ local mountpoint=/mnt/debootstrap.3140/dev
+ (( try=1 ))
+ (( try<=tries ))
+ [[ 1 -eq 3 ]]
+ umount /mnt/debootstrap.3140/dev
+ return 0
+ stage grub_install done
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw/grub_install
+ for i in format_efi_partition prepare_vm mkfs tunefs mount_target mountpoint_to_blockdevice debootstrap_system preparechroot execute_pre_scripts chrootscript execute_post_scripts remove_configs umount_chroot grub_install umount_target fscktool
+ stage umount_target
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw/umount_target
+ umount_target
+ '[' -z 1 ']'
+ umount /mnt/debootstrap.3140
+ kpartx -d /home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw
loop deleted : /dev/loop0
+ dmsetup ls
+ grep -q '^loop0p1 '
+ stage umount_target done
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw/umount_target
+ for i in format_efi_partition prepare_vm mkfs tunefs mount_target mountpoint_to_blockdevice debootstrap_system preparechroot execute_pre_scripts chrootscript execute_post_scripts remove_configs umount_chroot grub_install umount_target fscktool
+ stage fscktool
+ '[' -n '' ']'
+ grep -q done /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw/fscktool
+ fscktool
+ '[' -n 1 ']'
+ einfo 'Skipping filesystem check because we deploy a virtual machine.'
+ einfon 'Skipping filesystem check because we deploy a virtual machine.\n'
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' %s*%s Skipping filesystem check because we deploy a virtual machine.\n' '' ''
* Skipping filesystem check because we deploy a virtual machine.
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ return 0
+ stage fscktool done
+ '[' -n done ']'
+ echo done
+ return 0
+ rm -f /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw/fscktool
+ cleanup
+ '[' -n /var/cache/grml-debootstrap/variables_Whonix-Workstation-XFCE-15.0.0.4.9.raw ']'
+ einfo 'Removing /var/cache/grml-debootstrap/variables_Whonix-Workstation-XFCE-15.0.0.4.9.raw'
+ einfon 'Removing /var/cache/grml-debootstrap/variables_Whonix-Workstation-XFCE-15.0.0.4.9.raw\n'
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' %s*%s Removing /var/cache/grml-debootstrap/variables_Whonix-Workstation-XFCE-15.0.0.4.9.raw\n' '' ''
* Removing /var/cache/grml-debootstrap/variables_Whonix-Workstation-XFCE-15.0.0.4.9.raw
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ rm /var/cache/grml-debootstrap/variables_Whonix-Workstation-XFCE-15.0.0.4.9.raw
+ eend 0
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ '[' -n /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw ']'
+ einfo 'Removing /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw'
+ einfon 'Removing /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw\n'
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' %s*%s Removing /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw\n' '' ''
* Removing /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ rmdir /var/cache/grml-debootstrap/stages_Whonix-Workstation-XFCE-15.0.0.4.9.raw
+ eend 0
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ echo /mnt/debootstrap.3140
+ grep -q '/mnt/debootstrap\.'
+ rmdir /mnt/debootstrap.3140
+ '[' -n /mnt/debootstrap.3140 ']'
+ grep -q /mnt/debootstrap.3140 /proc/mounts
+ '[' -n /home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw ']'
+ einfo 'Removing loopback mount of file /home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw.'
+ einfon 'Removing loopback mount of file /home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw.\n'
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' %s*%s Removing loopback mount of file /home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw.\n' '' ''
* Removing loopback mount of file /home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw.
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ kpartx -d /home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw
+ dmsetup ls
+ grep -q '^loop0p1 '
+ eend 0
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ '[' -n '' ']'
+ einfo 'Finished execution of grml-debootstrap. Enjoy your Debian system.'
+ einfon 'Finished execution of grml-debootstrap. Enjoy your Debian system.\n'
+ '[' '' '!=' yes ']'
+ '[' einfon = ebegin ']'
+ printf ' %s*%s Finished execution of grml-debootstrap. Enjoy your Debian system.\n' '' ''
* Finished execution of grml-debootstrap. Enjoy your Debian system.
+ LAST_E_CMD=einfon
+ return 0
+ return 0
+ eend 0
+ local retval=0
+ shift
+ '[' 0 -gt 0 ']'
+ return 0
+ permission-fix-raw-image
+ chown user:user /home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw
+ exithandler
+ local exit_code=0
+ '[' '!' 0 = 0 ']'
++ benchmarktimeend 1568144490
+++ date +%s
++ benchmarktimeend=1568144920
++ benchmark_took_seconds=430
+++ convertsecs 430
+++ local h m s
+++ (( h=430/3600 ))
+++ true
+++ (( m=(430%3600)/60 ))
+++ (( s=430%60 ))
+++ printf '%02d:%02d:%02d\n' 0 7 10
++ echo 00:07:10
+ benchmark_took_time=00:07:10
+ output_cmd_set
+ '[' -o xtrace ']'
+ output_cmd=true
+ '[' 0 = 0 ']'
+ true 'INFO: End of: ././build-steps.d/1300_create-raw-image | exit_code: 0 | error(s) detected: 0 | benchmark: 00:07:10'
+ exit 0
+ true 'INFO: END : whonix_build_one_build_step_current: ./build-steps.d/1300_create-raw-image'
+ true '############################################################'
+ true '############################################################'
+ true '############################################################'
+ for whonix_build_one_build_step_current in ./build-steps.d/*
+ '[' -x ./build-steps.d/1700_install-packages ']'
+ '[' s = '~' ']'
+ echo ./build-steps.d/1700_install-packages
+ grep -q .dpkg-
+ true '############################################################'
+ true '############################################################'
+ true '############################################################'
+ true 'INFO: BEGIN: whonix_build_one_build_step_current: ./build-steps.d/1700_install-packages'
+ ././build-steps.d/1700_install-packages
+ set -e
+ true 'INFO: Currently running script: ././build-steps.d/1700_install-packages '
+++ dirname ././build-steps.d/1700_install-packages
++ cd ././build-steps.d
++ pwd
+ MYDIR=/home/user/Whonix/build-steps.d
+ cd /home/user/Whonix/build-steps.d
+ cd ..
+ cd help-steps
+ source pre
++ '[' '!' '' = true ']'
++ set +x
+ source colors
++ '[' '!' true = true ']'
+ source variables
++ '[' '!' '' = true ']'
++ set +x
INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
INFO: Variable anon_dist_build_version was unset. Auto detected. Set to: 15.0.0.4.9
++ true 'INFO: Currently running script: ././build-steps.d/1700_install-packages '
++ true 'INFO: LD_PRELOAD: /usr/lib/x86_64-linux-gnu/libeatmydata.so'
+ root_check
++ id -u
+ '[' 0 '!=' 0 ']'
+ echo 'INFO: Script running as root.'
INFO: Script running as root.
+ main
+ '[' whonix-workstation-xfce = whonix-custom-workstation ']'
+ install-packages
+ errorhandlersetup errorhandlerunchrootunpreventunmount ERR INT TERM
+ local handler signal
+ handler=errorhandlerunchrootunpreventunmount
+ shift
+ for signal in "$@"
+ trap 'errorhandlerunchrootunpreventunmount ERR' ERR
+ for signal in "$@"
+ trap 'errorhandlerunchrootunpreventunmount INT' INT
+ for signal in "$@"
+ trap 'errorhandlerunchrootunpreventunmount TERM' TERM
+ sync
+ true 'sync: Not running sync, because using '\''--unsafe-io true'\''.'
+ /home/user/Whonix/help-steps/mount-raw
+ set -e
+ true 'INFO: Currently running script: /home/user/Whonix/help-steps/mount-raw '
+++ dirname /home/user/Whonix/help-steps/mount-raw
++ cd /home/user/Whonix/help-steps
++ pwd
+ MYDIR=/home/user/Whonix/help-steps
+ source /home/user/Whonix/help-steps/pre
++ '[' '!' '' = true ']'
++ set +x
+ source /home/user/Whonix/help-steps/colors
++ '[' '!' true = true ']'
+ source /home/user/Whonix/help-steps/variables
++ '[' '!' '' = true ']'
++ set +x
INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
INFO: Variable anon_dist_build_version was already set to: 15.0.0.4.9
++ true 'INFO: Currently running script: /home/user/Whonix/help-steps/mount-raw '
++ true 'INFO: LD_PRELOAD: /usr/lib/x86_64-linux-gnu/libeatmydata.so:/usr/lib/x86_64-linux-gnu/libeatmydata.so'
+ '[' false = false ']'
+ main
+ root_check
++ id -u
+ '[' 0 '!=' 0 ']'
+ echo 'INFO: Script running as root.'
INFO: Script running as root.
+ '[' 0 = 1 ']'
+ mount_raw
+ '[' false = false ']'
+ trap error_handler_mount-raw ERR INT TERM
+ '[' '' = '' ']'
+ true
+ sync
+ true 'sync: Not running sync, because using '\''--unsafe-io true'\''.'
+ '[' '' = '' ']'
+ local img=/home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw
+ losetup --all
+ sync
+ true 'sync: Not running sync, because using '\''--unsafe-io true'\''.'
+ wait 9632
+ sleep 2
+ local kpartx_output a b device
++ kpartx -a -s -v /home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw
+ kpartx_output='add map loop0p1 (253:0): 0 209709056 linear 7:0 4096'
+ sync
+ true 'sync: Not running sync, because using '\''--unsafe-io true'\''.'
+ '[' 'add map loop0p1 (253:0): 0 209709056 linear 7:0 4096' = '' ']'
+ losetup --all
/dev/loop0: [65025]:4197196 (/home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw)
+ sync
+ true 'sync: Not running sync, because using '\''--unsafe-io true'\''.'
+ read a b device _
+ dev_mapper_device=/dev/mapper/loop0p1
+ '[' '' = true ']'
+ sudo --non-interactive -u user LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libeatmydata.so:/usr/lib/x86_64-linux-gnu/libeatmydata.so mkdir --parents /home/user/whonix_binary/Whonix-Workstation-XFCE_image
+ sync
+ true 'sync: Not running sync, because using '\''--unsafe-io true'\''.'
+ mount /dev/mapper/loop0p1 /home/user/whonix_binary/Whonix-Workstation-XFCE_image
mount: /home/user/whonix_binary/Whonix-Workstation-XFCE_image: wrong fs type, bad option, bad superblock on /dev/mapper/loop0p1, missing codepage or helper program, or other error.
++ error_handler_mount-raw
+++ caller
++ : echo '
BASH_COMMAND: mount "$dev_mapper_device" "$CHROOT_FOLDER"
ERROR /home/user/Whonix/help-steps/mount-raw: | caller: 91 /home/user/Whonix/help-steps/mount-raw
'
++ exit 1
+ exithandler
+ local exit_code=1
+ '[' '!' 1 = 0 ']'
+ exit 1
++ errorhandlerunchrootunpreventunmount ERR
++ last_failed_exit_code=1
++ last_failed_bash_command='"$WHONIX_SOURCE_HELP_STEPS_FOLDER/mount-raw"'
++ output_cmd_set
++ '[' -o xtrace ']'
++ output_cmd=true
++ errorhandlerprocessshared ERR
++ last_script=././build-steps.d/1700_install-packages
++ trap_signal_type_previous=
++ '[' '' = '' ']'
++ trap_signal_type_previous=unset
++ trap_signal_type_last=ERR
++ whonix_build_error_counter=1
+++ benchmarktimeend 1568144920
++++ date +%s
+++ benchmarktimeend=1568144924
+++ benchmark_took_seconds=4
++++ convertsecs 4
++++ local h m s
++++ (( h=4/3600 ))
++++ true
++++ (( m=(4%3600)/60 ))
++++ true
++++ (( s=4%60 ))
++++ printf '%02d:%02d:%02d\n' 0 0 4
+++ echo 00:00:04
++ benchmark_took_time=00:00:04
++ processbacktracefunction
++ true 'INFO: BEGIN: processbacktracefunction'
++ '[' -o xtrace ']'
++ set +x
++ true 'INFO: END : processbacktracefunction'
++ functiontracefunction
++ true 'INFO: BEGIN: functiontracefunction'
++ '[' -o xtrace ']'
++ set +x
++ true 'INFO: END : functiontracefunction'
++ output_cmd_set
++ '[' -o xtrace ']'
++ output_cmd=true
++ true '
############################################################
ERROR in ././build-steps.d/1700_install-packages detected!
anon_dist_build_version: 15.0.0.4.9
(whonix_build_error_counter: 1)
(benchmark: 00:00:04)
trap_signal_type_previous: unset
trap_signal_type_last : ERR
process_backtrace_result:
1: : /sbin/init
2: : xfce4-terminal
3: : bash
4: : sudo SKIP_SCRIPTS+= 1200_create-debian-packages SKIP_SCRIPTS+= 1100_prepare-build-machine REPO_PROXY=http://127.0.0.1:3142 ./whonix_build --flavor whonix-workstation-xfce --build --redistribute --target qcow2 --unsafe-io true
5: : /bin/bash ./whonix_build --flavor whonix-workstation-xfce --build --redistribute --target qcow2 --unsafe-io true
6: : /bin/bash ././build-steps.d/1700_install-packages
function_trace_result:
main (line number: 355)
main (line number: 351)
install-packages (line number: 171)
errorhandlerunchrootunpreventunmount (line number: 344)
errorhandlerprocessshared (line number: 169)
last_failed_bash_command: "$WHONIX_SOURCE_HELP_STEPS_FOLDER/mount-raw"
last_failed_exit_code: 1
ERROR in ././build-steps.d/1700_install-packages detected!
############################################################
'
++ '[' ERR = INT ']'
++ '[' ERR = TERM ']'
++ '[' ERR = ERR ']'
++ true 'INFO: trap_signal_type_last: ERR, considering auto retry...'
++ '[' '!' 1 = 0 ']'
++ '[' '' = '' ']'
++ whonix_build_auto_retry_counter=1
++ '[' -n 1 ']'
++ '[' -n 5 ']'
++ local first
++ read -r first _
++ '[' '"$WHONIX_SOURCE_HELP_STEPS_FOLDER/mount-raw"' = error_ ']'
++ '[' 1 -gt 1 ']'
++ true 'INFO: Auto retry attempt number: 1. Max retry attempts: 1 (--retry-max). Auto retry... '
++ whonix_build_auto_retry_counter=2
++ '[' '!' 5 = 0 ']'
++ true 'INFO: Waiting (--retry-wait) 5 seconds before auto retry... '
++ wait 9706
++ sleep 5
++ ignore_error=true
++ error_handler_do_retry=true
++ errorhandlerretry
++ '[' '!' '' = '' ']'
++ true 'INFO: Skipping whonix_build_dispatch_before_retry (--retry-before), because empty, ok.'
++ true 'INFO: Retrying last_failed_bash_command...: "$WHONIX_SOURCE_HELP_STEPS_FOLDER/mount-raw" '
++ retry_last_failed_bash_command_exit_code=0
++ eval '"$WHONIX_SOURCE_HELP_STEPS_FOLDER/mount-raw"'
+++ /home/user/Whonix/help-steps/mount-raw
+ set -e
+ true 'INFO: Currently running script: /home/user/Whonix/help-steps/mount-raw '
+++ dirname /home/user/Whonix/help-steps/mount-raw
++ cd /home/user/Whonix/help-steps
++ pwd
+ MYDIR=/home/user/Whonix/help-steps
+ source /home/user/Whonix/help-steps/pre
++ '[' '!' '' = true ']'
++ set +x
+ source /home/user/Whonix/help-steps/colors
++ '[' '!' true = true ']'
+ source /home/user/Whonix/help-steps/variables
++ '[' '!' '' = true ']'
++ set +x
INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
INFO: Variable anon_dist_build_version was already set to: 15.0.0.4.9
++ true 'INFO: Currently running script: /home/user/Whonix/help-steps/mount-raw '
++ true 'INFO: LD_PRELOAD: /usr/lib/x86_64-linux-gnu/libeatmydata.so:/usr/lib/x86_64-linux-gnu/libeatmydata.so'
+ '[' false = false ']'
+ main
+ root_check
++ id -u
+ '[' 0 '!=' 0 ']'
+ echo 'INFO: Script running as root.'
INFO: Script running as root.
+ '[' 0 = 1 ']'
+ mount_raw
+ '[' false = false ']'
+ trap error_handler_mount-raw ERR INT TERM
+ '[' '' = '' ']'
+ true
+ sync
+ true 'sync: Not running sync, because using '\''--unsafe-io true'\''.'
+ '[' '' = '' ']'
+ local img=/home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw
+ losetup --all
/dev/loop0: [65025]:4197196 (/home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw)
+ sync
+ true 'sync: Not running sync, because using '\''--unsafe-io true'\''.'
+ wait 9838
+ sleep 2
+ local kpartx_output a b device
++ kpartx -a -s -v /home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw
+ kpartx_output='add map loop0p1 (253:0): 0 209709056 linear 7:0 4096'
+ sync
+ true 'sync: Not running sync, because using '\''--unsafe-io true'\''.'
+ '[' 'add map loop0p1 (253:0): 0 209709056 linear 7:0 4096' = '' ']'
+ losetup --all
/dev/loop0: [65025]:4197196 (/home/user/whonix_binary/Whonix-Workstation-XFCE-15.0.0.4.9.raw)
+ sync
+ true 'sync: Not running sync, because using '\''--unsafe-io true'\''.'
+ read a b device _
+ dev_mapper_device=/dev/mapper/loop0p1
+ '[' '' = true ']'
+ sudo --non-interactive -u user LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libeatmydata.so:/usr/lib/x86_64-linux-gnu/libeatmydata.so mkdir --parents /home/user/whonix_binary/Whonix-Workstation-XFCE_image
+ sync
+ true 'sync: Not running sync, because using '\''--unsafe-io true'\''.'
+ mount /dev/mapper/loop0p1 /home/user/whonix_binary/Whonix-Workstation-XFCE_image
mount: /home/user/whonix_binary/Whonix-Workstation-XFCE_image: wrong fs type, bad option, bad superblock on /dev/mapper/loop0p1, missing codepage or helper program, or other error.
++ error_handler_mount-raw
+++ caller
++ : echo '
BASH_COMMAND: mount "$dev_mapper_device" "$CHROOT_FOLDER"
ERROR /home/user/Whonix/help-steps/mount-raw: | caller: 91 /home/user/Whonix/help-steps/mount-raw
'
++ exit 1
+ exithandler
+ local exit_code=1
+ '[' '!' 1 = 0 ']'
+ exit 1
++ retry_last_failed_bash_command_exit_code=1
++ true
++ '[' 1 = 0 ']'
++ true 'INFO: Retry failed. exit code of last_failed_bash_command: 1 '
++ last_failed_exit_code=1
++ last_failed_bash_command='"$WHONIX_SOURCE_HELP_STEPS_FOLDER/mount-raw"'
++ '[' '!' '' = '' ']'
++ true 'INFO: Skipping whonix_build_dispatch_after_retry (--retry-after), because empty, ok.'
++ '[' 1 = 0 ']'
++ errorhandlerprocessshared 'NONE_(called_by_errorhandlerretry)'
++ last_script=././build-steps.d/1700_install-packages
++ trap_signal_type_previous=ERR
++ '[' ERR = '' ']'
++ trap_signal_type_last='NONE_(called_by_errorhandlerretry)'
++ whonix_build_error_counter=2
+++ benchmarktimeend 1568144920
++++ date +%s
+++ benchmarktimeend=1568144932
+++ benchmark_took_seconds=12
++++ convertsecs 12
++++ local h m s
++++ (( h=12/3600 ))
++++ true
++++ (( m=(12%3600)/60 ))
++++ true
++++ (( s=12%60 ))
++++ printf '%02d:%02d:%02d\n' 0 0 12
+++ echo 00:00:12
++ benchmark_took_time=00:00:12
++ processbacktracefunction
++ true 'INFO: BEGIN: processbacktracefunction'
++ '[' -o xtrace ']'
++ set +x
++ true 'INFO: END : processbacktracefunction'
++ functiontracefunction
++ true 'INFO: BEGIN: functiontracefunction'
++ '[' -o xtrace ']'
++ set +x
++ true 'INFO: END : functiontracefunction'
++ output_cmd_set
++ '[' -o xtrace ']'
++ output_cmd=true
++ true '
############################################################
ERROR in ././build-steps.d/1700_install-packages detected!
anon_dist_build_version: 15.0.0.4.9
(whonix_build_error_counter: 2)
(benchmark: 00:00:12)
trap_signal_type_previous: ERR
trap_signal_type_last : NONE_(called_by_errorhandlerretry)
process_backtrace_result:
1: : /sbin/init
2: : xfce4-terminal
3: : bash
4: : sudo SKIP_SCRIPTS+= 1200_create-debian-packages SKIP_SCRIPTS+= 1100_prepare-build-machine REPO_PROXY=http://127.0.0.1:3142 ./whonix_build --flavor whonix-workstation-xfce --build --redistribute --target qcow2 --unsafe-io true
5: : /bin/bash ./whonix_build --flavor whonix-workstation-xfce --build --redistribute --target qcow2 --unsafe-io true
6: : /bin/bash ././build-steps.d/1700_install-packages
function_trace_result:
main (line number: 355)
main (line number: 351)
install-packages (line number: 171)
errorhandlerunchrootunpreventunmount (line number: 344)
errorhandlerprocessshared (line number: 220)
errorhandlerretry (line number: 154)
errorhandlerprocessshared (line number: 169)
errorhandlerprocessshared (line number: 169)
errorhandlerunchrootunpreventunmount (line number: 344)
install-packages (line number: 171)
main (line number: 351)
main (line number: 355)
last_failed_bash_command: "$WHONIX_SOURCE_HELP_STEPS_FOLDER/mount-raw"
last_failed_exit_code: 1
ERROR in ././build-steps.d/1700_install-packages detected!
############################################################
'
++ '[' 'NONE_(called_by_errorhandlerretry)' = INT ']'
++ '[' 'NONE_(called_by_errorhandlerretry)' = TERM ']'
++ '[' 'NONE_(called_by_errorhandlerretry)' = ERR ']'
++ '[' 'NONE_(called_by_errorhandlerretry)' = 'NONE_(called_by_errorhandlerretry)' ']'
++ true 'INFO: trap_signal_type_last: NONE_(called_by_errorhandlerretry), considering auto retry...'
++ '[' '!' 1 = 0 ']'
++ '[' 2 = '' ']'
++ '[' -n 1 ']'
++ '[' -n 5 ']'
++ local first
++ read -r first _
++ '[' '"$WHONIX_SOURCE_HELP_STEPS_FOLDER/mount-raw"' = error_ ']'
++ '[' 2 -gt 1 ']'
++ true 'INFO: Auto retried (--retry-max) already 1 times. No more auto retry. '
++ unset whonix_build_auto_retry_counter
++ true
++ ignore_error=false
++ answer=
++ '[' 'NONE_(called_by_errorhandlerretry)' = ERR ']'
++ '[' 'NONE_(called_by_errorhandlerretry)' = 'NONE_(called_by_errorhandlerretry)' ']'
++ true 'INFO: whonix_build_non_interactive: '
++ '[' '' = true ']'
++ '[' -t 0 ']'
++ true 'INFO: stdin connected to terminal, using interactive error handler.'
++ true ' ERROR in ././build-steps.d/1700_install-packages detected!
Please have a look above (the block within ###...), note the command that failed, last_failed_exit_code and its output (further above).
- Please enter c and press enter to ignore the error and continue building. (Recommended against!)
- Please press r and enter to retry.
- Please press s and enter to open an chroot interactive shell.
- Please press a and enter to abort.'
++ read -p 'Answer? ' answer
Answer?