Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Forty-Bot/9546714b10b9b4e9696c134dcf71c53e to your computer and use it in GitHub Desktop.

Select an option

Save Forty-Bot/9546714b10b9b4e9696c134dcf71c53e to your computer and use it in GitHub Desktop.
[sean@godwin u-boot]$ git checkout 8d5d3bc
HEAD is now at 8d5d3bcf3c Merge branch '2020-04-16-master-imports'
[sean@godwin u-boot]$ make clean
CLEAN examples/standalone
CLEAN tools
CLEAN tools/lib tools/common
CLEAN spl/arch spl/board spl/cmd spl/common spl/disk spl/drivers spl/dts spl/env spl/fs spl/lib spl/u-boot.cfg spl/u-boot-spl spl/u-boot-spl.bin spl/u-boot-spl.lds spl/u-boot-spl.map spl/u-boot-spl-nodtb.bin
CLEAN u-boot u-boot.bin u-boot.cfg u-boot.cfg.configs u-boot.img u-boot.itb u-boot.its u-boot.lds u-boot.map u-boot-nodtb.bin u-boot.srec u-boot.sym System.map
[sean@godwin u-boot]$ make qemu-riscv64_spl_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
[sean@godwin u-boot]$ OPENSBI=/tmp/opensbi-0.6-rv32-bin/platform/qemu/virt/firmware/fw_dynamic.bin CROSS_COMPILE=riscv64-linux-gnu- make -j
scripts/kconfig/conf --syncconfig Kconfig
CFG u-boot.cfg
GEN include/autoconf.mk.dep
CFG spl/u-boot.cfg
GEN include/autoconf.mk
GEN spl/include/autoconf.mk
UPD include/generated/timestamp_autogenerated.h
./"arch/riscv/lib/mkimage_fit_opensbi.sh" \
> u-boot.its
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/data.o
HOSTCC scripts/dtc/fstree.o
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/util.o
LEX scripts/dtc/dtc-lexer.lex.c
YACC scripts/dtc/dtc-parser.tab.h
YACC scripts/dtc/dtc-parser.tab.c
HOSTCC scripts/dtc/dtc-parser.tab.o
CC lib/asm-offsets.s
CC arch/riscv/lib/asm-offsets.s
HOSTCC scripts/dtc/dtc-lexer.lex.o
LDS u-boot.lds
HOSTLD scripts/dtc/dtc
HOSTCC tools/gen_eth_addr
HOSTCC tools/gen_ethaddr_crc.o
WRAP tools/lib/crc8.c
HOSTCC tools/img2srec
HOSTCC tools/mkenvimage.o
HOSTCC tools/os_support.o
WRAP tools/lib/crc32.c
HOSTCC tools/aisimage.o
HOSTCC tools/atmelimage.o
HOSTCC tools/fit_common.o
HOSTCC tools/fit_image.o
HOSTCC tools/image-host.o
WRAP tools/common/image-fit.c
WRAP tools/common/bootm.c
HOSTCC tools/lib/crc32.o
HOSTCC tools/default_image.o
WRAP tools/lib/fdtdec_common.c
WRAP tools/lib/fdtdec.c
WRAP tools/common/image.c
HOSTCC tools/imagetool.o
HOSTCC tools/imximage.o
HOSTCC tools/imx8image.o
HOSTCC tools/imx8mimage.o
HOSTCC tools/kwbimage.o
WRAP tools/lib/md5.c
HOSTCC tools/lpc32xximage.o
HOSTCC tools/mxsimage.o
HOSTCC tools/omapimage.o
HOSTCC tools/pblimage.o
HOSTCC tools/pbl_crc32.o
HOSTCC tools/vybridimage.o
HOSTCC tools/stm32image.o
WRAP tools/lib/rc4.c
HOSTCC tools/rkcommon.o
HOSTCC tools/rkimage.o
HOSTCC tools/rksd.o
HOSTCC tools/rkspi.o
HOSTCC tools/socfpgaimage.o
WRAP tools/lib/crc16.c
WRAP tools/lib/sha1.c
WRAP tools/lib/sha256.c
WRAP tools/common/hash.c
HOSTCC tools/ublimage.o
HOSTCC tools/zynqimage.o
HOSTCC tools/zynqmpimage.o
HOSTCC tools/zynqmpbif.o
HOSTCC tools/libfdt/fdt_wip.o
HOSTCC tools/libfdt/fdt.o
HOSTCC tools/libfdt/fdt_sw.o
HOSTCC tools/libfdt/fdt_rw.o
HOSTCC tools/libfdt/fdt_strerror.o
HOSTCC tools/libfdt/fdt_empty_tree.o
HOSTCC tools/libfdt/fdt_addresses.o
HOSTCC tools/libfdt/fdt_overlay.o
WRAP tools/lib/libfdt/fdt_ro.c
WRAP tools/lib/libfdt/fdt_region.c
HOSTCC tools/gpimage.o
HOSTCC tools/gpimage-common.o
HOSTCC tools/mtk_image.o
HOSTCC tools/dumpimage.o
HOSTCC tools/common/image-fit.o
HOSTCC tools/common/bootm.o
HOSTCC tools/lib/fdtdec_common.o
HOSTCC tools/lib/fdtdec.o
HOSTCC tools/common/image.o
HOSTCC tools/lib/md5.o
HOSTCC tools/lib/rc4.o
HOSTCC tools/lib/crc16.o
HOSTCC tools/lib/sha1.o
HOSTCC tools/lib/sha256.o
HOSTCC tools/common/hash.o
HOSTCC tools/lib/libfdt/fdt_ro.o
HOSTCC tools/lib/libfdt/fdt_region.o
HOSTCC tools/mkimage.o
HOSTCC tools/proftool
HOSTCC tools/prelink-riscv
HOSTCC tools/fdtgrep.o
HOSTCC tools/spl_size_limit
HOSTCC tools/lib/crc8.o
HOSTLD tools/mkenvimage
HOSTLD tools/gen_ethaddr_crc
HOSTLD tools/fdtgrep
HOSTLD tools/dumpimage
HOSTLD tools/mkimage
CC arch/riscv/cpu/cpu.o
AS arch/riscv/cpu/mtrap.o
AS arch/riscv/cpu/start.o
CC arch/riscv/cpu/generic/dram.o
CC arch/riscv/cpu/generic/cpu.o
CC board/emulation/qemu-riscv/qemu-riscv.o
CC arch/riscv/lib/bootm.o
CC arch/riscv/lib/image.o
CC arch/riscv/lib/cache.o
CC arch/riscv/lib/rdtime.o
CC arch/riscv/lib/boot.o
CC arch/riscv/lib/sbi.o
CC arch/riscv/lib/sbi_ipi.o
CC arch/riscv/lib/interrupts.o
CC arch/riscv/lib/reset.o
AS arch/riscv/lib/setjmp.o
LD arch/riscv/cpu/built-in.o
LD arch/riscv/cpu/generic/built-in.o
CC arch/riscv/lib/smp.o
AS arch/riscv/lib/crt0_riscv_efi.o
LD board/emulation/qemu-riscv/built-in.o
CC arch/riscv/lib/reloc_riscv_efi.o
CC disk/part.o
CC disk/part_iso.o
CC disk/part_dos.o
CC disk/part_efi.o
LD drivers/gpio/built-in.o
LD drivers/dma/ti/built-in.o
LD drivers/dma/built-in.o
LD drivers/i2c/built-in.o
LD arch/riscv/lib/built-in.o
LD drivers/power/built-in.o
LD drivers/net/phy/built-in.o
LD drivers/net/ti/built-in.o
CC drivers/net/e1000.o
LD drivers/net/mscc_eswitch/built-in.o
LD drivers/power/battery/built-in.o
LD drivers/power/fuel_gauge/built-in.o
LD drivers/power/domain/built-in.o
LD drivers/power/mfd/built-in.o
LD drivers/power/pmic/built-in.o
LD drivers/power/regulator/built-in.o
CC common/main.o
CC common/exports.o
CC common/hash.o
CC common/cli_hush.o
CC common/autoboot.o
CC common/board_f.o
CC common/board_r.o
CC common/board_info.o
CC cmd/boot.o
CC cmd/bootm.o
CC cmd/help.o
CC common/bootm.o
CC common/init/board_init.o
LD cmd/riscv/built-in.o
CC cmd/version.o
CC common/fdt_support.o
CC cmd/blk_common.o
CC common/bootm_os.o
CC common/splash.o
CC cmd/source.o
CC cmd/bdinfo.o
CC common/menu.o
CC cmd/blkcache.o
CC common/cli_readline.o
CC cmd/bootefi.o
CC common/cli_simple.o
CC drivers/serial/serial-uclass.o
CC common/console.o
CC drivers/spi/spi.o
CC cmd/booti.o
CC common/dlmalloc.o
CC drivers/serial/ns16550.o
CC cmd/console.o
CC common/malloc_simple.o
CC cmd/cpu.o
LD drivers/usb/cdns3/built-in.o
CC common/image-fdt.o
CC common/image.o
CC drivers/serial/serial_sifive.o
CC cmd/dm.o
CC common/image-fit.o
CC cmd/echo.o
CC common/memsize.o
LD drivers/usb/common/built-in.o
CC common/stdio.o
CC cmd/elf.o
CC cmd/exit.o
CC cmd/ext4.o
CC common/cli.o
CC common/command.o
CC common/s_record.o
CC cmd/ext2.o
CC common/xyzModem.o
LD drivers/usb/dwc3/built-in.o
CC cmd/fat.o
CC cmd/fdt.o
CC cmd/flash.o
CC cmd/fs.o
LD drivers/usb/emul/built-in.o
CC cmd/itest.o
LD drivers/adc/built-in.o
CC cmd/load.o
CC cmd/mem.o
LD drivers/ata/built-in.o
CC cmd/misc.o
LD drivers/usb/eth/built-in.o
LD common/init/built-in.o
CC cmd/net.o
LD drivers/axi/built-in.o
CC cmd/part.o
LD drivers/cache/built-in.o
CC cmd/pxe.o
LD disk/built-in.o
CC drivers/block/blk-uclass.o
CC cmd/pci.o
CC drivers/block/blkcache.o
LD drivers/usb/host/built-in.o
LD drivers/spi/built-in.o
CC cmd/pxe_utils.o
CC cmd/nvme.o
CC cmd/setexpr.o
LD drivers/dfu/built-in.o
CC cmd/sysboot.o
CC drivers/input/key_matrix.o
LD drivers/mailbox/built-in.o
CC drivers/cpu/cpu-uclass.o
CC drivers/cpu/riscv_cpu.o
CC cmd/test.o
CC cmd/unzip.o
CC cmd/virtio.o
LD drivers/memory/built-in.o
CC cmd/lzmadec.o
LD drivers/misc/built-in.o
CC drivers/crypto/fsl/sec.o
CC cmd/ximg.o
LD drivers/crypto/rsa_mod_exp/built-in.o
LD drivers/usb/phy/built-in.o
CC cmd/nvedit.o
LD drivers/phy/allwinner/built-in.o
LD drivers/phy/marvell/built-in.o
LD drivers/usb/musb/built-in.o
LD drivers/usb/ulpi/built-in.o
LD drivers/reset/built-in.o
LD drivers/pwm/built-in.o
CC drivers/nvme/nvme-uclass.o
LD drivers/scsi/built-in.o
CC drivers/nvme/nvme.o
CC drivers/nvme/nvme_show.o
LD drivers/soc/built-in.o
LD drivers/spmi/built-in.o
CC drivers/rtc/rtc-lib.o
LD drivers/smem/built-in.o
LD drivers/clk/analogbits/built-in.o
LD drivers/mtd/nand/built-in.o
CC drivers/clk/clk-uclass.o
LD drivers/sound/built-in.o
LD drivers/clk/imx/built-in.o
CC drivers/mtd/mtd_uboot.o
LD drivers/clk/tegra/built-in.o
CC drivers/mtd/mtdcore.o
LD drivers/thermal/built-in.o
CC drivers/pci/pci-uclass.o
LD drivers/ufs/built-in.o
CC drivers/clk/clk_fixed_rate.o
CC drivers/mtd/mtd-uclass.o
LD drivers/mtd/onenand/built-in.o
CC drivers/clk/clk_fixed_factor.o
CC drivers/pci/pci_auto.o
LD drivers/mtd/spi/built-in.o
LD drivers/watchdog/built-in.o
CC drivers/timer/timer-uclass.o
LD drivers/video/bridge/built-in.o
CC drivers/pci/pcie_ecam_generic.o
LD drivers/usb/musb-new/built-in.o
CC drivers/timer/riscv_timer.o
CC drivers/pci/pci_auto_common.o
CC drivers/pci/pci_common.o
CC fs/fs.o
CC drivers/core/device.o
CC fs/fs_internal.o
LD drivers/video/sunxi/built-in.o
CC drivers/core/lists.o
CC drivers/core/fdtaddr.o
CC fs/fat/fat.o
CC drivers/core/root.o
CC drivers/core/uclass.o
CC fs/ext4/ext4fs.o
LD drivers/crypto/fsl/built-in.o
CC drivers/core/util.o
CC drivers/core/simple-bus.o
LD drivers/video/built-in.o
CC fs/ext4/ext4_common.o
CC drivers/core/device-remove.o
CC fs/ext4/dev.o
CC drivers/core/dump.o
CC drivers/core/regmap.o
CC drivers/core/syscon-uclass.o
CC env/env.o
CC env/common.o
LD drivers/crypto/built-in.o
CC drivers/core/of_extra.o
CC env/attr.o
CC env/flags.o
CC env/callback.o
CC drivers/virtio/virtio_ring.o
CC drivers/virtio/virtio-uclass.o
CC drivers/core/ofnode.o
LD drivers/cpu/built-in.o
CC drivers/core/read_extra.o
CC env/nowhere.o
CC drivers/virtio/virtio_mmio.o
CC drivers/virtio/virtio_pci_legacy.o
CC net/arp.o
CC drivers/virtio/virtio_pci_modern.o
CC spl/common/init/board_init.o
CC spl/board/emulation/qemu-riscv/qemu-riscv.o
CC net/bootp.o
CC spl/arch/riscv/cpu/generic/dram.o
CC drivers/virtio/virtio_net.o
AS spl/arch/riscv/cpu/mtrap.o
CC spl/arch/riscv/cpu/generic/cpu.o
CC spl/arch/riscv/cpu/cpu.o
CC net/eth-uclass.o
AS spl/arch/riscv/cpu/start.o
CC net/eth_common.o
CC drivers/virtio/virtio_blk.o
CC net/net.o
CC spl/cmd/nvedit.o
CC net/nfs.o
CC spl/common/spl/spl_fit.o
LD drivers/input/built-in.o
CC net/ping.o
CC spl/common/spl/spl_opensbi.o
CC spl/common/spl/spl.o
CC net/tftp.o
CC spl/disk/part.o
LD spl/dts/built-in.o
CC spl/common/spl/spl_ram.o
CC spl/disk/part_dos.o
LD drivers/timer/built-in.o
LD spl/env/built-in.o
CC spl/disk/part_efi.o
LD drivers/rtc/built-in.o
CC spl/fs/fs_internal.o
CC spl/arch/riscv/lib/bootm.o
CC spl/arch/riscv/lib/image.o
CC spl/arch/riscv/lib/boot.o
LD drivers/serial/built-in.o
CC spl/arch/riscv/lib/cache.o
CC spl/arch/riscv/lib/sifive_clint.o
CC spl/arch/riscv/lib/reset.o
CC spl/arch/riscv/lib/interrupts.o
AS spl/arch/riscv/lib/setjmp.o
CC spl/arch/riscv/lib/smp.o
CC spl/common/common_fit.o
CC spl/common/fdt_support.o
LD spl/arch/riscv/cpu/generic/built-in.o
AS spl/arch/riscv/lib/crt0_riscv_efi.o
CC spl/arch/riscv/lib/reloc_riscv_efi.o
CC spl/arch/riscv/lib/spl.o
LDS spl/u-boot-spl.lds
CC spl/common/console.o
CC spl/common/dlmalloc.o
CC spl/common/malloc_simple.o
LD spl/drivers/mtd/built-in.o
CC spl/common/image.o
LD spl/drivers/soc/built-in.o
CC spl/common/image-fdt.o
CC spl/drivers/block/blk-uclass.o
CC spl/common/image-fit.o
LD spl/common/init/built-in.o
CC spl/drivers/cpu/cpu-uclass.o
CC spl/drivers/timer/timer-uclass.o
CC spl/drivers/serial/serial-uclass.o
CC spl/common/memsize.o
LD spl/board/emulation/qemu-riscv/built-in.o
CC spl/drivers/serial/ns16550.o
CC spl/drivers/cpu/riscv_cpu.o
CC spl/common/stdio.o
CC spl/drivers/timer/riscv_timer.o
CC spl/common/cli.o
CC spl/common/command.o
LD spl/arch/riscv/cpu/built-in.o
CC spl/common/s_record.o
CC spl/drivers/serial/serial_sifive.o
LD spl/fs/built-in.o
CC spl/common/xyzModem.o
LD drivers/block/built-in.o
LD env/built-in.o
CC spl/drivers/core/device.o
CC spl/drivers/core/fdtaddr.o
CC spl/lib/sha1.o
CC spl/lib/sha256.o
CC spl/drivers/core/root.o
LD spl/drivers/timer/built-in.o
CC spl/drivers/core/uclass.o
CC spl/lib/fdtdec_common.o
CC spl/lib/fdtdec.o
CC spl/drivers/core/lists.o
CC spl/lib/hashtable.o
CC spl/drivers/core/util.o
CC spl/lib/net_utils.o
CC spl/drivers/core/simple-bus.o
CC spl/lib/qsort.o
CC spl/drivers/core/regmap.o
CC spl/lib/errno.o
CC spl/lib/display_options.o
CC spl/drivers/core/dump.o
CC spl/lib/ctype.o
CC spl/lib/crc32.o
CC spl/drivers/core/syscon-uclass.o
CC spl/lib/div64.o
CC spl/drivers/core/of_extra.o
CC spl/lib/linux_compat.o
CC spl/lib/hang.o
CC spl/drivers/core/read_extra.o
LD fs/ext4/built-in.o
CC spl/drivers/core/ofnode.o
CC spl/lib/linux_string.o
LD spl/arch/riscv/lib/built-in.o
CC spl/lib/lmb.o
LD spl/common/spl/built-in.o
CC spl/lib/membuff.o
CC spl/lib/slre.o
CC spl/lib/string.o
LD cmd/built-in.o
LD lib/crypto/built-in.o
CC spl/lib/tables_csum.o
CC spl/lib/libfdt/fdt.o
CC spl/lib/time.o
CC lib/efi_driver/efi_block_device.o
CC spl/lib/hexdump.o
CC spl/lib/libfdt/fdt_wip.o
LD drivers/clk/built-in.o
CC spl/lib/libfdt/fdt_strerror.o
CC lib/efi_driver/efi_uclass.o
LD spl/cmd/built-in.o
CC spl/lib/libfdt/fdt_sw.o
CC spl/lib/libfdt/fdt_rw.o
CC lib/charset.o
CC lib/crc7.o
CC spl/lib/uuid.o
CC spl/lib/libfdt/fdt_empty_tree.o
CC lib/smbios.o
CC spl/lib/panic.o
CC spl/lib/tiny-printf.o
CC spl/lib/strto.o
CC lib/crc16.o
CC lib/fdtdec_common.o
CC lib/md5.o
CC lib/rc4.o
CC lib/crc8.o
CC spl/lib/libfdt/fdt_ro.o
CC spl/lib/libfdt/fdt_region.o
CC lib/ldiv.o
CC spl/lib/libfdt/fdt_addresses.o
CC lib/net_utils.o
CC lib/zlib/zlib.o
CC spl/lib/date.o
CC spl/lib/elf.o
LD spl/drivers/cpu/built-in.o
CC lib/lzma/LzmaDec.o
CC lib/lzma/LzmaTools.o
CC lib/list_sort.o
LD fs/fat/built-in.o
CC lib/sha1.o
CC lib/sha256.o
LD fs/built-in.o
CC lib/gunzip.o
CC lib/fdtdec.o
CC lib/hashtable.o
CC lib/errno.o
LD spl/drivers/serial/built-in.o
CC lib/display_options.o
CC lib/qsort.o
LD drivers/virtio/built-in.o
CC lib/ctype.o
LD drivers/nvme/built-in.o
CC lib/libfdt/fdt.o
CC lib/div64.o
CC lib/crc32.o
CC lib/libfdt/fdt_wip.o
CC lib/hang.o
CC lib/linux_compat.o
CC lib/libfdt/fdt_strerror.o
CC lib/linux_string.o
CC lib/libfdt/fdt_sw.o
CC lib/lmb.o
CC lib/libfdt/fdt_rw.o
CC lib/slre.o
CC lib/libfdt/fdt_empty_tree.o
CC lib/libfdt/fdt_addresses.o
CC lib/membuff.o
CC lib/libfdt/fdt_ro.o
LD drivers/mtd/mtd.o
CC lib/string.o
CC lib/tables_csum.o
CC lib/libfdt/fdt_region.o
CC lib/time.o
CC lib/efi_loader/efi_bootmgr.o
LD spl/drivers/block/built-in.o
CC lib/uuid.o
CC lib/efi_loader/efi_boottime.o
LD drivers/mtd/built-in.o
CC lib/hexdump.o
CC lib/strto.o
CC lib/panic.o
CC lib/efi_loader/efi_console.o
CC lib/vsprintf.o
CC lib/efi_loader/efi_device_path.o
CC lib/date.o
CC lib/efi_loader/efi_device_path_to_text.o
CC lib/efi_loader/efi_device_path_utilities.o
CC lib/elf.o
CC lib/efi_loader/efi_file.o
CC lib/efi_loader/efi_hii.o
LD drivers/core/built-in.o
CC lib/efi_loader/efi_hii_config.o
CC lib/efi_loader/efi_image_loader.o
CC lib/efi_loader/efi_root_node.o
LD common/built-in.o
CC lib/efi_loader/efi_memory.o
CC lib/efi_loader/efi_runtime.o
CC lib/efi_loader/efi_setup.o
CC lib/efi_loader/efi_unicode_collation.o
CC lib/efi_loader/efi_variable.o
CC lib/efi_loader/efi_watchdog.o
LD lib/efi_driver/built-in.o
CC lib/efi_loader/efi_disk.o
CC lib/efi_loader/efi_net.o
CC lib/efi_loader/efi_smbios.o
CC lib/efi_loader/efi_signature.o
LD net/built-in.o
CC lib/efi_loader/helloworld.o
AS lib/efi_loader/efi_crt0.o
CC lib/efi_loader/efi_reloc.o
CC lib/efi_loader/efi_freestanding.o
LD drivers/pci/built-in.o
LD drivers/built-in.o
LD lib/efi_loader/helloworld_efi.so
OBJCOPY lib/efi_loader/helloworld.efi
LD spl/disk/built-in.o
LD spl/lib/libfdt/built-in.o
LD spl/drivers/core/built-in.o
LD spl/drivers/built-in.o
LD spl/common/built-in.o
LD lib/libfdt/built-in.o
LD drivers/net/built-in.o
LD lib/lzma/built-in.o
LD lib/zlib/built-in.o
LD lib/efi_loader/built-in.o
LD spl/lib/built-in.o
LD spl/u-boot-spl
OBJCOPY spl/u-boot-spl-nodtb.bin
COPY spl/u-boot-spl.bin
LD lib/built-in.o
CC examples/standalone/hello_world.o
CC examples/standalone/stubs.o
LD examples/standalone/libstubs.o
LD examples/standalone/hello_world
OBJCOPY examples/standalone/hello_world.srec
OBJCOPY examples/standalone/hello_world.bin
LD u-boot
OBJCOPY u-boot.srec
OBJCOPY u-boot-nodtb.bin
SYM u-boot.sym
COPY u-boot.bin
MKIMAGE u-boot.img
MKIMAGE u-boot.itb
CFGCHK u-boot.cfg
[sean@godwin u-boot]$ PATH="$PATH:/tmp/uboot-test-hooks/bin/" test/py/test.py --bd qemu-riscv64_spl --build-dir .
+u-boot-test-flash qemu-riscv64_spl na
=========================================================== test session starts ============================================================
platform linux -- Python 3.8.2, pytest-5.4.1, py-1.8.1, pluggy-0.13.1
rootdir: /home/sean/software/u-boot/test/py, inifile: pytest.ini
collected 304 items
test/py/tests/test_000_version.py E [ 0%]
test/py/tests/test_bind.py ss [ 0%]
test/py/tests/test_dfu.py s [ 0%]
test/py/tests/test_dm.py E [ 0%]
test/py/tests/test_efi_fit.py E [ 0%]
test/py/tests/test_efi_loader.py EEEEsE [ 0%]
test/py/tests/test_efi_selftest.py sssss [ 0%]
test/py/tests/test_env.py EEEEEEEEEEEE [ 0%]
test/py/tests/test_fit.py s [ 0%]
test/py/tests/test_fpga.py ssssssssssssssssssssssssssss [ 0%]
test/py/tests/test_gpio.py ss [ 0%]
test/py/tests/test_gpt.py sssssss [ 0%]
test/py/tests/test_handoff.py s [ 0%]
test/py/tests/test_help.py E [ 0%]
test/py/tests/test_hush_if_test.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEs [ 0%]
test/py/tests/test_log.py ss [ 0%]
test/py/tests/test_md.py EE [ 0%]
test/py/tests/test_mmc_rd.py ssss [ 0%]
test/py/tests/test_mmc_wr.py s [ 0%]
test/py/tests/test_net.py EEEEEE [ 0%]
test/py/tests/test_ofplatdata.py ss [ 0%]
test/py/tests/test_pinmux.py sssssss [ 0%]
test/py/tests/test_sandbox_exit.py ss [ 0%]
test/py/tests/test_sf.py ssss [ 0%]
test/py/tests/test_shell_basics.py EEEE [ 0%]
test/py/tests/test_sleep.py E [ 0%]
test/py/tests/test_tpm2.py sssssssssss [ 0%]
test/py/tests/test_ums.py s [ 0%]
test/py/tests/test_unknown_cmd.py E [ 0%]
test/py/tests/test_ut.py ss [ 0%]
test/py/tests/test_vboot.py sssss [ 0%]
test/py/tests/test_android/test_ab.py s [ 0%]
test/py/tests/test_android/test_abootimg.py s [ 0%]
test/py/tests/test_android/test_avb.py ssssss [ 0%]
test/py/tests/test_efi_secboot/test_authvar.py sssss [ 0%]
test/py/tests/test_efi_secboot/test_signed.py ss [ 0%]
test/py/tests/test_efi_secboot/test_unsigned.py sss [ 0%]
test/py/tests/test_fs/test_basic.py sssssssssssssssssssssssssssssssssssssss [ 0%]
test/py/tests/test_fs/test_ext.py ssssssssssssssssssssss [ 0%]
test/py/tests/test_fs/test_mkdir.py ssssssssssss [ 0%]
test/py/tests/test_fs/test_symlink.py ssss [ 0%]
test/py/tests/test_fs/test_unlink.py ssssssssssssss
================================================================== ERRORS ==================================================================
______________________________________________________ ERROR at setup of test_version ______________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_version>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
____________________________________________________ ERROR at setup of test_dm_drivers _____________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_dm_drivers>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
__________________________________________________ ERROR at setup of test_efi_fit_launch ___________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_efi_fit_launch>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________________________ ERROR at setup of test_efi_pre_commands __________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_efi_pre_commands>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_____________________________________________________ ERROR at setup of test_efi_dhcp ______________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_efi_dhcp>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________________________ ERROR at setup of test_efi_setup_static __________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_efi_setup_static>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________________ ERROR at setup of test_efi_helloworld_net _________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_efi_helloworld_net>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
___________________________________________________ ERROR at setup of test_efi_grub_net ____________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_efi_grub_net>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
__________________________________________________ ERROR at setup of test_env_echo_exists __________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_env_echo_exists>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________________ ERROR at setup of test_env_echo_non_existent _______________________________________________
request = <SubRequest 'u_boot_console' for <Function test_env_echo_non_existent>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_____________________________________________ ERROR at setup of test_env_printenv_non_existent _____________________________________________
request = <SubRequest 'u_boot_console' for <Function test_env_printenv_non_existent>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
______________________________________________ ERROR at setup of test_env_unset_non_existent _______________________________________________
request = <SubRequest 'u_boot_console' for <Function test_env_unset_non_existent>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________________ ERROR at setup of test_env_set_non_existent ________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_env_set_non_existent>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________________________ ERROR at setup of test_env_set_existing __________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_env_set_existing>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________________ ERROR at setup of test_env_unset_existing _________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_env_unset_existing>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________________ ERROR at setup of test_env_expansion_spaces ________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_env_expansion_spaces>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
____________________________________________ ERROR at setup of test_env_import_checksum_no_size ____________________________________________
request = <SubRequest 'u_boot_console' for <Function test_env_import_checksum_no_size>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________ ERROR at setup of test_env_import_whitelist_checksum_no_size _______________________________________
request = <SubRequest 'u_boot_console' for <Function test_env_import_whitelist_checksum_no_size>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________________ ERROR at setup of test_env_import_whitelist ________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_env_import_whitelist>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
____________________________________________ ERROR at setup of test_env_import_whitelist_delete ____________________________________________
request = <SubRequest 'u_boot_console' for <Function test_env_import_whitelist_delete>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________________________ ERROR at setup of test_help ________________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_help>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________________ ERROR at setup of test_hush_if_test_setup _________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test_setup>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
______________________________________________ ERROR at setup of test_hush_if_test[true-True] ______________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[true-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_____________________________________________ ERROR at setup of test_hush_if_test[false-False] _____________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[false-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________________ ERROR at setup of test_hush_if_test[test aaa = aaa-True] _________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test aaa = aaa-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test aaa = bbb-False] _________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test aaa = bbb-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test aaa != bbb-True] _________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test aaa != bbb-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test aaa != aaa-False] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test aaa != aaa-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________________ ERROR at setup of test_hush_if_test[test aaa < bbb-True] _________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test aaa < bbb-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test bbb < aaa-False] _________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test bbb < aaa-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________________ ERROR at setup of test_hush_if_test[test bbb > aaa-True] _________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test bbb > aaa-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test aaa > bbb-False] _________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test aaa > bbb-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test 123 -eq 123-True] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 123 -eq 123-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________ ERROR at setup of test_hush_if_test[test 123 -eq 456-False] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 123 -eq 456-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test 123 -ne 456-True] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 123 -ne 456-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________ ERROR at setup of test_hush_if_test[test 123 -ne 123-False] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 123 -ne 123-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test 123 -lt 456-True] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 123 -lt 456-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________ ERROR at setup of test_hush_if_test[test 123 -lt 123-False] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 123 -lt 123-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________ ERROR at setup of test_hush_if_test[test 456 -lt 123-False] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 456 -lt 123-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test 123 -le 456-True] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 123 -le 456-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test 123 -le 123-True] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 123 -le 123-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________ ERROR at setup of test_hush_if_test[test 456 -le 123-False] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 456 -le 123-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test 456 -gt 123-True] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 456 -gt 123-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________ ERROR at setup of test_hush_if_test[test 123 -gt 123-False] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 123 -gt 123-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________ ERROR at setup of test_hush_if_test[test 123 -gt 456-False] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 123 -gt 456-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test 456 -ge 123-True] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 456 -ge 123-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test 123 -ge 123-True] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 123 -ge 123-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________ ERROR at setup of test_hush_if_test[test 123 -ge 456-False] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 123 -ge 456-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test 010 -eq 010-True] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 010 -eq 010-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________ ERROR at setup of test_hush_if_test[test 010 -eq 011-False] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 010 -eq 011-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test 010 -ne 011-True] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 010 -ne 011-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________ ERROR at setup of test_hush_if_test[test 010 -ne 010-False] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 010 -ne 010-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________ ERROR at setup of test_hush_if_test[test 0x2000000 -gt 0x2000001-False] __________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 0x2000000 -gt 0x2000001-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________ ERROR at setup of test_hush_if_test[test 0x2000000 -gt 0x2000000-False] __________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 0x2000000 -gt 0x2000000-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
__________________________________ ERROR at setup of test_hush_if_test[test 0x2000000 -gt 0x1ffffff-True] __________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 0x2000000 -gt 0x1ffffff-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test 010 -eq 10-False] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 010 -eq 10-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test 010 -ne 10-True] _________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 010 -ne 10-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test 0xa -eq 10-True] _________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 0xa -eq 10-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test 0xa -eq 012-True] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 0xa -eq 012-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
__________________________________ ERROR at setup of test_hush_if_test[test 2000000 -gt 0x1ffffff-False] ___________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 2000000 -gt 0x1ffffff-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
___________________________________ ERROR at setup of test_hush_if_test[test 0x2000000 -gt 1ffffff-True] ___________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 0x2000000 -gt 1ffffff-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
__________________________________ ERROR at setup of test_hush_if_test[test 0x2000000 -lt 1ffffff-False] ___________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 0x2000000 -lt 1ffffff-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
__________________________________ ERROR at setup of test_hush_if_test[test 0x2000000 -eq 2000000-False] ___________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 0x2000000 -eq 2000000-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
___________________________________ ERROR at setup of test_hush_if_test[test 0x2000000 -ne 2000000-True] ___________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test 0x2000000 -ne 2000000-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
___________________________________________ ERROR at setup of test_hush_if_test[test -z ""-True] ___________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test -z ""-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________________ ERROR at setup of test_hush_if_test[test -z "aaa"-False] _________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test -z "aaa"-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________________ ERROR at setup of test_hush_if_test[test -n "aaa"-True] __________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test -n "aaa"-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
__________________________________________ ERROR at setup of test_hush_if_test[test -n ""-False] ___________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test -n ""-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________ ERROR at setup of test_hush_if_test[test ! aaa = aaa-False] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test ! aaa = aaa-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________ ERROR at setup of test_hush_if_test[test ! aaa = bbb-True] ________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test ! aaa = bbb-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________ ERROR at setup of test_hush_if_test[test ! ! aaa = aaa-True] _______________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test ! ! aaa = aaa-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
______________________________________ ERROR at setup of test_hush_if_test[test ! ! aaa = bbb-False] _______________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test ! ! aaa = bbb-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________ ERROR at setup of test_hush_if_test[test aaa != aaa -o bbb != bbb-False] _________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test aaa != aaa -o bbb != bbb-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
__________________________________ ERROR at setup of test_hush_if_test[test aaa != aaa -o bbb = bbb-True] __________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test aaa != aaa -o bbb = bbb-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
__________________________________ ERROR at setup of test_hush_if_test[test aaa = aaa -o bbb != bbb-True] __________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test aaa = aaa -o bbb != bbb-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
__________________________________ ERROR at setup of test_hush_if_test[test aaa = aaa -o bbb = bbb-True] ___________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test aaa = aaa -o bbb = bbb-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________ ERROR at setup of test_hush_if_test[test aaa != aaa -a bbb != bbb-False] _________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test aaa != aaa -a bbb != bbb-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________ ERROR at setup of test_hush_if_test[test aaa != aaa -a bbb = bbb-False] __________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test aaa != aaa -a bbb = bbb-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________ ERROR at setup of test_hush_if_test[test aaa = aaa -a bbb != bbb-False] __________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test aaa = aaa -a bbb != bbb-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
__________________________________ ERROR at setup of test_hush_if_test[test aaa = aaa -a bbb = bbb-True] ___________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test aaa = aaa -a bbb = bbb-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________ ERROR at setup of test_hush_if_test[test ! aaa != aaa -o ! bbb != bbb-True] ________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test ! aaa != aaa -o ! bbb != bbb-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________ ERROR at setup of test_hush_if_test[test ! aaa != aaa -o ! bbb = bbb-True] ________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test ! aaa != aaa -o ! bbb = bbb-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________ ERROR at setup of test_hush_if_test[test ! aaa = aaa -o ! bbb != bbb-True] ________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test ! aaa = aaa -o ! bbb != bbb-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________ ERROR at setup of test_hush_if_test[test ! aaa = aaa -o ! bbb = bbb-False] ________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test ! aaa = aaa -o ! bbb = bbb-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_____________________________ ERROR at setup of test_hush_if_test[test ! ! aaa != aaa -o ! ! bbb != bbb-False] _____________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test ! ! aaa != aaa -o ! ! bbb != bbb-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
______________________________ ERROR at setup of test_hush_if_test[test ! ! aaa != aaa -o ! ! bbb = bbb-True] ______________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test ! ! aaa != aaa -o ! ! bbb = bbb-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
______________________________ ERROR at setup of test_hush_if_test[test ! ! aaa = aaa -o ! ! bbb != bbb-True] ______________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test ! ! aaa = aaa -o ! ! bbb != bbb-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
______________________________ ERROR at setup of test_hush_if_test[test ! ! aaa = aaa -o ! ! bbb = bbb-True] _______________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test ! ! aaa = aaa -o ! ! bbb = bbb-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________ ERROR at setup of test_hush_if_test[test -z "$ut_var_nonexistent"-True] __________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test -z "$ut_var_nonexistent"-True]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
___________________________________ ERROR at setup of test_hush_if_test[test -z "$ut_var_exists"-False] ____________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test[test -z "$ut_var_exists"-False]>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________________ ERROR at setup of test_hush_if_test_teardown _______________________________________________
request = <SubRequest 'u_boot_console' for <Function test_hush_if_test_teardown>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________________________ ERROR at setup of test_md _________________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_md>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_____________________________________________________ ERROR at setup of test_md_repeat _____________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_md_repeat>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________________________ ERROR at setup of test_net_pre_commands __________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_net_pre_commands>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_____________________________________________________ ERROR at setup of test_net_dhcp ______________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_net_dhcp>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_________________________________________________ ERROR at setup of test_net_setup_static __________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_net_setup_static>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_____________________________________________________ ERROR at setup of test_net_ping ______________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_net_ping>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
___________________________________________________ ERROR at setup of test_net_tftpboot ____________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_net_tftpboot>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
______________________________________________________ ERROR at setup of test_net_nfs ______________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_net_nfs>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
___________________________________________________ ERROR at setup of test_shell_execute ___________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_shell_execute>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
________________________________________________ ERROR at setup of test_shell_semicolon_two ________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_shell_semicolon_two>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________________ ERROR at setup of test_shell_semicolon_three _______________________________________________
request = <SubRequest 'u_boot_console' for <Function test_shell_semicolon_three>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_____________________________________________________ ERROR at setup of test_shell_run _____________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_shell_run>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
_______________________________________________________ ERROR at setup of test_sleep _______________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_sleep>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
__________________________________________________ ERROR at setup of test_unknown_command __________________________________________________
request = <SubRequest 'u_boot_console' for <Function test_unknown_command>>
@pytest.fixture(scope='function')
def u_boot_console(request):
"""Generate the value of a test's u_boot_console fixture.
Args:
request: The pytest request.
Returns:
The fixture value.
"""
> console.ensure_spawned()
test/py/conftest.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <u_boot_console_exec_attach.ConsoleExecAttach object at 0x7f8a32f7f280>
def ensure_spawned(self):
"""Ensure a connection to a correctly running U-Boot instance.
This may require spawning a new Sandbox process or resetting target
hardware, as defined by the implementation sub-class.
This is an internal function and should not be called directly.
Args:
None.
Returns:
Nothing.
"""
if self.p:
return
try:
self.log.start_section('Starting U-Boot')
self.at_prompt = False
self.p = self.get_spawn()
# Real targets can take a long time to scroll large amounts of
# text if LCD is enabled. This value may need tweaking in the
# future, possibly per-test to be optimal. This works for 'help'
# on board 'seaboard'.
if not self.config.gdbserver:
self.p.timeout = 30000
self.p.logfile_read = self.logstream
bcfg = self.config.buildconfig
config_spl = bcfg.get('config_spl', 'n') == 'y'
config_spl_serial_support = bcfg.get('config_spl_serial_support',
'n') == 'y'
env_spl_skipped = self.config.env.get('env__spl_skipped',
False)
if config_spl and config_spl_serial_support and not env_spl_skipped:
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
> raise Exception('Bad pattern found on console: ' +
self.bad_pattern_ids[m - 1])
E Exception: Bad pattern found on console: error_please_reset
test/py/u_boot_console_base.py:364: Exception
---------------------------------------------------------- Captured stdout setup -----------------------------------------------------------
+u-boot-test-reset qemu-riscv64_spl na
qemu-system-riscv64: warning: No -bios option specified. Not loading a firmware.
qemu-system-riscv64: warning: This default will change in a future QEMU release. Please use the -bios option to avoid breakages when this happens.
qemu-system-riscv64: warning: See QEMU's deprecation documentation for details.
U-Boot SPL 2020.04-00407-g8d5d3bcf3c (May 05 2020 - 15:17:24 -0400)
Trying to boot from RAM
Unhandled exception: Load access fault
EPC: 00000000810000e4 TVAL: ffffffff81000000
### ERROR ### Please RESET the board ###
========================================================= short test summary info ==========================================================
ERROR test/py/tests/test_000_version.py::test_version - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_dm.py::test_dm_drivers - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_efi_fit.py::test_efi_fit_launch - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_efi_loader.py::test_efi_pre_commands - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_efi_loader.py::test_efi_dhcp - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_efi_loader.py::test_efi_setup_static - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_efi_loader.py::test_efi_helloworld_net - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_efi_loader.py::test_efi_grub_net - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_env.py::test_env_echo_exists - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_env.py::test_env_echo_non_existent - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_env.py::test_env_printenv_non_existent - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_env.py::test_env_unset_non_existent - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_env.py::test_env_set_non_existent - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_env.py::test_env_set_existing - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_env.py::test_env_unset_existing - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_env.py::test_env_expansion_spaces - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_env.py::test_env_import_checksum_no_size - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_env.py::test_env_import_whitelist_checksum_no_size - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_env.py::test_env_import_whitelist - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_env.py::test_env_import_whitelist_delete - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_help.py::test_help - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test_setup - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[true-True] - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[false-False] - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test aaa = aaa-True] - Exception: Bad pattern found on console: error_please_...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test aaa = bbb-False] - Exception: Bad pattern found on console: error_please...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test aaa != bbb-True] - Exception: Bad pattern found on console: error_please...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test aaa != aaa-False] - Exception: Bad pattern found on console: error_pleas...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test aaa < bbb-True] - Exception: Bad pattern found on console: error_please_...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test bbb < aaa-False] - Exception: Bad pattern found on console: error_please...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test bbb > aaa-True] - Exception: Bad pattern found on console: error_please_...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test aaa > bbb-False] - Exception: Bad pattern found on console: error_please...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 123 -eq 123-True] - Exception: Bad pattern found on console: error_pleas...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 123 -eq 456-False] - Exception: Bad pattern found on console: error_plea...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 123 -ne 456-True] - Exception: Bad pattern found on console: error_pleas...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 123 -ne 123-False] - Exception: Bad pattern found on console: error_plea...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 123 -lt 456-True] - Exception: Bad pattern found on console: error_pleas...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 123 -lt 123-False] - Exception: Bad pattern found on console: error_plea...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 456 -lt 123-False] - Exception: Bad pattern found on console: error_plea...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 123 -le 456-True] - Exception: Bad pattern found on console: error_pleas...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 123 -le 123-True] - Exception: Bad pattern found on console: error_pleas...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 456 -le 123-False] - Exception: Bad pattern found on console: error_plea...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 456 -gt 123-True] - Exception: Bad pattern found on console: error_pleas...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 123 -gt 123-False] - Exception: Bad pattern found on console: error_plea...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 123 -gt 456-False] - Exception: Bad pattern found on console: error_plea...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 456 -ge 123-True] - Exception: Bad pattern found on console: error_pleas...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 123 -ge 123-True] - Exception: Bad pattern found on console: error_pleas...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 123 -ge 456-False] - Exception: Bad pattern found on console: error_plea...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 010 -eq 010-True] - Exception: Bad pattern found on console: error_pleas...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 010 -eq 011-False] - Exception: Bad pattern found on console: error_plea...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 010 -ne 011-True] - Exception: Bad pattern found on console: error_pleas...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 010 -ne 010-False] - Exception: Bad pattern found on console: error_plea...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 0x2000000 -gt 0x2000001-False] - Exception: Bad pattern found on console...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 0x2000000 -gt 0x2000000-False] - Exception: Bad pattern found on console...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 0x2000000 -gt 0x1ffffff-True] - Exception: Bad pattern found on console:...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 010 -eq 10-False] - Exception: Bad pattern found on console: error_pleas...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 010 -ne 10-True] - Exception: Bad pattern found on console: error_please...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 0xa -eq 10-True] - Exception: Bad pattern found on console: error_please...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 0xa -eq 012-True] - Exception: Bad pattern found on console: error_pleas...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 2000000 -gt 0x1ffffff-False] - Exception: Bad pattern found on console: ...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 0x2000000 -gt 1ffffff-True] - Exception: Bad pattern found on console: e...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 0x2000000 -lt 1ffffff-False] - Exception: Bad pattern found on console: ...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 0x2000000 -eq 2000000-False] - Exception: Bad pattern found on console: ...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test 0x2000000 -ne 2000000-True] - Exception: Bad pattern found on console: e...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test -z ""-True] - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test -z "aaa"-False] - Exception: Bad pattern found on console: error_please_...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test -n "aaa"-True] - Exception: Bad pattern found on console: error_please_r...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test -n ""-False] - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test ! aaa = aaa-False] - Exception: Bad pattern found on console: error_plea...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test ! aaa = bbb-True] - Exception: Bad pattern found on console: error_pleas...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test ! ! aaa = aaa-True] - Exception: Bad pattern found on console: error_ple...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test ! ! aaa = bbb-False] - Exception: Bad pattern found on console: error_pl...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test aaa != aaa -o bbb != bbb-False] - Exception: Bad pattern found on consol...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test aaa != aaa -o bbb = bbb-True] - Exception: Bad pattern found on console:...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test aaa = aaa -o bbb != bbb-True] - Exception: Bad pattern found on console:...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test aaa = aaa -o bbb = bbb-True] - Exception: Bad pattern found on console: ...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test aaa != aaa -a bbb != bbb-False] - Exception: Bad pattern found on consol...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test aaa != aaa -a bbb = bbb-False] - Exception: Bad pattern found on console...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test aaa = aaa -a bbb != bbb-False] - Exception: Bad pattern found on console...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test aaa = aaa -a bbb = bbb-True] - Exception: Bad pattern found on console: ...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test ! aaa != aaa -o ! bbb != bbb-True] - Exception: Bad pattern found on con...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test ! aaa != aaa -o ! bbb = bbb-True] - Exception: Bad pattern found on cons...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test ! aaa = aaa -o ! bbb != bbb-True] - Exception: Bad pattern found on cons...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test ! aaa = aaa -o ! bbb = bbb-False] - Exception: Bad pattern found on cons...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test ! ! aaa != aaa -o ! ! bbb != bbb-False] - Exception: Bad pattern found o...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test ! ! aaa != aaa -o ! ! bbb = bbb-True] - Exception: Bad pattern found on ...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test ! ! aaa = aaa -o ! ! bbb != bbb-True] - Exception: Bad pattern found on ...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test ! ! aaa = aaa -o ! ! bbb = bbb-True] - Exception: Bad pattern found on c...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test -z "$ut_var_nonexistent"-True] - Exception: Bad pattern found on console...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test[test -z "$ut_var_exists"-False] - Exception: Bad pattern found on console: er...
ERROR test/py/tests/test_hush_if_test.py::test_hush_if_test_teardown - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_md.py::test_md - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_md.py::test_md_repeat - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_net.py::test_net_pre_commands - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_net.py::test_net_dhcp - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_net.py::test_net_setup_static - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_net.py::test_net_ping - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_net.py::test_net_tftpboot - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_net.py::test_net_nfs - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_shell_basics.py::test_shell_execute - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_shell_basics.py::test_shell_semicolon_two - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_shell_basics.py::test_shell_semicolon_three - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_shell_basics.py::test_shell_run - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_sleep.py::test_sleep - Exception: Bad pattern found on console: error_please_reset
ERROR test/py/tests/test_unknown_cmd.py::test_unknown_command - Exception: Bad pattern found on console: error_please_reset
==================================================== 199 skipped, 105 errors in 16.93s =====================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment