All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabiano Rosas <farosas@suse.de>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel@nongnu.org, Peter Xu <peterx@redhat.com>,
	Richard Henderson <richard.henderson@linaro.org>
Subject: Re: [PULL 00/34] Migration patches for 2024-09-04
Date: Thu, 05 Sep 2024 11:46:01 -0300	[thread overview]
Message-ID: <87wmjqkvkm.fsf@suse.de> (raw)
In-Reply-To: <CAFEAcA80bmCt0YmkCaocDn56OSwPLTO4ZZG+n4PXHi6K_z+Xng@mail.gmail.com>

Peter Maydell <peter.maydell@linaro.org> writes:

> On Wed, 4 Sept 2024 at 13:49, Fabiano Rosas <farosas@suse.de> wrote:
>>
>> The following changes since commit e638d685ec2a0700fb9529cbd1b2823ac4120c53:
>>
>>   Open 9.2 development tree (2024-09-03 09:18:43 -0700)
>>
>> are available in the Git repository at:
>>
>>   https://gitlab.com/farosas/qemu.git tags/migration-20240904-pull-request
>>
>> for you to fetch changes up to d41c9896f49076d1eaaa32214bd2296bd36d866c:
>>
>>   tests/qtest/migration: Add a check for the availability of the "pc" machine (2024-09-03 16:24:37 -0300)
>>
>> ----------------------------------------------------------------
>> Migration pull request
>>
>> - Steve's cleanup of unused variable
>> - Peter Maydell's fixes for several leaks in migration-test
>> - Fabiano's flexibilization of multifd data structures for device
>>   state migration
>> - Arman Nabiev's fix for ppc e500 migration
>> - Thomas' fix for migration-test vs. --without-default-devices
>
> Hi. This generates a bunch of new warning messages when running
> "make check":
>
> 105/845 qemu:qtest+qtest-x86_64 / qtest-x86_64/migration-test
>            OK             256.17s   51
>  subtests passed
> ――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
> stderr:
> warning: fd: migration to a file is deprecated. Use file: instead.
> warning: fd: migration to a file is deprecated. Use file: instead.
> ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
>
> Can you investigate or suppress these, please?

We did deprecate the feature. Not sure if qtest has a proper way of
silencing these. I'll take a look.

>
> I also see a complaint from the migration-compat-x86_64 job:
> https://gitlab.com/qemu-project/qemu/-/jobs/7752621835
>
> Traceback (most recent call last):
> File "/builds/qemu-project/qemu/build-previous/scripts/vmstate-static-checker.py",
> line 438, in <module>
> sys.exit(main())
> ^^^^^^
> File "/builds/qemu-project/qemu/build-previous/scripts/vmstate-static-checker.py",
> line 395, in main
> dest_data = json.load(args.dest)
> ^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib64/python3.11/json/__init__.py", line 293, in load
> return loads(fp.read(),
> ^^^^^^^^^^^^^^^^
> File "/usr/lib64/python3.11/json/__init__.py", line 346, in loads
> return _default_decoder.decode(s)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib64/python3.11/json/decoder.py", line 337, in decode
> obj, end = self.raw_decode(s, idx=_w(s, 0).end())
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib64/python3.11/json/decoder.py", line 353, in raw_decode
> obj, end = self.scan_once(s, idx)
> ^^^^^^^^^^^^^^^^^^^^^^
> json.decoder.JSONDecodeError: Unterminated string starting at: line
> 5085 column 7 (char 131064)
> # Failed to run vmstate-static-checker.py
> not ok 3 /x86_64/migration/vmstate-checker-script
> Bail out!

This is a test that was committed by mistake. I removed it in this PR,
but the migration-compat job uses the previous QEMU version of the code,
so the test won't go away until the next release.

This test should not have been picked up as part of the migration-compat
job because we don't set the PYTHON variable there. The test has
something like:

const char *python = g_getenv("PYTHON");
if (!python) {
    g_test_skip("PYTHON variable not set");
    return;
}

In my fork the CI is green:
https://gitlab.com/farosas/qemu/-/pipelines/1438640697

I'll probably have to unset PYTHON for that job.

>
> I think this is probably a pre-existing failure, as
> I also saw it on the previous pullreq:
> https://gitlab.com/qemu-project/qemu/-/jobs/7751785881
>
> But since this is a migration pullreq, could you have a look?

Yes, the problem is not with this pull request. We'd be better off
merging this because it removes the faulty test.

>
> thanks
> -- PMM

  reply	other threads:[~2024-09-05 14:46 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-04 12:43 [PULL 00/34] Migration patches for 2024-09-04 Fabiano Rosas
2024-09-04 12:43 ` [PULL 01/34] migration: delete unused parameter mis Fabiano Rosas
2024-09-04 12:43 ` [PULL 02/34] tests/qtest/migration: Remove vmstate-static-checker test Fabiano Rosas
2024-09-04 12:43 ` [PULL 03/34] tests/qtest/migration-test: Fix bootfile cleanup handling Fabiano Rosas
2024-09-04 12:43 ` [PULL 04/34] tests/qtest/migration-test: Don't leak resp in multifd_mapped_ram_fdset_end() Fabiano Rosas
2024-09-04 12:43 ` [PULL 05/34] tests/qtest/migration-test: Fix leaks in calc_dirtyrate_ready() Fabiano Rosas
2024-09-04 12:43 ` [PULL 06/34] tests/qtest/migration-helpers: Fix migrate_get_socket_address() leak Fabiano Rosas
2024-09-04 12:43 ` [PULL 07/34] tests/qtest/migration-test: Free QCRyptoTLSTestCertReq objects Fabiano Rosas
2024-09-04 12:43 ` [PULL 08/34] tests/unit/crypto-tls-x509-helpers: deinit privkey in test_tls_cleanup Fabiano Rosas
2024-09-04 12:43 ` [PULL 09/34] tests/qtest/migration-helpers: Don't dup argument to qdict_put_str() Fabiano Rosas
2024-09-04 12:43 ` [PULL 10/34] tests/qtest/migration-test: Don't strdup in get_dirty_rate() Fabiano Rosas
2024-09-04 12:43 ` [PULL 11/34] tests/qtest/migration-test: Don't leak QTestState in test_multifd_tcp_cancel() Fabiano Rosas
2024-09-04 12:43 ` [PULL 12/34] migration/multifd: Reduce access to p->pages Fabiano Rosas
2024-09-04 12:43 ` [PULL 13/34] migration/multifd: Inline page_size and page_count Fabiano Rosas
2024-09-04 12:43 ` [PULL 14/34] migration/multifd: Remove pages->allocated Fabiano Rosas
2024-09-04 12:43 ` [PULL 15/34] migration/multifd: Pass in MultiFDPages_t to file_write_ramblock_iov Fabiano Rosas
2024-09-04 12:43 ` [PULL 16/34] migration/multifd: Introduce MultiFDSendData Fabiano Rosas
2024-09-04 12:44 ` [PULL 17/34] migration/multifd: Make MultiFDPages_t:offset a flexible array member Fabiano Rosas
2024-09-04 12:44 ` [PULL 18/34] migration/multifd: Replace p->pages with an union pointer Fabiano Rosas
2024-09-04 12:44 ` [PULL 19/34] migration/multifd: Move pages accounting into multifd_send_zero_page_detect() Fabiano Rosas
2024-09-04 12:44 ` [PULL 20/34] migration/multifd: Remove total pages tracing Fabiano Rosas
2024-09-04 12:44 ` [PULL 21/34] migration/multifd: Isolate ram pages packet data Fabiano Rosas
2024-09-04 12:44 ` [PULL 22/34] migration/multifd: Don't send ram data during SYNC Fabiano Rosas
2024-09-04 12:44 ` [PULL 23/34] migration/multifd: Replace multifd_send_state->pages with client data Fabiano Rosas
2024-09-04 12:44 ` [PULL 24/34] migration/multifd: Allow multifd sync without flush Fabiano Rosas
2024-09-04 12:44 ` [PULL 25/34] migration/multifd: Standardize on multifd ops names Fabiano Rosas
2024-09-04 12:44 ` [PULL 26/34] migration/multifd: Register nocomp ops dynamically Fabiano Rosas
2024-09-04 12:44 ` [PULL 27/34] migration/multifd: Move nocomp code into multifd-nocomp.c Fabiano Rosas
2024-09-09 10:28   ` Peter Maydell
2024-09-09 10:37     ` Peter Maydell
2024-09-09 14:31     ` Peter Xu
2024-09-09 15:01     ` Fabiano Rosas
2024-09-04 12:44 ` [PULL 28/34] migration/multifd: Make MultiFDMethods const Fabiano Rosas
2024-09-04 12:44 ` [PULL 29/34] migration/multifd: Stop changing the packet on recv side Fabiano Rosas
2024-09-04 12:44 ` [PULL 30/34] migration/multifd: Fix p->iov leak in multifd-uadk.c Fabiano Rosas
2024-09-04 12:44 ` [PULL 31/34] migration/multifd: Add a couple of asserts for p->iov Fabiano Rosas
2024-09-04 12:44 ` [PULL 32/34] migration/multifd: Add documentation for multifd methods Fabiano Rosas
2024-09-04 12:44 ` [PULL 33/34] target/ppc: Fix migration of CPUs with TLB_EMB TLB type Fabiano Rosas
2024-09-04 12:44 ` [PULL 34/34] tests/qtest/migration: Add a check for the availability of the "pc" machine Fabiano Rosas
2024-09-05 12:01 ` [PULL 00/34] Migration patches for 2024-09-04 Peter Maydell
2024-09-05 14:46   ` Fabiano Rosas [this message]
2024-09-06 12:57 ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wmjqkvkm.fsf@suse.de \
    --to=farosas@suse.de \
    --cc=peter.maydell@linaro.org \
    --cc=peterx@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.