qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iotest40 problem


From: Li Zhang
Subject: Re: iotest40 problem
Date: Fri, 25 Mar 2022 11:17:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

Hi,

I backport some iotests patches to the tree and change timeout.
It doesn't work.

Sometimes, iotest41 also reports the errors.
[ 1347s] +======================================================================
[ 1347s] +ERROR: test_top_node_in_wrong_chain (__main__.TestSingleDrive)
[ 1347s] +----------------------------------------------------------------------
[ 1347s] +Traceback (most recent call last):
[ 1347s] + File "/home/abuild/rpmbuild/BUILD/qemu-6.2.0/python/qemu/machine/machine.py", line 399, in launch
[ 1347s] +    self._launch()
[ 1347s] + File "/home/abuild/rpmbuild/BUILD/qemu-6.2.0/python/qemu/machine/machine.py", line 434, in _launch
[ 1347s] +    self._post_launch()
[ 1347s] + File "/home/abuild/rpmbuild/BUILD/qemu-6.2.0/python/qemu/machine/qtest.py", line 147, in _post_launch
[ 1347s] +    super()._post_launch()
[ 1347s] + File "/home/abuild/rpmbuild/BUILD/qemu-6.2.0/python/qemu/machine/machine.py", line 340, in _post_launch
[ 1347s] +    self._qmp.accept(self._qmp_timer)
[ 1347s] + File "/home/abuild/rpmbuild/BUILD/qemu-6.2.0/python/qemu/aqmp/legacy.py", line 69, in accept
[ 1347s] +    timeout
[ 1347s] + File "/home/abuild/rpmbuild/BUILD/qemu-6.2.0/python/qemu/aqmp/legacy.py", line 42, in _sync
[ 1347s] +    asyncio.wait_for(future, timeout=timeout)
[ 1347s] + File "/usr/lib64/python3.6/asyncio/base_events.py", line 488, in run_until_complete
[ 1347s] +    return future.result()
[ 1347s] + File "/usr/lib64/python3.6/asyncio/tasks.py", line 362, in wait_for
[ 1347s] +    raise futures.TimeoutError()
[ 1347s] +concurrent.futures._base.TimeoutError


I can see other errors like this, it's the problem of the socket.

[ 1535s] socket_accept failed: Resource temporarily unavailable
[ 1535s] **
[ 1535s] ERROR:../tests/qtest/libqtest.c:321:qtest_init_without_qmp_handshake: assertion failed: (s->fd >= 0 && s->qmp_fd >= 0)


The script is running the command as this:
/usr/bin/make -O -j4 check-block V=1

I can see the errors on ppc, arm or x86.
But I couldn't reproduce it when I run it manually.

It will be appreciated if any suggestions. Thanks.


On 3/24/22 14:47, Li Zhang wrote:
Hi,

When I run the testsuit on our buidling system, it reports a timeout sometimes not always as the following.
It couldn't connect qmp socket. Any ideas about this problem?


[ 1989s] --- /home/abuild/rpmbuild/BUILD/qemu-6.2.0/tests/qemu-iotests/040.out
[ 1989s] +++ 040.out.bad
[ 1989s] @@ -1,5 +1,55 @@
[ 1989s] -.................................................................
[ 1989s] +....ERROR:qemu.aqmp.qmp_client.qemu-6471:Failed to establish connection: asyncio.exceptions.CancelledError [ 1989s] +E..................................ERROR:qemu.aqmp.qmp_client.qemu-6471:Failed to establish connection: asyncio.exceptions.CancelledError
[ 1989s] +E.........................
[ 1989s] +======================================================================
[ 1989s] +ERROR: test_commit_node (__main__.TestActiveZeroLengthImage)
[ 1989s] +----------------------------------------------------------------------
[ 1989s] +Traceback (most recent call last):
[ 1989s] +  File "/home/abuild/rpmbuild/BUILD/qemu-6.2.0/tests/qemu-iotests/040", line 94, in setUp
[ 1989s] +    self.vm.launch()
[ 1989s] +  File "/home/abuild/rpmbuild/BUILD/qemu-6.2.0/python/qemu/machine/machine.py", line 399, in launch
[ 1989s] +    self._launch()
[ 1989s] +  File "/home/abuild/rpmbuild/BUILD/qemu-6.2.0/python/qemu/machine/machine.py", line 434, in _launch
[ 1989s] +    self._post_launch()
[ 1989s] +  File "/home/abuild/rpmbuild/BUILD/qemu-6.2.0/python/qemu/machine/qtest.py", line 147, in _post_launch
[ 1989s] +    super()._post_launch()
[ 1989s] +  File "/home/abuild/rpmbuild/BUILD/qemu-6.2.0/python/qemu/machine/machine.py", line 340, in _post_launch
[ 1989s] +    self._qmp.accept(self._qmp_timer)
[ 1989s] +  File "/home/abuild/rpmbuild/BUILD/qemu-6.2.0/python/qemu/aqmp/legacy.py", line 67, in accept
[ 1989s] +    self._sync(
[ 1989s] +  File "/home/abuild/rpmbuild/BUILD/qemu-6.2.0/python/qemu/aqmp/legacy.py", line 41, in _sync
[ 1989s] +    return self._aloop.run_until_complete(
[ 1989s] +  File "/usr/lib64/python3.8/asyncio/base_events.py", line 616, in run_until_complete
[ 1989s] +    return future.result()
[ 1989s] +  File "/usr/lib64/python3.8/asyncio/tasks.py", line 501, in wait_for
[ 1989s] +    raise exceptions.TimeoutError()
[ 1989s] +asyncio.exceptions.TimeoutError





reply via email to

[Prev in Thread] Current Thread [Next in Thread]