From: "Alex Bennée" <alex.bennee@linaro.org>
To: Bui Quang Minh <minhquangbui99@gmail.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Richard Henderson <richard.henderson@linaro.org>,
Eduardo Habkost <eduardo@habkost.net>,
"Michael S . Tsirkin" <mst@redhat.com>,
Marcel Apfelbaum <marcel.apfelbaum@gmail.com>,
qemu-devel@nongnu.org
Subject: Re: [PATCH 4/4] test/avocado: test Linux boot up in x2APIC with userspace local APIC
Date: Tue, 07 Mar 2023 07:22:52 +0000 [thread overview]
Message-ID: <87lek8rjrb.fsf@linaro.org> (raw)
In-Reply-To: <20230221160500.30336-5-minhquangbui99@gmail.com>
Bui Quang Minh <minhquangbui99@gmail.com> writes:
> Simple test to check Linux boot up in x2APIC with userspace local APIC and
> TCG accelerator.
These aren't really simple tests because they are booting up a whole
distro and on my system at least they timeout:
➜ ./tests/venv/bin/avocado run tests/avocado/tcg_x2apic.py
JOB ID : 9347a29b02111cc865ab5485ed7e06ad932420a3
JOB LOG : /home/alex/avocado/job-results/job-2023-03-06T22.17-9347a29/job.log
(1/2) tests/avocado/tcg_x2apic.py:TCGx2APIC.test_physical_x2apic: INTERRUPTED: Test interrupted by SIGTERM\nRunner error occurred: Timeout reached\nOriginal status: ERROR\n
{'name': '1-tests/avocado/tcg_x2apic.py:TCGx2APIC.test_physical_x2apic', 'logdir': '/home/alex/avocado/job-results/job-2023-03-06T22.17-9347a29/test-results/1-tests_... (120
.67 s)
(2/2) tests/avocado/tcg_x2apic.py:TCGx2APIC.test_cluster_x2apic: INTERRUPTED: Test interrupted by SIGTERM\nRunner error occurred: Timeout reached\nOriginal status: ERROR\n{
'name': '2-tests/avocado/tcg_x2apic.py:TCGx2APIC.test_cluster_x2apic', 'logdir': '/home/alex/avocado/job-results/job-2023-03-06T22.17-9347a29/test-results/2-tests_a... (120.
66 s)
RESULTS : PASS 0 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 2 | CANCEL 0
JOB TIME : 241.63 s
Most of what this exercises is already covered by the boot_linux.py
tests which I would dearly like to deprecate the TCG versions for CI
because they burn so much CI time.
Ideally what I would like are specific directed tests that exercise the
full functionality of the various emulated APICs supported by QEMU
without the weight of a full distro boot.
Do the kvm-unit-test APIC tests count? Forcing TCG seems to fail a bunch
though:
✗ env QEMU=$HOME/lsrc/qemu.git/builds/all/qemu-system-x86_64 ACCEL=tcg ./run_tests.sh -g apic
FAIL apic-split
PASS ioapic-split (19 tests)
FAIL x2apic
FAIL xapic
It might be the kvm-unit-tests need a slight tweak to not enable
tsc-deadline for TCG only tests?
Failing that I would accept a kernel+initrd test the focused on
exercising the various APIC paths without the weight of a full distro.
<snip>
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
next prev parent reply other threads:[~2023-03-07 9:31 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-21 16:04 [PATCH 0/4] Support x2APIC mode with TCG accelerator Bui Quang Minh
2023-02-21 16:04 ` [PATCH 1/4] apic: add support for x2APIC mode Bui Quang Minh
2023-02-24 14:29 ` Igor Mammedov
2023-02-25 10:15 ` Bui Quang Minh
2023-02-27 16:07 ` Igor Mammedov
2023-02-28 14:34 ` Bui Quang Minh
2023-02-28 16:39 ` Igor Mammedov
2023-03-04 14:10 ` Bui Quang Minh
2023-03-06 10:43 ` Igor Mammedov
2023-03-06 15:51 ` David Woodhouse
2023-03-06 16:39 ` Bui Quang Minh
2023-03-06 16:50 ` David Woodhouse
2023-03-07 11:34 ` Igor Mammedov
2023-03-07 11:25 ` Igor Mammedov
2023-03-06 16:01 ` David Woodhouse
2023-02-21 16:04 ` [PATCH 2/4] i386/tcg: implement x2APIC registers MSR access Bui Quang Minh
2023-02-21 16:04 ` [PATCH 3/4] intel_iommu: allow Extended Interrupt Mode when using userspace local APIC Bui Quang Minh
2023-02-21 16:05 ` [PATCH 4/4] test/avocado: test Linux boot up in x2APIC with " Bui Quang Minh
2023-03-06 19:51 ` David Woodhouse
2023-03-07 7:22 ` Alex Bennée [this message]
2023-03-07 11:39 ` Igor Mammedov
2023-03-06 17:55 ` [PATCH 0/4] Support x2APIC mode with TCG accelerator David Woodhouse
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=87lek8rjrb.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=eduardo@habkost.net \
--cc=marcel.apfelbaum@gmail.com \
--cc=minhquangbui99@gmail.com \
--cc=mst@redhat.com \
--cc=pbonzini@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.