[Top][All Lists]

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

Re: Failing QEMU iotests

From: Thomas Huth
Subject: Re: Failing QEMU iotests
Date: Wed, 17 Nov 2021 20:45:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0

On 17/11/2021 19.13, John Snow wrote:

On Wed, Nov 17, 2021 at 5:07 AM Thomas Huth <thuth@redhat.com <mailto:thuth@redhat.com>> wrote:


    I think it has been working fine for me a couple of weeks ago,
    but when I now run:

       make check SPEED=slow

    I'm getting a couple of failing iotests... not sure whether
    these are known issues already, so I thought I'd summarize them

    *** First one is 045 in raw mode: ***

       TEST   iotest-raw: 045 [fail]
    QEMU          --
    -nodefaults -display none -accel qtest
    QEMU_IMG      --
    QEMU_IO       --
    "/home/thuth/tmp/qemu-build/tests/qemu-iotests/../../qemu-io" --cache
    writeback --aio threads -f raw
    QEMU_NBD      --
    IMGFMT        -- raw
    IMGPROTO      -- file
    PLATFORM      -- Linux/x86_64 thuth 4.18.0-305.19.1.el8_4.x86_64
    TEST_DIR      -- /home/thuth/tmp/qemu-build/tests/qemu-iotests/scratch
    SOCK_DIR      -- /tmp/tmphlexdrlt
    GDB_OPTIONS   --

    --- /home/thuth/devel/qemu/tests/qemu-iotests/045.out
    +++ 045.out.bad
    @@ -1,5 +1,77 @@
    +......EE.EE <http://EE.EE>
    +ERROR: test_add_fd (__main__.TestSCMFd)
    +Traceback (most recent call last):
    +  File "/home/thuth/devel/qemu/tests/qemu-iotests/045", line 148, in
    +    self._send_fd_by_SCM()
    +  File "/home/thuth/devel/qemu/tests/qemu-iotests/045", line 144, in
    +    ret = self.vm.send_fd_scm(file_path=image0)
    +  File "/home/thuth/devel/qemu/python/qemu/machine/machine.py", line
    229, in send_fd_scm
    +    self._qmp.send_fd_scm(fd)
    +  File "/home/thuth/devel/qemu/python/qemu/aqmp/legacy.py", line 138,
    in send_fd_scm
    +    self._aqmp.send_fd_scm(fd)
    +  File "/home/thuth/devel/qemu/python/qemu/aqmp/protocol.py", line 149,
    in _wrapper
    +    return func(proto, *args, **kwargs)
    +  File "/home/thuth/devel/qemu/python/qemu/aqmp/qmp_client.py", line
    644, in send_fd_scm
    +    sock = sock._sock  # pylint: disable=protected-access
    +AttributeError: 'socket' object has no attribute '_sock'

Well, that's not good.

Can you tell me some details about what system produced this failure?
The python version used to run the test would be good, as well as distro release, kernel version, etc.

If you can reproduce it, I might want to give you a test branch of the python code to produce some extra debugging information to help me understand what's gone wrong here. Get in touch on IRC when you have some spare time if you'd like to interactively debug it.

As you likely saw in Hanna's mail a little bit later, the problem was the old version of pylint. I did still have version 2.2 installed - after upgrading, the problem went away.


reply via email to

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