Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 889342 Details for
Bug 928490
x11-misc/grub2-theme-preview-2.8.0-r1 fails tests on x86: FAILED test_main.py::CliTest::test_argument_effect__stderr_0_with_resolution - SystemExit: 1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 220.27 KB, created by
Agostino Sarubbo
on 2024-04-03 07:36:21 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2024-04-03 07:36:21 UTC
Size:
220.27 KB
patch
obsolete
> * Package: x11-misc/grub2-theme-preview-2.8.0-r1:0 > * Repository: gentoo > * Maintainer: sping@gentoo.org > * USE: abi_x86_32 elibc_glibc kernel_linux python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 test x86 > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo-mirror/gentoo/commit/0f9826851d522ae010dec53fc42e9f5f98cf6eeb (Tue Apr 2 20:49:13 UTC 2024) >@@@@@ END @@@@@ > > > >################## ># emerge --info: # >################## >Portage 3.0.63 (python 3.12.2-final-0, default/linux/x86/17.0, gcc-14, glibc-2.39-r2, 6.1.66-gentoo-dist i686) >================================================================= >System uname: Linux-6.1.66-gentoo-dist-i686-AMD_EPYC_7513_32-Core_Processor-with-glibc2.39 >KiB Mem: 263452516 total, 60419000 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Tue, 02 Apr 2024 20:49:13 +0000 >sh bash 5.2_p26 >ld GNU ld (Gentoo 2.42 p3) 2.42.0 >app-misc/pax-utils: 1.3.7::gentoo >app-shells/bash: 5.2_p26::gentoo >dev-build/autoconf: 2.72-r1::gentoo >dev-build/automake: 1.16.5-r2::gentoo >dev-build/cmake: 3.29.0::gentoo >dev-build/libtool: 2.4.7-r4::gentoo >dev-build/make: 4.4.1-r1::gentoo >dev-build/meson: 1.4.0-r1::gentoo >dev-lang/perl: 5.38.2-r2::gentoo >dev-lang/python: 3.10.14::gentoo, 3.11.8_p1::gentoo, 3.12.2_p1::gentoo >sys-apps/baselayout: 2.15::gentoo >sys-apps/openrc: 0.54::gentoo >sys-apps/sandbox: 2.38::gentoo >sys-devel/binutils: 2.42-r1::gentoo >sys-devel/binutils-config: 5.5::gentoo >sys-devel/gcc: 14.0.1_pre20240331::gentoo >sys-devel/gcc-config: 2.11::gentoo >sys-kernel/linux-headers: 6.8-r1::gentoo (virtual/os-headers) >sys-libs/glibc: 2.39-r2::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > volatile: True > sync-rsync-verify-jobs: 1 > sync-rsync-extra-opts: > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-max-age: 3 > >Binary Repositories: > >gentoobinhost > priority: 1 > sync-uri: https://gentoo.osuosl.org/releases/x86/binpackages/17.0/i686 > >ACCEPT_KEYWORDS="x86 ~x86" >ACCEPT_LICENSE="* GPL-2+" >CBUILD="i686-pc-linux-gnu" >CFLAGS="-O2 -march=i686 -mfpmath=sse -msse2 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >CHOST="i686-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXXFLAGS="-O2 -march=i686 -mfpmath=sse -msse2 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >DISTDIR="/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/distdir" >EMERGE_DEFAULT_OPTS="--complete-graph y --with-bdeps=y -1 -k -b --backtrack=100" >ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" >FCFLAGS="-O2 -march=i686 -mfpmath=sse -msse2 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -march=i686 -mfpmath=sse -msse2 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org" >LANG="C.UTF8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >LEX="flex" >MAKEOPTS="-j16" >PKGDIR="/root/tbci/binpkg" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >SHELL="/bin/bash" >USE="acl bzip2 cli crypt debug dri elogind fortran gdbm iconv ipv6 jumbo-build libtirpc native-symlinks ncurses nls openmp pam pcre readline seccomp split-usr ssl test test-rust unicode x86 xattr zlib" ABI_X86="32" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python3_10 python3_11 python3_12" >Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS > > > > > >############################## ># emerge history (qlop -mv): # >############################## >2024-04-02T23:27:44 >>> sys-firmware/edk2-ovmf-bin-202202 >2024-04-02T23:27:46 >>> sys-firmware/seabios-bin-1.16.0 >2024-04-02T23:27:48 >>> sys-firmware/sgabios-0.1_pre10 >2024-04-02T23:27:49 >>> sys-fs/mtools-4.0.43 >2024-04-02T23:27:51 >>> dev-libs/libaio-0.3.113-r1 >2024-04-02T23:27:53 >>> sys-apps/dtc-1.7.0 >2024-04-02T23:27:46 >>> sys-firmware/ipxe-1.21.1 >2024-04-02T23:27:54 >>> media-libs/libjpeg-turbo-3.0.2 >2024-04-02T23:27:56 >>> sys-libs/libcap-ng-0.8.4-r1 >2024-04-02T23:27:58 >>> dev-lang/nasm-2.16.01-r1 >2024-04-02T23:28:01 >>> net-libs/libslirp-4.7.0 >2024-04-02T23:27:59 >>> sys-boot/grub-2.12-r2 >2024-04-02T23:28:03 >>> dev-libs/libburn-1.5.6-r1 >2024-04-02T23:28:03 >>> dev-libs/libisofs-1.5.6_p1-r1 >2024-04-02T23:28:03 >>> dev-python/pip-24.0 >2024-04-02T23:29:42 >>> dev-libs/libisoburn-1.5.6-r1 >2024-04-02T23:29:42 >>> app-emulation/qemu-8.2.2 >2024-04-02T23:32:21 >>> x11-misc/grub2-theme-preview-2.8.0-r1 >2024-04-02T23:33:06 >>> dev-python/exceptiongroup-1.2.0 >2024-04-02T23:33:05 >>> dev-python/iniconfig-2.0.0 >2024-04-02T23:33:09 >>> dev-python/flit_scm-1.7.0 >2024-04-02T23:33:10 >>> dev-python/hatch-vcs-0.4.0 >2024-04-02T23:33:08 >>> dev-python/parameterized-0.9.0 >2024-04-02T23:33:38 >>> dev-python/pytest-8.1.1 > > > > >####################################### ># installed packages (qlist -ICvUSS): # >####################################### >acct-group/audio-0-r3:0 >acct-group/cdrom-0-r3:0 >acct-group/dialout-0-r3:0 >acct-group/disk-0-r3:0 >acct-group/floppy-0-r1:0 >acct-group/input-0-r3:0 >acct-group/kmem-0-r3:0 >acct-group/kvm-0-r3:0 >acct-group/lp-0-r3:0 >acct-group/man-0-r3:0 >acct-group/messagebus-0-r3:0 >acct-group/polkitd-0-r3:0 >acct-group/portage-0-r2:0 >acct-group/render-0-r3:0 >acct-group/root-0-r2:0 >acct-group/sgx-0-r2:0 >acct-group/sshd-0-r3:0 >acct-group/tape-0-r3:0 >acct-group/tty-0-r3:0 >acct-group/usb-0-r3:0 >acct-group/video-0-r3:0 >acct-user/man-1-r3:0 >acct-user/messagebus-0-r3:0 >acct-user/polkitd-0-r3:0 >acct-user/portage-0-r3:0 >acct-user/sshd-0-r3:0 >app-admin/eselect-1.4.27-r1:0 -doc -emacs -vim-syntax >app-admin/perl-cleaner-2.31:0 -pkgcore >app-alternatives/awk-4:0 -busybox gawk -mawk -nawk split-usr >app-alternatives/bc-0:0 -gh gnu >app-alternatives/bzip2-1:0 -lbzip2 -pbzip2 reference split-usr >app-alternatives/cpio-0:0 gnu -libarchive split-usr >app-alternatives/gzip-1:0 -pigz reference split-usr >app-alternatives/lex-0-r1:0 flex -reflex >app-alternatives/ninja-1:0 reference -samurai >app-alternatives/sh-0:0 bash -busybox -dash -ksh -lksh -mksh >app-alternatives/tar-0:0 gnu -libarchive split-usr >app-alternatives/yacc-1-r2:0 bison -byacc -reference >app-arch/bzip2-1.0.8-r5:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -static -static-libs -verify-sig >app-arch/cpio-2.15:0 nls >app-arch/gzip-1.13:0 -pic -static -verify-sig >app-arch/libarchive-3.7.2-r3:0/13 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 acl -blake2 bzip2 e2fsprogs -expat iconv -lz4 lzma -lzo -nettle -static-libs -test -verify-sig xattr -zstd >app-arch/tar-1.35:0 acl -minimal nls -selinux -verify-sig xattr >app-arch/unzip-6.0_p27-r1:0 bzip2 -natspec unicode >app-arch/xz-utils-5.4.2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -doc extra-filters nls -pgo -static-libs -verify-sig >app-arch/zstd-1.5.6:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -lz4 lzma -static-libs -test zlib >app-crypt/gnupg-2.4.5:0 bzip2 -doc -ldap nls readline -selinux smartcard ssl -test tofu -tools -tpm -usb -user-socket -verify-sig -wks-server >app-crypt/gpgme-1.23.2:1/11.6.15.2 -common-lisp cxx debug -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -qt5 -qt6 -static-libs -test -verify-sig >app-crypt/libb2-0.98.1-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -native-cflags openmp -static-libs >app-crypt/libmd-1.1.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 >app-crypt/pinentry-1.3.0-r2:0 -X -caps -efl -emacs -gtk -keyring ncurses -qt5 -qt6 -verify-sig -wayland >app-crypt/rhash-1.4.4-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 debug nls ssl -static-libs >app-editors/nano-7.2-r1:0 -debug -justify -magic -minimal ncurses nls spell -static unicode >app-emulation/qemu-8.2.2:0 -accessibility aio -alsa -bpf bzip2 -capstone curl debug -doc fdt filecaps -fuse -glusterfs gnutls -gtk -infiniband -io-uring -iscsi -jack -jemalloc jpeg -keyutils -lzo -multipath ncurses -nfs nls -numa -opengl oss pam pin-upstream-blobs -pipewire -plugins png -pulseaudio -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -qemu_softmmu_targets_aarch64 -qemu_softmmu_targets_alpha -qemu_softmmu_targets_arm -qemu_softmmu_targets_avr -qemu_softmmu_targets_cris -qemu_softmmu_targets_hppa qemu_softmmu_targets_i386 -qemu_softmmu_targets_loongarch64 -qemu_softmmu_targets_m68k -qemu_softmmu_targets_microblaze -qemu_softmmu_targets_microblazeel -qemu_softmmu_targets_mips -qemu_softmmu_targets_mips64 -qemu_softmmu_targets_mips64el -qemu_softmmu_targets_mipsel -qemu_softmmu_targets_nios2 -qemu_softmmu_targets_or1k -qemu_softmmu_targets_ppc -qemu_softmmu_targets_ppc64 -qemu_softmmu_targets_riscv32 -qemu_softmmu_targets_riscv64 -qemu_softmmu_targets_rx -qemu_softmmu_targets_s390x -qemu_softmmu_targets_sh4 -qemu_softmmu_targets_sh4eb -qemu_softmmu_targets_sparc -qemu_softmmu_targets_sparc64 -qemu_softmmu_targets_tricore -qemu_softmmu_targets_x86_64 -qemu_softmmu_targets_xtensa -qemu_softmmu_targets_xtensaeb -qemu_user_targets_aarch64 -qemu_user_targets_aarch64_be -qemu_user_targets_alpha -qemu_user_targets_arm -qemu_user_targets_armeb -qemu_user_targets_cris -qemu_user_targets_hexagon -qemu_user_targets_hppa -qemu_user_targets_i386 -qemu_user_targets_loongarch64 -qemu_user_targets_m68k -qemu_user_targets_microblaze -qemu_user_targets_microblazeel -qemu_user_targets_mips -qemu_user_targets_mips64 -qemu_user_targets_mips64el -qemu_user_targets_mipsel -qemu_user_targets_mipsn32 -qemu_user_targets_mipsn32el -qemu_user_targets_nios2 -qemu_user_targets_or1k -qemu_user_targets_ppc -qemu_user_targets_ppc64 -qemu_user_targets_ppc64le -qemu_user_targets_riscv32 -qemu_user_targets_riscv64 -qemu_user_targets_s390x -qemu_user_targets_sh4 -qemu_user_targets_sh4eb -qemu_user_targets_sparc -qemu_user_targets_sparc32plus -qemu_user_targets_sparc64 -qemu_user_targets_x86_64 -qemu_user_targets_xtensa -qemu_user_targets_xtensaeb -rbd -sasl -sdl -sdl-image seccomp -selinux slirp -smartcard -snappy -spice -ssh -static-user -systemtap -test -udev -usb -usbredir -vde vhost-net -virgl -virtfs vnc -vte xattr -xen -zstd >app-eselect/eselect-fontconfig-20220403:0 >app-eselect/eselect-iptables-20220320:0 >app-eselect/eselect-lib-bin-symlink-0.1.1-r1:0 >app-eselect/eselect-pinentry-0.7.4:0 >app-i18n/man-pages-ja-20180315-r1:0 >app-i18n/man-pages-l10n-4.19.0:0 l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu l10n_id l10n_it l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_sr l10n_sv l10n_uk l10n_vi >app-i18n/man-pages-zh_CN-1.6.4.0:0 >app-misc/ca-certificates-20240203.3.98:0 -cacert >app-misc/editor-wrapper-4-r1:0 >app-misc/mime-types-2.1.54:0 -nginx >app-misc/pax-utils-1.3.7:0 -caps -man -python -python_single_target_python3_10 python_single_target_python3_11 -seccomp -test >app-misc/tmux-3.4:0 debug -selinux -systemd -utempter -vim-syntax >app-portage/eix-0.36.7-r1:0 debug -doc nls -sqlite >app-portage/elt-patches-20240324:0 >app-portage/gemato-20.5:0 gpg -pretty-log python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test -tools >app-portage/gentoolkit-0.6.5:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >app-portage/getuto-1.11:0 -test >app-portage/portage-utils-0.96.1:0 openmp qmanifest qtegrity -static >app-shells/bash-5.2_p26:0 -afs -bashlogger -examples -mem-scramble net nls -pgo -plugins readline -verify-sig >app-shells/bash-completion-2.11:0 eselect -test >app-shells/gentoo-bashcomp-20230313:0 >app-shells/push-3.4:0 >app-shells/quoter-4.2:0 >app-text/ansifilter-2.20:0 -gui -verify-sig >app-text/asciidoc-10.2.0:0 -python_single_target_pypy3 -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_12 >app-text/build-docbook-catalog-2.4:0 >app-text/docbook-xml-dtd-4.5-r2:4.5 >app-text/docbook-xml-dtd-4.4-r3:4.4 >app-text/docbook-xml-dtd-4.2-r3:4.2 >app-text/docbook-xml-dtd-4.1.2-r7:4.1.2 >app-text/docbook-xsl-ns-stylesheets-1.79.1:0 -ruby >app-text/docbook-xsl-stylesheets-1.79.1-r4:0 -ruby >app-text/manpager-1:0 >app-text/opensp-1.5.2-r10:0 -doc nls -static-libs -test >app-text/po4a-0.71:0 -test -test >app-text/sgml-common-0.6.3-r7:0 >app-text/xmlto-0.0.28-r11:0 -latex text >dev-build/autoconf-2.72-r1:2.72 -emacs -verify-sig >dev-build/autoconf-archive-2023.02.20:0 >dev-build/autoconf-wrapper-20231224:0 >dev-build/automake-1.16.5-r2:1.16 -test >dev-build/automake-wrapper-20221207:0 >dev-build/cmake-3.29.0:0 -dap -doc -gui ncurses -qt6 -test -test -verify-sig >dev-build/gtk-doc-am-1.33.2:0 >dev-build/libtool-2.4.7-r4:2 -vanilla >dev-build/make-4.4.1-r1:0 -doc -guile nls -static -test -verify-sig >dev-build/meson-1.4.0-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test -verify-sig >dev-build/meson-format-array-0:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >dev-build/ninja-1.11.1-r5:0 -doc -test >dev-db/sqlite-3.45.2:3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 debug -doc -icu readline -secure-delete -static-libs -tcl -test -tools >dev-lang/duktape-2.7.0-r3:0/2.7.0 >dev-lang/nasm-2.16.01-r1:0 -doc >dev-lang/perl-5.38.2-r2:0/5.38 -berkdb debug -doc gdbm ithreads -minimal -quadmath >dev-lang/python-3.12.2_p1:3.12 -bluetooth -build debug ensurepip -examples gdbm -libedit ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig >dev-lang/python-3.11.8_p1:3.11 -bluetooth -build debug ensurepip -examples gdbm -libedit ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig >dev-lang/python-3.10.14:3.10 -bluetooth -build debug ensurepip -examples gdbm -libedit ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig >dev-lang/python-exec-2.4.10:2 native-symlinks python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-lang/python-exec-conf-2.4.6:2 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >dev-lang/tcl-8.6.14:0/8.6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 debug threads >dev-libs/boehm-gc-8.2.6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -cxx large -static-libs threads >dev-libs/elfutils-0.191:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 bzip2 -debuginfod -lzma nls -static-libs -test utils -verify-sig -zstd >dev-libs/expat-2.6.2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -examples -static-libs -test unicode >dev-libs/glib-2.78.4-r1:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -dbus debug elf -gtk-doc mime -selinux -static-libs -sysprof -systemtap -test -utils xattr >dev-libs/gmp-6.3.0-r1:0/10.4 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 asm cpudetection cxx -doc -pic -static-libs >dev-libs/gobject-introspection-1.78.1:0 -doctool -gtk-doc -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_12 -test >dev-libs/gobject-introspection-common-1.78.1:0 >dev-libs/isl-0.26:0/23 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/jsoncpp-1.9.5:0/25 -doc -test >dev-libs/libaio-0.3.113-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -static-libs -test >dev-libs/libassuan-2.5.7:0 -verify-sig >dev-libs/libatomic_ops-7.8.2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 >dev-libs/libbsd-0.11.8:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -static-libs -verify-sig >dev-libs/libburn-1.5.6-r1:0 debug -static-libs >dev-libs/libevent-2.1.12-r1:0/2.1-7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 clock-gettime debug -malloc-replacement ssl -static-libs -test -verbose-debug -verify-sig >dev-libs/libffi-3.4.6:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 debug -exec-static-trampoline -pax-kernel -static-libs -test >dev-libs/libgcrypt-1.10.3-r2:0/20 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec -cpu_flags_ppc_vsx2 -cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 -cpu_flags_x86_padlock -cpu_flags_x86_sha cpu_flags_x86_sse4_1 -doc getentropy -static-libs -verify-sig >dev-libs/libgpg-error-1.48:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -common-lisp nls -static-libs -test -verify-sig >dev-libs/libisoburn-1.5.6-r1:0 acl debug -external-filters -external-filters-setuid -frontend-optional -launch-frontend -launch-frontend-setuid -libedit readline -static-libs xattr zlib >dev-libs/libisofs-1.5.6_p1-r1:0 acl debug -static-libs -verbose-debug xattr zlib >dev-libs/libksba-1.6.6:0 -static-libs -verify-sig >dev-libs/libpcre2-10.43:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 bzip2 jit -libedit pcre16 pcre32 readline -static-libs unicode -valgrind -verify-sig zlib >dev-libs/libpipeline-1.5.7:0 -test >dev-libs/libtasn1-4.19.0:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -static-libs -test -verify-sig >dev-libs/libunistring-1.2:0/5 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -doc -static-libs >dev-libs/libuv-1.48.0:0/1 -verify-sig >dev-libs/libxml2-2.12.6:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -debug -examples ftp -icu -lzma python python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 readline -static-libs -test >dev-libs/libxslt-1.1.39:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 crypt debug -examples -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -static-libs >dev-libs/lzo-2.10:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -examples split-usr -static-libs >dev-libs/mpc-1.3.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/mpfr-4.2.1:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -static-libs -verify-sig >dev-libs/nettle-3.9.1:0/8-6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec -cpu_flags_ppc_vsx2 -cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_pclmul -cpu_flags_x86_sha -doc gmp -static-libs -verify-sig >dev-libs/npth-1.7-r1:0 -test >dev-libs/openssl-3.2.1-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 asm cpu_flags_x86_sse2 -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -verify-sig -verify-sig -weak-ssl-ciphers >dev-libs/popt-1.19-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 nls -static-libs >dev-perl/Encode-EUCJPASCII-0.30.0-r1:0 -test >dev-perl/Encode-HanExtra-0.230.0-r3:0 >dev-perl/Encode-Locale-1.50.0-r1:0 -test >dev-perl/ExtUtils-CChecker-0.110.0:0 -test >dev-perl/File-BaseDir-0.90.0:0 -test >dev-perl/File-DesktopEntry-0.220.0-r1:0 -test >dev-perl/File-MimeInfo-0.330.0:0 -test >dev-perl/IO-Socket-SSL-2.85.0:0 -examples -idn -test >dev-perl/IPC-System-Simple-1.300.0:0 -test >dev-perl/Locale-gettext-1.70.0-r1:0 -test >dev-perl/MIME-Charset-1.13.1:0 l10n_ja l10n_zh -test >dev-perl/Module-Build-0.423.400:0 -test >dev-perl/Mozilla-CA-20999999-r1:0 -test >dev-perl/Net-SSLeay-1.940.0:0 -examples -examples -minimal -test >dev-perl/Pod-Parser-1.660.0:0 -test >dev-perl/Regexp-IPv6-0.30.0-r2:0 -test >dev-perl/SGMLSpm-1.1-r2:0 -test >dev-perl/Syntax-Keyword-Try-0.290.0:0 -test >dev-perl/TermReadKey-2.380.0-r1:0 -examples -test >dev-perl/Text-CharWidth-0.40.0-r2:0 -test >dev-perl/Text-WrapI18N-0.60.0-r2:0 -test >dev-perl/Unicode-LineBreak-2019.1.0:0 >dev-perl/URI-5.210.0:0 -test >dev-perl/XS-Parse-Keyword-0.380.0:0 -test >dev-perl/YAML-Tiny-1.740.0:0 -minimal -test >dev-python/certifi-3021.3.16-r4:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/charset-normalizer-3.3.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/cython-3.0.10:0 debug -doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/editables-0.5:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/ensurepip-pip-24.0:0 >dev-python/ensurepip-setuptools-69.2.0:0 >dev-python/ensurepip-wheels-100:0 >dev-python/exceptiongroup-1.2.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/flit-core-3.9.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/flit_scm-1.7.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >dev-python/gentoo-common-1:0 >dev-python/gpep517-15:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/hatch-vcs-0.4.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/hatchling-1.22.4:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/idna-3.6:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/iniconfig-2.0.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/installer-0.7.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/jaraco-context-4.3.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/jaraco-functools-4.0.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/jaraco-text-3.12.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/jinja-3.1.3:0 -doc -examples python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/lxml-5.2.0:0 debug -doc -examples python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test threads >dev-python/markupsafe-2.1.5:0 debug python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/more-itertools-10.2.0:0 -doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/ordered-set-4.1.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/packaging-24.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/parameterized-0.9.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/pathspec-0.12.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/pip-24.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test test-rust >dev-python/platformdirs-4.2.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/pluggy-1.4.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/pypy3-7.3.15:0/pypy310-pp73-384 gdbm ncurses sqlite -tk >dev-python/pypy3_10-7.3.15:0/pypy310-pp73-384 ensurepip gdbm jit ncurses sqlite -tk >dev-python/pypy3_10-exe-bin-7.3.15:7.3.15 >dev-python/PySocks-1.7.1-r2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >dev-python/pytest-8.1.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/requests-2.31.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -socks5 -test test-rust >dev-python/setuptools-69.2.0-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/setuptools-scm-8.0.4:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/tomli-2.0.1-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/trove-classifiers-2024.3.25:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/typing-extensions-4.10.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/urllib3-2.2.1:0 -brotli -http2 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test -zstd >dev-python/wheel-0.43.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-util/checkbashisms-2.23.5:0 >dev-util/desktop-file-utils-0.27-r1:0 >dev-util/glib-utils-2.78.4:0 -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_12 >dev-util/gperf-3.1-r2:0 >dev-util/pkgconf-2.2.0:0/5 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 native-symlinks -test >dev-util/re2c-3.1:0 debug -test >dev-vcs/git-2.44.0:0 blksha1 -cgi curl -cvs -doc gpg -highlight iconv -keyring -mediawiki nls pcre -perforce -perl -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_12 safe-directory -selinux -subversion -test -tk webdav -xinetd >media-fonts/liberation-fonts-2.1.5:0 -X -X -fontforge >media-gfx/graphite2-1.3.14_p20210810-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -perl -test >media-libs/fontconfig-2.15.0:1.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -doc nls -test >media-libs/freetype-2.13.2:2 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 adobe-cff -brotli bzip2 cleartype-hinting debug -doc -fontforge harfbuzz png -static-libs -svg -utils >media-libs/harfbuzz-8.3.1:0/6.0.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 cairo debug -doc -experimental glib graphite -icu introspection -test truetype >media-libs/libjpeg-turbo-3.0.2:0/0.2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -cpu_flags_arm_neon -java -java -static-libs >media-libs/libpng-1.6.43:0/16 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -apng -cpu_flags_arm_neon cpu_flags_x86_sse -static-libs -test >net-dns/c-ares-1.27.0:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -static-libs -test -verify-sig >net-dns/libidn2-2.3.7:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 nls -static-libs -verify-sig >net-firewall/iptables-1.8.10-r1:0/1.8.3 -conntrack -netlink -nftables -pcap -static-libs -test >net-libs/gnutls-3.8.3:0/30.30 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -brotli cxx -dane -doc -examples idn nls openssl -pkcs11 seccomp -sslv2 -sslv3 -static-libs -test -test-full tls-heartbeat -tools -verify-sig zlib -zstd >net-libs/libmnl-1.0.5:0/0.2.0 -examples -verify-sig >net-libs/libnsl-2.0.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -static-libs >net-libs/libpsl-0.21.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -icu idn -test >net-libs/libslirp-4.7.0:0 -static-libs -valgrind >net-libs/libtirpc-1.3.4-r2:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -kerberos -static-libs >net-libs/nghttp2-1.60.0:0/1.14 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 debug -hpack-tools -jemalloc -static-libs -systemd -test -utils -xml >net-misc/curl-8.7.1-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 adns alt-svc -brotli -curl_ssl_gnutls -curl_ssl_mbedtls curl_ssl_openssl -curl_ssl_rustls ftp -gnutls -gopher hsts http2 -idn imap -kerberos -ldap -mbedtls -nghttp3 openssl pop3 progress-meter psl -rtmp -rustls -samba smtp -ssh ssl -sslv3 -static-libs -telnet -test tftp -verify-sig -websockets -zstd >net-misc/dhcpcd-10.0.6-r2:0 debug embedded ipv6 -privsep udev >net-misc/iputils-20240117:0 arping -caps -clockdiff -doc filecaps -idn nls -test -tracepath >net-misc/netifrc-0.7.8:0 dhcp >net-misc/openssh-9.7_p1-r2:0 -abi_mips_n32 -audit -debug -kerberos -ldns -libedit -livecd pam -pie -security-key -selinux ssl -static -test -verify-sig -xmss >net-misc/rsync-3.2.7-r4:0 acl -examples iconv -lz4 -python_single_target_python3_10 python_single_target_python3_11 -rrsync ssl -stunnel -system-zlib -verify-sig xattr -xxhash -zstd >net-misc/wget-1.21.4:0 -cookie-check debug -gnutls -idn ipv6 -metalink nls -ntlm pcre ssl -static -test -uuid -verify-sig zlib >perl-core/File-Temp-0.231.100:0 >perl-core/Math-BigInt-1.999.842:0 -examples -test >sec-keys/openpgp-keys-gentoo-release-20230329:0 -test >sys-apps/acl-2.3.2-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 nls -static-libs >sys-apps/attr-2.5.2-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 debug nls -static-libs >sys-apps/baselayout-2.15:0 -build split-usr >sys-apps/coreutils-9.5:0 acl -caps -gmp -hostname -kill -multicall nls openssl -selinux split-usr -static -test -vanilla -verify-sig xattr >sys-apps/dbus-1.15.8:0 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 debug -doc elogind -selinux -static-libs -systemd -test -test -valgrind >sys-apps/diffutils-3.10:0 nls -verify-sig >sys-apps/dtc-1.7.0:0 -python -python_single_target_python3_10 python_single_target_python3_11 -static-libs test -yaml >sys-apps/file-5.45-r4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 bzip2 -lzip -lzma -python python_targets_python3_10 python_targets_python3_11 -seccomp -static-libs -verify-sig zlib -zstd >sys-apps/findutils-4.9.0-r2:0 nls -selinux -static -test -verify-sig >sys-apps/gawk-5.3.0-r1:0 -mpfr nls -pma readline -verify-sig >sys-apps/gentoo-functions-0.19:0 >sys-apps/grep-3.11:0 egrep-fgrep nls pcre -static -verify-sig >sys-apps/groff-1.23.0:0 -X -examples -uchardet >sys-apps/help2man-1.49.3:0 nls >sys-apps/install-xattr-0.8-r1:0 >sys-apps/iproute2-6.6.0-r3:0 -atm -berkdb -bpf -caps -elf iptables -minimal -nfs -selinux >sys-apps/kbd-2.6.4:0 nls pam -selinux -test >sys-apps/kmod-32-r1:0 debug -doc lzma -pkcs7 split-usr -static-libs tools zlib zstd >sys-apps/less-643-r1:0 pcre -test >sys-apps/locale-gen-2.23-r1:0 >sys-apps/man-db-2.12.0:0 manpager nls seccomp -selinux -static-libs zlib >sys-apps/man-pages-6.06:0 l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu l10n_id l10n_it l10n_ja l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_sr l10n_sv l10n_uk l10n_vi l10n_zh-CN -verify-sig >sys-apps/miscfiles-1.5-r4:0 -minimal >sys-apps/net-tools-2.10:0 arp hostname ipv6 -nis nls -plipconfig -selinux -slattach -static >sys-apps/openrc-0.54:0 -audit -bash debug netifrc -newnet pam -s6 -selinux -sysv-utils sysvinit unicode >sys-apps/portage-3.0.63:0 -apidoc -build -doc -gentoo-dev ipc native-extensions python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 rsync-verify -selinux -test xattr >sys-apps/sandbox-2.38:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 nnp >sys-apps/sed-4.9:0 acl nls -selinux -static -verify-sig >sys-apps/shadow-4.14.6:0/4 acl -audit -cracklib nls pam -selinux -skey split-usr -su -systemd -verify-sig xattr >sys-apps/systemd-utils-254.10-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 acl -boot -kernel-install kmod -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_12 -secureboot -selinux split-usr -sysusers -test tmpfiles udev -ukify >sys-apps/sysvinit-3.09:0 -ibm nls -selinux -static -verify-sig >sys-apps/texinfo-7.1-r1:0 nls standalone -static >sys-apps/util-linux-2.39.3-r6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -audit -build -caps cramfs -cryptsetup -fdformat hardlink -kill logger -magic ncurses nls pam -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 readline -rtas -selinux -slang -static-libs su suid -systemd -test -tty-helpers -udev unicode -verify-sig >sys-apps/which-2.21:0 >sys-auth/elogind-252.9:0 acl -audit cgroup-hybrid debug -doc pam policykit -selinux -test >sys-auth/pambase-20240128:0 -caps -debug elogind -gnome-keyring -homed -minimal -mktemp nullok -pam_krb5 -pam_ssh passwdqc -pwhistory -pwquality -securetty -selinux sha512 -sssd -systemd -yescrypt >sys-auth/passwdqc-2.0.3-r1:0 >sys-auth/polkit-124-r1:0 daemon duktape -examples -gtk introspection -kde pam -selinux -systemd -test >sys-boot/grub-2.12-r2:2/2.12-r2 -device-mapper -doc -efiemu fonts -grub_platforms_coreboot -grub_platforms_efi-32 -grub_platforms_efi-64 -grub_platforms_emu -grub_platforms_ieee1275 -grub_platforms_loongson -grub_platforms_multiboot grub_platforms_pc -grub_platforms_qemu -grub_platforms_qemu-mips -grub_platforms_uboot -grub_platforms_xen -grub_platforms_xen-32 -grub_platforms_xen-pvh -libzfs -mount nls -sdl -test themes -truetype -verify-sig >sys-devel/bc-1.07.1-r6:0 -libedit readline -static >sys-devel/binutils-2.42-r1:2.42 -cet -debuginfod -doc -gold -gprofng -hardened -multitarget nls -pgo plugins -static-libs -test -vanilla -zstd >sys-devel/binutils-config-5.5:0 native-symlinks >sys-devel/bison-3.8.2-r2:0 -examples nls -static -test -verify-sig >sys-devel/flex-2.6.4-r6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 nls -static -test >sys-devel/gcc-14.0.1_pre20240331:14 -ada -cet -custom-cflags cxx -d -debug -default-stack-clash-protection -default-znow -doc -fixed-point fortran -go graphite -hardened -ieee-long-double -jit -libssp lto -modula2 -multilib nls -objc -objc++ -objc-gc openmp -pch -pgo pie -rust sanitize ssp -systemtap -test -valgrind -vanilla -vtv -zstd >sys-devel/gcc-config-2.11:0 cc-wrappers native-symlinks >sys-devel/gettext-0.22.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 acl cxx -doc -emacs -git -java -java ncurses nls openmp -static-libs -verify-sig xattr >sys-devel/gnuconfig-20230731:0 >sys-devel/m4-1.4.19-r2:0 -examples nls -verify-sig >sys-devel/patch-2.7.6-r5:0 -static -test -verify-sig xattr >sys-firmware/edk2-ovmf-bin-202202:0 -secureboot >sys-firmware/ipxe-1.21.1:0 binary ipv6 -iso -lkrn qemu -savedconfig -uefi -undi -usb -vmware >sys-firmware/seabios-bin-1.16.0:0 >sys-firmware/sgabios-0.1_pre10:0 binary >sys-fs/e2fsprogs-1.47.0-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -cron -fuse nls -static-libs -test tools >sys-fs/mtools-4.0.43:0 -gui >sys-fs/udev-init-scripts-35:0 >sys-kernel/dracut-060_pre20240104-r4:0 -selinux -test >sys-kernel/gentoo-kernel-bin-6.1.83:6.1.83 initramfs -test >sys-kernel/installkernel-33:0 dracut -efistub -grub -refind -systemd -systemd-boot -uki -ukify >sys-kernel/linux-headers-6.8-r1:0 -headers-only >sys-libs/gdbm-1.23:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 berkdb nls readline -static-libs -test -verify-sig >sys-libs/glibc-2.39-r2:2.2 -audit -caps -cet -compile-locales -custom-cflags -doc -gd -hash-sysv-compat -headers-only multiarch -multilib -multilib-bootstrap -nscd -perl -profile -selinux ssp -stack-realign static-libs -suid -systemd -systemtap -test -vanilla >sys-libs/libcap-2.69-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 pam -static-libs -tools >sys-libs/libcap-ng-0.8.4-r1:0 -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -static-libs >sys-libs/libseccomp-2.5.5-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 debug -experimental-loong -python python_targets_python3_10 python_targets_python3_11 -static-libs -test >sys-libs/libxcrypt-4.4.36-r3:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 compat -headers-only -static-libs system -test >sys-libs/ncurses-6.4_p20230401:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -ada cxx debug -doc -gpm -minimal -profile split-usr -split-usr stack-realign -static-libs -test tinfo -trace -verify-sig >sys-libs/pam-1.5.3-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -audit -berkdb -debug filecaps -nis -selinux >sys-libs/readline-8.2_p10:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -static-libs unicode -utils -verify-sig >sys-libs/timezone-data-2024a-r1:0 -leaps-timezone nls -zic-slim >sys-libs/zlib-1.3.1-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 minizip -static-libs -verify-sig >sys-process/procps-4.0.4-r1:0/0-ng -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 elogind kill -modern-top ncurses nls -selinux -static-libs -systemd -test unicode >sys-process/psmisc-23.7:0 -X -apparmor nls -selinux -test >virtual/acl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -static-libs >virtual/dev-manager-0-r2:0 >virtual/dist-kernel-6.1.83:0/6.1.83 >virtual/editor-0-r7:0 >virtual/libc-1-r1:0 >virtual/libcrypt-2-r1:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -static-libs >virtual/libelf-3-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 >virtual/libiconv-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 >virtual/libintl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 >virtual/libudev-251-r2:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -systemd >virtual/man-0-r4:0 >virtual/openssh-0:0 ssl >virtual/os-headers-0-r2:0 >virtual/package-manager-1:0 >virtual/pager-0-r1:0 >virtual/perl-bignum-0.660.0:0 >virtual/perl-Carp-1.540.0:0 >virtual/perl-CPAN-2.360.0:0 >virtual/perl-CPAN-Meta-2.150.10-r7:0 >virtual/perl-CPAN-Meta-YAML-0.18.0-r9:0 >virtual/perl-Data-Dumper-2.188.0:0 >virtual/perl-Encode-3.190.0:0 >virtual/perl-Exporter-5.770.0-r1:0 >virtual/perl-ExtUtils-CBuilder-0.280.238:0 >virtual/perl-ExtUtils-Install-2.220.0:0 >virtual/perl-ExtUtils-MakeMaker-7.700.0:0 >virtual/perl-ExtUtils-Manifest-1.730.0-r2:0 >virtual/perl-ExtUtils-ParseXS-3.510.0:0 >virtual/perl-File-Path-2.180.0-r2:0 >virtual/perl-File-Spec-3.880.0:0 >virtual/perl-File-Temp-0.231.100:0 >virtual/perl-Getopt-Long-2.540.0:0 >virtual/perl-JSON-PP-4.160.0-r1:0 >virtual/perl-libnet-3.150.0:0 ssl >virtual/perl-Math-BigInt-1.999.842:0 >virtual/perl-Math-BigInt-FastCalc-0.501.300:0 >virtual/perl-Math-BigRat-0.262.400:0 >virtual/perl-Math-Complex-1.620.0:0 >virtual/perl-MIME-Base64-3.160.100_rc:0 >virtual/perl-Module-Metadata-1.0.37-r3:0 >virtual/perl-parent-0.241.0:0 >virtual/perl-Parse-CPAN-Meta-2.150.10-r7:0 >virtual/perl-Perl-OSType-1.10.0-r7:0 >virtual/perl-podlators-5.10.0:0 >virtual/perl-Scalar-List-Utils-1.630.0:0 >virtual/perl-Test-Harness-3.440.0-r1:0 >virtual/perl-Text-ParseWords-3.310.0-r1:0 >virtual/perl-Unicode-Collate-1.310.0-r1:0 >virtual/perl-version-0.992.900-r1:0 >virtual/pkgconfig-3:0 native-symlinks >virtual/service-manager-1-r1:0 >virtual/ssh-0-r2:0 -minimal >virtual/tmpfiles-0-r5:0 -systemd >virtual/ttf-fonts-1-r2:0 >virtual/udev-217-r7:0 -systemd >virtual/w3m-1:0 >www-client/pybugz-0.14:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >www-client/w3m-0.5.3_p20230121:0 -X -fbcon -gdk-pixbuf -gpm -imlib l10n_ja -lynxkeymap nls -nntp ssl unicode -xface >x11-base/xcb-proto-1.16.0:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >x11-base/xorg-proto-2024.1:0 -test >x11-libs/cairo-1.18.0:0 X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -aqua -debug glib -gtk-doc -test >x11-libs/libX11-1.8.8:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -doc -test >x11-libs/libXau-1.0.11:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -doc >x11-libs/libxcb-1.16.1:0/1.12 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -doc -doc -selinux -test xkb >x11-libs/libXdmcp-1.1.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXext-1.3.6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXrender-0.9.11:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 >x11-libs/pixman-0.43.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 -abi_x86_64 -abi_x86_x32 -cpu_flags_arm_iwmmxt -cpu_flags_arm_iwmmxt2 -cpu_flags_arm_neon -cpu_flags_ppc_altivec cpu_flags_x86_mmxext cpu_flags_x86_sse2 cpu_flags_x86_ssse3 -loongson2f -static-libs -test >x11-libs/xtrans-1.5.0:0 -doc >x11-misc/compose-tables-1.8.8:0 >x11-misc/grub2-theme-preview-2.8.0-r1:0 -grub_platforms_efi-64 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >x11-misc/shared-mime-info-2.4-r1:0 -test >x11-misc/xdg-utils-1.2.1-r1:0 -X -dbus -doc -gnome > > >############# ># build.log # >############# > > >>>> Unpacking source... >>>> Unpacking grub2-theme-preview-2.8.0.tar.gz to /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work >>>> Source unpacked in /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work >>>> Preparing source in /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0 ... > * Build system packages: > * dev-python/gpep517 : 15 > * dev-python/installer : 0.7.0 > * dev-python/setuptools : 69.2.0-r1 > * dev-python/setuptools-rust : > * dev-python/setuptools-scm : 8.0.4 > * dev-python/wheel : 0.43.0 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0 ... > * python3_10: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for grub2-theme-preview-2.8.0 via setuptools.build_meta:__legacy__ >python3.10 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/wheel >2024-04-02 23:33:46,981 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >2024-04-02 23:33:47,020 root INFO running bdist_wheel >2024-04-02 23:33:47,118 root INFO running build >2024-04-02 23:33:47,118 root INFO running build_py >2024-04-02 23:33:47,123 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build >2024-04-02 23:33:47,123 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib >2024-04-02 23:33:47,123 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib/grub2_theme_preview >2024-04-02 23:33:47,124 root INFO copying grub2_theme_preview/which.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib/grub2_theme_preview >2024-04-02 23:33:47,124 root INFO copying grub2_theme_preview/version.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib/grub2_theme_preview >2024-04-02 23:33:47,124 root INFO copying grub2_theme_preview/__main__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib/grub2_theme_preview >2024-04-02 23:33:47,125 root INFO copying grub2_theme_preview/__init__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib/grub2_theme_preview >2024-04-02 23:33:47,125 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib/grub2_theme_preview/tests >2024-04-02 23:33:47,125 root INFO copying grub2_theme_preview/tests/test_main.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib/grub2_theme_preview/tests >2024-04-02 23:33:47,125 root INFO copying grub2_theme_preview/tests/__init__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib/grub2_theme_preview/tests >2024-04-02 23:33:47,126 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2024-04-02 23:33:47,136 wheel INFO installing to /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686/wheel >2024-04-02 23:33:47,136 root INFO running install >2024-04-02 23:33:47,148 root INFO running install_lib >2024-04-02 23:33:47,152 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686 >2024-04-02 23:33:47,152 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686/wheel >2024-04-02 23:33:47,153 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:47,153 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686/wheel/grub2_theme_preview/tests >2024-04-02 23:33:47,153 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib/grub2_theme_preview/tests/__init__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686/wheel/grub2_theme_preview/tests >2024-04-02 23:33:47,153 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib/grub2_theme_preview/tests/test_main.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686/wheel/grub2_theme_preview/tests >2024-04-02 23:33:47,154 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib/grub2_theme_preview/__init__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:47,154 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib/grub2_theme_preview/__main__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:47,154 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib/grub2_theme_preview/version.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:47,155 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/lib/grub2_theme_preview/which.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:47,155 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2024-04-02 23:33:47,155 root INFO running install_egg_info >2024-04-02 23:33:47,161 root INFO running egg_info >2024-04-02 23:33:47,161 root INFO creating grub2_theme_preview.egg-info >2024-04-02 23:33:47,165 root INFO writing grub2_theme_preview.egg-info/PKG-INFO >2024-04-02 23:33:47,166 root INFO writing dependency_links to grub2_theme_preview.egg-info/dependency_links.txt >2024-04-02 23:33:47,166 root INFO writing entry points to grub2_theme_preview.egg-info/entry_points.txt >2024-04-02 23:33:47,166 root INFO writing top-level names to grub2_theme_preview.egg-info/top_level.txt >2024-04-02 23:33:47,167 root INFO writing manifest file 'grub2_theme_preview.egg-info/SOURCES.txt' >ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any >2024-04-02 23:33:47,191 root INFO reading manifest file 'grub2_theme_preview.egg-info/SOURCES.txt' >2024-04-02 23:33:47,192 root INFO writing manifest file 'grub2_theme_preview.egg-info/SOURCES.txt' >2024-04-02 23:33:47,192 root INFO Copying grub2_theme_preview.egg-info to /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686/wheel/grub2_theme_preview-2.8.0-py3.10.egg-info >2024-04-02 23:33:47,194 root INFO running install_scripts >2024-04-02 23:33:47,196 wheel INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686/wheel/grub2_theme_preview-2.8.0.dist-info/WHEEL >2024-04-02 23:33:47,197 wheel INFO creating '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/wheel/.tmp-mf701rq2/grub2_theme_preview-2.8.0-py3-none-any.whl' and adding '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686/wheel' to it >2024-04-02 23:33:47,197 wheel INFO adding 'grub2_theme_preview/__init__.py' >2024-04-02 23:33:47,198 wheel INFO adding 'grub2_theme_preview/__main__.py' >2024-04-02 23:33:47,198 wheel INFO adding 'grub2_theme_preview/version.py' >2024-04-02 23:33:47,198 wheel INFO adding 'grub2_theme_preview/which.py' >2024-04-02 23:33:47,198 wheel INFO adding 'grub2_theme_preview/tests/__init__.py' >2024-04-02 23:33:47,199 wheel INFO adding 'grub2_theme_preview/tests/test_main.py' >2024-04-02 23:33:47,199 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/METADATA' >2024-04-02 23:33:47,199 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/WHEEL' >2024-04-02 23:33:47,199 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/entry_points.txt' >2024-04-02 23:33:47,200 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/top_level.txt' >2024-04-02 23:33:47,200 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/RECORD' >2024-04-02 23:33:47,200 wheel INFO removing /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/build/bdist.linux-i686/wheel >2024-04-02 23:33:47,201 gpep517 INFO The backend produced /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/wheel/grub2_theme_preview-2.8.0-py3-none-any.whl > * Installing grub2_theme_preview-2.8.0-py3-none-any.whl to /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/install >python3.10 -m gpep517 install-wheel --destdir=/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/install --interpreter=/usr/bin/python3.10 --prefix=/usr --optimize=all /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/wheel/grub2_theme_preview-2.8.0-py3-none-any.whl >2024-04-02 23:33:47,314 gpep517 INFO Installing /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/wheel/grub2_theme_preview-2.8.0-py3-none-any.whl into /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/install >2024-04-02 23:33:47,339 gpep517 INFO Installation complete > * python3_11: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for grub2-theme-preview-2.8.0 via setuptools.build_meta:__legacy__ >python3.11 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/wheel >2024-04-02 23:33:47,661 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >2024-04-02 23:33:47,699 root INFO running bdist_wheel >2024-04-02 23:33:47,785 root INFO running build >2024-04-02 23:33:47,785 root INFO running build_py >2024-04-02 23:33:47,790 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build >2024-04-02 23:33:47,790 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib >2024-04-02 23:33:47,790 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib/grub2_theme_preview >2024-04-02 23:33:47,790 root INFO copying grub2_theme_preview/which.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib/grub2_theme_preview >2024-04-02 23:33:47,790 root INFO copying grub2_theme_preview/version.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib/grub2_theme_preview >2024-04-02 23:33:47,791 root INFO copying grub2_theme_preview/__main__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib/grub2_theme_preview >2024-04-02 23:33:47,791 root INFO copying grub2_theme_preview/__init__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib/grub2_theme_preview >2024-04-02 23:33:47,791 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib/grub2_theme_preview/tests >2024-04-02 23:33:47,791 root INFO copying grub2_theme_preview/tests/test_main.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib/grub2_theme_preview/tests >2024-04-02 23:33:47,792 root INFO copying grub2_theme_preview/tests/__init__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib/grub2_theme_preview/tests >2024-04-02 23:33:47,793 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2024-04-02 23:33:47,802 wheel INFO installing to /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686/wheel >2024-04-02 23:33:47,802 root INFO running install >2024-04-02 23:33:47,813 root INFO running install_lib >2024-04-02 23:33:47,818 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686 >2024-04-02 23:33:47,818 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686/wheel >2024-04-02 23:33:47,818 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:47,818 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686/wheel/grub2_theme_preview/tests >2024-04-02 23:33:47,818 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib/grub2_theme_preview/tests/__init__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686/wheel/grub2_theme_preview/tests >2024-04-02 23:33:47,819 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib/grub2_theme_preview/tests/test_main.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686/wheel/grub2_theme_preview/tests >2024-04-02 23:33:47,819 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib/grub2_theme_preview/__init__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:47,819 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib/grub2_theme_preview/__main__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:47,820 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib/grub2_theme_preview/version.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:47,820 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/lib/grub2_theme_preview/which.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:47,820 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2024-04-02 23:33:47,820 root INFO running install_egg_info >2024-04-02 23:33:47,826 root INFO running egg_info >2024-04-02 23:33:47,830 root INFO writing grub2_theme_preview.egg-info/PKG-INFO >2024-04-02 23:33:47,831 root INFO writing dependency_links to grub2_theme_preview.egg-info/dependency_links.txt >2024-04-02 23:33:47,831 root INFO writing entry points to grub2_theme_preview.egg-info/entry_points.txt >2024-04-02 23:33:47,831 root INFO writing top-level names to grub2_theme_preview.egg-info/top_level.txt >ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any >2024-04-02 23:33:47,854 root INFO reading manifest file 'grub2_theme_preview.egg-info/SOURCES.txt' >2024-04-02 23:33:47,856 root INFO writing manifest file 'grub2_theme_preview.egg-info/SOURCES.txt' >2024-04-02 23:33:47,856 root INFO Copying grub2_theme_preview.egg-info to /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686/wheel/grub2_theme_preview-2.8.0-py3.11.egg-info >2024-04-02 23:33:47,857 root INFO running install_scripts >2024-04-02 23:33:47,860 wheel INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686/wheel/grub2_theme_preview-2.8.0.dist-info/WHEEL >2024-04-02 23:33:47,861 wheel INFO creating '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/wheel/.tmp-gaoaduzi/grub2_theme_preview-2.8.0-py3-none-any.whl' and adding '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686/wheel' to it >2024-04-02 23:33:47,861 wheel INFO adding 'grub2_theme_preview/__init__.py' >2024-04-02 23:33:47,861 wheel INFO adding 'grub2_theme_preview/__main__.py' >2024-04-02 23:33:47,861 wheel INFO adding 'grub2_theme_preview/version.py' >2024-04-02 23:33:47,862 wheel INFO adding 'grub2_theme_preview/which.py' >2024-04-02 23:33:47,862 wheel INFO adding 'grub2_theme_preview/tests/__init__.py' >2024-04-02 23:33:47,862 wheel INFO adding 'grub2_theme_preview/tests/test_main.py' >2024-04-02 23:33:47,863 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/METADATA' >2024-04-02 23:33:47,863 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/WHEEL' >2024-04-02 23:33:47,863 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/entry_points.txt' >2024-04-02 23:33:47,863 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/top_level.txt' >2024-04-02 23:33:47,863 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/RECORD' >2024-04-02 23:33:47,864 wheel INFO removing /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/build/bdist.linux-i686/wheel >2024-04-02 23:33:47,865 gpep517 INFO The backend produced /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/wheel/grub2_theme_preview-2.8.0-py3-none-any.whl > * Installing grub2_theme_preview-2.8.0-py3-none-any.whl to /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/install >python3.11 -m gpep517 install-wheel --destdir=/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/install --interpreter=/usr/bin/python3.11 --prefix=/usr --optimize=all /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/wheel/grub2_theme_preview-2.8.0-py3-none-any.whl >2024-04-02 23:33:47,985 gpep517 INFO Installing /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/wheel/grub2_theme_preview-2.8.0-py3-none-any.whl into /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_11/install >2024-04-02 23:33:48,010 gpep517 INFO Installation complete > * python3_12: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for grub2-theme-preview-2.8.0 via setuptools.build_meta:__legacy__ >python3.12 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/wheel >2024-04-02 23:33:48,342 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >2024-04-02 23:33:48,391 root INFO running bdist_wheel >2024-04-02 23:33:48,492 root INFO running build >2024-04-02 23:33:48,493 root INFO running build_py >2024-04-02 23:33:48,500 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build >2024-04-02 23:33:48,500 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib >2024-04-02 23:33:48,500 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib/grub2_theme_preview >2024-04-02 23:33:48,500 root INFO copying grub2_theme_preview/which.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib/grub2_theme_preview >2024-04-02 23:33:48,500 root INFO copying grub2_theme_preview/version.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib/grub2_theme_preview >2024-04-02 23:33:48,501 root INFO copying grub2_theme_preview/__main__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib/grub2_theme_preview >2024-04-02 23:33:48,501 root INFO copying grub2_theme_preview/__init__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib/grub2_theme_preview >2024-04-02 23:33:48,501 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib/grub2_theme_preview/tests >2024-04-02 23:33:48,501 root INFO copying grub2_theme_preview/tests/test_main.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib/grub2_theme_preview/tests >2024-04-02 23:33:48,502 root INFO copying grub2_theme_preview/tests/__init__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib/grub2_theme_preview/tests >2024-04-02 23:33:48,503 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2024-04-02 23:33:48,516 wheel INFO installing to /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686/wheel >2024-04-02 23:33:48,516 root INFO running install >2024-04-02 23:33:48,530 root INFO running install_lib >2024-04-02 23:33:48,536 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686 >2024-04-02 23:33:48,537 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686/wheel >2024-04-02 23:33:48,537 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:48,537 root INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686/wheel/grub2_theme_preview/tests >2024-04-02 23:33:48,537 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib/grub2_theme_preview/tests/__init__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686/wheel/grub2_theme_preview/tests >2024-04-02 23:33:48,537 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib/grub2_theme_preview/tests/test_main.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686/wheel/grub2_theme_preview/tests >2024-04-02 23:33:48,538 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib/grub2_theme_preview/__init__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:48,538 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib/grub2_theme_preview/__main__.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:48,538 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib/grub2_theme_preview/version.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:48,539 root INFO copying /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/lib/grub2_theme_preview/which.py -> /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686/wheel/grub2_theme_preview >2024-04-02 23:33:48,539 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2024-04-02 23:33:48,539 root INFO running install_egg_info >2024-04-02 23:33:48,548 root INFO running egg_info >2024-04-02 23:33:48,553 root INFO writing grub2_theme_preview.egg-info/PKG-INFO >2024-04-02 23:33:48,554 root INFO writing dependency_links to grub2_theme_preview.egg-info/dependency_links.txt >2024-04-02 23:33:48,554 root INFO writing entry points to grub2_theme_preview.egg-info/entry_points.txt >2024-04-02 23:33:48,554 root INFO writing top-level names to grub2_theme_preview.egg-info/top_level.txt >ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any >2024-04-02 23:33:48,584 root INFO reading manifest file 'grub2_theme_preview.egg-info/SOURCES.txt' >2024-04-02 23:33:48,585 root INFO writing manifest file 'grub2_theme_preview.egg-info/SOURCES.txt' >2024-04-02 23:33:48,586 root INFO Copying grub2_theme_preview.egg-info to /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686/wheel/grub2_theme_preview-2.8.0-py3.12.egg-info >2024-04-02 23:33:48,587 root INFO running install_scripts >2024-04-02 23:33:48,590 wheel INFO creating /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686/wheel/grub2_theme_preview-2.8.0.dist-info/WHEEL >2024-04-02 23:33:48,591 wheel INFO creating '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/wheel/.tmp-_pqekxkc/grub2_theme_preview-2.8.0-py3-none-any.whl' and adding '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686/wheel' to it >2024-04-02 23:33:48,591 wheel INFO adding 'grub2_theme_preview/__init__.py' >2024-04-02 23:33:48,591 wheel INFO adding 'grub2_theme_preview/__main__.py' >2024-04-02 23:33:48,592 wheel INFO adding 'grub2_theme_preview/version.py' >2024-04-02 23:33:48,592 wheel INFO adding 'grub2_theme_preview/which.py' >2024-04-02 23:33:48,592 wheel INFO adding 'grub2_theme_preview/tests/__init__.py' >2024-04-02 23:33:48,592 wheel INFO adding 'grub2_theme_preview/tests/test_main.py' >2024-04-02 23:33:48,593 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/METADATA' >2024-04-02 23:33:48,593 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/WHEEL' >2024-04-02 23:33:48,593 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/entry_points.txt' >2024-04-02 23:33:48,593 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/top_level.txt' >2024-04-02 23:33:48,594 wheel INFO adding 'grub2_theme_preview-2.8.0.dist-info/RECORD' >2024-04-02 23:33:48,594 wheel INFO removing /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/build/bdist.linux-i686/wheel >2024-04-02 23:33:48,595 gpep517 INFO The backend produced /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/wheel/grub2_theme_preview-2.8.0-py3-none-any.whl > * Installing grub2_theme_preview-2.8.0-py3-none-any.whl to /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/install >python3.12 -m gpep517 install-wheel --destdir=/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/install --interpreter=/usr/bin/python3.12 --prefix=/usr --optimize=all /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/wheel/grub2_theme_preview-2.8.0-py3-none-any.whl >2024-04-02 23:33:48,735 gpep517 INFO Installing /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/wheel/grub2_theme_preview-2.8.0-py3-none-any.whl into /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_12/install >2024-04-02 23:33:48,765 gpep517 INFO Installation complete >>>> Source compiled. >>>> Test phase: x11-misc/grub2-theme-preview-2.8.0-r1 > * python3_10: running distutils-r1_run_phase python_test >python3.10 -m pytest -vv -ra -l -Wdefault -Werror::pytest.PytestUnhandledCoroutineWarning --color=yes -o console_output_style=count -o tmp_path_retention_count=0 -o tmp_path_retention_policy=failed -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:pytest-describe -p no:plus -p no:tavern -p no:salt-factories >============================= test session starts ============================== >platform linux -- Python 3.10.14, pytest-8.1.1, pluggy-1.4.0 -- /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0-python3_10/install/usr/bin/python3.10 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0 >collecting ... collected 20 items > >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stderr_0_with_resolution FAILED [ 1/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stderr_1_without_resolution FAILED [ 2/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stderr_2_with_timeout FAILED [ 3/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stderr_3_without_timeout FAILED [ 4/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_00_with_verbose FAILED [ 5/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_01_without_verbose FAILED [ 6/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_02_with_display FAILED [ 7/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_03_without_display FAILED [ 8/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_04_with_vga FAILED [ 9/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_05_without_vga FAILED [10/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_06_with_full_screen FAILED [11/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_07_without_full_screen FAILED [12/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_08_with_no_kvm FAILED [13/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_09_without_no_kvm FAILED [14/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_10_with_add FAILED [15/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_11_without_add FAILED [16/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_12_with_plain_rescue_image FAILED [17/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_13_without_plain_rescue_image FAILED [18/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_exception_handling_0_with_debug PASSED [19/20] >grub2_theme_preview/tests/test_main.py::CliTest::test_exception_handling_1_without_debug PASSED [20/20] > >=================================== FAILURES =================================== >____________ CliTest.test_argument_effect__stderr_0_with_resolution ____________ > >argv = [None, '--qemu', 'true', '--debug', '--resolution', '100x200', ...] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--debug', > '--resolution', > '100x200', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpiu9zns47'] >options = Namespace(grub_cfg=None, verbose=False, resolution=(100, 200), timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpiu9zns47', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=False, resolution=(100, 200), timeout_seconds=30, addition_requests=[], source='/var/...riso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpconxisr5' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpconxisr5/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpconxisr5/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > 'set gfxmode=100x200\n' > 'terminal_output gfxterm\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpiu9zns47' >options = Namespace(grub_cfg=None, verbose=False, resolution=(100, 200), timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpiu9zns47', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stderr_0_with_resolution>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stderr_0_with_resolution>,) >func = <function CliTest.test_argument_effect__stderr at 0xf6882a90> >kw = {} >p = param(*('with --resolution', ['--debug', '--resolution', '100x200'], 'set gfxmode=100x200', True), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:110: in test_argument_effect__stderr > main(argv) > _label = 'with --resolution' > argv = [None, > '--qemu', > 'true', > '--debug', > '--resolution', > '100x200', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpiu9zns47'] > extra_argv = ['--debug', '--resolution', '100x200'] > needed_expected = True > needle = 'set gfxmode=100x200' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stderr_0_with_resolution> > stderr = <_io.StringIO object at 0xf6882e80> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpiu9zns47' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--debug', '--resolution', '100x200', ...] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--debug', > '--resolution', > '100x200', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpiu9zns47'] >options = Namespace(grub_cfg=None, verbose=False, resolution=(100, 200), timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpiu9zns47', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >__________ CliTest.test_argument_effect__stderr_1_without_resolution ___________ > >argv = [None, '--qemu', 'true', '--debug', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpz_qp4ixj'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--debug', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpz_qp4ixj'] >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpz_qp4ixj', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/po...riso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp9npqfbll' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp9npqfbll/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp9npqfbll/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpz_qp4ixj' >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpz_qp4ixj', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stderr_1_without_resolution>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stderr_1_without_resolution>,) >func = <function CliTest.test_argument_effect__stderr at 0xf6882a90> >kw = {} >p = param(*('without --resolution', ['--debug'], 'set gfxmode=100x200', False), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:110: in test_argument_effect__stderr > main(argv) > _label = 'without --resolution' > argv = [None, > '--qemu', > 'true', > '--debug', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpz_qp4ixj'] > extra_argv = ['--debug'] > needed_expected = False > needle = 'set gfxmode=100x200' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stderr_1_without_resolution> > stderr = <_io.StringIO object at 0xf6856100> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpz_qp4ixj' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--debug', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpz_qp4ixj'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--debug', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpz_qp4ixj'] >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpz_qp4ixj', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >_____________ CliTest.test_argument_effect__stderr_2_with_timeout ______________ > >argv = [None, '--qemu', 'true', '--debug', '--timeout', '123', ...] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--debug', > '--timeout', > '123', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpzfcxx028'] >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=123, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpzfcxx028', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=123, addition_requests=[], source='/var/tmp/p...riso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpodco_dve' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpodco_dve/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpodco_dve/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=123\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpzfcxx028' >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=123, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpzfcxx028', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stderr_2_with_timeout>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stderr_2_with_timeout>,) >func = <function CliTest.test_argument_effect__stderr at 0xf6882a90> >kw = {} >p = param(*('with --timeout', ['--debug', '--timeout', '123'], 'set timeout=123', True), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:110: in test_argument_effect__stderr > main(argv) > _label = 'with --timeout' > argv = [None, > '--qemu', > 'true', > '--debug', > '--timeout', > '123', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpzfcxx028'] > extra_argv = ['--debug', '--timeout', '123'] > needed_expected = True > needle = 'set timeout=123' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stderr_2_with_timeout> > stderr = <_io.StringIO object at 0xf68564f0> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpzfcxx028' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--debug', '--timeout', '123', ...] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--debug', > '--timeout', > '123', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpzfcxx028'] >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=123, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpzfcxx028', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >____________ CliTest.test_argument_effect__stderr_3_without_timeout ____________ > >argv = [None, '--qemu', 'true', '--debug', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpexccueu5'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--debug', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpexccueu5'] >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpexccueu5', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/po...riso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpf202ii_3' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpf202ii_3/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpf202ii_3/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpexccueu5' >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpexccueu5', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stderr_3_without_timeout>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stderr_3_without_timeout>,) >func = <function CliTest.test_argument_effect__stderr at 0xf6882a90> >kw = {} >p = param(*('without --timeout', ['--debug'], 'set timeout=123', False), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:110: in test_argument_effect__stderr > main(argv) > _label = 'without --timeout' > argv = [None, > '--qemu', > 'true', > '--debug', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpexccueu5'] > extra_argv = ['--debug'] > needed_expected = False > needle = 'set timeout=123' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stderr_3_without_timeout> > stderr = <_io.StringIO object at 0xf79304f0> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpexccueu5' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--debug', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpexccueu5'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--debug', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpexccueu5'] >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpexccueu5', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=True, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >_____________ CliTest.test_argument_effect__stdout_00_with_verbose _____________ > >argv = [None, '--qemu', 'true', '--verbose', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp01yjsfin'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp01yjsfin'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp01yjsfin', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/por...iso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmprix3r787' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmprix3r787/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmprix3r787/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp01yjsfin' >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp01yjsfin', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_00_with_verbose>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_00_with_verbose>,) >func = <function CliTest.test_argument_effect__stdout at 0xf6882388> >kw = {} >p = param(*('with --verbose', ['--verbose'], '# true', True), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:93: in test_argument_effect__stdout > main(argv) > _label = 'with --verbose' > argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp01yjsfin'] > extra_argv = ['--verbose'] > needed_expected = True > needle = '# true' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_00_with_verbose> > stdout = <_io.StringIO object at 0xf6b04a48> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp01yjsfin' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--verbose', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp01yjsfin'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp01yjsfin'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp01yjsfin', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >___________ CliTest.test_argument_effect__stdout_01_without_verbose ____________ > >argv = [None, '--qemu', 'true', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqjcg4a3o'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqjcg4a3o'] >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqjcg4a3o', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/po...iso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpd99qfsix' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpd99qfsix/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpd99qfsix/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqjcg4a3o' >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqjcg4a3o', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_01_without_verbose>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_01_without_verbose>,) >func = <function CliTest.test_argument_effect__stdout at 0xf6882388> >kw = {} >p = param(*('without --verbose', [], '# true', False), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:93: in test_argument_effect__stdout > main(argv) > _label = 'without --verbose' > argv = [None, > '--qemu', > 'true', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqjcg4a3o'] > extra_argv = [] > needed_expected = False > needle = '# true' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_01_without_verbose> > stdout = <_io.StringIO object at 0xf6856970> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqjcg4a3o' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqjcg4a3o'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqjcg4a3o'] >options = Namespace(grub_cfg=None, verbose=False, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqjcg4a3o', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >_____________ CliTest.test_argument_effect__stdout_02_with_display _____________ > >argv = [None, '--qemu', 'true', '--verbose', '--display=sdl', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrjocc0j'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--verbose', > '--display=sdl', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrjocc0j'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrjocc0j', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display='sdl', qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/por...so', qemu_display='sdl', qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpmxvc54ah' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpmxvc54ah/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpmxvc54ah/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrjocc0j' >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrjocc0j', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display='sdl', qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_02_with_display>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_02_with_display>,) >func = <function CliTest.test_argument_effect__stdout at 0xf6882388> >kw = {} >p = param(*('with --display', ['--verbose', '--display=sdl'], '-display sdl', True), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:93: in test_argument_effect__stdout > main(argv) > _label = 'with --display' > argv = [None, > '--qemu', > 'true', > '--verbose', > '--display=sdl', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrjocc0j'] > extra_argv = ['--verbose', '--display=sdl'] > needed_expected = True > needle = '-display sdl' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_02_with_display> > stdout = <_io.StringIO object at 0xf68562b0> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrjocc0j' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--verbose', '--display=sdl', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrjocc0j'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--verbose', > '--display=sdl', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrjocc0j'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrjocc0j', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display='sdl', qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >___________ CliTest.test_argument_effect__stdout_03_without_display ____________ > >argv = [None, '--qemu', 'true', '--verbose', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpyp8fe6t8'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpyp8fe6t8'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpyp8fe6t8', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/por...iso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp5xm_sgpy' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp5xm_sgpy/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp5xm_sgpy/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpyp8fe6t8' >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpyp8fe6t8', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_03_without_display>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_03_without_display>,) >func = <function CliTest.test_argument_effect__stdout at 0xf6882388> >kw = {} >p = param(*('without --display', ['--verbose'], '-display sdl', False), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:93: in test_argument_effect__stdout > main(argv) > _label = 'without --display' > argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpyp8fe6t8'] > extra_argv = ['--verbose'] > needed_expected = False > needle = '-display sdl' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_03_without_display> > stdout = <_io.StringIO object at 0xf6882e80> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpyp8fe6t8' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--verbose', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpyp8fe6t8'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpyp8fe6t8'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpyp8fe6t8', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >_______________ CliTest.test_argument_effect__stdout_04_with_vga _______________ > >argv = [None, '--qemu', 'true', '--verbose', '--vga=virtio', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrqqoqzy'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--verbose', > '--vga=virtio', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrqqoqzy'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrqqoqzy', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga='virtio', debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/por..., qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga='virtio', debug=False, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp86turee_' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp86turee_/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp86turee_/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrqqoqzy' >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrqqoqzy', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga='virtio', debug=False, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_04_with_vga>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_04_with_vga>,) >func = <function CliTest.test_argument_effect__stdout at 0xf6882388> >kw = {} >p = param(*('with --vga', ['--verbose', '--vga=virtio'], '-vga virtio', True), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:93: in test_argument_effect__stdout > main(argv) > _label = 'with --vga' > argv = [None, > '--qemu', > 'true', > '--verbose', > '--vga=virtio', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrqqoqzy'] > extra_argv = ['--verbose', '--vga=virtio'] > needed_expected = True > needle = '-vga virtio' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_04_with_vga> > stdout = <_io.StringIO object at 0xf6856c88> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrqqoqzy' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--verbose', '--vga=virtio', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrqqoqzy'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--verbose', > '--vga=virtio', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrqqoqzy'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpqrqqoqzy', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga='virtio', debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >_____________ CliTest.test_argument_effect__stdout_05_without_vga ______________ > >argv = [None, '--qemu', 'true', '--verbose', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp3el7gs5u'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp3el7gs5u'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp3el7gs5u', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/por...iso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpwffkyzzw' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpwffkyzzw/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpwffkyzzw/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp3el7gs5u' >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp3el7gs5u', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_05_without_vga>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_05_without_vga>,) >func = <function CliTest.test_argument_effect__stdout at 0xf6882388> >kw = {} >p = param(*('without --vga', ['--verbose'], '-vga virtio', False), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:93: in test_argument_effect__stdout > main(argv) > _label = 'without --vga' > argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp3el7gs5u'] > extra_argv = ['--verbose'] > needed_expected = False > needle = '-vga virtio' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_05_without_vga> > stdout = <_io.StringIO object at 0xf63ee070> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp3el7gs5u' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--verbose', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp3el7gs5u'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp3el7gs5u'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp3el7gs5u', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >___________ CliTest.test_argument_effect__stdout_06_with_full_screen ___________ > >argv = [None, '--qemu', 'true', '--verbose', '--full-screen', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpp12vdjqh'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--verbose', > '--full-screen', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpp12vdjqh'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpp12vdjqh', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=True, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/por...riso', qemu_display=None, qemu_full_screen=True, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpefqc0qzo' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpefqc0qzo/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpefqc0qzo/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpp12vdjqh' >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpp12vdjqh', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=True, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_06_with_full_screen>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_06_with_full_screen>,) >func = <function CliTest.test_argument_effect__stdout at 0xf6882388> >kw = {} >p = param(*('with --full-screen', ['--verbose', '--full-screen'], '-full-screen', True), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:93: in test_argument_effect__stdout > main(argv) > _label = 'with --full-screen' > argv = [None, > '--qemu', > 'true', > '--verbose', > '--full-screen', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpp12vdjqh'] > extra_argv = ['--verbose', '--full-screen'] > needed_expected = True > needle = '-full-screen' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_06_with_full_screen> > stdout = <_io.StringIO object at 0xf6856928> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpp12vdjqh' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--verbose', '--full-screen', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpp12vdjqh'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--verbose', > '--full-screen', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpp12vdjqh'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpp12vdjqh', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=True, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >_________ CliTest.test_argument_effect__stdout_07_without_full_screen __________ > >argv = [None, '--qemu', 'true', '--verbose', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp27ouanyz'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp27ouanyz'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp27ouanyz', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/por...iso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp7esi_8sf' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp7esi_8sf/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp7esi_8sf/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp27ouanyz' >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp27ouanyz', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_07_without_full_screen>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_07_without_full_screen>,) >func = <function CliTest.test_argument_effect__stdout at 0xf6882388> >kw = {} >p = param(*('without --full-screen', ['--verbose'], '-full-screen', False), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:93: in test_argument_effect__stdout > main(argv) > _label = 'without --full-screen' > argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp27ouanyz'] > extra_argv = ['--verbose'] > needed_expected = False > needle = '-full-screen' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_07_without_full_screen> > stdout = <_io.StringIO object at 0xf6856418> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp27ouanyz' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--verbose', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp27ouanyz'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp27ouanyz'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp27ouanyz', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >_____________ CliTest.test_argument_effect__stdout_08_with_no_kvm ______________ > >argv = [None, '--qemu', 'true', '--verbose', '--no-kvm', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpu5fosezp'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--verbose', > '--no-kvm', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpu5fosezp'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpu5fosezp', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=False, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/por...so', qemu_display=None, qemu_full_screen=False, enable_kvm=False, qemu_vga=None, debug=False, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmphshyqay_' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmphshyqay_/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmphshyqay_/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpu5fosezp' >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpu5fosezp', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=False, qemu_vga=None, debug=False, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_08_with_no_kvm>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_08_with_no_kvm>,) >func = <function CliTest.test_argument_effect__stdout at 0xf6882388> >kw = {} >p = param(*('with --no-kvm', ['--verbose', '--no-kvm'], '-enable-kvm', False), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:93: in test_argument_effect__stdout > main(argv) > _label = 'with --no-kvm' > argv = [None, > '--qemu', > 'true', > '--verbose', > '--no-kvm', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpu5fosezp'] > extra_argv = ['--verbose', '--no-kvm'] > needed_expected = False > needle = '-enable-kvm' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_08_with_no_kvm> > stdout = <_io.StringIO object at 0xf63a3850> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpu5fosezp' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--verbose', '--no-kvm', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpu5fosezp'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--verbose', > '--no-kvm', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpu5fosezp'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpu5fosezp', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=False, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >____________ CliTest.test_argument_effect__stdout_09_without_no_kvm ____________ > >argv = [None, '--qemu', 'true', '--verbose', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptvcdhy39'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptvcdhy39'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptvcdhy39', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/por...iso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpmdnnz60k' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpmdnnz60k/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpmdnnz60k/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptvcdhy39' >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptvcdhy39', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_09_without_no_kvm>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_09_without_no_kvm>,) >func = <function CliTest.test_argument_effect__stdout at 0xf6882388> >kw = {} >p = param(*('without --no-kvm', ['--verbose'], '-enable-kvm', True), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:93: in test_argument_effect__stdout > main(argv) > _label = 'without --no-kvm' > argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptvcdhy39'] > extra_argv = ['--verbose'] > needed_expected = True > needle = '-enable-kvm' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_09_without_no_kvm> > stdout = <_io.StringIO object at 0xf68d75c8> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptvcdhy39' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--verbose', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptvcdhy39'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptvcdhy39'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptvcdhy39', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >_______________ CliTest.test_argument_effect__stdout_10_with_add _______________ > >argv = [None, '--qemu', 'true', '--verbose', '--add', 'foo1=/bar1', ...] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--verbose', > '--add', > 'foo1=/bar1', > '--add', > 'foo2=/bar2', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptqqdbu9r'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=['foo1=/bar1', 'foo2=/bar2'], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptqqdbu9r', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=['foo1=/bar1', 'foo2=/ba...iso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpx008wopf' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpx008wopf/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpx008wopf/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptqqdbu9r' >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=['foo1=/bar1', 'foo2=/bar2'], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptqqdbu9r', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_10_with_add>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_10_with_add>,) >func = <function CliTest.test_argument_effect__stdout at 0xf6882388> >kw = {} >p = param(*('with --add', ['--verbose', '--add', 'foo1=/bar1', '--add', 'foo2=/bar2'], ' foo1=/bar1 foo2=/bar2', True), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:93: in test_argument_effect__stdout > main(argv) > _label = 'with --add' > argv = [None, > '--qemu', > 'true', > '--verbose', > '--add', > 'foo1=/bar1', > '--add', > 'foo2=/bar2', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptqqdbu9r'] > extra_argv = ['--verbose', '--add', 'foo1=/bar1', '--add', 'foo2=/bar2'] > needed_expected = True > needle = ' foo1=/bar1 foo2=/bar2' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_10_with_add> > stdout = <_io.StringIO object at 0xf63eea90> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptqqdbu9r' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--verbose', '--add', 'foo1=/bar1', ...] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--verbose', > '--add', > 'foo1=/bar1', > '--add', > 'foo2=/bar2', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptqqdbu9r'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=['foo1=/bar1', 'foo2=/bar2'], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmptqqdbu9r', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >_____________ CliTest.test_argument_effect__stdout_11_without_add ______________ > >argv = [None, '--qemu', 'true', '--verbose', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp_e18erpo'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp_e18erpo'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp_e18erpo', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/por...iso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp7syfv675' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp7syfv675/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp7syfv675/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp_e18erpo' >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp_e18erpo', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_11_without_add>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_11_without_add>,) >func = <function CliTest.test_argument_effect__stdout at 0xf6882388> >kw = {} >p = param(*('without --add', ['--verbose'], ' foo1=/bar1 foo2=/bar2', False), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:93: in test_argument_effect__stdout > main(argv) > _label = 'without --add' > argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp_e18erpo'] > extra_argv = ['--verbose'] > needed_expected = False > needle = ' foo1=/bar1 foo2=/bar2' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_11_without_add> > stdout = <_io.StringIO object at 0xf63a3b20> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp_e18erpo' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--verbose', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp_e18erpo'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp_e18erpo'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp_e18erpo', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >_______ CliTest.test_argument_effect__stdout_12_with_plain_rescue_image ________ > >argv = [None, '--qemu', 'true', '--verbose', '--plain-rescue-image', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpbiviiu7u'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--verbose', > '--plain-rescue-image', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpbiviiu7u'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpbiviiu7u', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=True) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/por...riso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=True) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp_ehys_xl' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp_ehys_xl/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmp_ehys_xl/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpbiviiu7u' >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpbiviiu7u', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=True) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_12_with_plain_rescue_image>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_12_with_plain_rescue_image>,) >func = <function CliTest.test_argument_effect__stdout at 0xf6882388> >kw = {} >p = param(*('with --plain-rescue-image', ['--verbose', '--plain-rescue-image'], ' boot/grub/grub.cfg=', False), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:93: in test_argument_effect__stdout > main(argv) > _label = 'with --plain-rescue-image' > argv = [None, > '--qemu', > 'true', > '--verbose', > '--plain-rescue-image', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpbiviiu7u'] > extra_argv = ['--verbose', '--plain-rescue-image'] > needed_expected = False > needle = ' boot/grub/grub.cfg=' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_12_with_plain_rescue_image> > stdout = <_io.StringIO object at 0xf63a3418> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpbiviiu7u' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--verbose', '--plain-rescue-image', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpbiviiu7u'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--verbose', > '--plain-rescue-image', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpbiviiu7u'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpbiviiu7u', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=True) > >grub2_theme_preview/__main__.py:566: SystemExit >______ CliTest.test_argument_effect__stdout_13_without_plain_rescue_image ______ > >argv = [None, '--qemu', 'true', '--verbose', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpck5g7enj'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: >> _inner_main(options) > >argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpck5g7enj'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpck5g7enj', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:559: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/por...iso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > > def _inner_main(options): > for command, package in ( > (options.grub2_mkrescue, 'Grub 2.x'), > ('mcopy', 'mtools'), # see issue #8 > ('mformat', 'mtools'), # see issue #8 > (options.qemu, 'KVM/QEMU'), > (options.xorriso, 'libisoburn'), > ): > try: > which(command) > except OSError: > raise _CommandNotFoundException(command, package) > > normalized_source = os.path.normpath(os.path.abspath(options.source)) > > source_type = _classify_source(options.source) > > if source_type != _SourceType.DIRECTORY: > font_files_to_load = [] > else: > font_files_to_load = list(iterate_pf2_files_relative(normalized_source)) > > abs_grub_cfg_or_none = options.grub_cfg and os.path.abspath(options.grub_cfg) > grub_cfg_content = _make_final_grub_cfg_content( > source_type, > abs_grub_cfg_or_none, > options.resolution, > font_files_to_load, > options.timeout_seconds, > ) > if options.debug: > _dump_grub_cfg_content(grub_cfg_content, target=sys.stderr) > > abs_tmp_folder = tempfile.mkdtemp() > try: > abs_tmp_grub_cfg_file = os.path.join(abs_tmp_folder, 'grub.cfg') > with open(abs_tmp_grub_cfg_file, 'w') as f: > f.write(grub_cfg_content) > > grub2_platform = _grub2_platform() > grub2_platform_directory = _grub2_directory(grub2_platform) > if not os.path.exists(grub2_platform_directory): >> raise OSError(errno.ENOENT, > 'GRUB platform directory "%s" not found' % grub2_platform_directory) >E FileNotFoundError: [Errno 2] GRUB platform directory "/usr/lib/grub/i686-efi" not found > >abs_grub_cfg_or_none = None >abs_tmp_folder = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpk5co5fpk' >abs_tmp_grub_cfg_file = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpk5co5fpk/grub.cfg' >command = 'xorriso' >f = <_io.TextIOWrapper name='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpk5co5fpk/grub.cfg' mode='w' encoding='UTF-8'> >font_files_to_load = [] >grub2_platform = 'i686-efi' >grub2_platform_directory = '/usr/lib/grub/i686-efi' >grub_cfg_content = ('loadfont $prefix/fonts/unicode.pf2\n' > 'insmod all_video\n' > 'insmod gfxterm\n' > 'insmod png\n' > 'insmod tga\n' > 'insmod jpeg\n' > '\n' > "menuentry 'Debian' --class debian --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > "menuentry 'Gentoo' --class gentoo --class gnu-linux --class linux --class " > 'gnu --class os {\n' > ' reboot\n' > '}\n' > '\n' > 'menuentry "Memtest86+" --class memtest {\n' > ' reboot\n' > '}\n' > '\n' > "submenu 'Reboot / Shutdown' --class shutdown {\n" > ' menuentry Reboot --class restart { reboot }\n' > ' menuentry Shutdown --class shutdown { halt }\n' > '}\n' > '\n' > 'set default=0\n' > 'set timeout=30\n' > 'terminal_output gfxterm\n' > 'set theme=$prefix/themes/DEMO/theme.txt') >normalized_source = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpck5g7enj' >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpck5g7enj', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) >package = 'libisoburn' >source_type = <_SourceType.DIRECTORY: 1> > >grub2_theme_preview/__main__.py:453: FileNotFoundError > >During handling of the above exception, another exception occurred: > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_13_without_plain_rescue_image>,) >kw = {} > > @wraps(func) > def standalone_func(*a, **kw): >> return func(*(a + p.args), **p.kwargs, **kw) > >a = (<grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_13_without_plain_rescue_image>,) >func = <function CliTest.test_argument_effect__stdout at 0xf6882388> >kw = {} >p = param(*('without --plain-rescue-image', ['--verbose'], ' boot/grub/grub.cfg=', True), **{}) > >/usr/lib/python3.10/site-packages/parameterized/parameterized.py:620: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >grub2_theme_preview/tests/test_main.py:93: in test_argument_effect__stdout > main(argv) > _label = 'without --plain-rescue-image' > argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpck5g7enj'] > extra_argv = ['--verbose'] > needed_expected = True > needle = ' boot/grub/grub.cfg=' > self = <grub2_theme_preview.tests.test_main.CliTest testMethod=test_argument_effect__stdout_13_without_plain_rescue_image> > stdout = <_io.StringIO object at 0xf63a36a0> > tempdir = '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpck5g7enj' >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >argv = [None, '--qemu', 'true', '--verbose', '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpck5g7enj'] > > def main(argv=None): > if argv is None: > argv = sys.argv > > try: > options = parse_command_line(argv) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > > try: > _inner_main(options) > except KeyboardInterrupt: > sys.exit(_KILL_BY_SIGNAL + signal.SIGINT) > except BaseException as e: > if options.debug: > traceback.print_exc() > print('ERROR: %s' % str(e), file=sys.stderr) >> sys.exit(1) >E SystemExit: 1 > >argv = [None, > '--qemu', > 'true', > '--verbose', > '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpck5g7enj'] >options = Namespace(grub_cfg=None, verbose=True, resolution=None, timeout_seconds=30, addition_requests=[], source='/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/tmpck5g7enj', grub2_mkrescue='grub2-mkrescue', qemu='true', xorriso='xorriso', qemu_display=None, qemu_full_screen=False, enable_kvm=True, qemu_vga=None, debug=False, plain_rescue_image=False) > >grub2_theme_preview/__main__.py:566: SystemExit >=========================== short test summary info ============================ >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stderr_0_with_resolution - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stderr_1_without_resolution - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stderr_2_with_timeout - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stderr_3_without_timeout - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_00_with_verbose - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_01_without_verbose - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_02_with_display - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_03_without_display - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_04_with_vga - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_05_without_vga - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_06_with_full_screen - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_07_without_full_screen - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_08_with_no_kvm - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_09_without_no_kvm - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_10_with_add - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_11_without_add - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_12_with_plain_rescue_image - SystemExit: 1 >FAILED grub2_theme_preview/tests/test_main.py::CliTest::test_argument_effect__stdout_13_without_plain_rescue_image - SystemExit: 1 >========================= 18 failed, 2 passed in 0.71s ========================= > * ERROR: x11-misc/grub2-theme-preview-2.8.0-r1::gentoo failed (test phase): > * pytest failed with python3.10 > * > * Call stack: > * ebuild.sh, line 136: Called src_test > * environment, line 3965: Called distutils-r1_src_test > * environment, line 1908: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 733: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3570: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 3035: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 3033: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 1165: Called distutils-r1_run_phase 'python_test' > * environment, line 1831: Called python_test > * environment, line 3852: Called distutils-r1_python_test > * environment, line 1769: Called epytest > * environment, line 2457: Called die > * The specific snippet of code: > * "${@}" || die -n "pytest failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=x11-misc/grub2-theme-preview-2.8.0-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=x11-misc/grub2-theme-preview-2.8.0-r1::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/x11-misc/grub2-theme-preview-2.8.0-r1:20240402-213343.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/temp/environment'. > * Working directory: '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0' > * S: '/var/tmp/portage/x11-misc/grub2-theme-preview-2.8.0-r1/work/grub2-theme-preview-2.8.0' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 928490
: 889342