On 11/4/24 14:16, Cédric Le Goater wrote:
On 11/4/24 13:19, Cédric Le Goater wrote:
On 11/4/24 13:12, Thomas Huth wrote:
On 28/10/2024 18.14, Peter Maydell wrote:
Trying a "make check-functional" I find that the func-arm-arm_aspeed
test seems to hit a timeout:
18/18 qemu:func-thorough+func-arm-thorough+thorough /
func-arm-arm_aspeed TIMEOUT 600.08s killed by
signal 15 SIGTERM
This is with commit cea8ac78545a.
Cédric, is it working reliable for you?
I have never seen this issue on the systems I use. Let me try again.
On a (slow) ARM SBC, I am seeing a timeout indeed.
The log file contains :
2024-11-04 13:59:01,219: Starting dropbear sshd: OK
2024-11-04 13:59:01,628: Aspeed AST2600 EVB
2024-11-04 13:59:01,829: ast2600-evb login: root
2024-11-04 13:59:01,847: passw0rd
2024-11-04 13:59:01,850: echo lm75 0x4d >
/sys/class/i2c-dev/i2c-3/device/new_device
2024-11-04 14:00:13,916: Password:
2024-11-04 14:00:13,917: Login timed out after 60 seconds
2024-11-04 14:00:15,418: Aspeed AST2600 EVB
This means that the sleep workaround failed :/
# the line before login:
self.wait_for_console_pattern(pattern)
time.sleep(0.1)
exec_command(self, 'root')
time.sleep(0.1)
exec_command(self, "passw0rd")
C.
Also, curiously, I can't reproduce when run "manually" :
$ QEMU_TEST_QEMU_BINARY=build/qemu-system-arm
PYTHONPATH=python:tests/functional build/pyvenv/bin/python3
tests/functional/test_arm_aspeed.py
TAP version 13
ok 1 test_arm_aspeed.AST1030Machine.test_ast1030_zephyros_1_04
ok 2 test_arm_aspeed.AST1030Machine.test_ast1030_zephyros_1_07
ok 3 test_arm_aspeed.AST2x00Machine.test_arm_ast2400_palmetto_openbmc_v2_9_0
ok 4 test_arm_aspeed.AST2x00Machine.test_arm_ast2500_evb_buildroot
ok 5 test_arm_aspeed.AST2x00Machine.test_arm_ast2500_romulus_openbmc_v2_9_0
ok 6 test_arm_aspeed.AST2x00Machine.test_arm_ast2600_evb_buildroot
ok 7 test_arm_aspeed.AST2x00Machine.test_arm_ast2600_evb_buildroot_tpm
ok 8 test_arm_aspeed.AST2x00MachineMMC.test_arm_aspeed_emmc_boot
1..8
C.